/* Brand: swap these for the client's colours and font. */
:root {
  --brand: #2c477b;
  --accent: #72c156;
  --ink: #0f1217;
  --alt: #f4f5f5;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; height: auto; }
h1, h2 { color: var(--brand); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px; max-width: 1120px; margin: 0 auto; }
.nav__logo { font-weight: 700; color: var(--brand); text-decoration: none; font-size: 1.25rem; }

.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 12px 24px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: wait; }

.hero { background: var(--brand); padding: 80px 0; }
.hero h1, .hero .lead { color: #fff; }
.lead { font-size: 1.25rem; margin: 0 0 2rem; }

.section { padding: 64px 0; }
.section--alt { background: var(--alt); }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c8ccd2; border-radius: 6px; background: #fff; }
.form--checked :invalid { border-color: #c0392b; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.form__error { color: #c0392b; font-weight: 600; }

.footer { padding: 32px 0; background: var(--brand); color: #fff; }

@media (max-width: 640px) {
  .form__grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
}

/* Enquiry form extras */
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { font-weight: 600; margin-bottom: 6px; }
.choice .check { font-weight: 400; margin: 4px 0; }
.form__hint { margin: -8px 0 0; font-size: .9rem; color: #555; }
.field select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c8ccd2; border-radius: 6px; background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
