/* Contact page: "Get In Touch" section and the contact form. */

.page-contact .page-banner::before { background: rgba(0, 0, 0, .15); }

.contact {
  padding: 25px 0 75px;
  background: #f7ebe2 var(--tile) center / contain;
}
.contact__in {
  display: flex; flex-direction: column; gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

/* Red label heading (same style as the home page section titles) */
.label-title {
  align-self: center;
  max-width: 100%;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--red);
  font: 400 42px/1 var(--tanker);
  letter-spacing: 3px;
  text-transform: capitalize;
  text-align: center;
  color: #fff;
}

.contact__intro {
  padding-bottom: 30px;
  font: 400 21px/1.6 var(--ballinger);
  color: #000;
}

/* ---------- form ---------- */

.contact-form {
  padding: 25px;
  border-radius: 5px;
  background: rgba(218, 198, 162, .29);
  box-shadow: 1px 1px 14px 10px rgba(0, 0, 0, .08);
}
.contact-form__fields { display: flex; flex-wrap: wrap; margin: 0 -5px -10px; }

.field {
  display: flex; flex-wrap: wrap; align-items: center;
  width: 100%;
  margin-bottom: 10px;
  padding: 0 5px;
}
.field--half { width: 50%; }
.field label {
  font: 400 17px/1.6 "Tanker";
  color: var(--green-dark);
}
.field--required label::after { content: "*"; padding-left: .2em; color: red; }

.field input, .field textarea, .field select {
  width: 100%;
  min-height: 47px;
  border: 1px solid #286330;
  border-radius: 4px;
  background: #fff;
  vertical-align: middle;
}
.field input, .field textarea {
  padding: 6px 16px;
  font: 400 18px/1.4 var(--ballinger);
  color: #000;
}
.field input:focus, .field textarea:focus { outline: none; background: #f0f8ff; border-color: var(--red); }
.field select {
  height: 98px;
  padding: 6px 20px 6px 16px;
  font: 400 17px/1.6 Roboto, sans-serif;
  color: #7a7a7a;
  overflow-y: scroll;
}
.field select:focus { outline: none; border-color: var(--red); }
.field option { padding: 0 2px 1px; }
.field textarea { display: block; resize: vertical; }

.field--captcha { min-height: 78px; }
.field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field--submit { align-items: flex-end; }
.field--submit button {
  width: 100%;
  min-height: 47px;
  padding: 15px 30px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  font: 500 24px/1 var(--tanker);
  color: #fff;
  transition: background-color .3s;
}
.field--submit button:hover { background: var(--red-hover); }

.field__error, .form-message {
  flex-basis: 100%;
  margin: 10px 0;
  font: 400 17px/1 Roboto, sans-serif;
  color: #d9534f;
}
.form-message--success { color: #5cb85c; }
.field--error input, .field--error textarea, .field--error select { border-color: #d9534f; }

@media (max-width: 1024px) {
  .label-title { font-size: 40px; }
}
@media (max-width: 767px) {
  .label-title { font-size: 32px; }
  .field--half { width: 100%; }
}

/* The shared banner shrinks on phones (About's look); Contact's stays full size. */
@media (max-width: 767px) {
  .page-contact .page-banner { min-height: 500px; z-index: auto; background-position: center bottom; }
  .page-contact .page-banner__title { font-size: 72px; }
}
