/* ─────────────────────────────────────────────────────────────
   bv-forms.css — Shared lead-form styling for main-site pages.
   Used on: available-lots, communities, floor-plans, quick-move-ins.
   Matches the boyl-form pattern on build-on-your-lot.html.
   ───────────────────────────────────────────────────────────── */

.lead-form-section {
  background: linear-gradient(135deg, #1E3A52 0%, #152B3E 100%);
  padding: 4rem 1.75rem;
  color: #fff;
}
.lead-form-section .lead-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.lead-form-section .eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #C9933A;
  margin-bottom: 8px;
  font-weight: 500;
}
.lead-form-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px;
}
.lead-form-section .sub {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.bv-form {
  display: grid;
  gap: 14px;
  width: 100%;
  text-align: left;
}
.bv-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bv-form input[type="text"],
.bv-form input[type="email"],
.bv-form input[type="tel"],
.bv-form select,
.bv-form textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #1E3A52;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.bv-form input::placeholder,
.bv-form textarea::placeholder {
  color: #98A6B3;
}
.bv-form input:focus,
.bv-form select:focus,
.bv-form textarea:focus {
  outline: none;
  border-color: #C9933A;
  box-shadow: 0 0 0 3px rgba(201,147,58,.25);
}
.bv-form textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.bv-form .field-label {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  margin-top: 6px;
}
.bv-form .radio-group,
.bv-form .check-group {
  display: grid;
  gap: 8px;
}
.bv-form .radio-row,
.bv-form .check-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.bv-form .radio-card,
.bv-form .check-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.bv-form .radio-card:hover,
.bv-form .check-card:hover {
  border-color: #C9933A;
  background: rgba(255,255,255,.08);
}
.bv-form .radio-card input,
.bv-form .check-card input {
  width: 16px;
  height: 16px;
  accent-color: #C9933A;
}
.bv-form button[type="submit"] {
  width: 100%;
  padding: 15px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
  color: #fff;
  background: #C9933A;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background .15s, transform .12s;
}
.bv-form button[type="submit"]:hover {
  background: #b5822f;
  transform: translateY(-1px);
}
.bv-form button[type="submit"]:disabled {
  opacity: .6;
  cursor: wait;
}
.bv-form .consent {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
  margin: 8px 0 0;
}
.bv-form .form-status {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}
.bv-form .form-status.show { display: block; }
.bv-form .form-status.success {
  background: rgba(45, 122, 79, .15);
  border: 1px solid rgba(45, 122, 79, .5);
  color: #B8E0CC;
}
.bv-form .form-status.error {
  background: rgba(194, 56, 47, .15);
  border: 1px solid rgba(194, 56, 47, .5);
  color: #F2B8B3;
}
.lead-form-section .secondary-cta {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.lead-form-section .secondary-cta a {
  color: #C9933A;
  font-weight: 500;
  text-decoration: none;
}
.lead-form-section .secondary-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .lead-form-section { padding: 3rem 1.25rem; }
  .lead-form-section h2 { font-size: 28px; }
  .bv-form .row2 { grid-template-columns: 1fr; }
  .bv-form .radio-row,
  .bv-form .check-row { grid-template-columns: 1fr 1fr; }
}
