/* ==========================================================================
   landing.css — лендінги /loca-crm/, /hub/, /scheduler/ (086a): front/landing.php, блоки front/blocks/{landing_hero, stats,
   cards, compare, offer}.php, front/blocks/landing/{faq, cta, rich_text, plans}.php, тарифи partials/plans-grid.php
   (режим landing). Один файл замість трьох копій WP (blocksy-child/css/crm.css .cc-, crm-landing.css .cl-,
   crm-scheduler.css .cs-) і plans-landing.css: токени — один раз на .ld, спільні компоненти — один раз, відмінності —
   модифікатором (.ld--hub, варіант виду .ld-cards--*, .ld-stats--three). Палітра WP-лендінгів (#667eea…) — лише тут, не
   палітра каталогу (--fl-*). Без !important.
   Вади WP, виправлені тут (086a, ЗВІТ.md): головні кнопки без класу → .ld-btn--primary (у смузі CTA — біла .ld-btn--white);
   картка тарифу hub без фону (--card не визначено) → #fff; заголовки болів — один рівень (h3) і один стиль; гармошка карток
   тарифів (align-items: start) → картки однієї висоти, кнопка внизу; подвійна лінія під заголовком таблиці порівняння і
   колонка «ми» не на всю висоту рядка; межа 4-ї цифри на телефоні; підказки — і з фокусу / дотику (js/plans.js); підйом
   картки при наведенні, який у WP перекривало .cc-fade.in; без JS блоки й відповіді FAQ видно (приховує лише .is-js).
   ========================================================================== */

.ld {
    --ld-p: #667eea;              /* акцент: кнопка, мітки, галочки, CTA-смуга (--p WP) */
    --ld-p-dark: #5568d3;         /* наведення на основну кнопку (--p-dark) */
    --ld-p-light: #f0f2ff;        /* теги, плитки іконок, мітка першого екрана (--p-light) */
    --ld-p-soft: #fafbff;         /* колонка «ми» таблиці порівняння */
    --ld-violet: #764ba2;         /* другий колір градієнтів тарифів, знижка перемикача */
    --ld-on-accent: #c9d4ff;      /* знижка на активній кнопці перемикача */
    --ld-indigo: #5c6bc0;         /* стрілки «Трьох кроків» hub (stroke SVG у WP) */
    --ld-bg: #f5f5f5;             /* фон сторінки, «сірі» секції (--bg) */
    --ld-white: #f9fafe;          /* «білі» секції (--white) */
    --ld-card: #fff;              /* картки (--card) */
    --ld-text: #333;
    --ld-muted: #666;
    --ld-light: #999;
    --ld-faint: #aaa;             /* примітка про SMS у тарифах */
    --ld-dim: #bbb;               /* вимкнена можливість тарифу */
    --ld-off: #ccc;               /* хрестик, рамка кнопки «Обрати» */
    --ld-neutral: #555;           /* текст кнопки «Обрати» */
    --ld-border: #e5e5e5;
    --ld-tip-border: #e0e0e0;
    --ld-pain: #ef5350;           /* болі: смуга й іконка */
    --ld-pain-bg: #fff5f5;
    --ld-green: #4caf50;          /* «Безкоштовно», галочки тарифів, «БОНУС» */
    --ld-green-dark: #2e7d32;
    --ld-on-dark: #fff;
    --ld-cta-text: rgba(255, 255, 255, .75);
    --ld-cta-link: rgba(255, 255, 255, .7);
    --ld-cta-note: rgba(255, 255, 255, .45);
    --ld-shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
    --ld-shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
    --ld-shadow-btn: 0 4px 12px rgba(102, 126, 234, .35);
    --ld-shadow-plan: 0 8px 32px rgba(102, 126, 234, .22);
    --ld-shadow-cta: 0 4px 14px rgba(102, 126, 234, .4);
    --ld-shadow-cta-hover: 0 6px 20px rgba(102, 126, 234, .55);
    --ld-shadow-tip: 0 4px 16px rgba(0, 0, 0, .15);
    --ld-r: 12px;
    --ld-r-sm: 6px;
    --ld-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    width: 100%;
    overflow-x: hidden;
    background: var(--ld-bg);
    color: var(--ld-text);
    font-family: var(--ld-font);
    font-size: 15px;
    line-height: 1.6;
}

