/* ==========================================================================
   assets/landing.css — публичный лендинг ПФУ (landing.php / index.php для гостя).
   v2.6: редизайн — тёплая низконасыщенная палитра портала должника:
     фон #faf7f2, тёмно-бирюзовый #0f766e, латунный #a8853a, текст #1c1917.
   Самодостаточный файл (классы .ld-*): НЕ конфликтует со старыми .land-*
   из sro.css, которые продолжают использовать privacy.php и tariffs.php.
   Чистый CSS + ванильный JS на странице, без библиотек.
   ========================================================================== */

:root {
    --ld-bg: #faf7f2;
    --ld-card: #ffffff;
    --ld-ink: #1c1917;
    --ld-muted: #6f6a61;
    --ld-line: #ece4d6;
    --ld-teal: #0f766e;
    --ld-teal-dark: #0b5c56;
    --ld-teal-soft: #e9f4f2;
    --ld-brass: #a8853a;
    --ld-brass-dark: #8a6d2f;
    --ld-brass-soft: #fbf4e2;
    --ld-shadow: 0 2px 10px rgba(28, 25, 23, .06);
    --ld-shadow-up: 0 16px 36px rgba(28, 25, 23, .12);
    --ld-radius: 16px;
}

html { scroll-behavior: smooth; }

body.ld {
    background: var(--ld-bg);
    color: var(--ld-ink);
    font-size: 16px;
    line-height: 1.6;
}

.ld a { color: var(--ld-teal); }
.ld a:hover { color: var(--ld-teal-dark); }

/* Доступность: видимый фокус у всех интерактивных элементов лендинга */
.ld a:focus-visible,
.ld button:focus-visible,
.ld input:focus-visible,
.ld select:focus-visible {
    outline: 3px solid rgba(15, 118, 110, .45);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ===================== Sticky-шапка ===================== */
.ld-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(250, 247, 242, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ld-line);
}
.ld-topbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.ld-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.ld-brand-shield {
    width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ld-teal); color: #fff; font-size: 17px;
}
.ld-brand-name { font-weight: 800; font-size: 17px; color: var(--ld-ink); }
.ld-brand-name:hover { text-decoration: none; color: var(--ld-teal-dark); }
.ld-brand-divider { width: 1px; height: 22px; background: var(--ld-line); }
.ld-brand-app { color: var(--ld-muted); font-size: 14px; font-weight: 600; }

.ld-topnav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* NB: селекторы кнопок специально с префиксом .ld — иначе общее правило
   .ld a { color: var(--ld-teal) } (0-1-1) перебивает цвет текста кнопок-
   ссылок (0-1-0) и текст сливается с бирюзовым фоном (баг v2.6). */
.ld .ld-nav-btn {
    display: inline-block; padding: 8px 16px; border-radius: 10px;
    font-size: 14px; font-weight: 700; color: var(--ld-ink);
    border: 1px solid var(--ld-line); background: #fff;
    transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.ld .ld-nav-btn:hover {
    background: var(--ld-teal-soft); border-color: var(--ld-teal);
    color: var(--ld-teal-dark); text-decoration: none;
}
.ld .ld-nav-btn-primary {
    background: var(--ld-teal); border-color: var(--ld-teal); color: #fff;
}
.ld .ld-nav-btn-primary:hover { background: #115e59; border-color: #115e59; color: #fff; }

/* ===================== Кнопки ===================== */
.ld .ld-btn {
    display: inline-block; padding: 14px 30px; border-radius: 12px;
    font-size: 16px; font-weight: 600; text-align: center; cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.ld .ld-btn:hover { transform: translateY(-2px); text-decoration: none; }
/* primary: бирюзовый фон #0f766e, белый текст; hover #115e59 + подъём */
.ld .ld-btn-primary {
    background: #0f766e; color: #ffffff; border-color: #0f766e;
    box-shadow: 0 8px 22px rgba(15, 118, 110, .28);
}
.ld .ld-btn-primary:hover { background: #115e59; border-color: #115e59; color: #ffffff; box-shadow: 0 12px 28px rgba(15, 118, 110, .34); }
/* ghost: прозрачный фон, рамка и текст #0f766e */
.ld .ld-btn-ghost {
    background: transparent; color: #0f766e; border-color: #0f766e;
}
.ld .ld-btn-ghost:hover { background: var(--ld-teal-soft); color: #115e59; border-color: #115e59; }
/* малая ghost-кнопка — карточки контактов, интерактивный макет */
.ld .ld-btn-sm { padding: 7px 16px; font-size: 13px; border-radius: 9px; }

/* ===================== Hero с плавающими «пятнами» ===================== */
.ld-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 20px 90px;
    text-align: center;
}
/* Мягкие цветные blob'ы: radial-gradient + keyframes translate/scale (без JS) */
.ld-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.ld-blob-1 {
    width: 520px; height: 520px; top: -160px; left: -120px;
    background: radial-gradient(circle, rgba(15, 118, 110, .22) 0%, rgba(15, 118, 110, 0) 68%);
    animation: ldFloatA 24s ease-in-out infinite;
}
.ld-blob-2 {
    width: 460px; height: 460px; top: 6%; right: -140px;
    background: radial-gradient(circle, rgba(168, 133, 58, .20) 0%, rgba(168, 133, 58, 0) 68%);
    animation: ldFloatB 28s ease-in-out infinite;
}
.ld-blob-3 {
    width: 380px; height: 380px; bottom: -180px; left: 34%;
    background: radial-gradient(circle, rgba(15, 118, 110, .14) 0%, rgba(15, 118, 110, 0) 70%);
    animation: ldFloatA 30s ease-in-out infinite reverse;
}
@keyframes ldFloatA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(46px, -34px) scale(1.14); }
}
@keyframes ldFloatB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-52px, 38px) scale(1.1); }
}
/* Лёгкий grid-узор поверх фона hero */
.ld-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(28, 25, 23, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 25, 23, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 0%, transparent 78%);
}

