/* ==========================================================================
   Contact form section  (.form_section > .form_section_content > .form_section_column)
   ========================================================================== */

.form_section {
  display: flex;
  align-items: center;
}

.form_section_content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 15px;
  box-sizing: border-box;
}

.form_section_column {
  flex: 1 1 0;
  min-width: 280px;
}

/* First column: vertically centered, text aligned left */
.form_section_column:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

/* ==========================================================================
   Form card  (second column)
   ========================================================================== */

.contact_form {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  padding: 3rem;
  box-sizing: border-box;
}

.contact_form .form_field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
}

.contact_form label {
  margin-bottom: 0.6rem;
  font-size: 0.81rem;
  color: #424242;
}

.contact_form input,
.contact_form select,
.contact_form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.575rem 0.5rem;
  font-family: inherit;
  font-size: 0.68rem;
  color: #424242;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.contact_form textarea {
  min-height: 84px;
  resize: vertical;
}

.contact_form input:focus,
.contact_form select:focus,
.contact_form textarea:focus {
  border-color: #008535;
}

.contact_form input::placeholder,
.contact_form textarea::placeholder {
  color: #9e9e9e;
}

/* Select with custom chevron */
.contact_form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%239e9e9e'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

/* Submit */
.contact_form .form_actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.contact_form button[type="submit"] {
  padding: 0.575rem 1.25rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: #3a9d4e;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact_form button[type="submit"]:hover {
  background: #33903f;
}

.contact_form .form_status {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
}
.contact_form .form_status.is-ok {
  color: #008535;
}
.contact_form .form_status.is-error {
  color: #c0392b;
}

@media (max-width: 991px) {
  .form_section_content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 15px;
  }

  .contact_form {
    padding: 1.5rem;
  }
}
