.sba-lead-form {
  direction: rtl;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
  font-family: inherit;
  max-width: 420px;
}
.sba-lead-head strong {
  display: block;
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 5px;
}
.sba-lead-head span {
  display: block;
  font-size: 13px;
  color: #64748b;
}
.sba-lead-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 700;
}
.sba-lead-form input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  color: #0f172a;
  outline: 0;
}
.sba-lead-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.sba-lead-form button {
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
}
.sba-lead-form button:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.sba-lead-message {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
.sba-lead-message.is-success { color: #16a34a; }
.sba-lead-message.is-error { color: #dc2626; }

.sba-lead-banner-wrap {
  direction: rtl;
  margin: 26px 0;
  font-family: inherit;
}
.sba-lead-banner-trigger {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.sba-lead-banner-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 64px rgba(15, 23, 42, .14);
  filter: saturate(1.03);
}
.sba-lead-banner-trigger img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sba-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.sba-lead-modal.is-open { display: flex; }
.sba-lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(8px);
}
.sba-lead-modal-box {
  position: relative;
  width: min(440px, 100%);
  z-index: 1;
  animation: sbaModalIn .18s ease both;
}
.sba-lead-modal-box .sba-lead-form {
  max-width: none;
  width: 100%;
  border-radius: 26px;
}
.sba-lead-modal-close {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
  z-index: 2;
}
body.sba-modal-open { overflow: hidden; }
@keyframes sbaModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 640px) {
  .sba-lead-banner-wrap { margin: 20px 0; }
  .sba-lead-banner-trigger { border-radius: 18px; }
  .sba-lead-banner-trigger img { aspect-ratio: 16 / 10; }
}
