/* ==========================================================
   BRAND SETTINGS — change these first (one place, on purpose)
   ========================================================== */
:root {
  --brand: #0b4f6c;          /* buttons + links. Check contrast with white ≥ 4.5:1 */
  --brand-dark: #073a50;     /* button hover */
  --accent: #e8772e;         /* small highlights only */
  --text: #1a1a1a;
  --text-muted: #555;
  --bg: #ffffff;
  --bg-alt: #f2f6f8;         /* alternate section background */
  --radius: 10px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);

  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --max: 1160px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 72px;      /* room for the mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 var(--s3); }
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--s3); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.container { width: min(100% - 2 * var(--s4), var(--max)); margin-inline: auto; }
.narrow { max-width: 720px; }
.section { padding-block: var(--s7); }
@media (min-width: 900px) { .section { padding-block: var(--s8); } }
.section-alt { background: var(--bg-alt); }
.lead { font-size: 1.2rem; color: var(--text-muted); }
.small { font-size: 0.9rem; color: var(--text-muted); }
.prose > * + * { margin-top: var(--s3); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--text); color: #fff; padding: var(--s2) var(--s3); z-index: 100; }
.skip-link:focus { left: var(--s3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s4);
  border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-lg { min-height: 56px; padding: 0 var(--s5); font-size: 1.1rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-secondary:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-block: var(--s4); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid #e6e6e6; }
.header-inner { display: flex; align-items: center; gap: var(--s4); min-height: 68px; }
.logo img { height: 40px; width: auto; }
.nav-toggle { margin-left: auto; min-height: 44px; padding: 0 var(--s3); background: none; border: 2px solid var(--text); border-radius: var(--radius); font: inherit; font-weight: 600; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid #e6e6e6; }
.site-nav ul { list-style: none; margin: 0; padding: var(--s3) var(--s4); }
.site-nav a { display: block; padding: var(--s3) 0; color: var(--text); text-decoration: none; font-weight: 600; }
.header-phone, .header-cta { display: none; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; border: 0; margin-left: auto; }
  .site-nav ul { display: flex; gap: var(--s4); padding: 0; }
  .site-nav a { padding: var(--s2) 0; }
  .header-phone { display: inline; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
  .header-cta { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; min-height: min(80vh, 640px); display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.25)); }
.hero-content { position: relative; z-index: 1; padding-block: var(--s7); }
.hero h1 { max-width: 16ch; }
.hero-sub { font-size: 1.25rem; max-width: 40ch; }
.hero .btn-secondary { color: #fff; }
.hero .btn-secondary:hover { background: #fff; color: var(--text); border-color: #fff; }
.trust-line { font-weight: 600; opacity: .95; }

/* ---------- cards ---------- */
.cards { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: var(--s4); }
.price { font-weight: 700; color: var(--brand); margin: 0; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: var(--s4); }
.review { margin: 0; background: var(--bg); padding: var(--s4); border-radius: var(--radius); border-left: 4px solid var(--accent); }
.review blockquote { margin: 0 0 var(--s3); font-size: 1.1rem; }
.review figcaption { color: var(--text-muted); font-size: .95rem; }

