/* =========================================================
   Pristine Window Cleaning Melbourne — Shared Stylesheet
   Brand blue: #14c4ff | Font: Cabin (Google Fonts)
   ========================================================= */

:root {
  --color-primary: #14c4ff;
  --color-primary-dark: #0a9fd4;
  --color-primary-darker: #087bab;
  --color-ink: #0f2430;
  --color-body: #3c4a52;
  --color-muted: #6b7b84;
  --color-bg: #ffffff;
  --color-bg-alt: #eaf6ff;
  --color-border: #e2edf2;
  --color-success: #1fae6b;
  --color-star: #ffb400;
  --shadow-sm: 0 2px 8px rgba(15, 36, 48, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 36, 48, 0.12);
  --shadow-lg: 0 16px 40px rgba(15, 36, 48, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Baloo 2', 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-darker); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5, h6 {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.005em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  /* Fluid gutters: scale smoothly with the viewport instead of jumping at
     breakpoints, so a resized/narrow desktop window is spaced properly too. */
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
}
/* Cap the reading measure on centred intro copy. Without this these lines run
   the full container width (~110 characters) on wide or half-width windows,
   which is what made the text feel "too wide" outside of mobile. */
.text-center > p { max-width: 62ch; margin-left: auto; margin-right: auto; }
section { padding: 3.5rem 0; }
.section-alt { background: var(--color-bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%230a9fd4' stroke-width='1' opacity='0.06'%3E%3Cpath d='M0 15 L90 15 M0 45 L90 45 M0 75 L90 75'/%3E%3Ccircle cx='20' cy='30' r='2.5'/%3E%3Ccircle cx='65' cy='60' r='2'/%3E%3Ccircle cx='45' cy='10' r='1.5'/%3E%3C/g%3E%3C/svg%3E"); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-darker);
  background: rgba(20, 196, 255, 0.12);
  padding: 0.3em 0.9em;
  border-radius: 999px;
  margin-bottom: 0.9em;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary);
  color: #fff; padding: 0.6em 1em; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--color-primary);
  color: #06222d;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.hero .btn-primary { position: relative; overflow: hidden; }
.hero .btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: btnShine 3.2s ease-in-out infinite;
}
@keyframes btnShine {
  0% { left: -60%; }
  55%, 100% { left: 140%; }
}
.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-darker);
}
.btn-outline:hover { background: rgba(20,196,255,0.1); }
.btn-dark {
  background: var(--color-ink);
  color: #fff;
}
.btn-dark:hover { background: #1c3a49; }
.btn-accent {
  background: #1c5fa8;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: #164b87; box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.9rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #17b8f0 0%, #0aa0dd 100%);
  box-shadow: var(--shadow-md);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  min-height: 150px;
  gap: 1rem;
}
.brand-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.brand-social {
  color: #fff; display: inline-flex; opacity: 0.85; transition: opacity 0.15s ease; flex-shrink: 0;
}
.brand-social:hover { opacity: 1; }
.brand-social svg { width: 20px; height: 20px; fill: currentColor; }
.brand { display: inline-flex; }
.brand img { height: 150px; width: auto; transition: transform 0.2s ease; filter: drop-shadow(0 4px 10px rgba(3,25,43,0.25)); }
.brand:hover img { transform: scale(1.04); }
.brand:hover { text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.96rem;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-ink); }
.main-nav .current > a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 4px; }
.has-dropdown { position: relative; }
.has-dropdown > button {
  background: none; border: none; cursor: pointer;
  font: inherit; color: #fff; font-weight: 600; font-size: 0.96rem;
  display: flex; align-items: center; gap: 0.3em; padding: 0;
}
.has-dropdown > button:hover { color: var(--color-ink); }
.has-dropdown .chevron { width: 10px; height: 10px; transition: transform 0.15s ease; }
.has-dropdown[aria-expanded="true"] .chevron,
.has-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown-menu {
  /* Must be block: the generic `.main-nav ul` rule above sets display:flex,
     which would otherwise lay these items out in a row across the page. */
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(6px);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  min-width: 232px;
  max-width: min(232px, calc(100vw - 2rem));
  list-style: none;
  margin: 3.6rem 0 0;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding: 0.5em 0.6em;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  text-decoration: none;
}
/* Every option carries its own solid white background, not just on hover. */
.dropdown-menu a { background: #fff; }
.dropdown-menu a:hover { background: var(--color-bg-alt); text-decoration: none; }
.dropdown-menu li + li { margin-top: 0.15rem; }
.dropdown-icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-bg-alt); color: var(--color-primary-darker);
}
.dropdown-icon svg { width: 15px; height: 15px; }
.dropdown-menu a:hover .dropdown-icon { background: var(--color-primary); color: #fff; }
.dropdown-text { display: flex; flex-direction: column; gap: 0.1em; }
.dropdown-label { font-weight: 600; font-size: 0.88rem; line-height: 1.25; }
.dropdown-desc { font-size: 0.74rem; color: var(--color-muted); font-weight: 400; line-height: 1.3; }
.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-cta .nav-phone-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  color: #fff; font-weight: 600; font-size: 0.92rem; white-space: nowrap;
}
.nav-cta .nav-phone-link:hover { text-decoration: none; color: var(--color-ink); }
.nav-cta .nav-phone-link svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.nav-cta .btn-primary { background: #fff; color: var(--color-primary-darker); }
.nav-cta .btn-primary:hover { background: var(--color-ink); color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  width: 44px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff;
  position: relative; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle::before { position: absolute; transform: translateY(-7px); }
.nav-toggle::after { position: absolute; transform: translateY(7px); }
.nav-toggle.open span { opacity: 0; }
.nav-toggle.open::before { transform: rotate(45deg); }
.nav-toggle.open::after { transform: rotate(-45deg); }

.hero {
  position: relative;
  background: linear-gradient(135deg, #03192b 0%, #073256 35%, #0c5e93 65%, #14c4ff 100%);
  background-size: 220% 220%;
  animation: heroShift 14s ease-in-out infinite;
  color: #fff;
  overflow: hidden;
}
@keyframes heroShift {
  0%, 100% { background-position: 0% 45%; }
  50% { background-position: 100% 55%; }
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  background: #22c3ff;
  top: -140px; right: -100px;
  animation: floatOrb1 10s ease-in-out infinite;
}
.hero::after {
  width: 300px; height: 300px;
  background: #0a6fb0;
  bottom: -120px; left: 8%;
  animation: floatOrb2 12s ease-in-out infinite;
}
@keyframes floatOrb1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-34px, 30px); }
}
@keyframes floatOrb2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(28px, -22px); }
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  display: grid;
  gap: 2rem;
  animation: heroRise 0.9s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-has-video { background: linear-gradient(135deg, #03192b 0%, #073256 35%, #0c5e93 65%, #14c4ff 100%); }
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(3,25,43,0.86) 0%, rgba(7,50,86,0.72) 45%, rgba(12,94,147,0.5) 100%);
}
@media (max-width: 720px) {
  .hero-video-wrap { display: none; }
}

