/* Водяной знак: название студии крупным Druk на заднем плане.
   Рисуем через content псевдоэлемента, а не текстом в разметке — почти
   невидимый текст в HTML поисковик может счесть скрытым. */
.mn-hero > .mn-wrap { position: relative; z-index: 1; }
.mn-hero > .mn-wrap::before {
    content: "MONADE";
    position: absolute; left: -2px; top: -78px;
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: clamp(90px, 15vw, 232px); line-height: .84;
    letter-spacing: -.02em; white-space: nowrap;
    color: rgba(255, 255, 255, .04);
    pointer-events: none; user-select: none; z-index: -1;
}
.mn-section--paper.mn-hero > .mn-wrap::before { color: rgba(11, 11, 15, .05); }/* ==========================================================================
   MONADE — тёмный премиум, 08.09.2026.
   Направление выбрано после разбора конкурентов: у Double24, Kineiro и AI SMM
   работает связка «тёмный фон + один электрический акцент». Красный и Druk Text
   Wide уже наши и никем в нише не заняты — на них и строим.

   Графика генеративная (градиенты, сетка, шум): фотографий у агентства почти
   нет, а вес страницы важен для скорости.

   Тексты не трогаем: разметку собирает inc/render.php из lp-data.php,
   здесь только оформление.
   ========================================================================== */

:root {
    /* Фон и поверхности */
    --mn-void: #0b0b0f;
    --mn-surface: #141419;
    --mn-surface-2: #1b1b22;
    --mn-line: rgba(255, 255, 255, .10);
    --mn-line-soft: rgba(255, 255, 255, .06);

    /* Акцент */
    --mn-red: #ff2d2d;
    --mn-red-deep: #c4121f;
    --mn-glow: rgba(255, 45, 45, .38);

    /* Текст */
    --mn-white: #fff;
    --mn-mute: rgba(255, 255, 255, .72);
    --mn-faint: rgba(255, 255, 255, .60);

    /* Светлые острова для длинных текстов */
    --mn-paper: #f4f4f6;
    --mn-ink: #0b0b0f;
    --mn-ink-mute: #5c5c68;

    --mn-width: 1180px;
    --mn-gap: 22px;
    --mn-radius: 20px;
    --mn-radius-sm: 14px;
    --mn-section-y: 104px;

    /* Шум поверх градиентов — убирает «пластиковость» заливок */
    --mn-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--mn-void);
    color: var(--mn-white);
    font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--mn-white); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--mn-red); color: #fff; }

/* ---------- Типографика ---------- */

h1, h2 {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.005em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h3, h4, h5 {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(27px, 4.2vw, 44px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); }
h4, h5 { font-size: 17px; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong, b { font-weight: 700; }

/* ---------- Каркас ---------- */

.mn-wrap { max-width: var(--mn-width); margin: 0 auto; padding: 0 22px; }

.mn-section { padding: var(--mn-section-y) 0; position: relative; }

/* Тонкая светящаяся линия между тёмными секциями вместо жёсткой границы */
.mn-section + .mn-section::before {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--mn-line), transparent);
}

/* Светлый остров — для секций с длинным текстом, читать тёмное полотно тяжело */
.mn-section--paper {
    background: var(--mn-paper);
    color: var(--mn-ink);
}
.mn-section--paper::before { display: none; }
.mn-section--paper a { color: var(--mn-ink); text-decoration: underline; text-decoration-color: var(--mn-red); text-underline-offset: 3px; }
.mn-section--paper h2, .mn-section--paper h3 { color: var(--mn-ink); }
.mn-section--paper .mn-card { background: #fff; border-color: rgba(11, 11, 15, .09); }
.mn-section--paper .mn-card:hover { border-color: rgba(11, 11, 15, .2); box-shadow: 0 16px 40px rgba(11, 11, 15, .09); }
.mn-section--paper .mn-stat__label,
.mn-section--paper .mn-card__note { color: var(--mn-ink-mute); }
.mn-section--paper .mn-faq details { background: #fff; border-color: rgba(11, 11, 15, .09); }
.mn-section--paper .mn-form,
.mn-section--paper .mn-plan,
.mn-section--paper .mn-founder,
.mn-section--paper .mn-calc { background: #fff; border-color: rgba(11, 11, 15, .09); }
.mn-section--paper .mn-form input,
.mn-section--paper .mn-form textarea { background: #fff; color: var(--mn-ink); border-color: rgba(11, 11, 15, .16); }
.mn-section--paper .mn-form input::placeholder { color: #8a8a96; }

/* Приподнятая тёмная секция — на пару тонов светлее фона */
.mn-section--raised { background: var(--mn-surface); }
.mn-section--raised::before { display: none; }

/* Финальный призыв — красный градиент во всю ширину */
.mn-section--cta {
    background:
        radial-gradient(120% 140% at 15% 0%, rgba(255, 45, 45, .5) 0%, transparent 55%),
        radial-gradient(100% 120% at 90% 100%, rgba(33, 33, 235, .32) 0%, transparent 60%),
        var(--mn-surface);
}
.mn-section--cta::before { display: none; }
.mn-section--cta::after {
    content: ""; position: absolute; inset: 0;
    background: var(--mn-noise); pointer-events: none;
}
.mn-section--cta > .mn-wrap { position: relative; z-index: 1; }

/* Совместимость со старыми классами */
.mn-section--dark, .mn-section--alt { background: var(--mn-surface); }
.mn-section--dark::before, .mn-section--alt::before { display: none; }

/* ---------- Первый экран ---------- */

.mn-hero {
    position: relative;
    padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 8vw, 104px);
    overflow: hidden;
}
.mn-hero::before {
    content: "";
    position: absolute; top: -30%; left: -10%; right: -10%; height: 120%;
    background:
        radial-gradient(46% 52% at 18% 22%, var(--mn-glow) 0%, transparent 62%),
        radial-gradient(40% 46% at 82% 8%, rgba(33, 33, 235, .34) 0%, transparent 60%);
    filter: blur(10px);
    pointer-events: none;
}
/* Сетка — намёк на систему и аналитику, о которых говорит агентство */
.mn-hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(var(--mn-line-soft) 1px, transparent 1px) 0 0 / 100% 78px,
        linear-gradient(90deg, var(--mn-line-soft) 1px, transparent 1px) 0 0 / 78px 100%,
        var(--mn-noise);
    -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
    mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
    pointer-events: none;
}
.mn-hero > .mn-wrap { position: relative; z-index: 1; }
.mn-hero h1 { max-width: 17ch; margin-bottom: .38em; }
.mn-hero .mn-text { font-size: clamp(18px, 2vw, 21px); color: var(--mn-mute); max-width: 62ch; }
.mn-hero__lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 62ch; color: var(--mn-mute); }

/* Надзаголовок секции — задаётся рендерером, не текстом страницы */
.mn-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--mn-faint);
    margin: 0 0 18px;
}
.mn-eyebrow::before {
    content: ""; width: 26px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--mn-red), transparent);
}
.mn-section--paper .mn-eyebrow { color: var(--mn-ink-mute); }

