/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; color: #111614; background: #fff; }
a { color: inherit; }

:root {
    --nv-green: #6bb476;
    --nv-green-dark: #4d9659;
    --nv-green-light: #edf6ef;
    --nv-black: #111614;
    --nv-dark: #0e1512;
    --nv-gray: #6b7280;
    --nv-gray-light: #f5f6f5;
    --nv-border: #e5e7eb;
    --nv-red: #f87171;
    --nv-red-bg: #fef2f2;
    --page-width: 1240px;
    --page-pad: 32px;
}

ul.article-toc__list li::before{
    display: none;
}

.container {
        margin-left: auto !important;
    margin-right: auto !important;
    max-width: calc(var(--theme-page-width, 1500px) + calc(var(--theme-page-width-padding, 32px) * 2) - var(--theme-page-width-diff, 0px)) !important;
    padding-inline: var(--theme-page-width-padding, 32px) !important;
    width: 100% !important;
}
.main > .container .maxwidth-theme.wide- {
    max-width: 100%;
    padding-inline: 0 !important;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.section-title {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.section-lead {
    font-size: 17px;
    line-height: 1.8;
    color: #6b7280;
    max-width: 720px;
}
.section-header { margin-bottom: 40px; }
.section-header--light .section-title { color: #fff; }
.section-header--light .section-lead { color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}
.btn-green { background: var(--nv-green); color: #fff; }
.btn-green:hover { background: var(--nv-green-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(107,180,118,0.4); color: #fff; }
.btn-light { background: #fff; color: #111614; border: 1.5px solid var(--nv-border); }
.btn-light:hover { border-color: var(--nv-green); color: var(--nv-green-dark); transform: translateY(-2px); }
.btn-dark { background: #111614; color: #fff; }
.btn-dark:hover { background: #26302b; transform: translateY(-2px); }

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section { padding: 80px 0; }
.section--white { background: #fff; }
.section--gray { background: #f5f6f5; }
.section--dark { background: var(--nv-dark); }
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: rgba(255,255,255,0.45); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 64px 0 46px;
    border-bottom: 1px solid #e5e7eb;
}
.hero__pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107,180,118,0.05) 0%, rgba(17,22,20,0.03) 100%);
}
.hero__grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(107,180,118,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107,180,118,0.1) 1px, transparent 1px),
        linear-gradient(rgba(107,180,118,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107,180,118,0.04) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    mask-image: radial-gradient(ellipse 90% 100% at 70% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 100% at 70% 50%, black 20%, transparent 80%);
}
.hero .container { position: relative; z-index: 3; }
.hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 20px;
}
.hero__breadcrumb a { color: var(--nv-green); text-decoration: none; transition: color 0.2s; }
.hero__breadcrumb a:hover { color: var(--nv-green-dark); }
.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(107,180,118,0.3);
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--nv-green-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    background: rgba(107,180,118,0.06);
}
.hero__tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nv-green);
    animation: blink 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero__cols {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 56px;
    align-items: center;
}
.hero__title {
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #111614;
    margin-bottom: 18px;
}
.hero__title em { font-style: normal; color: var(--nv-green-dark); }
.hero__lead {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 610px;
}
.hero__phrase {
    display: inline-flex;
    align-items: center;
    background: #111614;
    color: #fff;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 26px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-flow {
    background: #fff;
    border: 1.5px solid var(--nv-border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 60px rgba(17,22,20,0.08);
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hero-flow__item {
    min-height: 50px;
    display: flex;
    align-items: center;
    background: #f5f6f5;
    border: 1px solid #e0e5e2;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 800;
    color: #111614;
}
.hero-flow__item--accent {
    background: var(--nv-green-light);
    border-color: rgba(107,180,118,0.45);
    color: var(--nv-green-dark);
}
.hero-flow__connector {
    position: relative;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-flow__connector::before {
    content: '';
    width: 2px;
    height: 16px;
    background: rgba(107,180,118,0.38);
    border-radius: 20px;
}
.hero-flow__connector::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--nv-green);
    border-bottom: 2px solid var(--nv-green);
    transform: rotate(45deg);
}
.crm-strip {
    margin-top: 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.crm-strip span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

/* ═══════════════════════════════════════
   WIKI CARD
═══════════════════════════════════════ */
.wiki-card {
    background: #111614;
    color: #fff;
    border-radius: 22px;
    padding: 46px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 34px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.wiki-card::before {
    content: '';
    position: absolute;
    right: -180px;
    top: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107,180,118,0.18) 0%, transparent 68%);
}
.wiki-card__content,
.wiki-card__visual { position: relative; z-index: 1; }
.wiki-card .section-title { color: #fff; margin-bottom: 14px; }
.wiki-card .section-lead { color: rgba(255,255,255,0.58); }
.wiki-card__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nv-green);
    margin-bottom: 12px;
}
.wiki-card__actions { margin-top: 26px; }
.wiki-card__note {
    margin-top: 14px;
    color: rgba(255,255,255,0.38);
    font-size: 13px;
    line-height: 1.6;
}
.wiki-card__screen {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 24px;
}
.wiki-card__bar,
.wiki-card__row {
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    margin-bottom: 14px;
}
.wiki-card__bar { width: 52%; background: var(--nv-green); }
.wiki-card__row { width: 100%; }
.wiki-card__row--short { width: 76%; }
.wiki-card__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.wiki-card__chips span {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: rgba(107,180,118,0.18);
    border: 1px solid rgba(107,180,118,0.28);
    border-radius: 999px;
    padding: 7px 10px;
}

/* ═══════════════════════════════════════
   CONTENT BLOCKS
═══════════════════════════════════════ */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 44px;
    align-items: start;
}
.loss-card,
.solution-note,
.connect-note,
.price-card,
.seo-block {
    border: 1.5px solid var(--nv-border);
    border-radius: 18px;
    background: #fff;
    padding: 28px;
}
.loss-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}
.loss-card p {
    margin-top: 18px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}
.check-list,
.crm-card ul,
.compare-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.check-list li,
.crm-card li,
.compare-card li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.55;
    color: #4b5563;
}
.check-list li::before,
.crm-card li::before,
.compare-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nv-green);
}
.check-list--bad li::before,
.compare-card--bad li::before { background: var(--nv-red); }
.solution-note {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.72);
    font-size: 17px;
    line-height: 1.7;
}