.hero h1 { color: #fff; }
.hero p.lede { font-size: 1.15rem; color: #dff3fb; max-width: 640px; }
.hero .hero-actions, .hero-actions { display: flex; gap: 1rem; flex-wrap: nowrap; margin-top: 1.2rem; }
.hero-badge-row {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 1.5rem;
  font-size: 0.9rem; color: #cfe9f4;
}
.hero-badge-row span { display: inline-flex; align-items: center; gap: 0.4em; }
.hero-simple { padding: 3.5rem 0; }
.hero-simple h1 {
  font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em;
  color: #fff; margin-bottom: 0.4em; font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}
.hero-simple p { color: #dff3fb; max-width: 620px; }
.breadcrumbs { font-size: 0.85rem; color: #cfe9f4; margin-bottom: 0.75rem; }
.breadcrumbs a { color: #cfe9f4; }
.breadcrumbs span { margin: 0 0.4em; opacity: 0.6; }

.trust-strip { background: var(--color-bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%230a9fd4' stroke-width='1' opacity='0.06'%3E%3Cpath d='M0 15 L90 15 M0 45 L90 45 M0 75 L90 75'/%3E%3Ccircle cx='20' cy='30' r='2.5'/%3E%3Ccircle cx='65' cy='60' r='2'/%3E%3Ccircle cx='45' cy='10' r='1.5'/%3E%3C/g%3E%3C/svg%3E"); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}
.trust-card { text-align: center; }
.trust-card .icon {
  width: 56px; height: 56px; margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,196,255,0.14); border-radius: 50%;
  color: var(--color-primary-darker);
}
.trust-card .icon svg { width: 28px; height: 28px; fill: currentColor; }
.trust-card h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.trust-card p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--color-muted); margin: 0; }

.pricing-group { margin-bottom: 2.5rem; }
.pricing-group h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.pricing-group > p.desc { color: var(--color-muted); margin-bottom: 1.25rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.price-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.price-card h4 { margin-bottom: 0.2em; font-size: 1.05rem; }
.price-card .price {
  font-size: 2rem; font-weight: 800; color: var(--color-primary-darker); margin: 0.2em 0;
}
.price-card .price::before { content: "$"; font-size: 1.1rem; vertical-align: top; }
.price-card .price-star { font-size: 1.1rem; vertical-align: top; color: var(--color-muted); font-weight: 700; }
.price-card p.detail { color: var(--color-muted); font-size: 0.92rem; margin: 0; }
.pricing-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.testimonial-carousel { position: relative; max-width: 760px; margin: 2rem auto 0; }
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform 0.4s ease; }
.testimonial-slide {
  flex: 0 0 100%;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.testimonial-stars { color: var(--color-star); font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: 0.15em; }
.testimonial-quote { font-size: 1.05rem; color: var(--color-ink); font-style: italic; }
.testimonial-author { margin-top: 1rem; font-weight: 700; color: var(--color-muted); font-style: normal; }
.carousel-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border);
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--color-bg-alt); }
.carousel-dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--color-border); cursor: pointer; padding: 0;
}
.carousel-dots button.active { background: var(--color-primary); }
.google-badge { text-align: center; margin-top: 1.25rem; color: var(--color-muted); font-size: 0.9rem; }
.google-badge strong { color: var(--color-ink); }

/* Flex rather than grid so a partial final row CENTRES instead of stranding an
   orphan hard-left. This means the gallery stays tidy at any photo count —
   photos can be added or removed without re-tuning the column maths. */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}