/* ---------- Кнопки ---------- */

a.mn-btn, button.mn-btn, .mn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 30px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--mn-red), var(--mn-red-deep));
    color: #fff;
    font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
    border: 0; cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 45, 45, .28);
    transition: transform .16s ease, box-shadow .16s ease;
}
.mn-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255, 45, 45, .4); }
.mn-btn:active { transform: translateY(0); }

.mn-btn--ghost {
    background: transparent; color: var(--mn-white);
    border: 1px solid var(--mn-line); box-shadow: none;
}
.mn-btn--ghost:hover { border-color: rgba(255, 255, 255, .34); box-shadow: none; background: rgba(255, 255, 255, .04); }
.mn-section--paper .mn-btn--ghost { color: var(--mn-ink); border-color: rgba(11, 11, 15, .2); }
.mn-section--paper .mn-btn--ghost:hover { background: rgba(11, 11, 15, .04); }

.mn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }

/* ---------- Цифры ---------- */

.mn-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--mn-gap); margin: 40px 0;
}
.mn-stat { position: relative; padding-top: 18px; }
.mn-stat::before {
    content: ""; position: absolute; top: 0; left: 0; width: 34px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--mn-red), var(--mn-red-deep));
}
.mn-stat__num {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1; margin: 0 0 8px;
    background: linear-gradient(180deg, #fff 20%, rgba(255, 255, 255, .6));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mn-section--paper .mn-stat__num { background: linear-gradient(180deg, #0b0b0f 30%, #4a4a56); -webkit-background-clip: text; background-clip: text; }
.mn-stat__label { font-size: 14px; line-height: 1.4; color: var(--mn-mute); margin: 0; }

/* ---------- Карточки ---------- */

.mn-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--mn-gap); margin: 36px 0; }
.mn-card {
    background: var(--mn-surface-2);
    border: 1px solid var(--mn-line-soft);
    border-radius: var(--mn-radius);
    padding: 28px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mn-card:hover { transform: translateY(-3px); border-color: rgba(255, 45, 45, .38); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.mn-card h3 { font-size: 19px; margin-bottom: .6em; }
.mn-card h3 a:hover { color: var(--mn-red); text-decoration: none; }
.mn-card p:last-child, .mn-card div:last-child { margin-bottom: 0; }
.mn-card__note { font-size: 14px; color: var(--mn-mute); }
.mn-section--raised .mn-card { background: #202028; }

/* Нумерация карточек-этапов */
.mn-cards--steps { counter-reset: step; }
.mn-cards--steps .mn-card { counter-increment: step; position: relative; padding-top: 36px; }
.mn-cards--steps .mn-card::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; top: 22px; right: 26px;
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: 30px; line-height: 1; color: rgba(255, 45, 45, .3);
}

/* ---------- Маркированные списки ---------- */

.mn-list { list-style: none; padding: 0; }
.mn-list li { position: relative; padding-left: 30px; }
.mn-list li::before {
    content: ""; position: absolute; left: 2px; top: .62em;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--mn-red);
    box-shadow: 0 0 0 4px rgba(255, 45, 45, .16);
}

/* ---------- Тарифы ---------- */

.mn-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: var(--mn-gap); margin: 40px 0; }
.mn-plan {
    background: var(--mn-surface-2);
    border: 1px solid var(--mn-line-soft);
    border-radius: var(--mn-radius);
    padding: 30px 28px;
    display: flex; flex-direction: column;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mn-plan:hover { transform: translateY(-3px); border-color: rgba(255, 45, 45, .34); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.mn-plan__name {
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--mn-faint); margin: 0 0 14px;
}
.mn-section--paper .mn-plan__name { color: var(--mn-ink-mute); }
.mn-plan__price {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: clamp(26px, 3vw, 33px); line-height: 1;
    margin: 0 0 22px; color: var(--mn-white);
}
.mn-section--paper .mn-plan__price { color: var(--mn-ink); }
.mn-plan ul { margin: 0 0 24px; }
.mn-plan .mn-list li { font-size: 15px; }
.mn-plan .mn-btn { margin-top: auto; width: 100%; }

/* Рекомендуемый пакет */
.mn-plan--featured {
    border-color: rgba(255, 45, 45, .5);
    background:
        radial-gradient(120% 100% at 50% 0%, rgba(255, 45, 45, .16) 0%, transparent 60%),
        var(--mn-surface-2);
    position: relative;
}
.mn-plan--featured::after {
    content: attr(data-badge);
    position: absolute; top: -11px; left: 28px;
    background: linear-gradient(135deg, var(--mn-red), var(--mn-red-deep));
    color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 100px;
}
.mn-section--paper .mn-plan--featured { background: radial-gradient(120% 100% at 50% 0%, rgba(255, 45, 45, .1) 0%, transparent 60%), #fff; }

/* ---------- Аккордеон ---------- */

.mn-faq { margin: 36px 0; display: grid; gap: 12px; }
.mn-faq details {
    background: var(--mn-surface-2);
    border: 1px solid var(--mn-line-soft);
    border-radius: var(--mn-radius-sm);
    padding: 20px 24px;
    transition: border-color .18s ease;
}
.mn-faq details[open] { border-color: rgba(255, 45, 45, .34); }
.mn-faq summary {
    cursor: pointer; font-weight: 700; list-style: none;
    display: flex; align-items: flex-start; gap: 16px;
}
.mn-faq summary::-webkit-details-marker { display: none; }
.mn-faq summary::after {
    content: "+"; margin-left: auto; flex: none;
    color: var(--mn-red); font-size: 24px; line-height: 1;
    transition: transform .18s ease;
}
.mn-faq details[open] summary::after { transform: rotate(45deg); }
.mn-faq details > *:not(summary) { margin-top: 14px; color: var(--mn-mute); }
.mn-section--paper .mn-faq details > *:not(summary) { color: var(--mn-ink-mute); }

/* ---------- Шапка ---------- */

.mn-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 11, 15, .78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--mn-line-soft);
}
.mn-header__inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.mn-logo {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: 21px; color: var(--mn-white); letter-spacing: .06em;
}
.mn-logo:hover { text-decoration: none; color: var(--mn-red); }

.mn-nav { margin-left: auto; }
.mn-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.mn-nav li { margin: 0; position: relative; }
.mn-nav a { color: var(--mn-mute); font-size: 15px; font-weight: 500; }
.mn-nav a:hover { color: var(--mn-white); text-decoration: none; }
.mn-nav .sub-menu {
    display: none; position: absolute; left: 0; top: 100%;
    background: var(--mn-surface-2); border: 1px solid var(--mn-line);
    border-radius: var(--mn-radius-sm); padding: 14px;
    min-width: 270px; flex-direction: column; gap: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}
