/* =========================================================================
   Bennett Cleaning Services
   Plain CSS (custom properties + native nesting), no build step needed.
   Colours come from the logo: navy/ocean blues and leaf greens.
   ========================================================================= */

:root {
  --ink: #0f2f45;
  --text: #44596a;
  --muted: #5b6e7c;
  --navy: #185878;
  --navy-dark: #0f3d5a;
  --navy-deep: #0e3a56;
  --ocean: #1f7fb5;
  --sky: #2a9bd0;
  --leaf: #6ab04c;
  --forest: #3b7d36;
  --forest-dark: #2f6a2b;

  --sky-50: #f1f8fc;
  --sky-100: #e6f2f9;
  --leaf-100: #e3f2e0;
  --line: #e3edf3;
  --line-strong: #cfe3ee;
  --star: #f2a516;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(15 47 69 / 0.05);
  --shadow: 0 16px 36px rgb(15 47 69 / 0.10);
  --container: 1200px;
  --header-h: 82px;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }

img { display: block; max-width: 100%; height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;

  &:focus { top: 12px; color: #fff; }
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: -0.2em;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.container-narrow { width: min(100% - 32px, 820px); }

/* ---------- Scroll reveal (only once JS is running) ---------- */

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;

  &:hover { transform: translateY(-2px); }
}

.btn-lg { padding: 1em 1.75em; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgb(24 88 120 / 0.25);

  &:hover { background: var(--navy-dark); color: #fff; }
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;

  &:hover { background: var(--navy); color: #fff; }
}

.btn-light {
  background: #fff;
  color: var(--navy);

  &:hover { background: var(--sky-50); color: var(--navy-dark); }
}

.btn-ghost-light {
  border-color: rgb(255 255 255 / 0.6);
  color: #fff;

  &:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; color: #fff; }
}

.text-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;

  & .icon { margin-left: 0.3em; transition: transform 0.2s; }
  &:hover { text-decoration: underline; }
  &:hover .icon { transform: translateX(3px); }
}

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid background: a backdrop-filter here would trap the fixed mobile menu inside the header */
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  & .brand-icon { height: 54px; width: auto; }
  & .brand-word { height: 34px; width: auto; }
}

.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;

  &:hover { background: var(--sky-50); color: var(--ink); }
  &[aria-current="page"] { color: var(--ocean); }
}

.has-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.submenu-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: 6px;

  & .icon { transition: transform 0.2s; }
  &[aria-expanded="true"] .icon { transform: rotate(180deg); }
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 2px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;

  & a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 10px;

    & .icon { color: var(--ocean); }
    &:hover { background: var(--sky-50); }
  }
}

.submenu-narrow { grid-template-columns: minmax(230px, 1fr); }

/* Bridge the gap so the menu doesn't close while moving the mouse to it */
.has-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

@media (hover: hover) and (min-width: 1100px) {
  .has-menu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.submenu-toggle[aria-expanded="true"] + .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;

  & .icon { color: var(--forest); }
  &:hover { color: var(--navy); }
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;

  & .icon { width: 22px; height: 22px; }
  & .icon-close { display: none; }
  &[aria-expanded="true"] .icon-open { display: none; }
  &[aria-expanded="true"] .icon-close { display: block; }
}

.nav-mobile-cta { display: none; }

@media (min-width: 1100px) {
  .header-actions { margin-left: 0; }
}

