/*
Theme Name: Marker360 Minimal
Theme URI: https://marker360.ru
Author: Marker360
Description: Супер-минималистичная тема под стиль презентации Marker360: светлый фон, крупная типографика, минимум функционала.
Version: 1.6.2
Text Domain: marker360
*/

:root {
  --m360-bg: #ffffff;
  --m360-surface: #faf9f6;
  --m360-card-bg: #ffffff;
  --m360-border: #e0dbd2;
  --m360-text: #1a2130;
  --m360-muted: #697180;
  --m360-accent: #FADE01;
  --m360-accent-dark: #EAB82B;
  --m360-accent-rgb: 250, 222, 1;
  --m360-dark: #172233;
  --m360-dark-bg: #162338;
  --m360-secondary: #636d7b;
  --m360-radius: 14px;
  --m360-font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --m360-font-serif: "Manrope", "PT Sans", sans-serif;
  --m360-font-inter: "Inter", var(--m360-font-sans);
}

/* БАЗА */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--m360-bg);
  color: var(--m360-text);
  font-family: var(--m360-font-sans);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* КОНТЕЙНЕР И СЕТКА */

.m360-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.m360-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ХЕДЕР */

.site-header {
  position: relative;
}

/* Верхняя строка: белый фон */
.site-header-top-wrap {
  background: #fff;
}

.site-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

/* Нижняя строка: бежевый фон */
.site-header-nav-wrap {
  background: var(--m360-surface);
  border-bottom: 1px solid var(--m360-border);
}

.site-logo {
  display: block;
  flex-shrink: 0;
}

.site-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header-contacts__phone,
.site-header-contacts__email {
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--m360-text);
  text-decoration: none;
}

.site-header-contacts__phone:hover,
.site-header-contacts__email:hover {
  text-decoration: underline;
}

.site-header-cta {
  white-space: nowrap;
}

/* Нижняя строка: навигация */
.site-nav {
  font-size: 13px;
}

.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  gap: 24px;
}

.site-nav > ul > li {
  position: relative;
  padding: 34px 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: var(--m360-text);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover {
  color: #111;
  border-bottom-color: var(--m360-accent);
  text-decoration: none;
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: #111;
  border-bottom-color: var(--m360-accent);
}

.site-nav .current-menu-ancestor > a {
  color: #111;
  border-bottom-color: rgba(var(--m360-accent-rgb),0.5);
}

.site-nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

/* Иконка-галочка вниз у пунктов с подменю */
.site-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  margin-left: 7px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s ease;
}

.site-nav .menu-item-has-children:hover > a::after,
.site-nav .menu-item-has-children:focus-within > a::after {
  transform: translateY(1px) rotate(225deg);
}

/* Выпадающее подменю */
.site-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(6px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--m360-border);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 40;
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .sub-menu a {
  display: block;
  width: 100%;
  padding: 10px 22px;
  font-size: 15px;
  border-bottom: none;
  border-radius: 0;
}

.site-nav .sub-menu a:hover {
  color: #111;
  background: var(--m360-surface);
  border-bottom-color: transparent;
}

/* BURGER BUTTON */
.site-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--m360-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.site-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #333;
  border-radius: 2px;
}

/* MOBILE */
@media (max-width: 900px) {
  .site-header-top {
    gap: 10px;
    padding: 14px 0;
  }

  .site-logo img {
    height: 36px;
  }

  .site-menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .site-header-contacts {
    display: none;
  }

  /* Кнопка звонка на мобильном остаётся, но компактная.
     Два класса — чтобы перебить .m360-btn и .m360-btn--size-s. */
  .site-header-right {
    margin-left: auto;
  }

  .site-header-cta.m360-btn {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .site-nav {
    display: none;
    background: var(--m360-bg);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    border-bottom: 1px solid var(--m360-border);
  }

  .site-header-nav-wrap {
    position: relative;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 16px 12px;
  }

  .site-nav > ul > li {
    padding: 0;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--m360-border);
    border-top: none;
    width: 100%;
  }

  .site-nav > ul > li:last-child > a {
    border-bottom: none;
  }

  /* Подменю на мобильном — раскрыто, с отступом */
  .site-nav .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0 0 6px 16px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav .sub-menu a {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .site-nav .menu-item-has-children > a::after {
    transform: translateY(-2px) rotate(45deg);
  }
}




/* Лишние дубли навигации удалены — стили в блоке ХЕДЕР */


/* КОНТЕНТ */

.m360-content {
  flex: 1;
  padding: 0;
}

/* типографика */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--m360-text);
}

h1 { font-size: clamp(28px, 3.5vw, 40px); }
h2 { font-size: clamp(22px, 2.5vw, 30px); }
h3 { font-size: 18px; }
h4 { font-size: 15px; }

p { margin: 0 0 12px; }

.m360-content h1,
.m360-content h2,
.m360-content h3,
.m360-content h4 {
  font-family: var(--m360-font-sans);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}

.m360-content h1 { font-size: clamp(28px, 3.5vw, 40px); }
.m360-content h2 { font-size: clamp(20px, 2.5vw, 28px); margin-top: 32px; }
.m360-content h3 { font-size: 18px; margin-top: 24px; }

.m360-content p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
}

.m360-content ul,
.m360-content ol {
  margin: 0 0 16px 22px;
  padding: 0;
  font-size: 14px;
}

.m360-content strong { font-weight: 600; }

/* КОНТЕНТНАЯ СТРАНИЦА (макет textovaya.png) */

.m360-page-hero {
  box-sizing: border-box;
  background: var(--m360-dark-bg);
  padding: 28px 0 44px;
}