.mn-nav li:hover > .sub-menu, .mn-nav li:focus-within > .sub-menu { display: flex; }

.mn-burger { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--mn-white); }

@media (max-width: 900px) {
    .mn-burger { display: block; }
    .mn-nav { display: none; margin: 0; width: 100%; }
    .mn-nav.is-open { display: block; }
    .mn-header__inner { flex-wrap: wrap; padding-bottom: 14px; }
    .mn-nav ul { flex-direction: column; gap: 14px; }
    .mn-nav .sub-menu { display: flex; position: static; box-shadow: none; padding: 8px 0 8px 16px; min-width: 0; background: none; border: 0; }
}

/* ---------- Хлебные крошки ---------- */

.mn-crumbs { font-size: 13px; color: var(--mn-faint); padding: 20px 0 0; }
.mn-crumbs a { color: var(--mn-faint); }
.mn-crumbs a:hover { color: var(--mn-white); }

/* ---------- Подвал ---------- */

.mn-footer {
    background: var(--mn-void);
    border-top: 1px solid var(--mn-line-soft);
    color: var(--mn-white); padding: 68px 0 30px; margin-top: 0;
}
.mn-footer a { color: var(--mn-mute); }
.mn-footer a:hover { color: var(--mn-white); }
.mn-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 34px; }
.mn-footer__title { margin: 0 0 14px; font-weight: 700; color: var(--mn-white); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.mn-footer ul { list-style: none; padding: 0; }
.mn-footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--mn-line-soft); font-size: 13px; color: var(--mn-faint); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.mn-footer__legal { margin: 28px 0 0; font-size: 12px; color: var(--mn-faint); }
.mn-alliance { text-align: center; padding: 16px 10px; font-size: 13px; color: var(--mn-faint); }
.mn-alliance a { color: var(--mn-mute); }

/* ---------- Форма ---------- */

.mn-form {
    background: var(--mn-surface-2);
    border: 1px solid var(--mn-line);
    border-radius: var(--mn-radius);
    padding: 30px; max-width: 540px;
}
.mn-form input[type="text"], .mn-form input[type="tel"], .mn-form input[type="email"], .mn-form textarea {
    width: 100%; padding: 15px 18px; margin-bottom: 12px;
    border: 1px solid var(--mn-line); border-radius: 12px;
    font: inherit; font-size: 16px;
    background: rgba(255, 255, 255, .04); color: var(--mn-white);
}
.mn-form input::placeholder, .mn-form textarea::placeholder { color: var(--mn-faint); }
.mn-form input:focus, .mn-form textarea:focus { outline: 2px solid var(--mn-red); outline-offset: 1px; border-color: transparent; }
.mn-form .wpcf7-list-item { margin: 0; }
.mn-form .wpcf7-acceptance .wpcf7-list-item-label { font-size: 13px; color: var(--mn-faint); }
.mn-section--paper .mn-form .wpcf7-acceptance .wpcf7-list-item-label { color: var(--mn-ink-mute); }
.mn-form input[type="checkbox"] { width: auto; accent-color: var(--mn-red); margin-right: 8px; }
.mn-form input[type="submit"] {
    width: 100%; margin-top: 6px; padding: 16px 30px;
    border: 0; border-radius: 100px; cursor: pointer;
    background: linear-gradient(135deg, var(--mn-red), var(--mn-red-deep));
    color: #fff; font: inherit; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
    box-shadow: 0 10px 30px rgba(255, 45, 45, .28);
    transition: transform .16s ease;
}
.mn-form input[type="submit"]:hover { transform: translateY(-2px); }
.wpcf7-response-output { border-radius: 12px; font-size: 14px; }

/* ---------- Кейсы, основатель, инфографика ---------- */

.mn-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 32px 0 40px; }
@media (max-width: 800px) { .mn-case { grid-template-columns: 1fr; } .mn-case--rev figure { order: -1; } }
.mn-case figure { margin: 0; }
.mn-case img { width: 100%; border-radius: var(--mn-radius); border: 1px solid var(--mn-line-soft); }
.mn-case h3 { font-size: 21px; margin: 0 0 12px; }
.mn-case__niche { margin-top: -8px; color: var(--mn-mute); }

.mn-case-card img { width: 100%; border-radius: var(--mn-radius-sm); margin-bottom: 18px; }
.mn-case-card__nums { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 14px; font-size: 14px; color: var(--mn-mute); }
.mn-case-card__nums b { font-family: "Druk Text Wide", Montserrat, sans-serif; font-size: 21px; color: var(--mn-red); margin-right: 6px; }

.mn-founder {
    display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 30px; align-items: start;
    background: var(--mn-surface-2); border: 1px solid var(--mn-line-soft);
    border-radius: var(--mn-radius); padding: 30px; margin: 28px 0;
}
@media (max-width: 640px) { .mn-founder { grid-template-columns: 1fr; } }
.mn-founder__avatar {
    width: 128px; height: 128px; border-radius: 50%;
    background: linear-gradient(135deg, var(--mn-red), var(--mn-red-deep));
    color: #fff; display: grid; place-items: center;
    font: 700 36px Montserrat, sans-serif;
    box-shadow: 0 12px 34px rgba(255, 45, 45, .3);
}
.mn-founder h3 { font-size: 23px; margin: 0 0 4px; }
.mn-founder h4 { font-size: 16px; margin: 20px 0 8px; color: var(--mn-mute); }
.mn-section--paper .mn-founder h4 { color: var(--mn-ink-mute); }
.mn-founder p:last-child { margin-bottom: 0; }

.mn-fig { margin: 28px 0; }
.mn-fig img { width: 100%; border-radius: var(--mn-radius); border: 1px solid var(--mn-line-soft); }
.mn-fig figcaption { font-size: 13px; color: var(--mn-faint); margin-top: 10px; }
.mn-section--paper .mn-fig figcaption { color: var(--mn-ink-mute); }

/* ---------- Калькулятор ---------- */

