/* =============================================================================
   4 Hearts Support — Design system & components
   ============================================================================= */

:root {
  --color-primary:         #F97316;
  --color-primary-rgb:     249, 115, 22;
  --color-primary-light:   #FB923C;
  --color-primary-dark:    #C2410C;
  --color-secondary:       #0B1728;
  --color-secondary-rgb:   11, 23, 40;
  --color-white:           #ffffff;
  --color-gray-50:         #f8fafc;
  --color-gray-100:        #f1f5f9;
  --color-gray-200:        #e2e8f0;
  --color-gray-400:        #94a3b8;
  --color-gray-500:        #64748b;
  --color-gray-700:        #334155;
  --color-gray-900:        #0f172a;
  --color-text:            #1e293b;
  --color-text-muted:      #64748b;
  --color-bg:              #ffffff;
  --color-bg-alt:          #f8fafc;
  --color-border:          #e2e8f0;
  --font-family-heading:   "Nunito", system-ui, sans-serif;
  --font-family-body:      "Open Sans", system-ui, sans-serif;
  --max-width-content:     1200px;
  --container-padding:     24px;
  --radius-md:             12px;
  --radius-lg:             16px;
  --radius-full:           9999px;
  --shadow-md:             0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:             0 12px 40px rgba(0,0,0,0.10);
  --transition-base:       250ms cubic-bezier(0.4,0,0.2,1);
}

/* -----------------------------------------------------------------------------
   Reset & base
   ----------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-family-heading);
  color: var(--color-secondary);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

a {
  color: var(--color-primary-dark);
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--color-primary);
  color: var(--color-white);
  z-index: 10000;
  border-radius: var(--radius-md);
}

/* -----------------------------------------------------------------------------
   Layout utilities
   ----------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

.section--white {
  background-color: var(--color-white);
}

.section--light {
  background-color: var(--color-gray-50);
}

.section--dark {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--primary h2,
.section--primary h3 {
  color: var(--color-white);
}

.section--primary a {
  color: var(--color-white);
}

.text-muted {
  color: var(--color-text-muted);
}

/* -----------------------------------------------------------------------------
   Gradient text
   ----------------------------------------------------------------------------- */

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -----------------------------------------------------------------------------
   Wave dividers
   ----------------------------------------------------------------------------- */

.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wave-divider--top svg {
  top: 0;
  bottom: auto;
}

@media (max-width: 640px) {
  .wave-divider {
    height: 40px;
  }
}

.wave-divider--white {
  color: #ffffff;
}

.wave-divider--light {
  color: #f8fafc;
}

.wave-divider--dark {
  color: var(--color-secondary);
}

.wave-divider--primary {
  color: var(--color-primary);
}

/* -----------------------------------------------------------------------------
   Header — glassmorphism
   ----------------------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(var(--color-secondary-rgb), 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: height 0.3s ease, background 0.3s ease;
  overflow: visible;
}

.header--scrolled {
  height: 64px;
  background: rgba(var(--color-secondary-rgb), 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  overflow: visible;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo img {
  height: 4.5rem;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.header--scrolled .header__logo img {
  height: 2.875rem;
}

.header__nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 1023px) {
  .header__nav-desktop {
    display: none;
  }
}

.header__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.header__links a:hover,
.header__links a.is-active {
  color: var(--color-white);
}

.header__links a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-primary);
}

/* Desktop Services dropdown */
.header__item-dropdown {
  position: relative;
}

.header__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header__dropdown-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.header__item-dropdown:hover .header__dropdown-chevron,
.header__item-dropdown:focus-within .header__dropdown-chevron {
  transform: rotate(180deg);
}

.header__dropdown-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 18rem;
  max-width: min(22rem, 92vw);
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: rgba(var(--color-secondary-rgb), 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1100;
}

.header__dropdown-panel::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 0.65rem;
}

.header__item-dropdown:hover .header__dropdown-panel,
.header__item-dropdown:focus-within .header__dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown-panel a {
  display: block;
  padding: 0.65rem 1.15rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.35;
  border-bottom: none;
}

.header__dropdown-panel a:hover,
.header__dropdown-panel a:focus-visible {
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}

.header__dropdown-panel a.is-active {
  color: var(--color-primary-light);
  text-decoration: none;
  background: rgba(var(--color-primary-rgb), 0.12);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-white) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  transition: background var(--transition-base), transform var(--transition-base);
}

.header__cta:hover {
  background: var(--color-primary-dark);
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

.header__cta:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-white);
}

.header__toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .header__toggle {
    display: flex;
  }
}

.header__toggle-icon {
  width: 24px;
  height: 24px;
}

