/* ============================================================
   Agent Pulse - Premium Real Estate CSS
   Inspired by high-end NZ real estate agent sites
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Harcourts Brand Colours */
  --navy: #001F49;
  --navy-mid: #0a3060;
  --navy-light: #E9F0F9;
  --cyan: #00ADEF;
  --cyan-dark: #0095C5;
  --cyan-darker: #0080AB;
  --cyan-ring: rgba(0, 173, 239, 0.18);
  /* Neutrals */
  --white: #ffffff;
  --warm-white: #f8f9fb;
  --gray-100: #f5f5f5;
  --gray-200: #EBEBED;
  --gray-300: #CCCCCC;
  --gray-500: #6C6C6C;
  --gray-700: #555555;
  --border-color: #CACED2;
  --dark: #001F49;
  --text: #001F49;
  /* Typography */
  --font-sans: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Shape */
  --radius: 4px;
  --radius-sm: 4px;
  --radius-pill: 12px;
  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: rgba(0,0,0,0.1) 0px 21px 31px -19px;
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

p.prose {
  max-width: 70ch;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-sans);
  line-height: 1;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}

.btn-primary:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192, 154, 47, 0.35);
}

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

.btn-secondary:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

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

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

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: white;
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: rgba(13, 13, 11, 0.22);
}

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

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.demo-build-bar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.demo-build-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 38px;
  text-align: center;
}

.demo-build-inner a {
  color: var(--cyan-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 26px;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  min-width: 236px;
}

.logo-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.site-header nav {
  flex: 1;
  min-width: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 650;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 520px;
  overflow: hidden;
  z-index: 50;
  border-top: 3px solid var(--cyan);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 8px;
}

.has-dropdown:hover .dropdown {
  display: grid;
}

.dropdown a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px;
  color: var(--navy) !important;
  font-size: 0.9rem;
  font-weight: 650;
  border-bottom: none;
  background: none !important;
}

.dropdown a:hover {
  background: var(--gray-100) !important;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 12px 18px;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 4px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* ============================================================
   HERO - FULL-WIDTH SPLIT LAYOUT
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  min-height: calc(100svh - 72px);
  background:
    linear-gradient(90deg, rgba(250,249,247,0.98) 0%, rgba(250,249,247,0.94) 49%, rgba(250,249,247,0) 50%),
    var(--warm-white);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,31,73,0.10);
  position: relative;
  z-index: 1;
}
.hero + .split {
  margin-top: 0;
  padding-top: 0;
  background: var(--white);
  border-top: none;
}

.hero-left {
  display: flex;
  align-items: center;
  padding: clamp(44px, 6vh, 72px) 0;
}

.hero-left-inner {
  max-width: 660px;
  margin-left: auto;
  padding: 0 70px 0 28px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
  padding: 5px 12px;
  background: var(--navy-light);
  border-radius: 2px;
}

.hero h1 {
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-size: clamp(3rem, 4.45vw, 4.35rem);
  max-width: 610px;
}

.hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-lead {
  font-size: 1.14rem;
  color: var(--gray-700);
  margin-bottom: 22px;
  line-height: 1.7;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-contact {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.hero-contact .phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.hero-contact a {
  color: var(--gray-700);
  font-size: 0.9rem;
}

.hero-contact a:hover {
  color: var(--cyan);
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: calc(100svh - 72px);
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,31,61,0.02), rgba(15,31,61,0.24));
  pointer-events: none;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 6s ease;
}

/* ============================================================
   TRUST / STATS BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  padding: 0 0 34px;
  position: relative;
  z-index: 5;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  margin-top: -26px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  padding: 22px 20px;
  border-right: 1px solid var(--gray-200);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-alt {
  background: var(--gray-100);
}

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

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

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gold-rule {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  margin-bottom: 20px;
}

.gold-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview {
  padding: 76px 0;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.about-preview-copy {
  max-width: 650px;
}

.about-preview-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  max-width: 620px;
  margin-bottom: 22px;
}

.about-preview-copy p {
  color: var(--gray-700);
  line-height: 1.78;
  font-size: 1.02rem;
}

.about-proof-panel {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-proof-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.about-proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-200);
}

.about-proof-list div {
  padding: 18px 16px;
  border-right: 1px solid var(--gray-200);
}

.about-proof-list div:last-child {
  border-right: none;
}

.about-proof-list strong {
  display: block;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 6px;
}

.about-proof-list span {
  display: block;
  color: var(--gray-500);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  align-items: stretch;
}

.split.reverse .split-img {
  order: 2;
}

.split.reverse .split-content {
  order: 1;
}

.split-img {
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px;
  background: var(--white);
}
/* Second section heading — smaller, not competing with hero */
.split h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section-alt .split-content {
  background: var(--gray-100);
}

