/* ================= HERO ================= */

.contact-hero {
  margin-bottom: 18px;
}

.contact-hero h1 {
  font-size: 30px;
  margin-bottom: 6px;
}

.contact-hero p {
  color: #6b7280;
  font-size: 15px;
}

/* ================= CONTACT CARD ================= */

.contact-card {
  background: #ffffff;
  padding: 34px 38px;
  border-radius: 24px;

  box-shadow: 0 16px 40px rgba(0,0,0,0.05);
  border: 1px solid #edf2ee;
}

/* ================= STATUS MESSAGES ================= */

.form-success {
  background: #ecfdf5;
  color: #065f46;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

/* ================= FORM LAYOUT ================= */

.contact-form {
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row {
  margin-bottom: 12px;
}

.form-row label {
  display: block;
  font-size: 13.5px;
  margin-bottom: 4px;
  font-weight: 500;
  color: #374151;
}

.form-row label span {
  color: #dc2626;
}

/* ================= INPUTS ================= */

.contact-form input,
.contact-form textarea {
  width: 100%;

  border: 1px solid #dfe8da;
  border-radius: 10px;

  padding: 10px 12px;
  font-size: 14px;

  font-family: inherit;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(31,77,46,0.08);
}

.contact-form textarea {
  resize: vertical;
}

/* ================= BUTTON ================= */

.form-actions {
  margin-top: 6px;
}

.form-actions button {
  border: none;
  background: linear-gradient(135deg, #1f4d2e, #2f6f46);
  color: white;

  padding: 10px 22px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.25s ease;
}

.form-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* ================= FOOTER NOTE ================= */

.contact-note {
  margin-top: 16px;
  padding-top: 10px;

  border-top: 1px solid #edf2ee;
  font-size: 13px;
  color: #6b7280;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 26px 20px;
  }

}