.gallery-grid figure { flex: 0 1 calc(25% - 0.64rem); }
@media (max-width: 860px) {
  .gallery-grid figure { flex: 0 1 calc(33.333% - 0.57rem); }
}
@media (max-width: 640px) {
  .gallery-grid { gap: 0.6rem; }
  .gallery-grid figure { flex: 0 1 calc(50% - 0.3rem); }
}
.gallery-grid figure {
  margin: 0; overflow: hidden; border-radius: var(--radius-md);
  aspect-ratio: 1 / 1; background: var(--color-bg-alt);
  position: relative; cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
/* The whole tile lifts and grows on hover, rising above its neighbours. */
.gallery-grid figure:hover {
  transform: scale(1.14);
  z-index: 5;
  box-shadow: var(--shadow-lg);
}
.gallery-grid figure:hover img { transform: scale(1.04); }
@media (hover: none) {
  /* Touch devices: no hover state, tapping opens the lightbox instead. */
  .gallery-grid figure:hover { transform: none; box-shadow: none; }
}

/* ---------- Gallery lightbox / slideshow ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(6,16,22,0.94);
  display: none; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 82vh; width: auto; height: auto;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  user-select: none;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12); border: none;
  color: #fff; cursor: pointer; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.5rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: 0.85rem; letter-spacing: 0.06em;
}
@media (max-width: 640px) {
  .lightbox img { max-width: 94vw; max-height: 74vh; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}
.gallery-slideshow { position: relative; margin-top: 2rem; }
.gallery-slideshow .slide-viewport {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9; background: var(--color-ink);
}
.gallery-slideshow .slide-viewport img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Before/After drag comparison slider ---------- */
.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem; margin-top: 2rem;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.compare-wrap { text-align: center; }
.compare-slider {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); cursor: ew-resize;
  touch-action: pan-y; background: var(--color-ink); user-select: none;
}
.compare-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; pointer-events: none; user-select: none;
}
.compare-before { position: absolute; inset: 0; z-index: 2; }
.compare-after { position: absolute; inset: 0; z-index: 1; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3;
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(15,36,48,0.2);
}
.compare-handle::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%); box-shadow: var(--shadow-md);
}
.compare-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); font-size: 1.15rem; color: var(--color-primary-darker);
  font-weight: 700; z-index: 4;
}
.compare-label {
  position: absolute; top: 0.9rem; z-index: 3; padding: 0.3em 0.8em;
  border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; background: rgba(15, 36, 48, 0.55); color: #fff;
}
.compare-label-before { left: 0.9rem; }
.compare-label-after { right: 0.9rem; }
.compare-range {
  width: 100%; margin-top: 1rem; accent-color: var(--color-primary);
}
.compare-caption { margin-top: 0.85rem; font-weight: 600; color: var(--color-ink); }