@media (max-width: 1099px) {
  .nav-toggle { display: grid; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 16px 16px 32px;
    margin: 0;
    background: #fff;
    overflow-y: auto;
  }

  .nav-open .main-nav { display: flex; }
  .nav-open { overflow: hidden; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li { border-bottom: 1px solid var(--line); }

  .nav-link {
    padding: 16px 4px;
    font-size: 1.1rem;
    border-radius: 0;

    &:hover { background: none; }
  }

  .has-menu {
    flex-wrap: wrap;
    justify-content: space-between;

    &::after { display: none; }
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
    margin: 0;

    & .icon { width: 22px; height: 22px; }
  }

  .submenu {
    position: static;
    display: none;
    flex-basis: 100%;
    grid-template-columns: 1fr;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu-toggle[aria-expanded="true"] + .submenu { display: grid; }

  .nav-mobile-cta {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .brand .brand-icon { height: 42px; }
  .brand .brand-word { height: 26px; }
  .header-phone, .header-quote { display: none; }
}

/* ---------- Mobile action bar ---------- */

.mobile-bar { display: none; }

@media (max-width: 767px) {
  body { padding-bottom: 72px; }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgb(15 47 69 / 0.08);

    & a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      border-radius: 999px;
      font-family: var(--font-head);
      font-weight: 700;
      text-decoration: none;
    }
  }

  .mobile-bar-call { border: 2px solid var(--navy); color: var(--navy); }
  .mobile-bar-quote { background: var(--navy); color: #fff; }
  .nav-open .mobile-bar { display: none; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--sky-50); }

/* Two plain sections in a row: don't double the gap between them */
.section:not(.section-alt) + .section:not(.section-alt) { padding-top: 0; }

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;

  & h2 { margin-bottom: 12px; }
  & p:last-child { margin-bottom: 0; font-size: 1.1rem; }
}

.kicker {
  margin: 0 0 10px;
  color: var(--forest);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head .kicker { font-size: 0.8rem; margin-bottom: 10px; }

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--leaf-100);
  color: var(--forest-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-more { margin: 36px 0 0; text-align: center; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.check-list {
  display: grid;
  gap: 10px;

  & li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  & .icon {
    margin-top: 0.25em;
    color: var(--forest);
    stroke-width: 3;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;

  & .icon { width: 0.95em; height: 0.95em; }
  &:hover { background: var(--sky-50); border-color: var(--sky); color: var(--navy); }
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--sky-100);
  color: var(--navy);

  & .icon { width: 22px; height: 22px; }
  &.tone-green { background: var(--leaf-100); color: var(--forest); }
}

/* ---------- Homepage hero ---------- */

.hero {
  --h1-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.4rem);
  position: relative;
  overflow: hidden;
  background: var(--sky-50);
  border-bottom: 1px solid #e1edf4;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: clamp(48px, 7vw, 80px) clamp(56px, 8vw, 96px);
}

.hero-copy { animation: fade-up 0.8s ease-out both; }

.hero-title {
  margin: 0;
  font-size: var(--h1-size);
  line-height: 1.2;
}

/* Full city list for Google and screen readers; shown when motion is off */
.cities-static {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.city-cycle {
  height: 1.2em;
  margin: 0;
  overflow: hidden;
  color: var(--ocean);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--h1-size);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.city-cycle-track {
  display: block;
  animation: city-cycle 10s cubic-bezier(0.7, 0, 0.3, 1) infinite;

  & span { display: block; height: 1.2em; }
}

.hero-swoosh {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 16px;
  margin: 6px 0 22px;

  & path {
    fill: none;
    stroke: var(--leaf);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 300;
    animation: draw-line 1.4s 0.4s ease-out both;
  }
}

.hero .lead { max-width: 560px; margin-bottom: 28px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
}

.cover-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;

  & > span {
    margin-right: 4px;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.875rem;
  }
}

/* Floating bubbles */
.bubbles { position: absolute; inset: 0; pointer-events: none; }

.bubble {
  position: absolute;
  left: var(--x);
  bottom: -40px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  border: 2px solid rgb(42 155 208 / 0.35);
  background: rgb(255 255 255 / 0.6);
  animation: rise var(--dur) linear var(--delay) infinite;

  &.bubble-green { border-color: rgb(106 176 76 / 0.38); }
}

/* Logo orb with spray mist */
.hero-visual { display: flex; justify-content: center; min-width: 0; }

.hero-orb {
  position: relative;
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1;
}

.orb-disc {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 30px 70px rgb(24 88 120 / 0.13);
}

.orb-ring {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 2px dashed #cfe6f2;
  animation: spin 60s linear infinite;
}

.orb-icon {
  position: absolute;
  left: 16%;
  top: 26%;
  width: 62%;

  & img { width: 100%; height: auto; }
}

.mist {
  position: absolute;
  left: 97%;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  opacity: 0;
  animation: 2.2s ease-out infinite;

  &.mist-leaf { background: var(--leaf); }
  &.mist-sky { background: var(--sky); }
  &.mist-1 { animation-name: mist-1; }
  &.mist-2 { animation-name: mist-2; }
  &.mist-3 { animation-name: mist-3; }
}

.sparkle {
  position: absolute;
  height: auto;
  fill: currentColor;
  animation: twinkle 3.2s ease-in-out infinite;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgb(15 47 69 / 0.10);
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
  animation: bob 3.4s ease-in-out infinite alternate;

  & strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 800; }
  & small { display: block; font-size: 0.8rem; }
  & .star { width: 22px; height: 22px; color: var(--star); fill: currentColor; stroke: none; }
  & .trust-icon { width: 36px; height: 36px; border-radius: 10px; }
  & .trust-icon .icon { width: 19px; height: 19px; }
}

a.float-card:hover { border-color: var(--line-strong); color: var(--text); }

.float-card-dark {
  padding: 10px 14px;
  border: 0;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 30px rgb(15 47 69 / 0.18);

  & strong { color: #fff; font-size: 0.875rem; font-weight: 700; }
}

.fc-rating { left: -2%; top: 4%; }
.fc-guarantee { right: -4%; bottom: 12%; animation-delay: 1.2s; }
.fc-team { left: 0; bottom: 3%; animation-delay: 0.6s; }

@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-orb { width: 360px; }
  .fc-rating { left: 0; }
  .fc-guarantee { right: 0; }
}

/* Rating badge under the buttons: phones only (larger screens use the floating card) */
.hero-reviews { display: none; }

/* Phones: smaller logo orb with no overlapping cards (the trust strip below covers them) */
@media (max-width: 599px) {
  .hero-grid { gap: 8px; }
  .hero-orb { width: 260px; }
  .float-card { display: none; }
  .hero-reviews { display: block; margin-top: 20px; }

  .cover-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;

    & > span { grid-column: 1 / -1; }
    & .chip { justify-content: center; padding-block: 8px; }
  }
}

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  padding-block: 24px clamp(44px, 5vw, 64px);
  background: var(--sky-50);
  border-bottom: 1px solid #e1edf4;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  margin-top: 28px;

  & h1 { margin-bottom: 16px; }
  & .lead { max-width: 640px; margin-bottom: 26px; }
}

