/* ============================================
   Jessica REAL ESTATE
   Luxury Real Estate Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy: #0d1b2a;
  --navy-light: #1a2d45;
  --navy-mid: #152236;
  --gold: #c9a84c;
  --gold-light: #dfc07a;
  --gold-pale: #f5efe0;
  --cream: #f8f4ec;
  --cream-dark: #ede8dc;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #444444;
  --text-light: #888888;
  --border: rgba(201,168,76,0.25);

  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
.display-title {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* ==============================
   NAVIGATION
============================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
#navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}
.nav-logo-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-phone {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-left: 12px;
  white-space: nowrap;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 0;
  bottom: 0;
  width: 300px;
  background: var(--navy);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.3);
}
#mobile-menu.open {
  display: block;
  transform: translateX(0);
}
#mobile-menu a {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
#mobile-menu a:hover { color: var(--gold); padding-left: 8px; }
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}

/* ==============================
   HERO SECTIONS
============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2d45 50%, #0d1b2a 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.5) 0%, rgba(13,27,42,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
}
.hero-content .hero-sub {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 32px;
  font-weight: 500;
}
.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}

/* Page hero (shorter) */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  padding-top: 70px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,0.4) 0%, rgba(13,27,42,0.75) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  width: 100%;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==============================
   BUTTONS
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: 3px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* ==============================
   PROPERTY CARDS
============================== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.listings-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.listings-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.property-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.property-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--cream-dark);
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .property-card-img img {
  transform: scale(1.04);
}
.property-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  color: var(--text-light);
  font-size: 48px;
}
.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
}
.badge-sale { background: var(--gold); color: var(--navy); }
.badge-contract { background: var(--navy); color: var(--white); }
.badge-sold { background: #c0392b; color: var(--white); }
.badge-new { background: #27ae60; color: var(--white); }

.property-card-body {
  padding: 20px 22px;
  background: var(--cream);
}
.property-card-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.property-card-address {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.property-card-city {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.property-card-details {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
}
.property-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.property-detail span.label {
  font-weight: 400;
  color: var(--text-light);
}

/* ==============================
   HOME SEARCH
============================== */
.search-bar {
  background: var(--white);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  background: transparent;
  color: var(--text-dark);
}
.search-bar input::placeholder { color: var(--text-light); }
.search-bar .btn { white-space: nowrap; flex-shrink: 0; }

/* Filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 16px 0;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-select {
  appearance: none;
  border: 1.5px solid var(--cream-dark);
  border-radius: 3px;
  padding: 10px 36px 10px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23444' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.filter-select:focus {
  outline: none;
  border-color: var(--gold);
}

/* ==============================
   FEATURED SECTION
============================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.section-header .divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto;
}
.section-header p {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==============================
   ABOUT SECTION / MEET Jessica
============================== */
.meet-section {
  background: var(--cream);
}
.meet-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}
.meet-photo {
  position: relative;
}
.meet-photo img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.meet-photo::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}
.meet-content h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.meet-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}
.meet-card {
  background: var(--navy);
  color: var(--white);
  padding: 28px 32px;
  border-radius: 4px;
  margin-top: 32px;
}
.meet-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.meet-card-title {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.meet-card-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.meet-card-detail-label {
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-size: 9px;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
.meet-card-detail-val {
  color: var(--white);
  font-weight: 600;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ==============================
   TESTIMONIALS
============================== */
.testimonials-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 400px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}
.testimonials-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials-content {
  position: relative;
  z-index: 1;
}
.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}
.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.testimonial-nav {
  display: flex;
  gap: 8px;
}
.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
}
.testimonial-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 24px;
  max-width: 700px;
}
.testimonial-author {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ==============================
   VIDEO / CTA SECTIONS
============================== */
.cta-section {
  background: var(--navy);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-text {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

/* Work with section (street photo bg) */
.work-with-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.work-with-bg {
  position: absolute;
  inset: 0;
}
.work-with-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.work-with-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 560px;
  margin: 0 auto;
}
.work-with-content h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.work-with-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ==============================
   NEIGHBORHOODS GRID
============================== */
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.neighborhood-card {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: pointer;
}
.neighborhood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.neighborhood-card:hover img { transform: scale(1.06); }
.neighborhood-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: var(--transition);
}
.neighborhood-card:hover .neighborhood-card-overlay {
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.3) 100%);
}
.neighborhood-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==============================
   CONTACT / FORM
============================== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.contact-info {
  background: var(--navy);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.contact-info-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}
.contact-info-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-info-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-detail-val {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.contact-form {
  background: var(--white);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--cream-dark);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  background: transparent;
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-bottom-color: var(--gold); }
.form-textarea {
  resize: none;
  min-height: 100px;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 11px;
  color: var(--text-mid);
  line-height: 1.5;
}
.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--gold);
}

