/* OptionKey — styles. WCAG 2.2 AA: dark text on light backgrounds, visible focus everywhere. */
:root {
  --green: #14532d;
  --green-dark: #0e3d21;
  --green-light: #e6f0e9;
  --amber: #b45309;
  --bg: #faf7f2;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --border: #d1d5db;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--green); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 8px 8px; z-index: 100; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 0; color: #fff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .55rem; font-size: 1.5rem; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo svg { flex: none; }
.logo span em { font-style: normal; color: var(--green); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.main-nav a { display: block; padding: .5rem .8rem; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; }
.main-nav a:hover { background: var(--green-light); color: var(--green-dark); }
.main-nav a[aria-current="page"] { background: var(--green-light); color: var(--green-dark); }

/* Hero */
.hero { position: relative; }
.hero img { width: 100%; height: 420px; object-fit: cover; }
.hero-text {
  background: var(--green); color: #fff;
  padding: 2rem 1.5rem; margin: -4.5rem auto 0; position: relative;
  max-width: 920px; border-radius: var(--radius);
}
.hero-text h1 { margin: 0 0 .5rem; font-size: 2rem; line-height: 1.2; }
.hero-text p { margin: 0 0 1.25rem; font-size: 1.125rem; }
.hero-text p:last-child { margin-bottom: 0; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: .75rem 1.4rem; border-radius: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; line-height: 1.4;
}
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-light); color: var(--green-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); color: var(--green-dark); }

/* Sections */
section { padding: 2.5rem 0; }
section h2 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .75rem; }
section h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem;
}
.card img { border-radius: 8px; margin-bottom: 1rem; }
.card p { margin: .4rem 0 1rem; }
.steps { counter-reset: step; list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4rem; position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps li h2, .steps li h3 { margin-bottom: .25rem; font-size: 1.2rem; }
.steps li p { margin: 0; }
.example {
  background: var(--green-light); border: 1px solid #bcd6c2; border-radius: var(--radius);
  padding: 1.5rem; margin-top: 1.5rem;
}
.example h3 { margin-bottom: .5rem; }
.example table { border-collapse: collapse; width: 100%; max-width: 560px; margin-top: .75rem; }
.example th, .example td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid #bcd6c2; }
.example th { font-weight: 700; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: .75rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: .6rem 0 0; }
.note { background: #fff8e6; border: 1px solid #e8c96a; border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.5rem; }
.note strong { color: #5b3a00; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.two-col img { border-radius: var(--radius); }
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .hero img { height: 260px; }
  .hero-text { margin-top: -3rem; }
  .hero-text h1 { font-size: 1.6rem; }
}

/* Forms */
form.enquiry { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; }
form.enquiry h2, form.enquiry h3 { margin-top: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .65rem .75rem; font: inherit; color: var(--text);
  border: 2px solid var(--border); border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid var(--green); outline-offset: 1px; }
.field .error-msg { color: #7f1d1d; font-weight: 700; margin-top: .3rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b91c1c; }
.field.invalid .error-msg { display: block; }
.form-status { border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1rem; display: none; }
.form-status.ok { display: block; background: var(--green-light); border: 1px solid #bcd6c2; }
.form-status.err { display: block; background: #fde8e8; border: 1px solid #f0b4b4; }

/* Footer */
.site-footer { background: var(--green-dark); color: #fff; margin-top: 2rem; }
.site-footer .wrap { padding-top: 2rem; padding-bottom: 2rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: .3rem 0; }
.footer-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: underline; text-underline-offset: 2px; }