.page-hero-grid:has(> :only-child) { grid-template-columns: minmax(0, 840px); }

.available-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;

  & > span {
    margin-right: 2px;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.875rem;
  }
}

.hero-card { padding: 28px; }

.hero-card-title {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
}

.hero-card-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.suburb-list,
.region-suburbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;

  & li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--sky-50);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.85rem;
  }
}

@media (max-width: 959px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--muted);

  & li + li::before {
    content: "/";
    margin-right: 6px;
    color: var(--line-strong);
  }

  & a { color: var(--muted); text-decoration: none; }
  & a:hover { color: var(--navy); text-decoration: underline; }
  & [aria-current] { color: var(--ink); font-weight: 700; }
}

/* ---------- Review badges ---------- */

.review-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;

  & .star { color: var(--star); fill: currentColor; stroke: none; }
  & strong { color: var(--ink); }
  &:hover { border-color: var(--line-strong); color: var(--text); }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  padding-block: 28px;

  & li {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  & strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 0.95rem;
    line-height: 1.3;
  }

  & small {
    display: block;
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

/* ---------- Service cards ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: opacity 0.7s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  & h3 { margin: 4px 0 0; font-size: 1.125rem; }

  & h3 a {
    color: var(--ink);
    text-decoration: none;

    /* Whole card is clickable */
    &::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
    }
  }

  & p { margin: 0; font-size: 0.95rem; }

  &:hover,
  &:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #9fcde6;
  }

  &:focus-within { outline: 3px solid var(--ocean); outline-offset: 2px; }
  & h3 a:focus-visible { outline: none; }
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sky-100);
  color: var(--navy);

  & .icon { width: 26px; height: 26px; }
  &.tone-green { background: var(--leaf-100); color: var(--forest); }
}

/* ---------- Coverage map & region cards ---------- */

.areas-layout {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;

  & .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.coverage-map {
  margin: 0;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);

  & svg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #f3f8ef;
  }
}

.coverage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 12px;

  & strong { color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
  & span { color: var(--forest); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; }
}

.map-sea { fill: #d8ebf6; }
.map-coast { fill: none; stroke: #b5d6e8; stroke-width: 2; }

.map-ocean {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  fill: #7fa9c2;
}

.map-pin {
  cursor: pointer;

  & .pin-pulse {
    fill: var(--sky);
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 2.4s ease-out infinite;
  }

  & .pin-dot {
    fill: var(--navy-deep);
    stroke: #fff;
    stroke-width: 3;
    transition: fill 0.2s;
  }

  & text {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 800;
    fill: var(--navy-deep);
  }

  &:hover .pin-dot,
  &:focus-visible .pin-dot { fill: var(--ocean); }

  &:focus-visible { outline: none; }
  &:focus-visible text { text-decoration: underline; }
}

.map-pin-green .pin-pulse { fill: var(--leaf); }

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}

.region-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: opacity 0.7s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #9fcde6;
  }

  & .region-suburbs { margin-bottom: 18px; }
  & .text-link { margin-top: auto; }
}

