/* Additions for the single-page static site (loaded after main.css). */

/* Header has no navigation any more: keep logo and contact details balanced. */
.c-page-header { padding-bottom: 1em; }

.c-page-footer .o-wrapper::after { content: ""; display: table; clear: both; }

/* Enquiry form */
.c-enquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.c-enquiry__field { display: flex; flex-direction: column; min-width: 0; }
.c-enquiry__field--wide { grid-column: 1 / -1; }
.c-enquiry label { font-size: 0.9rem; margin-bottom: 0.25rem; }
.c-enquiry input[type="text"],
.c-enquiry input[type="email"],
.c-enquiry input[type="tel"],
.c-enquiry textarea {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #dcdcdc;
  background-color: #dcdcdc;
  font: inherit;
  outline: none;
  box-sizing: border-box;
}
.c-enquiry input:focus,
.c-enquiry textarea:focus { border-color: #706f6f; background-color: #fff; }
.c-enquiry textarea { resize: vertical; }
.c-enquiry__check label { font-size: 0.8rem; }
.c-enquiry__check input { margin-right: 0.5em; }
.c-enquiry__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-enquiry__submit button {
  color: #706f6f;
  padding: 0.5em 1.6em;
  border: 1px solid #706f6f;
  text-transform: uppercase;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.c-enquiry__submit button:hover { background-color: #706f6f; color: #fff; }

.c-form-msg { padding: 1em; margin-bottom: 1em; border-radius: 0.2em; }
.c-form-msg--ok { background: #e6f4ea; color: #1e5631; }
.c-form-msg--err { background: #fdecea; color: #8a1c13; }

.c-page-footer__logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin-top: 2em; }
.c-page-footer__logos img { max-height: 80px; width: auto; }

@media (max-width: 46rem) {
  body { overflow-x: hidden; }
  .c-enquiry { grid-template-columns: 1fr; }
}
