/* ==========================================================================
   Slip Audit - slipaudit.com.au
   Design system: Jobber-inspired. Deep evergreen + bright citrus lime,
   warm cream surfaces, Fraunces serif display headlines, chunky buttons.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Palette (light) - warm cream, evergreen ink, citrus lime pop */
  --bg: #f7f4eb;
  --bg-elevated: #fdfbf5;
  --surface: #ffffff;
  --surface-2: #f0ecdf;
  --ink: #10291f;
  --ink-2: #4c5f55;
  --ink-3: #7e8d84;
  --line: rgba(16, 41, 31, 0.11);
  --line-strong: rgba(16, 41, 31, 0.2);

  --evergreen: #0b4232;
  --evergreen-deep: #072e22;
  --citrus: #b5e941;
  --citrus-hover: #c8f463;
  --citrus-tint: #ecf8cf;
  --citrus-ink: #0b4232;

  --accent: #0c6b4d;
  --accent-hover: #095239;
  --accent-tint: #e2f1e6;
  --accent-ink: #ffffff;

  --green: #1b7a43;
  --green-tint: #ddf2e0;
  --amber: #92600a;
  --amber-tint: #fcefcd;
  --red: #c03a22;
  --red-tint: #fbe5de;
  --sun: #f5a623;
  --sun-tint: #fdeecd;
  --coral: #ff6b4a;
  --coral-tint: #ffe6df;

  --nav-bg: rgba(247, 244, 235, 0.8);
  --tabbar-bg: rgba(253, 253, 251, 0.86);
  --footer-bg: #072e22;
  --shadow-card: 0 1px 2px rgba(11, 66, 50, 0.05), 0 4px 16px rgba(11, 66, 50, 0.06);
  --shadow-pop: 0 10px 36px rgba(11, 66, 50, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --tabbar-height: 116px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute must always win, even over classes that set display */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--tabbar-height) + 24px + env(safe-area-inset-bottom, 0px));
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h3, h4 {
  font-family: var(--font-body);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.8vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--ink-2);
  max-width: 32em;
}

.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }

::selection { background: var(--citrus); color: #0b4232; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--evergreen);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-tight { padding: 36px 0; }

.section-head { max-width: 42em; margin-bottom: 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--citrus-ink);
  background: var(--citrus-tint);
  border: 1px solid color-mix(in srgb, var(--citrus) 55%, transparent);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Homepage section banding for rhythm */
#how-it-works, #industries, #articles { background: var(--bg-elevated); }
#standards { background: var(--surface-2); }

/* ---------- Top navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.site-nav .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img { display: block; height: 26px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 550;
  padding: 7px 11px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--accent); }

.nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--citrus);
  color: var(--citrus-ink) !important;
  font-weight: 750;
  font-size: 0.92rem;
  padding: 9px 17px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(11, 66, 50, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--citrus-hover); transform: translateY(-1px); text-decoration: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 8px; }
  body { padding-bottom: 0; }
}

/* On mobile the floating pill carries the brand and CTA, so no top header */
@media (max-width: 899px) {
  .site-nav { display: none; }
}

/* ---------- Mobile bottom tab bar (iOS Liquid Glass, floating capsule) ---------- */

.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(calc(100% - 32px), 400px);
  padding: 8px;
  border-radius: 30px;
  background: var(--tabbar-bg);
  border: 2px solid var(--citrus);
  -webkit-backdrop-filter: saturate(180%) blur(25px);
  backdrop-filter: saturate(180%) blur(25px);
  box-shadow:
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.9),
    0 2px 10px rgba(11, 66, 50, 0.18);
}

.tabbar-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 5px 10px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 7px;
}

.tabbar-brand-row .brand img { height: 21px; }
.tabbar-brand-row .nav-cta { margin-left: 0; padding: 8px 15px; font-size: 0.88rem; }

.tabbar-tabs {
  display: flex;
  align-items: stretch;
}

