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

:root {
  --navy:      #1B2A4A;
  --navy-dark: #111E35;
  --gold:      #C4993A;
  --gold-lt:   #D4AA50;
  --cream:     #F5EDE0;
  --stone:     #EAE0D2;
  --white:     #FFFFFF;
  --charcoal:  #2C2C2C;
  --gray:      #6B6B6B;
  --border:    #D9CEBD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

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

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 16px rgba(27,42,74,.07);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 28px rgba(27,42,74,.12);
  border-bottom-color: rgba(217,206,189,.6);
}

.nav-logo img { height: 58px; width: auto; }

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

.nav-links a {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--navy);
  transition: color .2s;
}

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

.nav-links .nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: 4px;
  transition: background .2s;
}

.nav-links .nav-cta:hover { background: var(--gold) !important; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-navy   { background: var(--navy);  color: var(--white); border-color: var(--navy);  }
.btn-navy:hover   { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn-gold   { background: var(--gold);  color: var(--white); border-color: var(--gold);  }
.btn-gold:hover   { background: #b08a2e; border-color: #b08a2e; }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

.btn-outline-gold  { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover  { background: var(--gold); color: var(--white); }

.btn-outline-navy  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover  { background: var(--navy); color: var(--white); }

/* ─── SECTION BASE ────────────────────────────────── */
.section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}

.cream-bg  { background: var(--cream); }
.stone-bg  { background: var(--stone); }
.navy-bg   { background: var(--navy);  }
.ndark-bg  { background: var(--navy-dark); }

/* ─── HOME HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

/* Slideshow: 4 stacked slides, 20s cycle, each visible ~5s */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  animation: heroFade 20s infinite;
}
.hero-slide:nth-child(1) { animation-delay:  0s; }
.hero-slide:nth-child(2) { animation-delay:  5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }

@keyframes heroFade {
  0%      { opacity: 0; }
  5%      { opacity: .35; }
  22%     { opacity: .35; }
  27%     { opacity: 0; }
  100%    { opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 6rem 5%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: center;
}

.hero-text .eyebrow { color: var(--gold-lt); margin-bottom: 1rem; }

.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

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

.hero-photo { position: relative; }

.hero-photo img {
  width: 100%;
  height: 540px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,.55));
}

.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--gold);
  color: var(--white);
  padding: 1.1rem 1.6rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.55;
  box-shadow: 0 10px 32px rgba(196,153,58,.45);
  letter-spacing: .02em;
}

/* ─── TRUST INTRO ─────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-img img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(27,42,74,.13);
}

.intro-text .section-title { margin-bottom: 1.25rem; }

.intro-text p {
  color: var(--gray);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.intro-text .btn { margin-top: 1rem; }

/* ─── PILLARS ─────────────────────────────────────── */
.pillars-header { max-width: 560px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.pillar {
  background: var(--white);
  border-radius: 10px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 20px rgba(27,42,74,.07);
  border-top: 3px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(27,42,74,.12);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  color: var(--gold);
  flex-shrink: 0;
}

.pillar-icon svg { width: 24px; height: 24px; }

.pillar h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .6rem; }

.pillar p { font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ─── LIFESTYLE MOSAIC ────────────────────────────── */
.lifestyle-intro { max-width: 640px; margin-bottom: 3rem; }
.lifestyle-intro p { color: var(--gray); line-height: 1.8; margin-top: .75rem; font-size: 1rem; }

.mosaic {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.mosaic-item { overflow: hidden; }

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s;
}

.mosaic-item:hover img { transform: scale(1.05); }

.mosaic-span { grid-row: 1 / 3; }

.lifestyle-cta { margin-top: 2.5rem; }

/* ─── BUY / SELL SPLIT ────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.split-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 32px rgba(27,42,74,.14);
}

.split-bg {
  position: absolute;
  inset: 0;
}

.split-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s;
}

.split-card:hover .split-bg img { transform: scale(1.05); }

.split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,30,53,.9) 25%, transparent 75%);
}

.split-body {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
}

.split-body h3 { font-size: 1.85rem; color: var(--white); margin-bottom: .6rem; }
.split-body p  { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 1.5rem; }

/* ─── DENNIS SPOTLIGHT ────────────────────────────── */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.spotlight-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(27,42,74,.16);
}