.mn-calc {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px;
    background: var(--mn-surface-2); border: 1px solid var(--mn-line-soft);
    border-radius: var(--mn-radius); padding: 30px; margin: 28px 0;
}
@media (max-width: 800px) { .mn-calc { grid-template-columns: 1fr; } }
.mn-calc__label { font-weight: 700; margin: 0 0 10px; }
.mn-calc__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.mn-calc__pills label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 16px; border: 1px solid var(--mn-line); border-radius: 100px;
    cursor: pointer; font-size: 15px; transition: border-color .15s ease, background .15s ease;
}
.mn-calc__pills label:hover { border-color: rgba(255, 45, 45, .45); }
.mn-calc__pills input { accent-color: var(--mn-red); width: 18px; height: 18px; }
.mn-section--paper .mn-calc__pills label { border-color: rgba(11, 11, 15, .16); }
.mn-calc__result {
    background: linear-gradient(150deg, rgba(255, 45, 45, .18), transparent 60%), var(--mn-void);
    border: 1px solid var(--mn-line);
    border-radius: var(--mn-radius); padding: 26px; color: var(--mn-white);
}
.mn-calc__name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mn-faint); margin: 0 0 8px; }
.mn-calc__price { font-family: "Druk Text Wide", Montserrat, sans-serif; font-size: 32px; margin: 0 0 16px; color: #fff; }
.mn-calc__list { padding: 0; list-style: none; }
.mn-calc__list li { position: relative; padding-left: 26px; color: var(--mn-mute); font-size: 15px; }
.mn-calc__list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--mn-red); }
.mn-calc__note { font-size: 13px; color: var(--mn-faint); }
.mn-calc__cta { margin-top: 10px; display: inline-flex; }

/* ---------- Мелочи ---------- */

.mn-text > *:last-child { margin-bottom: 0; }
.mn-text a { color: var(--mn-white); text-decoration: underline; text-decoration-color: var(--mn-red); text-underline-offset: 3px; }
.mn-section--paper .mn-text { color: #2a2a33; }
.mn-section--paper .mn-text a { color: var(--mn-ink); }
.mn-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin: 32px 0; }
.mn-gallery img { border-radius: var(--mn-radius-sm); border: 1px solid var(--mn-line-soft); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (max-width: 600px) {
    body { font-size: 16px; }
    :root { --mn-section-y: 64px; --mn-gap: 16px; }
    .mn-card, .mn-plan, .mn-form, .mn-calc, .mn-founder { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 08.09.2026: компоновка блоков ---------- */

/* Пронумерованные пункты. Метка мелкая в углу карточки: раньше «1» печаталась
   как показатель во всю высоту строки, а пояснение уезжало отдельным абзацем. */
.mn-cards--marked .mn-card { position: relative; padding-top: 34px; }
.mn-card__marker {
    position: absolute; top: 22px; right: 26px; margin: 0;
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: 30px; line-height: 1; color: rgba(255, 45, 45, .32);
    font-variant-numeric: tabular-nums;
}
.mn-cards--marked .mn-card h3 { padding-right: 54px; }
.mn-cards--marked .mn-card > div { color: var(--mn-mute); }
.mn-section--paper .mn-cards--marked .mn-card > div { color: var(--mn-ink-mute); }

/* Секция с формой: предложение слева, форма справа и прилипает при прокрутке. */
.mn-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 44px; align-items: start; }
.mn-split__side { position: sticky; top: 100px; }
.mn-split__side .mn-form { max-width: none; }
@media (max-width: 900px) {
    .mn-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .mn-split__side { position: static; }
}

/* ---------- Оглавление страницы ---------- */
/* Липкая полоса под шапкой: на страницах услуг по 10-15 секций,
   без навигации читатель не понимает, сколько ещё впереди. */
.mn-toc {
    position: sticky; top: 74px; z-index: 40;
    background: rgba(11, 11, 15, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--mn-line-soft);
}
.mn-toc ul {
    display: flex; gap: 8px; margin: 0; padding: 12px 22px;
    list-style: none; overflow-x: auto; scrollbar-width: none;
    max-width: calc(var(--mn-width) + 44px); margin-inline: auto;
}
.mn-toc ul::-webkit-scrollbar { display: none; }
.mn-toc li { margin: 0; flex: none; }
.mn-toc a {
    display: block; padding: 8px 15px; border-radius: 100px;
    border: 1px solid var(--mn-line-soft);
    font-size: 13px; font-weight: 500; color: var(--mn-mute); white-space: nowrap;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.mn-toc a:hover { color: var(--mn-white); border-color: var(--mn-line); text-decoration: none; }
.mn-toc a.is-current { color: #fff; border-color: rgba(255, 45, 45, .55); background: rgba(255, 45, 45, .12); }
@media (max-width: 900px) { .mn-toc { top: 0; } }

/* Якорь не должен уезжать под липкие панели */
section[id] { scroll-margin-top: 140px; }

/* ---------- Тарифы: не больше трёх в ряд ---------- */
/* Пять карточек в ряд на десктопе сжимались до нечитаемых колонок. */
.mn-plans {
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    max-width: 1000px;
}
.mn-plans:has(.mn-plan:nth-child(4)) { max-width: none; }
@media (min-width: 1000px) {
    .mn-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: center; }
}

/* ---------- Полоса показателей ---------- */
/* Отдельная секция только с цифрами читается как факт-полоса, а не как сетка. */
.mn-section > .mn-wrap > .mn-stats:only-child {
    margin: 0; padding: 6px 0;
    border-top: 1px solid var(--mn-line-soft); border-bottom: 1px solid var(--mn-line-soft);
}
.mn-stats { font-variant-numeric: tabular-nums; }

/* ---------- Кейсы крупными панелями ---------- */
.mn-case {
    gap: 44px; padding: 30px; margin: 24px 0;
    background: var(--mn-surface-2); border: 1px solid var(--mn-line-soft); border-radius: var(--mn-radius);
}
.mn-section--paper .mn-case { background: #fff; border-color: rgba(11, 11, 15, .09); }
.mn-case img { border-radius: var(--mn-radius-sm); }
.mn-case h3 { font-size: clamp(20px, 2.4vw, 25px); }

/* ---------- Липкая кнопка заявки ---------- */
.mn-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
    background: rgba(11, 11, 15, .92); backdrop-filter: blur(14px);
    border-top: 1px solid var(--mn-line-soft);
    transform: translateY(110%); transition: transform .22s ease;
    display: none;
}
.mn-sticky-cta.is-visible { transform: translateY(0); }
.mn-sticky-cta .mn-btn { width: 100%; }
@media (max-width: 900px) { .mn-sticky-cta { display: block; } }

/* ---------- Статья блога ---------- */
/* Текст статьи шёл во всю ширину контейнера — вдвое шире комфортной строки.
   Слева оглавление, справа колонка чтения. */
.mn-article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.mn-article__body { max-width: 60ch; font-size: 18px; line-height: 1.72; }
.mn-article__toc { position: sticky; top: 110px; }
.mn-article__toc p {
    font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--mn-faint); margin: 0 0 14px;
}
.mn-article__toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.mn-article__toc li { margin: 0; }
.mn-article__toc a {
    display: block; padding: 7px 12px 7px 14px; border-left: 2px solid var(--mn-line-soft);
    font-size: 14px; line-height: 1.35; color: var(--mn-mute);
    transition: color .15s ease, border-color .15s ease;
}
.mn-article__toc a:hover { color: var(--mn-white); text-decoration: none; border-left-color: var(--mn-line); }
.mn-article__toc a.is-current { color: #fff; border-left-color: var(--mn-red); }

.mn-article__body h2 { font-size: clamp(24px, 3vw, 33px); margin: 2em 0 .6em; scroll-margin-top: 150px; }
.mn-article__body h2:first-child { margin-top: 0; }
.mn-article__body h3 { margin: 1.6em 0 .5em; }
.mn-article__body ul, .mn-article__body ol { padding-left: 1.3em; }
.mn-article__body li { margin-bottom: .6em; }
.mn-article__body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.6em 0; }
.mn-article__body th, .mn-article__body td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--mn-line-soft); }
.mn-article__body th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mn-faint); background: var(--mn-surface); }
.mn-article__body td { font-variant-numeric: tabular-nums; }
.mn-article__body :where(table) { display: block; overflow-x: auto; }
.mn-article__body img { border-radius: var(--mn-radius-sm); margin: 1.6em 0; }
.mn-article__body blockquote {
    margin: 1.6em 0; padding: 4px 0 4px 22px;
    border-left: 3px solid var(--mn-red); color: var(--mn-white); font-size: 19px;
}

