/* ============================================================
   ELENA TERRONES | Palm Beach Luxury Real Estate
   Global Stylesheet
   ============================================================ */

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

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --navy: #131176;
  --navy-light: #1a1a9e;
  --navy-dark: #0d0c52;
  --gold: #c9a96e;
  --gold-light: #e0c48a;
  --gold-dark: #a8833d;
  --cream: #faf8f4;
  --warm-white: #fff9f2;
  --soft-gray: #f4f2ee;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #8a8aaa;
  --border: #e8e4dc;
  --max-width: 1200px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 12px rgba(19,17,118,0.07);
  --shadow-md: 0 8px 32px rgba(19,17,118,0.12);
  --shadow-lg: 0 20px 60px rgba(19,17,118,0.15);
}

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

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

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  font-weight: 500;
}

.script-accent {
  font-family: 'Great Vibes', cursive;
  color: var(--gold);
  font-size: 1.4em;
  font-weight: 400;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 580px;
  line-height: 1.75;
}

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

.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 64px 0;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.35);
}

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

#site-header.hero-header {
  background: transparent;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.nav-logo-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 400;
  transition: var(--transition);
}

#site-header.scrolled .nav-logo-name { color: var(--navy); }
#site-header.scrolled .nav-logo-tag { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

#site-header.scrolled .nav-links a { color: var(--text-mid); }
#site-header.scrolled .nav-links a:hover,
#site-header.scrolled .nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em !important;
}

.nav-cta:hover { background: var(--gold-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-phone {
  font-size: 0.8rem !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: var(--transition);
}

#site-header.scrolled .hamburger span { background: var(--navy); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,12,82,0.72) 0%,
    rgba(19,17,118,0.45) 50%,
    rgba(0,0,0,0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
  animation: heroFadeUp 1.2s ease forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,169,110,0.18);
  border: 1px solid rgba(201,169,110,0.45);
  color: var(--gold-light);
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-badge span { width: 4px; height: 4px; background: var(--gold-light); border-radius: 50%; }

.hero-tagline {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.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.5rem;
  color: rgba(255,255,255,0.6);
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.intro-strip {
  background: var(--navy);
  padding: 24px 0;
}

.intro-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.intro-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.intro-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}

.intro-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}

.intro-stat-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  line-height: 1.3;
}

/* ============================================================
   ABOUT SNIPPET (home)
   ============================================================ */
.about-home {
  background: var(--cream);
}

.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-home-img-wrap {
  position: relative;
}

.about-home-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}

.about-home-img-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
}

.about-home-img-badge strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.about-home-img-badge span {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.about-home-content {}

.about-home-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  line-height: 1.5;
}

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

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 2px;
  border: 1px solid var(--border);
}

.cred-icon {
  width: 36px;
  height: 36px;
  background: rgba(19,17,118,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 0.9rem;
}

.cred-text strong {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.cred-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 3.5rem;
}

.service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--cream); }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: rgba(19,17,118,0.06);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(19,17,118,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   LISTINGS / PORTFOLIO
   ============================================================ */
.listings {
  background: var(--soft-gray);
}

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

.listing-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

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

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

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

.listing-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.listing-badge.sold { background: var(--navy); }

.listing-body {
  padding: 1.5rem;
}

.listing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.listing-address {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.listing-details {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.listing-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

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

.listings-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   NEIGHBORHOODS
   ============================================================ */
.neighborhoods {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.neighborhoods::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: rgba(201,169,110,0.04);
  pointer-events: none;
}

.neighborhoods .section-title { color: #fff; }
.neighborhoods .section-subtitle { color: rgba(255,255,255,0.65); }

.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.neighborhood-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

.neighborhood-card:hover .neighborhood-img { transform: scale(1.08); }

.neighborhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,12,82,0.88) 0%, transparent 55%);
  transition: var(--transition);
}

.neighborhood-card:hover .neighborhood-overlay {
  background: linear-gradient(to top, rgba(13,12,82,0.92) 0%, rgba(13,12,82,0.2) 55%);
}

.neighborhood-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  color: #fff;
}

.neighborhood-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.neighborhood-content p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  font-family: 'Jost', sans-serif;
}

.neighborhood-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: rgba(201,169,110,0.2);
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.8rem;
  opacity: 0;
  transition: var(--transition);
}

.neighborhood-card:hover .neighborhood-arrow { opacity: 1; }

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

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

.testimonial-quote-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

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

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-author-info span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 80px 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://media-production.lp-cdn.com/cdn-cgi/image/format=auto,quality=85,fit=scale-down,width=1280/https://media-production.lp-cdn.com/media/52a3138a-341b-453d-a9f7-b390d096e408') center/cover no-repeat;
  opacity: 0.12;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(19,17,118,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-detail-text a,
.contact-detail-text span {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  background: var(--soft-gray);
  padding: 3rem;
  border-radius: 2px;
}

.contact-form-wrap h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-form-wrap p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  background: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19,17,118,0.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.form-success {
  display: none;
  background: rgba(19,17,118,0.06);
  border: 1px solid var(--navy);
  border-radius: 2px;
  padding: 1.5rem;
  text-align: center;
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-dark);
  color: #fff;
}

.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand {}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-brand-tag {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold-light); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://media-production.lp-cdn.com/cdn-cgi/image/format=auto,quality=85,fit=scale-down,width=1280/https://media-production.lp-cdn.com/media/699b654c-02ef-40fb-8958-3f80b6d15051') center/cover no-repeat;
  opacity: 0.12;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   CHATBOT
   ============================================================ */
.chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transition: var(--transition);
}

.chat-toggle:hover {
  background: var(--navy-dark);
  transform: scale(1.08);
}

.chat-toggle .chat-close { display: none; }
.chat-toggle.open .chat-open { display: none; }
.chat-toggle.open .chat-close { display: block; }

.chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1099;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: var(--navy);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
}

.chat-header-info strong {
  display: block;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}

.chat-header-info span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}

.chat-header-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: #4ade80;
}

.chat-header-status::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f8f7f5;
}

.chat-msg {
  max-width: 82%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.chat-msg.bot {
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text-dark);
}

.chat-msg.user {
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: #f8f7f5;
  border-top: 1px solid var(--border);
}

.chat-suggestion-btn {
  background: rgba(19,17,118,0.07);
  border: 1px solid rgba(19,17,118,0.15);
  color: var(--navy);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.chat-suggestion-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition: var(--transition);
  color: var(--text-dark);
}

.chat-input:focus { border-color: var(--navy); }

.chat-send {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.chat-send:hover { background: var(--navy-dark); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================================
   GOLD DIVIDER
   ============================================================ */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.gold-divider-line {
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.gold-divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
   INSTAGRAM STRIP
   ============================================================ */
.instagram-strip {
  background: #fff;
  padding: 80px 0;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 2rem;
}

.insta-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

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

.insta-item:hover img { transform: scale(1.08); }

.insta-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19,17,118,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.insta-item:hover .insta-item-overlay { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-home-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-home-img-wrap { max-width: 500px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .neighborhoods-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section-pad { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .neighborhoods-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-credentials { grid-template-columns: 1fr; }
  .chat-window { width: calc(100vw - 2rem); right: 1rem; bottom: 5.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .intro-strip-inner { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