/* Mobile drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--color-secondary);
  z-index: 1002;
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-drawer__links a {
  display: block;
  padding: 0.875rem 0;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-drawer__links a.is-active {
  color: var(--color-primary-light);
}

.nav-drawer__item--expandable {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-drawer__expand-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 0;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  text-align: left;
  cursor: pointer;
}

.nav-drawer__expand-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-drawer__expand-icon {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.nav-drawer__expand-btn[aria-expanded="true"] .nav-drawer__expand-icon {
  transform: rotate(180deg);
}

.nav-drawer__submenu {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0 0 0 0.75rem;
  border-left: 2px solid rgba(255,255,255,0.12);
}

.nav-drawer__submenu li {
  margin: 0;
}

.nav-drawer__submenu a {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-bottom: none;
}

.nav-drawer__submenu a:hover,
.nav-drawer__submenu a:focus-visible {
  color: var(--color-primary-light);
}

.nav-drawer__submenu a.is-active {
  color: var(--color-primary-light);
}

.nav-drawer__cta {
  margin-top: 1.5rem;
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.nav-drawer__cta:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

body.nav-open {
  overflow: hidden;
}

/* Main offset for fixed header */
#main {
  padding-top: 80px;
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-secondary);
}

.hero--page {
  min-height: 45vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1723433892471-62f113c8c9a0?w=1600&q=80&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero--page.hero--about .hero__bg {
  background-position: 20% center;
}

.hero--page.hero--services .hero__bg {
  background-position: 80% center;
}

.hero--page.hero--contact .hero__bg {
  background-position: center 30%;
}

.hero--page.hero--service .hero__bg {
  background-position: 60% 40%;
}

.hero--page.hero--suburb .hero__bg {
  background-position: 40% 60%;
}

.hero--page.hero--privacy .hero__bg {
  background-position: 50% 70%;
}

.hero--page.hero--service-sil .hero__bg {
  background-position: 18% 42%;
}

.hero--page.hero--service-community .hero__bg {
  background-position: 72% 38%;
}

.hero--page.hero--service-sta .hero__bg {
  background-position: 55% 55%;
}

.hero--page.hero--service-personal .hero__bg {
  background-position: 33% 48%;
}

.hero--page.hero--service-ilo .hero__bg {
  background-position: 66% 62%;
}

.hero--page.hero--suburb-pines .hero__bg {
  background-position: 25% 35%;
}

.hero--page.hero--suburb-helensvale .hero__bg {
  background-position: 75% 40%;
}

.hero--page.hero--suburb-southport .hero__bg {
  background-position: 45% 28%;
}

.hero--page.hero--suburb-nerang .hero__bg {
  background-position: 62% 52%;
}

.hero--page.hero--suburb-coomera .hero__bg {
  background-position: 38% 58%;
}

.hero--page.hero--suburb-robina .hero__bg {
  background-position: 58% 33%;
}

.hero--page.hero--suburb-broadbeach .hero__bg {
  background-position: 48% 65%;
}

@media (max-width: 768px) {
  .hero__bg {
    background-attachment: scroll;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--color-secondary-rgb), 0.92) 0%,
    rgba(var(--color-secondary-rgb), 0.72) 50%,
    rgba(var(--color-secondary-rgb), 0.50) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero__content {
  max-width: 720px;
  text-align: left;
}

.hero--page .hero__content {
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.95);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero__headline {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.hero__subheadline {
  color: rgba(255,255,255,0.88);
  font-size: 1.0625rem;
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--dark {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-gray-900);
  color: var(--color-white);
}

.hero__trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__trust-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero__trust-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
}

/* Hero stagger animation */
.hero__badge,
.hero__headline,
.hero__subheadline,
.hero__cta-group,
.hero__trust-bar {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

.hero__badge       { animation-delay: 0.2s; }
.hero__headline    { animation-delay: 0.4s; }
.hero__subheadline { animation-delay: 0.6s; }
.hero__cta-group   { animation-delay: 0.8s; }
.hero__trust-bar   { animation-delay: 1.0s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__headline,
  .hero__subheadline,
  .hero__cta-group,
  .hero__trust-bar {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* -----------------------------------------------------------------------------
   Scroll animations
   ----------------------------------------------------------------------------- */

.animate-on-scroll,
.animate-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1),
              transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.animate-on-scroll.is-visible,
.animate-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 0 1px var(--color-primary);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(var(--color-primary-rgb), 0.10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-card__icon {
  background: var(--color-primary);
  color: #ffffff;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.service-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-primary-dark);
  margin-top: auto;
}

.service-card:hover .service-card__link {
  color: var(--color-primary);
}

.service-card__arrow {
  transition: transform 0.25s ease;
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

.why-grid {
  display: grid;
  gap: 1.5rem;
}

/* Flex + justify-content centers orphan rows (e.g. 5 cards in 3 cols, 7 locations in 3 cols) */
.services-grid--home,
.services-grid--page,
.locations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.services-grid--home > .service-card,
.services-grid--page > .service-card,
.locations-grid > .location-card {
  flex: 1 1 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .services-grid--home > .service-card {
    flex: 0 1 calc(50% - 0.75rem);
    max-width: 420px;
  }

  .services-grid--page > .service-card {
    flex: 0 1 calc(50% - 0.75rem);
    max-width: 520px;
  }

  .locations-grid > .location-card {
    flex: 0 1 calc(50% - 0.75rem);
    max-width: 400px;
  }
}

@media (min-width: 1024px) {
  .services-grid--home > .service-card {
    flex: 0 1 calc(33.333% - 1rem);
    max-width: 380px;
  }
}

@media (min-width: 900px) {
  .locations-grid > .location-card {
    flex: 0 1 calc(33.333% - 1rem);
    max-width: 380px;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

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

/* -----------------------------------------------------------------------------
   About two-column & image
   ----------------------------------------------------------------------------- */

.about-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-split__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* -----------------------------------------------------------------------------
   Stats — textured
   ----------------------------------------------------------------------------- */

.section--textured {
  position: relative;
}

.section--textured::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.section--textured > * {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-number {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   Why us cards
   ----------------------------------------------------------------------------- */

.why-card {
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-primary-rgb), 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.why-card__icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* -----------------------------------------------------------------------------
   CTA banner
   ----------------------------------------------------------------------------- */

.cta-banner__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner__inner h2 {
  margin-bottom: 1rem;
}

.cta-banner__inner p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta-banner__phone {
  font-family: var(--font-family-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.cta-banner__phone a {
  color: var(--color-white);
  text-decoration: none;
}

.cta-banner__phone a:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   Location cards
   ----------------------------------------------------------------------------- */

.location-card {
  display: block;
  padding: 1.5rem;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-family: var(--font-family-heading);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.location-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.location-card span {
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
}

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

.footer {
  background-color: var(--color-secondary);
  color: rgba(255,255,255,0.85);
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-primary-light);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer__col h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer__col p,
.footer__col li {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__contact {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.footer__contact p {
  margin-bottom: 0.5rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
}

/* -----------------------------------------------------------------------------
   Page content blocks
   ----------------------------------------------------------------------------- */

.page-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

.prose {
  max-width: 720px;
}

.prose--wide {
  max-width: 800px;
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: 1.75rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.value-card h3 {
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

/* Contact layout */
.contact-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--color-secondary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-family-body);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  transition: border-color var(--transition-base);
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  border: none;
}

.form-error {
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  margin-top: -0.75rem;
  margin-bottom: 1rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(var(--color-primary-rgb), 0.12);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.contact-details__block {
  margin-bottom: 1.75rem;
}

.contact-details__block h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Service page sections */
.service-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.service-content h2:first-child {
  margin-top: 0;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.benefits-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* FAQ */
.faq {
  margin-top: 2rem;
}

.faq__item {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-white);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq__item[open] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 1.25rem 1rem;
  color: var(--color-text-muted);
}

.faq__answer p {
  font-size: 0.9375rem;
}

/* -----------------------------------------------------------------------------
   Sticky call bar (mobile)
   ----------------------------------------------------------------------------- */

.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  align-items: center;
  background: var(--color-secondary);
  border-top: 2px solid var(--color-primary);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  padding: 0.75rem var(--container-padding);
  gap: 1rem;
}

.call-bar.is-visible {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .call-bar {
    display: none;
  }
}

.call-bar__icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.call-bar__pulse {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: callPulse 2s ease-out infinite;
}

@keyframes callPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.call-bar__icon-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

.call-bar__icon-btn:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.call-bar__icon-btn svg {
  width: 22px;
  height: 22px;
}

.call-bar__text {
  flex: 1;
  min-width: 0;
}

.call-bar__text a {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.call-bar__text span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.call-bar__dismiss {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.call-bar__dismiss:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

body.has-call-bar {
  padding-bottom: 72px;
}

@media (min-width: 1024px) {
  body.has-call-bar {
    padding-bottom: 0;
  }
}

/* -----------------------------------------------------------------------------
   Suburb service list
   ----------------------------------------------------------------------------- */

.suburb-services {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .suburb-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

.suburb-services a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--color-gray-50);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  color: var(--color-secondary);
}

.suburb-services a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* Content spacing utilities (no inline styles) */
.lead-narrow {
  margin-bottom: 2rem;
  max-width: 640px;
}

.heading-center {
  text-align: center;
  margin-bottom: 2.5rem;
}
