/* Contact page (/contact/). Linked only from the contact page.
   The compact banner lives in style.css (shared with /gallery/ and /testimonials/);
   the form reuses .contact-form / .btn-send and only swaps the dark theme for the
   original's light one. The live page's "Email Us" blurb is deliberately left out. */

.contact { background: #fff; padding: 0 0 160px; }

/* ---------- Details strip ---------- */
.contact-details {
  width: 80%;
  max-width: 948px;
  margin: 0 auto;
  padding: 38px 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contact-blurb {
  padding: 24px 33px 6px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, .1);
}
.contact-blurb:last-child { border-right: 0; }
.contact-blurb .et-icon { display: block; margin-bottom: 30px; font-size: 27px; color: #ff0024; }
.contact-blurb h2 {
  margin: 0;
  padding-bottom: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3em;
  text-transform: uppercase;
  color: #000;
}
.contact-blurb p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8em;
  color: #000;
}
.contact-blurb a { color: inherit; }

/* ---------- Form ---------- */
.contact-formwrap { width: 80%; max-width: 807px; margin: 0 auto; }
.contact-formwrap__title {
  margin: 28px 0 0;
  padding: 50px 0 29px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3em;
  text-transform: uppercase;
  text-align: center;
  color: #000;
}
.contact-form--light { background: none; padding: 0; margin: 0 40px 0 30px; }
.contact-form--light .contact-form__title {
  flex: 0 0 100%;
  margin: 0;
  padding-bottom: 1px;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1em;
  color: #333;
}
.contact-form--light input,
.contact-form--light select,
.contact-form--light textarea {
  color: #3a3a3a;
  background-color: #f7f7f7;
  border: 1px solid rgba(53, 55, 64, .03);
}
.contact-form--light ::placeholder { color: #3a3a3a; }
.contact-form--light .contact-form__note { color: #5e5e5e; }
.contact-form--light .contact-form__status { color: #444; }
.contact-form--light .contact-form__status.is-ok { color: #0f7a4a; }
.contact-form--light .contact-form__status.is-error { color: #c0392b; }
.contact-form--light .field--select::after { border-top-color: rgba(0, 0, 0, .4); }
/* the shared hover turns the button white, which vanishes on a white page */
.contact-form--light .btn-send:hover { background: #000; color: #fff; }

/* ---------- Other offices ---------- */
.contact-offices {
  width: 80%;
  max-width: 888px;
  margin: 20px auto 0;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contact-offices .contact-blurb { border-right: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .contact { padding-bottom: 100px; }
  .contact-details,
  .contact-offices { grid-template-columns: minmax(0, 1fr); }
  .contact-blurb { border-right: 0; border-bottom: 1px solid rgba(0, 0, 0, .1); padding-bottom: 24px; }
  .contact-blurb:last-child,
  .contact-offices .contact-blurb { border-bottom: 0; }
  .contact-form--light { margin: 0; }
}
@media (max-width: 600px) {
  .contact-details,
  .contact-formwrap,
  .contact-offices { width: 90%; }
  .contact-blurb { padding-left: 0; padding-right: 0; }
}