.m360-page-hero--fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.m360-page-breadcrumbs {
  margin: 0 0 16px;
  font-family: var(--m360-font-inter);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.m360-page-breadcrumbs__sep {
  display: inline-block;
  margin: 0 0.35em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.m360-page-breadcrumbs__link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.m360-page-breadcrumbs__link:hover {
  color: #fff;
  text-decoration: underline;
}

.m360-page-breadcrumbs__current {
  color: rgba(255, 255, 255, 0.85);
}

.m360-content .m360-page-title,
.m360-page-hero .m360-page-title {
  margin: 0;
  max-width: 920px;
  color: #fff;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

/* Вводный абзац под h1 в тёмной шапке (берётся из «Цитаты» страницы) */
.m360-page-hero .m360-page-lead {
  margin: 16px 0 0;
  max-width: 920px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

.m360-page-wrap {
  padding-bottom: 48px;
}

.m360-page-article {
  padding-top: 48px;
  padding-bottom: 48px;
  color: #2c3644;
}

.m360-page-article > *:first-child {
  margin-top: 0;
}

.m360-page-article h2,
.m360-page-article h3,
.m360-page-article h4,
.m360-page-article h5,
.m360-page-article h6 {
  font-family: "Manrope", var(--m360-font-sans);
  color: var(--m360-dark-bg);
  font-weight: 600;
  line-height: 1.25;
}

.m360-page-article h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 40px 0 16px;
}

.m360-page-article h2:first-child {
  margin-top: 0;
}

.m360-page-article h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin: 32px 0 12px;
}

.m360-page-article h4 {
  font-size: 17px;
  margin: 28px 0 10px;
}

.m360-page-article h5 {
  font-size: 15px;
  margin: 24px 0 8px;
}

.m360-page-article h6 {
  font-size: 14px;
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.m360-page-article p {
  margin: 0 0 16px;
  font-family: var(--m360-font-inter);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #2c3644;
}

.m360-page-article ul,
.m360-page-article ol {
  margin: 0 0 20px;
  padding-left: 1.35em;
  font-family: var(--m360-font-inter);
  font-size: 16px;
  line-height: 1.65;
  color: #2c3644;
}

.m360-page-article ul li::marker {
  color: #f9e520;
}

.m360-page-article ol li::marker {
  color: #f9e520;
  font-weight: 700;
}

.m360-page-article a {
  color: var(--m360-dark-bg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.m360-page-article a:hover {
  color: #0f172a;
}

.m360-page-article blockquote {
  margin: 28px auto;
  max-width: 720px;
  padding: 28px 32px;
  border: none;
  border-radius: 14px;
  background: #f3f4f6;
  font-family: var(--m360-font-inter);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  font-style: normal;
  color: #2c3644;
  text-align: center;
}

.m360-page-article blockquote p:last-child {
  margin-bottom: 0;
}

.m360-page-article img,
.m360-page-article .wp-block-image img {
  height: auto;
  border-radius: 12px;
}

.m360-page-article .alignwide,
.m360-page-article .alignfull {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .m360-page-hero {
    padding: 20px 0 32px;
  }

  .m360-page-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .m360-page-article {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .m360-page-article > .m360-content-banner:first-child,
  .m360-page-article > *:first-child > .m360-content-banner:first-child {
    margin-top: -32px;
  }

  .m360-page-article blockquote {
    padding: 22px 20px;
    font-size: 16px;
  }
}

/* Секция: только вертикальные отступы (архивы, списки, обёртки без фона-карточки) */
.m360-section {
  background: transparent;
  padding: 40px 0;
}

/* Карточка-поверхность: WooCommerce (фильтр, галерея товара и т.д.). Не использовать для тела страницы/записи. */
.m360-surface-card,
.m360-section--card {
  background: var(--m360-card-bg);
  border-radius: var(--m360-radius);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--m360-border);
  margin-bottom: 20px;
}

.m360-muted {
  color: var(--m360-muted);
  font-size: 14px;
}

/* ФУТЕР (Footer.png) */

.site-footer {
  margin-top: auto;
  background: #141d26;
}

.site-footer-main {
  width: 100%;
}

.site-footer-main__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 420px;
}

.site-footer-left {
  width: 100%;
  background: #34414b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 32px 64px;
}

.site-footer-left__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 440px;
}

.site-footer-left__cube {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-footer-left__phone,
.site-footer-left__email {
  color: #fff;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  text-decoration: none;
}

.site-footer-left__phone:hover,
.site-footer-left__email:hover {
  color: var(--m360-accent);
  text-decoration: none;
}

.site-footer-left__cta {
  margin-top: 8px;
}

.site-footer-right {
  position: relative;
  box-sizing: border-box;
  background: #141d26;
  padding: 56px 72px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.site-footer-scroll-top {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.site-footer-scroll-top:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-footer-right__title {
  margin: 0 0 24px;
  max-width: 520px;
  color: #fff;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.site-footer-form {
  max-width: 520px;
  width: 100%;
}

.site-footer-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Обёртка из шаблона CF7: <div class="footer-form">…</div> */
.site-footer-form .footer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.site-footer-form .form-row {
  margin: 0;
  width: 100%;
}

.site-footer-form .wpcf7-form-control-wrap {
  display: block;
}

.site-footer-form input[type="text"],
.site-footer-form input[type="email"],
.site-footer-form input[type="tel"],
.site-footer-form input[type="url"],
.site-footer-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: var(--m360-font-inter);
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
}

.site-footer-form .wpcf7-textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer-form input::placeholder,
.site-footer-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.site-footer-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.site-footer-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--m360-font-inter);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.site-footer-form .form-agree .wpcf7-acceptance label {
  flex-wrap: wrap;
}

.site-footer-form .form-agree .wpcf7-list-item-label {
  flex: 1;
  min-width: 0;
}

.site-footer-form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
  transition: border-color 0.16s ease;
}

.site-footer-form .wpcf7-acceptance input[type="checkbox"]:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-footer-form .wpcf7-acceptance input[type="checkbox"]:checked {
  border-color: var(--m360-accent);
}

.site-footer-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--m360-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.site-footer-form .wpcf7-acceptance a {
  color: var(--m360-accent);
  text-decoration: none;
}

.site-footer-form .wpcf7-acceptance a:hover {
  text-decoration: underline;
}

.site-footer-form input[type="submit"],
.site-footer-form .wpcf7-submit {
  display: block;
  width: auto;
  margin: 0 auto;
  padding: 13px 24px 14px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--m360-accent);
  background: var(--m360-accent);
  color: var(--m360-text);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.site-footer-form input[type="submit"]:hover,
.site-footer-form .wpcf7-submit:hover {
  background: var(--m360-accent-dark);
  border-color: var(--m360-accent-dark);
  color: var(--m360-text);
}

.site-footer-form input[type="submit"]:disabled,
.site-footer-form .wpcf7-submit:disabled {
  background: #4c5c6e;
  border-color: #4c5c6e;
  color: rgba(255, 255, 255, 0.65);
  cursor: not-allowed;
}

.site-footer-form .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 4px;
}

.site-footer-form .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  border-width: 1px;
}

.site-footer-bottom {
  background: var(--m360-surface);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer-bottom__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--m360-font-inter);
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.site-footer-bottom__row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer-bottom__row--top {
  justify-content: space-between;
}

.site-footer-bottom__row--bottom {
  gap: 24px;
}

.site-footer-bottom__copy {
  color: #6b7280;
}

.site-footer-bottom__legal {
  color: #6b7280;
}

.site-footer-bottom__link {
  color: #6b7280;
  text-decoration: none;
}

.site-footer-bottom__link:hover {
  color: #374151;
  text-decoration: underline;
}

.site-footer-bottom__credits {
  margin-left: auto;
}

@media (max-width: 900px) {
  .site-footer-main__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .site-footer-left {
    padding: 48px 24px 56px;
  }

  .site-footer-right {
    padding: 48px 24px 56px;
    padding-top: 56px;
  }

  .site-footer-scroll-top {
    top: 16px;
    right: 16px;
  }

  .site-footer-right__title {
    font-size: 26px;
    padding-right: 52px;
  }

  .site-footer-bottom__inner {
    text-align: center;
  }

  .site-footer-bottom__row--top {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .site-footer-bottom__row--bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
}

/* Лишний @media 900px удалён — стили в блоке ХЕДЕР */


/* ГРИД КАТЕГОРИЙ */
.m360-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* КАРТОЧКИ */
.m360-card-category {
  background: var(--m360-card-bg);
  border-radius: var(--m360-radius);
  border: 1px solid var(--m360-border);
  padding: 20px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 8px 14px rgba(0,0,0,0.04);
}

.m360-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 999px;
  background: var(--m360-peach);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
}

.m360-icon-orange { background: var(--m360-accent); }
.m360-icon-blue { background: var(--m360-blue); }
.m360-icon-green { background: var(--m360-green); }
.m360-icon-peach { background: var(--m360-peach); }

.m360-card-title {
  margin: 0 0 6px;
  font-family: var(--m360-font-serif);
  font-size: 20px;
}

.m360-card-text {
  margin: 0;
  color: var(--m360-muted);
  font-size: 14px;
}

/* КНОПКИ */

/* Base = outlined on light bg: transparent, dark border, dark text */
.m360-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--m360-text);
  background: transparent;
  color: var(--m360-text);
  font-family: "Manrope", var(--m360-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

/* Primary — жёлтая заливка, бордер в цвет фона, тёмный текст */
.m360-btn--primary{
  background: var(--m360-accent);
  border-color: var(--m360-accent);
  color: var(--m360-text);
}

/* Outline — жёлтый бордер (CTA на любом фоне) */
.m360-btn--outline{
  background: transparent;
  border-color: var(--m360-accent);
  color: var(--m360-text);
}

/* Outline dark — для тёмного фона: жёлтый бордер, белый текст */
.m360-btn--outline-dark{
  background: transparent;
  border-color: var(--m360-accent);
  color: #fff;
}

/* Ghost — текстовая кнопка, без видимого бордера */
.m360-btn--ghost{
  background: transparent;
  border-color: transparent;
  color: var(--m360-text);
}

/* Dark — тёмная заливка */
.m360-btn--dark{
  background: var(--m360-dark);
  border-color: var(--m360-dark);
  color: #fff;
}

/* Light — кремовая кнопка для тёмного фона */
.m360-btn--light{
  background: #f5f0e8;
  border-color: #f5f0e8;
  color: var(--m360-text);
}

/* Hover */
.m360-btn:hover{
  text-decoration: none;
}
.m360-btn--primary:hover        { background: var(--m360-accent-dark); border-color: var(--m360-accent-dark); }
.m360-btn--outline:hover        { background: var(--m360-text); border-color: var(--m360-text); color: #fff; }
.m360-btn--outline-dark:hover   { background: rgba(var(--m360-accent-rgb),0.15); }
.m360-btn--ghost:hover          { opacity: 0.7; }
.m360-btn--dark:hover           { background: #0f1724; border-color: #0f1724; }
.m360-btn--light:hover          { background: #ede7d8; border-color: #ede7d8; }

/* Base outlined hover */
.m360-btn:not([class*="btn--"]):hover { background: var(--m360-text); color: #fff; }

.m360-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--m360-accent-rgb),0.4);
}
.m360-btn.is-disabled,
.m360-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   УНИФИЦИРОВАННАЯ СИСТЕМА КНОПОК
   type: primary | secondary   ×   size: m | s   ×   theme: light | dark
   Пример: <a class="m360-btn m360-btn--primary m360-btn--size-m m360-btn--theme-dark">
   Старые модификаторы (--outline, --outline-dark, --dark, --light, --ghost)
   пока не трогаем — используются в местах, которые ещё не мигрировали.
   ============================================================ */

/* Размеры */
.m360-btn--size-s{
  height: auto;
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.m360-btn--size-m{
  height: auto;
  padding: 13px 24px 14px 24px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Primary — жёлтая заливка, тёмный текст. Одинаково на любой теме фона. */
.m360-btn--primary{
  background: var(--m360-accent);
  border-color: var(--m360-accent);
  color: var(--m360-text);
}

.m360-btn--primary:hover{
  background: var(--m360-accent-dark);
  border-color: var(--m360-accent-dark);
  color: var(--m360-text);
}

/* Secondary — контурная кнопка */
.m360-btn--secondary{
  background: transparent;
  border-width: 1.5px;
}

/* Secondary на светлом фоне: контур акцентный, текст всегда тёмный */
.m360-btn--secondary.m360-btn--theme-light{
  border-color: var(--m360-accent);
  color: var(--m360-text);
}

.m360-btn--secondary.m360-btn--theme-light:hover{
  background: transparent;
  border-color: var(--m360-accent-dark);
  color: var(--m360-text);
}

/* Secondary на тёмном фоне: текст всегда в цвет контура */
.m360-btn--secondary.m360-btn--theme-dark{
  border-color: var(--m360-accent);
  color: #fff;
}

.m360-btn--secondary.m360-btn--theme-dark:hover{
  background: transparent;
  border-color: var(--m360-accent-dark);
  color: #fff;
}

/* Disabled — свой оттенок под фон, чтобы не терять контраст */
.m360-btn--primary.m360-btn--theme-light:disabled,
.m360-btn--primary.m360-btn--theme-light.is-disabled{
  opacity: 1;
  background: #e2e4e7;
  border-color: #e2e4e7;
  color: #ffffff;
}

.m360-btn--primary.m360-btn--theme-dark:disabled,
.m360-btn--primary.m360-btn--theme-dark.is-disabled{
  opacity: 1;
  background: #4c5c6e;
  border-color: #4c5c6e;
  color: rgba(255,255,255,0.65);
}

.m360-btn--secondary.m360-btn--theme-light:disabled,
.m360-btn--secondary.m360-btn--theme-light.is-disabled{
  opacity: 1;
  background: transparent;
  border-color: #d8dadd;
  color: #b7bac0;
}

.m360-btn--secondary.m360-btn--theme-dark:disabled,
.m360-btn--secondary.m360-btn--theme-dark.is-disabled{
  opacity: 1;
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.3);
}

/* ПИЛЛЫ */
.m360-pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--m360-border);
  background:#fff;
  font-size:12px;
  color: var(--m360-muted);
}

.m360-pill--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.m360-pill--ghost:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.m360-post-meta--hero {
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
}

/* POST LIST */
.m360-posts-description {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

/* POST LIST */
.m360-posts-list {
  display: flex;
  flex-direction: column;
  margin: 32px 0 0;
}

.m360-post-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--m360-border);
}


.m360-post-row__media {
  flex: 0 0 200px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #f1efe9;
}

.m360-post-row__media img {
  display: block;
  width: 100%;
  height: 134px;
  object-fit: cover;
}

.m360-post-row__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m360-post-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-size: 12px;
  color: var(--m360-muted);
}

.m360-post-row__meta a {
  color: var(--m360-muted);
  text-decoration: none;
}

.m360-post-row__meta a:hover {
  color: var(--m360-text);
}

.m360-post-row__title {
  margin: 0;
  font-family: var(--m360-font-serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
}

.m360-post-row__title a {
  color: inherit;
  text-decoration: none;
}

.m360-post-row__title a:hover {
  color: var(--m360-accent-dark, #b89300);
}

.m360-post-row__excerpt {
  color: var(--m360-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.m360-post-row__link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--m360-text);
  text-decoration: none;
}

.m360-post-row__link:hover {
  text-decoration: underline;
}

.m360-pagination{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.m360-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--m360-border);
  background: #fff;
  font-size: 14px;
}

.m360-pagination .page-numbers.current{
  background: var(--m360-accent);
  border-color: transparent;
  color: #111;
}

/* SINGLE POST */
.m360-post{
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.m360-post-hero{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.m360-post-title{
  margin: 0;
  font-family: var(--m360-font-serif);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  margin-top: 12px;
}

.m360-post-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  font-size: 12px;
  color: var(--m360-muted);
}

.m360-post-featured img{
  display:block;
  width:100%;
  height:auto;
  border-radius: 12px;
}

.m360-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid var(--m360-border);
  margin-top: 8px;
}

.m360-post-nav__prev a,
.m360-post-nav__next a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--m360-text);
  text-decoration: none;
  transition: opacity .15s ease;
}

