/* =============================================================
   montazh.css — Монтажные организации
   Минимальные добавления поверх styles.css + partners.css
   ============================================================= */

/* ── Фон страницы ─────────────────────────────────────────── */
body.page-montazh {
  min-height: 100vh;
  background-color: #eef4fc;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -8%,  rgba(6,86,185,.11)    0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 35%,  rgba(0,189,220,.07)   0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 0%   65%,  rgba(6,86,185,.06)    0%, transparent 50%),
    radial-gradient(ellipse 120% 70% at 50% 108%, rgba(196,228,255,.55) 0%, transparent 55%),
    repeating-linear-gradient(-18deg, transparent, transparent 98px, rgba(6,86,185,.022) 98px, rgba(6,86,185,.022) 99px),
    linear-gradient(168deg, #f5faff 0%, #eef4fc 28%, #f7fbff 58%, #e9f1fa 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-size: 100% 420px, 55% 380px, 50% 360px, 100% 55%, auto, 100% 100%;
  background-position: center top, right top, left center, center bottom, center center, center center;
}

/* ── WHERE APPLIED: высота для 6 слайдов ──────────────────── */
.m-obj-scroll-wrap {
  height: 700vh;
  position: relative;
  background: linear-gradient(160deg, #f0f7ff 0%, #daeeff 100%);
}

/* Прогресс-полоска: не height в JS, а scaleY + --aud-p (другой путь рендера) */
.m-obj-scroll-wrap .p-aud-meter-track {
  --aud-p: 0;
}

.m-obj-scroll-wrap .p-aud-meter-fill {
  height: 100%;
  transform: scaleY(var(--aud-p, 0));
  transform-origin: top center;
  transition: none;
  will-change: transform;
}

/* ── Где применяется: фото в карточках (только эта страница) ─ */
.m-obj-scroll-wrap .m-where-slide {
  background-color: #0c1828;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(4, 18, 40, 0.38);
}

.m-obj-scroll-wrap .m-where-slide--01 {
  background-image:
    linear-gradient(105deg, rgba(4, 18, 40, 0.92) 0%, rgba(4, 18, 40, 0.5) 42%, rgba(4, 18, 40, 0.12) 72%, rgba(255, 255, 255, 0.06) 100%),
    url("../assets/montazh-where-01-residential.png");
}

.m-obj-scroll-wrap .m-where-slide--02 {
  background-image:
    linear-gradient(105deg, rgba(4, 18, 40, 0.92) 0%, rgba(4, 18, 40, 0.5) 42%, rgba(4, 18, 40, 0.12) 72%, rgba(255, 255, 255, 0.06) 100%),
    url("../assets/montazh-where-02-commercial.png");
}

.m-obj-scroll-wrap .m-where-slide--03 {
  background-image:
    linear-gradient(105deg, rgba(4, 18, 40, 0.92) 0%, rgba(4, 18, 40, 0.5) 42%, rgba(4, 18, 40, 0.12) 72%, rgba(255, 255, 255, 0.06) 100%),
    url("../assets/montazh-where-03-leisure.png");
}

.m-obj-scroll-wrap .m-where-slide--04 {
  background-image:
    linear-gradient(105deg, rgba(4, 18, 40, 0.92) 0%, rgba(4, 18, 40, 0.5) 42%, rgba(4, 18, 40, 0.12) 72%, rgba(255, 255, 255, 0.06) 100%),
    url("../assets/montazh-where-04-industrial.png");
}

.m-obj-scroll-wrap .m-where-slide--05 {
  background-image:
    linear-gradient(105deg, rgba(4, 18, 40, 0.92) 0%, rgba(4, 18, 40, 0.5) 42%, rgba(4, 18, 40, 0.12) 72%, rgba(255, 255, 255, 0.06) 100%),
    url("../assets/montazh-where-05-technical.png");
}

.m-obj-scroll-wrap .m-where-slide--06 {
  background-image:
    linear-gradient(105deg, rgba(4, 18, 40, 0.92) 0%, rgba(4, 18, 40, 0.5) 42%, rgba(4, 18, 40, 0.12) 72%, rgba(255, 255, 255, 0.06) 100%),
    url("../assets/montazh-where-06-logistics.png");
}

.m-obj-scroll-wrap .m-where-slide h3 {
  color: #fff;
  text-shadow: 0 1px 24px rgba(4, 18, 40, 0.45);
}

.m-obj-scroll-wrap .m-where-slide p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 14px rgba(4, 18, 40, 0.35);
}

.m-obj-scroll-wrap .m-where-slide .p-aud-slide-bg {
  color: #fff;
  opacity: 0.09;
}

/* ── NORMS: единый объединённый блок ─────────────────────── */
.m-norms-sec {
  background: linear-gradient(160deg, #f5f9ff 0%, #edf3fc 100%);
}

.m-norms-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}

@media (max-width: 860px) {
  .m-norms-layout { grid-template-columns: 1fr; }
  .m-norms-cert { order: -1; }
}

.m-norms-text { display: flex; flex-direction: column; gap: 0; }

.m-norms-block { margin-top: 28px; }

.m-norms-intro {
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}

.m-norms-sublabel {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: .7;
  margin: 0 0 14px;
}

/* Список — чистые строки без буллетов, со своей иконкой */
.m-norms-pts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(6,86,185,.08);
}

