/* =========================================================
   SOUTH FLORIDA RESIDENCES — Luxury Real Estate Directory
   Aesthetic: Editorial / Refined / Architectural
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Italiana&display=swap');

:root {
  --ink: #1a1a1a;
  --ink-soft: #2c2c2c;
  --paper: #fafaf7;
  --paper-warm: #f4f1ea;
  --gold: #a8895d;
  --gold-deep: #8a6f44;
  --slate: #5a5a5a;
  --line: #d8d4ca;
  --shadow-soft: 0 2px 12px rgba(0,0,0,.04);
  --shadow-card: 0 8px 32px rgba(0,0,0,.08);
  
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-accent: 'Italiana', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --max-w: 1400px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Ensure no element accidentally pushes layout wider than the viewport */
img, video, iframe, svg { max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .7; }

img { max-width: 100%; display: block; }

/* ============== TOP BAR ============== */
.topbar {
  background: var(--ink);
  color: var(--paper);
  padding: .5rem var(--gutter);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .socials { display: flex; gap: 1rem; }
.topbar .socials a { font-size: 11px; }

/* ============== HEADER ============== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem var(--gutter);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(250, 250, 247, 0.95);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  letter-spacing: .15em;
  color: var(--ink);
  line-height: 1;
}
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--slate);
  margin-top: 4px;
  font-weight: 400;
}
nav.primary ul {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}
nav.primary a {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding: .25rem 0;
}
nav.primary a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s;
}
nav.primary a:hover { opacity: 1; color: var(--gold-deep); }
nav.primary a:hover::after { width: 100%; }
nav.primary a.active::after { width: 100%; }

.header-cta {
  background: var(--ink);
  color: var(--paper);
  padding: .75rem 1.5rem;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.header-cta:hover { background: var(--gold-deep); opacity: 1; }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)),
    url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?w=1920') center/cover;
  color: var(--paper);
  padding: 0 var(--gutter);
}
.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--paper);
  opacity: .85;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero p.lead {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  opacity: .9;
  font-weight: 300;
}

/* Hero search bar */
.hero-search {
  background: var(--paper);
  color: var(--ink);
  padding: 1.25rem;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow-card);
}
.hero-search > * {
  background: var(--paper);
  padding: 1rem 1.25rem;
}
.hero-search label {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: .35rem;
}
.hero-search select, .hero-search input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  color: var(--ink);
  outline: none;
}
.hero-search button {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0 2rem;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
}
.hero-search button:hover { background: var(--gold-deep); }

/* ============== SECTION DEFAULTS ============== */
section { padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.container { max-width: var(--max-w); margin: 0 auto; }

/* Mobile-safety: prevent any iframe or wide element from causing horizontal wobble */
iframe { max-width: 100%; }
@media (max-width: 768px) {
  /* Guard rails: stop ANY section/aside from pushing past the viewport */
  body > * { max-width: 100vw; }
  /* Tables and pre blocks can overflow on narrow screens — make them scroll inside */
  pre, table { max-width: 100%; overflow-x: auto; }
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.section-head .eyebrow {
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  display: inline-block;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--slate);
}

/* ============== FEATURED DEVELOPMENTS GRID ============== */
.featured {
  background: var(--paper-warm);
}
.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.dev-card {
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s, box-shadow .4s;
  display: flex;
  flex-direction: column;
}
.dev-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.dev-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--line);
}
.dev-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s;
}
.dev-card:hover .dev-card-img img { transform: scale(1.05); }
.dev-card-body { padding: 1.75rem; }
.dev-card .city {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .5rem;
}
.dev-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: .5rem;
  color: var(--ink);
}
.dev-card .price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--slate);
  font-style: italic;
}
.dev-card-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: .05em;
}

/* ============== DIRECTORY A-Z ============== */
.directory {
  background: var(--paper);
}
.az-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.az-bar a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  border: 1px solid transparent;
  transition: all .2s;
}
.az-bar a:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  opacity: 1;
}

.dir-grid {
  columns: 4;
  column-gap: 3rem;
  font-size: 14px;
}
.dir-grid .letter-group { break-inside: avoid; margin-bottom: 2rem; }
.dir-grid h4 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
  line-height: 1;
}
.dir-grid ul { list-style: none; }
.dir-grid li { margin-bottom: .5rem; }
.dir-grid li a {
  color: var(--ink-soft);
  font-size: 13px;
  display: block;
  padding: 2px 0;
}
.dir-grid li a:hover { color: var(--gold-deep); }
.dir-grid li small {
  display: block;
  font-size: 10px;
  color: var(--slate);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ============== CITIES SECTION ============== */
.cities {
  background: var(--ink);
  color: var(--paper);
}
.cities .section-head h2 { color: var(--paper); }
.cities .section-head p { color: rgba(250,250,247,.7); }

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.city-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}
.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.city-card:hover img { transform: scale(1.08); }
.city-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.8));
}
.city-card-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  color: var(--paper);
}
.city-card-label h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: .25rem;
}
.city-card-label span {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============== NEWS PREVIEW ============== */
.news-preview {
  background: var(--paper-warm);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.news-item img {
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 1.5rem;
}
.news-item .meta {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .75rem;
}
.news-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: .75rem;
}
.news-item p {
  color: var(--slate);
  font-size: 14px;
}

/* ============== CTA BANNER ============== */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner h2 em { color: var(--gold); font-style: italic; }
.cta-banner p { max-width: 540px; margin: 0 auto 2.5rem; opacity: .8; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 1rem 2.5rem;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { background: var(--paper); opacity: 1; }
.btn-outline {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper);
}
.btn-outline:hover { background: var(--paper); color: var(--ink); }

/* ============== FOOTER ============== */
footer {
  background: #ffffff;
  color: var(--slate, #555);
  padding: 5rem var(--gutter) 2rem;
  border-top: 1px solid var(--line, #e5e5e5);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.footer-brand .logo { color: var(--ink, #1a1a1a); margin-bottom: 1rem; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 320px; color: var(--slate, #555); }
footer h5 {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: .6rem; }
footer ul a { font-size: 13px; color: var(--slate, #555); }
footer ul a:hover { color: var(--gold, #b39256); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate, #888);
  background: #ffffff;
}

/* Logos in footer brand area + bottom-right brokerage logo */
.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-logo-site img,
.footer-logo-brokerage img {
  max-height: 56px;
  width: auto;
  display: block;
}
.footer-logo-site .logo,
.footer-logo-site img {
  margin: 0;
}
.footer-bottom-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-bottom-logos img {
  max-height: 36px;
  width: auto;
  display: block;
  opacity: .85;
}
@media (max-width: 700px) {
  .footer-logos { gap: 1rem; }
  .footer-logo-site img,
  .footer-logo-brokerage img { max-height: 44px; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============== PROPERTY PAGE ============== */
.property-hero {
  position: relative;
  height: 80vh;
  background: var(--ink);
  color: var(--paper);
}
.property-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}
.property-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5rem;
}
.property-hero .city-tag {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.property-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 1rem;
}
.property-hero .price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
}

.property-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.property-main h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}
.property-main h2:first-child { margin-top: 0; }
.property-main p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.property-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 2rem 0;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}
.stat .label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
}
.amenities-list {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}
.amenities-list li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  break-inside: avoid;
}
.amenities-list li::before {
  content: '◆';
  color: var(--gold);
  margin-right: .75rem;
  font-size: 10px;
}

/* Sidebar contact card */
.contact-card {
  position: sticky;
  top: 6rem;
  background: var(--paper-warm);
  padding: 2.5rem;
  border-top: 3px solid var(--gold);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.contact-card form { display: flex; flex-direction: column; gap: 1rem; }
.contact-card input, .contact-card textarea {
  border: none;
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  font-family: var(--font-body);
  font-size: 14px;
  background: transparent;
  outline: none;
  color: var(--ink);
}
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--gold); }
.contact-card textarea { resize: vertical; min-height: 80px; }
.contact-card button {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 1rem;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
  font-family: var(--font-body);
}
.contact-card button:hover { background: var(--gold-deep); }

/* ============== SEARCH PAGE ============== */
.search-page {
  padding-top: 3rem;
}
.search-page h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: .5rem;
}
.search-page .subtitle {
  text-align: center;
  color: var(--slate);
  margin-bottom: 3rem;
}