.spotlight-text { padding: 1rem 0; }

.quote-block {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
  border-left: 4px solid var(--gold);
  padding-left: 1.75rem;
  margin: 2rem 0;
}

.spotlight-text p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.spotlight-sig {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.05rem;
  font-style: italic;
  margin-top: 1.25rem;
}

/* ─── TESTIMONIALS ────────────────────────────────── */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.test-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: 0 4px 24px rgba(27,42,74,.07);
  border-bottom: 3px solid var(--border);
  position: relative;
  transition: box-shadow .2s, transform .2s;
}

.test-card:hover {
  box-shadow: 0 12px 36px rgba(27,42,74,.11);
  transform: translateY(-3px);
}

.test-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: .22;
  position: absolute;
  top: .25rem;
  left: 1.5rem;
  line-height: 1;
}

.stars { color: var(--gold); font-size: .95rem; margin-bottom: .75rem; }

.test-card p {
  padding-top: 1.25rem;
  font-size: .92rem;
  color: var(--gray);
  line-height: 1.78;
  margin-bottom: 1.25rem;
}

.test-author strong { display: block; color: var(--navy); font-size: .9rem; }
.test-author span   { font-size: .8rem; color: var(--gray); }

/* ─── CTA BANNER ──────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 6rem 5%;
  text-align: center;
}

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

.cta-banner p {
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.78;
}

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

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 4.5rem 5% 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: .04em;
  margin-bottom: .25rem;
}

.footer-brand-tag {
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 1.1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }

.footer-col ul a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

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

.footer-contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .85rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.fci-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}

.fci-text strong { display: block; color: var(--white); font-size: .8rem; margin-bottom: .1rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ─── PAGE HERO (inner pages) ─────────────────────── */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: var(--navy-dark);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .38;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 5%;
}

.page-hero .eyebrow { color: var(--gold-lt); }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: .9rem;
}

.page-hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}

/* ─── ABOUT PAGE ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}

.about-sticky { position: sticky; top: 100px; }

.about-sticky img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(27,42,74,.13);
}

.about-text h2 { font-size: 2.25rem; color: var(--navy); margin-bottom: 1.5rem; }

.about-text p {
  color: var(--gray);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
  background: var(--cream);
  padding: 2rem;
  border-radius: 8px;
}

.stat-item h3 { font-size: 2rem; color: var(--navy); }
.stat-item p  { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gray); }

.community-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.community-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.community-row--single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.community-row--single img {
  height: 420px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(27,42,74,.06);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.value-item h4 { font-size: 1rem; color: var(--navy); margin-bottom: .25rem; }
.value-item p  { font-size: .88rem; color: var(--gray); line-height: 1.65; }

/* ─── BUY PAGE ────────────────────────────────────── */
.steps-wrap { position: relative; }

.steps-line {
  position: absolute;
  top: 32px;
  left: calc(10% + 32px);
  right: calc(10% + 32px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
}

.step {
  text-align: center;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(27,42,74,.22);
}

.step h3 { font-size: .95rem; color: var(--navy); margin-bottom: .4rem; }
.step p   { font-size: .83rem; color: var(--gray); line-height: 1.65; }

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

.local-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(27,42,74,.12);
}

.local-text h2 { font-size: 2.25rem; color: var(--navy); margin-bottom: 1.25rem; }

.local-text p {
  color: var(--gray);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.local-points {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1.75rem;
}

.local-point {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .93rem;
  color: var(--charcoal);
}

.local-point::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SELL PAGE ───────────────────────────────────── */
.sell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sell-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(27,42,74,.12);
}

.sell-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sell-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.sell-num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sell-step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .35rem; }
.sell-step p  { font-size: .88rem; color: var(--gray); line-height: 1.65; }

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