.tabbar-tabs a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 7px 0 6px;
  border-radius: 999px;
  color: rgba(43, 55, 49, 0.72);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.tabbar-tabs a:hover { text-decoration: none; }
.tabbar-tabs a:active { transform: scale(0.92); }
.tabbar-tabs a svg { width: 23px; height: 23px; }

.tabbar-tabs a[aria-current="page"] {
  color: #0b4232;
  background: var(--citrus);
  box-shadow:
    inset 0 0.5px 0.5px rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(11, 66, 50, 0.18),
    0 4px 12px rgba(11, 66, 50, 0.22);
}

@media (min-width: 900px) {
  .tabbar { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.02rem;
  font-weight: 750;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--citrus);
  color: var(--citrus-ink);
  box-shadow: 0 2px 0 rgba(11, 66, 50, 0.3);
}
.btn-primary:hover { background: var(--citrus-hover); box-shadow: 0 5px 16px rgba(11, 66, 50, 0.25); }

.btn-tinted {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.btn-tinted:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero (dark evergreen, full bleed) ---------- */

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(181, 233, 65, 0.22), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(12, 107, 77, 0.55), transparent 65%),
    var(--evergreen-deep);
  color: #f2efe3;
}

.hero .eyebrow {
  background: var(--citrus);
  color: #0b2e16;
  border-color: transparent;
}

.hero h1 { color: #fdfbf5; max-width: 13em; }

.hero .lede { color: rgba(242, 239, 227, 0.82); margin: 18px 0 28px; }

.hero .btn-tinted {
  color: #f2efe3;
  box-shadow: inset 0 0 0 2px rgba(242, 239, 227, 0.4);
}
.hero .btn-tinted:hover { box-shadow: inset 0 0 0 2px rgba(242, 239, 227, 0.9); }

.hero-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(242, 239, 227, 0.65);
}
.hero-note a { font-weight: 650; color: var(--citrus); }

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 96px 0 76px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* Sample report card visual */
.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  color: var(--ink);
  transform: rotate(-1.5deg);
  transition: transform 0.25s ease;
}
.report-card:hover { transform: rotate(0deg); }

.report-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-card-head strong { font-size: 0.98rem; letter-spacing: -0.01em; }
.report-card-head span { font-size: 0.75rem; color: var(--ink-3); }

.report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.report-row:last-of-type { border-bottom: none; }
.report-row .loc { color: var(--ink); font-weight: 550; }
.report-row .loc small { display: block; color: var(--ink-3); font-weight: 450; font-size: 0.78rem; }

.report-card-foot {
  padding: 13px 20px;
  background: var(--surface-2);
  font-size: 0.85rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}

/* ---------- Chips / badges ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.chip-pass { background: var(--green-tint); color: var(--green); }
.chip-warn { background: var(--amber-tint); color: var(--amber); }
.chip-fail { background: var(--red-tint); color: var(--red); }
.chip-neutral { background: var(--surface-2); color: var(--ink-2); }
.chip-accent { background: var(--citrus-tint); color: var(--citrus-ink); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card h3 { margin-bottom: 2px; }
.card p { color: var(--ink-2); font-size: 0.95rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--citrus-tint);
  color: var(--citrus-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.card-icon svg { width: 22px; height: 22px; }

/* Colour-cycled icon tiles for pop */
.card-grid .card:nth-child(3n+2) .card-icon { background: var(--accent-tint); color: var(--accent); }
.card-grid .card:nth-child(3n) .card-icon { background: var(--sun-tint); color: var(--amber); }

a.card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
  border-color: var(--line-strong);
  text-decoration: none;
}

.card-link-hint {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}
.card-link-hint::after { content: " \2192"; }