.split h2 {
  margin-bottom: 16px;
}

.split-lead {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 24px;
}

.credentials-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.credentials-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.credentials-list li::before {
  content: '\2713';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   PROPERTY RESULT CARDS
   ============================================================ */
.result-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.results-carousel {
  position: relative;
  margin-top: 6px;
  overflow: hidden;
}

.results-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.results-track::-webkit-scrollbar {
  display: none;
}

.results-track .result-card {
  flex: 0 0 min(360px, calc(100vw - 64px));
}

.results-nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 31, 73, 0.12);
  border-radius: 50%;
  background: white;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(0, 31, 73, 0.18);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.results-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 31, 73, 0.22);
}

.results-nav:disabled {
  opacity: 0;
  cursor: default;
  transform: none;
  pointer-events: none;
}

.results-nav svg {
  width: 22px;
  height: 22px;
}

.results-nav-prev {
  left: 8px;
}

.results-nav-next {
  right: 8px;
}

.result-card-link {
  color: inherit;
  text-decoration: none;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.result-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}

.result-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.result-card:hover .result-card-img img {
  transform: scale(1.05);
}

.result-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--cyan);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.result-days {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 31, 61, 0.85);
  color: white;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.result-card-body {
  padding: 17px 20px 19px;
  min-height: 166px;
  display: flex;
  flex-direction: column;
}

.result-price {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cyan-dark);
  margin: 0 0 8px;
  line-height: 1.25;
}

.result-address {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.12;
}

.result-suburb {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  line-height: 1.2;
}

.result-headline {
  color: var(--gray-700);
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-meta {
  font-size: 0.83rem;
  color: var(--navy);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  line-height: 1;
  margin: 0 0 12px;
}

.result-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-700);
  font-weight: 650;
}

.result-meta svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  flex-shrink: 0;
}

.results-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .results-track {
    gap: 16px;
    padding-right: 18px;
  }

  .results-nav {
    display: none;
  }
}

@media (min-width: 901px) {
  .results-track .result-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (min-width: 1180px) {
  .results-track .result-card {
    flex-basis: calc((100% - 44px) / 3);
  }
}

/* ============================================================
   SOLD PHOTO SOCIAL PROOF
   ============================================================ */
.sold-proof-section {
  background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}

.sold-proof-carousel {
  position: relative;
  overflow: hidden;
}

.sold-proof-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.sold-proof-track::-webkit-scrollbar {
  display: none;
}

.sold-proof-card {
  flex: 0 0 min(300px, calc(100vw - 64px));
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.sold-proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sold-proof-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.sold-proof-card:hover img {
  transform: scale(1.04);
}

@media (min-width: 901px) {
  .sold-proof-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (min-width: 1180px) {
  .sold-proof-card {
    flex-basis: calc((100% - 54px) / 4);
  }
}

/* ============================================================
   SOCIAL PRESENCE BADGES
   ============================================================ */
.google-reviews-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.social-presence-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 30px auto 0;
}

.social-presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.social-presence-badge svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
}

/* ============================================================
   SUBURB PILL TAGS
   ============================================================ */
.suburb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.suburb-focus {
  position: relative;
  padding: 72px 0;
}

.suburb-focus-sticky {
  display: block;
}

.suburb-tags-scroll {
  max-width: 860px;
  margin: 28px auto 0;
}

.suburb-tag {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.suburb-tag:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateY(-2px);
}

.suburb-tag.is-active {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  box-shadow: 0 10px 24px rgba(0, 173, 239, 0.22);
  transform: translateY(-2px);
}

.suburb-tag-static {
  cursor: default;
}

/* ============================================================
   SUBURB MAP PREVIEW
   ============================================================ */
.suburb-map-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  margin-top: 40px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.suburb-map-visual {
  position: relative;
  min-height: 330px;
  background: var(--gray-100);
  overflow: hidden;
}

.suburb-map-visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
}

.suburb-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.suburb-map-copy h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.suburb-map-copy p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.72;
}

.suburb-map-copy .suburb-map-note {
  margin-top: 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 20px;
  font-size: 96px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.18;
  font-family: var(--font-sans);
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.875rem;
}

.testimonial-suburb {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.stars {
  color: var(--cyan);
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

/* ============================================================
   APPRAISAL FORM
   ============================================================ */
.appraisal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 56px;
  align-items: start;
}

.appraisal-copy {
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.8;
}

.appraisal-copy p {
  margin-bottom: 20px;
}

.appraisal-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.appraisal-benefits li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--navy);
  line-height: 1.55;
}

