/* ============================================================
   WATTLE PLUMBING & GAS — Shared Stylesheet
   Brand: Australian Heritage | Wattle Gold + Forest Green
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Lato:wght@300;400;700;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --gold:        #C8961A;
  --gold-bright: #E8B820;
  --gold-light:  #FFD000;
  --green:       #1A3A1E;
  --green-dark:  #0F2211;
  --green-mid:   #2A5A30;
  --brown:       #7B4A1E;
  --brown-dark:  #5A3210;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE5D5;
  --cream-deeper:#D8CDBA;
  --text-dark:   #1A1510;
  --text-body:   #3A2E22;
  --text-muted:  #6A5A48;
  --white:       #FFFFFF;
  --shadow-gold: rgba(200, 150, 26, 0.25);
  --shadow-green:rgba(26, 58, 30, 0.35);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-body);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--green);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { line-height: 1.75; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

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

/* ---- Emergency Bar ---- */
.emergency-bar {
  background: var(--green-dark);
  color: var(--cream);
  font-size: 0.78rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.emergency-bar a {
  color: var(--gold-light);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.emergency-bar a:hover { opacity: 0.8; }

.emergency-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #FF4444;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

.emergency-quote-offer {
  color: var(--cream);
  font-size: 0.72rem;
  opacity: 0.9;
}
.emergency-quote-offer span {
  color: var(--gold-light);
  font-weight: 900;
}

/* ---- Main Navigation ---- */
.site-nav {
  background: var(--cream);
  border-bottom: 2px solid var(--cream-dark);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 2.2rem;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(26,58,30,0.08);
}

.nav-logo img {
  height: 88px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 8px 8px;
  min-width: 220px;
  box-shadow: 0 8px 32px var(--shadow-green);
  z-index: 1001;
  transition: opacity 0.18s ease, visibility 0s 0.22s;
}
/* Bridge gap between trigger and menu so cursor can move down without menu disappearing */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s ease, visibility 0s 0s;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-body) !important;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-bottom-color: transparent !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--gold) !important;
  border-bottom-color: transparent !important;
}
.nav-dropdown-menu li:last-child a { border-bottom: none; }

.nav-links a.btn-quote-nav {
  background: var(--gold);
  color: var(--green-dark) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0.06em;
  border-bottom: none !important;
  box-shadow: 0 4px 14px var(--shadow-gold);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}
.nav-links a.btn-quote-nav:hover {
  background: var(--gold-bright);
  color: var(--green-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--shadow-gold);
  border-bottom: none !important;
}
.nav-links a.btn-quote-nav:active { transform: translateY(0); }

/* ---- Hamburger (Mobile) ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-mobile-menu {
  display: none;
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 0.5rem 0;
  /* JS sets position:fixed + top when open — see hamburger handler */
  left: 0;
  right: 0;
  z-index: 998;
  box-shadow: 0 8px 24px rgba(26,58,30,0.18);
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}
.nav-mobile-menu a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--cream-dark);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--gold); background: var(--cream); }

/* Mobile nav accordion groups (Services, Areas) */
.mobile-nav-group { border-bottom: 1px solid var(--cream-dark); }
.mobile-nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary::after {
  content: '▾';
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.mobile-nav-group[open] summary::after { transform: rotate(-180deg); }
.mobile-nav-group a {
  display: block;
  padding: 0.55rem 1.5rem 0.55rem 2.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-body);
  border-bottom: 1px solid rgba(237,229,213,0.6);
}
.mobile-nav-group a:last-child { border-bottom: 1px solid var(--cream-dark); }
.mobile-nav-group a:hover { color: var(--gold); background: var(--cream); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 16px var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--green-dark);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-gold);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-secondary:hover {
  background: var(--cream);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-secondary:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

.btn-green {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
  box-shadow: 0 4px 16px var(--shadow-green);
}
.btn-green:hover {
  background: var(--green-mid);
  color: var(--cream);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-green);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--green-dark);
  transform: translateY(-2px);
}

