/* assets/sro.css — стили модуля СРО, демо и лендинга (v1.3).
   Дизайн-система app.css: фиолетовый градиент #6d28d9→#7c3aed, карточки 14px, скругления 9px. */

/* ===== СРО: прогресс до цели 100 ===== */
.sro-goal-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sro-goal-num { font-size: 26px; font-weight: 800; color: #6d28d9; white-space: nowrap; }
.sro-goal-bar { flex: 1; min-width: 200px; margin: 0; }
.sro-counters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.sro-counter {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    min-width: 120px; padding: 10px 14px; border-radius: 12px;
    background: #f5f3ff; border: 1px solid #ede9fe; color: #1f2430;
}
.sro-counter:hover { background: #ede9fe; text-decoration: none; }
.sro-counter.active { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.sro-counter-num { font-size: 20px; font-weight: 800; line-height: 1.1; }
.sro-counter-label { font-size: 12px; text-align: center; opacity: .85; }

/* ===== СРО: бейджи статусов воронки ===== */
.sro-badge-candidate { background: #e5e7eb; color: #4b5563; }
.sro-badge-signing   { background: #fef9c3; color: #a16207; }
.sro-badge-signed    { background: #dbeafe; color: #1d4ed8; }
.sro-badge-elicense  { background: #ede9fe; color: #6d28d9; }
.sro-badge-active    { background: #dcfce7; color: #15803d; }
.sro-badge-partner   { background: #6d28d9; color: #fff; }

/* ===== СРО: карточка кандидата (2 колонки) ===== */
.sro-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 980px) { .sro-grid { grid-template-columns: 1fr; } }

/* ===== СРО: чеклист ===== */
.sro-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sro-check-item { display: flex; align-items: flex-start; gap: 8px; padding: 6px 8px; border-radius: 8px; }
.sro-check-item:hover { background: #f8fafc; }
.sro-check-item.done .sro-check-title { color: #6b7280; text-decoration: line-through; }
.sro-check-box {
    width: 22px; height: 22px; flex: 0 0 22px; cursor: pointer;
    border: 2px solid #7c3aed; border-radius: 6px; background: #fff;
    color: #16a34a; font-weight: 800; font-size: 13px; line-height: 1; padding: 0;
}
.sro-check-item.done .sro-check-box { background: #dcfce7; border-color: #16a34a; }
.sro-check-title { flex: 1; font-size: 14px; }
.sro-check-del {
    border: none; background: none; color: #dc2626; cursor: pointer;
    font-size: 16px; font-weight: 700; padding: 0 4px; opacity: .4;
}
.sro-check-item:hover .sro-check-del { opacity: 1; }

/* ===== СРО: факсимиле ===== */
.sro-faks {
    display: inline-block; padding: 8px 14px; margin-bottom: 8px;
    background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0/16px 16px;
    border: 1px solid #e2e8f0; border-radius: 10px;
}

/* ============================================================
   Лендинг (landing.php) — публичная страница без авторизации
   ============================================================ */
body.land { background: #fff; }
.land-hero {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 55%, #8b5cf6 100%);
    color: #fff; padding-bottom: 70px;
    box-shadow: 0 4px 24px rgba(109, 40, 217, .35);
}
.land-nav {
    max-width: 1180px; margin: 0 auto; padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.land-nav .brand-name { color: #fff; font-weight: 800; font-size: 19px; }
.land-nav .brand-app { color: rgba(255,255,255,.92); font-size: 15px; font-weight: 600; }
.land-nav-btns { display: flex; gap: 10px; }
.land-hero-inner { max-width: 860px; margin: 0 auto; padding: 54px 20px 0; text-align: center; }
.land-hero-inner h1 { font-size: 42px; line-height: 1.15; margin: 0 0 18px; }
.land-hero-sub { font-size: 18px; color: rgba(255,255,255,.92); margin: 0 0 30px; }
.land-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.land-btn {
    display: inline-block; padding: 13px 30px; border-radius: 11px;
    font-size: 16px; font-weight: 700; transition: transform .12s, filter .15s;
}
.land-btn:hover { transform: translateY(-1px); filter: brightness(1.05); text-decoration: none; }
.land-btn-white { background: #fff; color: #6d28d9; }
.land-btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.land-btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.land-hero-note { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.75); }

.land-main { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.land-section { padding: 56px 0 8px; }
.land-h2 { font-size: 28px; margin: 0 0 22px; text-align: center; }

.land-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.land-card {
    background: #fff; border-radius: 14px; padding: 22px;
    box-shadow: 0 2px 10px rgba(31, 41, 55, .07); border: 1px solid #f1f2f6;
}
.land-card h3 { margin: 8px 0 8px; font-size: 17px; }
.land-card p { margin: 0; color: #4b5563; font-size: 14px; }
.land-card-ico { font-size: 30px; }

.land-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.land-step {
    background: #f5f3ff; border: 1px solid #ede9fe; border-radius: 14px; padding: 22px; position: relative;
}
.land-step h3 { margin: 6px 0 8px; font-size: 17px; }
.land-step p { margin: 0; color: #4b5563; font-size: 14px; }
.land-step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #6d28d9, #7c3aed); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}

.land-sro {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
    border-radius: 18px; color: #fff; padding: 34px 36px;
    display: grid; grid-template-columns: 2fr 1fr; gap: 26px; align-items: center;
    box-shadow: 0 6px 24px rgba(109, 40, 217, .3);
}
.land-sro .land-h2 { text-align: left; color: #fff; }
.land-sro p { color: rgba(255,255,255,.92); font-size: 15px; }
.land-sro-cta { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .land-sro { grid-template-columns: 1fr; } }

.land-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.land-contact {
    background: #fff; border-radius: 14px; padding: 20px; text-align: center;
    box-shadow: 0 2px 10px rgba(31, 41, 55, .07); border: 1px solid #f1f2f6;
}

.land-foot {
    margin-top: 60px; padding: 26px 20px; text-align: center;
    background: #f3f4f8; color: #6b7280; font-size: 14px;
}

@media (max-width: 640px) {
    .land-hero-inner h1 { font-size: 30px; }
    .land-hero-sub { font-size: 16px; }
}