/* Каркас сайту (075): вміст лендінгу — від верху, на всю ширину */
.is-landing .front-main {
    display: block;
    padding: 0;
}

.ld p,
.ld h1,
.ld h2,
.ld h3 { margin: 0; }
.ld ul,
.ld ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ── Кнопки (.cc-btn WP) ─────────────────────────────────────────────────── */
.ld .ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--ld-r-sm);
    font-family: var(--ld-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, transform .1s, box-shadow .15s;
}
.ld .ld-btn:hover { transform: translateY(-1px); }
.ld .ld-btn:focus-visible { outline: 2px solid var(--ld-p); outline-offset: 2px; }
.ld .ld-btn--primary,
.ld .ld-btn--primary:hover { color: var(--ld-on-dark); }
.ld .ld-btn--primary { background: var(--ld-p); }
.ld .ld-btn--primary:hover { background: var(--ld-p-dark); box-shadow: var(--ld-shadow-btn); }
.ld .ld-btn--ghost,
.ld .ld-btn--ghost:hover { color: var(--ld-p); }
.ld .ld-btn--ghost { background: var(--ld-card); border: 1.5px solid var(--ld-p); }
.ld--hub .ld-btn--ghost { background: var(--ld-white); }
.ld .ld-btn--ghost:hover { background: var(--ld-p-light); }
.ld .ld-btn--white,
.ld .ld-btn--white:hover { color: var(--ld-p); }
.ld .ld-btn--white { background: var(--ld-card); }
.ld .ld-btn--white:hover { box-shadow: var(--ld-shadow-md); }
.ld .ld-btn--white:focus-visible { outline-color: var(--ld-on-dark); }
.ld .ld-btn--block {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* ── Перший екран (.cc-hero) ─────────────────────────────────────────────── */
.ld .ld-hero {
    padding: 60px 24px 52px;
    background: var(--ld-white);
    border-bottom: 1px solid var(--ld-border);
    text-align: center;
}
.ld .ld-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 24px;
    padding: 5px 14px;
    background: var(--ld-p-light);
    border-radius: 20px;
    color: var(--ld-p);
    font-size: 12px;
    font-weight: 600;
}
.ld .ld-hero-tag-dot {
    width: 6px;
    height: 6px;
    background: var(--ld-p);
    border-radius: 50%;
    animation: ld-blink 1.4s infinite;
}
@keyframes ld-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .25; }
}
.ld .ld-hero-title {
    margin-bottom: 16px;
    color: var(--ld-text);
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}
.ld .ld-hero-title b,
.ld .ld-hero-title strong { color: var(--ld-p); font-weight: 700; }
.ld .ld-hero-desc {
    max-width: 580px;
    margin: 0 auto 32px;
    color: var(--ld-muted);
    font-size: 16px;
}
.ld--hub .ld-hero-desc { max-width: 520px; }
.ld .ld-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}
.ld--hub .ld-hero-cta { margin-bottom: 16px; }
.ld .ld-hero-note { color: var(--ld-light); font-size: 13px; }
.ld .ld-hero-note b,
.ld .ld-hero-note strong { color: var(--ld-p); }

/* ── Цифри (.cc-stats) ───────────────────────────────────────────────────── */
.ld .ld-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--ld-white);
    border-bottom: 1px solid var(--ld-border);
}
.ld .ld-stats--three { grid-template-columns: repeat(3, 1fr); }
.ld .ld-stat {
    padding: 22px 16px;
    border-right: 1px solid var(--ld-border);
    text-align: center;
}
.ld .ld-stats--three .ld-stat { padding: 24px 16px; }
.ld .ld-stat:last-child { border-right: none; }
.ld .ld-stat-num {
    display: block;
    margin-bottom: 4px;
    color: var(--ld-p);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}