.region-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;

  & h3 { margin: 0; font-size: 1.25rem; }
}

.region-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--navy);

  & .icon { width: 20px; height: 20px; }
}

.region-count { margin: 0 0 14px; font-size: 0.875rem; }

@media (max-width: 959px) {
  .areas-layout { grid-template-columns: 1fr; }
  .coverage-map { width: 100%; max-width: 440px; margin-inline: auto; }
}

@media (max-width: 599px) {
  .areas-layout .region-grid { grid-template-columns: 1fr; }
}

/* ---------- Feature / why section ---------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;

  & .lead { color: var(--ink); }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  padding: 24px;

  & h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 1.05rem; }
  & h3 .trust-icon { width: 40px; height: 40px; border-radius: 12px; }
  & h3 .trust-icon .icon { width: 20px; height: 20px; }
  & p { margin: 0; font-size: 0.95rem; }
}

@media (max-width: 959px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 599px) {
  .feature-grid { grid-template-columns: 1fr; }
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;

  & li {
    position: relative;
    padding: 28px 24px 24px;
    counter-increment: step;
  }

  & li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
  }

  & h3 { font-size: 1.05rem; }
  & p { margin: 0; font-size: 0.95rem; }
}

@media (max-width: 959px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);

  & blockquote {
    flex-grow: 1;
    margin: 14px 0 18px;
    color: var(--ink);
  }

  & blockquote p { margin: 0; }

  & figcaption {
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
  }
}

.testimonial-mark {
  width: 32px;
  height: 24px;
  color: var(--leaf);
}

/* ---------- Included checklist ---------- */

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.included-card {
  padding: 28px;

  & h3 { margin-bottom: 16px; }
  & .check-list { font-size: 0.95rem; }
}

.areas-served {
  text-align: center;

  & h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }
  & .chip-list { justify-content: center; }
}

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

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.2s;

  &[open] { border-color: var(--line-strong); }

  & summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;

    &::-webkit-details-marker { display: none; }
  }

  & .faq-chevron {
    color: var(--navy);
    transition: transform 0.2s;
  }

  &[open] .faq-chevron { transform: rotate(180deg); }

  & .faq-answer {
    padding: 0 20px 18px;

    & p { margin: 0; }
  }
}

/* ---------- Quote section & form ---------- */

.quote-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.quote-info .check-list { margin: 24px 0 32px; }

.quote-contact {
  display: grid;
  gap: 16px;
}

.quote-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;

  & small { display: block; color: var(--muted); font-size: 0.85rem; }
  & strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
}

a.quote-contact-item:hover strong { color: var(--navy); }

.form-card { padding: clamp(20px, 4vw, 36px); border-radius: 24px; }

@media (max-width: 959px) {
  .quote-layout { grid-template-columns: 1fr; gap: 32px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.field-full { grid-column: 1 / -1; }

.field {
  & label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.875rem;
  }

  & input,
  & select,
  & textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c7d9e4;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1rem; /* 16px stops iOS zooming into fields */
    transition: border-color 0.2s, box-shadow 0.2s;

    &:focus {
      outline: none;
      border-color: var(--ocean);
      box-shadow: 0 0 0 3px rgb(31 127 181 / 0.2);
    }
  }

  & textarea { resize: vertical; min-height: 110px; }
}

.req { color: #b4372c; }

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

.form-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-status {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fdecea;
  color: #8a2a22;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-success {
  text-align: center;
  padding: 24px 8px;

  & .trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--leaf-100);
    color: var(--forest);

    & .icon { width: 30px; height: 30px; stroke-width: 3; }
  }

  & h3 { font-size: 1.4rem; }
}

@media (max-width: 599px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Prose (long-form page content) ---------- */

.prose {
  font-size: 1.0625rem;

  & h2 {
    margin-top: 1.8em;
    font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  }

  & h2:first-child { margin-top: 0; }
  & h3 { margin-top: 1.5em; }

  & ul:not(.check-list) {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
    list-style: disc;

    & li { margin-bottom: 0.4em; }
    & li::marker { color: var(--leaf); }
  }

  & .check-list { margin: 0 0 1.4em; }
  & strong { color: var(--ink); }
}

.callout {
  margin: 1.6em auto;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--sky-50);
  border: 1px solid var(--line);

  & p:last-child { margin: 0; }
}