.crm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.crm-card {
    background: #fff;
    border: 1.5px solid var(--nv-border);
    border-radius: 18px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.crm-card:hover {
    border-color: var(--nv-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(107,180,118,0.12);
}
.crm-card--careful { background: linear-gradient(180deg, #fff 0%, #f9fdf9 100%); }
.crm-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.crm-card__logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--nv-green-light);
    color: var(--nv-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
}
.crm-card h3 { font-size: 21px; font-weight: 800; }
.crm-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 16px;
}
.crm-card ul { margin-bottom: 22px; }
.card-link {
    margin-top: auto;
    color: var(--nv-green-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}
.card-link::after { content: ' →'; transition: transform 0.2s; }
.card-link:hover { color: var(--nv-green); }

.features-grid,
.steps-grid,
.scenario-grid,
.audience-grid,
.links-grid {
    display: grid;
    gap: 14px;
}
.features-grid { grid-template-columns: repeat(3, 1fr); }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.scenario-grid { grid-template-columns: repeat(4, 1fr); }
.audience-grid { grid-template-columns: repeat(3, 1fr); }
.links-grid { grid-template-columns: repeat(4, 1fr); }
.feature-card,
.step-card,
.scenario-card,
.audience-item,
.link-card {
    background: #fff;
    border: 1.5px solid var(--nv-border);
    border-radius: 16px;
    padding: 24px 22px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover,
.step-card:hover,
.scenario-card:hover,
.audience-item:hover,
.link-card:hover {
    border-color: var(--nv-green);
    transform: translateY(-2px);
}
.feature-card h3,
.scenario-card h3,
.link-card h4 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
}
.feature-card p,
.scenario-card p,
.link-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}
.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--nv-green-light);
    color: var(--nv-green-dark);
    font-weight: 900;
    margin-bottom: 14px;
}
.step-card p { font-size: 14px; color: #374151; line-height: 1.6; }
.muted-note {
    margin-top: 18px;
    font-size: 14px;
    color: #6b7280;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.compare-card {
    border-radius: 18px;
    padding: 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.compare-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}
.compare-card li { color: rgba(255,255,255,0.62); }
.compare-card--good { border-color: rgba(107,180,118,0.35); background: rgba(107,180,118,0.08); }
.accent-line {
    margin-top: 24px;
    background: rgba(107,180,118,0.1);
    border: 1px solid rgba(107,180,118,0.22);
    border-radius: 14px;
    padding: 20px 24px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.connect-wrap {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 16px;
    align-items: start;
}
.connect-list {
    list-style: none;
    counter-reset: connect;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.connect-list li {
    counter-increment: connect;
    background: #fff;
    border: 1.5px solid var(--nv-border);
    border-radius: 16px;
    padding: 22px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}
.connect-list li::before {
    content: counter(connect);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--nv-green-light);
    color: var(--nv-green-dark);
    font-weight: 900;
    margin-bottom: 12px;
}
.connect-note {
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}
.audience-item {
    font-size: 15px;
    font-weight: 800;
    color: #111614;
}
.audience-item::before {
    content: '✓';
    color: var(--nv-green-dark);
    margin-right: 8px;
}
.links-grid--dark .link-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    text-decoration: none;
}
.links-grid--dark .link-card:hover {
    border-color: rgba(107,180,118,0.35);
    background: rgba(107,180,118,0.06);
}
.links-grid--dark .link-card h4 { color: #fff; }
.links-grid--dark .link-card p { color: rgba(255,255,255,0.45); }
.link-card span {
    display: inline-flex;
    margin-top: 12px;
    color: var(--nv-green);
    font-size: 13px;
    font-weight: 800;
}
.link-card span::after { content: ' →'; }
.price-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #f9fdf9 100%);
}
.price-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.cta {
    padding: 100px 0;
    background: var(--nv-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(107,180,118,0.1);
}
.cta__glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107,180,118,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.cta .container { position: relative; z-index: 1; }
.cta__inner { max-width: 760px; margin: 0 auto; }
.cta__title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.cta__text {
    font-size: 16px;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
    margin-bottom: 0;
}
.cta__actions { margin-top: 32px; }
.cta__sub {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}
.cta__trust {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.cta__trust-item {
    font-size: 13px;
    color: rgba(255,255,255,0.36);
}

/* ═══════════════════════════════════════
   FAQ & SEO
═══════════════════════════════════════ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
}
.faq-item { border-bottom: 1px solid #f3f4f6; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #111614;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s, color 0.2s;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f5f6f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: #9ca3af;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-align: center;
    line-height: 28px;
}
.faq-item[open] summary { color: var(--nv-green-dark); background: #f9fdf9; }
.faq-item[open] summary::after { content: '−'; background: #edf6ef; color: var(--nv-green-dark); }
.faq-item summary:hover { background: #f9fdf9; }
.faq-item__a {
    padding: 0 28px 20px 28px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    background: #f9fdf9;
}
.faq-item__a a { color: var(--nv-green-dark); font-weight: 700; }
.seo-block h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}
.seo-block p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 12px;
}
.seo-block p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.text-animate-1 { opacity: 0; transform: translate(0, 35px); transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.5s ease; }
.text-animate-1._active { opacity: 1; transform: translate(0,0); }
.text-animate-2 { opacity: 0; transform: translate(0, 35px); transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.5s ease; }
.text-animate-2._active { opacity: 1; transform: translate(0,0); transition-delay: 0.15s; }
.image-fade-up { transition: all 0.9s cubic-bezier(0.22,1,0.36,1); transform: translateY(40px); opacity: 0; }
.image-fade-up._active { transform: translateY(0); opacity: 1; }

/* Чтобы страница была видимой без подключенного JS анимаций */
@media (prefers-reduced-motion: reduce) {
    .text-animate-1,
    .text-animate-2,
    .image-fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1060px) {
    .hero__cols,
    .wiki-card,
    .two-cols,
    .connect-wrap,
    .price-card { grid-template-columns: 1fr; }
    .crm-cards { grid-template-columns: 1fr; }
    .features-grid,
    .steps-grid,
    .scenario-grid,
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .links-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .compare-grid,
    .connect-list { grid-template-columns: 1fr; }
    .hero__actions,
    .price-card__actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
}
@media (max-width: 640px) {
    :root { --page-pad: 20px; }
    .section { padding: 56px 0; }
    .hero { padding: 52px 0 42px; }
    .cta { padding: 64px 0; }
    .wiki-card { padding: 32px 20px; }
    .features-grid,
    .steps-grid,
    .scenario-grid,
    .audience-grid,
    .links-grid { grid-template-columns: 1fr; }
    .hero-flow { padding: 18px; }
    .section-lead { font-size: 15px; }
    .crm-strip span { font-size: 11px; }
    .loss-card,
    .solution-note,
    .connect-note,
    .price-card,
    .seo-block { padding: 22px; }
    .faq-item summary { padding: 18px 20px; }
    .faq-item__a { padding: 0 20px 18px 20px; }
}