.ld .ld-stats--three .ld-stat-num { font-size: 28px; }
.ld .ld-stat-label {
    display: block;
    color: var(--ld-light);
    font-size: 12px;
}

/* ── Секції й шапка секції (.cc-label / .cc-title / .cc-sub) ─────────────── */
.ld .ld-sec { padding: 56px 24px; }
.ld .ld-inner {
    max-width: 860px;
    margin: 0 auto;
}
.ld .ld-label {
    margin-bottom: 8px;
    color: var(--ld-p);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.ld .ld-title {
    margin-bottom: 8px;
    color: var(--ld-text);
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    line-height: 1.25;
}
.ld .ld-sub {
    margin-bottom: 36px;
    color: var(--ld-muted);
    font-size: 14px;
}
.ld--hub .ld-sub { margin-bottom: 40px; }
.ld .ld-head--center { text-align: center; }

/* Фон і межі секцій — як у WP */
.ld .ld-cards--pain,
.ld .ld-cards--steps {
    background: var(--ld-white);
    border-bottom: 1px solid var(--ld-border);
}
.ld .ld-cards--features,
.ld .ld-cards--features-wide,
.ld .ld-cards--products,
.ld .ld-offer { background: var(--ld-bg); }
.ld .ld-compare {
    background: var(--ld-white);
    border-top: 1px solid var(--ld-border);
    border-bottom: 1px solid var(--ld-border);
}
.ld .ld-faq {
    background: var(--ld-white);
    border-top: 1px solid var(--ld-border);
}
.ld .ld-compare .ld-inner { max-width: 760px; }
.ld .ld-offer .ld-inner { max-width: 480px; }
.ld .ld-faq .ld-inner { max-width: 680px; }

/* ── Картки: можливості, продукти, болі (.cc-feature / .cl-product / .cc-pain-card) ── */
.ld .ld-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.ld .ld-cards--features-wide .ld-grid { grid-template-columns: repeat(2, 1fr); }
.ld .ld-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 24px;
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-r);
    box-shadow: var(--ld-shadow-sm);
    transition: box-shadow .2s, transform .2s;
}
.ld .ld-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--ld-p);
}
.ld .ld-card:hover,
.ld.is-js .ld-card.in:hover { box-shadow: var(--ld-shadow-md); transform: translateY(-2px); }
.ld .ld-cards--features-wide .ld-card { padding: 28px; }
.ld .ld-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}
.ld .ld-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    background: var(--ld-p-light);
    border-radius: 8px;
    color: var(--ld-p);
}
.ld .ld-icon svg { width: 22px; height: 22px; }
.ld .ld-cards--products .ld-icon svg { width: 26px; height: 26px; }
.ld .ld-card-num {
    margin-bottom: 6px;
    color: var(--ld-p);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.ld .ld-card-title {
    margin-bottom: 8px;
    color: var(--ld-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}
.ld .ld-cards--features-wide .ld-card-title,
.ld .ld-cards--products .ld-card-title { margin-bottom: 10px; font-size: 15px; }
.ld .ld-card-text {
    margin-bottom: 12px;
    color: var(--ld-muted);
    font-size: 13px;
}
.ld .ld-cards--features-wide .ld-card-text { margin-bottom: 14px; }
.ld .ld-cards--products .ld-card-text { margin-bottom: 16px; }
.ld .ld-card-body > :last-child { margin-bottom: 0; }
.ld .ld-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ld .ld-tag {
    padding: 3px 10px;
    background: var(--ld-p-light);
    border-radius: 20px;
    color: var(--ld-p);
    font-size: 11px;
    font-weight: 500;
}
/* «Детальніше →» — внизу картки: посилання карток ряду на одній лінії */
.ld .ld-card-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 14px;
    color: var(--ld-p);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.ld .ld-card-link:hover { color: var(--ld-p-dark); }

/* Болі: іконка ліворуч, червона смуга, без підйому */
.ld .ld-cards--pain .ld-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 0;
}
.ld .ld-cards--pain .ld-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    overflow: visible;
    padding: 20px;
    border-left: 3px solid var(--ld-pain);
    transition: none;
}
.ld .ld-cards--pain .ld-card::before { content: none; }
.ld .ld-cards--pain .ld-card:hover,
.ld.is-js .ld-cards--pain .ld-card.in:hover { box-shadow: var(--ld-shadow-sm); transform: none; }
.ld .ld-cards--pain .ld-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    background: var(--ld-pain-bg);
    color: var(--ld-pain);
}
.ld .ld-cards--pain .ld-icon svg { width: 20px; height: 20px; }
.ld .ld-cards--pain .ld-card-title { margin-bottom: 6px; }
.ld .ld-cards--pain .ld-card-text { line-height: 1.55; }