.m-norms-pts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(6,86,185,.07);
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.62;
}

.m-norms-pts li strong { color: var(--text); font-weight: 700; }

.m-norms-pt-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.m-norms-cert-note {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 14px 18px;
  background: rgba(6,86,185,.04);
  border-left: 2px solid rgba(0,189,220,.4);
  border-radius: 0 10px 10px 0;
  margin: 0;
}

/* ── TECHNICAL: чистая сетка признаков ───────────────────── */
.m-tech-sec {
  /* inherits p-formats-sec background */
}

.m-tech-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.72;
  max-width: 640px;
  margin: 0 0 8px;
}

.m-tech-sublabel {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(0,189,220,.75);
  display: block;
  margin: 28px 0 20px;
}

.m-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  overflow: hidden;
}

.m-feat {
  padding: 34px 36px;
  background: rgba(4,25,60,.55);
  backdrop-filter: blur(8px);
  transition: background .25s;
}

.m-feat:hover { background: rgba(6,36,82,.7); }

.m-feat-num {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0b326b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  margin-bottom: 12px;
}

.m-feat h3 {
  font-size: .98rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.m-feat p {
  font-size: .86rem;
  color: rgba(255,255,255,.5);
  line-height: 1.68;
  margin: 0;
}

.m-tech-note {
  margin-top: 28px;
  padding: 18px 24px;
  background: rgba(0,189,220,.07);
  border-left: 2px solid rgba(0,189,220,.38);
  border-radius: 0 12px 12px 0;
  font-size: .9rem;
  color: rgba(255,255,255,.58);
  line-height: 1.68;
}

.m-tech-btn {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 860px) {
  .m-feat-grid { grid-template-columns: 1fr; }
}

/* ── MODELS (отдельная тёмная секция) ─────────────────────── */
.m-models-dark-sec {
  background: linear-gradient(135deg, #04192e 0%, #041e42 50%, #062458 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.m-models-dark-sec::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,189,220,.09) 0%, transparent 65%);
  top: -200px; right: -150px;
  pointer-events: none;
}

.m-models-dark-sec::after {
  content: '';
  position: absolute;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,86,185,.16) 0%, transparent 65%);
  bottom: -180px; left: -80px;
  pointer-events: none;
}

.m-models-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 46px;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .m-models-grid { grid-template-columns: 1fr; }
}

/* Текст внутри model-card */
.m-model-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.52);
  line-height: 1.62;
  margin: 0 0 6px;
}

.m-model-desc strong { color: rgba(255,255,255,.75); }

/* Модели: минималистичный вид для "По договоренности" */
.m-models-dark-sec .p-fmt-pct.p-fmt-pct--unknown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 4px 0 12px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.93);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  filter: none;
}

.m-models-dark-sec .p-fmt-pct.p-fmt-pct--unknown::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,189,220,.14);
}

/* ── INTEGRATION (p-why-sec) ──────────────────────────────── */
.m-int-sec {
  background: linear-gradient(160deg, #eef4fc 0%, #ddeaf8 100%);
  padding-bottom: 80px;
}

.m-int-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.m-int-row { display: flex; flex-direction: column; gap: 3px; }

.m-int-k {
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--blue);
  opacity: .7;
}

