/* ==========================================================================
   Reusable contact form (FormSubmit.co)
   ========================================================================== */

.contact {
  max-width: 820px;
  margin: 2.5rem auto 0;
}
.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
}
.contact-card > p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.contact-field {
  display: block;
  margin-bottom: 14px;
}
.contact-field span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 5px;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  background: var(--panel-soft);
  color: var(--text);
  resize: vertical;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-btn {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, #3b82f6 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, opacity 0.12s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.contact-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}
.contact-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-status {
  margin-top: 12px;
  font-size: 13px;
  min-height: 18px;
}
.contact-status.sending { color: var(--text-muted); }
.contact-status.ok      { color: #15803d; font-weight: 600; }
.contact-status.err     { color: #b91c1c; font-weight: 600; }
