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

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy: #0f1f3d;
  --navy-mid: #1a3260;
  --navy-light: #243d72;
  --gold: #c09a2f;
  --gold-light: #e2bb50;
  --gold-pale: #f5edd5;
  --white: #ffffff;
  --warm-white: #faf9f7;
  --gray-100: #f2f0ec;
  --gray-200: #e5e2db;
  --gray-300: #ccc8c0;
  --gray-500: #8c8880;
  --gray-700: #4a4844;
  --dark: #0d0d0b;
  --text: #1c1b19;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.22s 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(--text);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  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(--gold);
  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(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  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(--gold-light);
  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-serif);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  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(--gold);
  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(--gold);
  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;
  gap: 10px;
  flex-shrink: 0;
}

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

.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);
  height: min(700px, calc(100vh - 150px));
  min-height: min(700px, calc(100vh - 150px));
  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;
}

.hero-left {
  display: flex;
  align-items: center;
  padding: 36px 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(--gold);
  margin-bottom: 18px;
  padding: 5px 12px;
  background: var(--gold-pale);
  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(--gold);
  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(--gold);
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 0;
}

.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%;
  min-height: 0;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 6s ease;
}

/* ============================================================
   TRUST / STATS BAR
   ============================================================ */
.trust-bar {
  background: var(--warm-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-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  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);
}

.gold-rule {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  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;
}

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  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: 64px 56px;
  background: var(--warm-white);
}

.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(--gold);
  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);
}

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

.result-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.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(--gold);
  color: var(--navy);
  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: 22px;
}

.result-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.result-address {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

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

.result-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  gap: 16px;
}

/* ============================================================
   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(--gold);
  flex-shrink: 0;
}

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

.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.primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ============================================================
   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(--gold-dark);
  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(--gold);
  opacity: 0.18;
  font-family: var(--font-serif);
  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(--gold);
  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(--gold);
  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(--text);
  line-height: 1.55;
}

.benefit-check {
  color: var(--gold);
  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(--text);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  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;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

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

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

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

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 0 22px 0;
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 0.975rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 600px;
}

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

/* ============================================================
   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 {
  height: 100%;
  width: 100%;
  min-height: 420px;
}

.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-serif);
  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(--gold);
  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(--gold);
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-serif);
  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(--gold);
  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(--gold);
  transition: box-shadow var(--transition);
}

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

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

.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(--gold);
}

.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-serif);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold);
}

.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(--gold);
  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(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--gray-200);
  margin: 28px 0 0;
}

.about-highlights div {
  background: white;
  padding: 18px;
}

.about-highlights strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--gold);
  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(--gold);
  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(--gold);
  position: absolute;
  left: 4px;
  top: 19px;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  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(--gold);
  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-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(--gold);
}

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

.footer-brand-lic {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--gold);
  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(--gold);
  color: var(--navy);
  border-color: var(--gold);
  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(--gold);
  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(--gold);
  color: var(--gold);
}

.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);
  display: flex;
  justify-content: space-between;
  align-items: 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(--gold);
}

/* ============================================================
   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(--gold);
}

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

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

/* ============================================================
   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(--gold);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  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 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: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  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(--warm-white);
  }

  .hero-right {
    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);
  }
}

/* ============================================================
   RESPONSIVE - 768px
   ============================================================ */
@media (max-width: 768px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .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);
  }

  .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(--gold);
    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(--gold) !important;
  }

  .sticky-cta {
    display: flex;
  }

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

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

  .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-highlights,
  .about-story-grid {
    grid-template-columns: 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;
  }

  .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.78rem;
    line-height: 1.45;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
  }
}
