/* ==========================================================================
   Beautiful Hedges — Brisbane Northside
   Design tokens: white / green / charcoal, mobile-first, accessible
   ========================================================================== */

:root {
  /* Colour system */
  --white: #ffffff;
  --off-white: #f6f8f5;
  --green-100: #e6efe6;
  --green-200: #c9dfc9;
  --green-500: #2f7d4f;
  --green-600: #256240;
  --green-700: #1c4a31;
  --green-900: #12281c;
  --charcoal: #232622;
  --charcoal-700: #43483f;
  --charcoal-300: #7a8074;
  --gold: #b98c3d;
  --line: #e3e7df;

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px -12px rgba(18, 40, 28, 0.25);
  --shadow-sm: 0 4px 14px -6px rgba(18, 40, 28, 0.18);
  --container: 1240px;
  --transition: 180ms ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-2); color: var(--green-900); }
p { margin: 0 0 var(--space-2); }
button { font-family: inherit; }

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-700);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
.section { padding-block: var(--space-6); }
.section-tight { padding-block: var(--space-5); }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--green-900); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--green-600);
  margin-bottom: var(--space-1);
}
.lede {
  font-size: 1.1rem;
  color: var(--charcoal-700);
  max-width: 62ch;
}
.mx-auto { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-600); color: var(--white); }
.btn-primary:hover { background: var(--green-700); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #a17835; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--green-900); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: var(--space-2);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-900);
}
.brand-mark {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-300);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1280px) { .nav-toggle { display: none; } }

.main-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(85vw, 340px);
  height: 100vh;
  background: var(--white);
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  padding: var(--space-4) var(--space-3);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
}
.main-nav.is-open { transform: translateX(0); }
.nav-list { display: flex; flex-direction: column; gap: 0.25rem; margin-top: var(--space-4); }
.nav-list a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
}
.nav-list a[aria-current="page"] { color: var(--green-700); }
.nav-close { position: absolute; top: 1rem; right: 1rem; }
.nav-cta { margin-top: var(--space-3); display: flex; flex-direction: column; gap: 0.6rem; }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(18,40,28,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 90;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 1280px) {
  .main-nav {
    position: static;
    width: auto; height: auto;
    box-shadow: none;
    padding: 0;
    transform: none;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }
  .nav-list { flex-direction: row; align-items: center; gap: var(--space-2); margin-top: 0; }
  .nav-list a { border-bottom: none; padding: 0.4rem 0.1rem; position: relative; white-space: nowrap; }
  .nav-list a[aria-current="page"]::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--green-600);
  }
  .nav-close { display: none; }
  .nav-cta { flex-direction: row; margin-top: 0; }
  .nav-backdrop { display: none; }
}

/* Top utility bar */
.top-bar {
  background: var(--green-900);
  color: var(--green-100);
  font-size: 0.8rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding-block: 0.45rem;
  flex-wrap: wrap;
}
.top-bar a { color: var(--white); font-weight: 600; }
.top-bar-links { display: flex; gap: var(--space-3); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-600) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-block: var(--space-6) var(--space-5);
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-block: var(--space-7); }
}
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.1rem); }
.hero .lede { color: rgba(255,255,255,0.86); }
.hero-trust {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.hero-trust li { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.hero-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Photo placeholder block — swap for real photography */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(150deg, var(--green-600), var(--green-900));
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: var(--space-3);
  border-radius: inherit;
}
.photo-placeholder.light {
  background:
    repeating-linear-gradient(135deg, rgba(18,40,28,0.05) 0 2px, transparent 2px 14px),
    linear-gradient(150deg, var(--green-100), var(--white));
  color: var(--green-700);
  border: 1px solid var(--line);
}
.photo-placeholder svg { width: 34px; height: 34px; opacity: 0.8; }
.photo-placeholder span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; max-width: 22ch; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p { color: var(--charcoal-700); font-size: 0.95rem; margin-bottom: 0.75rem; }
.card-link { font-weight: 600; color: var(--green-700); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }

/* Service card with media */
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card .photo-placeholder { aspect-ratio: 16/10; border-radius: 0; }
.service-card-body { padding: var(--space-3); display: flex; flex-direction: column; flex: 1; }
.service-card-body p { color: var(--charcoal-700); font-size: 0.95rem; flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 0.9rem; }
.tag {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Stats */
.stat-row { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--green-700); }
.section-dark .stat strong { color: var(--white); }
.stat span { font-size: 0.85rem; color: var(--charcoal-300); }
.section-dark .stat span { color: rgba(255,255,255,0.7); }

/* Steps / process */
.steps { counter-reset: step; }
.step { display: flex; gap: var(--space-2); align-items: flex-start; }
.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.step-num::before { content: counter(step); }

/* Testimonials */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  height: 100%;
}
.stars { color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.5rem; font-size: 0.95rem; }
.testimonial blockquote { margin: 0 0 var(--space-2); font-style: italic; color: var(--charcoal-700); }
.testimonial cite { font-style: normal; font-weight: 700; display: block; }
.testimonial .suburb-tag { color: var(--charcoal-300); font-size: 0.85rem; }

/* Trust / badge strip */
.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-700);
}
.badge svg { width: 22px; height: 22px; color: var(--gold); }

/* Gallery */
.gallery-grid { display: grid; gap: var(--space-2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item .photo-placeholder { aspect-ratio: 1/1; border-radius: var(--radius); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"] { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.form-field { margin-bottom: var(--space-2); }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--charcoal);
  background: var(--off-white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}
.form-grid { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.8rem; color: var(--charcoal-300); margin-top: 0.5rem; }

/* Widget frame wrapper */
.widget-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.widget-frame iframe { width: 100%; border: 0; display: block; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-2);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  color: var(--green-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--green-600); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 0.6rem; color: var(--charcoal-700); }

/* Suburb chips */
.suburb-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .suburb-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 960px) { .suburb-grid { grid-template-columns: repeat(4,1fr); } }
.suburb-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border-color var(--transition);
}
.suburb-chip:hover { background: var(--green-100); border-color: var(--green-500); }

/* Map embed */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  padding: 0.6rem var(--space-2);
  gap: 0.6rem;
  padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
}
.mobile-cta-bar .btn { flex: 1; }
@media (min-width: 960px) { .mobile-cta-bar { display: none; } }
body { padding-bottom: 74px; }
@media (min-width: 960px) { body { padding-bottom: 0; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
}
.footer-top {
  padding-block: var(--space-6) var(--space-4);
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 780px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-brand .brand { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.7); margin-block: var(--space-2); max-width: 34ch; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.social-row { display: flex; gap: 0.6rem; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 17px; height: 17px; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  color: var(--white);
  padding-block: var(--space-5);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: var(--space-2); }
.breadcrumb a { color: rgba(255,255,255,0.85); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* Utility */
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--space-4); }
.two-col { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }
.list-check { display: flex; flex-direction: column; gap: 0.6rem; }
.list-check li { display: flex; gap: 0.6rem; align-items: flex-start; }
.list-check svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; margin-top: 2px; }
 @media (min-width: 960px) { .main-nav { display: flex; align-items: center; gap: var(--space-4); } }