/* ---- Section Utilities ---- */
.section-cream    { background: var(--cream); padding: 5rem 2rem; }
.section-white    { background: var(--white); padding: 5rem 2rem; }
.section-green    { background: var(--green); padding: 5rem 2rem; color: var(--cream); }
.section-green-dark { background: var(--green-dark); padding: 5rem 2rem; color: var(--cream); }
.section-brown    { background: var(--brown); padding: 5rem 2rem; color: var(--cream); }
.section-cream-dark { background: var(--cream-dark); padding: 5rem 2rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Section Headings ---- */
.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-green .section-title,
.section-green-dark .section-title { color: var(--cream); }
.section-brown .section-title { color: var(--gold-light); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}
.section-green .section-subtitle,
.section-green-dark .section-subtitle { color: rgba(245,240,232,0.8); }

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}
.center .section-divider { margin-left: auto; margin-right: auto; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(26,58,30,0.08), 0 1px 4px rgba(26,58,30,0.04);
  border: 1px solid var(--cream-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,58,30,0.14), 0 2px 8px rgba(26,58,30,0.06);
}

.card-cream {
  background: var(--cream);
  border-color: var(--cream-dark);
}

/* ---- Service Icon Cards ---- */
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-icon svg { width: 32px; height: 32px; fill: var(--gold-light); }

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Stars ---- */
.stars { color: var(--gold-light); font-size: 1.1rem; letter-spacing: 2px; }

/* ---- Review Cards ---- */
.review-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(26,58,30,0.06);
}
.review-card blockquote {
  font-style: italic;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.review-card cite {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  font-style: normal;
}

/* ---- Quote Form ---- */
.quote-form {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 48px rgba(26,58,30,0.16);
  border: 1px solid var(--cream-dark);
  border-top: 4px solid var(--gold);
}

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cream-deeper);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,26,0.15);
  background: var(--white);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A3A1E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-radio-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.form-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-body);
}
.form-radio-label input[type="radio"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-file-upload {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 2px dashed var(--cream-deeper);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--cream);
  transition: border-color 0.2s ease;
}
.form-file-upload:hover { border-color: var(--gold); }
.form-file-upload.drag-over { border-color: var(--gold); background: var(--cream-dark); }
.form-file-upload input { display: none; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.6;
}
.form-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--green);
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.form-checkbox-label input[type="checkbox"]:checked {
  background: var(--green);
  border-color: var(--green);
}
.form-checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
  margin: 0 auto;
}

/* ---- Page Hero (service/area pages) ---- */
.page-hero {
  background: var(--green);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,150,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  color: var(--cream);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(245,240,232,0.85);
  font-size: 1.1rem;
  max-width: 620px;
  line-height: 1.7;
}
.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  margin-bottom: 1.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 0.5rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,232,0.12);
}
.footer-brand img { height: 80px; width: auto; margin-bottom: 1.25rem; filter: brightness(1.1); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.75);
  max-width: 300px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.8);
}
.footer-contact-item a { color: var(--gold-light); }
.footer-contact-item a:hover { color: var(--gold-bright); }
.footer-heading {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(245,240,232,0.75);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.45);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(245,240,232,0.55); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Blog ---- */
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,58,30,0.08);
  border: 1px solid var(--cream-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,58,30,0.14);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-body { padding: 1.5rem; }
.blog-tag {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.blog-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-family: 'Lato', sans-serif;
}

/* ---- Blog Article ---- */
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 760px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.65rem;
  margin: 2.5rem 0 1rem;
  color: var(--green);
}
.article-body h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--green);
}
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body a { color: var(--gold); text-decoration: underline; }
.article-body strong { font-weight: 700; color: var(--green); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.75rem 1.5rem;
  background: var(--cream);
  font-style: italic;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}
