/* Lead popup styles. Keeps the same gold/dark palette as the landing CSS. */
.lead-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.lead-modal.is-open { display: flex; }
.lead-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  animation: leadFade 0.2s ease-out;
}
.lead-modal__card {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  background: #181818;
  border: 1px solid rgba(212,168,83,0.4);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  animation: leadPop 0.25s ease-out;
}
.lead-modal__close {
  position: absolute; top: 10px; right: 14px;
  width: 36px; height: 36px;
  background: transparent; border: none;
  color: #D4A853; font-size: 28px; line-height: 1; cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.lead-modal__close:hover { background: rgba(212,168,83,0.1); }
.lead-modal__header { text-align: center; margin-bottom: 18px; }
.lead-modal__eyebrow {
  color: #E57A2B; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px;
}
.lead-modal__title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; color: #fff; margin: 0 0 6px;
}
.lead-modal__title span {
  background: linear-gradient(135deg, #D4A853, #F0D99A, #D4A853);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead-modal__sub { color: #9ca3af; font-size: 13px; margin: 0; }

.lead-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.lead-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 540px) {
  .lead-form__row { grid-template-columns: 1fr; }
}
.lead-form__full { display: block; }
.lead-form label { display: block; }
.lead-form label > span {
  display: block; font-size: 12px; color: #d1d5db; margin-bottom: 4px;
  font-weight: 500;
}
.lead-form input, .lead-form textarea {
  width: 100%; box-sizing: border-box;
  background: #0D0D0D;
  border: 1px solid rgba(212,168,83,0.25);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-family: inherit; font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: #D4A853;
  box-shadow: 0 0 0 3px rgba(212,168,83,0.15);
}
.lead-form textarea { resize: vertical; min-height: 70px; }
.lead-form__hp {
  position: absolute !important; left: -9999px !important;
}
.lead-form__actions { margin-top: 6px; }
.lead-form__submit {
  width: 100%; cursor: pointer; border: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.lead-form__submit[disabled] { opacity: 0.7; cursor: wait; }
.lead-form__spinner {
  display: none;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: leadSpin 0.8s linear infinite;
}
.lead-form__submit.is-loading .lead-form__spinner { display: inline-block; }
.lead-form__msg { margin: 6px 0 0; font-size: 13px; text-align: center; min-height: 18px; }
.lead-form__msg.is-error { color: #ff7575; }
.lead-form__msg.is-success { color: #4CAF50; }

@keyframes leadFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes leadPop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes leadSpin { to { transform: rotate(360deg); } }
