/* ============================================================
   The Rainey Property Group — Stylesheet
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ivory: #F8F5EF;
  --cream: #EDE8DE;
  --gold: #B8975A;
  --gold-dark: #8A6D38;
  --forest: #1E2E22;
  --slate: #3A4A3F;
  --mist: #6B7A6E;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  font-weight: 300;
  overflow-x: hidden;
}

/* ---- NAVIGATION ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,151,90,0.2);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
  line-height: 1.2;
  text-decoration: none;
}

.nav-logo span {
  display: block;
  font-size: 0.65rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--forest) !important;
  color: var(--ivory) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--forest);
  cursor: pointer;
  padding: 0.25rem;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 8rem 4rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

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

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mist);
  max-width: 520px;
  margin: 0 0 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-primary {
  background: var(--forest);
  color: var(--ivory);
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  padding: 0.9rem 2rem;
  border: 1px solid rgba(30,46,34,0.35);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

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

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

@keyframes heroStatPop {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1E2E22 0%, #141F17 60%, #0F1A11 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect width='80' height='80' fill='none'/%3E%3Cpath d='M0 80L80 0M-20 20L20-20M60 100L100 60' stroke='rgba(184,151,90,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-right-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 3.5rem;
  width: 100%;
  max-width: 540px;
  animation: heroRightFadeUp 0.8s ease 0.2s both;
}

.hero-right-label {
  font-size: 0.68rem !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  font-weight: 400 !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.hero-right-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero-right-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  color: #F0EDE5 !important;
  margin-bottom: 2rem !important;
  letter-spacing: -0.01em !important;
}

.hero-right-title em {
  font-style: italic !important;
  color: var(--gold) !important;
}

.hero-adv-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184,151,90,0.18);
  border: 1px solid rgba(184,151,90,0.18);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-adv-stat {
  background: rgba(255,255,255,0.05);
  padding: 1.25rem 0.75rem;
  text-align: center;
  animation: heroStatPop 0.5s ease both;
}

.hero-adv-stat:nth-child(1) { animation-delay: 0.5s; }
.hero-adv-stat:nth-child(2) { animation-delay: 0.65s; }
.hero-adv-stat:nth-child(3) { animation-delay: 0.8s; }

.hero-adv-num {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.9rem !important;
  font-weight: 600 !important;
  color: var(--gold) !important;
  line-height: 1 !important;
  margin-bottom: 0.4rem !important;
}

.hero-adv-desc {
  font-size: 0.6rem !important;
  letter-spacing: 0.05em !important;
  color: rgba(240,237,229,0.65) !important;
  line-height: 1.4 !important;
}

.hero-adv-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hero-adv-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,151,90,0.12);
  border-radius: 2px;
  transition: border-color 0.25s, background 0.25s;
  animation: heroRightFadeUp 0.5s ease both;
}

.hero-adv-item:nth-child(1) { animation-delay: 0.7s; }
.hero-adv-item:nth-child(2) { animation-delay: 0.85s; }
.hero-adv-item:nth-child(3) { animation-delay: 1.0s; }
.hero-adv-item:nth-child(4) { animation-delay: 1.15s; }

.hero-adv-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(184,151,90,0.3);
}

.hero-adv-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(184,151,90,0.15);
  border: 1px solid rgba(184,151,90,0.45);
  color: var(--gold) !important;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.hero-adv-item strong {
  display: block !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: #F0EDE5 !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 0.2rem !important;
}

.hero-adv-item p {
  font-size: 0.73rem !important;
  color: rgba(240,237,229,0.55) !important;
  line-height: 1.55 !important;
  font-weight: 300 !important;
}

.hero-stat-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184,151,90,0.2);
  border: 1px solid rgba(184,151,90,0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 380px;
}

.hero-stat {
  background: var(--cream);
  padding: 1.25rem 1rem;
  text-align: center;
}

.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero-listings-widget {
  position: absolute;
  top: 2.25rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: 0;
  z-index: 3;
}

.hero-listings-widget iframe {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border: 0;
  display: block;
  border-radius: 2px;
  background: var(--ivory);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

/* ---- MARQUEE ---- */
.marquee-bar {
  background: var(--forest);
  overflow: hidden;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(184,151,90,0.15);
}

.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.5);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- SHARED SECTION STYLES ---- */
section { padding: 7rem 4rem; }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

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