.faq-list { max-width: 820px; margin: 2rem auto 0; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  font: inherit;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question:hover { color: var(--color-primary-darker); }
.faq-question .plus {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--color-primary); position: relative;
}
.faq-question .plus::before, .faq-question .plus::after {
  content: ""; position: absolute; background: var(--color-primary);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-question .plus::before { width: 10px; height: 2px; }
.faq-question .plus::after { width: 2px; height: 10px; transition: opacity 0.15s ease; }
.faq-item.open .faq-question .plus::after { opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.4rem;
}
.faq-item.open .faq-answer { padding-bottom: 1.2rem; }
.faq-answer p { color: var(--color-body); margin: 0; }
.faq-related {
  max-width: 820px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
}

.calculator-card {
  max-width: 720px; margin: 2rem auto 0; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 2rem;
}
.calc-field { margin-bottom: 1.4rem; }
.calc-field label { display: block; font-weight: 700; color: var(--color-ink); margin-bottom: 0.5em; }
.calc-field .field-help { color: var(--color-muted); font-size: 0.85rem; margin-top: 0.35em; }
.calc-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.7rem; }
.calc-option {
  border: 2px solid var(--color-border); border-radius: var(--radius-md);
  padding: 0.75rem 1rem; cursor: pointer; text-align: center; font-weight: 600;
  background: #fff; transition: border-color 0.15s ease, background 0.15s ease;
}
.calc-option input { position: absolute; opacity: 0; pointer-events: none; }
.calc-option.selected { border-color: var(--color-primary); background: rgba(20,196,255,0.1); }
.calc-range { width: 100%; }
.calc-range-value { font-weight: 700; color: var(--color-primary-darker); }
.calc-checkbox { display: flex; align-items: center; gap: 0.6em; font-weight: 600; cursor: pointer; }
.calc-result {
  margin-top: 1.5rem; padding: 1.5rem; border-radius: var(--radius-md);
  background: var(--color-bg-alt); text-align: center; border: 1px dashed var(--color-primary);
}
.calc-result .estimate { font-size: 2.4rem; font-weight: 800; color: var(--color-primary-darker); }
.calc-result .estimate-range { color: var(--color-muted); font-size: 0.95rem; margin-top: 0.3em; }
.calc-disclaimer { font-size: 0.8rem; color: var(--color-muted); margin-top: 1rem; }

.referral-card {
  max-width: 640px; margin: 2rem auto 0; text-align: center;
  background: linear-gradient(135deg, rgba(20,196,255,0.14), rgba(20,196,255,0.03));
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2.5rem;
}
.referral-card .big-number { font-size: 3rem; font-weight: 800; color: var(--color-primary-darker); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-weight: 700; margin-bottom: 0.4em; font-size: 0.92rem; }
.form-row input, .form-row textarea {
  width: 100%; padding: 0.75em 0.9em; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font: inherit; color: var(--color-ink);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); border-color: var(--color-primary); }
.contact-side h3 { margin-top: 0; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1.25rem; }
.contact-detail .icon { color: var(--color-primary-darker); flex-shrink: 0; margin-top: 0.15rem; }
.contact-detail .icon svg { width: 22px; height: 22px; fill: currentColor; }

.sticky-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--color-ink); color: #fff; display: none;
  padding: 0.7rem 1rem; box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.sticky-call-bar .row { display: flex; gap: 0.7rem; }
.sticky-call-bar .btn { flex: 1; }
@media (max-width: 720px) {
  .sticky-call-bar { display: block; }
  body { padding-bottom: 72px; }
  /* The sticky call bar already offers Call/Text + Instant Quote on mobile,
     so hide the homepage hero's own copy of those two buttons to avoid a
     double row of near-identical buttons stacked at the bottom of the hero. */
  .hero-actions-primary { display: none; }
}
@media (max-width: 640px) {
  .hero-actions { flex-wrap: wrap; }
}

.lead-popup-overlay {
  position: fixed; inset: 0; background: rgba(6,34,45,0.55); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.lead-popup-overlay.visible { display: flex; }
.lead-popup {
  background: #fff; border-radius: var(--radius-lg); max-width: 420px; width: 100%;
  padding: 2rem; position: relative; box-shadow: var(--shadow-lg); text-align: center;
}
.lead-popup .close-popup {
  position: absolute; top: 0.75rem; right: 0.75rem; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--color-muted); line-height: 1;
}
.lead-popup h3 { margin-bottom: 0.4em; }
.lead-popup .btn { margin-top: 0.75rem; }

