/* contact-form.css */

.contact-form {
  max-width: 640px;

  margin-top: 40px;
  margin-bottom: 40px;

  padding: 28px;

  background: #fafafa;

  border: 1px solid #e4e4e4;
  border-radius: 8px;

  box-sizing: border-box;
}

.contact-form .form-row {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;

  margin-bottom: 8px;

  font-size: 18px;
  font-weight: 600;

  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  box-sizing: border-box;

  padding: 14px 16px;

  border: 1px solid #cfcfcf;
  border-radius: 6px;

  background: #fff;

  font-size: 17px;
  font-family: inherit;
  color: #222;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #b8b8b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;

  border-color: #5f8b2d;

  box-shadow:
    0 0 0 3px rgba(95, 139, 45, 0.12);
}

.contact-form textarea {
  min-height: 180px;

  resize: vertical;
}

.contact-form button {
  display: inline-block;

  padding: 14px 26px;

  border: 0;
  border-radius: 6px;

  background: #5f8b2d;
  color: #fff;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.05s ease,
    box-shadow 0.2s ease;
}

.contact-form button:hover {
  background: #4e7424;

  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-form button:active {
  transform: translateY(1px);
}

.contact-status {
  margin-top: 18px;

  font-size: 16px;

  color: #444;
}

.hp-field {
  display: none !important;
}

@media (max-width: 700px) {
  .contact-form {
    padding: 20px;
  }

  .contact-form label {
    font-size: 16px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-form button {
    width: 100%;
  }
}