@media (max-width: 1040px) {
    .mn-article { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .mn-article__toc { position: static; }
    .mn-article__toc ol { flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .mn-article__toc ol::-webkit-scrollbar { display: none; }
    .mn-article__toc li { flex: none; }
    .mn-article__toc a { white-space: nowrap; }
    .mn-article__toc a { border-left: 0; border: 1px solid var(--mn-line-soft); border-radius: 100px; padding: 8px 14px; font-size: 13px; }
    .mn-article__toc a.is-current { border-color: rgba(255, 45, 45, .55); background: rgba(255, 45, 45, .12); }
    .mn-article__body { max-width: none; }
}

/* Липкая панель не должна расширять документ: длинная подпись переносится. */
.mn-sticky-cta { width: 100%; max-width: 100vw; overflow: hidden; }
.mn-sticky-cta .mn-btn {
    width: 100%; max-width: 100%;
    padding-left: 16px; padding-right: 16px;
    text-align: center; white-space: normal; line-height: 1.25;
}

/* таблица контент-плана (круг 4) */
.mn-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0 24px; display: block; overflow-x: auto; }
.mn-table th, .mn-table td { border: 1px solid rgba(26,26,26,.12); padding: 8px 10px; text-align: left; vertical-align: top; }
.mn-table th { font-family: Montserrat, sans-serif; font-weight: 600; background: rgba(26,26,26,.04); }

/* ---------- Аудит 08.09.2026: зоны нажатия ---------- */
/* Норма 44×44. Логотип был 109×34, бургер 35×28, чипсы оглавления 39px по высоте. */
.mn-logo { display: inline-flex; align-items: center; min-height: 44px; }
.mn-burger { min-width: 44px; min-height: 44px; display: none; align-items: center; justify-content: center; }
@media (max-width: 900px) { .mn-burger { display: inline-flex; } }

@media (max-width: 900px) {
    .mn-nav a { display: block; min-height: 44px; line-height: 44px; }
    .mn-footer a { display: inline-block; min-height: 44px; line-height: 44px; }
    .mn-toc a { min-height: 44px; display: flex; align-items: center; }
    .mn-crumbs a { display: inline-block; padding: 6px 0; }
}

/* Текущий пункт меню виден не только по цвету */
.mn-nav a[aria-current="page"] { color: var(--mn-white); }
.mn-nav a[aria-current="page"]::after {
    content: ""; display: block; height: 2px; border-radius: 2px;
    background: var(--mn-red); margin-top: 4px;
}

/* Надзаголовок остался как ритмическая риска — без пустой строки текста */
/* Надзаголовок без текста остаётся флексом: при display:block его ::before
   становился инлайном, а инлайн игнорирует ширину и высоту — красная риска
   не рисовалась ни на одном из 42 блоков, оставался пустой отступ. */
.mn-eyebrow:empty { display: flex; margin-bottom: 22px; }
.mn-eyebrow:empty::before { width: 44px; height: 2px; }

/* Короткие подписи («Блог», «FAQ») давали зону нажатия 34-39px по ширине,
   хлебные крошки — 33px по высоте. Добираем отступами. */
@media (max-width: 900px) {
    .mn-nav a, .mn-footer a { min-width: 44px; padding-left: 2px; padding-right: 2px; }
    .mn-crumbs a { min-height: 44px; line-height: 44px; padding: 0 4px; }
    .mn-crumbs { display: flex; }
    .mn-crumbs .mn-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
}

/* Чипсы оглавления статьи на мобильном были 36px по высоте. */
@media (max-width: 1040px) {
    .mn-article__toc a { min-height: 44px; min-width: 44px; display: flex; align-items: center; }
}

/* Длинные неразрывные слова (почта, ссылки) распирали колонку и давали
   горизонтальную прокрутку на 375px. Переносим их по месту. */
body { overflow-wrap: break-word; }
@media (max-width: 900px) { .mn-crumbs a { min-width: 44px; justify-content: center; } }

/* Якорь как блочная коробка с отступом под липкие панели: инлайн-span
   нулевой высоты браузер не прокручивал при переходе по ссылке с решёткой. */
.mn-anchor { display: block; height: 0; scroll-margin-top: 140px; }

/* ==========================================================================
   Сквозная сверка блоков 08.09.2026: единые шкалы вместо накопившегося разнобоя
   ========================================================================== */

/* Пункты списков были трёх размеров: 17px в 209 местах, 15px в 114.
   Один и тот же по смыслу элемент выглядел по-разному на разных страницах. */
.mn-list li, .mn-text ul li, .mn-text ol li { font-size: 17px; line-height: 1.6; }
.mn-plan .mn-list li { font-size: 16px; }
@media (max-width: 600px) { .mn-list li, .mn-text ul li, .mn-text ol li { font-size: 16px; } }

/* Основной текст: сплошной белый и полупрозрачный стояли вперемешку
   на одинаковых по смыслу абзацах. Оставляем один приглушённый тон,
   белый — только для вводного абзаца первого экрана. */
.mn-text p { color: var(--mn-mute); }
.mn-section--paper .mn-text p { color: var(--mn-ink-mute); }
.mn-hero__lead, .mn-hero .mn-text p:first-child { color: var(--mn-white); }
.mn-section--paper .mn-hero__lead { color: var(--mn-ink); }

/* Заголовки карточек были 19px и 23px. */
.mn-card h2, .mn-card h3, .mn-card h4 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }

/* Показатели: сетка auto-fit плодила по 6 колонок при трёх значениях —
   числа расползались, между ними висели пустые дорожки. */
.mn-stats {
    display: flex; flex-wrap: wrap;
    gap: 26px 48px;
    grid-template-columns: none;
}
.mn-stat { flex: 0 1 auto; min-width: 150px; max-width: 280px; }

/* Карточки: при семи штуках последняя оставалась одна в ряду.
   На широком экране разрешаем четвёртую колонку — получается 4+3. */
@media (min-width: 1180px) {
    .mn-cards { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
}
.mn-cards { align-items: stretch; }
.mn-card { display: flex; flex-direction: column; }
/* Прижимать последний блок к низу нельзя: в карточке с одним абзацем
   между заголовком и текстом появлялась дыра во всю высоту. */
.mn-card > div:last-child { margin-top: 0; }

/* Тариф: кнопка прижата к низу, поэтому карточки в ряду выглядят одинаково,
   а цена не тонет в списке. */
.mn-plan { display: flex; flex-direction: column; }
.mn-plan .mn-list { flex: 1 1 auto; }
.mn-plan .mn-btn { width: 100%; margin-top: 18px; }

/* Кнопка отправки в форме была уже остальных: padding 16px вместо 16px 30px. */
.mn-form .mn-btn, .mn-form input[type="submit"] { padding: 16px 30px; width: 100%; }

/* FAQ: не было видно, что строка раскрывается. Добавляем знак и подсветку. */
.mn-faq summary { position: relative; padding-right: 44px; cursor: pointer; list-style: none; }
.mn-faq summary::-webkit-details-marker { display: none; }
.mn-faq summary::after {
    content: ""; position: absolute; right: 8px; top: 50%;
    width: 14px; height: 2px; border-radius: 2px; background: var(--mn-red);
    transform: translateY(-50%);
}
.mn-faq summary::before {
    content: ""; position: absolute; right: 14px; top: 50%;
    width: 2px; height: 14px; border-radius: 2px; background: var(--mn-red);
    transform: translateY(-50%); transition: transform .18s ease, opacity .18s ease;
}
.mn-faq details[open] summary::before { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.mn-faq summary:hover { color: var(--mn-white); }
.mn-section--paper .mn-faq summary:hover { color: var(--mn-ink); }

/* Число колонок под количество карточек: при пяти в четыре колонки последняя
   оставалась одна в ряду. Подбираем так, чтобы остатка в одну карточку не было. */
@media (min-width: 1180px) {
    /* Четыре карточки в ряд при контейнере 1140px дают колонки по 248px —
       заголовки рвутся, абзацы становятся столбиком. Ставим 2x2. */
    .mn-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mn-cards:has(> :nth-child(7):last-child),
    .mn-cards:has(> :nth-child(10):last-child) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .mn-cards:has(> :nth-child(5):last-child),
    .mn-cards:has(> :nth-child(6):last-child),
    .mn-cards:has(> :nth-child(9):last-child),
    .mn-cards:has(> :nth-child(12):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .mn-cards:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Графический слой 08.09.2026. Задача — убрать ощущение «сплошной текст»:
   у каждого типа блока появляется своя опора для глаза. Всё рисуется CSS,
   без картинок, чтобы не терять скорость.
   ========================================================================== */

/* ---------- Фон секций: сетка и мягкое свечение ---------- */
.mn-section, .mn-hero { position: relative; isolation: isolate; }
.mn-section::before, .mn-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}
.mn-section--paper::before {
    background-image:
        linear-gradient(to right, rgba(11, 11, 15, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 11, 15, .05) 1px, transparent 1px);
}
/* Красное свечение — только в ключевых секциях, иначе приём обесценится */
.mn-hero::after, .mn-section--cta::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    top: -180px; right: -120px; width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(255, 45, 45, .16), transparent 62%);
    filter: blur(20px);
}
.mn-section--cta::after { top: auto; bottom: -220px; left: -140px; right: auto; }

/* ---------- Заголовок секции: тонкий шов над блоком ---------- */
.mn-section > .mn-wrap > .mn-eyebrow:first-child { position: relative; }
.mn-section > .mn-wrap > .mn-eyebrow:first-child::after {
    content: ""; position: absolute; left: 56px; right: 0; top: 50%;
    height: 1px; background: linear-gradient(90deg, var(--mn-line-soft), transparent 70%);
}

/* ---------- Карточки: волосяная линия сверху и отклик на наведение ---------- */
.mn-card { position: relative; overflow: hidden; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.mn-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 45, 45, .55), transparent);
    opacity: .5; transition: opacity .18s ease;
}
.mn-card:hover { transform: translateY(-3px); border-color: rgba(255, 45, 45, .28); }
.mn-card:hover::before { opacity: 1; }

/* Уголок-акцент: две тонкие линии, читается как «карточка», а не «абзац» */
.mn-card::after {
    content: ""; position: absolute; right: 14px; bottom: 14px;
    width: 14px; height: 14px; pointer-events: none;
    border-right: 1px solid var(--mn-line-soft);
    border-bottom: 1px solid var(--mn-line-soft);
    border-bottom-right-radius: 5px;
}

/* ---------- Номер в карточке: крупнее и с градиентом ---------- */
.mn-cards--marked .mn-card { padding-top: 40px; }
.mn-card__marker {
    top: 16px; right: 20px;
    font-size: 46px;
    background: linear-gradient(180deg, rgba(255, 45, 45, .55), rgba(255, 45, 45, .06));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mn-section--paper .mn-card__marker {
    background: linear-gradient(180deg, rgba(226, 27, 34, .45), rgba(226, 27, 34, .06));
    -webkit-background-clip: text; background-clip: text;
}

/* ---------- Показатели: разделители между значениями ---------- */
.mn-stat { position: relative; padding-left: 22px; }
.mn-stat:first-child { padding-left: 0; }
.mn-stat:not(:first-child)::before {
    content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
    background: linear-gradient(180deg, transparent, var(--mn-line-soft) 30%, var(--mn-line-soft) 70%, transparent);
}
.mn-stat__label { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 600; }

/* ---------- Списки: маркер-галочка вместо точки ---------- */
.mn-list li::before {
    content: ""; position: absolute; left: 2px; top: .42em;
    width: 9px; height: 5px; border-radius: 0;
    border-left: 2px solid var(--mn-red);
    border-bottom: 2px solid var(--mn-red);
    background: none;
    transform: rotate(-45deg);
}

/* ---------- Тариф: рамка с градиентом и крупная цена ---------- */
.mn-plan { position: relative; overflow: hidden; }
.mn-plan::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--mn-red), rgba(255, 45, 45, 0));
}
.mn-plan__price {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: clamp(26px, 3vw, 34px); line-height: 1;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .62));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mn-section--paper .mn-plan__price {
    background: linear-gradient(180deg, var(--mn-ink) 30%, rgba(11, 11, 15, .62));
    -webkit-background-clip: text; background-clip: text;
}
.mn-plan__name { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--mn-faint); }