.m360-post-nav__prev a:hover,
.m360-post-nav__next a:hover {
  opacity: 0.6;
}

.m360-post-nav__next {
  text-align: right;
  margin-left: auto;
}

/* WOO SHOP */
.m360-shop{
  display:grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.m360-shop-sidebar{
  padding: 18px 16px;
}

.m360-shop-sidebar__title{
  margin: 0 0 12px;
  font-family: var(--m360-font-serif);
  font-size: 18px;
}

.m360-product-cats{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m360-product-cats li{
  margin: 0;
}

.m360-product-cats a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--m360-text);
  font-size: 14px;
}

.m360-product-cats .current-cat > a{
  background: var(--m360-accent);
  border-color: transparent;
  color: #111;
}

.m360-product-cats ul{
  list-style: none;
  margin: 6px 0 6px 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m360-shop-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.woocommerce ul.products{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product{
  list-style: none;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display:flex;
  flex-direction: column;
  gap: 6px;
}

.woocommerce ul.products li.product a img{
  border-radius: 0;
  margin: 0 0 10px;
}

.woocommerce ul.products li.product .price{
  color: var(--m360-text);
  font-weight: 600;
}

.woocommerce ul.products li.product .button{
  align-self: flex-start;
  border-radius: 2px;
  border: 1px solid var(--m360-border);
  background: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family: var(--m360-font-sans);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

@media (max-width: 900px){
  .m360-shop{
    grid-template-columns: 1fr;
  }
}

/* SINGLE PRODUCT */
.m360-product{
  display:flex;
  flex-direction: column;
  gap: 20px;
}

.m360-product-hero{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.m360-product-title{
  margin: 0;
  font-family: var(--m360-font-serif);
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.15;
}

.m360-product-nav{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m360-product-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
}

.m360-product-gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.m360-product-gallery__item{
  display:block;
  border-radius: 12px;
  overflow: hidden;
}

.m360-product-gallery__item img{
  display:block;
  width: 100%;
  height: auto;
}

.m360-product-summary{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.m360-product-summary .price{
  font-size: 20px;
  font-weight: 700;
}

.m360-product-summary .cart{
  margin: 0;
}

.m360-product-summary .single_add_to_cart_button{
  border-radius: 999px;
  border: 1px solid var(--m360-border);
  background: var(--m360-accent);
  color: #111;
  font-weight: 600;
  padding: 10px 16px;
}

.m360-product-section-title{
  margin: 0 0 10px;
  font-family: var(--m360-font-serif);
  font-size: 18px;
}

.m360-product-files ul{
  margin: 0;
  padding-left: 18px;
}

.m360-product-files li{
  margin: 0 0 6px;
}

@media (max-width: 900px){
  .m360-product-grid{
    grid-template-columns: 1fr;
  }
}

/* PRODUCT CATEGORIES PAGE */
.m360-card-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* HOME PAGE / SECTION BLOCKS */

.m360-section-block {
  padding: 64px 0;
}

.m360-section-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* HERO */
.m360-hero-block {
  padding: 20px 0 0;
}

.m360-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  background: var(--m360-dark);
  border-radius: var(--m360-radius);
  overflow: hidden;
  color: #fff;
  min-height: 360px;
}

.m360-hero__content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.m360-hero__content h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
}

.m360-hero__content p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.6;
  max-width: 480px;
}

.m360-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.m360-hero__media {
  display: flex;
  align-items: stretch;
}

.m360-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* INTRO */
.m360-intro {
  text-align: center;
  padding: 48px 0;
}

.m360-intro__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--m360-accent);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.m360-intro p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--m360-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* CARDS GRID (Сценарии) */
.m360-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.m360-mini-card {
  background: #fff;
  border-radius: var(--m360-radius);
  padding: 20px 18px 18px;
  border: 1px solid var(--m360-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m360-mini-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.m360-mini-card p {
  margin: 0;
  color: var(--m360-muted);
  font-size: 12px;
  line-height: 1.55;
  flex: 1;
}

.m360-mini-card__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--m360-accent);
  border: 1px solid #1b1b1b;
  font-size: 11px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* SPLIT BAND (жёлтый + тёмный) */
.m360-split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.m360-split-band__left {
  background: var(--m360-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.m360-split-band__card {
  background: #fff;
  border-radius: var(--m360-radius);
  padding: 24px;
  max-width: 340px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.m360-split-band__right {
  background: var(--m360-dark);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 48px 52px;
}

.m360-split-band__content h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.m360-split-band__content p {
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.65;
}

/* TARGETS (Для кого) */
.m360-targets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.m360-target-card {
  background: #fff;
  border-radius: var(--m360-radius);
  overflow: hidden;
  border: 1px solid var(--m360-border);
}

.m360-target-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.m360-target-card h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px 0;
}

.m360-target-card p {
  margin: 0;
  color: var(--m360-muted);
  font-size: 11px;
  line-height: 1.5;
  padding: 0 12px 12px;
}

/* SPLIT YELLOW (Как мы внедряем) */
.m360-split-yellow {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.m360-split-yellow__left {
  background: var(--m360-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

.m360-split-yellow__media {
  text-align: center;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.m360-split-yellow__media h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  max-width: 260px;
}

.m360-cube {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.m360-cube--dark { background: var(--m360-accent); }

.m360-split-yellow__right {
  background: var(--m360-dark);
  color: #fff;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.m360-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.m360-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.m360-steps li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m360-accent);
  margin-top: 5px;
}

/* REASONS (Почему мы) */
.m360-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.m360-reason-card {
  background: #fff;
  border: 1px solid var(--m360-border);
  border-radius: var(--m360-radius);
  padding: 20px 18px;
}

.m360-reason-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.m360-reason-card p {
  margin: 0;
  color: var(--m360-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* CTA dark section */
.m360-cta {
  background: var(--m360-dark);
  color: #fff;
  padding: 64px 0;
}

.m360-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: center;
}

.m360-cta__left h2 {
  margin: 14px 0 10px;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.m360-cta__left p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.6;
}

.m360-cta-form {
  display: grid;
  gap: 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: var(--m360-radius);
}

.m360-cta-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.m360-cta-form input {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 9px 11px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 13px;
  font-family: var(--m360-font-sans);
}

.m360-cta-form input::placeholder { color: rgba(255,255,255,0.3); }

.m360-cta-form button { align-self: flex-start; }

.m360-cta-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .m360-hero { grid-template-columns: 1fr; }
  .m360-hero__media { min-height: 240px; }
  .m360-cards-grid,
  .m360-targets,
  .m360-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m360-split-band,
  .m360-split-yellow { grid-template-columns: 1fr; }
  .m360-cta__grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .m360-section-block { padding: 40px 0; }
  .m360-cards-grid,
  .m360-targets,
  .m360-reasons { grid-template-columns: 1fr; }
  .m360-hero__content { padding: 28px 20px; }
  .m360-split-band__left,
  .m360-split-band__right,
  .m360-split-yellow__left,
  .m360-split-yellow__right { padding: 32px 20px; }
}

/* MODAL */
.m360-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.m360-modal.is-open{
  display: block;
}

.m360-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.m360-modal__panel{
  position: relative;
  margin: 5vh auto;
  width: min(860px, calc(100% - 26px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.m360-modal__header img{
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
}

.m360-modal__body{
  padding: 18px 18px 20px;
}

.m360-modal__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.m360-modal__top h3{
  margin: 0;
  font-family: var(--m360-font-serif);
  font-size: 22px;
  line-height: 1.2;
}

.m360-modal__close{
  border: 1px solid var(--m360-border);
  background: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.m360-modal__body ul{
  margin: 0 0 12px 18px;
  color: var(--m360-text);
}

.m360-modal__body li{
  margin: 0 0 8px;
}

@media (max-width: 700px){
  .m360-modal__header img{ height: 86px; }
}

.m360-form-wrap .wpcf7-form p {
  margin: 0;
}
.m360-form-wrap br { display: none; }

/* Попап «Заказать звонок» — макет images/form1.png
   Доп. переопределения CF7 см. marker360_contact_popup_cf7_overrides() в functions.php */
.m360-contact-panel{
  position: relative;
  width: min(645px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  max-height: calc(100vh - 40px);
  margin: 8vh auto;
  background: #151e29;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
}


.m360-modal__close--popup{
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m360-modal__close--popup:hover{
  opacity: 0.75;
}

/* Попап «Спасибо» после успешной отправки футер-формы */
.m360-thanks{
  padding: 76px 56px 64px;
  text-align: center;
}

.m360-thanks__title{
  margin: 0 0 20px;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0;
}

.m360-thanks__text{
  margin: 0 auto 32px;
  max-width: 420px;
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.m360-thanks__btn{
  margin: 0 auto;
}

@media (max-width: 560px){
  .m360-thanks{ padding: 64px 24px 48px; }
  .m360-thanks__title{ font-size: 32px; }
}

.m360-contact-popup{
  padding: 80px 64px 64px;
}

.m360-contact-popup__title{
  margin: 0 0 24px;
  text-align: center;
  font-family: "Manrope", var(--m360-font-sans);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0;
}

#m360-contact .wpcf7,
#m360-contact .wpcf7-form {
  width: 100%;
  box-sizing: border-box;
}

#m360-contact .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#m360-contact .wpcf7-form p { margin: 0; }
#m360-contact br { display: none; }

/* Лейблы скрыты — форма использует плейсхолдеры */
#m360-contact .wpcf7-form label {
  display: block;
  font-size: 0;
  line-height: 0;
  color: transparent;
  margin: 0;
}

#m360-contact .wpcf7-form label .wpcf7-form-control-wrap {
  display: block;
  font-size: 14px;
  line-height: normal;
}

/* Поля — как в футер-форме */
#m360-contact .wpcf7-form input[type="text"],
#m360-contact .wpcf7-form input[type="tel"],
#m360-contact .wpcf7-form input[type="email"],
#m360-contact .wpcf7-form input[type="url"],
#m360-contact .wpcf7-form textarea,
#m360-contact .wpcf7-form-control-wrap input[type="text"],
#m360-contact .wpcf7-form-control-wrap input[type="tel"],
#m360-contact .wpcf7-form-control-wrap input[type="email"],
#m360-contact .wpcf7-form-control-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--m360-font-inter);
  line-height: 1.5;
  background: rgba(255,255,255,0.06);
  color: #fff;
}

#m360-contact .wpcf7-form textarea,
#m360-contact .wpcf7-form-control-wrap textarea {
  min-height: 80px;
  max-height: 120px;
  height: auto;
  resize: none;
}

#m360-contact .wpcf7-form input::placeholder,
#m360-contact .wpcf7-form textarea::placeholder {
  color: rgba(255,255,255,0.38);
}

#m360-contact .wpcf7-form input:focus,
#m360-contact .wpcf7-form textarea:focus,
#m360-contact .wpcf7-form-control-wrap input:focus,
#m360-contact .wpcf7-form-control-wrap textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.45);
  box-shadow: none;
}

/* Кнопка — компактная по центру */
#m360-contact .wpcf7-form input[type="submit"],
#m360-contact .wpcf7-form button[type="submit"],
#m360-contact .wpcf7-form input.wpcf7-submit {
  display: block;
  width: auto;
  padding: 13px 24px 14px 24px;
  margin: 12px auto 0;
  border: none;
  border-radius: 999px;
  background: var(--m360-accent);
  color: var(--m360-dark-bg);
  cursor: pointer;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.16s ease, filter 0.16s ease;
}

#m360-contact .wpcf7-form input[type="submit"]:hover,
#m360-contact .wpcf7-form button[type="submit"]:hover {
  background: var(--m360-accent-dark);
}

/* Чекбокс acceptance */
#m360-contact .wpcf7-acceptance label,
#m360-contact .wpcf7-list-item label {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

#m360-contact .wpcf7-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

#m360-contact .wpcf7-form input[type="checkbox"]:checked {
  background-color: var(--m360-accent);
  border-color: var(--m360-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%2310223d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

#m360-contact .wpcf7-form a {
  color: var(--m360-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#m360-contact .wpcf7-form a:hover {
  filter: brightness(1.08);
}

#m360-contact .wpcf7-response-output {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 16px 0 0;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
}

@media (max-width: 480px){
  .m360-contact-popup{
    padding: 48px 24px 36px;
  }
}

/* Экран успеха в попапе */
.m360-contact-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.m360-contact-success.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.m360-contact-success__icon {
  width: 56px;
  height: 56px;
  color: var(--m360-accent);
  flex-shrink: 0;
}

.m360-contact-success__text {
  margin: 0;
  text-align: center;
  font-family: "Manrope", var(--m360-font-sans);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

/* FRAME 244 BLOCK */
.m360-scenarios-block {
  padding: 28px 0 148px;
  background: #fff;
}

.m360-scenarios-block__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.m360-content .m360-scenarios-block__title {
  margin: 0 0 48px;
  text-align: center;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0;
}

.m360-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.m360-scenario-card {
  background: var(--m360-surface);
  border-radius: 24px;
  min-height: 320px;
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.m360-content .m360-scenario-card__title {
  margin: 0 0 14px;
  text-align: center;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.m360-content .m360-scenario-card__text {
  margin: 0 0 24px;
  text-align: center;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

/* WordPress добавляет <p> вокруг кнопок — делаем его прозрачным для flex */
.m360-scenario-card p:has(.m360-scenario-card__btn) {
  display: contents;
}

.m360-scenario-card__btn {
  /* центрируем по горизонтали; кнопка идёт сразу под текстом */
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .m360-content .m360-scenarios-block__title {
    font-size: 40px;
  }

  .m360-content .m360-scenario-card__title {
    font-size: 22px;
  }

  .m360-scenario-card {
    min-height: 300px;
    padding: 36px 24px 28px;
  }
}

@media (max-width: 900px) {
  .m360-scenarios-block {
    padding: 48px 0;
  }

  .m360-scenarios-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .m360-content .m360-scenarios-block__title {
    font-size: 32px;
    margin-bottom: 28px;
  }

  .m360-content .m360-scenario-card__title {
    font-size: 20px;
  }

  .m360-content .m360-scenario-card__text {
    font-size: 14px;
  }

}

/* FRAME 245 BLOCK — «Для кого мы работаем», 4 карточки с фото */
.m360-audience-block {
  padding: 120px 0;
  background: #fff;
}

.m360-audience-block__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.m360-content .m360-audience-block__title {
  margin: 0 0 48px;
  text-align: center;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0;
}

.m360-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.m360-audience-card {
  background: var(--m360-surface);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.m360-audience-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e9eb;
}

.m360-content .m360-audience-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

.m360-audience-card__body {
  padding: 22px 24px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.m360-content .m360-audience-card__title {
  margin: 0 0 12px;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.m360-content .m360-audience-card__text {
  margin: 0;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

@media (max-width: 1100px) {
  .m360-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m360-content .m360-audience-block__title {
    font-size: 40px;
  }

  .m360-content .m360-audience-card__title {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .m360-audience-block {
    padding: 48px 0;
  }

  .m360-audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .m360-content .m360-audience-block__title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .m360-content .m360-audience-card__title {
    font-size: 20px;
  }
}

/* FRAME 246 BLOCK — две колонки: жёлтая с цитатой + тёмная с текстом */
.m360-split-block {
  margin: 0;
}

.m360-split-block--fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.m360-split-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 700px;
}

/* Левый столбец: только фон из PNG (без отдельного var(--m360-accent) — иначе видна «рамка») */
.m360-split-block__left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 420px;
  padding: 0;
}

.m360-content .m360-split-block__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  z-index: 0;
}

.m360-content .m360-split-block__quote {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  max-width: min(85%, 16em);
  text-align: center;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0;
  pointer-events: none;
}

.m360-split-block__right {
  box-sizing: border-box;
  background: var(--m360-dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
  width: 100%;
  padding: 140px 80px;
}

.m360-content .m360-split-block__title {
  margin: 0 !important;
  max-width: 700px;
  width: 100%;
  color: var(--m360-accent);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.m360-content .m360-split-block__lead {
  margin: 0 !important;
  max-width: 700px;
  width: 100%;
  color: rgba(255,255,255,0.55);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

/* Стикер «Это — станция агрегации» поверх фото */
.m360-split-sticker {
  position: absolute;
  left: 56px;
  bottom: 96px;
  z-index: 2;
  width: 196px;
}

.m360-split-sticker__arrow {
  position: absolute;
  top: -46px;
  right: -4px;
  width: 62px;
  height: auto;
  pointer-events: none;
}

.m360-split-sticker__circle {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.m360-content .m360-split-sticker__text {
  margin: 0 !important;
  max-width: none;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.m360-split-sticker__btn {
  min-width: 0;
}

/* WordPress (wpautop) добавляет <p> вокруг картинок/кнопки — нейтрализуем */
.m360-split-block__left p:empty {
  display: none;
}

.m360-split-block__left p:has(.m360-split-sticker__btn) {
  display: contents;
}

@media (max-width: 1200px) {
  .m360-content .m360-split-block__title {
    font-size: 40px;
  }

  .m360-split-block__grid {
    min-height: 640px;
  }

  .m360-split-block__right {
    padding: 100px 48px;
  }

  .m360-content .m360-split-block__lead {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  .m360-split-block__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .m360-split-block__left {
    min-height: min(90vw, 460px);
    order: 1;
  }

  .m360-split-sticker {
    left: 24px;
    bottom: 24px;
    width: 148px;
  }

  .m360-split-sticker__circle {
    width: 148px;
    height: 148px;
    padding: 16px;
    gap: 10px;
  }

  .m360-content .m360-split-sticker__text {
    font-size: 13px;
  }

  .m360-split-sticker__arrow {
    width: 46px;
    top: -34px;
  }

  .m360-split-block__right {
    padding: 48px 24px 56px;
    order: 2;
  }

  .m360-content .m360-split-block__title {
    font-size: 32px;
  }

  .m360-content .m360-split-block__lead {
    font-size: 18px;
  }
}

/* FRAME 247 BLOCK — «Как мы внедряем ЧЗ»: жёлтый столбец + шаги
   Левый фон + кружки — #f9e520. PNG кубов с прозрачным фоном — contain, max-width 520px. */
.m360-cz-block {
  --m360-cz-left-bg: #f9e520;
  --m360-cz-ink: #0f172a;
  margin: 0;
}

.m360-cz-block--fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.m360-cz-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
}

.m360-cz-block__left {
  box-sizing: border-box;
  background: var(--m360-cz-left-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 56px 40px 64px;
}

.m360-content .m360-cz-block__title {
  margin: 0 !important;
  max-width: 520px;
  text-align: center;
  color: var(--m360-cz-ink);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0;
}

.m360-cz-block__visual {
  margin: 0;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m360-cz-block__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(360px, 42vw);
  object-fit: contain;
  object-position: center;
}

.m360-cz-block__right {
  box-sizing: border-box;
  background: var(--m360-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px 80px 64px;
}

.m360-cz-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 560px;
}

.m360-cz-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 28px;
}

.m360-cz-step:last-child {
  margin-bottom: 0;
}

.m360-cz-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--m360-cz-left-bg);
  color: var(--m360-cz-ink);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
}

.m360-content .m360-cz-step__title {
  margin: 0 0 8px !important;
  color: var(--m360-cz-ink);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
}

.m360-content .m360-cz-step__text {
  margin: 0 !important;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
}

@media (max-width: 1200px) {
  .m360-content .m360-cz-block__title {
    font-size: 40px;
  }

  .m360-cz-block__right {
    padding: 64px 48px;
  }
}

@media (max-width: 900px) {
  .m360-cz-block__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .m360-cz-block__left {
    padding: 48px 24px 56px;
    order: 1;
  }

  .m360-content .m360-cz-block__title {
    font-size: 32px;
  }

  .m360-cz-block__right {
    padding: 48px 24px 56px;
    order: 2;
  }

  .m360-cz-steps {
    max-width: none;
  }

  .m360-cz-block__visual img {
    max-height: 280px;
  }
}

/* FRAME 248 BLOCK — «Почему мы», 3 карточки с иконками */
.m360-why-block {
  padding: 120px 0;
  background: #fff;
}

.m360-why-block__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.m360-content .m360-why-block__title {
  margin: 0 0 48px;
  text-align: center;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0;
}

.m360-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.m360-why-card {
  box-sizing: border-box;
  background: var(--m360-surface);
  border-radius: 24px;
  padding: 40px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.m360-why-card__icon {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.m360-content .m360-why-card__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.m360-content .m360-why-card__title {
  margin: 0 0 12px;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.m360-content .m360-why-card__text {
  margin: 0;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

@media (max-width: 1100px) {
  .m360-why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .m360-content .m360-why-block__title {
    font-size: 40px;
  }

  .m360-content .m360-why-card__title {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .m360-why-block {
    padding: 48px 0;
  }

  .m360-content .m360-why-block__title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .m360-why-card {
    padding: 32px 22px 28px;
  }

  .m360-content .m360-why-card__title {
    font-size: 20px;
  }

  .m360-post-row {
    flex-direction: column;
    gap: 14px;
  }

  .m360-post-row__media {
    flex: none;
    width: 100%;
  }

  .m360-post-row__media img {
    height: 180px;
  }
}

/* СТРАНИЦА «УСЛУГИ» — сетка 2×2 из карточек-разделов */
.m360-services-block {
  padding: 48px 0 120px;
  background: #fff;
}

.m360-services-block__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.m360-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.m360-services-card {
  box-sizing: border-box;
  background: var(--m360-surface);
  border-radius: 24px;
  padding: 56px 40px;
  min-height: 330px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.m360-services-card__icon {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.m360-content .m360-services-card__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
}

.m360-content .m360-services-card__title {
  margin: 0 0 14px !important;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.m360-content .m360-services-card__text {
  margin: 0 !important;
  max-width: 430px;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

.m360-services-card__btn {
  margin: 26px auto 0;
}

/* WordPress (wpautop) оборачивает кнопку в <p> и добавляет пустые — нейтрализуем */
.m360-services-card p:empty {
  display: none;
}

.m360-services-card p:has(.m360-services-card__btn) {
  display: contents;
}

@media (max-width: 900px) {
  .m360-services-block {
    padding: 56px 0 64px;
  }

  .m360-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .m360-services-card {
    min-height: 0;
    padding: 40px 24px;
  }

  .m360-content .m360-services-card__title {
    font-size: 22px;
  }
}

/* СТРАНИЦА «СТАНЦИЯ АГРЕГАЦИИ» */

/* Блок 1 идёт сразу под тёмной шапкой — гасим верхний отступ .m360-page-article */
.m360-page-article > .m360-station-intro:first-child,
.m360-page-article > *:first-child > .m360-station-intro:first-child {
  margin-top: -48px;
}

/* Блок 1: фото слева + описание и нумерованные сценарии справа */
.m360-station-intro {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--m360-surface);
  padding: 72px 0 80px;
}

.m360-station-intro__grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.m360-station-intro__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.m360-content .m360-station-intro__media img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 0;
}

.m360-content .m360-station-intro__text {
  margin: 0 0 36px !important;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0;
}

.m360-content .m360-station-steps {
  list-style: none;
  margin: 0 !important;
  padding: 0;
}

.m360-station-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 26px;
}

.m360-station-step:last-child {
  margin-bottom: 0;
}

.m360-station-step__body {
  flex: 1;
  min-width: 0;
}

.m360-station-step__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--m360-accent);
  color: var(--m360-text);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 26px;
  text-align: center;
}

.m360-content .m360-station-step__title {
  margin: 0 0 6px !important;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
}

.m360-content .m360-station-step__text {
  margin: 0 !important;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
}

/* Блок 2: «Сколько стоит» — текст слева, карточка с ценой справа */
.m360-station-price {
  padding: 96px 0;
}

.m360-station-price__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
}

.m360-content .m360-station-price__title {
  margin: 0 0 28px !important;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: left;
}

.m360-content .m360-station-price__text {
  margin: 0 0 18px !important;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0;
}

.m360-content .m360-station-price__subtitle {
  margin: 30px 0 18px !important;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
}

.m360-station-card {
  box-sizing: border-box;
  background: var(--m360-surface);
  border-radius: 24px;
  padding: 48px 40px 44px;
  text-align: center;
}

.m360-station-card__media {
  margin: 0 0 22px;
}

.m360-content .m360-station-card__media img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}

.m360-content .m360-station-card__price {
  margin: 0 0 4px !important;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.m360-content .m360-station-card__vat {
  margin: 0 0 22px !important;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
}

.m360-content .m360-station-card__includes {
  margin: 0 0 26px !important;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.55;
}

.m360-station-card__btn {
  margin: 0 auto;
}

/* Блок 3: тёмная карточка «А если у меня грязный цех?» */
.m360-station-dirty {
  margin: 0 0 96px;
  background: var(--m360-dark-bg);
  border-radius: 24px;
  padding: 64px 40px 56px;
  text-align: center;
}

.m360-content .m360-station-dirty__title {
  margin: 0 0 18px !important;
  color: #fff;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
}

.m360-content .m360-station-dirty__text {
  margin: 0 auto 30px !important;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0;
}

.m360-station-dirty__btn {
  margin: 0 auto;
}

/* WordPress (wpautop) оборачивает кнопки в <p> — нейтрализуем */
.m360-station-card p:has(.m360-station-card__btn),
.m360-station-dirty p:has(.m360-station-dirty__btn) {
  display: contents;
}

.m360-station-intro p:empty,
.m360-station-card p:empty,
.m360-station-dirty p:empty {
  display: none;
}

@media (max-width: 1000px) {
  .m360-station-intro {
    padding: 48px 0 56px;
  }

  .m360-station-intro__grid,
  .m360-station-price__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .m360-station-price {
    padding: 56px 0;
  }

  .m360-content .m360-station-price__title {
    font-size: 32px;
  }

  .m360-station-dirty {
    margin-bottom: 56px;
    padding: 44px 24px 40px;
  }

  .m360-content .m360-station-dirty__title {
    font-size: 26px;
  }

  .m360-station-card {
    padding: 40px 24px 36px;
  }
}

/* СТРАНИЦА «ТОВАРНЫЕ КАТЕГОРИИ» — плитка категорий с лейблами */
.m360-catalog-block {
  padding: 48px 0 120px;
  background: #fff;
}

.m360-catalog-block__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.m360-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.m360-catalog-card {
  box-sizing: border-box;
  background: var(--m360-surface);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.m360-catalog-card__icon {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.m360-content .m360-catalog-card__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
}

.m360-content .m360-catalog-card__title {
  margin: 0 0 24px !important;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.m360-content .m360-catalog-tags {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 460px;
}

.m360-content .m360-catalog-tag {
  margin: 0;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--m360-border);
  border-radius: 999px;
  color: #2c3644;
  font-family: var(--m360-font-inter);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .m360-catalog-block {
    padding: 40px 0 64px;
  }

  .m360-catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .m360-catalog-card {
    padding: 36px 20px;
  }

  .m360-content .m360-catalog-card__title {
    font-size: 22px;
  }
}

/* FRAME 236 BLOCK */
.m360-claim-block {
  position: relative;
  width: 100%;
  margin: 0 0 36px;
}

.m360-claim-block--fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.m360-claim-block__top {
  background: var(--m360-surface);
  padding: 120px 20px 200px;
}

.m360-claim-block__container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.m360-content .m360-claim-block__text {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
  color: #2a3340;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0;
}

.m360-content .m360-claim-block__text + .m360-claim-block__text {
  margin-top: 1.25em;
}

.m360-claim-block__bottom {
  background: #fff;
  height: 96px;
}

.m360-claim-block__cube {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 420px;
  height: 280px;
  z-index: 2;
  pointer-events: none;
}

.m360-claim-block__cube img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 1100px) {
  .m360-content .m360-claim-block__text {
    font-size: 22px;
  }

  .m360-claim-block__cube {
    width: 320px;
    height: 214px;
  }

  .m360-claim-block__top {
    padding-bottom: 132px;
  }
}

@media (max-width: 780px) {
  .m360-claim-block__top {
    padding: 36px 16px 96px;
  }

  .m360-content .m360-claim-block__text {
    font-size: 18px;
    line-height: 1.5;
  }

  .m360-claim-block__bottom {
    height: 64px;
  }

  .m360-claim-block__cube {
    width: 220px;
    height: 148px;
    bottom: 2px;
  }
}

/* CONTENT BANNER (for WP content insert) */
.m360-content-banner {
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.m360-content-banner--fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.m360-content-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 42vw, 565px);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  background: #0f1f34;
}

.m360-content-banner__left {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: 64px;
  padding-bottom: 52px;
  padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
  padding-right: clamp(28px, 4vw, 58px);
  background: linear-gradient(90deg, #14263f 0%, #10223a 76%, rgba(16,34,58,0.9) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.m360-content .m360-content-banner__title {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Manrope", var(--m360-font-sans);
  font-size: 40px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0;
}

.m360-content .m360-content-banner__text {
  margin: 0 0 32px;
  max-width: 560px;
  color: rgba(255,255,255,0.55);
  font-family: var(--m360-font-inter);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0;
}

.m360-content-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.m360-content-banner__actions br,
.m360-content-banner__left > br,
.m360-content-banner__inner > br {
  display: none;
}

.m360-section > .m360-content-banner:first-child {
  margin-top: -40px;
}

/* Главная и страницы с контентом в .m360-page-article: убираем зазор под меню */
.m360-page-article > .m360-content-banner:first-child,
.m360-page-article > *:first-child > .m360-content-banner:first-child {
  margin-top: -48px;
}

.m360-content-banner .m360-btn {
  white-space: nowrap;
}

.m360-content-banner .m360-btn--primary {
  background: var(--m360-accent);
  border-color: var(--m360-accent);
  color: #10233d;
}

.m360-btn--banner-outline {
  background: rgba(18, 33, 55, 0.5);
  border: 2px solid var(--m360-accent);
  color: #fff;
}

.m360-btn--banner-outline:hover {
  background: rgba(var(--m360-accent-rgb), 0.16);
  color: #fff;
}

.m360-content-banner__media {
  position: relative;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 1280px) {
  .m360-content-banner__inner {
    min-height: 460px;
  }

  .m360-content-banner__left {
    padding-top: 48px;
    padding-bottom: 36px;
    padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
    padding-right: 36px;
  }

  .m360-content .m360-content-banner__title {
    font-size: 34px;
  }

  .m360-content .m360-content-banner__text {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .m360-content-banner__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .m360-content-banner__media {
    min-height: 300px;
    order: 2;
  }

  .m360-content-banner__left {
    padding: 32px 24px 26px;
    order: 1;
  }

  .m360-content .m360-content-banner__title {
    font-size: clamp(30px, 6.2vw, 44px);
  }

  .m360-content .m360-content-banner__text {
    font-size: 16px;
    max-width: none;
  }

  .m360-content-banner .m360-btn {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  /* Боковые отступы оставляем «на всю ширину», иначе баннер шириной 100vw
     съезжает на отступ контейнера и даёт горизонтальную прокрутку. */
  .m360-content-banner {
    margin: 0 calc(50% - 50vw) 24px;
  }

  .m360-section > .m360-content-banner:first-child {
    margin-top: -24px;
  }

  .m360-page-article > .m360-content-banner:first-child,
  .m360-page-article > *:first-child > .m360-content-banner:first-child {
    margin-top: -48px;
  }

  .m360-content-banner__media {
    min-height: 220px;
  }

  .m360-content-banner__actions {
    gap: 10px;
  }

  .m360-content-banner .m360-btn { justify-content: center; }
}

/* ——— Станция копакинга (copacking-station-block.html → Произвольный HTML) ——— */
.m360-copack-hero {
  padding-bottom: 20px;
}

.m360-copack-hero .m360-page-breadcrumbs {
  margin-bottom: 0;
}

.m360-copack-page {
  padding: 0 0 56px;
  background: #fff;
}

.m360-copack-sheet {
  max-width: 1200px;
}

.m360-copack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.m360-copack-photo-wrap {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid var(--m360-border);
}

.m360-copack-photo {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.m360-copack-main {
  padding-top: 4px;
}

.m360-copack-title {
  margin: 0 0 12px;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  color: var(--m360-dark-bg);
  letter-spacing: -0.02em;
}

.m360-copack-subtitle {
  margin: 0 0 28px;
  font-family: var(--m360-font-inter);
  font-size: 16px;
  line-height: 1.55;
  color: var(--m360-muted);
  max-width: 52ch;
}

.m360-copack-features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.m360-copack-feature {
  margin: 0 0 18px;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--m360-accent);
}

.m360-copack-feature:last-child {
  margin-bottom: 0;
}

.m360-copack-feature__title {
  margin: 0 0 6px;
  font-family: "Manrope", var(--m360-font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--m360-dark-bg);
}

.m360-copack-feature__text {
  margin: 0;
  font-family: var(--m360-font-inter);
  font-size: 15px;
  line-height: 1.55;
  color: #2c3644;
}

.m360-copack-body {
  margin: 0 0 28px;
}

.m360-copack-body p {
  margin: 0;
  font-family: var(--m360-font-inter);
  font-size: 15px;
  line-height: 1.65;
  color: #2c3644;
}

.m360-copack-price-block {
  margin: 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--m360-surface);
  border: 1px solid var(--m360-border);
}

.m360-copack-price {
  margin: 0 0 10px;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--m360-dark-bg);
}

.m360-copack-includes {
  margin: 0;
  font-family: var(--m360-font-inter);
  font-size: 14px;
  line-height: 1.55;
  color: var(--m360-muted);
}

.m360-copack-editor {
  padding-top: 8px;
  border-top: 1px solid var(--m360-border);
}

@media (max-width: 900px) {
  .m360-copack-grid {
    grid-template-columns: 1fr;
  }

  .m360-copack-visual {
    max-width: 520px;
  }
}

/* ============================================================
   LANDING PAGE: Ручное внедрение «Честного знака»
   (.lp-* namespace — вставляется через блок Custom HTML)
   ============================================================ */

/* Escape article container: lp-wrap goes fullbleed edge-to-edge */
.m360-page-article .lp-wrap {
  margin-top: -48px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

@media (max-width: 700px) {
  .m360-page-article .lp-wrap {
    margin-top: -32px;
  }
}

/* Прячет пустые <p> от WordPress wpautop */
.lp-wrap p:empty { display: none; }

/* lp-wrap: reset m360-page-article cascade for custom layouts */
.m360-page-article .lp-wrap p {
  margin: 0;
  color: inherit;
  font-family: var(--m360-font-sans);
  font-size: inherit;
  line-height: inherit;
}

/* CONTAINER */
.lp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTIONS */
.lp-section        { padding: 80px 0; background: #fff; }
.lp-section--gray  { background: var(--m360-surface); }
.lp-section--dark  { background: var(--m360-dark-bg); color: rgba(255,255,255,0.7); }
.lp-section--flush { padding: 0; }

.lp-section__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m360-accent-dark);
  margin-bottom: 14px;
}
.lp-section--dark .lp-section__eyebrow { color: var(--m360-accent); }

.lp-section__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--m360-text);
  margin: 0 0 16px;
}
.lp-section--dark .lp-section__title { color: #fff; }

.lp-section__lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--m360-secondary);
  max-width: 700px;
  margin: 0 0 48px;
}
.lp-section--dark .lp-section__lead { color: rgba(255,255,255,0.65); }

/* 1. HERO */
.lp-hero {
  color: rgba(255,255,255,0.65);
  background: var(--m360-dark-bg);
  padding: 0 0 88px;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.lp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--m360-accent-rgb),0.12);
  border: 1px solid rgba(var(--m360-accent-rgb),0.25);
  color: var(--m360-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.lp-hero__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 20px;
}

.lp-hero__subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0 0 22px;
}

.lp-hero__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  margin: 0 0 36px;
}

.lp-hero__price-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--m360-accent);
  border-radius: 16px;
  padding: 18px 28px;
  margin-bottom: 32px;
}

.lp-hero__price-amount {
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--m360-dark-bg);
  white-space: nowrap;
  line-height: 1;
}

.lp-hero__price-note {
  font-size: 13px;
  font-weight: 400;
  color: rgba(22,35,56,0.7);
  line-height: 1.45;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.lp-hero__disclaimer {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
}
.lp-hero__disclaimer a { color: rgba(255,255,255,0.6); text-decoration: underline; }

/* Hero right: visual cards */
.lp-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-vcard {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lp-vcard__icon {
  width: 42px;
  height: 42px;
  background: rgba(var(--m360-accent-rgb),0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--m360-accent);
}

.lp-vcard__body strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.lp-vcard__body span {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

/* 2. WHO IT'S FOR */
.lp-fit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.lp-fit-card {
  background: #fff;
  border: 1px solid #e8e4dd;
  border-radius: 16px;
  padding: 28px 24px;
}

.lp-fit-card__icon {
  width: 46px;
  height: 46px;
  background: rgba(var(--m360-accent-rgb),0.1);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--m360-accent-dark);
}

.lp-fit-card__title {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--m360-text);
  margin: 0 0 10px;
}

.lp-fit-card__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--m360-secondary);
  margin: 0;
}

/* Divergence block */
.lp-divergence {
  background: #f3f0ea;
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.lp-divergence__title {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--m360-text);
  margin: 0 0 12px;
}

.lp-divergence__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--m360-secondary);
  margin: 0 0 20px;
}

.lp-divergence__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--m360-text);
  border: 1px solid #c8c3bb;
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.lp-link-btn:hover { background: var(--m360-text); color: #fff; border-color: var(--m360-text); }

/* 3. TWO PATHS */
.lp-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  margin-bottom: 24px;
}

.lp-path {
  border-radius: 20px;
  padding: 36px 32px;
}

.lp-path--self {
  background: #f3f0ea;
  border: 1px solid var(--m360-border);
}

.lp-path--us {
  background: var(--m360-dark-bg);
}

.lp-path__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}

.lp-path--self .lp-path__badge {
  background: rgba(0,0,0,0.06);
  color: #8a9099;
}
.lp-path--us .lp-path__badge {
  background: rgba(var(--m360-accent-rgb),0.15);
  color: var(--m360-accent);
}

.lp-path__title {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 14px;
}
.lp-path--self .lp-path__title { color: var(--m360-text); }
.lp-path--us   .lp-path__title { color: #fff; }

.lp-path__price {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: var(--m360-accent);
  color: var(--m360-dark-bg);
  border-radius: 10px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.lp-path__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  margin: 0 0 20px;
}
.lp-path--self .lp-path__text { color: var(--m360-secondary); }
.lp-path--us   .lp-path__text { color: rgba(255,255,255,0.7); }

.lp-path__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.lp-path__list li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.lp-path__list li::before {
  content: "—";
  position: absolute;
  left: 0;
}
.lp-path--self .lp-path__list li { color: var(--m360-secondary); }
.lp-path--self .lp-path__list li::before { color: #c0bbb4; }
.lp-path--us   .lp-path__list li { color: rgba(255,255,255,0.7); }
.lp-path--us   .lp-path__list li::before { color: var(--m360-accent); }

.lp-path__final {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  font-style: italic;
  border-top: 1px solid;
  padding-top: 16px;
}
.lp-path--self .lp-path__final { color: #8a9099; border-color: var(--m360-border); }
.lp-path--us   .lp-path__final { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.1); }

.lp-paths-note {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: #8a9099;
  line-height: 1.6;
}

/* 4. STEPS */
.lp-steps {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.lp-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
}

.lp-step__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-step__num {
  width: 48px;
  height: 48px;
  background: var(--m360-text);
  color: var(--m360-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
}

.lp-step__connector {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: #e8e4dd;
  margin: 6px 0;
}

.lp-step:last-child .lp-step__connector { display: none; }

.lp-step__body {
  padding: 6px 0 40px;
}
.lp-step:last-child .lp-step__body { padding-bottom: 0; }

.lp-step__title {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--m360-text);
  margin: 0 0 10px;
}

.lp-step__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--m360-secondary);
  margin: 0;
}

.lp-steps-note {
  margin-top: 40px;
  padding: 18px 24px;
  background: var(--m360-surface);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 300;
  color: #8a9099;
  line-height: 1.6;
}
.lp-steps-note a { color: var(--m360-text); text-decoration: underline; }

/* 5. MISTAKES */
.lp-mistake-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.lp-mistake {
  background: #fff;
  border: 1px solid #e8e4dd;
  border-left: 4px solid var(--m360-accent);
  border-radius: 16px;
  padding: 28px 24px;
}

.lp-mistake__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m360-accent-dark);
  margin-bottom: 10px;
}