/* ==============================
   FOOTER
============================== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 280px;
  color: rgba(255,255,255,0.55);
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item i {
  color: var(--gold);
  width: 16px;
}
.footer-contact-item a {
  color: inherit;
  transition: var(--transition);
}
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-legal {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.footer-legal a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--gold); }
.footer-legal-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-legal-links span { color: rgba(255,255,255,0.2); margin: 0 4px; }
.footer-partner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.footer-vp-logo {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

/* ==============================
   HOME SEARCH PAGE
============================== */
.search-page-layout {
  display: grid;
  grid-template-columns: 680px 1fr;
  height: calc(100vh - 70px);
  margin-top: 70px;
}
.search-results-panel {
  overflow-y: auto;
  padding: 24px;
  background: var(--white);
}
.search-map-panel {
  position: sticky;
  top: 0;
  height: calc(100vh - 70px);
  background: var(--cream-dark);
}
#map {
  width: 100%;
  height: 100%;
}
.search-top-bar {
  background: var(--white);
  border-bottom: 1.5px solid var(--cream-dark);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.results-count {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
}
.search-listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ==============================
   VALUATION PAGE
============================== */
.valuation-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}
.valuation-step {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
}
.step-num.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.step-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-light);
}
.step-label.active { color: var(--gold); }
.step-divider {
  width: 60px;
  height: 1px;
  background: var(--cream-dark);
  margin: 0 8px;
}
.address-search-big {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: 4px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.address-search-big:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.1);
}
.address-search-big input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
}
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.info-card {
  border: 1.5px solid var(--cream-dark);
  border-radius: 4px;
  padding: 32px;
  transition: var(--transition);
}
.info-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
}
.info-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ==============================
   BLOG / RESOURCES
============================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--cream-dark);
}
.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.05); }
.blog-card-body {
  padding: 24px;
  background: var(--white);
}
.blog-card-date {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ==============================
   MORTGAGE CALCULATOR
============================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.calc-result {
  background: var(--navy);
  border-radius: 4px;
  padding: 40px;
  color: var(--white);
  position: sticky;
  top: 100px;
}
.calc-monthly {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.calc-monthly-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.calc-breakdown-label { color: rgba(255,255,255,0.6); }
.calc-breakdown-val { color: var(--white); font-weight: 600; }

/* ==============================
   GUIDES
============================== */
.guide-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.guide-block {
  padding: 80px 64px;
}
.guide-block.buyer { background: var(--cream); }
.guide-block.seller { background: var(--navy); }
.guide-block.seller h2,
.guide-block.seller p,
.guide-block.seller li { color: var(--white) !important; }
.guide-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.guide-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.guide-step-num {
  counter-increment: step;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.guide-step-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-body);
}
.guide-step-text p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ==============================
   VLOG
============================== */
.vlog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vlog-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}
.vlog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.vlog-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #000;
}
.vlog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition);
}
.vlog-card:hover .vlog-thumb img { opacity: 0.6; }
.vlog-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vlog-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201,168,76,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 20px;
  transition: var(--transition);
}
.vlog-card:hover .vlog-play-btn {
  transform: scale(1.1);
  background: var(--gold);
}
.vlog-body {
  padding: 20px;
}
.vlog-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
}
.vlog-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ==============================
   UTILITIES
============================== */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-white { background: var(--white); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ==============================
   PAGINATION
============================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.page-btn:hover, .page-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.page-btn.arrow {
  font-size: 16px;
  color: var(--text-light);
}

/* ==============================
   LOADING / SKELETON
============================== */
.skeleton {
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ==============================
   EMAIL SIGNUP
============================== */
.email-signup {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}
.email-signup h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.email-signup p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}
.email-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.email-form input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.email-form .btn {
  border-radius: 0;
  padding: 16px 28px;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .meet-grid { grid-template-columns: 1fr; gap: 48px; }
  .meet-photo::before { display: none; }
  .search-page-layout { grid-template-columns: 1fr; height: auto; }
  .search-map-panel { height: 400px; position: relative; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .listings-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .neighborhoods-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .vlog-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: relative; top: 0; }
  .contact-split { grid-template-columns: 1fr; }
  .guide-section { grid-template-columns: 1fr; }
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .listings-grid, .listings-grid-2, .listings-grid-3 { grid-template-columns: 1fr; }
  .neighborhoods-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .vlog-grid { grid-template-columns: 1fr; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .search-listings-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 40px 24px; }
  .guide-block { padding: 48px 24px; }
  .meet-card-details { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .valuation-steps { gap: 0; }
  .step-label { display: none; }
  .nav-phone { display: none; }
}

/* ==========================================================================
   INTERSECTION OBSERVER VISUAL TRIGGERS
   Controls dynamic viewport reveal animations asynchronously via main.js
   ========================================================================== */
.fade-up {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: none !important;
}

.fade-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-up-delay-1 { transition-delay: 0.1s !important; }
.fade-up-delay-2 { transition-delay: 0.2s !important; }
.fade-up-delay-3 { transition-delay: 0.3s !important; }