.benefit-check {
  color: var(--cyan);
  font-weight: 900;
  line-height: 1.55;
}

.appraisal-form-wrap {
  min-width: 0;
}

.appraisal-form {
  background: white;
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full,
.form-group-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input,
select,
textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  background: white;
  color: var(--navy);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(192, 154, 47, 0.12);
}

input.error,
select.error,
textarea.error {
  border-color: #e05252;
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 12px;
}

.form-success {
  background: #f0f9f0;
  border: 1px solid #88cc88;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  color: #2d6b2d;
  font-weight: 600;
  margin-top: 20px;
  display: none;
}

.form-error {
  background: #fff4f4;
  border: 1px solid #e05252;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #8a1f1f;
  font-weight: 600;
  margin-top: 16px;
  display: none;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: rgba(0, 173, 239, 0.34);
  box-shadow: 0 10px 28px rgba(0, 31, 73, 0.08);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-sans);
  text-align: left;
  gap: 16px;
  margin: 0;
}

.faq-q:hover {
  color: var(--cyan);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--cyan);
  color: white;
}

.faq-a {
  padding: 0 24px 24px;
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 1rem;
}

.faq-a[hidden] {
  display: none;
}

.faq-a p {
  max-width: 72ch;
  margin: 0;
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 420px;
  background:
    linear-gradient(135deg, rgba(15, 31, 61, 0.06), rgba(192, 154, 47, 0.12)),
    url("https://tile.openstreetmap.org/14/16146/10578.png") center / cover;
}

#siteMap,
#contactMap,
#homeOfficeMap {
  height: 100%;
  width: 100%;
  min-height: 420px;
}

.map-wrap .leaflet-container {
  position: relative;
  z-index: 1;
}

.home-office-map {
  background: #d9e4e8;
}

.home-office-map .leaflet-tile {
  filter: grayscale(1) contrast(1.08) sepia(0.22) hue-rotate(154deg) saturate(0.58);
}

.home-office-map .leaflet-control-attribution {
  font-size: 10px;
}

.home-office-map .leaflet-control-zoom a {
  color: var(--navy);
  border-color: rgba(15, 31, 61, 0.12);
}

.home-office-pin {
  background: transparent;
  border: 0;
}

.home-office-pin__label {
  display: block;
  padding: 9px 14px;
  color: white;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  box-shadow: 0 14px 28px rgba(15, 31, 61, 0.26);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-office-pin__point {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 11px solid var(--navy);
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-md) !important;
}

.map-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.map-details h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.map-details p {
  color: var(--gray-700);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.map-details a {
  color: var(--cyan);
  font-weight: 600;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 210px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 26px;
}

.blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}

.blog-meta span {
  flex-shrink: 0;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: white;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}

.blog-read-link:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-1px);
}

/* ============================================================
   RESOURCE CARDS
   ============================================================ */
.resource-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--cyan);
  transition: box-shadow var(--transition);
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
}

.resource-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.icon-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(0, 173, 239, 0.08);
  border: 1px solid rgba(0, 173, 239, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.icon-mark svg {
  width: 24px;
  height: 24px;
  display: block;
}

.resource-card-icon.icon-mark,
.value-icon.icon-mark {
  font-size: 0;
  margin-bottom: 8px;
}

.resource-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.resource-text {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: white;
  padding: 64px 0 56px;
}

.page-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ============================================================
   BIO SECTION (about page)
   ============================================================ */
.bio-section {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 64px;
  align-items: start;
}

.bio-photo,
.bio-image-wrap {
  position: sticky;
  top: 96px;
}

.bio-photo {
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.bio-photo img,
.bio-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.bio-photo img {
  border-radius: 0;
  aspect-ratio: 4 / 5;
  max-height: 500px;
  object-position: center top;
}

.bio-photo-badge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--navy);
  color: white;
}

.bio-photo-badge strong {
  font-family: var(--font-sans);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--cyan);
}