.lp-mistake__title {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--m360-text);
  margin: 0 0 10px;
}

.lp-mistake__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--m360-secondary);
  margin: 0;
}

.lp-mistakes-conclusion {
  background: var(--m360-text);
  border-radius: 14px;
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
}

/* 6. OFFER */
.lp-offer-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 48px;
  margin-bottom: 36px;
}

.lp-price-block {
  background: var(--m360-accent);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
  flex-shrink: 0;
}

.lp-price-block__amount {
  font-family: "Manrope", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--m360-dark-bg);
  line-height: 1;
  margin-bottom: 8px;
}

.lp-price-block__line {
  font-size: 12px;
  font-weight: 400;
  color: rgba(22,35,56,0.65);
  margin-bottom: 2px;
}

.lp-offer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.lp-offer-card {
  background: var(--m360-surface);
  border-radius: 14px;
  padding: 22px 20px;
}

.lp-offer-card__icon {
  width: 40px;
  height: 40px;
  background: var(--m360-text);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--m360-accent);
}

.lp-offer-card__title {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--m360-text);
  margin: 0 0 8px;
}

.lp-offer-card__text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--m360-secondary);
  margin: 0;
}

.lp-offer-conclusion {
  background: var(--m360-text);
  border-radius: 16px;
  padding: 28px 32px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}
