/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --navy: #1A1A2E;
  --navy-mid: #252540;
  --navy-light: #2D2D4E;
  --white: #FFFFFF;
  --warm-white: #FAFAF8;
  --gold: #C4956A;
  --gold-light: #D4AB8A;
  --gold-dark: #A97A52;
  --text-dark: #1A1A2E;
  --text-mid: #6B7280;
  --text-light: #9CA3AF;
  --border: #E8C5A0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --container: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
button { cursor: pointer; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { line-height: 1.7; color: var(--text-mid); }

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 620px;
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}
.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

/* ===========================
   HEADER / NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}
.site-logo .logo-tagline {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(196, 149, 106, 0.1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.header-phone:hover { color: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://placehold.co/1920x1080/1A1A2E/252540?text=');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.6) 60%, rgba(26,26,46,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,149,106,0.15);
  border: 1px solid rgba(196,149,106,0.4);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(250,250,248,0.8);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ===========================
   SOCIAL PROOF BAR
   =========================== */
.social-proof-bar {
  background: var(--gold);
  padding: 1rem 0;
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.proof-divider {
  width: 1px;
  height: 20px;
  background: rgba(26,26,46,0.25);
}

/* ===========================
   LISTINGS GRID
   =========================== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.listing-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.listing-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.listing-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.listing-badge.featured {
  background: var(--gold);
  color: var(--navy);
}
.listing-badge.new {
  background: #22c55e;
  color: white;
}
.listing-badge.luxury {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold);
}

.listing-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(26,26,46,0.85);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.listing-body {
  padding: 1.4rem;
}

.listing-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.listing-address {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.listing-city {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.9rem;
}

.listing-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.listing-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.listing-meta svg {
  color: var(--gold);
}

/* ===========================
   SOLD LISTINGS
   =========================== */
.sold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.sold-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.sold-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sold-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.sold-stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #e53e3e;
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  transform: rotate(-8deg);
}

.sold-address {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.sold-city {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}
.sold-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}
.sold-dom {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

/* ===========================
   NEIGHBOURHOOD CARDS
   =========================== */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.neighbourhood-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

.neighbourhood-card:hover img {
  transform: scale(1.06);
}

.neighbourhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: all var(--transition);
}

.neighbourhood-card:hover .neighbourhood-overlay {
  background: linear-gradient(to top, rgba(26,26,46,0.98) 0%, rgba(26,26,46,0.4) 60%);
}

.neighbourhood-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.neighbourhood-tagline {
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.neighbourhood-price {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.neighbourhood-cta {
  display: none;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  align-items: center;
  gap: 0.35rem;
}

.neighbourhood-card:hover .neighbourhood-cta {
  display: flex;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-bg {
  background: var(--navy);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(196,149,106,0.3);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-text {
  color: rgba(250,250,248,0.85);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-location {
  font-size: 0.78rem;
  color: var(--gold);
}

/* ===========================
   PROCESS STEPS
   =========================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--warm-white);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-title {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===========================
   STATS BAR
   =========================== */
.stats-section {
  background: var(--warm-white);
  padding: 4rem 0;
}

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

.stat-item {}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-num span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ===========================
   FORMS
   =========================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,149,106,0.15);
}

.form-control.error {
  border-color: #e53e3e;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2em;
  padding-right: 2.5rem;
}

.form-error {
  color: #e53e3e;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control { border-color: #e53e3e; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-thanks {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-thanks.show { display: block; }

.thanks-icon {
  width: 64px;
  height: 64px;
  background: rgba(34,197,94,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #22c55e;
  font-size: 1.8rem;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,149,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(250,250,248,0.75);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}
.footer-brand .logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-brand .logo-tagline {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  max-width: 500px;
  text-align: right;
}

/* ===========================
   STICKY MOBILE BAR
   =========================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 0.75rem 1rem;
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.mobile-sticky-call {
  background: var(--gold);
  color: var(--navy);
}

.mobile-sticky-value {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ===========================
   EXIT INTENT POPUP
   =========================== */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.exit-popup-overlay.show {
  display: flex;
}

.exit-popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  position: relative;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  border: none;
  font-size: 1.2rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition);
}
.popup-close:hover {
  background: var(--navy);
  color: var(--white);
}

.popup-top {
  background: var(--navy);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
}

.popup-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.popup-top h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.popup-top p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.popup-body {
  padding: 1.75rem 2rem;
}

.popup-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.popup-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.35rem 0;
}

.popup-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.popup-form {
  display: flex;
  gap: 0.75rem;
}

.popup-form .form-control {
  flex: 1;
}

.popup-skip {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 1rem;
  cursor: pointer;
  transition: color var(--transition);
}
.popup-skip:hover { color: var(--navy); }

/* ===========================
   MLS SEARCH FILTERS
   =========================== */
.search-filters {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.filters-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* ===========================
   VALUATION SECTION
   =========================== */
.valuation-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0;
}

.valuation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.valuation-card h3 {
  margin-bottom: 0.5rem;
}

.valuation-card > p {
  margin-bottom: 2rem;
}

/* ===========================
   BLOG CARDS
   =========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

.blog-body {
  padding: 1.5rem;
}

.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===========================
   ABOUT PAGE
   =========================== */
.about-hero {
  background: var(--warm-white);
  padding: 5rem 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.about-headshot {
  position: relative;
}

.headshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headshot-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  white-space: nowrap;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.headshot-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
}

.headshot-badge span {
  font-size: 0.78rem;
  color: var(--gold);
}

.about-content {
  padding-top: 1rem;
}

.about-content .section-label { margin-bottom: 0.5rem; }

.about-bio p {
  margin-bottom: 1rem;
  font-size: 0.97rem;
  line-height: 1.8;
}

.about-highlights {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.highlight-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(196,149,106,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-text strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-text span, .contact-text a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.contact-text a:hover { color: var(--gold); }

.map-placeholder {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  aspect-ratio: 16/10;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,149,106,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(250,250,248,0.75);
  font-size: 1.1rem;
}

/* ===========================
   MARKET STATS
   =========================== */
.market-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.market-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
}

.market-stat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.market-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.market-stat-label {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
}

.market-stat-change {
  font-size: 0.78rem;
  margin-top: 0.35rem;
  font-weight: 600;
}

.market-stat-change.up { color: #22c55e; }
.market-stat-change.down { color: #e53e3e; }

/* ===========================
   LEAD MAGNET SECTION
   =========================== */
.lead-magnet {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  border: 1px solid var(--border);
}

.lead-magnet-visual {
  position: relative;
}

.lead-magnet-visual img {
  border-radius: var(--radius);
  width: 100%;
}

.lead-magnet h3 {
  margin-bottom: 0.75rem;
}

.lead-magnet p {
  margin-bottom: 1.5rem;
}

.lead-magnet-list {
  margin-bottom: 2rem;
}

.lead-magnet-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.35rem 0;
}

.lead-magnet-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-headshot {
    max-width: 360px;
    margin: 0 auto;
  }

  .lead-magnet {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  section { padding: 3.5rem 0; }

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

  .header-cta .btn { display: none; }

  .hamburger { display: flex; }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--navy);
    z-index: 999;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
  }

  .mobile-menu.open { display: flex; }

  .mobile-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: block;
    font-weight: 500;
  }

  .mobile-menu a.active,
  .mobile-menu a:hover { color: var(--gold); }

  .mobile-menu .mobile-phone {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: none;
  }

  .mobile-sticky-bar { display: block; }

  body { padding-bottom: 80px; }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer { text-align: center; }

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

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

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

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

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .proof-items {
    gap: 1rem;
  }

  .proof-divider { display: none; }
}