.ld-hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.ld-eyebrow {
    display: inline-block; margin-bottom: 18px; padding: 6px 16px;
    border-radius: 999px; background: var(--ld-teal-soft);
    border: 1px solid rgba(15, 118, 110, .25);
    color: var(--ld-teal-dark); font-size: 13px; font-weight: 700;
}
.ld-hero h1 {
    margin: 0 0 20px;
    font-size: 46px; line-height: 1.12; font-weight: 800;
    letter-spacing: -.01em; color: var(--ld-ink);
}
.ld-hero h1 .ld-accent { color: var(--ld-teal); }
.ld-hero-sub {
    margin: 0 auto 34px; max-width: 720px;
    font-size: 18px; color: var(--ld-muted);
}
.ld-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Цифры в hero */
.ld-stats {
    display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
    margin-top: 52px;
}
.ld-stat {
    min-width: 150px; padding: 16px 20px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--ld-line); border-radius: var(--ld-radius);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.ld-stat-num { font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--ld-teal-dark); }
.ld-stat-num sup { font-size: 18px; font-weight: 700; color: var(--ld-brass); }
.ld-stat-label { font-size: 13px; color: var(--ld-muted); margin-top: 4px; }
.ld-hero-note { margin-top: 30px; font-size: 13px; color: var(--ld-muted); }