.lp-offer-conclusion strong { color: var(--m360-accent); font-weight: 600; }

/* 7. RESULTS */
.lp-results-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lp-results-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}
.lp-results-text p + p { margin-top: 16px; }

.lp-results-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lp-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}

.lp-chip__icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--m360-accent-rgb),0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--m360-accent);
}

.lp-chip__text {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

/* 8. SECONDARY OFFER */
.lp-secondary {
  background: #f3f0ea;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.lp-secondary__title {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--m360-text);
  margin: 0 0 12px;
}

.lp-secondary__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--m360-secondary);
  margin: 0;
}

.lp-secondary__aside {
  text-align: center;
  flex-shrink: 0;
}

.lp-secondary__price {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--m360-text);
  white-space: nowrap;
}

.lp-secondary__label {
  font-size: 12px;
  color: #8a9099;
  margin-top: 6px;
  margin-bottom: 16px;
}

/* 9. FINAL CTA */
.lp-cta {
  color: rgba(255,255,255,0.62);
  background: var(--m360-dark-bg);
  padding: 88px 0 80px;
  text-align: center;
}

.lp-cta__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}

.lp-cta__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 540px;
  margin: 0 auto 36px;
}
.lp-cta__text p + p { margin-top: 12px; }

.lp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.lp-cta__disclaimer {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ── lp-wrap: специфичность для <p> внутри .m360-page-article ──────────────
   Цвет задаётся на родительском контейнере (color: inherit на <p>).
   Для элементов с конкретным цветом/отступом, отличающимся от родителя —
   прямые правила с нужной специфичностью (0,3,0).
   ─────────────────────────────────────────────────────────────────────────── */
.m360-page-article .lp-wrap .lp-hero__subtitle   { color: rgba(255,255,255,0.72); margin-bottom: 22px; }
.m360-page-article .lp-wrap .lp-hero__body        { color: rgba(255,255,255,0.58); margin-bottom: 36px; }
.m360-page-article .lp-wrap .lp-hero__disclaimer  { color: rgba(255,255,255,0.4); }
.m360-page-article .lp-wrap .lp-section__lead     { margin-bottom: 48px; }
.m360-page-article .lp-wrap .lp-divergence__text  { margin-bottom: 20px; }
.m360-page-article .lp-wrap .lp-cta__text         { margin: 0 auto 36px; }
.m360-page-article .lp-wrap .lp-cta__disclaimer   { margin: 0 auto; }
/* Кнопки внутри lp-wrap: сброс .m360-page-article a { color; text-decoration } */
.m360-page-article .lp-wrap .m360-btn             { text-decoration: none; }
.m360-page-article .lp-wrap .m360-btn--outline-dark { color: #fff; }

/* ============================================================
   LANDING PAGE: Автоматизация линий
   Новые компоненты (.lp-callout, .lp-task-grid, .lp-system-cols,
   .lp-phases, .lp-pricing-*, .lp-placeholder, .lp-service-*)
   ============================================================ */

/* Callout badge */
.lp-callout {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(var(--m360-accent-rgb),0.12); border: 1px solid rgba(var(--m360-accent-rgb),0.28);
  border-radius: 10px; padding: 12px 20px;
  color: var(--m360-accent); font-size: 14px; font-weight: 500;
  margin-bottom: 32px;
}
.lp-callout--light {
  background: rgba(26,33,48,0.06); border-color: var(--m360-border);
  color: var(--m360-text);
}

/* Task grid (2-col checkmark list) */
.lp-task-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-bottom: 32px;
}
.lp-task-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--m360-border);
  border-radius: 12px; padding: 16px 20px;
}
.lp-task-item__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(var(--m360-accent-rgb),0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--m360-accent-dark);
}
.lp-task-item__text {
  font-size: 14px; font-weight: 500; color: var(--m360-text); line-height: 1.4;
}