/* ---------- FAQ: номер вопроса как ориентир ---------- */
.mn-faq { counter-reset: faq; }
.mn-faq details { counter-increment: faq; }
.mn-faq summary { padding-left: 46px; }
.mn-faq details > summary::before { right: 14px; }
.mn-faq details > summary::after { right: 8px; }
.mn-faq details { position: relative; }
.mn-faq details::before {
    content: counter(faq, decimal-leading-zero);
    position: absolute; left: 0; top: 22px;
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: 13px; color: var(--mn-faint); letter-spacing: .04em;
}

/* ---------- Кейсы: подпись-ярлык ---------- */
.mn-case { position: relative; overflow: hidden; }
.mn-case::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, var(--mn-red), transparent 70%);
}

/* ---------- Форма: акцентная рамка ---------- */
.mn-form { position: relative; }
.mn-form::before {
    content: ""; position: absolute; inset: -1px; border-radius: 21px; z-index: -1;
    background: linear-gradient(140deg, rgba(255, 45, 45, .5), transparent 45%);
}

/* ---------- Картинки: рамка и мягкая тень ---------- */
.mn-fig img, .mn-case img, .mn-text img {
    border-radius: var(--mn-radius-sm);
    border: 1px solid var(--mn-line-soft);
}

@media (prefers-reduced-motion: reduce) {
    .mn-card, .mn-card::before { transition: none; }
    .mn-card:hover { transform: none; }
}

/* Свечение 620px с отрицательным отступом растягивало документ до 480px
   при экране 375. Подрезаем именно clip, а не hidden: hidden создал бы
   область прокрутки и сломал липкую форму внутри секции. */
.mn-hero, .mn-section--cta { overflow-x: clip; }
@media (max-width: 700px) {
    .mn-hero::after, .mn-section--cta::after { width: 340px; height: 340px; right: -60px; }
    .mn-section--cta::after { left: -60px; right: auto; }
}

/* ---------- Длина строки ---------- */
/* Абзацы верхнего уровня шли во всю ширину 1140px — строки по 150 символов.
   Ограничиваем меру чтения, внутри карточек ширину не трогаем. */
.mn-section > .mn-wrap > .mn-text,
.mn-hero > .mn-wrap > .mn-text { max-width: 68ch; }
.mn-section > .mn-wrap > .mn-list { max-width: 68ch; }

/* ---------- Таблицы ---------- */
/* Была залита красным одна ячейка шапки, а остальные ячейки в рамках —
   таблица выглядела как форма. Приводим к обычному табличному виду. */
.mn-text table, table.mn-table {
    width: 100%; border-collapse: collapse; margin: 22px 0;
    font-size: 15px;
}
.mn-text table th, .mn-text table td,
table.mn-table th, table.mn-table td {
    padding: 14px 16px;
    border: 0; border-bottom: 1px solid var(--mn-line-soft);
    text-align: left; vertical-align: top;
    background: none;
}
.mn-text table th, table.mn-table th {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--mn-faint); font-weight: 700;
    border-bottom: 1px solid var(--mn-line);
}
.mn-text table tbody tr:nth-child(odd), table.mn-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, .022);
}
.mn-section--paper .mn-text table tbody tr:nth-child(odd) { background: rgba(11, 11, 15, .025); }
/* Первый столбец — название пакета, второй — цена: выделяем начертанием, не заливкой */
.mn-text table td:first-child, table.mn-table td:first-child { font-weight: 600; color: var(--mn-white); }
.mn-section--paper .mn-text table td:first-child { color: var(--mn-ink); }
.mn-text table td:nth-child(2), table.mn-table td:nth-child(2) {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: 17px; color: var(--mn-red); white-space: nowrap;
}
/* Узкие экраны: таблица прокручивается, а не ломает раскладку */
.mn-text table { display: block; overflow-x: auto; }
@media (min-width: 760px) { .mn-text table { display: table; overflow-x: visible; } }

/* ---------- Инфографика ---------- */
/* Картинки-схемы сделаны шириной 1200px. На экране 375 они сжимались до 316px,
   и текст внутри становился нечитаемым. Даём прокрутку по горизонтали:
   информация сохраняется, её можно рассмотреть смахиванием. */
.mn-fig { margin: 26px 0; }
.mn-fig figcaption {
    margin-top: 12px; font-size: 13px; color: var(--mn-faint);
    text-transform: uppercase; letter-spacing: .08em;
}
.mn-section--paper .mn-fig figcaption { color: var(--mn-ink-mute); }

@media (max-width: 760px) {
    .mn-fig {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .mn-fig img { max-width: none; width: 720px; }
    .mn-fig figcaption { position: sticky; left: 0; max-width: 100%; }
    /* Подсказка, что схему можно листать */
    .mn-fig::after {
        content: "Схему можно листать вбок →";
        display: block; position: sticky; left: 0;
        margin-top: 6px; font-size: 12px; color: var(--mn-faint);
    }
}

/* Нумерация вопросов шла 01,02,03 и на втором блоке начиналась заново:
   счётчик сбрасывался на каждом .mn-faq. Сбрасываем на уровне секции. */
.mn-faq { counter-reset: none; }
.mn-section, .mn-hero { counter-reset: faq; }

/* Маркеры в прозаических списках были обычными точками — фирменная галочка
   стояла только у .mn-list. Приводим к одному виду. */
.mn-text ul { list-style: none; padding-left: 0; }
.mn-text ul li { position: relative; padding-left: 30px; }
.mn-text ul li::before {
    content: ""; position: absolute; left: 2px; top: .42em;
    width: 9px; height: 5px;
    border-left: 2px solid var(--mn-red);
    border-bottom: 2px solid var(--mn-red);
    transform: rotate(-45deg);
}
.mn-text ol { padding-left: 22px; }
.mn-text ol li::marker { color: var(--mn-red); font-weight: 700; }

/* Два блока вопросов подряд читаются как один список — убираем зазор между ними. */
.mn-faq + .mn-faq { margin-top: 0; }
.mn-faq + .mn-faq details:first-child { border-top: 0; }

/* Одна карточка в сетке растягивалась на все 1136px и переставала читаться
   как карточка — превращалась в панель во всю ширину. */
.mn-cards:has(> :only-child) { max-width: 720px; }

/* Пять тарифов ложатся как 3+2, и второй ряд прижимался влево — справа
   оставалась дыра. Гибкая раскладка центрирует неполный ряд. */
.mn-plans {
    display: flex; flex-wrap: wrap; justify-content: center;
    grid-template-columns: none;
}
.mn-plans .mn-plan { flex: 1 1 300px; max-width: 356px; }
@media (max-width: 700px) { .mn-plans .mn-plan { max-width: none; flex-basis: 100%; } }

/* Схемы нарисованы на белом фоне и на тёмной странице читались как чужеродные
   блоки. Оформляем их как намеренную светлую вставку: уже контейнера, с полями,
   скруглением и мягкой тенью — «документ», положенный на страницу. */
.mn-fig {
    max-width: 960px; margin-inline: auto;
    background: var(--mn-white);
    border-radius: var(--mn-radius);
    padding: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .1);
}
.mn-fig img { border: 0; border-radius: 10px; }
.mn-fig figcaption {
    margin: 12px 4px 2px; text-align: center;
    color: var(--mn-ink-mute);
}
.mn-section--paper .mn-fig { box-shadow: 0 18px 44px rgba(11, 11, 15, .12); border-color: rgba(11, 11, 15, .08); }
@media (max-width: 760px) {
    .mn-fig { padding: 10px; }
    .mn-fig::after { color: var(--mn-ink-mute); }
}

