/* ============================================================
   ELITE COLLECTIVE REALTY — Master Stylesheet
   Brand: Navy #1B2A4A | Gold #C4A35A | Cream #F7F5F0
   Typography: Cormorant Garamond (display) + Lato (body)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #1B2A4A;
  --navy-dark: #0F1A2E;
  --navy-light: #2C4A6E;
  --gold: #C4A35A;
  --gold-light: #D4B96A;
  --gold-dark: #A8893E;
  --cream: #F7F5F0;
  --cream-dark: #EDE9E0;
  --white: #FFFFFF;
  --charcoal: #3A3632;
  --taupe: #8B7D6B;
  --text-dark: #1B2A4A;
  --text-light: #F7F5F0;
  --text-muted: #6B7B8D;
  --border-light: rgba(196, 163, 90, 0.2);
  --border-gold: rgba(196, 163, 90, 0.4);
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 4px 20px rgba(27, 42, 74, 0.10);
  --shadow-lg: 0 8px 40px rgba(27, 42, 74, 0.14);
  --shadow-gold: 0 4px 20px rgba(196, 163, 90, 0.15);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1280px;
  --section-padding: 100px 0;
  --section-padding-sm: 60px 0;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.1rem; font-family: 'Lato', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); }

p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; line-height: 1.8; color: var(--text-muted); }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title { margin-bottom: 1.5rem; }

.gold-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.gold-line-center {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: var(--section-padding); }
.section-sm { padding: var(--section-padding-sm); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 16px 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.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(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark: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);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 50px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(27, 42, 74, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.logo-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-links .btn {
  padding: 10px 28px;
  font-size: 0.7rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--white);
}

.mobile-nav-close {
  position: absolute;
  top: 30px; right: 40px;
  background: none; border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 46, 0.55) 0%,
    rgba(27, 42, 74, 0.70) 60%,
    rgba(15, 26, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 40px;
}

.hero-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-page {
  height: 50vh;
  min-height: 400px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 50px 0;
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(196, 163, 90, 0.2);
  margin: 0 auto;
}

/* ============================================================
   PROPERTY SEARCH BAR
   ============================================================ */
.search-bar {
  background: var(--white);
  padding: 20px 30px;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 700px;
  margin: -30px auto 0;
  position: relative;
  z-index: 10;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 12px 0;
  background: transparent;
}

.search-bar input::placeholder { color: var(--taupe); }

.search-bar .btn {
  padding: 12px 30px;
  white-space: nowrap;
}

/* ============================================================
   FEATURED LISTINGS
   ============================================================ */
.listing-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.listing-img {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.listing-img img,
.listing-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.listing-card:hover .listing-img img,
.listing-card:hover .listing-img-placeholder {
  transform: scale(1.05);
}

.listing-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.6);
}

.listing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  background: var(--navy);
}

.listing-info {
  padding: 24px 28px;
}

.listing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}

.listing-address {
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.listing-area {
  font-size: 0.75rem;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.listing-details {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}

.listing-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.listing-detail strong {
  font-weight: 600;
  color: var(--charcoal);
  margin-right: 3px;
}

/* ============================================================
   NEIGHBORHOOD CARDS
   ============================================================ */
.neighborhood-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.neighborhood-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
}

.neighborhood-card:hover .neighborhood-card-bg {
  transform: scale(1.08);
}

.neighborhood-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,26,46,0.85) 0%, rgba(15,26,46,0.15) 60%);
  transition: var(--transition);
}

.neighborhood-card:hover .neighborhood-card-overlay {
  background: linear-gradient(0deg, rgba(15,26,46,0.90) 0%, rgba(15,26,46,0.30) 60%);
}

.neighborhood-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.neighborhood-card h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 8px;
}

.neighborhood-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.neighborhood-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.neighborhood-card .explore-link {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.explore-link svg {
  transition: var(--transition);
}

.neighborhood-card:hover .explore-link svg {
  transform: translateX(4px);
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-card {
  text-align: center;
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-4px); }

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.team-photo img,
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--navy);
}