/* System 3-column grid */
.lp-system-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 32px;
}
.lp-system-col {
  background: #fff; border: 1px solid var(--m360-border);
  border-radius: 16px; padding: 28px 24px;
}
.lp-system-col--dark {
  background: var(--m360-text); border-color: var(--m360-text);
}
.lp-system-col__icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
  background: rgba(var(--m360-accent-rgb),0.1); color: var(--m360-accent-dark);
}
.lp-system-col--dark .lp-system-col__icon {
  background: rgba(var(--m360-accent-rgb),0.15); color: var(--m360-accent);
}
.lp-system-col__title {
  font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 700;
  color: var(--m360-text); margin: 0 0 14px;
}
.lp-system-col--dark .lp-system-col__title { color: #fff; }
.lp-system-col__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.lp-system-col__list li {
  font-size: 13px; font-weight: 300; line-height: 1.55;
  color: var(--m360-secondary); padding-left: 16px; position: relative;
}
.lp-system-col--dark .lp-system-col__list li { color: rgba(255,255,255,0.65); }
.lp-system-col__list li::before {
  content: "—"; position: absolute; left: 0; color: var(--m360-border);
}
.lp-system-col--dark .lp-system-col__list li::before { color: var(--m360-accent); }
.lp-system-col__note {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--m360-border);
  font-size: 13px; font-weight: 300; color: var(--m360-secondary); line-height: 1.55;
}