.site-footer { background: var(--color-ink); color: #cfe9f4; padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55em; }
.footer-grid a { color: #cfe9f4; }
.footer-grid a:hover { color: var(--color-primary); }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand img { height: 56px; width: auto; flex-shrink: 0; }
.footer-brand strong { color: #fff; line-height: 1.3; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; font-size: 0.85rem; color: #9fc2cf;
}
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a { color: #cfe9f4; display: inline-flex; }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

.suburb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.suburb-card {
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.5rem; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.suburb-card h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.suburb-card p { color: var(--color-muted); font-size: 0.92rem; flex-grow: 1; }
.suburb-card a.learn-more { font-weight: 700; margin-top: 0.75rem; }

.suburb-detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .suburb-detail-grid { grid-template-columns: 1fr; } }
.suburb-detail-grid figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.suburb-detail-grid img { width: 100%; height: 100%; object-fit: cover; }
.related-suburbs { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.related-suburbs .links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.related-suburbs .links a {
  border: 1px solid var(--color-border); border-radius: 999px; padding: 0.5em 1.1em; font-size: 0.9rem; font-weight: 600;
}
.related-suburbs .links a:hover { border-color: var(--color-primary); text-decoration: none; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.badge-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0; }
.badge-list span {
  background: rgba(20,196,255,0.12); color: var(--color-primary-darker); font-weight: 700; font-size: 0.85rem;
  padding: 0.4em 1em; border-radius: 999px;
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(330px, 88vw);
    /* Branded gradient panel with the same subtle glass texture used elsewhere,
       rather than a flat white box. */
    background-color: #0f2430;
    background-image: linear-gradient(168deg, #16506e 0%, #103448 45%, #0a2233 100%);
    flex-direction: column; align-items: flex-start;
    /* No logo inside the panel — the header logo stays visible behind it, so
       the nav items start well below the header to give it breathing room. */
    padding: 7rem 1.5rem 2rem; box-shadow: -12px 0 40px rgba(3,20,30,0.45);
    transform: translateX(100%); transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
    overflow-y: auto;
    border-left: 3px solid var(--color-primary);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.9rem; width: 100%; }
  /* Panel is dark, so nav text is white with a divider between items. */
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .main-nav > ul > li:last-child { border-bottom: none; }
  .main-nav a,
  .has-dropdown > button {
    color: #fff; font-size: 1.05rem; font-weight: 600;
    width: 100%; padding: 0.55rem 0;
  }
  .main-nav a:hover,
  .has-dropdown > button:hover { color: var(--color-primary); }
  .main-nav .current > a { color: var(--color-primary); }
  .has-dropdown .chevron { color: var(--color-primary); }
  .has-dropdown > button { justify-content: space-between; }
  .has-dropdown { width: 100%; }
  .dropdown-menu {
    position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none;
    max-height: 0; padding: 0; overflow: hidden; transition: max-height 0.2s ease;
    background: rgba(255,255,255,0.06); margin: 0 0 0.5rem;
    border-radius: var(--radius-md); min-width: 0; max-width: none;
  }
  .has-dropdown.open .dropdown-menu { max-height: 400px; padding: 0.4rem; }
  .dropdown-menu a { background: transparent; color: #fff; padding: 0.55em 0.6em; }
  .dropdown-menu a:hover { background: rgba(255,255,255,0.10); }
  .dropdown-label { color: #fff; }
  .dropdown-desc { color: rgba(255,255,255,0.62); }
  .dropdown-icon { background: rgba(20,196,255,0.18); color: var(--color-primary); }
  .nav-close { color: rgba(255,255,255,0.75); }
  .nav-cta { display: none; }
  .brand-social { display: none; }
  .header-inner { min-height: 96px; justify-content: center; }
  .nav-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .nav-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(6,34,45,0.4); z-index: 90;
  }
  .nav-backdrop.visible { display: block; }
}
@media (min-width: 961px) {
  .main-nav .nav-close { display: none; }
  .main-nav ul { gap: 1.7rem; }
  /* Stretch the nav column to the header's full height so a dropdown anchored
     at top:100% opens below the whole blue bar instead of cutting into it. */
  .header-inner { align-items: stretch; }
  .main-nav { align-items: stretch; }
  .main-nav > ul { align-items: stretch; }
  .main-nav > ul > li { display: flex; align-items: center; }
  /* Do NOT reset margin-top here — the base rule's offset is what drops the
     panel below the blue bar. A hover "bridge" (::before) spans the gap so the
     menu doesn't close as the pointer travels down into it. */
  .dropdown-menu { z-index: 200; }
  .dropdown-menu::before {
    content: ""; position: absolute;
    left: 0; right: 0; top: -3.6rem; height: 3.6rem;
  }
  .main-nav a, .has-dropdown > button {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
}
@media (max-width: 640px) {
  .brand img { height: 84px; }
  .header-inner { min-height: 76px; padding: 0.5rem 0; }
}

.nav-close {
  position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--color-muted);
}

@media (max-width: 640px) {
  section { padding: 2.5rem 0; }
  .hero .container { padding-top: 3rem; padding-bottom: 3rem; }
}

/* ---------- Editorial hero + sections (homepage) ---------- */
.hero-photo {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-photo img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  /* Portrait source in a wide hero — bias the crop down so both abseilers
     stay in frame rather than being cut off above the fold. */
  object-fit: cover; object-position: 55% 60%;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  /* Light overall grade only — keeps the photo bright and clean. */
  background: linear-gradient(180deg, rgba(6,16,22,0.42) 0%, rgba(6,16,22,0.08) 30%, rgba(6,16,22,0.14) 58%, rgba(6,16,22,0.86) 100%);
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  /* Localised pool of shade sitting only behind the headline block, rather
     than a full-width scrim dulling the whole image. */
  background: radial-gradient(ellipse 58% 42% at 30% 58%,
      rgba(6,16,22,0.82) 0%,
      rgba(6,16,22,0.58) 42%,
      rgba(6,16,22,0.18) 68%,
      rgba(6,16,22,0) 82%);
}
.hero-photo .container { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 4.5rem; }
.hero-photo .eyebrow { background: rgba(20,196,255,0.2); color: #bdeeff; }
.hero-brand { color: var(--color-primary); }
.hero-photo h1 {
  font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.06; color: #fff; margin: 0.4em 0 0.4em;
  text-shadow: 0 2px 5px rgba(3,12,18,0.55), 0 8px 28px rgba(3,12,18,0.4);
}
/* Hero "Pristine" stays white like the rest of the headline — bright blue on a
   bright sky was the worst contrast pairing on this image. The blue treatment
   is kept for the review quote, which sits on a dark overlay. */
.hero-photo .hero-brand { color: inherit; text-shadow: inherit; }
.hero-photo p.lede { color: #fff; font-size: 1.08rem; font-weight: 700; max-width: 560px; text-shadow: 0 1px 4px rgba(3,12,18,0.65); }
.accent-italic { font-style: italic; color: var(--color-primary); font-weight: 700; }

.stats-dark {
  background: var(--color-ink); color: #fff; padding: 3.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12);
}
.stats-dark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; text-align: center; }
.stats-dark .stat-num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.stats-dark .stat-num sup { color: var(--color-primary); font-size: 0.55em; }
.stats-dark .stat-label { margin-top: 0.4rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c2d6de; }
@media (max-width: 720px) { .stats-dark-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }

/* align-items:start so the eyebrow + heading line up with the TOP of the photo
   rather than floating in the vertical middle, which left a large dead gap
   between the residential and construction/commercial sections. */
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; padding: 2.5rem 0; }
.editorial-grid h2 {
  font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.005em;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.3; margin: 0.2em 0 0;
}
.editorial-grid p.lede { margin-top: 1.1rem; color: var(--color-muted); font-size: 1rem; line-height: 1.75; max-width: 460px; }
.editorial-grid img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
@media (max-width: 860px) {
  .editorial-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  /* Photo sits first in the DOM (needed for the desktop left/right layout), so
     on mobile flip the order to lead with the heading instead of the image. */
  .editorial-grid-textfirst > img { order: 2; }
  .editorial-grid-textfirst > div { order: 1; }
}

.quote-band { position: relative; padding: 6.5rem 0; text-align: center; overflow: hidden; }
.quote-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; background: rgba(8,18,24,0.64); }
.quote-band-inner { position: relative; z-index: 2; color: #fff; }
.quote-band blockquote {
  font-family: var(--font-heading); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.48; max-width: 780px; margin: 0 auto;
}
.quote-band cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); }

.reviews-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-border); margin-top: 2.5rem; }

/* ---------- Trusted By logo strip ---------- */
.trusted-by { padding: 3.5rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trusted-by .eyebrow { margin-bottom: 0.9rem; }
.trusted-by h2 { margin-bottom: 2.25rem; }
.trusted-by-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  max-width: 640px;
  margin: 0 auto;
}
.trusted-by-logo {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 2rem 1.75rem; min-height: 150px;
}
.trusted-by-logo img {
  max-width: 100%; max-height: 80px; width: auto; height: auto;
  object-fit: contain; filter: grayscale(100%); opacity: 0.65;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.trusted-by-logo:hover img { filter: grayscale(0%); opacity: 1; }
@media (max-width: 540px) {
  .trusted-by-grid { max-width: 360px; gap: 1.1rem; }
  .trusted-by-logo { min-height: 110px; padding: 1.25rem 1rem; }
}

.reviews-mini-grid .review-card-mini { background: #fff; padding: 2rem 1.75rem; }
.reviews-mini-grid .stars { color: var(--color-star); letter-spacing: 2px; margin-bottom: 1rem; }
.reviews-mini-grid p { font-size: 0.95rem; color: var(--color-body); line-height: 1.7; }
.reviews-mini-grid .who { margin-top: 1.2rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted); }
@media (max-width: 860px) { .reviews-mini-grid { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}
.blog-grid-home { text-align: left; }
.blog-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
  color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.blog-card figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-bg-alt); }
.blog-card img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-date { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; }
.blog-card h3 { font-size: 1.1rem; margin: 0.4em 0 0.5em; }
.blog-card p { color: var(--color-muted); font-size: 0.92rem; flex-grow: 1; }
.blog-card .learn-more { font-weight: 700; color: var(--color-primary-darker); margin-top: auto; }

.blog-post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; margin-top: 1rem; }
@media (max-width: 860px) { .blog-post-layout { grid-template-columns: 1fr; } }
.blog-post-body figure { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.blog-post-body img { width: 100%; height: auto; object-fit: cover; }
.blog-post-body h3 { margin-top: 1.6em; font-size: 1.25rem; }
.blog-post-body p { color: var(--color-body); line-height: 1.8; }
.blog-post-body ul { color: var(--color-body); line-height: 1.8; }
.blog-post-cta {
  margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--color-bg-alt); text-align: center;
}
.blog-post-cta p { margin-bottom: 1rem; font-weight: 600; color: var(--color-ink); }
.blog-post-sidebar { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; background: #fff; }
.blog-post-sidebar h3 { font-size: 1rem; margin-bottom: 0.75em; }
.blog-post-sidebar ul { list-style: none; margin: 0; padding: 0; }
.blog-post-sidebar li { margin-bottom: 0.75em; }
.blog-post-sidebar a { font-weight: 600; }

/* ---------- Call / Text chooser sheet ----------
   Mobile only. Tapping any tel: CTA opens this instead of dialling straight
   away, so the visitor can pick calling or texting. Desktop keeps plain tel:. */
.contact-sheet-overlay {
  position: fixed; inset: 0; z-index: 350;
  background: rgba(6,16,22,0.6);
  display: none; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity 0.2s ease;
}
.contact-sheet-overlay.visible { display: flex; opacity: 1; }
.contact-sheet {
  background: #fff; width: 100%; max-width: 460px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(3,20,30,0.35);
  transform: translateY(100%); transition: transform 0.28s cubic-bezier(.2,.7,.3,1);
}
.contact-sheet-overlay.visible .contact-sheet { transform: translateY(0); }
.contact-sheet-grip {
  width: 42px; height: 4px; border-radius: 999px;
  background: var(--color-border); margin: 0 auto 1.1rem;
}
.contact-sheet h3 { text-align: center; font-size: 1.15rem; margin-bottom: 0.25em; }
.contact-sheet .sheet-sub {
  text-align: center; color: var(--color-muted); font-size: 0.9rem; margin-bottom: 1.25rem;
}
.contact-sheet .sheet-actions { display: flex; flex-direction: column; gap: 0.7rem; }
.contact-sheet .btn { width: 100%; font-size: 1.05rem; padding: 1em 1.6em; }
.contact-sheet .btn svg { width: 20px; height: 20px; fill: currentColor; }
.contact-sheet .sheet-cancel {
  display: block; width: 100%; margin-top: 0.9rem; padding: 0.75em;
  background: none; border: none; font: inherit; font-weight: 600;
  color: var(--color-muted); cursor: pointer;
}
@media (min-width: 721px) {
  /* Desktop/tablet: centre it as a dialog rather than a bottom sheet, and
     lead with the number since tel: often just opens FaceTime/Skype. */
  .contact-sheet-overlay { align-items: center; }
  .contact-sheet {
    border-radius: var(--radius-lg);
    max-width: 400px; padding: 2rem 1.75rem 1.75rem;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.22s cubic-bezier(.2,.7,.3,1);
  }
  .contact-sheet-overlay.visible .contact-sheet { transform: translateY(0) scale(1); }
  .contact-sheet-grip { display: none; }
  .contact-sheet .sheet-sub {
    font-size: 1.5rem; font-weight: 700; color: var(--color-ink);
    font-family: var(--font-heading); margin-bottom: 1.35rem;
  }
}

/* ---------- Terms & Conditions ---------- */
.terms-body { max-width: 760px; margin: 0 auto; }
.terms-body h2 {
  font-size: 1.25rem; margin: 2.25rem 0 0.6em;
  padding-top: 1.5rem; border-top: 1px solid var(--color-border);
}
.terms-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.terms-body p { color: var(--color-body); line-height: 1.8; }
.terms-body ul { color: var(--color-body); line-height: 1.8; margin-bottom: 1em; }
.terms-body li { margin-bottom: 0.35em; }
.terms-contact {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem;
  background: var(--color-bg-alt); border-radius: var(--radius-lg);
}
.terms-contact p:last-child { margin-bottom: 0; }
.terms-note {
  margin-top: 1.5rem; font-size: 0.85rem; color: var(--color-muted);
  border-top: 1px solid var(--color-border); padding-top: 1rem;
}

/* ---------------------------------------------------------------
   Service Areas — region grouping
   The anchors are targeted from the Service Areas nav dropdown, so
   they need scroll-margin to clear the sticky header.
   --------------------------------------------------------------- */
.area-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.area-jump a {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.area-jump a:hover,
.area-jump a:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.area-region {
  scroll-margin-top: 170px;
  padding-top: 0.5rem;
}
.area-region + .area-region {
  margin-top: 3.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--color-border);
}
.area-region-head h2 {
  margin-bottom: 0.15em;
}
.area-region-head p {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: 0;
}
.area-region .suburb-grid { margin-top: 1.5rem; }

@media (max-width: 720px) {
  .area-region { scroll-margin-top: 90px; }
  .area-jump { gap: 0.4rem; margin-bottom: 2rem; }
  .area-jump a { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
}

/* ---------------------------------------------------------------
   Two-column dropdown panels (desktop only)
   Service Areas carries 7 items and FAQ 5. Stacked in one column
   they ran off the bottom of a laptop viewport, so on desktop they
   lay out in two columns with the "All ..." link spanning the foot.
   Mobile keeps the single-column accordion, which already works.
   --------------------------------------------------------------- */
@media (min-width: 961px) {
  .dropdown-menu.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 0.3rem;
    min-width: 452px;
    max-width: min(452px, calc(100vw - 2rem));
  }
  .dropdown-grid li + li { margin-top: 0; }
  .dropdown-grid .dropdown-all {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--color-border);
  }
  /* Slightly tighter than the single-column panel so four rows stay compact */
  .dropdown-grid a { padding: 0.45em 0.55em; }
  .dropdown-grid .dropdown-icon { width: 26px; height: 26px; }
  .dropdown-grid .dropdown-icon svg { width: 14px; height: 14px; }
  .dropdown-grid .dropdown-label { font-size: 0.845rem; }
  .dropdown-grid .dropdown-desc { font-size: 0.71rem; }
}

