.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.lead-modal[hidden] { display: none; }
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: lead-fade 0.2s ease-out;
}
.lead-modal__card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: lead-rise 0.25s ease-out;
}
@keyframes lead-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lead-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.lead-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 26px;
  color: #999;
  cursor: pointer;
  width: 36px;
  height: 36px;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}
.lead-modal__close:hover { color: #333; }
.lead-modal__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: #2a241d;
  text-align: center;
  letter-spacing: -0.01em;
}
.lead-modal__subtitle {
  margin: 0 0 22px;
  color: #6b6259;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}
.lead-modal__field {
  display: block;
  margin-bottom: 14px;
}
.lead-modal__label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  color: #5c5247;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.lead-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d8d2cb;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: #2a241d;
  background: #fafaf8;
  transition: border-color 0.15s, background 0.15s;
}
.lead-modal__input:focus {
  outline: none;
  border-color: #a07a52;
  background: #fff;
}
.lead-modal__input:invalid:not(:placeholder-shown) {
  border-color: #c46f6f;
}
.lead-modal__submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #a07a52;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
  transition: background 0.15s, transform 0.05s;
}
.lead-modal__submit:hover:not(:disabled) { background: #8a6543; }
.lead-modal__submit:active:not(:disabled) { transform: scale(0.99); }
.lead-modal__submit:disabled { opacity: 0.65; cursor: wait; }
.lead-modal__disclaimer {
  text-align: center;
  font-size: 11px;
  color: #9a9189;
  margin: 14px 0 0;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .lead-modal__card { padding: 30px 22px 24px; border-radius: 12px; }
  .lead-modal__title { font-size: 20px; }
}