/* Implementation phases (3-col) */
.lp-phases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}
.lp-phase {
  background: var(--m360-surface); border-radius: 16px; padding: 28px 24px;
  position: relative;
}
.lp-phase__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--m360-text); color: var(--m360-accent);
  border-radius: 50%; font-family: "Manrope", sans-serif;
  font-size: 16px; font-weight: 800; margin-bottom: 16px;
}
.lp-phase__title {
  font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 700;
  color: var(--m360-text); margin: 0 0 14px;
}
.lp-phase__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 7px;
}
.lp-phase__list li {
  font-size: 13px; font-weight: 300; color: var(--m360-secondary);
  padding-left: 16px; position: relative; line-height: 1.5;
}
.lp-phase__list li::before {
  content: "—"; position: absolute; left: 0; color: var(--m360-border);
}
.lp-phase__note {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--m360-border);
  font-size: 12px; font-style: italic; color: var(--m360-muted);
}

/* Pricing table */
.lp-pricing-wrap {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: start; margin-top: 32px;
}
.lp-pricing-items {
  border: 1px solid var(--m360-border); border-radius: 16px;
  overflow: hidden;
}
.lp-pricing-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; gap: 24px;
  border-bottom: 1px solid var(--m360-border);
}
.lp-pricing-item:last-child { border-bottom: none; }
.lp-pricing-item__name {
  font-size: 15px; font-weight: 400; color: var(--m360-text);
}
.lp-pricing-item__price {
  font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 700;
  color: var(--m360-text); white-space: nowrap;
}
.lp-pricing-total {
  background: var(--m360-text); border-radius: 14px;
  padding: 22px 28px; margin-top: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.lp-pricing-total__label {
  font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.7);
}
.lp-pricing-total__value {
  font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 800;
  color: var(--m360-accent); white-space: nowrap;
}
.lp-pricing-note {
  margin-top: 12px; font-size: 13px; font-weight: 300;
  color: var(--m360-secondary); line-height: 1.55;
}

/* Media / photo / video placeholder */
.lp-placeholder {
  width: 100%; min-height: 320px;
  background: var(--m360-surface); border: 2px dashed var(--m360-border);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--m360-muted); font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 500;
  margin: 32px 0;
}
.lp-placeholder--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.3);
}
.lp-placeholder--video { min-height: 480px; }

/* Service band (compact info row for pricing blocks 10-11) */
.lp-service-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px;
}
.lp-service-card {
  background: var(--m360-surface); border-radius: 16px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 8px;
}
.lp-service-card__title {
  font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 700;
  color: var(--m360-text); margin: 0;
}
.lp-service-card__price {
  font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 800;
  color: var(--m360-text);
}
.lp-service-card__note {
  font-size: 13px; font-weight: 300; color: var(--m360-secondary);
  line-height: 1.55;
}