/* Colour-cycled top rails on the industries-style 4-up grid */
.card-grid.cols-4 .card { border-top: 4px solid var(--citrus); }
.card-grid.cols-4 .card:nth-child(4n+2) { border-top-color: var(--accent); }
.card-grid.cols-4 .card:nth-child(4n+3) { border-top-color: var(--sun); }
.card-grid.cols-4 .card:nth-child(4n) { border-top-color: var(--coral); }

/* ---------- Grouped inset list ---------- */

.list-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-group li { border-bottom: 1px solid var(--line); }
.list-group li:last-child { border-bottom: none; }

.list-group a,
.list-group .list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.12s ease;
}

.list-group a:hover { background: var(--surface-2); text-decoration: none; }

.list-row-body { flex: 1; min-width: 0; }
.list-row-body strong { display: block; font-weight: 600; font-size: 1rem; }
.list-row-body span { display: block; color: var(--ink-2); font-size: 0.88rem; margin-top: 1px; }

.list-chevron { color: var(--ink-3); flex: none; }
.list-chevron svg { width: 9px; height: 15px; }

.list-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--citrus-tint);
  color: var(--citrus-ink);
}
.list-icon svg { width: 18px; height: 18px; }

.list-group li:nth-child(3n+2) .list-icon { background: var(--accent-tint); color: var(--accent); }
.list-group li:nth-child(3n) .list-icon { background: var(--sun-tint); color: var(--amber); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .steps { grid-template-columns: repeat(2, 1fr); } }

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--citrus);
}
.step:nth-child(2)::after { background: var(--accent); }
.step:nth-child(3)::after { background: var(--sun); }
.step:nth-child(4)::after { background: var(--coral); }

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--citrus);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.step h3 { font-size: 1.08rem; }
.step p { color: var(--ink-2); font-size: 0.92rem; margin: 0; }

/* ---------- Split feature ---------- */

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li strong { color: var(--ink); }
.checklist .tick {
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--citrus);
  color: #0b2e16;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.checklist .tick svg { width: 11px; height: 11px; }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 480px; }

th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: none; }

th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f2efe3;
  font-weight: 750;
  background: var(--evergreen);
}

td { color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; max-width: 42em; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: color-mix(in srgb, var(--citrus) 70%, var(--line)); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 4px; }

.faq-item .faq-body { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- CTA banner (dark evergreen, citrus glow) ---------- */

.cta-banner {
  background:
    radial-gradient(38rem 22rem at 110% -20%, rgba(181, 233, 65, 0.28), transparent 60%),
    radial-gradient(30rem 20rem at -15% 120%, rgba(12, 107, 77, 0.6), transparent 65%),
    var(--evergreen-deep);
  color: #f2efe3;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

.cta-banner h2 { color: #fdfbf5; }
.cta-banner p { color: inherit; opacity: 0.8; max-width: 38em; margin: 0 auto 26px; }
.cta-banner .btn-row { justify-content: center; }

.cta-banner .btn-ghost {
  background: transparent;
  color: #f2efe3;
  box-shadow: inset 0 0 0 2px rgba(242, 239, 227, 0.4);
}
.cta-banner .btn-ghost:hover { box-shadow: inset 0 0 0 2px rgba(242, 239, 227, 0.9); }

/* ---------- Page header (interior pages) ---------- */

.page-head {
  padding-top: 60px;
  padding-bottom: 16px;
  background:
    radial-gradient(44rem 20rem at 100% -60%, rgba(181, 233, 65, 0.14), transparent 65%),
    transparent;
}
.page-head h1 { max-width: 14em; }
.page-head .lede { margin-top: 14px; }
.page-head + .section { padding-top: 40px; }

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.breadcrumbs a { color: var(--ink-2); }

/* ---------- Prose ---------- */

.prose { max-width: 42em; }
.container.prose { max-width: 1080px; }
.container.prose > * { max-width: 42em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: 0.4em; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--citrus) 80%, transparent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }

/* ---------- Enquiry form ---------- */

.enquiry-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; }

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%237e8d84' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--citrus) 45%, transparent);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 550;
}
.form-status.is-success { display: block; background: var(--green-tint); color: var(--green); }
.form-status.is-error { display: block; background: var(--red-tint); color: var(--red); }