.search-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.filter-panel {
  background: var(--paper-warm);
  padding: 2rem;
  border-top: 3px solid var(--gold);
  height: fit-content;
  position: sticky;
  top: 6rem;
}
.filter-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.filter-group { margin-bottom: 1.75rem; }
.filter-group label {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: .5rem;
}
.filter-group select, .filter-group input {
  width: 100%;
  padding: .75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--gold); }
.price-range { display: flex; gap: .5rem; align-items: center; }
.price-range span { color: var(--slate); font-size: 12px; }

/* ============== BLOG/NEWS PAGE ============== */
.blog-hero {
  background: var(--paper-warm);
  padding: 6rem var(--gutter) 4rem;
  text-align: center;
}
.blog-hero .eyebrow {
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}
.blog-list {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 4rem;
}
.blog-post {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}
.blog-post:last-child { border-bottom: none; }
.blog-post img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.blog-post .post-meta {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.blog-post h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.blog-post p {
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.read-more {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  font-weight: 500;
}

/* ============== CONTACT PAGE ============== */
.contact-hero {
  background: var(--paper-warm);
  padding: 6rem var(--gutter) 4rem;
  text-align: center;
}
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}
.contact-info .info-block { margin-bottom: 2rem; }
.contact-info .info-label {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .5rem;
}
.contact-info .info-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.contact-form-block {
  background: var(--paper-warm);
  padding: 3rem;
  border-top: 3px solid var(--gold);
}
.contact-form-block .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-form-block input,
.contact-form-block textarea,
.contact-form-block select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  color: var(--ink);
}
.contact-form-block input:focus,
.contact-form-block textarea:focus { border-color: var(--gold); }
.contact-form-block textarea { min-height: 120px; resize: vertical; }
.contact-form-block button {
  margin-top: 1.5rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1.1rem 3rem;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.contact-form-block button:hover { background: var(--gold-deep); }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  nav.primary { display: none; }
  .header-cta { display: none; }
  
  .hero-search { grid-template-columns: 1fr; }
  .hero-search button { padding: 1rem; }
  
  .footer-inner { grid-template-columns: 1fr 1fr; }
  
  .news-grid { grid-template-columns: 1fr; }
  
  .property-body { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  
  .search-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  
  .blog-post { grid-template-columns: 1fr; }
  
  .contact-layout { grid-template-columns: 1fr; }
  
  .dir-grid { columns: 2; }
  
  .property-stats { grid-template-columns: repeat(2, 1fr); }
  
  .amenities-list { columns: 1; }
  
  .contact-form-block .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar .socials { display: none; }
  .dir-grid { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============== ANIMATIONS ============== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .8s ease-out forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

/* ============================================================
   Connector / Directory styles (homepage, archive, search, etc.)
   ============================================================ */

/* Make every link visibly interactive */
a { cursor: pointer; }
a:hover { opacity: .85; }

/* Card-wrapper anchors (county cards, building cards, city tiles) */
a.county-card, a.building-card, a.city-tile {
  display: block;
  cursor: pointer;
  color: inherit;
}
a.county-card:hover, a.building-card:hover, a.city-tile:hover {
  text-decoration: none;
}

/* Header CTA pointer */
.header-cta, button, .btn, [role="button"] { cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%); color: #fff; padding: 96px 24px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1571939228382-b2f2b585ce15?w=1920') center/cover; opacity: .35; }
.hero-inner { max-width: 900px; margin: 0 auto; position: relative; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 300; letter-spacing: -.02em; margin: 0 0 16px; line-height: 1.1; }
.hero p { font-size: 18px; color: rgba(255,255,255,.85); margin: 0 0 32px; font-weight: 300; }
.hero .stat-row { display: flex; justify-content: center; gap: 48px; margin: 32px 0 16px; flex-wrap: wrap; }
.hero .stat { text-align: center; }
.hero .stat-num { font-size: 32px; font-weight: 300; color: var(--gold, #b39256); display: block; }
.hero .stat-label { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.btn { padding: 14px 32px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: all .2s; border: 1px solid transparent; display: inline-block; text-decoration: none; }
.btn-primary { background: var(--gold, #b39256); color: #fff; }
.btn-primary:hover { background: #a07f47; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-secondary:hover { border-color: #fff; }

.section-header { max-width: 1280px; margin: 0 auto 48px; text-align: center; padding: 80px 24px 0; }
.section-header .eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold, #b39256); margin-bottom: 12px; }
.section-header h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; margin: 0 0 12px; letter-spacing: -.02em; }
.section-header p { color: var(--slate, #555); font-size: 16px; max-width: 600px; margin: 0 auto; }

.counties-grid { max-width: 1280px; margin: 0 auto 80px; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.county-card { background: #fff; border: 1px solid var(--line, #e5e5e5); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.county-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.county-card img { height: 240px; width: 100%; object-fit: cover; }
.county-card-body { padding: 28px; }
.county-card h3 { font-size: 24px; font-weight: 500; margin: 0 0 8px; }
.county-card p { color: var(--slate, #555); font-size: 14px; margin: 0 0 16px; line-height: 1.6; }
.county-card .meta { font-size: 12px; color: var(--gold, #b39256); letter-spacing: .1em; text-transform: uppercase; }
.county-card-cta { display: inline-block; margin-top: 16px; padding: 10px 20px; background: var(--ink, #1a1a1a); color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.county-card-cta:hover { background: var(--gold, #b39256); }

.featured-grid, .directory-grid { max-width: 1280px; margin: 0 auto 80px; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.building-card { background: #fff; border: 1px solid var(--line, #e5e5e5); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.building-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.building-card .img-wrap { height: 220px; position: relative; overflow: hidden; }
.building-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.building-card:hover img { transform: scale(1.05); }
.building-card .city-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.95); padding: 4px 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink, #1a1a1a); }
.building-card-body { padding: 24px; }
.building-card h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px; line-height: 1.3; }
.building-card .tagline { font-size: 13px; color: var(--slate, #555); line-height: 1.5; margin: 0 0 16px; min-height: 40px; }
.building-card .stats { font-size: 12px; color: var(--gold, #b39256); letter-spacing: .08em; text-transform: uppercase; border-top: 1px solid var(--line, #e5e5e5); padding-top: 12px; }

.cities-grid { max-width: 1280px; margin: 0 auto 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line, #e5e5e5); }
.city-tile { background: #fff; padding: 24px; transition: background .2s; }
.city-tile:hover { background: var(--paper, #fafaf9); }
.city-tile h4 { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.city-tile span { font-size: 12px; color: var(--slate, #555); }

.filter-bar { max-width: 1280px; margin: 0 auto 32px; padding: 20px 24px; border-bottom: 1px solid var(--line, #e5e5e5); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.filter-bar input, .filter-bar select { padding: 10px 14px; border: 1px solid var(--line, #e5e5e5); font-family: inherit; font-size: 14px; background: #fff; flex: 1; min-width: 180px; }
.filter-bar input:focus, .filter-bar select:focus { outline: 2px solid var(--gold, #b39256); }
.results-count { color: var(--slate, #555); font-size: 13px; margin-left: auto; }

/* Top bar */
.top-bar { background: var(--ink, #1a1a1a); color: #fff; padding: 8px 24px; font-size: 12px; }
.top-bar .top-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.top-bar .socials a { color: rgba(255,255,255,.7); margin-left: 16px; }

/* Site header (when not overridden by main stylesheet) */
.site-header { border-bottom: 1px solid var(--line, #e5e5e5); padding: 18px 24px; background: #fff; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 700; font-size: 18px; letter-spacing: .02em; text-decoration: none; color: inherit; }
.logo small { display: block; font-size: 10px; font-weight: 400; color: var(--slate, #555); letter-spacing: .15em; text-transform: uppercase; margin-top: 2px; }
.primary ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; }
.primary a { font-size: 14px; font-weight: 500; }
.primary a:hover { color: var(--gold, #b39256); }
.primary a.active, .primary .current-menu-item a { color: var(--gold, #b39256); }
.header-cta { background: var(--ink, #1a1a1a); color: #fff; border: 0; padding: 10px 20px; font-size: 13px; font-weight: 500; cursor: pointer; letter-spacing: .04em; text-decoration: none; }
.header-cta:hover { background: var(--gold, #b39256); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }
@media (max-width: 800px) {
  .primary { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
}

/* Footer */
footer { background: #ffffff; color: var(--slate, #555); padding: 80px 24px 32px; border-top: 1px solid var(--line, #e5e5e5); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; background: #ffffff; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
footer .logo { color: var(--ink, #1a1a1a); }
footer .footer-brand p { color: var(--slate, #555); font-size: 14px; line-height: 1.7; margin: 16px 0 0; }
footer h5 { color: var(--ink, #1a1a1a); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: var(--slate, #555); font-size: 14px; text-decoration: none; }
footer a:hover { color: var(--gold, #b39256); }
.footer-bottom { max-width: 1280px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line, #e5e5e5); display: flex; justify-content: space-between; font-size: 12px; color: var(--slate, #888); background: #ffffff; }

/* Contact form */
.contact-form { max-width: 600px; margin: 0 auto 80px; padding: 0 24px; }
.contact-form .field { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line, #e5e5e5); font-family: inherit; font-size: 15px; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { background: var(--ink, #1a1a1a); color: #fff; border: 0; padding: 14px 36px; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.contact-form button:hover { background: var(--gold, #b39256); }

/* ============================================================

/* ============================================================================
   ARIA RESERVE-STYLE BUILDING PAGE SECTIONS
   Hero, About+Sidebar, Gallery, Video, Floor Plans + Modals,
   Location, Lifestyle, Investment, Process, FAQ, CTA, Trust
   ============================================================================ */

:root {
  --gold-deep: #8c6f3c;
  --ink-soft: #4a4a4a;
  --gutter: 24px;
}

/* ---------- Property hero ---------- */
.property-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1080px;
  overflow: hidden;
  background: var(--ink, #1a1a1a);
}
.property-hero img,
.property-hero .hero-bg-video,
.property-hero .hero-bg-youtube {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.property-hero .hero-bg-video, .property-hero .hero-bg-youtube { z-index: 1; pointer-events: none; }
.property-hero .hero-bg-youtube { overflow: hidden; }
.property-hero .hero-bg-youtube iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh; min-width: 100%;
  height: 56.25vw; min-height: 100%;
  z-index: 2; pointer-events: none;
}
.property-hero .hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  z-index: 3;
}
.property-hero .hero-content > * { max-width: var(--max-w, 1280px); margin: 0 auto; }
.property-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  line-height: 1;
}
.property-hero h1 .h1-subtitle {
  display: block;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 14px;
}
.property-hero .hero-address {
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.property-hero .hero-tagline {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 0 16px;
}
.property-hero .hero-price {
  display: inline-block;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold, #b39256);
  border: 1px solid rgba(255,255,255,.3);
  padding: 10px 24px;
  background: rgba(0,0,0,.3);
  margin-top: 24px;
}
.property-hero .hero-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 24px;
}
.property-hero .hero-cta {
  display: inline-flex; align-items: center;
  padding: 14px 28px;
  font-size: 13px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px;
  transition: all .2s; white-space: nowrap;
}
.property-hero .hero-cta-primary { background: var(--gold, #b39256); color: #fff; }
.property-hero .hero-cta-primary:hover { background: #c9a570; }
.property-hero .hero-cta-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.property-hero .hero-cta-secondary:hover { background: rgba(255,255,255,.95); color: var(--ink, #1a1a1a); border-color: #fff; }
@media (max-width: 600px) {
  .property-hero .hero-cta-row { flex-direction: column; gap: 8px; }
  .property-hero .hero-cta { width: 100%; justify-content: center; }
}

/* ---------- About section ---------- */
.about-section { padding: 80px 24px; background: #fff; }
.about-wrap { max-width: var(--max-w, 1280px); margin: 0 auto; }
.about-wrap h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 0 40px;
}
.about-wrap h2 em { color: var(--gold, #b39256); font-style: normal; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin: 0 0 48px;
  padding: 24px 0;
  border-top: 1px solid var(--line, #e5e5e5);
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.about-stats .stat strong {
  font-size: 32px;
  font-weight: 300;
  display: block;
  color: var(--ink, #1a1a1a);
}
.about-stats .stat span {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate, #555);
}
.about-intro, .about-detail {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate, #555);
  max-width: 800px;
  margin: 0 0 24px;
}
.about-credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #e5e5e5);
}
.about-credits > div { font-size: 14px; }
.about-credits strong {
  display: block;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate, #555);
  margin-bottom: 4px;
  font-weight: 600;
}

/* ---------- Gallery (Armani Casa style) ---------- */
.gallery-section {
  padding: clamp(4rem, 7vw, 6rem) 24px;
  background: #f5f1e8; /* paper-warm */
}
.gallery-wrap { max-width: var(--max-w, 1280px); margin: 0 auto; }
.gallery-wrap h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin: 0 0 2.5rem;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.gallery-wrap h2 em { color: var(--gold, #b39256); font-style: italic; }

.gallery-main {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink, #1a1a1a);
  overflow: hidden;
  margin-bottom: 1rem;
}
.gallery-main .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.gallery-main .slide.active {
  opacity: 1;
  pointer-events: auto;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.gallery-main .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: .01em;
}

/* Glassmorphic nav arrows */
.gallery-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: 0;
  width: 56px; height: 56px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background .3s, color .3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.gallery-nav:hover {
  background: var(--gold, #b39256);
  color: var(--ink, #1a1a1a);
}
.gallery-nav.prev { left: 1.5rem; }
.gallery-nav.next { right: 1.5rem; }

/* Glassmorphic counter */
.gallery-counter {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(0,0,0,.4);
  color: #fff;
  padding: .5rem 1rem;
  font-size: 11px;
  letter-spacing: .2em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

/* 6-column thumbnail strip */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
.gallery-thumbs .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  transition: opacity .3s, transform .3s;
}
.gallery-thumbs .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-thumbs .thumb:hover { opacity: .85; }
.gallery-thumbs .thumb:hover img { transform: scale(1.08); }
.gallery-thumbs .thumb.active {
  opacity: 1;
  outline: 2px solid var(--gold, #b39256);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .gallery-nav { width: 44px; height: 44px; }
  .gallery-nav.prev { left: .75rem; }
  .gallery-nav.next { right: .75rem; }
  .gallery-main .caption { padding: 1rem; font-size: 1rem; }
}

/* ---------- Amenities & Features ---------- */
.amenities-section, .features-section { padding: 80px 24px; }
.amenities-section { background: #fff; }
.features-section { background: var(--paper, #fafaf9); }
.amenities-wrap, .features-wrap { max-width: var(--max-w, 1280px); margin: 0 auto; }
.amenities-wrap h2, .features-wrap h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  margin: 0 0 32px;
  letter-spacing: -.02em;
}
.amenities-wrap h2 em, .features-wrap h2 em { color: var(--gold, #b39256); font-style: italic; }
.amenities-list, .features-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 32px;
}
.amenities-list li, .features-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line, #e5e5e5);
  position: relative;
  font-size: 15px;
  color: var(--slate, #555);
}
.amenities-list li::before, .features-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 12px;
  color: var(--gold, #b39256);
  font-weight: 600;
}

/* ---------- Video section (light theme, Aria-style) ---------- */
.video-section { padding: 6rem 24px; background: #fff; }
.video-wrap { max-width: 1000px; margin: 0 auto; }
.video-header { text-align: center; margin-bottom: 3rem; }
.video-header .eyebrow {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep, #8c6f3c);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}
.video-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.video-header h2 em { color: var(--gold, #b39256); font-style: italic; }
.video-header p {
  color: var(--slate, #555);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.video-player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.video-poster {
  width: 100%; height: 100%; object-fit: cover;
}
.video-poster-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.video-player:hover .video-poster-overlay { background: rgba(0,0,0,.3); }
.video-play-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gold, #b39256);
  position: relative;
  transition: transform .3s;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.video-play-btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 16px 0 16px 24px;
  border-color: transparent transparent transparent #fff;
}
.video-player:hover .video-play-btn { transform: scale(1.1); }
.video-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.video-info .title { font-size: 1rem; font-weight: 500; letter-spacing: .01em; }
.video-info .duration {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .8;
}

/* ---------- Floor Plans (Aria-style grid + cards) ---------- */
.floorplans-section { padding: 6rem 24px; background: var(--paper, #fafaf9); }
.floorplans-wrap { max-width: var(--max-w, 1280px); margin: 0 auto; }
.fp-header { margin-bottom: 3rem; max-width: 720px; }
.fp-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
}
.fp-header h2 em { color: var(--gold, #b39256); font-style: italic; }
.fp-header p {
  font-size: 16px;
  color: var(--slate, #555);
  line-height: 1.6;
  margin: 0;
}

.fp-cta-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.fp-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-filter {
  background: transparent;
  border: 1px solid var(--line, #d4d4d4);
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  color: var(--slate, #555);
}
.fp-filter:hover {
  border-color: var(--ink, #1a1a1a);
  color: var(--ink, #1a1a1a);
}
.fp-filter.active {
  background: var(--ink, #1a1a1a);
  color: #fff;
  border-color: var(--ink, #1a1a1a);
}
.fp-count {
  font-size: 12px;
  color: var(--slate, #888);
  letter-spacing: .05em;
}

.fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.fp-card {
  background: #fff;
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.fp-card.hidden { display: none; }
.fp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.fp-card-img {
  background: var(--paper, #fafaf9);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.fp-card-img img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.fp-card-body { padding: 1.5rem; }
.fp-card-body h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--ink, #1a1a1a);
  letter-spacing: -.01em;
}
.fp-card .fp-sub {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--slate, #888);
  margin-bottom: 1rem;
}
.fp-card-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold-deep, #8c6f3c);
  margin: 1rem 0;
}
.fp-card-stats {
  display: flex; gap: 1.25rem;
  border-top: 1px solid var(--line, #e5e5e5);
  padding-top: 1rem;
  font-size: 12px;
  color: var(--slate, #555);
  letter-spacing: .03em;
}
.fp-card-stats strong { color: var(--ink, #1a1a1a); font-weight: 600; }

.fp-section-cta {
  margin-top: 2.5rem;
  text-align: center;
}
.fp-section-cta .open-pricelist {
  background: var(--ink, #1a1a1a);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.fp-section-cta .open-pricelist:hover { background: var(--gold, #b39256); }

/* ---------- Modal overlay (floor plan detail + price list capture) ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, .92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  max-width: 900px;
  width: 100%;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  position: relative;
  max-height: 90vh;
}
.modal-small {
  max-width: 500px;
  grid-template-columns: 1fr;
}
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: rgba(255,255,255,.92);
  border: 0;
  font-size: 28px;
  line-height: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  color: var(--ink, #1a1a1a);
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--gold, #b39256); color: #fff; }
.modal-image {
  background: var(--paper, #fafaf9);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  min-height: 400px;
}
.modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.modal-body {
  padding: 2.5rem 2rem;
  overflow-y: auto;
}
.modal-body h3 {
  font-size: 1.75rem;
  font-weight: 300;
  margin: 0 0 .25rem;
  letter-spacing: -.01em;
}
.modal-sub {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep, #8c6f3c);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.modal-specs {
  display: flex; gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line, #e5e5e5);
  border-bottom: 1px solid var(--line, #e5e5e5);
  font-size: 13px;
  color: var(--slate, #555);
  margin-bottom: 1.5rem;
}
.modal-specs strong { color: var(--ink, #1a1a1a); font-weight: 600; }
.modal-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate, #555);
  margin: 0 0 1.5rem;
}
.modal-price {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-deep, #8c6f3c);
  margin-bottom: 2rem;
}
.modal-actions {
  display: flex; flex-direction: column; gap: .75rem;
}
.modal-actions button,
.modal-actions a.modal-action-primary {
  display: inline-block;
  background: var(--ink, #1a1a1a);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.modal-actions button:hover, .modal-actions a.modal-action-primary:hover { background: var(--gold, #b39256); }
.modal-actions .secondary {
  background: transparent;
  color: var(--ink, #1a1a1a);
  border: 1px solid var(--ink, #1a1a1a);
}
.modal-actions .secondary:hover { background: var(--ink, #1a1a1a); color: #fff; }

#pricelist-form { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 1rem; }
#pricelist-form input {
  padding: .9rem 1rem;
  border: 1px solid var(--line, #e5e5e5);
  font-size: 14px;
  font-family: inherit;
  border-radius: 2px;
}
#pricelist-form input:focus { outline: 0; border-color: var(--gold, #b39256); }
#pricelist-form button {
  background: var(--ink, #1a1a1a);
  color: #fff;
  padding: 1rem;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
#pricelist-form button:hover { background: var(--gold, #b39256); }
.modal .legal {
  font-size: 11px;
  color: var(--slate, #888);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .modal { grid-template-columns: 1fr; max-height: 95vh; }
  .modal-image { min-height: 280px; padding: 1.5rem; }
  .modal-body { padding: 1.75rem 1.5rem; }
}

/* ---------- Lightbox (gallery full-screen) ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.95);
  z-index: 10000;
  display: none;
  align-items: center; justify-content: center;
  padding: 3rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Location section ---------- */
.location-section { padding: 6rem 24px; background: #fff; }
.location-wrap { max-width: var(--max-w, 1280px); margin: 0 auto; }
.location-header { margin-bottom: 3rem; }
.location-address {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep, #8c6f3c);
  font-weight: 600;
  margin-bottom: 1rem;
}
.location-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}
.location-header h2 em { color: var(--gold, #b39256); font-style: italic; }
.location-header > div > p {
  font-size: 15px;
  color: var(--slate, #555);
  margin: 0;
}
.location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.map-container {
  border-radius: 4px;
  overflow: hidden;
  min-height: 420px;
  background: var(--paper, #fafaf9);
}
.map-container iframe {
  width: 100%; height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.nearby-panel {
  background: var(--paper, #fafaf9);
  border: 1px solid var(--line, #e5e5e5);
  padding: 2rem;
  border-radius: 4px;
  display: flex; flex-direction: column;
}
.nearby-panel h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 .25rem;
  letter-spacing: -.01em;
}
.nearby-panel > p {
  font-size: 13px;
  color: var(--slate, #555);
  margin: 0 0 1.5rem;
}
.nearby-list { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.nearby-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
  font-size: 14px;
  gap: 1rem;
}
.nearby-list li:last-child { border-bottom: 0; }
.nearby-list .place-name { display: block; color: var(--ink, #1a1a1a); font-weight: 500; }
.nearby-list .place-desc {
  display: block;
  font-size: 12px;
  color: var(--slate, #888);
  margin-top: 2px;
}
.nearby-list .place-distance {
  color: var(--gold-deep, #8c6f3c);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 13px;
}
.directions-btn {
  display: inline-block;
  color: var(--ink, #1a1a1a);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .75rem 0;
  border-top: 1px solid var(--line, #e5e5e5);
  transition: color .2s;
}
.directions-btn:hover { color: var(--gold, #b39256); }

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .map-container, .map-container iframe { min-height: 280px; }
}

/* ---------- Lifestyle section ---------- */
/* ---------- Lifestyle section (featured asymmetric grid) ---------- */
.lifestyle-section { padding: 6rem 24px; background: var(--paper, #fafaf9); position: relative; }
.lifestyle-wrap { max-width: var(--max-w, 1280px); margin: 0 auto; }
.lifestyle-header {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.lifestyle-header .eyebrow,
.investment-header .eyebrow,
.process-header .eyebrow,
.faq-header .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep, #8c6f3c);
  font-weight: 600;
  margin-bottom: 1rem;
}
.lifestyle-header h2,
.investment-header h2,
.process-header h2,
.faq-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.lifestyle-header h2 em,
.investment-header h2 em,
.process-header h2 em,
.faq-header h2 em {
  color: var(--gold, #b39256); font-style: italic;
}
.lifestyle-header p,
.process-header p,
.faq-header p {
  font-size: 16px;
  color: var(--slate, #555);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 600px;
}

/* Featured asymmetric grid: first card spans 2 columns and 2 rows */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
  counter-reset: lifestyle-counter;
}
.lifestyle-item {
  background: #fff;
  padding: 2.25rem 2rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  border: 1px solid transparent;
  counter-increment: lifestyle-counter;
  display: flex;
  flex-direction: column;
}
.lifestyle-item::before {
  /* Subtle gold accent bar that animates in on hover */
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold, #b39256);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.lifestyle-item::after {
  /* Tiny numeric eyebrow above the title */
  content: counter(lifestyle-counter, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: .25em;
  font-weight: 600;
  color: var(--gold-deep, #8c6f3c);
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  opacity: .7;
}
.lifestyle-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.07);
  border-color: var(--line, #e5e5e5);
}
.lifestyle-item:hover::before {
  transform: scaleY(1);
}
.lifestyle-item h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 1rem;
  letter-spacing: -.01em;
  color: var(--ink, #1a1a1a);
  line-height: 1.3;
  padding-right: 2.5rem; /* leave room for the corner number */
}
.lifestyle-item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--slate, #555);
  margin: 0;
  flex: 1;
}

/* First item: featured — larger, with background image + dark gradient overlay */
.lifestyle-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  color: #fff;
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  background-color: var(--ink, #1a1a1a);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.lifestyle-item:first-child > * {
  position: relative;
  z-index: 2;
}
.lifestyle-item:first-child::before {
  /* Replace the gold accent bar with a full dark gradient overlay */
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.55) 45%,
    rgba(0,0,0,.15) 100%
  );
  transform: none;
  z-index: 1;
  transition: opacity .35s;
}
.lifestyle-item:first-child::after {
  content: none;
}
.lifestyle-item:first-child h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 300;
  color: #fff;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  padding-right: 0;
}
.lifestyle-item:first-child p {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  max-width: 480px;
}
.lifestyle-item:first-child:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,.25);
}
.lifestyle-item:first-child:hover::before {
  /* Slightly intensify gradient on hover */
  opacity: .9;
}

@media (max-width: 960px) {
  .lifestyle-grid { grid-template-columns: repeat(2, 1fr); }
  .lifestyle-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
    min-height: auto;
  }
}
@media (max-width: 600px) {
  .lifestyle-grid { grid-template-columns: 1fr; }
  .lifestyle-item:first-child { grid-column: span 1; padding: 2.5rem 2rem; }
}

/* ---------- Investment section ---------- */
.investment-section { padding: 6rem 24px; background: #fff; }
.investment-wrap { max-width: var(--max-w, 1280px); margin: 0 auto; }
.investment-header { margin-bottom: 3rem; }
.investment-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.investment-text h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2rem 0 .75rem;
  letter-spacing: -.01em;
  color: var(--ink, #1a1a1a);
}
.investment-text h3:first-child { margin-top: 0; }
.investment-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate, #555);
  margin: 0 0 1rem;
}
.investment-sidebar {
  background: var(--ink, #1a1a1a);
  color: #fff;
  padding: 2rem 1.75rem;
  border-radius: 4px;
  position: sticky;
  top: 2rem;
}
.investment-sidebar h4 {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold, #b39256);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.investment-sidebar ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.investment-sidebar ul li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  gap: 1rem;
}
.investment-sidebar ul li strong {
  color: #fff; font-weight: 500; text-align: right;
}
.investment-sidebar button {
  display: block;
  width: 100%;
  background: var(--gold, #b39256);
  color: #fff;
  padding: 1rem;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.investment-sidebar button:hover { background: #c9a570; }

@media (max-width: 900px) {
  .investment-content { grid-template-columns: 1fr; }
  .investment-sidebar { position: static; }
}

/* ---------- Process section ---------- */
.process-section { padding: 6rem 24px; background: var(--paper, #fafaf9); }
.process-wrap { max-width: 720px; margin: 0 auto; }
.process-header { margin-bottom: 3rem; text-align: center; }
.process-header .eyebrow { margin-bottom: 1rem; }
.process-header h2 { margin-bottom: 1rem; }
.process-header p { margin: 0 auto; max-width: 600px; }
.process-steps {
  list-style: none; padding: 0; margin: 0;
  counter-reset: process-counter;
}
.process-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line, #e5e5e5);
}
.process-steps li:last-child { border-bottom: 0; }
.step-num {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--ink, #1a1a1a);
  letter-spacing: -.02em;
  line-height: 1;
  min-width: 70px;
  font-variant-numeric: tabular-nums;
}
.step-body h3 {
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
  color: var(--ink, #1a1a1a);
}
.step-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate, #555);
  margin: 0;
}
@media (max-width: 768px) {
  .process-steps li { grid-template-columns: 1fr; gap: .75rem; padding: 1.5rem 0; }
  .step-num { font-size: 2rem; }
}

/* ---------- FAQ section ---------- */
.faq-section { padding: 6rem 24px; background: #fff; }
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-header { margin-bottom: 3rem; text-align: center; }
.faq-header .eyebrow { margin-bottom: 1rem; }
.faq-header h2 { margin-bottom: 1rem; }
.faq-header p { margin: 0 auto; max-width: 600px; }
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item { border-bottom: 1px solid var(--line, #e5e5e5); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -.005em;
  color: var(--ink, #1a1a1a);
  flex: 1;
  padding-right: 1rem;
  line-height: 1.4;
}
.faq-item summary:hover h3 { color: var(--gold, #b39256); }
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold, #b39256);
  transition: transform .2s;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 1.5rem;
  color: var(--slate, #555);
  font-size: 15px;
  line-height: 1.75;
  max-width: 880px;
}
.faq-answer p { margin: 0 0 .75rem; }
.faq-answer p:last-child { margin: 0; }

/* ---------- CTA Banner ---------- */
.cta-banner { padding: 5rem 24px; background: var(--ink, #1a1a1a); color: #fff; text-align: center; }
.cta-banner > div { max-width: var(--max-w, 1280px); margin: 0 auto; }
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  margin: 0 auto 1rem;
  max-width: 800px;
  color: #fff;
}
.cta-banner h2 em { color: var(--gold, #b39256); font-style: italic; }
.cta-banner p {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.cta-banner a, .cta-banner .btn {
  display: inline-block;
  background: var(--gold, #b39256);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.cta-banner a:hover { background: #c9a570; }

/* ---------- Trust section ---------- */
.trust-section { padding: 3rem 24px; background: var(--paper, #fafaf9); border-top: 1px solid var(--line, #e5e5e5); }
.trust-wrap, .trust-section > div { max-width: var(--max-w, 1280px); margin: 0 auto; }
.trust-section h2 {
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  text-align: center;
  margin: 0 0 1.5rem !important;
  color: var(--slate, #555);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.trust-item {
  text-align: center;
  font-size: 13px;
  color: var(--slate, #555);
  line-height: 1.5;
}
.trust-item strong {
  display: block;
  color: var(--ink, #1a1a1a);
  font-weight: 500;
  margin-bottom: 4px;
}
.trust-disclaimer {
  max-width: var(--max-w, 1280px);
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line, #e5e5e5);
  font-size: 11px;
  color: var(--slate, #888);
  line-height: 1.7;
  text-align: center;
}

/* ---------- Breadcrumb (kept from earlier) ---------- */
.breadcrumb-nav {
  background: #fff;
  border: 0;
  padding: 24px 0 8px;
  font-size: 13px;
}
.breadcrumb-inner { max-width: var(--max-w, 1280px); margin: 0 auto; padding: 0 24px; }
.breadcrumb-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb-list li { display: inline-flex; align-items: center; color: var(--slate, #555); letter-spacing: .02em; }
.breadcrumb-list li:not(:last-child)::after { content: '/'; margin: 0 10px; color: var(--line, #c4c4c4); font-weight: 300; }
.breadcrumb-list a { color: var(--slate, #555); text-decoration: none; transition: color .2s; }
.breadcrumb-list a:hover { color: var(--gold, #b39256); }
.breadcrumb-list li[aria-current="page"] { color: var(--ink, #1a1a1a); font-weight: 500; }

/* Defensive: wpautop interference */
.single-building-body p:empty,
.process-steps p:empty,
.lifestyle-grid p:empty,
.investment-content p:empty,
.location-grid p:empty,
.nearby-panel p:empty,
.faq-list p:empty,
.trust-grid p:empty { display: none; }
.process-steps li > p { display: contents; }
.lifestyle-grid > p { display: none; }
.lifestyle-item br { display: none; }
.nearby-list br { display: none; }
.faq-list > p { display: contents; }
.trust-grid > p { display: contents; }

/* ============================================================
   About section: 2-column with sticky contact card sidebar
   ============================================================ */
.property-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
  align-items: start;
}
.property-main { min-width: 0; }
.property-sidebar { min-width: 0; }

/* Sticky contact card */
.contact-card {
  position: sticky;
  top: 6rem;
  background: #f5f1e8;
  padding: 2.5rem;
  border-top: 3px solid var(--gold, #b39256);
  border-radius: 0;
}
.contact-card h3 {
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  letter-spacing: -.01em;
  color: var(--ink, #1a1a1a);
}
.contact-card-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-card-form input,
.contact-card-form textarea {
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding: .75rem 0;
  font-family: inherit;
  font-size: 14px;
  background: transparent;
  outline: none;
  color: var(--ink, #1a1a1a);
  width: 100%;
  border-radius: 0;
}
.contact-card-form input::placeholder,
.contact-card-form textarea::placeholder {
  color: rgba(0,0,0,.45);
}
.contact-card-form input:focus,
.contact-card-form textarea:focus {
  border-color: var(--gold, #b39256);
}
.contact-card-form textarea {
  resize: vertical;
  min-height: 80px;
}
.contact-card-form button {
  background: var(--ink, #1a1a1a);
  color: #fff;
  border: 0;
  padding: 1rem;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  margin-top: .5rem;
  transition: background .2s;
}
.contact-card-form button:hover {
  background: var(--gold-deep, #8c6f3c);
}
.contact-card .pricelist-link {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--ink, #1a1a1a);
  border: 1px solid var(--ink, #1a1a1a);
  padding: .85rem 1rem;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  margin-bottom: .5rem;
  transition: all .2s;
  text-align: center;
  text-decoration: none;
}
.contact-card .pricelist-link:hover {
  background: var(--ink, #1a1a1a);
  color: #fff;
}
.contact-card-fine {
  font-size: 11px;
  color: var(--slate, #777);
  letter-spacing: .05em;
  margin: 1rem 0 0;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .property-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-card {
    position: static;
  }
}

/* ============================================================
   Google Maps with Map/Street View tabs
   ============================================================ */
.map-container.map-tabs,
.map-container.map-js {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper, #fafaf9);
  min-height: 420px;
}
.map-container.map-tabs iframe,
.map-container.map-js iframe {
  width: 100%;
  border: 0;
  flex: 1;
  min-height: 380px;
  display: block;
}
.map-tab-nav {
  display: flex;
  gap: 0;
  background: #fff;
  border-bottom: 1px solid var(--line, #e5e5e5);
  flex-shrink: 0;
}
.map-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--slate, #555);
  transition: color .2s, border-color .2s;
  font-family: inherit;
}
.map-tab:hover {
  color: var(--ink, #1a1a1a);
}
.map-tab.active {
  color: var(--ink, #1a1a1a);
  border-bottom-color: var(--gold, #b39256);
}
.map-tab-panel {
  display: none;
  height: 100%;
  flex: 1;
}
.map-tab-panel.active {
  display: flex;
  flex-direction: column;
}
.map-tab-panel iframe { flex: 1; }

/* JavaScript API panes */
.map-js-stage {
  position: relative;
  flex: 1;
  min-height: 380px;
  display: flex;
  background: #f5f5f5;
}
.map-js-pane {
  display: none;
  width: 100%;
  height: 100%;
  flex: 1;
}
.map-js-pane.active { display: block; }
.map-container.map-js.split-view .map-js-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #c4c4c4;
}
.map-container.map-js.split-view .map-js-pane.active {
  display: block;
}

/* Address under "About [building]" heading */
.about-address {
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep, #8c6f3c);
  font-weight: 500;
  margin: -24px 0 32px;
}

/* ============================================================
   Nearby Projects carousel
   ============================================================ */
.nearby-projects-section {
  background: #ffffff;
  padding: clamp(4rem, 7vw, 6rem) 24px;
  position: relative;
  overflow: hidden;
}
.nearby-projects-wrap {
  max-width: var(--max-w, 1280px);
  margin: 0 auto;
}
.nearby-projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.nearby-projects-header .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-deep, #8c6f3c);
  font-weight: 600;
  margin-bottom: 12px;
}
.nearby-projects-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 .5rem;
}
.nearby-projects-header h2 em { color: var(--gold, #b39256); font-style: italic; }
.nearby-projects-header > div:first-child > p {
  max-width: 520px;
  font-size: 15px;
  color: var(--slate, #555);
  line-height: 1.6;
  margin: 0;
}
.nearby-projects-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.np-nav {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--line, #e5e5e5);
  color: var(--ink, #1a1a1a);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  border-radius: 50%;
  line-height: 1;
}
.np-nav:hover:not(:disabled) {
  background: var(--gold, #b39256);
  color: #fff;
  border-color: var(--gold, #b39256);
}
.np-nav:disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* The carousel = horizontally scrollable container; track = flex row */
.nearby-projects-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -24px;
  padding: 8px 24px 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.nearby-projects-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.nearby-projects-track {
  display: flex;
  gap: 24px;
}

.np-card {
  flex: 0 0 480px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.np-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: var(--gold, #b39256);
}
.np-card-img {
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  background: #eee;
}
.np-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  display: block;
}
.np-card:hover .np-card-img img {
  transform: scale(1.05);
}
.np-card-img-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #ddd, #c4c4c4);
}
.np-city-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.6);
  color: #fff;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 500;
}
.np-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.np-card-body h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -.01em;
  color: var(--ink, #1a1a1a);
  line-height: 1.3;
}
.np-card .np-tagline {
  color: var(--slate, #555);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1;
}
.np-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--slate, #777);
  letter-spacing: .03em;
  padding-top: 12px;
  border-top: 1px solid var(--line, #e5e5e5);
}
.np-card-meta .np-price {
  color: var(--gold-deep, #8c6f3c);
  font-weight: 500;
}

@media (max-width: 600px) {
  .np-card { flex-basis: 360px; }
  .nearby-projects-controls { display: none; } /* mobile uses native swipe */
}

/* ============================================================
   Location: Map + Street View side-by-side, Nearby panel below
   ============================================================ */
.location-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.location-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.map-pane {
  position: relative;
  min-height: 380px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper, #fafaf9);
  display: flex;
  flex-direction: column;
}
.map-pane-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 5;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.map-pane iframe {
  width: 100%;
  flex: 1;
  border: 0;
  display: block;
  min-height: 380px;
}
.map-pane-empty .map-pane-no-key {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  color: var(--slate, #555);
  font-size: 14px;
  line-height: 1.6;
  background: linear-gradient(135deg, #f0eee9, #e8e4da);
}
.map-pane-empty .map-pane-no-key p { margin: 0; max-width: 300px; }
.map-pane-empty .map-pane-no-key strong { color: var(--ink, #1a1a1a); }

/* The nearby panel becomes a full-width card below the maps */
.location-stack .nearby-panel {
  background: var(--paper, #fafaf9);
  border: 1px solid var(--line, #e5e5e5);
  border-radius: 4px;
  padding: 2rem 2.5rem;
}

@media (max-width: 900px) {
  .location-maps { grid-template-columns: 1fr; }
  .map-pane { min-height: 320px; }
  .map-pane iframe { min-height: 320px; }
}

/* Override the older .location-grid styles so the nearby-panel becomes a wide block */
.location-section .nearby-panel {
  display: block;
}
.location-section .nearby-list {
  /* Spread nearby items into 2 columns on wider screens since we have full width now */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}
.location-section .nearby-list li {
  padding: 14px 0;
}
@media (max-width: 700px) {
  .location-section .nearby-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact card actions (the 3 buttons under the form)
   ============================================================ */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 1rem;
}
.contact-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.contact-status {
  margin-top: 1rem;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 2px;
  font-style: normal;
}
.contact-status-success {
  background: #e8f4e8;
  color: #1e5128;
  border-left: 3px solid #2d7a3a;
}
.contact-status-error {
  background: #fdecea;
  color: #8a2a26;
  border-left: 3px solid #c0392b;
}

/* ============================================================
   Inquiry modal
   ============================================================ */
.sfr-modal[hidden] { display: none; }
.sfr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: sfr-modal-fade .2s ease-out;
}
@keyframes sfr-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.sfr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.sfr-modal-content {
  position: relative;
  background: #fff;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2.5rem 2rem;
  border-top: 3px solid var(--gold, #b39256);
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  animation: sfr-modal-slide-up .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes sfr-modal-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.sfr-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 28px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--slate, #555);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
  font-family: inherit;
}
.sfr-modal-close:hover {
  color: var(--ink, #1a1a1a);
}
.sfr-modal-header {
  margin-bottom: 1.5rem;
  padding-right: 28px;
}
.sfr-modal-header h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
  color: var(--ink, #1a1a1a);
}
.sfr-modal-header p {
  font-size: 14px;
  color: var(--slate, #555);
  margin: 0;
  line-height: 1.5;
}
.sfr-modal .contact-card-fine {
  margin-top: 1rem;
}

/* Header logo when an image is uploaded */
.site-header .logo.has-image {
  display: flex;
  align-items: center;
  line-height: 0;
  padding: 0;
}
.site-header .logo.has-image img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 240px;
}
@media (max-width: 700px) {
  .site-header .logo.has-image img {
    max-height: 36px;
    max-width: 180px;
  }
}

/* ============================================================
   Mobile: gallery + video sections go page-wide (no side padding)
   ============================================================ */
@media (max-width: 768px) {
  .gallery-section,
  .video-section {
    padding-left: 0;
    padding-right: 0;
  }
  /* The heading + caption should still be padded so they don't touch the edge */
  .gallery-wrap > h2,
  .video-wrap > .video-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  /* The actual main image + thumbnail grid should bleed to the edges */
  .gallery-wrap {
    padding: 0;
  }
  .gallery-main {
    border-radius: 0;
  }
  /* Thumbnails should still be padded so they don't look cramped against the edge */
  .gallery-thumbs {
    padding: 0 12px;
    gap: 4px;
  }
  /* Video player goes edge-to-edge too */
  .video-player {
    border-radius: 0;
  }
  .video-info {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================================
   Desktop: editorial sections capped at a narrower reading width
   Hero, Gallery, and Nearby Projects keep their full 1280px width
   ============================================================ */
@media (min-width: 1024px) {
  .about-section .about-wrap,
  .amenities-wrap,
  .features-wrap,
  .video-section .video-wrap,
  .floorplans-section .floorplans-wrap,
  .location-section .location-wrap,
  .lifestyle-section .lifestyle-wrap,
  .investment-section .investment-wrap,
  .process-section .process-wrap,
  .faq-section .faq-wrap,
  .nearby-projects-wrap {
    max-width: 1080px;
  }
}
