/*
Theme Name: Rani Realty CA
Theme URI: https://ranirealtyca.com
Author: Rani Realty
Author URI: https://ranirealtyca.com
Description: A clean, modern WordPress theme for Lakshmi "Rani" Kapoor — Southern California real estate professional with Alta Realty Group. White and blue design with property listings, maps, and blog.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: rani-realty
Tags: real-estate, blue, white, modern, listings, blog
*/

:root {
  --blue: #0062cc;
  --blue-dark: #0051a8;
  --blue-light: #e8f1ff;
  --blue-pale: #f4f8ff;
  --navy: #1a2b4c;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #767676;
  --gray-300: #d8d8d8;
  --gray-200: #ebebeb;
  --gray-100: #f5f7fa;
  --white: #ffffff;
  --green: #00a651;
  --red: #d93025;
  --orange: #ff8c00;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--gray-900);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }

/* NAV */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 32px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-sm);
}
.brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.brand-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}
.brand:hover { color: var(--blue); }
.nav-links {
  display: flex; gap: 8px; align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-links li.current-menu-item a { color: var(--blue); background: var(--blue-light); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: var(--white) !important; }

/* HERO */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 98, 204, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero h1 span { color: var(--blue); }
.hero p.lead {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 32px;
  max-width: 500px;
}

/* SEARCH BAR */
.hero-search {
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 8px;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-search input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.hero-search button {
  background: var(--blue);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.hero-search button:hover { background: var(--blue-dark); }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); color: white; }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-light); }

/* PORTRAIT */
.hero-portrait {
  position: relative;
}
.portrait-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.portrait-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}
.portrait-image img { width: 100%; height: 100%; object-fit: cover; }
.portrait-info {
  padding: 24px;
}
.portrait-info .name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.portrait-info .role {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.portrait-info .dre {
  display: inline-block;
  font-size: 12px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

/* STATS BAR */
.stats-bar {
  background: var(--white);
  padding: 0 32px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  box-shadow: var(--shadow-md);
}
.stat-item {
  text-align: center;
  border-right: 1px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* SECTIONS */
section { padding: 80px 32px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 17px;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* LISTINGS GRID (Zillow style) */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.listing-image {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.listing-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.listing-card:hover .listing-image img { transform: scale(1.05); }
.listing-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.listing-status {
  position: absolute; top: 12px; left: 12px;
  background: var(--green);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}
.listing-status.pending { background: var(--orange); }
.listing-status.sold { background: var(--red); }
.listing-status.coming-soon { background: var(--blue); }
.listing-favorite {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.listing-favorite:hover { background: white; transform: scale(1.1); }
.listing-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.listing-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.listing-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}
.listing-specs span { display: inline-flex; align-items: center; gap: 4px; }
.listing-specs strong { color: var(--navy); font-weight: 700; }
.listing-address {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.4;
  margin-bottom: 12px;
}
.listing-address strong { color: var(--navy); display: block; font-size: 15px; }
.listing-meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 12px;
  color: var(--gray-500);
}
.listing-type-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* FILTER TABS */
.listings-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--gray-100);
  border-radius: 12px;
  align-items: center;
}
.listings-filter .filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-right: 8px;
}
.listings-filter a.filter-tab {
  padding: 8px 16px;
  background: var(--white);
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid var(--gray-200);
}
.listings-filter a.filter-tab:hover {
  background: var(--blue-light);
  color: var(--blue);
  border-color: var(--blue);
}
.listings-filter a.filter-tab.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* SINGLE LISTING */
.listing-hero {
  background: var(--white);
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-200);
}
.listing-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--blue); }
.listing-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: end;
}
.listing-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.listing-hero .city {
  color: var(--gray-700);
  font-size: 16px;
  margin-bottom: 12px;
}
.listing-hero-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  text-align: right;
}
.listing-hero-status {
  text-align: right;
  margin-bottom: 8px;
}
.listing-hero-status .badge {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.listing-gallery {
  background: var(--gray-100);
  padding: 32px;
}
.listing-gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.listing-main-image {
  aspect-ratio: 16/9;
  background: var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}
.listing-main-image img { width: 100%; height: 100%; object-fit: cover; }

.listing-body {
  padding: 48px 32px;
}
.listing-body-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.specs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.spec-item {
  background: var(--white);
  padding: 20px 16px;
  text-align: center;
}
.spec-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.spec-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.listing-section {
  margin-bottom: 32px;
}
.listing-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
}
.listing-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 16px;
}

/* MAP */
.listing-map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.listings-archive-map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
}
.leaflet-popup-content {
  font-family: 'Inter', sans-serif !important;
  margin: 12px !important;
}
.leaflet-popup-content .popup-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.leaflet-popup-content .popup-address {
  font-size: 13px;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.leaflet-popup-content .popup-link {
  display: inline-block;
  background: var(--blue);
  color: white !important;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* AGENT SIDEBAR */
.agent-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}
.agent-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.agent-avatar {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.agent-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.agent-title {
  font-size: 13px;
  color: var(--gray-500);
}
.agent-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.agent-card .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-bottom: 8px;
}
.agent-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* PAGE HERO (about/blog) */
.page-hero {
  padding: 60px 32px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 17px;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto;
}

/* ABOUT */
.about-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-700);
}
.about-content p { margin-bottom: 20px; }
.about-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--blue-pale);
  border-radius: 12px;
  padding: 28px;
}
.value-card .num {
  display: inline-block;
  width: 36px; height: 36px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* BLOG POSTS */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: flex; flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.post-card-image {
  aspect-ratio: 16/10;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  overflow: hidden;
}
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta {
  display: flex; gap: 12px;
  font-size: 12px;
  margin-bottom: 12px;
}
.post-category {
  background: var(--blue-light);
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.post-date { color: var(--gray-500); }
.post-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.post-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-top: auto;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  text-align: center;
  padding: 64px 32px;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: 17px;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary {
  background: white;
  color: var(--blue);
}
.cta-band .btn-primary:hover { background: var(--blue-light); }

/* FOOTER */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 60px 32px 24px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-block .footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.footer-tag {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* PAGINATION */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 40px;
}
.pagination .page-numbers {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav.site-nav { padding: 12px 16px; }
  .nav-links { gap: 4px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 48px 16px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 48px 16px; }
  .stats-bar { padding: 0 16px; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; padding: 24px; gap: 16px; }
  .stat-item { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .listing-body-grid { grid-template-columns: 1fr; }
  .listing-hero-grid { grid-template-columns: 1fr; }
  .listing-hero-price, .listing-hero-status { text-align: left; }
  .agent-card { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
