/* ===== Hero parallax cover ===== */
.nb-cover {
  position: relative;
  height: 56vh;
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
}
.nb-cover::before {
  content: '';
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: saturate(1.05);
}
.nb-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,27,22,.4) 0%, rgba(15,27,22,.85) 100%);
  z-index: -1;
}
.nb-cover .container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}
.nb-cover .crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.85rem;
  color: rgba(251,246,238,.75);
  margin-bottom: 18px;
}
.nb-cover .crumbs a { color: rgba(251,246,238,.75); }
.nb-cover .crumbs a:hover { color: var(--gold); }
.nb-cover h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--cream);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.nb-cover h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.nb-cover .tagline {
  color: rgba(251,246,238,.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 14px;
}
.nb-cover .meta {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  color: var(--cream);
}
.nb-cover .meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full);
  backdrop-filter: blur(6px);
  font-weight: 600;
  font-size: 0.86rem;
}
.nb-cover .meta .pill i { color: var(--gold); }
.nb-cover .meta .pill .num { color: var(--gold); font-weight: 800; }

/* ===== Stat strip ===== */
.nb-stats {
  position: relative;
  margin-top: -40px;
  z-index: 5;
}
.nb-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 24px 56px -16px rgba(27,67,50,.18);
}
[data-theme="dark"] .nb-stat-grid { background: var(--surface); border-color: var(--border); }
.nb-stat {
  text-align: center;
  padding: 4px;
  border-right: 1px solid var(--border-soft);
}
.nb-stat:last-child { border-right: none; }
[data-theme="dark"] .nb-stat { border-right-color: var(--border); }
.nb-stat .num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
}
[data-theme="dark"] .nb-stat .num { color: var(--text); }
.nb-stat .lbl {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

/* ===== Body ===== */
.nb-body { padding: 64px 0; }
.nb-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
}
.nb-section {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 32px;
  margin-bottom: 22px;
}
[data-theme="dark"] .nb-section { background: var(--surface); border-color: var(--border); }
.nb-section h2 {
  font-family: 'Fraunces', serif;
  color: var(--forest);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
[data-theme="dark"] .nb-section h2 { color: var(--text); }
.nb-section h2 em { font-style: italic; color: var(--terra); font-weight: 500; }
.nb-section p { color: var(--text-soft); line-height: 1.75; font-size: 1rem; }

/* ===== Highlights / amenities ===== */
.nb-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.nb-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-cream);
  border-radius: 14px;
}
[data-theme="dark"] .nb-highlight { background: var(--bg-cream); }
.nb-highlight .ic {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(231,111,81,.14);
  color: var(--terra);
  display: grid;
  place-items: center;
  font-size: .92rem;
  flex-shrink: 0;
}
.nb-highlight .lbl { font-weight: 700; color: var(--text); font-size: 0.92rem; }
.nb-highlight .sub { color: var(--text-soft); font-size: 0.78rem; margin-top: 2px; }

/* ===== Portfolio ===== */
.nb-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* ===== Sidebar map ===== */
.nb-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.nb-map-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px -16px rgba(27,67,50,.18);
  margin-bottom: 18px;
}
[data-theme="dark"] .nb-map-card { background: var(--surface); border-color: var(--border); }
#nbMap { height: 280px; }
.nb-map-foot {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nb-map-foot .gps {
  font-size: .84rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--forest);
}
[data-theme="dark"] .nb-map-foot .gps { color: var(--text); }

/* ===== Mood / vibe ===== */
.nb-mood {
  background:
    radial-gradient(circle at 0% 100%, rgba(244,163,0,.18), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(231,111,81,.18), transparent 50%),
    linear-gradient(135deg, #1B4332 0%, #0F1B16 100%);
  color: var(--cream);
  border-radius: 22px;
  padding: 28px;
  margin-bottom: 18px;
}
.nb-mood .eyebrow {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.nb-mood h3 {
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-size: 1.25rem;
  margin: 8px 0 10px;
  font-weight: 600;
}
.nb-mood p { color: rgba(251,246,238,.85); font-size: 0.9rem; line-height: 1.6; }
.nb-mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.nb-mood-tags span {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.74rem;
  font-weight: 600;
}

@media (max-width: 968px) {
  .nb-grid { grid-template-columns: 1fr; gap: 32px; }
  .nb-stat-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .nb-stat { padding: 14px; border-bottom: 1px solid var(--border-soft); }
  .nb-stat:nth-child(2n) { border-right: none; }
  .nb-stat:nth-last-child(-n+2) { border-bottom: none; }
  .nb-highlights { grid-template-columns: 1fr; }
}