/* ── «Три кроки» hub (.cl-steps) ─────────────────────────────────────────── */
.ld .ld-cards--steps { text-align: center; }
.ld .ld-steps {
    display: flex;
    align-items: flex-start;
}
.ld .ld-step {
    flex: 1 1 0;
    padding: 0 8px;
}
.ld .ld-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    background: var(--ld-p-light);
    border: 2px solid var(--ld-p);
    border-radius: 50%;
    color: var(--ld-p);
    font-size: 16px;
    font-weight: 700;
}
.ld .ld-step-title {
    margin-bottom: 6px;
    color: var(--ld-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.ld .ld-step-text {
    color: var(--ld-muted);
    font-size: 13px;
    line-height: 1.5;
}
.ld .ld-step-arrow {
    flex: none;
    padding-top: 10px;
    color: var(--ld-indigo);
    opacity: .12;
}
.ld .ld-step-arrow svg { display: block; width: 24px; height: 24px; }

/* ── Смуга «Каталог / CRM / Календар» під першим екраном hub (.cl-hero-features) ── */
.ld .ld-cards--strip {
    padding: 32px 24px 52px;
    background: var(--ld-white);
    border-bottom: 1px solid var(--ld-border);
}
.ld .ld-hero:has(+ .ld-cards--strip) {
    padding-bottom: 0;
    border-bottom: 0;
}
.ld .ld-strip {
    display: flex;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--ld-bg);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-r);
}
.ld .ld-strip-item {
    flex: 1;
    padding: 14px 10px;
    background: var(--ld-card);
    border-right: 1px solid var(--ld-border);
    color: var(--ld-text);
    text-align: center;
    text-decoration: none;
}
.ld .ld-strip-item:last-child { border-right: none; }
.ld .ld-strip-item:hover { color: var(--ld-text); }
.ld .ld-icon--sm {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
}
.ld .ld-strip-title {
    display: block;
    color: var(--ld-text);
    font-size: 13px;
    font-weight: 600;
}
.ld .ld-strip-sub {
    display: block;
    margin-top: 2px;
    color: var(--ld-light);
    font-size: 11px;
}