.enquiry-form button[disabled] { opacity: 0.6; cursor: default; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer (dark evergreen) ---------- */

.site-footer {
  background: var(--footer-bg);
  color: rgba(242, 239, 227, 0.75);
  margin-top: 56px;
  padding: 56px 0 44px;
  font-size: 0.92rem;
  border-top: 4px solid var(--citrus);
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-grid h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--citrus);
  margin-bottom: 14px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: rgba(242, 239, 227, 0.75); }
.footer-grid a:hover { color: var(--citrus); }

.footer-brand p { max-width: 26em; }

.footer-logo {
  display: block;
  height: 28px;
  width: auto;
  margin-bottom: 14px;
  /* The wordmark PNG is dark grey; lift it to match the footer's light text */
  filter: brightness(0) invert(0.94);
}

.footer-legal {
  border-top: 1px solid rgba(242, 239, 227, 0.15);
  padding-top: 24px;
  font-size: 0.83rem;
  color: rgba(242, 239, 227, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.footer-legal a { color: rgba(242, 239, 227, 0.75); }
.footer-legal a:hover { color: var(--citrus); }

/* ---------- Utility ---------- */

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .report-card { transform: none; }
}

/* ==========================================================================
   Quote flow (/quote/) - app-like stepped booking, iOS sheets
   ========================================================================== */

.quote-page {
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

/* Compact app-like header */
.qhead { padding: 22px 0 4px; }
.qhead .eyebrow { margin-bottom: 10px; }
.qhead h1 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin-bottom: 4px; }
.qhead-sub { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* Mobile top bar (the floating tab bar is not used on this page) */
.qtopbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + 0px);
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.qtopbar .brand img { height: 22px; }
.qtopbar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  text-decoration: none;
}
.qtopbar-close:hover { text-decoration: none; color: var(--ink); }
.qtopbar-close svg { width: 14px; height: 14px; }
@media (min-width: 900px) {
  .qtopbar { display: none; }
}

.qwrap { max-width: 620px; margin: 0 auto; }

/* Step progress */
.qprogress { margin: 20px 0 6px; }
.qprogress-track { display: flex; gap: 6px; }
.qprogress-track span {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  transition: background 0.25s ease;
}
.qprogress-track span.is-done { background: var(--accent); }
.qprogress-track span.is-active { background: var(--citrus); box-shadow: 0 0 0 1px color-mix(in srgb, var(--citrus-ink) 25%, transparent); }
.qprogress-label {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Step panels (iOS-style push transition) */
.qpanel { display: grid; gap: 16px; }
.qpanel:not([hidden]) { animation: qpanel-in 0.32s cubic-bezier(0.32, 0.72, 0, 1); }
.qpanel[hidden] { display: none; }

@keyframes qpanel-in {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}

.qcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: grid;
  gap: 16px;
}
.qcard h2 { font-size: clamp(1.45rem, 3.4vw, 1.8rem); margin: 0; }
.qhint { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

.qerr {
  display: none;
  color: var(--red);
  font-size: 0.83rem;
  font-weight: 600;
  margin: 0;
}
.qerr.is-on { display: block; }
.field input.is-invalid,
.field select.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent);
}

