/* Ayala Builder Co — rebuilt lead form styling (static export) */
.lead-form {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  font-family: "Open Sans", "Lato", Arial, sans-serif;
}

.lead-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form .form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.lead-form .form-field--full {
  grid-column: 1 / -1;
}

.lead-form label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.lead-form label .req {
  color: #b3261e;
  margin-left: 2px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #69543A;
  box-shadow: 0 0 0 2px rgba(105, 84, 58, 0.15);
}

.lead-form .field-invalid {
  border-color: #b3261e;
  box-shadow: 0 0 0 2px rgba(179, 38, 30, 0.12);
}

.lead-form .form-actions {
  margin-top: 4px;
}

.lead-form button[type="submit"],
.lead-form input[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #69543A;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lead-form button[type="submit"]:hover,
.lead-form input[type="submit"]:hover {
  background: #5a4730;
}

.lead-form button[type="submit"]:disabled,
.lead-form input[type="submit"]:disabled {
  opacity: 0.7;
  cursor: default;
}

.lead-form .form-status {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.4;
}

.lead-form .form-status:empty {
  display: none;
}

.lead-form .form-status.is-pending {
  background: #f3efe9;
  color: #69543A;
}

.lead-form .form-status.is-success {
  background: #e6f4ea;
  color: #1e7e34;
}

.lead-form .form-status.is-error {
  background: #fdecea;
  color: #b3261e;
}

@media (max-width: 600px) {
  .lead-form .form-grid {
    grid-template-columns: 1fr;
  }
}