/* ── Порівняння (.cc-compare) ────────────────────────────────────────────── */
.ld .ld-table {
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-r);
    box-shadow: var(--ld-shadow-sm);
}
.ld .ld-table-head,
.ld .ld-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
}
.ld .ld-table-head {
    background: var(--ld-bg);
    border-bottom: 1px solid var(--ld-border);
}
.ld .ld-table-head > span {
    padding: 12px 16px;
    color: var(--ld-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ld .ld-table-head > .ld-table-ours { color: var(--ld-p); }
.ld .ld-table-row + .ld-table-row { border-top: 1px solid var(--ld-border); }
.ld .ld-table-row > span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    color: var(--ld-muted);
    font-size: 13px;
    text-align: center;
}
.ld .ld-table-row > span:first-child {
    justify-content: flex-start;
    border-right: 1px solid var(--ld-border);
    color: var(--ld-text);
    font-weight: 500;
    text-align: left;
}
.ld .ld-table-row > span:nth-child(2) {
    background: var(--ld-p-soft);
    border-right: 1px solid var(--ld-border);
    color: var(--ld-text);
    font-weight: 500;
}
/* галочка / хрестик — SVG (у WP символи U+2713 / U+2717 кольором .cc-yes / .cc-no) */
.ld .ld-mark {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    vertical-align: -1px;
}
.ld .ld-mark--yes { color: var(--ld-p); }
.ld .ld-mark--no { color: var(--ld-off); }

/* ── Пропозиція (.cc-offer) ──────────────────────────────────────────────── */
.ld .ld-offer-card {
    position: relative;
    overflow: hidden;
    padding: 32px 28px;
    background: var(--ld-card);
    border: 1px solid var(--ld-border);
    border-radius: var(--ld-r);
    box-shadow: var(--ld-shadow-sm);
    text-align: center;
}
.ld .ld-offer-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--ld-p);
}
.ld .ld-offer-ribbon {
    position: absolute;
    top: 18px;
    right: -24px;
    padding: 4px 36px;
    background: var(--ld-p);
    color: var(--ld-on-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
}
.ld .ld-offer-eyebrow {
    margin-bottom: 6px;
    color: var(--ld-p);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.ld .ld-offer-price {
    margin: 8px 0 4px;
    color: var(--ld-p);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}
.ld .ld-offer-period {
    margin-bottom: 24px;
    color: var(--ld-light);
    font-size: 13px;
}
.ld .ld-offer-list {
    margin-bottom: 24px;
    text-align: left;
}
.ld .ld-offer-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--ld-border);
    color: var(--ld-muted);
    font-size: 14px;
    line-height: 1.5;
}
.ld .ld-offer-list li:last-child { border-bottom: none; }
.ld .ld-offer-list li::before {
    content: "";
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    margin-top: 5px;
    background: var(--ld-p);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ld .ld-offer-note {
    margin-top: 10px;
    color: var(--ld-light);
    font-size: 12px;
}

/* ── FAQ (.cc-faq) ───────────────────────────────────────────────────────── */
.ld .ld-faq .ld-title { margin-bottom: 32px; }
.ld .ld-faq-item { border-bottom: 1px solid var(--ld-border); }
.ld .ld-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--ld-text);
    font-family: var(--ld-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}
.ld .ld-faq-q:focus-visible { outline: 2px solid var(--ld-p); outline-offset: 2px; }
.ld .ld-faq-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--ld-p-light);
    border-radius: 50%;
    color: var(--ld-p);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: transform .2s, background .2s;
}
.ld .ld-faq-item.is-open .ld-faq-icon {
    background: var(--ld-p);
    color: var(--ld-on-dark);
    transform: rotate(45deg);
}
.ld .ld-faq-a {
    padding-bottom: 18px;
    color: var(--ld-muted);
    font-size: 14px;
    line-height: 1.65;
}
.ld .ld-faq-a p + p { margin-top: 10px; }
.ld.is-js .ld-faq-item:not(.is-open) .ld-faq-a { display: none; }

/* ── CTA-смуга (.cc-cta) ─────────────────────────────────────────────────── */
.ld .ld-cta {
    padding: 64px 24px;
    background: var(--ld-p);
    text-align: center;
}
.ld .ld-cta-title {
    margin-bottom: 14px;
    color: var(--ld-on-dark);
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
}
.ld .ld-cta-text {
    max-width: 480px;
    margin: 0 auto 28px;
    color: var(--ld-cta-text);
    font-size: 15px;
}
.ld .ld-cta-note {
    margin-top: 12px;
    color: var(--ld-cta-note);
    font-size: 12px;
}
.ld .ld-cta-note a,
.ld .ld-cta-note a:hover { color: var(--ld-cta-link); text-decoration: underline; }