/* ===================== Секции ===================== */
.ld-main { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ld-section { padding: 60px 0 10px; }
.ld-h2 {
    font-size: 30px; font-weight: 800; margin: 0 0 12px;
    text-align: center; letter-spacing: -.01em; color: var(--ld-ink);
}
.ld-h2-sub {
    text-align: center; color: var(--ld-muted); font-size: 15px;
    margin: 0 auto 30px; max-width: 640px;
}

/* Появление секций при скролле: JS добавляет .visible (IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================== Карточки преимуществ ===================== */
.ld-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ld-card {
    background: var(--ld-card); border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius); padding: 24px;
    box-shadow: var(--ld-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ld-card:hover { transform: translateY(-4px); box-shadow: var(--ld-shadow-up); }
.ld-card-ico {
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; background: var(--ld-teal-soft);
    border: 1px solid rgba(15, 118, 110, .18);
}
.ld-card:nth-child(even) .ld-card-ico { background: var(--ld-brass-soft); border-color: rgba(168, 133, 58, .22); }
.ld-card h3 { margin: 12px 0 8px; font-size: 17px; color: var(--ld-ink); }
.ld-card p { margin: 0; color: var(--ld-muted); font-size: 14px; }
.ld-card p a { font-weight: 700; }

/* ===================== Этапы работы (numbered steps с линией) ===================== */
.ld-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* соединительная линия за номерами (только десктоп, 3 колонки) */
.ld-steps::before {
    content: "";
    position: absolute; top: 25px; left: 12%; right: 12%;
    height: 2px; background: repeating-linear-gradient(90deg, var(--ld-line) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.ld-step {
    position: relative; z-index: 1;
    background: var(--ld-card); border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius); padding: 24px;
    box-shadow: var(--ld-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ld-step:hover { transform: translateY(-4px); box-shadow: var(--ld-shadow-up); }
.ld-step-num {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--ld-teal); color: #fff;
    border: 4px solid var(--ld-bg);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 19px;
    box-shadow: 0 6px 16px rgba(15, 118, 110, .3);
}
.ld-step:nth-child(3) .ld-step-num { background: var(--ld-brass); box-shadow: 0 6px 16px rgba(168, 133, 58, .3); }
.ld-step h3 { margin: 12px 0 8px; font-size: 17px; color: var(--ld-ink); }
.ld-step p { margin: 0; color: var(--ld-muted); font-size: 14px; }

/* ===================== Блок заявки «Станьте ФУ» ===================== */
.ld-apply-wrap {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center;
    background: linear-gradient(135deg, var(--ld-teal-dark) 0%, var(--ld-teal) 100%);
    border-radius: 22px; padding: 40px 42px; color: #fff;
    box-shadow: 0 18px 44px rgba(15, 118, 110, .25);
    position: relative; overflow: hidden;
}
/* мягкие пятна и в тёмном блоке */
.ld-apply-wrap::before {
    content: ""; position: absolute; width: 340px; height: 340px;
    top: -140px; right: -100px; border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 244, 226, .16) 0%, rgba(251, 244, 226, 0) 70%);
    animation: ldFloatB 26s ease-in-out infinite;
    pointer-events: none;
}
.ld-apply-text { position: relative; z-index: 1; }
.ld-apply-text .ld-h2 { text-align: left; color: #fff; }
.ld-apply-text p { color: rgba(255, 255, 255, .92); font-size: 15px; }
.ld-apply-text p b { color: #fbf4e2; }
.ld-apply-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; align-items: flex-start; }
/* на тёмном бирюзовом блоке ghost-кнопки — белые полупрозрачные (иначе
   teal-на-teal); обычный ghost на светлом фоне — teal (см. блок кнопок выше) */
.ld .ld-apply-cta .ld-btn-ghost {
    background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55);
}
.ld .ld-apply-cta .ld-btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; border-color: rgba(255, 255, 255, .75); }
.ld-apply-or { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* Белая карточка формы на бирюзовом блоке */
.ld-apply {
    position: relative; z-index: 1;
    background: #fff; color: var(--ld-ink);
    border-radius: var(--ld-radius); padding: 26px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .22);
}
.ld-apply h3 { margin: 0 0 4px; font-size: 18px; color: var(--ld-teal-dark); }
.ld-apply-sub { font-size: 13px; color: var(--ld-muted); margin: 0 0 14px; }
.ld-apply label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ld-ink); }
.ld-apply input, .ld-apply select {
    width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 12px;
    border: 1px solid var(--ld-line); border-radius: 9px; font-size: 15px; font-weight: 400;
    background: #fff; color: var(--ld-ink);
}
.ld-apply input:focus, .ld-apply select:focus {
    outline: none; border-color: var(--ld-teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .16);
}
.ld-apply .ld-btn { width: 100%; border: none; }
.ld-apply .ld-apply-note { font-size: 12px; color: var(--ld-muted); margin: 10px 0 0; text-align: center; }
.ld-apply .ld-apply-note a { color: var(--ld-teal); text-decoration: underline; }

.ld-alert-ok {
    background: #ecfdf5; color: var(--ld-teal-dark); border: 1px solid #a9d8c6;
    border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px;
}
.ld-alert-ok a { color: var(--ld-teal-dark); text-decoration: underline; }
.ld-alert-err {
    background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5;
    border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px;
}
/* honeypot-поле — невидимо для людей */
.ld-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===================== Контакты ===================== */
.ld-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.ld-contact {
    background: var(--ld-card); border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius); padding: 20px;
    box-shadow: var(--ld-shadow); font-size: 14px; color: var(--ld-muted);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.ld-contact:hover { transform: translateY(-4px); box-shadow: var(--ld-shadow-up); }
/* нейтральный геометрический маркер вместо эмодзи: ромб teal / латунь */
.ld-contact-marker {
    width: 12px; height: 12px; border-radius: 3px;
    background: var(--ld-teal); transform: rotate(45deg);
    margin: 4px 0 6px 2px; flex: 0 0 auto;
}
.ld-contact:nth-child(even) .ld-contact-marker { background: var(--ld-brass); }
.ld-contact-title { color: var(--ld-ink); font-weight: 700; font-size: 15px; }
.ld-contact-val { line-height: 1.5; }
.ld-contact-val a { font-weight: 600; }
.ld-contact .ld-btn { margin-top: auto; }

