/* ---------- Colours and sizes used across the site ---------- */
:root {
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --yellow: #ffc400;
  --yellow-dark: #e6b000;
  --text: #1c2533;
  --muted: #4a5568;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --border: #d9dee7;
  --error: #b42318;
  --radius: 12px;
  --max: 1100px;
}

/* ---------- Basics ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.small { font-size: 0.9rem; color: var(--muted); }

/* Hidden until a keyboard user presses Tab */
.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--yellow); color: var(--navy);
  padding: 8px 12px; border-radius: 8px; font-weight: 700; z-index: 100;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-call { background: var(--yellow); color: var(--navy); }
.btn-call:hover { background: var(--yellow-dark); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }
.btn-large { min-height: 56px; font-size: 1.1rem; width: 100%; }

/* ---------- Header (stays at the top while scrolling) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--navy); color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand-sub { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 48px 0 56px;
}
.eyebrow { color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; }
.hero h1 { font-size: 2.1rem; }
.accent { color: var(--yellow); }
.lead { font-size: 1.15rem; color: #dbe3ef; max-width: 40em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #dbe3ef; font-size: 0.95rem; }
.trust li::before { content: "✓ "; color: var(--yellow); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark a { color: var(--yellow); }

/* Services cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px;
}
.card svg { color: var(--navy); margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }
.card-urgent { border: 2px solid var(--yellow); }
.card-urgent svg { color: #a36a00; }

/* About */
.about { display: grid; gap: 32px; }
.licence { background: #fff; border-left: 4px solid var(--yellow); padding: 12px 16px; border-radius: 8px; }
.suburbs { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.suburbs li { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; font-size: 0.95rem; }

/* Reviews */
.notice { background: #fff7d6; border: 1px solid #f0d77a; padding: 10px 14px; border-radius: 8px; font-size: 0.95rem; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.review { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.tag {
  display: inline-block; background: var(--navy); color: #fff;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 2px 10px; border-radius: 999px; margin-bottom: 8px;
}
.stars { color: #a36a00; font-size: 1.2rem; margin: 0 0 6px; letter-spacing: 2px; }
.review blockquote { margin: 0 0 10px; }
.who { margin: 0; font-weight: 700; color: var(--muted); }

/* Quote form */
.quote { display: grid; gap: 24px; }
.form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 12px; min-height: 48px;
  border: 2px solid var(--border); border-radius: 8px; background: #fff; color: var(--text);
}
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.6); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-size: 0.9rem; margin: 4px 0 0; min-height: 0; }
.error:empty { display: none; }
.form-status { margin: 12px 0 0; font-weight: 700; }
.form-status.success { color: #146c2e; }

/* Footer */
.site-footer { background: #071426; color: #c7d2e1; padding: 32px 0; font-size: 0.95rem; }
.footer-inner { display: grid; gap: 8px; }
.site-footer a { color: var(--yellow); }

/* ---------- Bigger screens ---------- */
@media (min-width: 640px) {
  .brand-sub { display: inline; }
  .hero-actions { flex-direction: row; }
  .btn-large { width: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero h1 { font-size: 3rem; max-width: 16em; }
  h2 { font-size: 2.1rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 3fr 2fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .quote { grid-template-columns: 2fr 3fr; align-items: start; }
}

/* Respect people who turn off animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