/* ── SEO-блок (.cc-seo) ──────────────────────────────────────────────────── */
.ld .ld-seo {
    padding: 48px 24px;
    background: var(--ld-bg);
    border-top: 1px solid var(--ld-border);
}
.ld .ld-seo-text h2 {
    margin-bottom: 12px;
    color: var(--ld-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}
.ld .ld-seo-text h3,
.ld .ld-seo-text h4 {
    margin: 16px 0 10px;
    color: var(--ld-text);
    font-size: 13px;
    font-weight: 600;
}
.ld .ld-seo-text p {
    margin-bottom: 10px;
    color: var(--ld-muted);
    font-size: 13px;
    line-height: 1.7;
}
.ld .ld-seo-text ul + p { margin-top: 16px; }
.ld .ld-seo-text li {
    position: relative;
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid var(--ld-border);
    color: var(--ld-muted);
    font-size: 13px;
}
.ld .ld-seo-text li:last-child { border-bottom: none; }
.ld .ld-seo-text li::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--ld-p);
    border-radius: 50%;
}
.ld .ld-seo-text li strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ld-text);
    font-weight: 600;
}
.ld .ld-seo-text a { color: var(--ld-p); }

/* ── Поява блоків (js/landing.js, IntersectionObserver 0.08) ─────────────── */
.ld.is-js .ld-fade {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease, box-shadow .2s;
}
.ld.is-js .ld-fade.in { opacity: 1; transform: none; }

