/* ============================================================
   ESTATEEDGE — Premium Real Estate Theme v1.0
   Design: Dark #0a0f1a · Gold #c9a96e · White #ffffff
   Typography: Cinzel (headings) + Josefin Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Josefin+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:             #0a0f1a;
  --bg-surface:     #0d1424;
  --bg-card:        #111827;
  --bg-card-h:      #16202f;

  --gold:           #c9a96e;
  --gold-light:     #e0c490;
  --gold-dark:      #a8834a;
  --gold-glow:      rgba(201,169,110,0.18);
  --gold-glow-sm:   rgba(201,169,110,0.08);

  --white:          #ffffff;
  --text-muted:     rgba(255,255,255,0.62);
  --text-dim:       rgba(255,255,255,0.35);

  --border:         rgba(201,169,110,0.22);
  --border-subtle:  rgba(255,255,255,0.07);

  --status-sale:    #c9a96e;
  --status-rent:    #6ea8c9;
  --status-sold:    #6b7280;

  --font-serif: 'Cinzel', 'Georgia', serif;
  --font-sans:  'Josefin Sans', -apple-system, system-ui, sans-serif;

  --nav-h:      84px;
  --max-w:      1320px;
  --section-py: 110px;

  --shadow-gold: 0 8px 40px rgba(201,169,110,0.22);
  --shadow-deep: 0 24px 64px rgba(0,0,0,0.6);
  --r:           2px;

  --ease:  cubic-bezier(0.4,0,0.2,1);
  --t:     0.3s;
  --t-slow:0.55s;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans) !important;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--white) !important;
  background: var(--bg) !important;
  background-color: #0a0f1a !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.gold-line.center { margin-inline: auto; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.section { padding-block: var(--section-py); }
.section-alt { background: var(--bg-surface); }

.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-header.center .gold-line { margin-inline: auto; }

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 52ch;
  line-height: 1.8;
}
.section-header.center .section-sub { margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.6rem;
  border-radius: var(--r);
  transition: all var(--t) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201,169,110,0.36);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow-sm);
  transform: translateY(-2px);
}
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-sm { padding: 0.7rem 1.75rem; font-size: 0.65rem; }

/* ── Admin bar compensation ─────────────────────────────────── */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ── Navigation ─────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
#site-header.scrolled {
  background: rgba(10,15,26,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  flex-shrink: 0;
}
.site-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--t);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t) var(--ease);
}
.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.current-menu-item::after { width: 100%; }
.nav-cta { margin-left: 1rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(10,15,26,0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 3rem clamp(1.25rem,5vw,4rem);
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--white);
  padding-block: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn { margin-top: 2.5rem; align-self: flex-start; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1.04);
  transition: transform 8s ease;
  will-change: transform;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.8);
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,15,26,0.92) 0%,
    rgba(10,15,26,0.55) 55%,
    rgba(10,15,26,0.78) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,4rem);
  padding-top: var(--nav-h);
  width: 100%;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.06;
  max-width: 14ch;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-content h1 span { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  max-width: 44ch;
  margin-bottom: 3rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.5;
  pointer-events: none;
}
.hero-scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100%{ opacity:0.4; transform:scaleY(1); }
  50%    { opacity:1;   transform:scaleY(0.45); }
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-surface);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.6);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,26,0.95) 0%, rgba(10,15,26,0.4) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem,5vw,4rem);
  width: 100%;
}
.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
}

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  background: var(--border-subtle);
  align-self: stretch;
}

/* ── Property Cards ─────────────────────────────────────────── */
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
  position: relative;
}
.property-card:hover {
  border-color: var(--border);
  transform: translateY(-5px);
  box-shadow: var(--shadow-deep);
}
.property-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.property-card:hover .property-img img { transform: scale(1.05); }
.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 1px;
  z-index: 1;
}
.badge-sale  { background: var(--gold); color: var(--bg); }
.badge-rent  { background: var(--status-rent); color: var(--bg); }
.badge-sold  { background: var(--status-sold); color: var(--white); }

.property-body { padding: 1.75rem; }
.property-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.property-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.property-address svg { stroke: var(--gold); flex-shrink: 0; }
.property-meta {
  display: flex;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}
.property-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.property-meta-item svg { stroke: var(--gold); opacity: 0.8; flex-shrink: 0; }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ── Filter Bar ─────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7rem 1.75rem;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t) var(--ease);
  border-radius: 1px;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* ── Single Listing ─────────────────────────────────────────── */