/* ---------- CTA band ---------- */

.cta-band { padding-block: clamp(48px, 6vw, 80px); }

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(32px, 5vw, 48px);
  border-radius: 28px;
  background: var(--navy);
  color: #d6e8f2;

  & h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
  & p { margin: 0; font-size: 1.1rem; max-width: 620px; }
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Reviews page ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.platform-card {
  padding: 24px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;

  & .platform-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
  }

  & .star { width: 28px; height: 28px; color: var(--star); fill: currentColor; stroke: none; }
  & .platform-name { margin: 10px 0 2px; color: var(--ink); font-family: var(--font-head); font-weight: 700; }
  & .platform-count { margin: 0; font-size: 0.9rem; }
  &:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--text); }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: 64px;
  background: var(--sky-50);
  border-top: 1px solid #e1edf4;
  font-size: 0.95rem;

  & a { text-decoration: none; }
  & a:hover { text-decoration: underline; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;

  & img:first-child { height: 58px; width: auto; }
  & img:last-child { height: 48px; width: auto; }
}

.footer-heading {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
}

.footer-group > summary {
  display: block;
  list-style: none;

  &::-webkit-details-marker { display: none; }
}

.footer-group + .footer-group { margin-top: 28px; }

.footer-chevron { display: none; }

/* Link groups are always open on larger screens */
@media (min-width: 768px) {
  .footer-group > summary { pointer-events: none; }
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-contact {
  display: grid;
  gap: 10px;

  & li { display: flex; align-items: center; gap: 10px; word-break: break-word; }
  & .icon { color: var(--forest); }
}

.footer-hours {
  display: grid;
  gap: 6px;

  & li { display: flex; justify-content: space-between; gap: 12px; }
  & li span:last-child { color: var(--ink); font-weight: 700; white-space: nowrap; }
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid #dbe8ef;
  font-size: 0.85rem;

  & p { margin: 0; }
}

@media (max-width: 959px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* Phones: contact and hours first, then tap-to-open link groups */
@media (max-width: 767px) {
  .site-footer { padding-top: 48px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
  }

  .footer-about { order: -2; padding-bottom: 28px; }
  .footer-hours-col { order: -1; padding-bottom: 24px; }

  .footer-group {
    border-top: 1px solid #dbe8ef;

    & + .footer-group { margin-top: 0; }

    & > summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 52px;
      margin: 0;
      cursor: pointer;
    }

    & .footer-links { gap: 12px; padding-bottom: 18px; }
  }

  .footer-chevron {
    display: block;
    color: var(--navy);
    transition: transform 0.2s;
  }

  .footer-group[open] .footer-chevron { transform: rotate(180deg); }
}

/* ---------- 404 ---------- */

.not-found {
  padding-block: clamp(64px, 10vw, 120px);
  text-align: center;
  background: var(--sky-50);

  & .hero-actions { justify-content: center; }
}

/* ---------- Utilities ---------- */

.h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.break { word-break: break-all; }
.actions-center { justify-content: center; }
.stack-top { margin-top: 28px; }
.center { text-align: center; }

/* ---------- Animations ---------- */

@keyframes city-cycle {
  0%, 18% { transform: translateY(0); }
  25%, 43% { transform: translateY(-1.2em); }
  50%, 68% { transform: translateY(-2.4em); }
  75%, 93% { transform: translateY(-3.6em); }
  100% { transform: translateY(-4.8em); }
}

@keyframes mist-1 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(86px, -42px) scale(1.15); }
}

@keyframes mist-2 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(104px, -8px) scale(1.15); }
}

@keyframes mist-3 {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(88px, 28px) scale(1.15); }
}

@keyframes rise {
  0% { opacity: 0; transform: translateY(0); }
  12% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-520px); }
}

@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw-line {
  from { stroke-dashoffset: 300; }
  to { stroke-dashoffset: 0; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(3.2); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Respect "reduce motion": no movement, and show the full city list instead of cycling it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .mist, .bubbles, .sparkle { display: none; }
  .city-cycle { display: none; }

  .cities-static {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    color: var(--ocean);
  }
}