/* ---- WHY SECTION ---- */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.why-copy p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--mist);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.why-cards { display: grid; gap: 1.5rem; }

.why-card {
  padding: 1.75rem 2rem;
  border: 1px solid rgba(184,151,90,0.2);
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  border-radius: 2px;
  transition: border-color 0.2s;
}

.why-card:hover { border-color: var(--gold-dark); }

.why-card-icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---- COMMUNITIES ---- */
.communities { background: var(--ivory); }

.communities-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.communities-intro p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--mist);
}

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

.community-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(184,151,90,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30,46,34,0.1);
}

.community-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--forest);
}

.community-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-style: italic;
  color: rgba(248,245,239,0.15);
  position: relative;
}

.ci-alpharetta    { background: linear-gradient(135deg, #2A3D2E 0%, #1A2C20 100%); }
.ci-marietta      { background: linear-gradient(135deg, #2E3A2A 0%, #1E2918 100%); }
.ci-cumming       { background: linear-gradient(135deg, #243529 0%, #16231A 100%); }
.ci-woodstock     { background: linear-gradient(135deg, #2B3B25 0%, #1C2A18 100%); }
.ci-smyrna        { background: linear-gradient(135deg, #26362A 0%, #17251C 100%); }
.ci-johns-creek   { background: linear-gradient(135deg, #283A2C 0%, #192819 100%); }
.ci-roswell       { background: linear-gradient(135deg, #2C3D30 0%, #1B2C22 100%); }
.ci-kennesaw      { background: linear-gradient(135deg, #253325 0%, #172417 100%); }
.ci-canton        { background: linear-gradient(135deg, #2A3828 0%, #1B2A1A 100%); }
.ci-buford        { background: linear-gradient(135deg, #223022 0%, #142214 100%); }
.ci-peachtree-city{ background: linear-gradient(135deg, #2D3F2A 0%, #1D2E1A 100%); }
.ci-gainesville   { background: linear-gradient(135deg, #243628 0%, #162619 100%); }

.community-price-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(15,30,17,0.75);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.7rem;
  border-radius: 1px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.community-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.community-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.3rem;
}

.community-info p {
  font-size: 0.78rem;
  color: var(--mist);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.community-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(184,151,90,0.3);
  color: var(--gold-dark);
  border-radius: 1px;
}

/* ---- PROCESS ---- */
.process {
  background: var(--forest);
  color: var(--ivory);
}

.process .section-title { color: var(--ivory); }

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

.process-step { position: relative; }

.process-step::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: calc(100% + 0.25rem);
  width: calc(100% - 0.5rem);
  height: 1px;
  background: linear-gradient(to right, rgba(184,151,90,0.4), rgba(184,151,90,0.1));
}

.process-step:last-child::after { display: none; }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: rgba(184,151,90,0.2);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 300;
}

.step-line {
  width: 2rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(248,245,239,0.5);
}

/* ---- ABOUT ---- */
.about {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.about-img {
  background: linear-gradient(160deg, #2A3D2E 0%, #162118 100%);
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.about-img-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(248,245,239,0.75);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  max-width: 300px;
}

.about-copy {
  padding: 6rem 5rem 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--mist);
  margin-bottom: 1.25rem;
}

.about-copy p:last-of-type { margin-bottom: 2.5rem; }

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-detail {
  padding: 1rem;
  border: 1px solid rgba(184,151,90,0.2);
  border-radius: 2px;
}

.about-detail-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.about-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--forest);
  font-weight: 600;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--gold);
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-band-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.cta-band-left p {
  font-size: 0.88rem;
  color: rgba(30,46,34,0.7);
}

.btn-dark {
  background: var(--forest);
  color: var(--ivory);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-dark:hover { background: #0f1e11; }

/* ---- FOOTER ---- */
footer {
  background: #0F1A11;
  padding: 4rem 4rem 2rem;
  color: rgba(248,245,239,0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { color: var(--ivory); margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 0.82rem;
  color: rgba(248,245,239,0.5);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(248,245,239,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.72rem; }

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.72rem;
}

/* ---- COMMUNITIES PAGE ---- */

.comm-hero {
  background: linear-gradient(160deg, #1E2E22 0%, #0F1A11 100%);
  min-height: 60vh;
  padding: 10rem 3rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.comm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M0 60L60 0M-10 10L10-10M50 70L70 50' stroke='rgba(184,151,90,0.06)' stroke-width='1'/%3E%3C/svg%3E");
}

.comm-hero-inner { position: relative; max-width: 720px; margin: 0 auto; }

/* IDX Search Section */
.idx-section { background: var(--white); }

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

.idx-copy p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--mist);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.idx-cta-group { margin-top: 0.5rem; }

.idx-features-panel {
  background: var(--forest);
  border-radius: 4px;
  padding: 2.5rem;
}

.idx-features-header {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.idx-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.idx-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(248,245,239,0.7);
  transition: color 0.2s, transform 0.2s;
}

.idx-feature-item:hover {
  color: rgba(248,245,239,1);
  transform: translateX(3px);
}

.idx-feature-icon { font-size: 1rem; }

.idx-panel-btn {
  display: block;
  text-align: center;
  background: var(--gold);
  color: var(--forest);
  padding: 0.9rem 1.5rem;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.idx-panel-btn:hover {
  background: #cfa96a;
  animation: none;
}

.idx-panel-btn {
  animation: dpaPulseRing 2.4s ease 0.5s infinite;
}

/* Market Snapshot */
.comm-market {
  background: var(--forest);
}

.comm-market .section-label { color: rgba(184,151,90,0.7); }
.comm-market .section-title { color: var(--ivory); }
.comm-market .section-title em { color: var(--gold); }

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

.comm-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(184,151,90,0.2);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  padding: 2rem 1.5rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.comm-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.09);
}

.comm-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.comm-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184,151,90,0.6);
  margin-bottom: 0.75rem;
}

.comm-stat-card p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(248,245,239,0.45);
}

/* Communities grid on communities page — 4 columns */
.comm-page-grid { grid-template-columns: repeat(4, 1fr); }

/* What to Expect */
.comm-expect { background: var(--white); }

.comm-expect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.comm-expect-copy p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--mist);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.comm-expect-cards { display: grid; gap: 1.25rem; }

/* ---- DOWN PAYMENT ASSISTANCE PAGE ---- */

/* ---- DPA PAGE ANIMATIONS ---- */
@keyframes dpaFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dpaPop {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes dpaSlideRight {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dpaPulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(184,151,90,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(184,151,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,151,90,0); }
}
@keyframes dpaBarGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.dpa-hero {
  background: linear-gradient(160deg, #1E2E22 0%, #0F1A11 100%);
  min-height: 65vh;
  padding: 10rem 3rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dpa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M0 60L60 0M-10 10L10-10M50 70L70 50' stroke='rgba(184,151,90,0.06)' stroke-width='1'/%3E%3C/svg%3E");
}

.dpa-hero-inner { position: relative; max-width: 720px; margin: 0 auto; }

.dpa-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.dpa-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.dpa-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

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

.dpa-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(248,245,239,0.65);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.btn-dpa-hero {
  background: var(--gold);
  color: var(--forest);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}

.btn-dpa-hero:hover {
  background: var(--ivory);
  color: var(--forest);
}

/* Hero badge pills */
.hero-badge-group {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-badge {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.6);
  border: 1px solid rgba(184,151,90,0.3);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* DPA hero entrance */
.dpa-eyebrow { animation: dpaFadeUp 0.6s ease both; }
.dpa-h1      { animation: dpaFadeUp 0.7s ease 0.18s both; }
.dpa-sub     { animation: dpaFadeUp 0.65s ease 0.34s both; }
.btn-dpa-hero {
  animation: dpaFadeUp 0.6s ease 0.5s both,
             dpaPulseRing 2.2s ease 1.8s 3;
}
.hero-badge-group { animation: dpaFadeUp 0.5s ease 0.7s both; }

/* Pull-quote block */
.pull-quote {
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 0;
  border-radius: 0 2px 2px 0;
}

.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.55;
  margin: 0 0 0.5rem;
}

.pull-quote cite {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* Info highlight box */
.info-highlight {
  background: var(--forest);
  color: var(--ivory);
  border-radius: 2px;
  padding: 2rem;
  margin-top: 2rem;
}

.info-highlight h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.info-highlight p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(248,245,239,0.65);
  margin: 0;
}

/* What Is DPA */
.dpa-what { background: var(--white); }

.dpa-what-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.dpa-what-copy p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--mist);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.dpa-what-copy p strong { color: var(--forest); font-weight: 500; }

.dpa-what-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dpa-fact-card {
  background: var(--ivory);
  border: 1px solid rgba(184,151,90,0.2);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.dpa-fact-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.dpa-fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--mist);
  line-height: 1.4;
}

/* Programs */
.dpa-programs { background: var(--cream); text-align: center; }

.dpa-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.dpa-program-card {
  background: var(--white);
  border: 1px solid rgba(184,151,90,0.2);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dpa-program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(30,46,34,0.12);
}

.dpa-program-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.dpa-program-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.2rem;
}

.dpa-program-sub {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.dpa-program-card > p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--mist);
  margin-bottom: 1.25rem;
}

.dpa-program-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dpa-program-features li {
  font-size: 0.78rem;
  color: var(--slate);
  padding-left: 1.1rem;
  position: relative;
}

.dpa-program-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
}

/* New Construction + DPA */
.dpa-newconstruction { background: var(--forest); }

.dpa-newconstruction .section-label { color: rgba(184,151,90,0.7); }
.dpa-newconstruction .section-title { color: var(--ivory); }
.dpa-newconstruction .section-title em { color: var(--gold); }

.dpa-nc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.dpa-nc-copy p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(248,245,239,0.6);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.dpa-nc-cards { display: grid; gap: 1.25rem; }

.dpa-newconstruction .why-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(184,151,90,0.2);
  border-left-color: var(--gold);
}

.dpa-newconstruction .why-card h3 { color: var(--ivory); }
.dpa-newconstruction .why-card p { color: rgba(248,245,239,0.5); }

/* Who Qualifies */
.dpa-qualify { background: var(--cream); }

.dpa-qualify-intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mist);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.dpa-qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.dpa-qualify-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(184,151,90,0.15);
  border-radius: 2px;
  padding: 1.5rem;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dpa-qualify-item:hover {
  transform: translateY(-3px);
  border-color: rgba(184,151,90,0.4);
  box-shadow: 0 8px 24px rgba(30,46,34,0.08);
}

.dpa-qualify-check {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-dark);
  background: rgba(184,151,90,0.12);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dpa-qualify-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.3rem;
}

.dpa-qualify-item p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--mist);
  margin: 0;
}

.dpa-qualify-note {
  font-size: 0.88rem;
  color: var(--mist);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

/* DPA CTA */
.dpa-cta {
  background: var(--forest);
  padding: 7rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dpa-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M0 60L60 0M-10 10L10-10M50 70L70 50' stroke='rgba(184,151,90,0.05)' stroke-width='1'/%3E%3C/svg%3E");
}

.dpa-cta-inner { position: relative; max-width: 680px; margin: 0 auto; }

.dpa-cta-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.dpa-cta-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.dpa-cta-h2 em {
  font-style: italic;
  color: var(--gold);
}

.dpa-cta-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(248,245,239,0.55);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn-dpa-cta {
  background: var(--gold);
  color: var(--forest);
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
  animation: dpaPulseRing 2.4s ease 0s infinite;
}

.btn-dpa-cta:hover {
  background: #cfa96a;
  transform: scale(1.03);
  animation: none;
}

.btn-dpa-cta:hover { background: #cfa96a; }

.dpa-cta-footnote {
  margin-top: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(248,245,239,0.25);
  text-transform: uppercase;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .comm-page-grid { grid-template-columns: repeat(2, 1fr); }
  .comm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .idx-inner { grid-template-columns: 1fr; gap: 3rem; }
  .comm-expect-inner { grid-template-columns: 1fr; gap: 3rem; }
  .dpa-programs-grid { grid-template-columns: 1fr; }
  .dpa-what-inner { grid-template-columns: 1fr; gap: 3rem; }
  .dpa-nc-inner { grid-template-columns: 1fr; gap: 3rem; }
  .dpa-qualify-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); padding: 1.5rem; border-bottom: 1px solid rgba(184,151,90,0.2); gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  section { padding: 5rem 1.5rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 7rem 1.5rem 3rem; align-items: center; text-align: center; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stat-block { margin-left: auto; margin-right: auto; }
  .hero-right { min-height: 70vh; }
  .hero-right-inner { padding: 3rem 1.5rem; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .communities-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .community-grid { grid-template-columns: 1fr; }
  .comm-page-grid { grid-template-columns: 1fr; }
  .comm-stats-grid { grid-template-columns: 1fr; }
  .idx-features-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 300px; }
  .about-copy { padding: 3rem 1.5rem; }
  .cta-band { flex-direction: column; text-align: center; padding: 3rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