.m-int-k--inv { color: rgba(126,232,248,.8); opacity: 1; }

.m-int-row p {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: none !important;
}

/* Тёмные карточки: текст светлее (в т.ч. «Автономная защита…») */
.m-int-sec .p-why-item--dark p,
.m-int-sec .p-why-item--dark p.m-int-row--inv {
  color: rgba(255, 255, 255, 0.84);
}

/* ── ECONOMY ──────────────────────────────────────────────── */
.m-econ-sec {
  background: linear-gradient(135deg, #041e42 0%, #062b5e 55%, #083d8a 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.m-econ-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 85% at 15% 50%, rgba(0,189,220,.08) 0%, transparent 65%);
  pointer-events: none;
}

.m-econ-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.m-econ-inner h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.m-econ-inner h2 span { color: #7ee8f8; }

.m-econ-inner p {
  color: rgba(255,255,255,.68);
  font-size: 1.02rem;
  line-height: 1.72;
  margin: 0;
}

/* ── CTA: 3 шага ──────────────────────────────────────────── */
.m-steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

@media (max-width: 780px) { .m-steps-row { grid-template-columns: 1fr; } }

.m-step-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: background .28s, border-color .28s, transform .28s;
}

.m-step-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
}

.m-step-box:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(0,189,220,.3);
  transform: translateY(-4px);
}

.m-step-n {
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(126,232,248,.9);
  display: block;
  margin-bottom: 10px;
}

.m-step-box h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; color: #fff; }
.m-step-box p  { margin: 0; font-size: .86rem; line-height: 1.58; color: rgba(255,255,255,.6); }

/* ── Форма ────────────────────────────────────────────────── */
.m-fieldset {
  border: none; padding: 0; margin: 0 0 18px;
}

.m-fieldset-legend {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 10px;
}

.m-radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.m-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  font-size: .84rem;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.m-radio input[type="radio"] { accent-color: var(--teal); width: 15px; height: 15px; flex-shrink: 0; }
.m-radio:has(input:checked) { border-color: rgba(0,189,220,.6); background: rgba(0,189,220,.1); color: #fff; }
.m-radio:hover { border-color: rgba(255,255,255,.3); color: #fff; }

.m-textarea {
  resize: vertical;
  min-height: 82px;
}

/* ══════════════════════════════════════════════════════════
   Семинар СПб — editorial redesign
   ══════════════════════════════════════════════════════════ */

.m-seminar-sec {
  position: relative;
  padding: 96px 0 104px;
  background:
    linear-gradient(170deg, #f0f7ff 0%, #e8f2fb 40%, #f5faff 70%, #eef4fc 100%);
  border-top:    1px solid rgba(6, 86, 185, 0.08);
  border-bottom: 1px solid rgba(6, 86, 185, 0.08);
  overflow: hidden;
}

/* Декоративное свечение */
.m-sem-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 20% 0%,   rgba(6, 86, 185, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 100%,  rgba(0, 189, 220, 0.09) 0%, transparent 55%);
}

/* Заголовок — по центру, editorial */
.m-sem-header {
  max-width: min(760px, 100%);
  margin: 0 auto 56px;
  padding: 0 16px;
  text-align: center;
}

.m-sem-lbl {
  display: block;
  margin-bottom: 0;
}

/* Тонкая градиентная черта под лейблом */
.m-sem-lbl::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  margin: 14px auto 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  box-shadow: 0 2px 12px rgba(0, 189, 220, 0.35);
}

.m-sem-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.13;
  margin: 0 0 20px;
}

.m-sem-title-place {
  display: block;
  margin-top: 0.14em;
  letter-spacing: -0.02em;
}

.m-sem-lead {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 auto;
  max-width: 640px;
}

/* ── Галерея (editorial grid) ──────────────────────────── */
.m-sem-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 230px 185px;
  gap: 10px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(6, 36, 92, 0.14), 0 4px 16px rgba(6, 36, 92, 0.06);
  margin-bottom: 48px;
}