/* Responsive for new components */
@media (max-width: 960px) {
  .lp-system-cols { grid-template-columns: 1fr; }
  .lp-phases      { grid-template-columns: 1fr; }
  .lp-pricing-wrap { grid-template-columns: 1fr; }
  .lp-service-band { grid-template-columns: 1fr; }
  .lp-task-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-placeholder       { min-height: 200px; }
  .lp-placeholder--video { min-height: 300px; }
  .lp-pricing-total { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   LP GALLERY — infinite slider, center + peeking sides
   ============================================================ */

.lp-gallery {
  position: relative;
  margin: 32px 0;
  overflow: hidden;
}

.lp-gallery__track {
  display: flex;
  gap: 20px;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.lp-gallery__slide {
  flex: 0 0 72%;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.4;
  transform: scale(0.97);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.lp-gallery__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.lp-gallery__slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  background: var(--m360-surface);
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Navigation arrows */
.lp-gallery__nav {
  position: absolute;
  top: calc(50% - 36px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 3%;
  pointer-events: none;
}

.lp-gallery__btn {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--m360-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.1);
  color: var(--m360-text);
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.lp-gallery__btn:hover {
  background: var(--m360-accent);
  border-color: var(--m360-accent);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.lp-gallery__btn svg { width: 20px; height: 20px; }

/* Dark variant */
.lp-gallery--dark .lp-gallery__btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
  box-shadow: none;
}
.lp-gallery--dark .lp-gallery__btn:hover {
  background: var(--m360-accent);
  border-color: var(--m360-accent);
  color: var(--m360-text);
}

/* Dot indicators */
.lp-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.lp-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--m360-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .25s;
}
.lp-gallery__dot.is-active {
  background: var(--m360-accent);
  width: 24px;
}
.lp-gallery--dark .lp-gallery__dot            { background: rgba(255,255,255,0.25); }
.lp-gallery--dark .lp-gallery__dot.is-active  { background: var(--m360-accent); }

@media (max-width: 768px) {
  .lp-gallery__slide     { flex-basis: 85%; }
  .lp-gallery__slide img { height: 260px; }
  .lp-gallery__btn       { width: 40px; height: 40px; }
}

/* RESPONSIVE — lp-* */
@media (max-width: 960px) {
  .lp-hero__grid       { grid-template-columns: 1fr; }
  .lp-hero__visual     { display: none; }
  .lp-fit-cards        { grid-template-columns: 1fr; }
  .lp-paths            { grid-template-columns: 1fr; }
  .lp-offer-head       { grid-template-columns: 1fr; }
  .lp-offer-cards      { grid-template-columns: repeat(2, 1fr); }
  .lp-results-body     { grid-template-columns: 1fr; }
  .lp-divergence       { grid-template-columns: 1fr; }
  .lp-secondary        { grid-template-columns: 1fr; }
  .lp-mistake-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .lp-section          { padding: 56px 0; }
  .lp-hero             { padding: 56px 0 64px; }
  .lp-cta              { padding: 64px 0; }
  .lp-offer-cards      { grid-template-columns: 1fr; }
  .lp-results-chips    { grid-template-columns: 1fr 1fr; }
  .lp-hero__price-badge { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lp-hero__grid       { gap: 36px; }
  .lp-paths            { gap: 16px; }
  .lp-path             { padding: 28px 24px; }
  .lp-divergence       { padding: 28px 24px; }
  .lp-secondary        { padding: 28px 24px; }
  .lp-offer-head       { gap: 28px; }
}

/* ============================================================
   ARTICLE EMBEDDED CF7 FORM
   Стили для Contact Form 7 внутри m360-page-article.
   Светлая тема, лейблы видны, 2-колоночная сетка.
   ============================================================ */

.m360-page-article .wpcf7 {
  margin-top: 48px;
  padding: 40px 48px;
  background: #f8f8f6;
  border-radius: 16px;
  border: 1px solid #e5e5e0;
}

.m360-page-article .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 0;
}

/* Поля занимающие всю ширину */
.m360-page-article .wpcf7-form p:has([name="task"]),
.m360-page-article .wpcf7-form p:has([name="marking-status"]),
.m360-page-article .wpcf7-form p:has([name="case-review[]"]),
.m360-page-article .wpcf7-form p:has([name="consent"]),
.m360-page-article .wpcf7-form p:has([type="submit"]),
.m360-page-article .wpcf7-form .wpcf7-response-output {
  grid-column: 1 / -1;
}

/* Сбрасываем дефолтные отступы <p> */
.m360-page-article .wpcf7-form p {
  margin: 0 0 18px;
}

.m360-page-article .wpcf7 br {
  display: none;
}

/* Лейблы */
.m360-page-article .wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--m360-font-inter);
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  letter-spacing: 0.01em;
}

.m360-page-article .wpcf7-form label .wpcf7-form-control-wrap {
  display: block;
}

/* Текстовые поля */
.m360-page-article .wpcf7-form input[type="text"],
.m360-page-article .wpcf7-form input[type="tel"],
.m360-page-article .wpcf7-form input[type="email"],
.m360-page-article .wpcf7-form input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-family: var(--m360-font-inter);
  font-size: 14px;
  color: var(--m360-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.m360-page-article .wpcf7-form input[type="text"]::placeholder,
.m360-page-article .wpcf7-form input[type="tel"]::placeholder,
.m360-page-article .wpcf7-form input[type="email"]::placeholder,
.m360-page-article .wpcf7-form input[type="url"]::placeholder {
  color: #9ca3af;
}

.m360-page-article .wpcf7-form input[type="text"]:focus,
.m360-page-article .wpcf7-form input[type="tel"]:focus,
.m360-page-article .wpcf7-form input[type="email"]:focus,
.m360-page-article .wpcf7-form input[type="url"]:focus {
  outline: none;
  border-color: var(--m360-accent);
  box-shadow: 0 0 0 3px rgba(var(--m360-accent-rgb), 0.18);
}

/* Select */
.m360-page-article .wpcf7-form select {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  padding: 0 36px 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--m360-font-inter);
  font-size: 14px;
  color: var(--m360-text);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.m360-page-article .wpcf7-form select:focus {
  outline: none;
  border-color: var(--m360-accent);
  box-shadow: 0 0 0 3px rgba(var(--m360-accent-rgb), 0.18);
}

/* Textarea */
.m360-page-article .wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-family: var(--m360-font-inter);
  font-size: 14px;
  color: var(--m360-text);
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.m360-page-article .wpcf7-form textarea::placeholder {
  color: #9ca3af;
}

.m360-page-article .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--m360-accent);
  box-shadow: 0 0 0 3px rgba(var(--m360-accent-rgb), 0.18);
}

/* Чекбоксы */
.m360-page-article .wpcf7-form .wpcf7-list-item {
  display: block;
  margin: 0;
}

.m360-page-article .wpcf7-form .wpcf7-list-item label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
}

.m360-page-article .wpcf7-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.m360-page-article .wpcf7-form input[type="checkbox"]:checked {
  background-color: var(--m360-accent);
  border-color: var(--m360-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%2310223d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

/* Кнопка отправки */
.m360-page-article .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 40px;
  border: none;
  border-radius: 999px;
  background: var(--m360-accent);
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s ease, filter 0.16s ease;
}

.m360-page-article .wpcf7-form input[type="submit"]:hover {
  background: var(--m360-accent-dark);
}

/* Ошибки валидации */
.m360-page-article .wpcf7-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #dc2626;
}

.m360-page-article .wpcf7-form input.wpcf7-not-valid,
.m360-page-article .wpcf7-form textarea.wpcf7-not-valid,
.m360-page-article .wpcf7-form select.wpcf7-not-valid {
  border-color: #dc2626;
}

/* Ответ формы */
.m360-page-article .wpcf7-form .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  border-width: 1px;
}

/* Мобайл — одна колонка */
@media (max-width: 640px) {
  .m360-page-article .wpcf7 {
    padding: 28px 20px;
  }

  .m360-page-article .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .m360-page-article .wpcf7-form p:has([name="task"]),
  .m360-page-article .wpcf7-form p:has([name="marking-status"]),
  .m360-page-article .wpcf7-form p:has([name="case-review[]"]),
  .m360-page-article .wpcf7-form p:has([name="consent"]),
  .m360-page-article .wpcf7-form p:has([type="submit"]) {
    grid-column: 1;
  }
}

/* Карточки продуктов с фото оборудования */
.m360-audience-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
}

.m360-audience-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.m360-audience-card__media--contain {
  background: #fff;
}

.m360-content .m360-audience-card__media--contain img {
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
}

.m360-content .m360-audience-card__text:not(:last-child) {
  margin-bottom: 20px;
}

.m360-audience-card__btn {
  margin-top: auto;
  align-self: center;
}

/* Компактное фото в интро станции (исходник меньше колонки) */
.m360-content .m360-station-intro__media--compact img {
  max-width: 320px;
}

@media (max-width: 1100px) {
  .m360-audience-grid--cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .m360-audience-grid--cols-2,
  .m360-audience-grid--cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Карточки «почему» на 2 и 4 колонки */
.m360-why-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.m360-why-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Сетка сценариев по центру — когда карточек меньше трёх */
.m360-scenarios-grid--center {
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
}

/* Цена в карточке сценария */
.m360-content .m360-scenario-card__price {
  margin: 0 0 14px;
  text-align: center;
  color: #2c3644;
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .m360-why-grid--cols-2,
  .m360-why-grid--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .m360-why-grid--cols-2,
  .m360-why-grid--cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Сведения об организации (реквизиты для IT-аккредитации) */
.m360-requisites {
  padding: 120px 0;
  background: var(--m360-surface);
}

.m360-requisites__container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.m360-content .m360-requisites__title {
  margin: 0 0 40px;
  text-align: center;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.3;
}

.m360-requisites .wp-block-table {
  margin: 0;
}

.m360-requisites table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--m360-font-inter);
  font-size: 14px;
  line-height: 1.55;
}

.m360-requisites td {
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid #e6e4dd;
  vertical-align: top;
  color: #2c3644;
}

.m360-requisites td:first-child {
  width: 34%;
  color: var(--m360-secondary);
}

/* Кейсы: карточки «задача — решение — результат» */
.m360-cases {
  padding: 96px 0;
  background: #fff;
}

.m360-cases__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.m360-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.m360-case {
  background: var(--m360-surface);
  border-radius: 24px;
  padding: 40px 36px;
}

.m360-content .m360-case__tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff3b0;
  color: #2c3644;
  font-family: var(--m360-font-inter);
  font-size: 13px;
  line-height: 1.3;
}

.m360-content .m360-case__title {
  margin: 0 0 24px;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
}

.m360-case__facts {
  margin: 0;
}

.m360-content .m360-case__facts dt {
  margin: 0 0 6px;
  color: var(--m360-secondary);
  font-family: var(--m360-font-inter);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.m360-content .m360-case__facts dd {
  margin: 0 0 18px;
  color: #2c3644;
  font-family: var(--m360-font-inter);
  font-size: 15px;
  line-height: 1.6;
}

.m360-content .m360-case__facts dd:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .m360-cases__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .m360-cases {
    padding: 56px 0;
  }

  .m360-case {
    padding: 28px 22px;
  }

  .m360-content .m360-case__title {
    font-size: 22px;
  }
}

/* Текст документов (политика конфиденциальности) */
.m360-content .m360-policy h2 {
  margin: 40px 0 14px;
  color: var(--m360-dark-bg);
  font-family: "Manrope", var(--m360-font-sans);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
}

.m360-content .m360-policy h2:first-child {
  margin-top: 0;
}

.m360-content .m360-policy p,
.m360-content .m360-policy li {
  color: #2c3644;
  font-family: var(--m360-font-inter);
  font-size: 16px;
  line-height: 1.65;
}

.m360-content .m360-policy p {
  margin: 0 0 12px;
}

.m360-content .m360-policy ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

@media (max-width: 1100px) {
  .m360-content .m360-requisites__title {
    font-size: 40px;
  }
}

@media (max-width: 600px) {
  .m360-requisites {
    padding: 64px 0;
  }

  .m360-content .m360-requisites__title {
    font-size: 32px;
  }

  .m360-requisites td {
    display: block;
    width: auto;
    padding: 4px 0 14px;
  }

  .m360-requisites td:first-child {
    width: auto;
    padding: 14px 0 0;
    border-bottom: 0;
  }
}

/* Шапка на совсем узких экранах (320–360 px) — ещё компактнее.
   Стоит после мобильного блока шапки (900px), чтобы перебить его. */
@media (max-width: 360px) {
  .site-logo img {
    height: 30px;
  }

  .site-header-cta.m360-btn {
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: 0;
  }

  /* Длинные слова вроде «управленческие» не влезают в 320 px при 32px */
  .m360-content .m360-cz-block__title {
    font-size: 26px;
    overflow-wrap: break-word;
  }

  /* «Перепроизводство», «Производительность» в заголовках шагов */
  .m360-content .m360-cz-step__title {
    font-size: 20px;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Одна колонка шагов на мобильном не должна раздуваться самым длинным словом */
@media (max-width: 900px) {
  .m360-cz-block__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Длинные слова в заголовках карточек не должны распирать карточку */
.m360-content .m360-scenario-card__title {
  overflow-wrap: break-word;
}

/* Мобильный: длинные кнопки в контенте переносятся, а не вылезают за экран */
@media (max-width: 600px) {
  .m360-page-article .m360-btn {
    max-width: 100%;
    height: auto;
    white-space: normal;
    text-align: center;
  }
}