/* ---------------------------------------------------------------
   Dropdown panels — visual polish (desktop)
   Crisper edge, layered shadow, clearer hover, and a highlight on
   whichever item matches the current page. What We Do now holds 9
   services so it runs as a 3x3 grid rather than 5 rows with an
   orphan in the last one.
   --------------------------------------------------------------- */
@media (min-width: 961px) {
  .dropdown-menu {
    padding: 0.6rem;
    border: 1px solid rgba(15, 36, 48, 0.07);
    box-shadow: 0 1px 3px rgba(15, 36, 48, 0.05),
                0 14px 36px rgba(15, 36, 48, 0.15);
  }
  .dropdown-menu.dropdown-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    min-width: 648px;
    max-width: min(648px, calc(100vw - 2rem));
  }
  .dropdown-menu a {
    transition: background 0.14s ease, transform 0.14s ease;
  }
  .dropdown-menu a:hover,
  .dropdown-menu a:focus-visible {
    transform: translateX(2px);
  }
  .dropdown-menu a:hover .dropdown-label {
    color: var(--color-primary-darker);
  }
  .dropdown-menu .dropdown-icon {
    transition: background 0.14s ease, color 0.14s ease;
  }
  /* the page you are currently on */
  .dropdown-current > a { background: var(--color-bg-alt); }
  .dropdown-current .dropdown-label { color: var(--color-primary-darker); }
  .dropdown-current .dropdown-icon {
    background: var(--color-primary);
    color: #fff;
  }
}
