/* ─── Hero Header: Car left, Title right (per screenshot) ─── */
.lmn-hero-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #f0f5fa;
  border-radius: 14px;
  padding: 20px 28px;
}

.lmn-car-wrap {
  flex-shrink: 0;
}

/* Car starts off-screen LEFT, flies in */
.lmn-car-img {
  width: 130px;
  height: auto;
  transform: translateX(-350px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s ease;
  display: block;
}

.lmn-car-img.lmn-car-visible {
  transform: translateX(0);
  opacity: 1;
}

/* Title area: centered within its space (per screenshot) */
.lmn-hero-info {
  flex: 1;
  text-align: center;
}

/* ✅ Big, Bold, Centered heading — matching screenshot */
.lmn-title {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.lmn-subtitle {
  font-size: 16px;
  color: #555;
  margin: 0 0 4px 0;
}

.lmn-phone-hero {
  font-size: 18px;
  font-weight: 700;
  color: #185FA5;
  margin: 0;
}

/* ─── Sections ─── */
.lmn-section {
  background: #fff;
  border: 1px solid #e8e4de;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.lmn-section-label {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.lmn-optional-tag {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  font-style: italic;
}

.lmn-section-sub {
  font-size: 13px;
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ─── Fields ─── */
.lmn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lmn-field {
  flex: 1;
  min-width: 180px;
  margin-bottom: 16px;
}

.lmn-field.lmn-full {
  flex: 1 1 100%;
}

.lmn-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}

.lmn-field label .req {
  color: #c0392b;
}

.lmn-field input[type="text"],
.lmn-field input[type="email"],
.lmn-field input[type="tel"],
.lmn-field input[type="number"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: inherit; /* ✅ inherits site font */
  box-sizing: border-box;
}

.lmn-field input:focus {
  border-color: #185FA5;
  box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.12);
  background: #fff;
}

/* ✅ Validation: red border on error, clears when fixed */
.lmn-field input.lmn-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
  background: #fff9f9;
}

/* Inline error message under each field */
.lmn-field-error {
  display: none;
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  font-weight: 500;
}

.lmn-helper {
  font-size: 11.5px;
  margin-bottom: 6px;
  line-height: 1.5;
  color: #666;
}

/* Map status */
.lmn-map-status {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
}
.lmn-map-status.loading { background: #EBF4FF; color: #185FA5; }
.lmn-map-status.success { background: #E6F9F0; color: #0F6E56; }
.lmn-map-status.error   { background: #FEF2F2; color: #c0392b; }

/* ─── Signature Grid ─── */
.lmn-sig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.lmn-sig-item label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}

.lmn-sig-item input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafafa;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.lmn-sig-item input:focus {
  border-color: #185FA5;
  background: #fff;
}

/* ─── Radio & Checkbox ─── */
.lmn-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.lmn-radio-label,
.lmn-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.lmn-radio-label input,
.lmn-check-label input {
  width: 16px;
  height: 16px;
  accent-color: #185FA5;
  cursor: pointer;
}

/* ─── Submit Button ─── */
.lmn-submit-btn {
  width: 100%;
  padding: 16px;
  background: #045CB4;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}

.lmn-submit-btn:hover {
  background: #0347A0;
}

.lmn-submit-btn:active {
  transform: scale(0.99);
}

.lmn-submit-btn.loading {
  background: #999;
  cursor: not-allowed;
}

/* ─── ✅ Success Message: Big, Bold, Centered — form is hidden when this shows ─── */
.lmn-form-msg {
  margin-top: 20px;
  padding: 36px 32px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 1.7;
  white-space: pre-line;
  font-family: inherit;
}

.lmn-form-msg.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.lmn-form-msg.error {
  background: #FEF2F2;
  color: #c0392b;
  border: 2px solid #F7C1C1;
  font-size: 15px;
  font-weight: 600;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .lmn-hero-header {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
  }

  .lmn-car-img {
    width: 90px;
  }

  .lmn-title {
    font-size: 26px;
  }

  .lmn-section {
    padding: 18px 16px;
  }

  .lmn-sig-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .lmn-form-msg {
    font-size: 18px;
    padding: 24px 18px;
  }
}