/* Контакты: подпись сверху, значение крупной ссылкой. Раньше подпись и телефон
   попадали в разные карточки, а сам телефон не был кликабельным. */
.mn-cards--contacts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mn-card--contact { padding: 26px 28px; }
.mn-card__label {
    margin: 0 0 8px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; color: var(--mn-faint);
}
.mn-card__value {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: clamp(19px, 2.2vw, 23px); line-height: 1.15;
    color: var(--mn-white); text-decoration: none; word-break: break-word;
}
.mn-card--contact:hover .mn-card__value { color: var(--mn-red); }
.mn-section--paper .mn-card__value { color: var(--mn-ink); }

/* В левой колонке двухколоночной секции карточка контакта получается ~185px
   внутри, и почта не влезает в строку. Там ставим по одной в ряд. */
.mn-split__body .mn-cards:has(.mn-card__value) { grid-template-columns: 1fr; max-width: 420px; }

/* ==========================================================================
   Фирменная графика первого экрана — приёмы, проверенные на «Метрике Влияния»:
   гигантский призрачный знак, диагональный градиент, линейный паттерн.
   Здесь всё на CSS, без картинок: скорость важнее.
   ========================================================================== */

.mn-hero { position: relative; overflow: hidden; }

/* Водяной знак: название студии крупным Druk на заднем плане.
   Ставится под контент — контейнеру задан z-index: 1. */
.mn-hero__mark {
    position: absolute; left: 50%; top: 6%;
    transform: translateX(-50%);
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: clamp(90px, 15vw, 232px); line-height: .84;
    letter-spacing: -.02em; white-space: nowrap;
    color: rgba(255, 255, 255, .038);
    pointer-events: none; user-select: none; z-index: 0;
}
.mn-section--paper .mn-hero__mark { color: rgba(11, 11, 15, .05); }
.mn-hero > .mn-wrap { position: relative; z-index: 1; }

/* Диагональный фирменный градиент вместо одиночного пятна */
.mn-hero::after {
    top: -20%; right: -18%; width: 70%; height: 130%;
    background: linear-gradient(135deg, rgba(255, 45, 45, .22), rgba(255, 45, 45, .04) 46%, transparent 72%);
    filter: blur(30px);
}

/* Линейный паттерн — фирменная фактура, поверх сетки, приглушённо */
.mn-hero::before {
    background-image:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 22px),
        linear-gradient(to right, rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
}

/* ---------- Первый экран: две колонки одной высоты ---------- */
/* Заголовок теперь внутри левой колонки, поэтому обе колонки начинаются
   с одной линии, а их ширины совпадают с содержимым. */
.mn-hero .mn-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 56px; align-items: start;
}
.mn-hero .mn-split__body > h1 { margin-top: 0; }
.mn-hero .mn-split__body > .mn-text { max-width: 54ch; }
.mn-hero .mn-split__side { position: sticky; top: 108px; }
@media (max-width: 980px) {
    .mn-hero .mn-split { grid-template-columns: 1fr; gap: 30px; }
    .mn-hero .mn-split__side { position: static; }
    .mn-hero > .mn-wrap::before { font-size: clamp(70px, 22vw, 120px); top: -46px; }
}

/* Водяной знак обрезался верхней границей секции и читался как случайное пятно.
   Опускаем его в поле над заголовком и добавляем герою воздуха сверху. */
.mn-hero { padding-top: 132px; }
.mn-hero > .mn-wrap::before {
    top: -104px; left: -4px;
    font-size: clamp(78px, 11.5vw, 168px);
    color: rgba(255, 255, 255, .05);
}
/* Заголовку — больше ширины, иначе он рвётся на четыре строки */
.mn-hero .mn-split { grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); }
@media (max-width: 980px) {
    .mn-hero { padding-top: 96px; }
    .mn-hero > .mn-wrap::before { top: -62px; font-size: clamp(56px, 17vw, 96px); }
}

/* Первый экран, где кроме заголовка ничего нет (например «О нас»), при полном
   отступе выглядел пустым. Такому герою хватает меньшей высоты. */
.mn-hero:has(> .mn-wrap > h1:only-child) { padding-top: 104px; padding-bottom: 56px; }
.mn-hero:has(> .mn-wrap > h1:only-child) > .mn-wrap::before { top: -84px; font-size: clamp(64px, 9vw, 132px); }

/* ---------- Контакты в шапке ---------- */
/* Телефон и мессенджер под рукой на каждой странице: раньше позвонить можно
   было только со страницы контактов или из подвала. */
.mn-header__contacts { display: flex; align-items: center; gap: 14px; margin-left: 18px; }
.mn-header__phone {
    font-family: "Druk Text Wide", Montserrat, sans-serif;
    font-size: 15px; letter-spacing: .01em; white-space: nowrap;
    color: var(--mn-white); text-decoration: none;
}
.mn-header__phone:hover { color: var(--mn-red); text-decoration: none; }
.mn-header__im {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--mn-line-soft); color: var(--mn-mute);
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.mn-header__im:hover { color: #fff; border-color: rgba(255, 45, 45, .5); background: rgba(255, 45, 45, .14); }

/* На узких экранах телефон остаётся, но компактнее; порядок — телефон, мессенджер, бургер */
@media (max-width: 900px) {
    .mn-header__inner { flex-wrap: nowrap; gap: 8px; }
    .mn-header__contacts { margin-left: auto; gap: 8px; }
    .mn-header__phone { font-size: 13px; }
    .mn-header__im { width: 44px; height: 44px; }
}
@media (max-width: 420px) {
    .mn-header__phone { font-size: 0; }
    .mn-header__phone::before { content: "Позвонить"; font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 600; }
}
