.lead-card {
  background: linear-gradient(180deg, rgba(29,36,53,.95) 0%, rgba(17,24,39,.95) 100%);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 18px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
  position: relative;
  font-family: 'Inter', -apple-system, sans-serif;
}
.lead-card .lc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #F59E0B;
  padding: 4px 10px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 999px;
  margin-bottom: 16px;
}
.lead-card .lc-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 12px #F59E0B; }
.lead-card .lc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.2;
  color: #F1F5F9 !important;
  margin: 0 0 8px;
}
.lead-card .lc-title .ac { color: #F59E0B; }
.lead-card .lc-sub {
  font-size: 13.5px;
  color: #94A3B8; line-height: 1.45;
  margin-bottom: 20px;
}

.lead-card-form {
  display: flex; flex-direction: column; gap: 10px;
}
.lc-field {
  display: flex; align-items: stretch;
  background: #0F172A;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 14px;
  flex: 1;
  min-width: 0;
  min-height: 62px;
  position: relative;
}
.lc-field, .lc-field:focus, .lc-field:focus-within, .lc-field:focus-visible, .lc-field:hover, .lc-field:active { border-color: rgba(148,163,184,.16) !important; outline: none !important; box-shadow: none !important; transition: none !important; }

.lc-cc-picker {
  position: relative;
  display: flex; align-items: center; gap: 7px;
  padding: 0 11px 0 13px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(148,163,184,.12);
  color: #F1F5F9 !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.lc-cc-picker .lc-flag { font-size: 17px; line-height: 1; }
.lc-cc-picker .lc-arrow { color: #64748B; font-size: 9px; transition: transform .15s; }
.lc-cc-picker.open .lc-arrow { transform: rotate(180deg); }
.lc-cc-picker:hover { background: rgba(255,255,255,.03); }

.lc-cc-list {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #1D2435 !important;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 12px;
  padding: 6px;
  display: none;
  min-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.8);
}
.lc-cc-list.open { display: block; }
.lc-cc-search {
  width: 100%; padding: 9px 11px;
  background: rgba(15,23,42,0.8) !important;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 8px;
  color: #F1F5F9 !important;
  font-size: 13px; font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
  outline: 0;
  box-sizing: border-box;
}
.lc-cc-search:focus { border-color: #F59E0B; }
.lc-cc-search::placeholder { color: #6B7280; }
.lc-opt {
  display: grid; grid-template-columns: 22px 1fr auto;
  gap: 10px; align-items: center;
  padding: 9px 11px;
  font-size: 13.5px;
  color: #F1F5F9 !important;
  cursor: pointer; border-radius: 8px;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.lc-opt:hover { background: rgba(245,158,11,0.12); color: #F1F5F9 !important; }
.lc-opt .o-flag { font-size: 17px; line-height: 1; }
.lc-opt .o-code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #94A3B8 !important; }
.lc-opt.active { background: rgba(245,158,11,0.16); }
.lc-opt > * { color: inherit !important; }

.lc-input {
  flex: 1; min-width: 0;
  background: transparent; border: 0;
  padding: 0 18px;
  color: #F1F5F9 !important;
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 500;
  letter-spacing: 0.01em;
  outline: 0;
}
.lc-input::placeholder { color: #6B7280; font-weight: 400; }

.lc-toggle {
  background: transparent; border: 0;
  border-left: 1px solid rgba(148,163,184,.12);
  padding: 0 13px;
  color: #94A3B8;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
  transition: color .15s;
}
.lc-toggle:hover { color: #F59E0B; }
.lc-toggle svg { width: 13px; height: 13px; }

.lc-submit {
  background: #F59E0B;
  color: #0F172A;
  border: 0;
  padding: 0 26px;
  height: 56px;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s, background .15s;
  width: 100%;
}
.lc-submit:hover { background: #FBBF24; transform: translateY(-1px); }
.lc-submit svg { width: 16px; height: 16px; }
.lc-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.lc-agree {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.55;
  display: flex; align-items: flex-start; gap: 9px;
  cursor: pointer; user-select: none;
  margin-top: 6px;
  text-align: left;
}
.lc-agree input { margin-top: 2px; accent-color: #F59E0B; flex: 0 0 13px; }
.lc-agree a { color: #94A3B8; border-bottom: 1px solid rgba(148,163,184,.3); }
.lc-agree a:hover { color: #F59E0B; border-color: #F59E0B; }

.lc-ok, .lc-err {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 10px;
}
.lc-ok { background: rgba(16,185,129,.14); color: #34D399; border: 1px solid rgba(16,185,129,.3); }
.lc-err { background: rgba(220,38,38,.14); color: #F87171; border: 1px solid rgba(220,38,38,.3); }
.lead-card.sent .lc-ok { display: block; }
.lead-card.sent .lead-card-form, .lead-card.sent .lc-agree { display: none; }
.lead-card.errored .lc-err { display: block; }

.lc-trust {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(148,163,184,.10);
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #6B7280;
  letter-spacing: 0.02em;
}
.lc-trust span { display: inline-flex; align-items: center; gap: 5px; }
.lc-trust span::before { content: "✓"; color: #34D399; }

/* ============ POPUP OVERLAY (lead-pop) ============ */
.lp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 22, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 999999;
  padding: 4vh 16px 16px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .25s ease;
}
.lp-overlay.open { display: flex; opacity: 1; }
.lp-shell {
  width: 100%;
  max-width: 480px;
  position: relative;
  margin-top: 6vh;
  transform: translateY(16px);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.lp-overlay.open .lp-shell { transform: none; }
.lp-shell .lead-card { padding: 36px 30px 26px; }
.lp-close {
  position: absolute;
  top: -14px; right: -14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #0F172A;
  border: 1px solid rgba(245,158,11,0.4);
  color: #F1F5F9;
  font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .15s, background .15s;
  z-index: 2;
}
.lp-close:hover { background: #F59E0B; color: #0F172A; transform: rotate(90deg); }
.lp-close svg { width: 14px; height: 14px; }

@media (max-width: 560px) {
  .lp-shell { max-width: 100%; margin-top: 2vh; }
  .lp-shell .lead-card { padding: 28px 22px 22px; border-radius: 14px; }
  .lp-close { top: -12px; right: -2px; width: 32px; height: 32px; }
}

/* ============ LEAD-POP v2: типы попапов ============ */
/* блок зачёркнутой цены (return-попап «бесплатный аудит») */
.lp-price {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 2px 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245,158,11,0.10) 0%, rgba(16,185,129,0.06) 100%);
  border: 1px solid rgba(245,158,11,0.22);
  font-family: 'Space Grotesk', sans-serif;
}
.lead-card.lp-has-price .lp-price { display: flex; }
.lp-price .lp-price-label { font-size: 13px; color: #94A3B8; font-family: 'Inter', sans-serif; line-height: 1.3; }
.lp-price .lp-price-old {
  font-size: 17px; font-weight: 600; color: #94A3B8;
  text-decoration: line-through; text-decoration-color: #EF4444;
  text-decoration-thickness: 2px; white-space: nowrap;
}
.lp-price .lp-price-arrow { color: #64748B; font-size: 14px; }
.lp-price .lp-price-new {
  font-size: 22px; font-weight: 700; color: #34D399; white-space: nowrap;
  text-shadow: 0 0 16px rgba(52,211,153,0.4);
}

/* акцентная рамка по типу попапа */
.lp-shell.lp-type-exit .lead-card { border-color: rgba(245,158,11,0.45); box-shadow: 0 24px 70px -16px rgba(245,158,11,0.18), 0 24px 60px -20px rgba(0,0,0,.6); }
.lp-shell.lp-type-return .lead-card { border-color: rgba(52,211,153,0.40); box-shadow: 0 24px 70px -16px rgba(16,185,129,0.16), 0 24px 60px -20px rgba(0,0,0,.6); }

.lead-card .lc-title .em { color: #34D399; }