/* ===================== Интерактивный макет АРМ «Юрист АЪ» ===================== */
.ld-mock {
    max-width: 920px; margin: 26px auto 0;
    background: #fff; border: 1px solid var(--ld-line); border-radius: 18px;
    box-shadow: 0 24px 60px rgba(28, 25, 23, .14); overflow: hidden; text-align: left;
}
.ld-mock-titlebar {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; background: #f4efe6; border-bottom: 1px solid var(--ld-line);
}
.ld-mock-dots { display: inline-flex; gap: 6px; }
.ld-mock-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.ld-mock-dots i:nth-child(1) { background: #e7816f; }
.ld-mock-dots i:nth-child(2) { background: #ecc96a; }
.ld-mock-dots i:nth-child(3) { background: #8fbf7f; }
.ld-mock-url {
    flex: 1; min-width: 0; padding: 4px 12px; border-radius: 8px;
    background: #fff; border: 1px solid var(--ld-line);
    color: var(--ld-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ld-mock-badge {
    flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
    background: var(--ld-brass-soft); color: var(--ld-brass-dark); border: 1px solid rgba(168, 133, 58, .3);
}
.ld-mock-progress { padding: 14px 18px 0; }
.ld-mock-progress-label {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 12px; font-weight: 700; color: var(--ld-muted); margin-bottom: 6px;
}
.ld-mock-progress-track { height: 8px; border-radius: 999px; background: var(--ld-teal-soft); overflow: hidden; }
.ld-mock-progress-bar {
    height: 100%; width: 12%; border-radius: 999px;
    background: linear-gradient(90deg, var(--ld-teal) 0%, #14958a 100%);
    transition: width .8s cubic-bezier(.22, 1, .36, 1);
}
.ld-mock-tabs {
    display: flex; gap: 8px; padding: 14px 18px 0;
    overflow-x: auto; scrollbar-width: thin;
}
.ld-mock-tab {
    flex: 0 0 auto; padding: 8px 16px; border-radius: 10px 10px 0 0;
    border: 1px solid transparent; border-bottom: none;
    background: transparent; color: var(--ld-muted);
    font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
    transition: background .15s ease, color .15s ease;
}
.ld-mock-tab:hover { color: var(--ld-teal-dark); background: var(--ld-teal-soft); }
.ld-mock-tab.active {
    background: #fbfaf7; border-color: var(--ld-line); color: var(--ld-teal-dark);
    position: relative;
}
.ld-mock-tab.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #fbfaf7;
}
.ld-mock-body {
    border-top: 1px solid var(--ld-line); background: #fbfaf7;
    padding: 20px 18px 22px; min-height: 260px;
}
.ld-mock-pane { display: none; }
.ld-mock-pane.active { display: block; animation: ldFadeIn .3s ease; }
@keyframes ldFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ld-mock-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border: 1px solid var(--ld-line); border-radius: 10px; overflow: hidden; }
.ld-mock-table th, .ld-mock-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--ld-line); }
.ld-mock-table th { background: var(--ld-teal-soft); color: var(--ld-teal-dark); font-size: 12px; }
.ld-mock-table tr:last-child td { border-bottom: none; }
.ld-mock-table td.ld-fillable { color: var(--ld-muted); transition: opacity .4s ease, color .4s ease; }
.ld-mock-table td.ld-fillable.ld-filling { opacity: 0; }
.ld-mock-table td.ld-fillable.ld-filled { color: var(--ld-ink); }

.ld-mock-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.ld .ld-mock-btn {
    display: inline-block; padding: 9px 18px; border-radius: 10px; cursor: pointer;
    font-size: 13px; font-weight: 600; font-family: inherit;
    background: #0f766e; color: #fff; border: 1px solid #0f766e;
    transition: background .15s ease, transform .12s ease;
}
.ld .ld-mock-btn:hover { background: #115e59; border-color: #115e59; transform: translateY(-1px); }
.ld .ld-mock-btn:disabled { opacity: .55; cursor: default; transform: none; }
.ld .ld-mock-btn-ghost { background: transparent; color: #0f766e; }
.ld .ld-mock-btn-ghost:hover { background: var(--ld-teal-soft); }

.ld-doc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--ld-line); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
.ld-doc-name { font-size: 13px; font-weight: 600; color: var(--ld-ink); flex: 1 1 200px; }
.ld-doc-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f4efe6; color: var(--ld-muted); border: 1px solid var(--ld-line); }
.ld-doc-status.ld-ok { background: #ecfdf5; color: var(--ld-teal-dark); border-color: #a9d8c6; }
.ld-doc-cat { flex-basis: 100%; font-size: 12px; color: var(--ld-teal-dark); display: none; }
.ld-doc.ld-done .ld-doc-cat { display: block; animation: ldFadeIn .4s ease; }
/* спиннер распознавания */
.ld-spinner {
    width: 14px; height: 14px; border-radius: 50%; display: inline-block; vertical-align: -2px;
    border: 2px solid rgba(15, 118, 110, .25); border-top-color: var(--ld-teal);
    animation: ldSpin .7s linear infinite; margin-right: 6px;
}
@keyframes ldSpin { to { transform: rotate(360deg); } }

.ld-chk { list-style: none; margin: 0; padding: 0; }
.ld-chk li {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    background: #fff; border: 1px solid var(--ld-line); border-radius: 10px;
    padding: 10px 14px; margin-bottom: 8px; font-size: 13px; color: var(--ld-ink);
    transition: border-color .15s ease, background .15s ease;
    user-select: none;
}
.ld-chk li:hover { border-color: var(--ld-teal); }
.ld-chk-box {
    flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px;
    border: 2px solid var(--ld-line); background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px; font-weight: 800; line-height: 1;
    transition: background .15s ease, border-color .15s ease;
}
.ld-chk li.ld-on { border-color: rgba(15, 118, 110, .45); background: var(--ld-teal-soft); }
.ld-chk li.ld-on .ld-chk-box { background: var(--ld-teal); border-color: var(--ld-teal); }
.ld-mock-ready {
    display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px;
    background: #ecfdf5; border: 1px solid #a9d8c6; color: var(--ld-teal-dark);
    font-size: 14px; font-weight: 700;
}
.ld-mock-ready.ld-show { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; animation: ldFadeIn .4s ease; }

/* тост поверх макета */
.ld-toast {
    position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(16px);
    z-index: 90; padding: 11px 20px; border-radius: 12px;
    background: var(--ld-teal-dark); color: #fff; font-size: 14px; font-weight: 600;
    box-shadow: 0 14px 34px rgba(15, 118, 110, .35);
    opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.ld-toast.ld-show { opacity: 1; transform: translateX(-50%) translateY(0); }

.ld-mock-caption { text-align: center; margin-top: 22px; color: var(--ld-muted); font-size: 14px; }
.ld-mock-caption .ld-btn { margin-top: 12px; }


/* ===================== Футер ===================== */
.ld-foot {
    margin-top: 70px; padding: 30px 20px; text-align: center;
    background: #f4efe6; border-top: 1px solid var(--ld-line);
    color: var(--ld-muted); font-size: 14px;
}
.ld-foot a { color: var(--ld-teal); font-weight: 600; }

/* ===================== Адаптив ===================== */
@media (max-width: 980px) {
    .ld-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .ld-apply-wrap { grid-template-columns: 1fr; padding: 30px 24px; }
    .ld-apply-text .ld-h2 { text-align: center; }
    .ld-apply-cta { align-items: center; }
    .ld-apply-text p { text-align: center; }
}
@media (max-width: 640px) {
    .ld-hero { padding: 56px 16px 64px; }
    .ld-hero h1 { font-size: 30px; }
    .ld-hero-sub { font-size: 16px; }
    .ld-h2 { font-size: 24px; }
    .ld-cards { grid-template-columns: 1fr; }
    .ld-steps { grid-template-columns: 1fr; }
    .ld-steps::before { display: none; }
    .ld-stat-num { font-size: 26px; }
    .ld-stat { min-width: 130px; padding: 12px 14px; }
    .ld-btn { padding: 13px 22px; font-size: 15px; }
    .ld-blob-1 { width: 320px; height: 320px; }
    .ld-blob-2 { width: 280px; height: 280px; }
    .ld-mock-body { padding: 14px 12px 16px; }
    .ld-mock-table th, .ld-mock-table td { padding: 7px 8px; font-size: 12px; }
    .ld-mock-tab { padding: 7px 12px; font-size: 13px; }
}

/* ===================== prefers-reduced-motion: всё статично ===================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .ld-blob, .ld-apply-wrap::before { animation: none; }
    .ld-card, .ld-step, .ld-contact, .ld-btn, .ld-nav-btn { transition: none; }
    .ld-card:hover, .ld-step:hover, .ld-contact:hover, .ld-btn:hover { transform: none; }
    .ld-mock-pane.active, .ld-doc.ld-done .ld-doc-cat, .ld-mock-ready.ld-show { animation: none; }
    .ld-mock-progress-bar, .ld-toast, .ld-chk li, .ld-chk-box { transition: none; }
    .ld-spinner { animation-duration: 1.8s; }
}
