/* ============================================================
   SaaSrat Lead Popup v2.2
   Left : Bold indigo branding panel (solid)
   Right: Clean white panel
   No top progress bar. Logo + title inline. No icon boxes.
   No skip link.
   JS IDs 100% preserved — no JS changes needed.
   ============================================================ */

#leadModal *, #leadModal *::before, #leadModal *::after {
    box-sizing: border-box;
}

/* ── Overlay ───────────────────────────────────────────────── */
.lead-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 36, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lead-overlay.active { opacity: 1; visibility: visible; }

/* ── Modal — full viewport ─────────────────────────────────── */
.lead-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    background: transparent;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: opacity 0.32s ease, visibility 0.32s ease, transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.lead-modal.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* ── Progress bar — hidden ─────────────────────────────────── */
.lead-progress { display: none; }
.lead-progress-fill { display: none; }

/* ── Two-column split ──────────────────────────────────────── */
.lead-split {
    display: flex;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   LEFT PANEL — Solid indigo
   ════════════════════════════════════════════════════════════ */
.lead-panel-left {
    width: 42%;
    flex-shrink: 0;
    background: #3730a3;
    background-image:
        radial-gradient(ellipse at 15% 25%, rgba(139,92,246,0.5)  0%, transparent 55%),
        radial-gradient(ellipse at 85% 75%, rgba(16,185,129,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 5%,  rgba(99,102,241,0.35) 0%, transparent 40%);
    padding: 52px 48px 44px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.lead-panel-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.lead-panel-left::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(167,139,250,0.22) 0%, transparent 70%);
    pointer-events: none;
}

/* Badge */
.lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.95);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 36px;
    width: fit-content;
    position: relative;
    z-index: 1;
}
.lead-badge-dot {
    width: 7px; height: 7px;
    background: #34d399; border-radius: 50%;
    animation: lv2-pulse 2s ease-in-out infinite;
}
@keyframes lv2-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.6); }
}

/* Logo + Title — INLINE ROW */
.lead-title-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;  /* logo pins to top of two-line title */
    gap: 16px;
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}
.lead-title-logo {
    width: 56px; height: 56px;
    border-radius: 14px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    flex-shrink: 0;
}
.lead-title {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.3px;
}
/* CTA second line — smaller, soft mint highlight pill */
.lead-title-cta {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: #a5f3d0;
    letter-spacing: 0.01em;
    margin-top: 6px;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 6px;
    padding: 3px 10px;
    line-height: 1.5;
}

/* Subtitle */
.lead-subtitle {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 36px 0;
    position: relative;
    z-index: 1;
}

/* Divider */
.lead-panel-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 0 0 32px 0;
    position: relative;
    z-index: 1;
}

/* Trust list — CSS checkmarks only, no icon boxes */
.lead-trust-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    z-index: 1;
    flex: 1;
}
.lead-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.lead-trust-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(52,211,153,0.2);
    border: 1.5px solid rgba(52,211,153,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0;
    color: transparent;
}
.lead-trust-icon::after {
    content: '';
    display: block;
    width: 5px; height: 9px;
    border: 2px solid #34d399;
    border-top: none; border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}
.lead-trust-text strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}
.lead-trust-text span {
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
}

/* Skip link */
.lead-skip-link {
    margin-top: auto;
    padding-top: 36px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    width: fit-content;
}
.lead-skip-link:hover { color: rgba(255,255,255,0.9); }

/* ════════════════════════════════════════════════════════════
   RIGHT PANEL — Clean white (same as the good earlier version)
   ════════════════════════════════════════════════════════════ */
.lead-panel-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
    position: relative;
}

/* Close button */
.lead-close {
    position: absolute;
    top: 20px; right: 24px;
    width: 36px; height: 36px;
    background: #f1f5f9;
    border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.25s;
    z-index: 20;
}
.lead-close:hover { background: #e2e8f0; transform: rotate(90deg); }
.lead-close svg { width: 16px; height: 16px; color: #64748b; }

/* Step dots */
.lead-step-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 36px 48px 0;
    flex-shrink: 0;
}
.lead-step-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
}
.lead-step-dot.active { background: #4f46e5; width: 28px; border-radius: 5px; }
.lead-step-dot.done   { background: #10b981; }

/* Scrollable body */
.lead-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 28px 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* always top-aligned — no jump on step 5 */
}

/* ── Steps ─────────────────────────────────────────────────── */
.lead-step { display: none; animation: lv2-fadeUp 0.3s ease; }
.lead-step.active { display: block; }
@keyframes lv2-fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lead-step-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}
.lead-step-sub {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.55;
}

