/* ============================================
   SECTION: GET INVOLVED / FORM
   ============================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-desc {
  margin-top: 1rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

/* Exclude checkbox/radio so they keep normal size and remain clickable */
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 16px;
  /* Optimized for mobile to prevent auto-zoom on iOS */
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  /* Reset for Safari mobile */
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .contact-checklist {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.contact-checklist .form-label-optional {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
}

.contact-checklist .checklist-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Override .form-group label so checklist rows stay horizontal and readable */
.contact-checklist label.checklist-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  padding: 0.5rem 0;
  margin-bottom: 0;
  transition: color 0.2s;
  pointer-events: auto;
  /* Minimum touch target for checkbox row */
  min-height: 2.75rem;
}

.contact-checklist label.checklist-option:hover {
  color: var(--green-700);
}

.contact-checklist .checklist-option input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--green-600);
  pointer-events: auto;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.contact-checklist .checklist-option .checklist-option__text {
  flex: 1;
  line-height: 1.4;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green-600);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.btn-submit:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media screen and (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Mobile: larger touch targets for checklist so tick boxes are easy to tap */
  .contact-checklist label.checklist-option {
    min-height: 3rem;
    padding: 0.625rem 0;
    gap: 0.875rem;
  }

  .contact-checklist .checklist-option input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .contact-form {
    padding: 1.25rem;
  }

  /* Checkbox size already 1.5rem from 768px block — no repeat needed */
  .contact-checklist label.checklist-option {
    min-height: 3rem;
    font-size: 1rem;
  }
}