/* contact.css - contact.php and enquiry.php: contact details card, map, enquiry form. */
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: #262626;
  padding: 28px;
  border-radius: 22px;
}
form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #ddd;
}
form .f {
  grid-column: 1/-1;
}
input,
select,
textarea {
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-style: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #555;
  background: #111;
  color: #fff;
  width: 100%;
}

@media (max-width:640px) {
  form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page ---------- */
.bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--mut);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 44px;
}
.cg {
  align-items: start;
}
.cg h2 {
  font-weight: 500;
  line-height: 1.25;
}
.info {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  padding: 36px;
  margin-top: 44px;
  background: #222 center/cover;
}
.info:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,.78);
}
.info>* {
  position: relative;
}
.info small {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
}
.info a,
.info p {
  margin: 0;
  text-decoration: underline;
}
.map {
  border: 0;
  width: 100%;
  height: 420px;
  display: block;
  margin-top: 70px;
  filter: grayscale(.2);
}

@media (max-width:1000px) {
  .cg>* {
    min-width: 0;
  }
}

@media (max-width:640px) {
  .bar {
    flex-direction: column;
  }
}
.info a,
.info p {
  overflow-wrap: anywhere;
}
form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: #262626;
  padding: 28px;
  border-radius: 22px;
}
form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #ddd;
}
input,
select,
textarea {
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  font-style: inherit;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #555;
  background: #fff;
  color: #111;
  width: 100%;
}
.ok {
  color: #8fe3a1;
  margin: 0;
}

/* ---------- Contact page helpers (replace the old inline styles) ---------- */
.form-box { background: #262626; border-radius: 16px; padding: 8px; color: #fff; }
.form-submit { justify-self: start; }
.cg .cta2 { margin: 0; }
.cta2.reach .btns .btn { margin: 0; }

/* ---------- Contact details as four clean tiles, "Talk to us" card as tall as the left column ---------- */
.info { background: none; padding: 0; margin-top: 28px; border-radius: 0; overflow: visible; }
.info:before { display: none; }
.info .info-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; height: 100%; }
.info-tile small { display: block; margin: 0 0 8px; color: var(--mut); letter-spacing: .02em; }
.info-tile a, .info-tile p { display: block; color: var(--ink); text-decoration: none; margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.info-tile a + a { margin-top: 4px; }
.info-tile a:hover { color: var(--red); }
.cta2.reach { height: 100%; margin: 0; padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
.cta2.reach .btns { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
.cta2.reach .btn { justify-content: space-between; margin: 0; }


/* ---------- Enquiry form messages / spam trap ---------- */
.form-msg:empty { display: none; }
.form-ok { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(143,227,161,.12); color: #8fe3a1; }
.form-errors { margin: 0; padding: 12px 14px 12px 32px; border-radius: 10px; background: rgba(255,120,120,.12); color: #ffb3b3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