/* ── Choice Cards ───────────────────────────────────────────── */
.lead-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 4px; }
.lead-choice-grid.three { grid-template-columns: repeat(3, 1fr); }

.lead-choice-card {
    border: 2px solid #e8eaf0;
    border-radius: 16px;
    padding: 24px 16px 20px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.18s;
    text-align: center;
    position: relative;
    background: #fafbff;
}
.lead-choice-card:hover {
    border-color: #6366f1;
    background: #eef2ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.14);
}
.lead-choice-card.selected {
    border-color: #4f46e5;
    background: #eef2ff;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
.lead-choice-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px; right: 14px;
    color: #4f46e5;
    font-size: 13px; font-weight: 800;
}
.lead-choice-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.lead-choice-icon svg { width: 30px; height: 30px; color: #4f46e5; }
.lead-choice-label { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.lead-choice-sub   { font-size: 12px; color: #64748b; margin-top: 4px; }

/* ── Chips ──────────────────────────────────────────────────── */
.lead-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.lead-chip {
    border: 2px solid #e2e8f0;
    border-radius: 100px;
    padding: 11px 24px;
    cursor: pointer;
    font-size: 14px; font-weight: 500;
    color: #475569; background: #f8fafc;
    transition: all 0.18s; white-space: nowrap;
}
.lead-chip:hover { border-color: #6366f1; color: #4f46e5; background: #eef2ff; }
.lead-chip.selected { border-color: #4f46e5; background: #4f46e5; color: #fff; box-shadow: 0 4px 16px rgba(79,70,229,0.3); }

/* ── Nav row ────────────────────────────────────────────────── */
.lead-nav-row { display: flex; align-items: center; margin-top: 32px; gap: 14px; }
.lead-step-counter { font-size: 13px; font-weight: 600; color: #94a3b8; white-space: nowrap; flex-shrink: 0; }

/* Buttons */
.lead-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 32px; border-radius: 12px;
    font-family: inherit; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.2s; border: none; outline: none;
}
.lead-btn-back {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #64748b; padding: 13px 22px;
}
.lead-btn-back:hover { border-color: #94a3b8; background: #f8fafc; }
.lead-btn-next {
    background: #4f46e5; color: #fff;
    flex: 1; justify-content: center;
    box-shadow: 0 6px 20px rgba(79,70,229,0.32);
}
.lead-btn-next:hover:not(:disabled) { background: #3730a3; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(79,70,229,0.4); }
.lead-btn-next:disabled,
.lead-btn-submit:disabled { background: #e8ecf4; color: #a0aec0; box-shadow: none; transform: none; cursor: not-allowed; }
.lead-btn-submit {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff; flex: 1; justify-content: center;
    box-shadow: 0 6px 22px rgba(79,70,229,0.35);
}
.lead-btn-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(79,70,229,0.44); }

/* No-spam */
.lead-no-spam {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; font-size: 12.5px; color: #94a3b8; margin-top: 14px;
}
.lead-no-spam svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Contact Form ───────────────────────────────────────────── */
.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.lead-form-row.full { grid-template-columns: 1fr; }
.lead-form-group { display: flex; flex-direction: column; gap: 6px; }
.lead-form-group label { font-size: 11px; font-weight: 700; color: #64748b; letter-spacing: 0.06em; text-transform: uppercase; }
.lead-form-group input {
    border: 2px solid #e8ecf4; border-radius: 12px; padding: 13px 16px;
    font-family: inherit; font-size: 15px; color: #0f172a;
    background: #f8fafc; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lead-form-group input:focus { border-color: #4f46e5; background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.lead-form-group input.error { border-color: #ef4444; }
.lead-field-error { font-size: 11px; color: #ef4444; }

/* Privacy */
.lead-privacy {
    text-align: center; font-size: 12px; color: #94a3b8; margin-top: 18px;
    display: flex; align-items: center; justify-content: center; gap: 5px; line-height: 1.5;
}
.lead-privacy svg { width: 14px; height: 14px; flex-shrink: 0; }
.lead-privacy a { color: #4f46e5; text-decoration: underline; text-underline-offset: 2px; }
.lead-privacy a:hover { color: #3730a3; }

/* ── Phone picker ───────────────────────────────────────────── */
.lead-phone-wrapper {
    position: relative; display: flex; align-items: center;
    border: 2px solid #e8ecf4; border-radius: 12px; background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lead-phone-wrapper:focus-within,
.lead-phone-wrapper.lead-phone-open { border-color: #4f46e5; background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.lead-phone-trigger {
    display: flex; align-items: center; gap: 4px;
    padding: 0 10px 0 14px; height: 100%; min-height: 46px;
    background: transparent; border: none;
    border-right: 2px solid #e8ecf4;
    border-radius: 10px 0 0 10px; cursor: pointer;
    font-size: 15px; color: #0f172a; white-space: nowrap;
    flex-shrink: 0; outline: none; transition: background 0.15s;
}
.lead-phone-trigger:hover { background: #eef2ff; }
.lead-phone-trigger span:first-child { font-size: 18px; line-height: 1; }
.lead-phone-caret { width: 13px; height: 13px; color: #94a3b8; flex-shrink: 0; transition: transform 0.2s; }
.lead-phone-open .lead-phone-caret { transform: rotate(180deg); }
.lead-phone-wrapper input[type="tel"] {
    flex: 1; min-width: 0; border: none; border-radius: 0 10px 10px 0;
    padding: 13px 14px; font-family: inherit; font-size: 15px;
    color: #0f172a; background: transparent; outline: none;
}
.lead-phone-dropdown {
    display: none; position: absolute; bottom: calc(100% + 6px); left: 0;
    width: 290px; max-height: 260px; background: #fff;
    border: 2px solid #e2e8f0; border-radius: 14px;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12); z-index: 10000;
    overflow: hidden; flex-direction: column;
}
.lead-phone-dropdown.open { display: flex; flex-direction: column; }
.lead-phone-search-wrap { padding: 10px 10px 8px; border-bottom: 1px solid #f1f5f9; flex-shrink: 0; }
.lead-phone-search {
    width: 100%; padding: 8px 12px; border: 1.5px solid #e2e8f0;
    border-radius: 8px; font-size: 13px; color: #0f172a;
    background: #f8fafc; outline: none; font-family: inherit; box-sizing: border-box;
}
.lead-phone-search:focus { border-color: #4f46e5; background: #fff; }
.lead-phone-list { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; flex: 1; }
.lead-phone-list li { display: flex; align-items: center; gap: 8px; padding: 9px 14px; cursor: pointer; font-size: 13px; color: #374151; transition: background 0.15s; }
.lead-phone-list li:hover, .lead-phone-list li.selected { background: #eef2ff; color: #4338ca; }
.lead-phone-list li .lp-flag { font-size: 18px; line-height: 1; flex-shrink: 0; }
.lead-phone-list li .lp-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-phone-list li .lp-dial { color: #94a3b8; font-size: 12px; flex-shrink: 0; }
.lead-phone-list li.lp-no-results { color: #94a3b8; cursor: default; font-style: italic; }
.lead-phone-list li.lp-no-results:hover { background: transparent; }

/* ── Success ─────────────────────────────────────────────────── */
.lead-success { text-align: center; padding: 60px 24px; }
.lead-success-icon {
    width: 88px; height: 88px;
    background: linear-gradient(135deg, #4f46e5, #10b981);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px; box-shadow: 0 12px 36px rgba(79,70,229,0.3);
}
.lead-success-icon svg { width: 44px; height: 44px; color: #fff; }
.lead-success h3 { font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 14px; }
.lead-success p { color: #64748b; font-size: 16px; line-height: 1.65; }

/* ── Email confirm ──────────────────────────────────────────── */
.lead-email-confirm {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.96);
    display: flex; align-items: center; justify-content: center; z-index: 10;
}
.lead-email-confirm-box { text-align: center; padding: 28px; max-width: 340px; }
.lead-email-confirm-icon { font-size: 44px; margin-bottom: 14px; }
.lead-email-confirm-title { font-size: 19px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.lead-email-confirm-text { font-size: 14px; color: #64748b; line-height: 1.55; margin-bottom: 22px; }
.lead-email-confirm-btns { display: flex; gap: 10px; justify-content: center; }
.lead-email-confirm-btns .lead-btn { flex: 1; padding: 13px 18px; font-size: 14px; }

/* ── Spinner ─────────────────────────────────────────────────── */
.lead-btn .lead-spinner { display: none; width: 19px; height: 19px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: lv2-spin 0.8s linear infinite; }
.lead-btn.loading .lead-spinner { display: block; }
.lead-btn.loading .lead-btn-text { display: none; }
@keyframes lv2-spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════
   COMPACT MODE (Step 5)
   ════════════════════════════════════════════════════════════ */
.lead-modal-compact .lead-panel-left { padding: 40px 44px; }
/* title stays at 28px — no shrink on step 5 */
.lead-modal-compact .lead-trust-text span { font-size: 12px; }
.lead-modal-compact .lead-body { padding: 16px 48px 28px; }
.lead-modal-compact .lead-step-dots { padding: 18px 48px 0; }
.lead-modal-compact .lead-step-title { font-size: 20px; }
.lead-modal-compact .lead-step-sub { font-size: 13px; margin-bottom: 14px; }
.lead-modal-compact .lead-form-row { margin-bottom: 11px; gap: 12px; }
.lead-modal-compact .lead-form-group input { padding: 11px 14px; font-size: 14px; }
.lead-modal-compact .lead-nav-row { margin-top: 16px; }
.lead-modal-compact .lead-btn { padding: 12px 24px; font-size: 14px; }
.lead-modal-compact .lead-phone-trigger { min-height: 42px; }
.lead-modal-compact .lead-phone-wrapper input[type="tel"] { padding: 11px 12px; font-size: 14px; }

/* ════════════════════════════════════════════════════════════
   Callback helpers (kept from v1)
   ════════════════════════════════════════════════════════════ */
.lead-callback-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: #10b981; color: #fff; font-size: 14px; font-weight: 600; border-radius: 10px; cursor: pointer; transition: all 0.2s; border: none; text-decoration: none; white-space: nowrap; }
.lead-callback-btn:hover { background: #059669; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.lead-callback-btn svg { width: 18px; height: 18px; }
.category-stats-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.category-stats-left { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.category-stats-right { display: flex; align-items: center; gap: 16px; }
.agent-avatars { display: flex; align-items: center; }
.agent-avatar { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); object-fit: cover; margin-left: -12px; }
.agent-avatar:first-child { margin-left: 0; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .lead-panel-left { width: 40%; padding: 44px 36px; }
    .lead-title { font-size: 24px; }
    .lead-body { padding: 24px 40px 36px; }
    .lead-step-dots { padding: 28px 40px 0; }
    .lead-step-title { font-size: 22px; }
}

@media (max-width: 768px) {
    .lead-split { flex-direction: column; overflow-y: auto; }
    .lead-panel-left { width: 100%; padding: 20px 24px 16px; flex-direction: column; min-height: unset; }
    .lead-panel-left::before, .lead-panel-left::after { display: none; }
    .lead-title-row { flex-direction: row; align-items: center; margin-bottom: 0; }
    .lead-title-logo { width: 40px; height: 40px; }
    .lead-title { font-size: 17px; }
    /* hide everything except logo+title in the top bar */
    .lead-subtitle, .lead-panel-divider, .lead-trust-list, .lead-badge, .lead-skip-link { display: none; }
    .lead-panel-right { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
    .lead-body { flex: 1; overflow-y: auto; padding: 20px 24px 32px; justify-content: flex-start; }
    .lead-step-dots { padding: 18px 24px 0; }
    .lead-step-title { font-size: 20px; }
    .lead-step-sub { font-size: 14px; margin-bottom: 22px; }
    .lead-choice-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lead-choice-grid.three { grid-template-columns: 1fr 1fr; }
    .lead-form-row { grid-template-columns: 1fr; }
    .lead-phone-dropdown { width: 100%; }
    .category-stats-row { flex-direction: column; align-items: flex-start; }
    .category-stats-right { width: 100%; justify-content: space-between; }

    /* Reset ALL compact-mode overrides on mobile so Step 5 matches every other step */
    .lead-modal-compact .lead-body        { padding: 20px 24px 32px; }
    .lead-modal-compact .lead-step-dots   { padding: 18px 24px 0; }
    .lead-modal-compact .lead-step-title  { font-size: 20px; }
    .lead-modal-compact .lead-step-sub    { font-size: 14px; margin-bottom: 22px; }
    .lead-modal-compact .lead-form-row    { margin-bottom: 14px; gap: 14px; }
    .lead-modal-compact .lead-form-group input { padding: 13px 16px; font-size: 15px; }
    .lead-modal-compact .lead-nav-row     { margin-top: 32px; }
    .lead-modal-compact .lead-btn         { padding: 15px 32px; font-size: 15px; }
    .lead-modal-compact .lead-phone-trigger { min-height: 46px; }
    .lead-modal-compact .lead-phone-wrapper input[type="tel"] { padding: 13px 14px; font-size: 15px; }
    /* left panel in compact mode — same compact top bar as all other steps */
    .lead-modal-compact .lead-panel-left  { padding: 20px 24px 16px; }
}

@media (max-width: 480px) {
    .lead-body { padding: 16px 20px 28px; }
    .lead-step-dots { padding: 16px 20px 0; }
    .lead-close { top: 14px; right: 14px; width: 34px; height: 34px; }
    .lead-choice-grid { grid-template-columns: 1fr; gap: 10px; }
    .lead-btn { padding: 13px 20px; font-size: 14px; }
}