/* Раскладка: photo-a — высокая левая колонка (2 строки) */
.m-sem-fig--a { grid-column: 1; grid-row: 1 / 3; }
.m-sem-fig--b { grid-column: 2; grid-row: 1; }
.m-sem-fig--c { grid-column: 3; grid-row: 1; }
.m-sem-fig--d { grid-column: 2; grid-row: 2; }
.m-sem-fig--e { grid-column: 3; grid-row: 2; }
/* Шестое фото — тонкая декоративная строка снизу */
.m-sem-fig--f {
  grid-column: 1 / 4;
  grid-row: 3;
  height: 130px;
}

.m-sem-fig {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: rgba(6, 36, 92, 0.08);
}

.m-sem-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-sem-fig:hover img {
  transform: scale(1.07);
}

/* Hover-оверлей с иконкой лупы */
.m-sem-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 28, 66, 0.38);
  opacity: 0;
  transition: opacity 0.3s var(--ease, ease);
  backdrop-filter: blur(2px);
}

.m-sem-fig:hover .m-sem-overlay,
.m-sem-fig:focus .m-sem-overlay {
  opacity: 1;
}

.m-sem-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
  transform: scale(0.88);
  transition: transform 0.28s var(--ease, ease);
}

.m-sem-fig:hover .m-sem-overlay svg {
  transform: scale(1);
}

/* Тонкая рамка между ячейками — через outline-like тень */
.m-sem-fig::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* ── Итоговый блок + кнопка ─────────────────────────────── */
.m-sem-result {
  display: flex;
  align-items: center;
  gap: 36px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  border: 1px solid rgba(6, 86, 185, 0.1);
  box-shadow:
    0 16px 48px rgba(6, 36, 92, 0.07),
    0 2px 8px  rgba(6, 36, 92, 0.04),
    inset 0 1px 0 rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
}

.m-sem-result::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 20px 20px 0 0;
}

.m-sem-result-body {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.m-sem-result-icon {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background: none;
}

.m-sem-result-mark {
  width: auto;
  height: 48px;
  max-width: 80px;
  object-fit: contain;
  display: block;
}

.m-sem-result-body p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Кнопка «Видео-отчет» — синий акцент (без бирюзы) */
.m-seminar-video {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #043d7e 0%, var(--blue) 55%, #0a62c9 100%);
  box-shadow:
    0 8px 28px rgba(6, 86, 185, 0.38),
    inset 0 1px 0 rgba(255,255,255,.18);
  flex-shrink: 0;
  transition: transform 0.22s var(--ease, ease), box-shadow 0.22s, filter 0.22s;
}

.m-seminar-video:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 14px 40px rgba(6, 86, 185, 0.48),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.m-seminar-video-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
}

.m-seminar-video-arrow {
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.22s var(--ease, ease);
}

.m-seminar-video:hover .m-seminar-video-arrow {
  transform: translateX(4px);
}

/* ── Лайтбокс ───────────────────────────────────────────── */
.m-sem-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease, ease);
}

.m-sem-lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
}

.m-sem-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 46, 0.93);
  backdrop-filter: blur(12px);
}

.m-sem-lb-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  padding: 0 72px;
}

.m-sem-lb-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 32px 96px rgba(0,0,0,.55);
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}

.m-sem-lightbox.is-open .m-sem-lb-img {
  transform: scale(1);
}

.m-sem-lb-counter {
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.m-sem-lb-btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid rgba(255,255,255,.14);
}

.m-sem-lb-btn:hover {
  background: rgba(255,255,255,.2);
  transform: scale(1.1);
}

.m-sem-lb-close {
  top: 20px;
  right: 20px;
}

.m-sem-lb-nav {
  top: 50%;
  transform: translateY(-50%);
}

.m-sem-lb-nav:hover {
  transform: translateY(-50%) scale(1.1);
}

.m-sem-lb-prev { left: 20px; }
.m-sem-lb-next { right: 20px; }