.bio-photo-badge span {
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.bio-content h2 {
  margin-bottom: 6px;
}

.bio-role {
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bio-content p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 30px 0 0;
}

.about-highlights div {
  background: white;
  padding: 18px 20px;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.about-highlights strong {
  display: block;
  font-family: var(--font-sans);
  color: var(--cyan);
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 6px;
}

.about-highlights span {
  color: var(--gray-700);
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bio-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.about-story-section {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.story-panel {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.story-panel-feature {
  grid-row: span 2;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(245, 237, 213, 0.78), rgba(255, 255, 255, 0.95) 42%),
    white;
}

.story-panel .eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-panel h2,
.story-panel h3 {
  margin-bottom: 14px;
}

.story-panel p {
  color: var(--gray-700);
  line-height: 1.75;
}

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

.bio-credentials li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.bio-credentials li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  left: 4px;
  top: 19px;
}

.bio-credentials li:last-child {
  border-bottom: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.footer-brand-lockup {
  margin-bottom: 24px;
}

.footer-logo {
  width: 176px;
  height: auto;
  display: block;
  margin: 0 0 22px;
}

.footer-agent-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-brand-name {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: white;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-brand-lic {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.footer-social-icon {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-google-reviews {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-google-reviews p {
  margin: 0;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--cyan);
  color: var(--navy);
}

.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), color var(--transition);
}

.google-reviews-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  flex-basis: 100%;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--cyan);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: auto;
  max-width: 430px;
  background: rgba(13, 13, 11, 0.97);
  color: rgba(255, 255, 255, 0.88);
  padding: 12px;
  border-radius: 8px;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.cookie-banner.hidden {
  transform: translateY(120%);
}

.cookie-banner p {
  font-size: 0.74rem;
  max-width: 235px;
  line-height: 1.45;
  margin: 0;
}

.cookie-banner a {
  color: var(--cyan);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 9px 12px;
  font-size: 0.78rem;
}

.cookie-actions .btn-outline-dark {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  background: transparent !important;
}

.cookie-actions .btn-outline-dark:hover {
  color: var(--navy) !important;
  border-color: #fff !important;
  background: #fff !important;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 12px 16px;
  z-index: 8000;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-cta a {
  flex: 1;
  justify-content: center;
}

/* ============================================================
   AUTHOR BIO BOX (blog)
   ============================================================ */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px 0;
  border-left: 4px solid var(--cyan);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-info h4 {
  color: var(--navy);
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--gray-700);
  margin: 0;
}

/* ============================================================
   WHY CARDS
   ============================================================ */
.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.why-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.why-card-note {
  margin-top: 8px !important;
  color: var(--gray-500) !important;
  font-size: 0.82rem !important;
}

.contact-link,
.contact-link-big {
  color: var(--cyan);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-link-big {
  font-size: 1.2rem;
}

.why-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   NEWSLETTER / CTA BAND
   ============================================================ */
.cta-band {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
  color: white;
}

.cta-band h2 {
  color: white;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.section-dark .container > .btn {
  margin: 0 6px 10px;
}

.section-dark .container > .btn + .btn {
  margin-left: 6px;
}

/* ============================================================
   RESPONSIVE - 1100px
   ============================================================ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    background: var(--white);
  }

  .hero-right {
    height: 420px;
    min-height: 420px;
    order: -1;
  }

  .hero-left-inner {
    max-width: 100%;
    padding: 56px 28px;
    margin: 0 auto;
  }

  .split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-img {
    min-height: 320px;
  }

  .split.reverse .split-img,
  .split.reverse .split-content {
    order: unset;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
  }

  .about-proof-panel {
    max-width: 560px;
  }
}

/* ============================================================
   RESPONSIVE - 768px
   ============================================================ */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .header-inner {
    gap: 12px;
    position: relative;
  }

  .logo {
    min-width: 0;
  }

  .site-header nav,
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: 0;
    background: var(--navy-light) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius);
    color: var(--navy) !important;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    position: relative;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 210;
  }

  .main-nav.open {
    display: flex;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 22px 28px 120px;
    z-index: 7999;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .site-header nav.mobile-nav-open,
  .site-header nav:has(.main-nav.open) {
    display: block;
    position: static;
  }

  .main-nav.open li {
    width: 100%;
  }

  .main-nav.open a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    padding: 16px 12px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    font-weight: 750;
    text-align: center;
  }

  .main-nav.open a.active {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 12px;
  }

  .logo {
    min-width: 0;
  }

  .logo-img img {
    width: 118px !important;
  }

  .site-header nav,
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    background: var(--navy-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--navy) !important;
  }

  .main-nav.open {
    display: flex;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 22px 28px 120px;
    z-index: 7999;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .site-header nav.mobile-nav-open,
  .site-header nav:has(.main-nav.open) {
    display: block;
    position: static;
  }

  .main-nav.open li {
    width: 100%;
  }

  .main-nav.open a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    padding: 16px 12px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    font-weight: 750;
    text-align: center;
  }

  .main-nav.open a.active {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.08);
  }

  .main-nav.open .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: none;
    border-radius: 0 0 8px 8px;
    border-top: none;
    margin: 0 0 10px;
    padding: 8px 0 10px;
    background: rgba(255, 255, 255, 0.05);
  }

  .main-nav.open .dropdown a {
    min-height: auto;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.72) !important;
    background: transparent !important;
    border-bottom: none;
    font-size: 0.92rem;
    font-weight: 650;
  }

  .main-nav.open .dropdown a:hover {
    color: var(--cyan) !important;
  }

  .sticky-cta {
    display: flex;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .about-preview {
    padding: 56px 0;
  }

  .about-proof-list {
    grid-template-columns: 1fr;
  }

  .about-proof-list div {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }

  .about-proof-list div:last-child {
    border-bottom: none;
  }

  .suburb-focus {
    padding: 56px 0;
  }

  .suburb-focus-sticky {
    display: block;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .appraisal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .appraisal-benefits {
    margin-top: 24px;
    gap: 12px;
  }

  .appraisal-form-wrap {
    margin-top: 4px;
  }

  .bio-section {
    grid-template-columns: 1fr;
  }

  .bio-photo,
  .bio-image-wrap {
    position: static;
  }

  .bio-photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

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

  .story-panel-feature {
    grid-row: auto;
    padding: 30px;
  }

  .appraisal-form {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-content {
    padding: 40px 28px;
  }

  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .map-info {
    grid-template-columns: 1fr;
  }

  .suburb-map-card {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .suburb-map-visual {
    min-height: 260px;
  }

  .suburb-map-copy {
    padding: 26px 22px;
  }

  .hero-right {
    height: 360px;
    min-height: 360px;
  }

  .hero + .split {
    padding-top: 36px;
  }

  .hero-right img {
    object-position: center 18%;
  }

  .hero-left-inner {
    padding: 40px 20px 28px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
    line-height: 0.98;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-contact {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .bio-cta {
    width: 100%;
  }

  .bio-cta .btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .blog-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .blog-read-link {
    width: 100%;
  }

  .social-presence-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .social-presence-badge {
    width: 100%;
    justify-content: center;
  }

  .cta-band-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .cta-band-actions .btn,
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .section-dark .container > .btn {
    display: flex;
    width: min(100%, 320px);
    justify-content: center;
    margin: 0 auto 14px;
  }

  .section-dark .container > .btn + .btn {
    margin-left: auto;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    flex-wrap: wrap;
    padding: 12px;
  }

  .cookie-banner p {
    max-width: none;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: row;
  }

  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 9px 10px;
    font-size: 0.72rem;
  }

  .cookie-actions .btn-outline-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35) !important;
  }

  .whatsapp-float {
    display: none;
  }
}

.lang-label {
  color: var(--gray-500);
  font-size: 0.76rem;
  white-space: nowrap;
}
.lang-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.lang-btn:hover,
.lang-btn[aria-pressed="true"] {
  border-color: var(--cyan);
  background: rgba(0,173,239,0.08);
  color: var(--cyan);
}

/* ===========================
   HARCOURTS BRAND OVERRIDES
   Full spec from DESIGN.md
   =========================== */

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Nav — white, Harcourts spec */
.site-header {
  background: #fff;
  box-shadow: rgba(0,0,0,0.1) 0px 21px 31px -19px;
  border-bottom: none;
}
.site-header .logo-name { color: var(--navy); font-weight: 700; }
.site-header .logo-tagline { color: var(--cyan); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-header .mobile-menu-toggle { color: var(--navy); }
.main-nav a { color: var(--navy); font-weight: 400; }
.main-nav a:hover,
.main-nav a.active { color: var(--cyan); border-color: var(--cyan); }
.dropdown { background: #fff; box-shadow: rgba(0,0,0,0.12) 0px 8px 24px -8px; }
.dropdown a:hover { background: #f5f5f5; color: var(--cyan); }

/* Sticky mobile CTA */
.fixed-bottom { background: var(--navy); border-top: 2px solid var(--cyan); }

/* Buttons — exact Harcourts spec */
.btn-primary {
  background: var(--cyan) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--cyan-dark) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.btn-primary:active { background: var(--cyan-darker) !important; }

.btn-secondary {
  background: var(--navy-light) !important;
  color: var(--navy) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-weight: 600;
}
.btn-secondary:hover { background: #D4E2F3 !important; }

.btn-outline-navy {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius) !important;
  font-weight: 600;
}
.btn-outline-navy:hover {
  border-color: var(--navy) !important;
  background: #f5f5f5 !important;
}

.btn-outline-light {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  border-radius: var(--radius) !important;
  font-weight: 600;
}
.btn-outline-light:hover { border-color: #fff !important; background: rgba(255,255,255,0.1) !important; }

.section:not(.section-dark) .btn-outline,
.blog-card .btn-outline {
  color: var(--navy);
  border-color: var(--border-color);
}

.section:not(.section-dark) .btn-outline:hover,
.blog-card .btn-outline:hover {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

/* Hero tagline (below H1) */
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* Hero eyebrow */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

/* Hero heading em */
.hero h1 em, h1 em { color: var(--cyan); font-style: normal; }

/* Hero section — navy bg with white text */
.hero { background: var(--navy); }
.hero-left { background: var(--navy); }
.hero h1 { color: #fff; }
.hero-lead { color: rgba(255,255,255,0.8); }
.hero-contact a { color: rgba(255,255,255,0.7); }
.hero-contact a:hover { color: var(--cyan); }

/* Trust bar — cyan accent */
.trust-bar { background: var(--navy); border-top: 3px solid var(--cyan); }
.stat-number { color: var(--cyan); }
.stat-label { color: rgba(255,255,255,0.7); }

/* Section alt — light background */
.section-alt { background: var(--warm-white); }

/* Section dark — navy */
.section-dark { background: var(--navy); }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.75); }

/* Gold rule → slim cyan accent */
.gold-rule, .accent-line {
  width: 40px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  margin-bottom: 18px;
  opacity: 0.9;
}
.gold-rule.centered { margin-left: auto; margin-right: auto; }

/* Split section */
.split-lead { color: var(--navy); font-weight: 600; }

/* Credentials list checkmarks → cyan */
.credentials-list li::before { color: var(--cyan); }

/* Testimonial cards */
.testimonial-card { border-left: 3px solid var(--cyan); }
.stars { color: var(--cyan); }

/* Form inputs — Harcourts spec */
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius) !important;
  min-height: 40px;
  font-family: var(--font-sans);
  color: var(--navy);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 3px var(--cyan-ring) !important;
  outline: none;
}

/* Result badge */
.result-badge { background: var(--cyan); }

/* Blog category */
.blog-category { color: var(--cyan); }

/* Footer — navy */
.site-footer { background: var(--navy); }
.footer-brand-name { color: #fff; }
.footer-bottom { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1); }

/* Map pin */
.theo-map-pin { color: var(--cyan); }

/* About highlights */
.about-highlights strong { color: var(--cyan); }

/* Value cards icon */
.value-icon { color: var(--cyan); }

.lang-btn[aria-pressed="true"],
.lang-btn:hover { border-color: var(--cyan) !important; color: var(--cyan) !important; background: rgba(0,173,239,0.08) !important; }

/* Coming soon page — update inline styles via body override */
body .cs-btn-primary { background: var(--cyan) !important; color: var(--navy) !important; }
body .cs-rule { background: var(--cyan) !important; }
body .cs-brand { color: var(--cyan) !important; }
body .cs-tagline { color: var(--cyan) !important; }

/* Page hero banner */
.page-hero { background: var(--navy); }
.page-hero h1 { color: #fff; }
.breadcrumb a, .breadcrumb span { color: rgba(255,255,255,0.6); }

/* ===========================
   HARCOURTS REFORMA LOGO
   =========================== */
.logo-img {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.logo-img img {
  display: block;
  width: 160px;
  height: auto;
}
.logo-agent-name {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}
.footer-agent-name {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 6px;
}

/* ===========================
   WHATSAPP BUTTON
   =========================== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366 !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 22px;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background: #1ebe5a !important;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3) !important;
}
.btn-whatsapp svg { flex-shrink: 0; }

/* Coming soon WhatsApp */
.cs-btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.cs-btn-whatsapp:hover { opacity: 0.88; }

/* ===========================
   TESTIMONIAL CARD FIX
   section-dark p rule was
   making card text white-on-white
   =========================== */
.section-dark .testimonial-card {
  background: #fff;
  color: var(--navy);
}
.section-dark .testimonial-card,
.section-dark .testimonial-card * {
  color: var(--navy) !important;
}
.section-dark .testimonial-card .testimonial-text,
.section-dark .testimonial-card p {
  color: var(--gray-700) !important;
}
.section-dark .testimonial-card .testimonial-author {
  color: var(--navy) !important;
}
.section-dark .testimonial-card .testimonial-suburb {
  color: var(--gray-500) !important;
}
.section-dark .testimonial-card .stars {
  color: var(--cyan) !important;
}
.section-dark .testimonial-card .testimonial-avatar {
  color: var(--cyan) !important;
}

@media (max-width: 768px) {
  .section-dark .testimonial-card {
    background: #fff !important;
  }

  .section-dark .testimonial-card .testimonial-text,
  .section-dark .testimonial-card p {
    color: var(--gray-700) !important;
  }
}

/* Map social links */
.map-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 4px;
}
.map-social-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 4px 10px;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.map-social-link:hover { border-color: var(--cyan); color: var(--cyan); }
.map-social-link.whatsapp { border-color: #25D366; color: #25D366; }
.map-social-link.whatsapp:hover { background: #25D366; color: #fff; }

/* ===========================
   SUBURB LANDING PAGES
   =========================== */
.suburb-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(0, 173, 239, 0.18), transparent 30%),
    linear-gradient(135deg, #001F49 0%, #062f65 100%);
  padding: 86px 0 92px;
}
.suburb-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}
.suburb-hero-content { color: #fff; }
.suburb-hero h1 {
  color: #fff;
  max-width: 900px;
  font-size: clamp(2.7rem, 5vw, 4.35rem);
  letter-spacing: 0;
}
.suburb-hero h2 { color: #fff; }
.suburb-hero-eyebrow { color: var(--cyan); }
.suburb-hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--cyan);
  margin: 18px 0 24px;
}
.suburb-hero-lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 760px;
}
.suburb-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Standalone map section */
.suburb-map-section { background: var(--warm-white); }
.suburb-map-header {
  max-width: 760px;
  margin-bottom: 28px;
}
.suburb-map-header h2 { color: var(--navy); }
.suburb-map-header p { color: var(--gray-700); margin-top: 8px; }
#suburbMap {
  height: clamp(360px, 46vw, 560px);
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,31,73,0.10);
  border: 1px solid var(--gray-200);
  background: #dce8ef;
}
.suburb-map-label {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.78rem;
  margin-top: 10px;
}
.suburb-map-pin span {
  display: block;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 31, 73, 0.26);
}
.suburb-map-pin {
  width: auto !important;
}
/* Market split */
.suburb-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.suburb-agent-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.suburb-agent-badge img {
  width: 76px;
  height: 76px;
  border-radius: 4px;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
}
.suburb-agent-badge strong { display: block; color: var(--navy); font-weight: 700; }
.suburb-agent-badge span { font-size: 0.82rem; color: var(--gray-500); }
.suburb-why-grid h3 { margin-bottom: 18px; color: var(--navy); }
.suburb-why-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.suburb-why-card strong { display: block; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.suburb-why-card p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.65; margin: 0; }
.suburb-photo-panel {
  position: sticky;
  top: 104px;
}
.suburb-profile-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0,31,73,0.16);
}
/* Appraisal form on suburb pages */
.suburb-appraisal-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.suburb-appraisal-info h2 { color: var(--navy); }
.suburb-appraisal-info p { color: var(--gray-700); margin: 16px 0 20px; }
.suburb-appraisal-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.suburb-appraisal-bullets li {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 12px 14px;
  background: var(--warm-white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
}
.suburb-appraisal-contact { display: flex; gap: 12px; flex-wrap: wrap; }
.suburb-appraisal-form {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.suburb-appraisal-form .form-group { margin-bottom: 16px; }
.suburb-appraisal-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.suburb-appraisal-form input,
.suburb-appraisal-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--navy);
  background: #fff;
  min-height: 40px;
}
.suburb-appraisal-form input:focus,
.suburb-appraisal-form select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-ring);
  outline: none;
}
.appraisal-success-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
#suburbAppraisalSuccess { text-align: center; padding: 32px 16px; }
#suburbAppraisalSuccess h3 { color: var(--navy); margin-bottom: 8px; }
#suburbAppraisalSuccess p { color: var(--gray-700); }