.team-card:hover .team-photo img,
.team-card:hover .team-photo-placeholder {
  transform: scale(1.03);
}

.team-card h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
}

.team-card .credentials {
  font-size: 0.8rem;
  color: var(--taupe);
}

/* ============================================================
   ABOUT / STORY SECTION
   ============================================================ */
.about-image {
  position: relative;
  overflow: hidden;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  z-index: -1;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.service-card {
  padding: 48px 36px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.service-card:hover::before { width: 100%; }

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
}

.service-card h4 { margin-bottom: 12px; }

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-section {
  background: var(--navy);
  padding: var(--section-padding);
  text-align: center;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

.testimonial-author {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ============================================================
   CTA / CONSULTATION SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 46, 0.80);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  max-width: 550px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ============================================================
   PRESS / SOCIAL PROOF BAR
   ============================================================ */
.press-bar {
  padding: 60px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}

.press-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.press-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--taupe);
  opacity: 0.6;
  transition: var(--transition);
}

.press-logo:hover { opacity: 1; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(196, 163, 90, 0.1);
}

.form-group textarea { min-height: 150px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-main {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.footer-brand .logo-sub {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.footer-col a:hover { color: var(--gold); }

.footer-newsletter p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }

.newsletter-form input:focus { border-color: var(--gold); }

.newsletter-form button {
  padding: 12px 20px;
  background: var(--gold);
  border: none;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--gold-dark); }

.footer-bottom {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.footer-contact-info {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-align: right;
}

.footer-contact-info a { color: var(--gold); }
.footer-contact-info a:hover { color: var(--gold-light); }

/* ============================================================
   DARK SECTION VARIANT
   ============================================================ */
.section-dark {
  background: var(--navy);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

.section-dark p { color: rgba(255,255,255,0.7); }

.section-cream {
  background: var(--cream);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s 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; }


/* ============================================================
   HERO VIDEO
   ============================================================ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews-carousel {
  position: relative;
  min-height: 220px;
}

.review-slide {
  display: none;
  animation: fadeInReview 0.6s ease;
}

.review-slide.active {
  display: block;
}

@keyframes fadeInReview {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-stars {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.review-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.review-nav-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.review-dots {
  display: flex;
  gap: 8px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.review-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}

.review-dot:hover {
  border-color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }
  html, body { overflow-x: hidden; }
  .container { padding: 0 20px; }
  .site-header { padding: 16px 20px; flex-wrap: wrap; }
  .logo { max-width: 70%; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { min-height: 70vh; padding: 80px 20px 60px; text-align: center; }
  .hero h1 { font-size: 38px !important; line-height: 1.15; letter-spacing: 2px; margin: 0 0 18px; }
  .hero p { font-size: 16px; margin: 0 0 28px; max-width: 100%; padding: 0 8px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 24px; }
  .hero-buttons .btn { width: 100%; padding: 14px 20px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 30px !important; line-height: 1.2; margin: 0 0 18px; padding: 0 16px; }
  .section p { font-size: 15px; padding: 0 8px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
  .stats-bar { padding: 36px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stat-number { font-size: 34px !important; }
  .stat-label { font-size: 11px; letter-spacing: 1.5px; }
  .search-bar { flex-direction: column; margin: -20px 16px 0 !important; padding: 16px; }
  .search-bar .btn { width: 100%; }
  .search-bar input, .search-bar select { width: 100%; }
  .testimonial-section { padding: 60px 20px; }
  .testimonial-quote { font-size: 20px !important; line-height: 1.5; margin: 0 0 24px !important; padding: 0; }
  .testimonial-author { font-size: 13px; }
  .press-bar { padding: 30px 16px; }
  .press-logos { flex-wrap: wrap; gap: 22px; justify-content: center; }
  .press-logos img, .press-logos span { max-width: 110px; }
  .cta-section { padding: 60px 20px; }
  .cta-section h2 { font-size: 30px !important; padding: 0; }
  .cta-section p { font-size: 15px; }
  .cta-section .btn { width: 100%; max-width: 320px; }
  .listing-img { height: 220px; }
  .neighborhood-card { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-contact-info { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .ecr-sw-bar { flex-direction: column; padding: 14px 16px; gap: 10px; text-align: center; font-size: 12px; }
  .ecr-sw-bar a, .ecr-sw-bar .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px !important; letter-spacing: 1px; }
  .hero p { font-size: 14px; }
  .section h2, .cta-section h2 { font-size: 26px !important; }
  .stat-number { font-size: 28px !important; }
  .testimonial-quote { font-size: 18px !important; }
  .stats-grid { grid-template-columns: 1fr; }
  .listing-img { height: 200px; }
  .neighborhood-card { height: 240px; }
  .site-header { padding: 12px 16px; }
  .container { padding: 0 16px; }
}
/*ECR_READABILITY_FIX*/
.fade-in{opacity:1!important;transform:none!important;}
.section-dark .stat-value{color:#C4A35A!important;font-family:'Cormorant Garamond',serif;font-size:48px;font-weight:400;letter-spacing:2px;line-height:1;}
.section-dark .stat-label{color:rgba(255,255,255,0.85)!important;}
@media (max-width:768px){.section-dark .stat-value{font-size:36px!important;}.section-dark .stat-label{font-size:11px;letter-spacing:1.5px;}}
/*ECR_HEADER_MOBILE_FIX*/
@media (max-width:768px){
  .site-header{background:rgba(27,42,74,0.96)!important;backdrop-filter:blur(6px);box-shadow:0 2px 12px rgba(0,0,0,0.25);padding:12px 16px!important;min-height:64px;align-items:center;}
  .logo{max-width:calc(100% - 56px);align-items:center;gap:10px;}
  .logo-img{width:38px!important;height:38px!important;flex:0 0 38px;}
  .logo-main{font-size:18px!important;letter-spacing:2px!important;line-height:1.1;}
  .logo-sub{font-size:9px!important;letter-spacing:1.2px!important;line-height:1.2;display:block;}
  .mobile-menu-btn{color:#C4A35A;font-size:24px;border:none;background:transparent;}
  .hero{padding:140px 20px 60px!important;}
}
@media (max-width:480px){
  .logo-main{font-size:16px!important;letter-spacing:1.5px!important;}
  .logo-sub{font-size:8px!important;}
  .hero{padding:130px 16px 50px!important;}
}
/*ECR_LOGO_SHOW_FIX*/
@media (max-width:768px){
  .site-header .logo{display:grid!important;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:2px;align-items:center;max-width:calc(100% - 56px);text-decoration:none;}
  .site-header .logo-img{grid-column:1;grid-row:1/3;width:40px!important;height:40px!important;align-self:center;}
  .site-header .logo-main{grid-column:2;grid-row:1;display:block!important;visibility:visible!important;font-family:'Cormorant Garamond',serif!important;font-size:17px!important;letter-spacing:1.8px!important;line-height:1!important;color:#F7F5F0!important;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .site-header .logo-sub{grid-column:2;grid-row:2;display:block!important;visibility:visible!important;font-size:8px!important;letter-spacing:1px!important;line-height:1.2!important;color:#C4A35A!important;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}
@media (max-width:480px){
  .site-header .logo-main{font-size:15px!important;letter-spacing:1.4px!important;}
  .site-header .logo-sub{font-size:7.5px!important;}
}
/*ECR_PRESS_STACK*/
.press-logos{display:flex;flex-direction:column;align-items:center;gap:22px;}
.press-logos .press-logo,.press-logos > span{display:block;text-align:center;}
/*ECR_CITY_HERO_MOBILE*/
@media (max-width:768px){.city-hero{padding-top:110px!important;}.city-hero h1{margin-top:24px!important;}}
/*ECR_MOBILENAV_ZFIX*/
.mobile-nav{z-index:99999!important;}
@media(max-width:768px){.mobile-nav.active{gap:18px!important;padding-top:90px!important;padding-bottom:200px!important;justify-content:flex-start!important;overflow-y:auto!important;}.mobile-nav a{font-size:1.6rem!important;}}