/* Location list */
.loc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.loc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.loc-list .loc-body { flex: 1; min-width: 0; }
.loc-list .loc-body strong { display: block; font-size: 0.98rem; }
.loc-list .loc-body span { display: block; color: var(--ink-2); font-size: 0.84rem; }
.loc-num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--citrus);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc-remove {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc-remove:hover { background: var(--red-tint); color: var(--red); }
.loc-remove svg { width: 13px; height: 13px; }

.loc-empty {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.qadd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  color: var(--accent);
  background: var(--accent-tint);
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.qadd:hover { background: color-mix(in srgb, var(--accent) 18%, var(--accent-tint)); }
.qadd:active { transform: scale(0.985); }
.qadd svg { width: 16px; height: 16px; }

/* Time window options (iOS-style radio cards) */
.win-group { display: grid; gap: 10px; }
.win-option { position: relative; display: block; cursor: pointer; }
.win-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.win-option .win-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.win-option .win-body { flex: 1; }
.win-option .win-body strong { display: block; font-size: 0.98rem; }
.win-option .win-body span { display: block; color: var(--ink-2); font-size: 0.85rem; }
.win-option .win-dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.win-option input:checked + .win-card {
  border-color: var(--citrus-ink);
  background: var(--citrus-tint);
  box-shadow: 0 0 0 1px var(--citrus-ink);
}
.win-option input:checked + .win-card .win-dot {
  border-color: var(--citrus-ink);
  background: radial-gradient(circle at center, var(--citrus-ink) 0 5px, var(--surface) 5.5px);
}
.win-option input:focus-visible + .win-card {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--citrus) 45%, transparent);
}

/* After-hours notice */
.ooh-note {
  display: none;
  background: var(--amber-tint);
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--amber);
}
.ooh-note.is-on { display: block; }
.ooh-note strong { display: block; margin-bottom: 2px; }
.ooh-note button {
  font: inherit;
  font-weight: 700;
  color: var(--amber);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quote summary */
.price-hero { text-align: center; padding: 8px 0 2px; }
.price-hero .price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.price-hero .price-gst {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-2);
}
.price-hero .price-sub {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.price-hero .chip { margin-top: 12px; }

.qterms {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px 16px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--ink-2);
  list-style: none;
}
.qterms li { display: flex; gap: 8px; align-items: baseline; }
.qterms li::before { content: "\2713"; color: var(--green); font-weight: 800; }

/* Sticky action bar */
.qactions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--tabbar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(25px);
  backdrop-filter: saturate(180%) blur(25px);
  border-top: 1px solid var(--line);
}
.qactions-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.qactions .btn { flex: 1; }
.qactions .qback { flex: 0 0 auto; }
.qactions .qback[hidden] { display: none; }
.qactions[hidden] { display: none; }

/* Bottom sheet (iOS style) */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(7, 46, 34, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 105%);
  z-index: 160;
  width: min(100%, 560px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--bg-elevated);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-pop);
  padding: 10px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet.is-open { transform: translate(-50%, 0); }
@media (min-width: 900px) {
  .sheet {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -40%);
    opacity: 0;
    pointer-events: none;
    border-radius: 24px;
    padding-bottom: 22px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .sheet.is-open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
}

.sheet-handle {
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: var(--line-strong);
  margin: 4px auto 16px;
}
@media (min-width: 900px) { .sheet-handle { display: none; } }

.sheet h3 { font-size: 1.2rem; margin-bottom: 4px; }
.sheet .qhint { margin-bottom: 14px; }
.sheet .field { margin-bottom: 14px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet-actions .btn { flex: 1; padding: 13px 18px; }

.chip-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.chip-picks button {
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip-picks button:hover,
.chip-picks button:focus-visible {
  background: var(--citrus-tint);
  border-color: var(--citrus-ink);
  color: var(--citrus-ink);
}

/* Success */
.qsuccess { text-align: center; padding: 40px 24px; }
.qsuccess .tick-big {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--citrus);
  color: #0b2e16;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.qsuccess .tick-big svg { width: 28px; height: 28px; }
.qsuccess h2 { margin-bottom: 8px; }
.qsuccess p { color: var(--ink-2); max-width: 30em; margin-left: auto; margin-right: auto; }
.qsuccess .btn-row { justify-content: center; margin-top: 22px; }

body.sheet-locked { overflow: hidden; }