/* Responsive suburb pages */
@media (max-width: 768px) {
  .suburb-hero,
  .suburb-hero *,
  .suburb-split,
  .suburb-split *,
  .suburb-appraisal-wrap,
  .suburb-appraisal-wrap *,
  .suburb-map-section,
  .suburb-map-section * {
    max-width: 100%;
  }

  .suburb-hero h1,
  .suburb-hero h2,
  .suburb-split h2,
  .suburb-appraisal-wrap h2,
  .suburb-map-header h2,
  .suburb-hero p,
  .suburb-split p,
  .suburb-appraisal-wrap p,
  .suburb-map-header p {
    overflow-wrap: anywhere;
  }

  .suburb-hero-inner,
  .suburb-split,
  .suburb-appraisal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .suburb-hero {
    padding: 48px 0 56px;
    background: #fff;
  }
  .suburb-hero-inner {
    padding: 0 24px;
  }
  .suburb-hero h1 {
    color: var(--navy);
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.08;
  }
  .suburb-hero .hero-eyebrow {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 6px 10px !important;
    background: var(--navy-light) !important;
    color: var(--cyan) !important;
    border-radius: var(--radius);
  }
  .suburb-hero-tagline {
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.45;
  }
  .suburb-hero-lead {
    color: var(--navy);
    font-size: 1rem;
  }
  .suburb-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .suburb-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .suburb-hero-actions .btn-outline-light {
    color: var(--navy) !important;
    border-color: var(--border-color) !important;
  }
  .suburb-hero-actions .btn-whatsapp {
    background: transparent !important;
    color: var(--navy) !important;
    border: 1px solid var(--border-color) !important;
  }
  .suburb-split,
  .suburb-appraisal-wrap {
    gap: 28px;
  }
  .suburb-agent-badge {
    align-items: flex-start;
  }
  .suburb-agent-badge img {
    width: 92px;
    height: 92px;
  }
  .suburb-photo-panel {
    position: static;
    order: -1;
  }
  .suburb-profile-photo {
    max-width: none;
    aspect-ratio: 16 / 11;
  }
  #suburbMap {
    display: block;
    height: 340px;
    min-height: 340px;
    margin: 24px -8px 0;
  }
  .suburb-map-header {
    margin-bottom: 0;
  }
  .suburb-appraisal-bullets {
    gap: 8px;
  }
  .suburb-appraisal-bullets li {
    padding: 12px;
  }
  .suburb-appraisal-contact {
    display: grid;
    grid-template-columns: 1fr;
  }
  .suburb-appraisal-contact .btn {
    width: 100%;
    justify-content: center;
  }
  #faq .section-header {
    text-align: left !important;
    margin-bottom: 28px;
  }
  #faq .section-header .gold-rule {
    margin-left: 0;
  }
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.anim-fade { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-fade.visible { opacity: 1; transform: translateY(0); }
.anim-fade-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-fade-left.visible { opacity: 1; transform: translateX(0); }
.anim-fade-right { opacity: 0; transform: translateX(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-fade-right.visible { opacity: 1; transform: translateX(0); }
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* Theo personal signature logo in nav */
.logo-img img {
  width: 200px !important;
  height: auto !important;
}


/* Considered gap: white space between hero and trust bar */
.trust-bar {
  margin-top: 56px;
}
@media (max-width: 768px) {
  .trust-bar { margin-top: 36px; }
}

/* ===========================
   FLOATING WHATSAPP BUTTON
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px; /* above sticky CTA */
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
.whatsapp-float svg { display: block; }

@media (min-width: 769px) {
  .whatsapp-float {
    display: flex;
  }
}

/* Final CTA visibility guardrails */
@media (min-width: 769px) {
  .sticky-cta.fixed-bottom {
    display: none !important;
  }

  .whatsapp-float {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: none !important;
  }
}

/* Hero eyebrow — plain white text on dark hero, no background */
.hero .hero-eyebrow,
.suburb-hero .hero-eyebrow {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Animation fix — use JS-enabled class so no-JS users always see content */
.js-ready .anim-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js-ready .anim-fade-left { opacity: 0; transform: translateX(-24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js-ready .anim-fade-right { opacity: 0; transform: translateX(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js-ready .anim-fade.visible,
.js-ready .anim-fade-left.visible,
.js-ready .anim-fade-right.visible { opacity: 1; transform: none; }

/* Animations — always visible, fade-in is progressive enhancement only */
.anim-fade, .anim-fade-left, .anim-fade-right { opacity: 1 !important; transform: none !important; transition: none !important; }
.js-ready .anim-fade.visible, .js-ready .anim-fade-left.visible, .js-ready .anim-fade-right.visible { opacity: 1 !important; transform: none !important; }

/* Updated logo dimensions after signature crop */
.site-header .logo.logo-img {
  min-width: 200px;
  width: 200px;
}

.site-header .logo-img img {
  width: 200px !important;
  height: auto !important;
  max-height: 50px;
  object-fit: contain;
}

/* Final mobile guardrails for suburb landing pages and the compact header. */
@media (max-width: 900px) {
  .site-header .container {
    padding: 0 16px;
  }

  .header-inner {
    min-height: 72px;
    padding-right: 58px;
  }

  .site-header .logo-img img {
    width: min(176px, calc(100vw - 120px)) !important;
    height: auto !important;
    max-height: 44px;
    max-width: calc(100vw - 120px);
  }

  .mobile-menu-toggle {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .container,
  .suburb-hero-inner {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .suburb-hero {
    padding-top: 54px;
  }

  .suburb-hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .suburb-split,
  .suburb-split-content,
  .suburb-why-grid,
  .suburb-appraisal-wrap,
  .suburb-appraisal-info,
  .suburb-appraisal-form {
    width: 100%;
    min-width: 0;
  }

  #suburbMap {
    width: 100%;
    margin: 22px 0 0;
  }
}