.market-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(27,42,74,.07);
  border-top: 3px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.market-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 10px 32px rgba(27,42,74,.11);
}

.market-card:hover { transform: translateY(-4px); }

.market-card .icon { font-size: 2.2rem; margin-bottom: 1rem; }
.market-card h3    { font-size: 1.05rem; color: var(--navy); margin-bottom: .5rem; }
.market-card p     { font-size: .88rem; color: var(--gray); line-height: 1.65; }

/* ─── EXPLORE PAGE ────────────────────────────────── */
.explore-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.explore-intro-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(27,42,74,.12);
}

.explore-intro-text p {
  color: var(--gray);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.nb-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27,42,74,.08);
  transition: transform .2s, box-shadow .2s;
}

.nb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(27,42,74,.14);
}

.nb-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.nb-body { padding: 1.75rem; background: var(--white); }
.nb-body h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .5rem; }
.nb-body p  { font-size: .88rem; color: var(--gray); line-height: 1.7; }

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

.highlight {
  text-align: center;
  padding: 2rem 1.5rem;
}

.highlight .hi { font-size: 2.4rem; margin-bottom: 1rem; }
.highlight h3  { font-size: 1.05rem; color: var(--navy); margin-bottom: .5rem; }
.highlight p   { font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ─── CONTACT PAGE ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { font-size: 2.25rem; color: var(--navy); margin-bottom: 1.25rem; }

.contact-info > p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 12px 36px rgba(27,42,74,.11);
}

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

.cd-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cd-text strong { display: block; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .2rem; }
.cd-text span   { color: var(--gray); font-size: .93rem; }
.cd-text a      { color: var(--navy); font-size: .93rem; }
.cd-text a:hover { color: var(--gold); }

.contact-form {
  background: var(--cream);
  padding: 2.75rem;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(27,42,74,.06);
}

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

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

.form-group label {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: .5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .93rem;
  color: var(--charcoal);
  background: var(--white);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,.08);
}

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

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

/* ─── STATS STRIP ─────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 2.25rem 5%;
  border-bottom: 3px solid var(--gold);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .35rem;
}

.stat-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ─── SCROLL ANIMATIONS ───────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: .1s; }
[data-animate][data-delay="2"] { transition-delay: .2s; }
[data-animate][data-delay="3"] { transition-delay: .3s; }
[data-animate][data-delay="4"] { transition-delay: .4s; }

/* ─── DIVIDER ─────────────────────────────────────── */
.gold-divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1080px) {
  .pillars-grid   { grid-template-columns: 1fr 1fr; }
  .steps-grid     { grid-template-columns: repeat(3, 1fr); }
  .steps-line     { display: none; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .test-grid      { grid-template-columns: 1fr 1fr; }
  .market-cards   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .stats-inner    { flex-direction: column; gap: 1.5rem; }
  .stat-sep       { width: 44px; height: 1px; }
  .stat-item      { padding: 0; }
}

@media (max-width: 768px) {
  .nav-links      { display: none; }
  .nav-toggle     { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(27,42,74,.1);
    gap: 1rem;
  }

  .hero-inner     { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo     { display: none; }

  .intro-grid,
  .spotlight-grid,
  .split-grid,
  .about-grid,
  .contact-grid,
  .sell-grid,
  .local-grid,
  .explore-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .mosaic         { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mosaic-span    { grid-row: auto; }

  .steps-grid     { grid-template-columns: 1fr 1fr; }
  .about-stats    { grid-template-columns: 1fr 1fr; }
  .community-row  { grid-template-columns: 1fr; }
  .neighborhoods-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .market-cards   { grid-template-columns: 1fr; }
  .test-grid      { grid-template-columns: 1fr; }
  .pillars-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .form-row       { grid-template-columns: 1fr; }
  .section        { padding: 4rem 5%; }
  .cta-banner     { padding: 4rem 5%; }

  .compact-hero   { min-height: 30vh; }
  .lead-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-dennis-grid { grid-template-columns: 1fr; }
  .video-grid     { grid-template-columns: 1fr !important; }
  .form-checkbox-group { grid-template-columns: 1fr 1fr; }

  .home-search-frame  { display: none !important; }
  .home-search-mobile { display: block !important; }
  .desktop-only       { display: none !important; }
  .mobile-only        { display: block !important; }

  /* ── Hero ── */
  .hero-inner         { padding: 3.5rem 5%; }

  /* ── Fixed-height images: reduce for mobile ── */
  .intro-img img          { height: 280px; }
  .about-sticky           { position: static; }
  .about-sticky img       { height: 320px; }
  .sell-img img           { height: 280px; }
  .local-img img          { height: 260px; }
  .explore-intro-img img  { height: 280px; }
  .community-row--single img { height: 260px; }
  .contact-photo          { height: 240px; }
}

/* ─── NAV GAP (accommodate 7 items) ──────────────── */
.nav-links { gap: 1.5rem; }

/* ─── NAV ACTIVE STATE FOR CTA PILL ──────────────── */
.nav-links .nav-cta.active {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* ─── FOOTER LOGO ─────────────────────────────────── */
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: .85rem;
}

/* ─── COMPACT HERO (Home Search page) ─────────────── */
.compact-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding: 5rem 5%;
}

.compact-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.compact-hero .eyebrow  { color: var(--gold-lt); margin-bottom: 1rem; }

.compact-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: 760px;
}

.compact-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.75;
}