/* ── Адаптив ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .m-sem-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .m-sem-fig--a { grid-column: 1 / 3; grid-row: 1; }
  .m-sem-fig--b { grid-column: 1;     grid-row: 2; }
  .m-sem-fig--c { grid-column: 2;     grid-row: 2; }
  .m-sem-fig--d { grid-column: 1;     grid-row: 3; }
  .m-sem-fig--e { grid-column: 2;     grid-row: 3; }
  .m-sem-fig--f { grid-column: 1 / 3; grid-row: 4; height: 140px; }
}

@media (max-width: 700px) {
  .m-sem-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 20px;
  }
  .m-seminar-video {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .m-sem-lb-stage { padding: 0 52px; }
  .m-sem-lb-prev  { left: 6px; }
  .m-sem-lb-next  { right: 6px; }
}

@media (max-width: 500px) {
  .m-sem-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
    border-radius: 14px;
  }
  .m-sem-fig--a,
  .m-sem-fig--b,
  .m-sem-fig--c,
  .m-sem-fig--d,
  .m-sem-fig--e { grid-column: 1; }
  .m-sem-fig--a { grid-row: 1; }
  .m-sem-fig--b { grid-row: 2; }
  .m-sem-fig--c { grid-row: 3; }
  .m-sem-fig--d { grid-row: 4; }
  .m-sem-fig--e { grid-row: 5; }
  .m-sem-fig--f { grid-column: 1; grid-row: 6; height: 200px; }
}

/* ══════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ АДАПТАЦИЯ montazh ≤ 768px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Scroll-driven секция «Где применяется» → поток */
  .m-obj-scroll-wrap {
    height: auto !important;
    overflow: visible !important;
  }
  .m-obj-scroll-wrap .m-where-slide {
    position: relative !important;
    height: auto !important;
    min-height: 380px;
    border-radius: 20px;
    margin-bottom: 16px;
  }
  .page-montazh .p-aud-sticky,
  .page-montazh .p-audience-sec .p-aud-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow-x: clip;
    overflow-y: visible;
  }

  /* Сетка «Преимущества» */
  .m-feat-grid { grid-template-columns: 1fr !important; }

  /* Тёмная секция «Модели» */
  .m-models-dark-sec { padding: 52px 0; }
  .m-models-grid { grid-template-columns: 1fr !important; }

  /* Шаги CTA */
  .m-steps-row { grid-template-columns: 1fr !important; }

  /* Семинар-галерея → одна колонка */
  .m-sem-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(6, 200px) !important;
  }
  .m-sem-fig--a,
  .m-sem-fig--b,
  .m-sem-fig--c,
  .m-sem-fig--d,
  .m-sem-fig--e { grid-column: 1 !important; }
  .m-sem-fig--a { grid-row: 1 !important; }
  .m-sem-fig--b { grid-row: 2 !important; }
  .m-sem-fig--c { grid-row: 3 !important; }
  .m-sem-fig--d { grid-row: 4 !important; }
  .m-sem-fig--e { grid-row: 5 !important; }
  .m-sem-fig--f { grid-column: 1 !important; grid-row: 6 !important; height: 200px !important; }

  /* Семинар-результат */
  .m-sem-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 16px;
  }
  .m-seminar-video {
    width: 100% !important;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* ── Интеграторы / монтаж: секция #request без декоративной сетки и без анимированного градиента (.cta в styles.css) */
.page-integrators #request.cta,
.page-montazh #request.cta {
  animation: none;
}
.page-integrators #request.cta::before,
.page-integrators #request.cta::after,
.page-montazh #request.cta::before,
.page-montazh #request.cta::after {
  content: none;
}

/* Монтаж: блок «Оставьте заявку» — поля формы одной колонкой (не grid 2×2) */
.page-montazh #request .p-form-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Монтаж / интеграторы: кнопка отправки формы — синий акцент (без бирюзы) */
.page-integrators .p-form-submit,
.page-montazh .p-form-submit {
  position: relative;
  overflow: hidden;
  padding: 16px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #043d7e 0%, var(--blue) 55%, #0a62c9 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 8px 32px rgba(6, 86, 185, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.page-integrators .p-form-submit::before,
.page-montazh .p-form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-15deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}

.page-integrators .p-form-submit:hover,
.page-montazh .p-form-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 44px rgba(6, 86, 185, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  filter: brightness(1.06);
}

.page-integrators .p-form-submit:hover::before,
.page-montazh .p-form-submit:hover::before {
  left: 140%;
}

.page-integrators .p-form-submit:active,
.page-montazh .p-form-submit:active {
  transform: translateY(0) scale(0.99);
}
