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

/* ── DPG Brand Tokens (matches 310living.com exactly) ── */
:root {
  --green:    #193B1D;
  --green2:   #244D26;
  --gold:     #C9A85E;
  --gold2:    #A8884A;
  --cream:    #f2efea;
  --warm:     #fbf8f1;
  --border:   #e6e0d8;
  --ink:      #1a1a1a;
  --gray:     #4a4a46;
  --white:    #ffffff;
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; font-size: 17px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ══ LOGO PAIR — always together ══════════════════════ */
.logo-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-pair-divider {
  width: 1px;
  height: 22px;
  background: currentColor;
  opacity: .2;
  flex-shrink: 0;
}

/* ══ OPEN HOUSE FLOAT ═════════════════════════════════ */
.oh-float {
  position: fixed;
  right: 32px;
  bottom: 40px;
  z-index: 300;
  width: 220px;
  background: var(--gold);
  box-shadow: 0 12px 48px rgba(25,59,29,.28), 0 2px 8px rgba(0,0,0,.14);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.oh-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(25,59,29,.32), 0 4px 12px rgba(0,0,0,.18);
}
.oh-float-inner { padding: 22px 22px 18px; }
.oh-float-live {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 12px;
}
.oh-float-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: ohpulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ohpulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(.55); }
}
.oh-float-live-label {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(25,59,29,.75);
}
.oh-float-rule { width: 100%; height: 1px; background: rgba(25,59,29,.15); margin-bottom: 14px; }
.oh-float-date {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.oh-float-time {
  font-size: .78rem;
  color: rgba(26,26,26,.65);
  margin-bottom: 16px;
  font-family: var(--sans);
  font-weight: 400;
}
.oh-float-cta {
  display: block;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 11px 16px;
  text-align: center;
  transition: background .2s;
  text-decoration: none;
}
.oh-float-cta:hover { background: var(--green2); }
.oh-float-dismiss {
  position: absolute;
  top: 8px; right: 10px;
  background: none; border: none;
  color: rgba(25,59,29,.4);
  font-size: 16px; cursor: pointer;
  line-height: 1; padding: 2px;
  transition: color .2s;
}
.oh-float-dismiss:hover { color: var(--green); }

/* ══ NAV ══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  transition: background .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-address {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-address-main {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .3s;
}
.nav-address-sub {
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: color .3s;
}

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s;
}
.nav-cta {
  padding: 9px 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all .25s;
}

/* Nav over hero */
.nav-over .nav-address-main { color: #fff; }
.nav-over .nav-address-sub  { color: rgba(255,255,255,.5); }
.nav-over .nav-link          { color: rgba(255,255,255,.7); }
.nav-over .nav-link:hover    { color: #fff; }
.nav-over .nav-cta           { background: var(--gold); color: var(--ink); }
.nav-over .nav-cta:hover     { background: var(--gold2); }

/* Nav on light pages (scrolled) */
.nav-light .nav-address-main { color: #fff; }
.nav-light .nav-address-sub  { color: rgba(255,255,255,.5); }
.nav-light .nav-link         { color: rgba(255,255,255,.7); }
.nav-light .nav-link:hover   { color: #fff; }
.nav-light .nav-cta          { background: var(--gold); color: var(--ink); }
.nav-light .nav-cta:hover    { background: var(--gold2); }

/* ══ HELPERS ══════════════════════════════════════════ */
.eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.rule { width: 36px; height: 1px; background: var(--gold); }
.container        { max-width: 1280px; margin: 0 auto; padding: 0 52px; }
.container-narrow { max-width: 860px;  margin: 0 auto; padding: 0 52px; }

/* ══ BUTTONS ══════════════════════════════════════════ */
.btn-green {
  display: inline-flex; align-items: center;
  background: var(--green); color: var(--cream);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 28px; transition: background .3s;
}
.btn-green:hover { background: var(--green2); }

.btn-gold {
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 28px; transition: background .3s;
}
.btn-gold:hover { background: var(--gold2); }

.btn-ghost {
  display: inline-flex; align-items: center;
  border: 1px solid var(--green); color: var(--green);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 28px; background: transparent; transition: all .3s;
}
.btn-ghost:hover { background: var(--green); color: var(--cream); }

.btn-ghost-white {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255,255,255,.45); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 28px; background: transparent; transition: all .3s;
}
.btn-ghost-white:hover { border-color: var(--gold); color: var(--gold); }

/* ══ FOOTER ═══════════════════════════════════════════ */
.site-footer {
  background: var(--green);
  padding: 32px 52px 0;
}
.footer-top {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 16px;
}
.footer-dpg-stack { display: flex; align-items: center; }
.footer-dpg-stack .dpg-logo { height: 50px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-rfi-logo { height: 26px; width: auto; }
.footer-rog-name { height: 32px; width: auto; margin-top: 14px; mix-blend-mode: screen; }
.footer-prop-address {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}
.footer-prop-price { font-size: .82rem; color: rgba(255,255,255,.4); margin-top: 4px; margin-bottom: 16px; }
.footer-agents-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-agent-name { font-family: var(--serif); font-size: .95rem; color: #fff; margin-bottom: 2px; }
.footer-agent-name em { font-style: italic; color: var(--gold); }
.footer-rfi-name em { color: #8BAED4; }
.footer-agent-title { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 8px; }
.footer-agent-contact a { display: block; font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 2px; transition: color .2s; }
.footer-agent-contact a[href^="tel"] { font-size: 1.56rem; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.footer-agent-contact a:hover { color: var(--gold); }
.footer-rfi-contact a:hover { color: #8BAED4; }
.footer-rfi-contact a[href^="tel"]:hover { color: #8BAED4; }
.footer-dre { font-size: .6rem; color: rgba(255,255,255,.2); letter-spacing: .04em; line-height: 1.8; margin-top: 24px; }
.footer-bottom {
  padding: 20px 0;
  font-size: .58rem;
  color: rgba(255,255,255,.18);
  letter-spacing: .06em;
  text-align: center;
}

/* ══ REVEAL ════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══ RESPONSIVE ════════════════════════════════════════ */
@media (max-width: 768px) {
  .oh-strip { padding: 0 20px; }
  .oh-strip-time, .oh-strip-sep { display: none; }
  .nav { padding: 0 24px; height: 64px; }
  .nav-links { display: none; }
  .container, .container-narrow { padding: 0 24px; }
  .site-footer { padding: 48px 24px 0; }
  .footer-agents-row { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo-row { flex-wrap: wrap; gap: 24px; }
}