/* ---------- reasons, two-col, hours ---------- */
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.two-col { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-secondary { color: #fff; }
.cta-band .btn-secondary:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* ---------- form ---------- */
.form { display: grid; gap: var(--s2); background: var(--bg-alt); padding: var(--s5); border-radius: var(--radius); }
.form label { font-weight: 600; margin-top: var(--s2); }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #b8bec4; border-radius: 8px; background: #fff; width: 100%; }
.form button { margin-top: var(--s3); }
.optional { font-weight: 400; color: var(--text-muted); }
.hp { position: absolute; left: -9999px; }
.form-status:empty { display: none; }

/* ---------- footer ---------- */
.site-footer { background: #111; color: #ddd; padding-block: var(--s6); font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-name { font-weight: 700; color: #fff; font-size: 1.1rem; }

/* ---------- mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: var(--s2); padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--bg); box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
.mobile-bar .btn { min-height: 52px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ==========================================================
   CREEKSIDE DEMO — extra pieces for this site
   ========================================================== */
.demo-banner { background: #ffe066; color: #1a1a1a; text-align: center; font-size: .9rem; padding: var(--s2) var(--s3); line-height: 1.4; }
.demo-inline { display: inline-block; background: #fff4bf; border-left: 4px solid #e6b800; padding: var(--s2) var(--s3); font-size: .95rem; }
.demo-note { font-size: .85rem; color: #bbb; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark { width: 38px; height: 38px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; fill: #fff; }
.logo-text { font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: -0.01em; }
.logo-text span { display: block; font-weight: 600; font-size: .8rem; color: var(--text-muted); margin-top: 3px; }
.site-nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* hero without a photo */
.hero-plain { min-height: 0; align-items: center; background: radial-gradient(circle at 85% 15%, #13759e 0, transparent 45%), linear-gradient(160deg, #0b4f6c 0%, #062f41 100%); }
.hero-plain::after { display: none; }
.hero-grid { display: grid; gap: var(--s5); padding-block: var(--s7); align-items: center; }
.hero-plain .hero-content { padding-block: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.4fr 1fr; padding-block: var(--s8); } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: #ffc49b; margin-bottom: var(--s2); }
.quick-quote { background: #fff; color: var(--text); border-radius: var(--radius); padding: var(--s5); box-shadow: 0 12px 32px rgba(0,0,0,.25); border-top: 6px solid var(--accent); }
.quick-quote h2 { font-size: 1.4rem; }
.btn-accent { background: var(--accent); color: #1a1a1a; width: 100%; text-align: center; }
.btn-accent:hover { background: #d4661f; color: #1a1a1a; }

/* icon cards */
.card-icon { padding: var(--s5) var(--s4); display: flex; flex-direction: column; }
.card-icon .price { margin-top: auto; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: #e6f0f4; color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s3); }
.icon svg { width: 28px; height: 28px; fill: currentColor; }

/* price promise strip */
.promise { background: var(--accent); color: #1a1a1a; padding-block: var(--s6); }
.promise-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4); }
.promise-big { font-size: clamp(1.3rem, 2vw + .8rem, 1.9rem); font-weight: 800; margin: 0; max-width: 30ch; line-height: 1.25; }
.btn-secondary-light { border-color: #1a1a1a; color: #1a1a1a; }
.btn-secondary-light:hover { background: #1a1a1a; color: #fff; }

.review-placeholder { border: 2px dashed #9fb3bd; border-radius: var(--radius); padding: var(--s5); background: #fff; max-width: 760px; }

.suburbs { list-style: none; padding: 0; margin: 0 0 var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2); }
.suburbs li { background: #fff; border: 1px solid #cfdde3; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }

.cta-sub { font-size: 1.15rem; opacity: .95; }

/* inner pages */
.page-intro { padding-bottom: var(--s5); }
.section-tight { padding-block: var(--s5); }
.steps { padding-left: 1.2em; }
.steps li { margin-bottom: var(--s3); }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: var(--s6); }
.price-table th, .price-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #dde5e9; vertical-align: top; }
.price-table th { background: var(--bg-alt); font-size: .9rem; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--brand); }
.price-table th:last-child { color: var(--text); }
.photo-placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #e6eef2 0 14px, #dbe6eb 14px 28px); display: grid; place-items: center; text-align: center; padding: var(--s4); color: var(--text-muted); font-weight: 600; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 32px; position: relative; margin-bottom: var(--s3); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
.btn-col { display: grid; gap: var(--s3); max-width: 360px; margin-block: var(--s4); }

/* fixes after first screenshot check */
.hero .btn-primary { background: #fff; color: var(--brand); }
.hero .btn-primary:hover { background: #ffe9d9; color: var(--brand-dark); }
@media (max-width: 520px) { .hero .btn-row .btn, .cta-band .btn-row .btn { width: 100%; } }
.cards + .small { margin-top: var(--s3); }
