@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/poppins-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/poppins-semibold.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --gold: #e7bd47;
  --ink: #171717;
  --muted: #666666;
  --background: #f1f1f1;
  --line: #e5e5e5;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--gold);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.brand-header {
  padding: 45px 24px 36px;
  text-align: center;
}

.brand-logo {
  display: block;
  width: 299px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.page-main {
  width: min(100% - 40px, 660px);
  margin-inline: auto;
}

.enquiry-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 10px 36px rgb(0 0 0 / 4%);
}

.card-heading {
  text-align: center;
  margin-bottom: 28px;
}

h1, h2, p { margin: 0; }

h1 {
  font-size: 1.875rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.card-heading p {
  margin-top: 8px;
  color: var(--muted);
}

[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: 0.65; }
button:focus-visible, input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.section-title { font-size: 1rem; font-weight: 600; margin: 0 0 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.875rem; margin-bottom: 7px; }
.field-hint { font-size: 0.875rem; color: var(--muted); margin: -1px 0 10px; }
.field input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 11px 14px;
  background: white;
  border: 1px solid #bcbcbc;
  border-radius: 6px;
  color: var(--ink);
  font-size: 1rem;
}
.field input[readonly] { background: #f6f6f6; }
.field input[aria-invalid="true"] { border-color: #a62720; }
.postcode-row { display: flex; align-items: center; gap: 12px; }
#postcode { text-transform: uppercase; }
.postcode-status { font-size: 0.875rem; color: #3d6337; margin-top: 8px; }
.postcode-status:empty { display: none; }
.text-button {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.enquiry-details, .choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-group { margin-top: 28px; }
.choice-group legend { padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 60px;
  padding: 12px 10px;
  border: 1px solid #bcbcbc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.45;
}
.choice:has(input:checked) { background: #fdf6e2; border-color: #9b7a1c; }
.choice:hover { border-color: #9b7a1c; }
.choice input { accent-color: #171717; width: 17px; height: 17px; margin: 0; flex-shrink: 0; }
.privacy-note { margin: 26px 0 20px; font-size: 0.875rem; color: var(--muted); }
.privacy-note a, .form-error a { color: inherit; text-underline-offset: 3px; }
.form-button { width: 100%; border: 0; }
.form-error { margin-top: 18px; padding: 13px 15px; background: #fff1ef; border-radius: 6px; color: #92291f; font-size: 0.875rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.preview-note { margin-bottom: 24px; padding: 8px 12px; background: #fdf6e2; color: #6d5410; border-radius: 4px; text-align: center; font-size: 0.875rem; }

.page-footer {
  width: min(100% - 40px, 660px);
  margin: auto auto 0;
  padding: 30px 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.page-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}

.page-footer a:hover { color: var(--ink); }

.page-main--thank-you { max-width: 600px; }

.thank-you-card {
  padding: 48px 44px;
  text-align: center;
}

.success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.875rem;
}

.thank-you-card h1 { font-size: 2rem; }

.thank-you-message {
  max-width: 36ch;
  margin: 18px auto 30px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 25px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.button:hover { background: #dab03a; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .brand-header { padding: 32px 28px 28px; }
  .brand-logo { width: 270px; }
  .page-main { width: calc(100% - 28px); }
  .enquiry-card { padding: 28px 20px 20px; border-radius: 9px; }
  h1 { font-size: 1.625rem; }
  .card-heading { margin-bottom: 24px; }
  .choices { grid-template-columns: 1fr; }
  .choice { min-height: 50px; padding-inline: 14px; }
  .thank-you-card { padding: 36px 24px; }
  .thank-you-card h1 { font-size: 1.75rem; }
  .desktop-break { display: none; }
  .page-footer { padding-top: 24px; column-gap: 16px; }
}