/* ─── LEAD CAPTURE ─────────────────────────────────── */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.lead-copy p {
  color: var(--gray);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.trust-checks {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.trust-check {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--charcoal);
  line-height: 1.55;
}

.trust-check-icon {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .18rem;
}

/* ─── CHECKBOX GROUP ───────────────────────────────── */
.form-checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem .75rem;
  padding: .5rem 0 .25rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--charcoal);
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}

/* ─── SEARCH DIVIDER BAND ──────────────────────────── */
.search-divider-band {
  padding: 4.5rem 5%;
  background: var(--stone);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.search-divider-intro {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: .4rem;
}

.search-divider-band .section-title { margin-bottom: .65rem; }

/* ─── HOME SEARCH FRAME ────────────────────────────── */
.home-search-frame {
  max-width: 1200px;
  min-height: 1000px;
  margin: 3rem auto 4rem;
  padding: 0 5%;
}

.home-search-frame iframe {
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(27,42,74,.12);
  border: 2px solid var(--border) !important;
}

/* ─── HOME SEARCH MOBILE ───────────────────────────── */
.home-search-mobile {
  display: none;
  padding: 0 5% 4rem;
}

.mobile-search-card {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 2.5rem;
  border-radius: 8px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-search-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.mobile-search-card p {
  color: rgba(255,255,255,.72);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ─── BTN LARGE ────────────────────────────────────── */
.btn-large { padding: 1.15rem 3rem; font-size: 1rem; }

/* ─── WHY DENNIS GRID ──────────────────────────────── */
.why-dennis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.why-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 20px rgba(27,42,74,.07);
  border-top: 3px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(27,42,74,.12);
}

.why-card .pillar-icon { font-size: 2rem; margin-bottom: 1.1rem; }
.why-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .6rem; }
.why-card p  { font-size: .88rem; color: var(--gray); line-height: 1.7; }

/* ─── LEAD CONFIRM ─────────────────────────────────── */
.lead-confirm {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--cream);
  border-radius: 8px;
}

.lead-confirm-check {
  font-size: 2.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.lead-confirm p {
  font-size: 1.05rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.7;
  font-family: 'Playfair Display', serif;
}

/* ─── VIDEO FEATURE (homepage) ────────────────────── */
.video-feature-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5rem;
  align-items: center;
}

.video-feature-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  background: #000;
  box-shadow: 0 20px 56px rgba(0,0,0,.4);
}

/* ─── VIDEO GRID ───────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0;
}

.video-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.video-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-feature-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .video-feature-video { max-width: 300px; margin: 0 auto; }
}
