/* ============================================================
   Wolv Engineering – Lead Form
   ============================================================ */
.wolv-lead-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  animation: wolvFadeIn .2s ease;
}
.wolv-lead-overlay.open { display: flex; }
@keyframes wolvFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes wolvSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.wolv-lead-modal {
  background: #fff;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: wolvSlideUp .3s ease;
  font-family: 'Inter', sans-serif;
}

.wolv-lead-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #f59e0b 100%);
  color: #fff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wolv-lead-header h2 { font-size: 20px; font-weight: 800; margin: 0; }
.wolv-lead-header p  { font-size: 13px; opacity: 0.95; margin: 4px 0 0; }

.wolv-lead-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.wolv-lead-close:hover { background: rgba(255,255,255,0.35); }

.wolv-lead-body { padding: 24px 28px; overflow-y: auto; }

.wolv-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .wolv-field-grid { grid-template-columns: 1fr; } }
.wolv-field { display: flex; flex-direction: column; }
.wolv-field.full { grid-column: 1 / -1; }
.wolv-field label { font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.wolv-field label .req { color: #dc2626; }
.wolv-field input,
.wolv-field select,
.wolv-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.wolv-field input:focus,
.wolv-field select:focus,
.wolv-field textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
.wolv-field textarea { resize: vertical; min-height: 84px; }

.wolv-checkbox-block { margin-bottom: 14px; }
.wolv-checkbox-block > label.title { font-size: 12px; font-weight: 600; color: #374151; display: block; margin-bottom: 8px; }
.wolv-checkbox-block > label.title .req { color: #dc2626; }
.wolv-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  max-height: 220px;
  overflow-y: auto;
}
@media (max-width: 600px) { .wolv-checkbox-grid { grid-template-columns: 1fr 1fr; } }

.wolv-chk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #374151;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background .12s;
}
.wolv-chk:hover { background: #fff; }
.wolv-chk input { accent-color: #f59e0b; width: 14px; height: 14px; cursor: pointer; flex-shrink: 0; }

.wolv-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.wolv-whatsapp-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 12px;
  padding: 10px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 12.5px;
  color: #166534;
  cursor: pointer;
  transition: background .12s;
}
.wolv-whatsapp-share:hover { background: #dcfce7; }
.wolv-whatsapp-share input {
  width: 15px;
  height: 15px;
  accent-color: #22c55e;
  cursor: pointer;
  flex-shrink: 0;
}
.wolv-privacy { font-size: 11px; color: #6b7280; flex: 1; min-width: 200px; }
.wolv-submit-btn {
  background: #f59e0b;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s, transform .1s;
}
.wolv-submit-btn:hover  { background: #fbbf24; transform: translateY(-1px); }
.wolv-submit-btn:disabled{ background: #d1d5db; cursor: not-allowed; transform: none; }

.wolv-form-status { display: none; padding: 10px 14px; border-radius: 7px; font-size: 13px; margin-bottom: 14px; }
.wolv-form-status.error   { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.wolv-form-status.success { display: block; background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