.article-cta {
  background: var(--green);
  color: var(--cream);
  padding: 2rem 2.5rem;
  border-radius: 8px;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.article-cta h3 { color: var(--gold-light); margin-bottom: 0.4rem; }
.article-cta p { color: rgba(245,240,232,0.85); font-size: 0.92rem; margin: 0; }

/* ---- Wattle Decorative Rule ---- */
.wattle-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}
.wattle-rule::before, .wattle-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.wattle-rule-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200,150,26,0.2);
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-cream { color: var(--cream); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* ---- CTA Strip ---- */
.cta-strip {
  background: var(--gold);
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-strip h2 { color: var(--green-dark); font-size: 1.75rem; margin-bottom: 0.5rem; }
.cta-strip p { color: var(--brown-dark); margin-bottom: 1.5rem; font-size: 1rem; }

/* ---- Green checklist ---- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 0.4rem 0 0.4rem 1.8rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
  font-size: 1rem;
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { font-size: 1.4rem; font-weight: 300; transition: transform 0.25s ease; flex-shrink: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { padding: 0.75rem 1.25rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu.open { display: block; position: fixed; }
  .section-cream, .section-white, .section-green,
  .section-green-dark, .section-brown, .section-cream-dark { padding: 3rem 1.25rem; }
  .quote-form { padding: 1.5rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Emergency bar: show only phone, hide offers and licence text */
  .emergency-bar { font-size: 0.72rem; justify-content: center; text-align: center; padding: 0.4rem 1rem; }
  .emergency-quote-offer { display: none; }
  .emergency-bar > div:last-child { display: none; }
  /* Nav: reduce height */
  .site-nav { padding: 0.4rem 1rem; top: 1.8rem; }
}
@media (max-width: 480px) {
  .btn { padding: 0.75rem 1.5rem; font-size: 0.82rem; }
  .page-hero { padding: 1.75rem 1.25rem 1.5rem; }
}

/* ===== MOBILE LAYOUT OVERRIDES =====
   These use !important to override inline styles on grid containers.
   Class names are added to the HTML elements they target.
   ===================================== */
@media (max-width: 768px) {
  /* 2-col grids → single column */
  .quote-section-grid   { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .form-grid-2col       { grid-template-columns: 1fr !important; }
  .about-grid           { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .specialist-grid      { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .areas-grid           { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .service-content-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Hide absolute-positioned badge that overflows on mobile */
  .qbcc-badge { display: none !important; }

  /* Hide decorative 1px vertical separators in hero trust bar */
  .trust-bar-sep { display: none !important; }

  /* Pull review carousel arrows inside the card area */
  .review-btn-prev { left: 0.25rem !important; }
  .review-btn-next { right: 0.25rem !important; }

  /* Badge circle — cap to viewport width */
  .badge-circle { width: min(280px, 80vw) !important; height: min(280px, 80vw) !important; }

  /* Specialist inner 2×2 → 1-col at 768 */
  .specialist-inner-grid { grid-template-columns: 1fr !important; }

  /* Sticky sidebar: reset position when stacked below content */
  .service-content-grid > div[style*="sticky"] { position: static !important; top: auto !important; }

  /* Nav logo: compact but still visible on mobile */
  .nav-logo img { height: 60px !important; }
}

@media (max-width: 480px) {
  /* Specialist inner 2×2 → always 1-col on very small screens */
  .specialist-inner-grid { grid-template-columns: 1fr !important; }

  /* Badge circle at small size */
  .badge-circle { width: 220px !important; height: 220px !important; }

  /* Hero trust bar: tighter gap */
  .hero-trust-bar { gap: 1.25rem !important; }

  /* Quote form: reduce padding further */
  .quote-form { padding: 1.25rem 0.9rem !important; }

  /* Free quote section inline padding override */
  #free-quote { padding: 2.5rem 1rem !important; }

  /* Nav logo on small phone */
  .nav-logo img { height: 52px !important; }
}