/* ── Тарифи (partials/plans-grid.php, режим landing; plans-landing.css WP) ── */
.ld .ld-plans {
    padding: 56px 24px;
    background: var(--ld-white);
    border-bottom: 1px solid var(--ld-border);
}
.ld .ld-plans-inner {
    max-width: 960px;
    margin: 0 auto;
}
.ld .plan-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 28px;
    padding: 4px;
    background: var(--ld-p-light);
    border-radius: 24px;
}
.ld .plan-toggle-btn {
    padding: 8px 20px;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: var(--ld-p);
    font-family: var(--ld-font);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.ld .plan-toggle-btn.active { background: var(--ld-p); color: var(--ld-on-dark); }
.ld .plan-toggle-discount { color: var(--ld-violet); }
.ld .plan-toggle-btn.active .plan-toggle-discount { color: var(--ld-on-accent); }
.ld .plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.ld .plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--ld-card);
    border: 2px solid transparent;
    border-radius: var(--ld-r);
    box-shadow: var(--ld-shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.ld .plan-card.plan-dominant {
    z-index: 1;
    background: linear-gradient(160deg, var(--ld-p-light) 0%, var(--ld-card) 60%);
    border-color: var(--ld-p);
    box-shadow: var(--ld-shadow-plan);
}
.ld .plan-popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    padding: 3px 14px;
    background: linear-gradient(90deg, var(--ld-p), var(--ld-violet));
    border-radius: 20px;
    color: var(--ld-on-dark);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
}
.ld .plan-name {
    margin-bottom: 2px;
    color: var(--ld-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}
.ld .plan-name.plan-pro { color: var(--ld-p); }
.ld .plan-desc {
    margin-bottom: 8px;
    color: var(--ld-p);
    font-size: 12px;
}
.ld .plan-subtitle {
    margin-bottom: 2px;
    color: var(--ld-light);
    font-size: 12px;
}
.ld .plan-price {
    margin-bottom: 4px;
    color: var(--ld-text);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
}
.ld .plan-price.plan-free { color: var(--ld-green); font-size: 22px; }
.ld .plan-price-yearly-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--ld-green);
    font-size: 14px;
    font-weight: 600;
}
.ld .plan-price-yearly-note[hidden] { display: none; }
.ld .plan-price-yearly-note s { color: var(--ld-muted); font-size: 15px; font-weight: 400; }
.ld .plan-price-sms {
    margin-bottom: 16px;
    color: var(--ld-faint);
    font-size: 11px;
}
.ld .plan-includes-pro {
    margin-bottom: 4px;
    padding: 8px 12px;
    background: var(--ld-p-light);
    border-radius: 8px;
    color: var(--ld-p);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.ld .plan-hook-text {
    margin-bottom: 14px;
    color: var(--ld-muted);
    font-size: 12px;
    line-height: 1.5;
}
.ld .plan-features {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}
.ld .plan-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ld .plan-feature.hidden-feature { display: none; }
.ld .plan-card.is-expanded .plan-feature.hidden-feature { display: flex; }
.ld .plan-feature-icon { flex-shrink: 0; width: 14px; height: 14px; }
.ld .plan-feature-icon.on { color: var(--ld-green); }
.ld .plan-feature-icon.off { color: var(--ld-off); }
.ld .plan-feature-label {
    border-bottom: 1px dashed transparent;
    color: var(--ld-text);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}
.ld .plan-feature-label:hover,
.ld .plan-feature-label:focus-visible {
    border-bottom-color: var(--ld-p);
    outline: none;
    color: var(--ld-p);
}
.ld .plan-feature-label.dim,
.ld .plan-feature-label.dim .plan-feature-val { color: var(--ld-dim); }
.ld .plan-feature-val { color: var(--ld-text); font-weight: 700; }
.ld .plan-feature-val-unlimited { color: var(--ld-p); font-weight: 700; }
.ld .plan-feature-val-unlimited--biz { color: var(--ld-violet); font-size: 13px; font-weight: 800; }
.ld .plan-feature-highlight { font-weight: 700; }
.ld .plan-badge-bonus,
.ld .plan-badge-included {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--ld-on-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
}
.ld .plan-badge-bonus { background: linear-gradient(135deg, var(--ld-green), var(--ld-green-dark)); }
.ld .plan-badge-included { background: linear-gradient(135deg, var(--ld-p), var(--ld-violet)); }
.ld .plan-show-more {
    align-self: flex-start;
    padding: 2px 0 12px;
    background: none;
    border: none;
    color: var(--ld-p);
    font-family: var(--ld-font);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}
/* кнопка — внизу картки: кнопки двох карток на одній лінії (у WP — гармошка, align-items: start) */
.ld .btn-plan-cta {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: var(--ld-font);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}
.ld .btn-plan-cta--pro,
.ld .btn-plan-cta--pro:hover { color: var(--ld-on-dark); }
.ld .btn-plan-cta--pro {
    background: linear-gradient(135deg, var(--ld-p), var(--ld-violet));
    border: none;
    box-shadow: var(--ld-shadow-cta);
}
.ld .btn-plan-cta--pro:hover { box-shadow: var(--ld-shadow-cta-hover); transform: translateY(-1px); }
.ld .btn-plan-cta--biz {
    background: transparent;
    border: 2px solid var(--ld-off);
    color: var(--ld-neutral);
}
.ld .btn-plan-cta--biz:hover { border-color: var(--ld-p); color: var(--ld-p); }
.ld .plans-tip {
    display: none;
    position: fixed;
    z-index: 99999;
    width: 260px;
    max-width: calc(100vw - 16px);
    padding: 10px 14px;
    background: var(--ld-card);
    border: 1px solid var(--ld-tip-border);
    border-radius: 8px;
    box-shadow: var(--ld-shadow-tip);
    color: var(--ld-text);
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
    pointer-events: none;
}
.ld .plans-tip.plan-tip-visible { display: block; }

/* ── Телефон (≤ 700) і проміжні ширини (701–960), як у WP ────────────────── */
@media (max-width: 700px) {
    .ld .ld-hero { padding: 48px 16px 40px; }
    .ld .ld-hero-cta { flex-direction: column; align-items: center; }
    .ld .ld-hero-cta .ld-btn { width: 100%; max-width: 300px; }
    .ld--hub .ld-hero-cta .ld-btn { width: auto; }
    .ld .ld-sec,
    .ld .ld-cards--strip,
    .ld .ld-cta,
    .ld .ld-seo { padding-right: 16px; padding-left: 16px; }
    .ld .ld-stats { grid-template-columns: repeat(2, 1fr); }
    .ld .ld-stat:nth-child(2n) { border-right: none; }
    .ld .ld-stat:nth-child(n+3) { border-top: 1px solid var(--ld-border); }
    .ld .ld-stats--three { grid-template-columns: 1fr; }
    .ld .ld-stats--three .ld-stat { border-top: 0; border-right: none; border-bottom: 1px solid var(--ld-border); }
    .ld .ld-stats--three .ld-stat:last-child { border-bottom: none; }
    .ld .ld-grid,
    .ld .ld-cards--pain .ld-grid,
    .ld .ld-cards--features-wide .ld-grid { grid-template-columns: 1fr; }
    .ld .ld-steps { flex-direction: column; gap: 28px; }
    .ld .ld-step { width: 100%; }
    .ld .ld-step-arrow { display: none; }
    .ld .ld-strip { flex-direction: column; }
    .ld .ld-strip-item { border-right: none; border-bottom: 1px solid var(--ld-border); }
    .ld .ld-strip-item:last-child { border-bottom: none; }
    /* Таблиця порівняння (доробка 1). У WP на телефоні — та сама сітка 1.8fr / 1fr / 1fr без переносу: заголовок і
       значення виходили за колонки. Тут назва функції — рядком над своїми значеннями на всю ширину, дві колонки значень
       ділять ширину навпіл; заголовок «Функція» — лише для читачів екрана (видимий рядок функції його повторює).
       Текст переноситься в межах колонки (переноси за lang="uk"; слово, довше за колонку, — розривом). */
    .ld .ld-table { position: relative; }
    .ld .ld-table-head,
    .ld .ld-table-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .ld .ld-table-head > span:first-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .ld .ld-table-head > span,
    .ld .ld-table-row > span {
        min-width: 0;
        padding: 10px;
        font-size: 12px;
        overflow-wrap: anywhere;
        hyphens: auto;
    }
    .ld .ld-table-head > span { letter-spacing: .5px; text-align: center; }
    .ld .ld-table-row > span:first-child {
        grid-column: 1 / -1;
        padding-bottom: 8px;
        border-right: none;
        border-bottom: 1px solid var(--ld-border);
    }
    .ld .ld-table-row > span > span { min-width: 0; }
    .ld .ld-mark { margin-right: 4px; }
    .ld .ld-offer-card { padding: 24px 18px; }
    .ld .ld-plans { padding: 40px 16px; }
    .ld .plans-grid { grid-template-columns: 1fr; }
    .ld .plan-toggle-wrap { width: 100%; }
    .ld .plan-toggle-btn { flex: 1; text-align: center; }
}
@media (min-width: 701px) and (max-width: 960px) {
    .ld .ld-cards--features .ld-grid,
    .ld .ld-cards--products .ld-grid { grid-template-columns: repeat(2, 1fr); }
    .ld .ld-stats:not(.ld-stats--three) { grid-template-columns: repeat(2, 1fr); }
    .ld .ld-stats:not(.ld-stats--three) .ld-stat:nth-child(2n) { border-right: none; }
    .ld .ld-stats:not(.ld-stats--three) .ld-stat:nth-child(n+3) { border-top: 1px solid var(--ld-border); }
    .ld .plans-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .ld .ld-hero-tag-dot { animation: none; }
    .ld.is-js .ld-fade { opacity: 1; transform: none; transition: none; }
}