.listing-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  overflow: hidden;
}
.listing-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}
.listing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,26,1) 0%, transparent 60%);
}
.listing-hero-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 3rem clamp(1.25rem,5vw,4rem);
  max-width: var(--max-w);
  margin-inline: auto;
}
.listing-price-hero {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.listing-address-hero {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}
.listing-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.listing-specs {
  display: flex;
  gap: 2.5rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.listing-spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.listing-spec-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}
.listing-spec-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.listing-desc h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.listing-desc p {
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: opacity var(--t);
}
.gallery-grid img:hover { opacity: 0.8; cursor: zoom-in; }
.gallery-grid .gallery-item-wide { grid-column: span 2; }
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.feature-item svg { stroke: var(--gold); flex-shrink: 0; }
.map-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-top: 2rem;
}
.map-placeholder svg { stroke: var(--gold); width: 32px; height: 32px; }
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1) contrast(0.9);
}

/* ── Contact / Agent Sidebar ────────────────────────────────── */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}
.agent-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.agent-mini-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.agent-mini-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}
.agent-mini-role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color var(--t);
  border-radius: 1px;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--text-dim); }
.form-input option { background: var(--bg-card); }
textarea.form-input { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem;
  transition: border-color var(--t), transform var(--t-slow);
}
.testimonial-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}
.stars svg { width: 14px; height: 14px; fill: var(--gold); stroke: none; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.testimonial-name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 500;
}
.testimonial-role {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── About Preview ──────────────────────────────────────────── */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-preview-img {
  position: relative;
}
.about-preview-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.about-preview-img::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid var(--border);
  z-index: -1;
}
.about-stat {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--bg);
  padding: 1.25rem 1.75rem;
  text-align: center;
}
.about-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.25rem;
}
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1.5rem; }
.about-text p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ── Agent / Team ───────────────────────────────────────────── */
.agent-profile-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: start;
}
.agent-photo {
  position: relative;
}
.agent-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.agent-photo-border {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--border);
  z-index: -1;
}
.agent-info h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 0.5rem; }
.agent-title {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.agent-info p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.credential {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.credential svg { stroke: var(--gold); flex-shrink: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card { text-align: center; }
.team-card-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.team-card-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  filter: grayscale(0.2);
  transition: filter var(--t), transform var(--t-slow);
}
.team-card:hover .team-card-img img {
  filter: grayscale(0);
  transform: scale(1.04);
}
.team-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--t);
}
.team-card:hover .team-card-img::after { border-color: var(--gold); }
.team-name { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; margin-bottom: 0.3rem; }
.team-role { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* ── Why Choose Us ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem 1.75rem;
  transition: border-color var(--t), transform var(--t-slow);
}
.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.why-icon {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  fill: none;
  margin-bottom: 1.25rem;
}
.why-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.why-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; font-weight: 300; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.08) 0%, transparent 70%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.cta-banner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}
.contact-info-block { margin-bottom: 2.5rem; }
.contact-info-block h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}
.contact-detail svg { stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-detail a { color: var(--text-muted); transition: color var(--t); }
.contact-detail a:hover { color: var(--gold); }

.valuation-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
}
.valuation-box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.valuation-box p {
  color: var(--text-muted);
  font-weight: 300;
  max-width: 44ch;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* ── Footer ─────────────────────────────────────────────────── */
#site-footer {
  background: #070c16;
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-brand .site-logo { font-size: 1.35rem; margin-bottom: 1.25rem; display: block; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 28ch;
  margin-bottom: 1.75rem;
}
.footer-socials { display: flex; gap: 0.85rem; }
.footer-social {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t), background var(--t);
}
.footer-social:hover { border-color: var(--gold); background: var(--gold-glow-sm); }
.footer-social svg { stroke: var(--text-muted); width: 15px; height: 15px; transition: stroke var(--t); }
.footer-social:hover svg { stroke: var(--gold); }
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}
.footer-contact-item svg { stroke: var(--gold); flex-shrink: 0; width: 14px; height: 14px; margin-top: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.75rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--text-dim); transition: color var(--t); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  .hero-bg { transition:none; }
  .hero-scroll-line { animation:none; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .agent-profile-grid { grid-template-columns: 360px 1fr; gap: 4rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --section-py: 80px; }
  .listings-grid,
  .featured-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 2fr); gap: 1.5rem; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 4rem; max-width: 560px; margin-inline: auto; }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-specs { flex-wrap: wrap; gap: 1.5rem; }
  .sidebar-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .agent-profile-grid { grid-template-columns: 1fr; max-width: 540px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-py: 64px; --nav-h: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .listings-grid,
  .featured-grid,
  .testimonials-grid,
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-wide { grid-column: span 1; }
  .features-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.4rem; }
  .listing-specs { justify-content: center; }
}
