@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

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

:root {
  --navy: #122F35;
  --blue: #11818F;
  --black: #0A0A0A;
  --mid: #555;
  --light: #888;
  --border: #E8E8E8;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--black);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav__logo-img {
  height: 64px;
  width: 64px;
  display: block;
  flex-shrink: 0;
}

.nav__wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.nav__word-top {
  font-family: 'Cormorant Garamond', serif;
  font-size: 33px;
  font-weight: 600;
  color: #1B6768;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.nav__word-bottom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 400;
  color: #2F8A86;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color .2s;
}

.nav__links a:hover { color: #CA7A40; }

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav__actions a {
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color .2s;
}

.nav__actions a:hover { color: var(--navy); }

.nav__sep { color: var(--border); }

.nav__login { font-weight: 600 !important; color: var(--navy) !important; }

.nav__search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mid);
  display: flex;
  align-items: center;
  padding: 0;
  transition: color .2s;
}

.nav__search-btn:hover { color: var(--navy); }

/* ─── NAV LOGIN ICON ─────────────────────────────────────────────── */
.nav__login-icon {
  display: flex;
  align-items: center;
  color: var(--mid);
  text-decoration: none;
  transition: color .2s;
}
.nav__login-icon:hover { color: var(--navy); }

/* ─── HAMBURGER + MOBILE MENU ────────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s, opacity .25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.nav__mobile-menu.open { max-height: 480px; }

.nav__mobile-links {
  list-style: none;
  padding: 4px 0 12px;
}
.nav__mobile-links li a {
  display: block;
  padding: 15px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.nav__mobile-links li:last-child a { border-bottom: none; }
.nav__mobile-links li a:hover,
.nav__mobile-links li a:active { background: #F7F7F5; }
.nav__mobile-cta a { color: #CA7A40 !important; }

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 80px;
}

.hero__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  z-index: 0;
}
.hero__vid--active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.38) 45%,
    rgba(0,0,0,.55) 100%
  );
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  padding-top: 40px;
}

.hero__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.1;
  max-width: 900px;
  margin-bottom: 52px;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 22px 52px;
  background: rgba(255,255,255,.17);
  border: 1.5px solid rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  transition: background .25s, border-color .25s;
  min-width: 240px;
  cursor: pointer;
}

.hero__cta:hover {
  background: rgba(255,255,255,.30);
  border-color: #fff;
}

.hero__cta-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero__cta-count {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.78);
  letter-spacing: 0.3px;
}

/* ─── SEARCH BAR ─────────────────────────────────────────────────── */
.search-section {
  background: var(--navy);
  padding: 28px 0;
}

.search-bar {
  display: flex;
  align-items: stretch;
  background: #fff;
  max-width: 860px;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  padding: 16px 22px;
  border: none;
  outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--black);
}

.search-bar input::placeholder { color: #bbb; }

.search-bar__divider {
  width: 1px;
  background: var(--border);
  margin: 10px 0;
}

.search-bar select {
  padding: 16px 20px;
  border: none;
  outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--mid);
  background: #fff;
  cursor: pointer;
  appearance: none;
  min-width: 150px;
}

.search-bar__submit {
  padding: 16px 32px;
  background: #CA7A40;
  border: none;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.search-bar__submit:hover { background: #e1935c; }

/* ─── COMMON SECTION ──────────────────────────────────────────────── */
.section { padding: 72px 0 80px; }
.section--grey { background: #F7F7F5; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.section__subtitle {
  font-size: 12.5px;
  color: var(--light);
  margin-top: 10px;
  letter-spacing: 0.3px;
}

/* ─── LISTING GRID ──────────────────────────────────────────────── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.listing-card {
  cursor: pointer;
  text-decoration: none;
  display: block;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}

.listing-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.listing-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.listing-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.listing-card:hover .listing-card__img-wrap img {
  transform: scale(1.04);
}

.listing-card__badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(18,47,53,.85);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 9px;
}

.listing-card__body {
  padding: 13px 15px 15px;
}

.listing-card__address {
  font-size: 11px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.listing-card__hood {
  font-size: 11.5px;
  color: var(--mid);
  margin-bottom: 10px;
}

.listing-card__price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}

.listing-card__details {
  font-size: 11.5px;
  color: var(--light);
}

.section__cta-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-view-all {
  display: inline-block;
  padding: 15px 44px;
  background: #CA7A40;
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}

.btn-view-all:hover { background: #e1935c; }

/* ─── NEIGHBOURHOOD STRIP ────────────────────────────────────────── */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.neighbourhood-item {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.neighbourhood-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}

.neighbourhood-item:hover img { transform: scale(1.06); }

.neighbourhood-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.68) 0%, transparent 55%);
}

.neighbourhood-item__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
}

.neighbourhood-item__name {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.neighbourhood-item__count {
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255,255,255,.72);
  margin-top: 2px;
}

/* ─── STATS BAR ──────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 44px 0;
}

.stats-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item { text-align: center; }

.stat-item__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}

.stat-item__label {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
}

.footer__tagline {
  font-size: 10px;
  color: rgba(255,255,255,.45);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__desc {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}

.footer__col-title {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul a {
  font-size: 12.5px;
  color: rgba(255,255,255,.50);
  text-decoration: none;
  transition: color .2s;
}

.footer__col ul a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.30);
}

/* ─── NAV CTA BUTTON ─────────────────────────────────────────────── */
.nav__cta-btn {
  padding: 11px 24px;
  background: #CA7A40;
  color: var(--navy) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.nav__cta-btn:hover { background: #e1935c !important; }

/* ─── APPLY CTA BANNER ───────────────────────────────────────────── */
.apply-cta {
  background: var(--navy);
  padding: 52px 0;
}
.apply-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.apply-cta__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}
.apply-cta__sub {
  font-size: 13px;
  color: rgba(255,255,255,.60);
  max-width: 480px;
  line-height: 1.7;
}
.apply-cta__btn {
  display: inline-block;
  padding: 16px 40px;
  background: #CA7A40;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}
.apply-cta__btn:hover { background: #e1935c; }

/* ─── PROPERTY MODAL ────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: #fff;
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  display: flex;
  overflow: hidden;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(0,0,0,.55);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.modal__close:hover { background: rgba(0,0,0,.85); }

.modal__gallery {
  flex: 0 0 56%;
  display: flex;
  flex-direction: column;
  background: #111;
}

.modal__main-img {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.modal__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s;
}

.modal__thumbs {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: #000;
  flex-shrink: 0;
}
.modal__thumb {
  flex: 1;
  height: 68px;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.modal__thumb.active,
.modal__thumb:hover { opacity: 1; border-color: #CA7A40; }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.modal__details {
  flex: 1;
  overflow-y: auto;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
}

.modal__badge-chip {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.modal__address {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.modal__hood-line {
  font-size: 13px;
  color: var(--light);
  margin-bottom: 16px;
}

.modal__price-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}

.modal__specs-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.modal__spec { display: flex; flex-direction: column; gap: 3px; }
.modal__spec-val { font-size: 17px; font-weight: 700; color: var(--black); }
.modal__spec-key { font-size: 9.5px; font-weight: 700; color: var(--light); letter-spacing: 1.2px; text-transform: uppercase; }

.modal__hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

.modal__desc-text { font-size: 13px; line-height: 1.9; color: var(--mid); margin-bottom: 20px; }

.modal__amenities-title { font-size: 9.5px; font-weight: 700; color: var(--navy); letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 10px; }
.modal__amenities-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.modal__amenity { font-size: 11.5px; color: var(--mid); background: #F7F7F5; padding: 5px 11px; border: 1px solid var(--border); }

.modal__avail { font-size: 11.5px; color: var(--light); margin-bottom: 22px; }

.modal__cta-btn {
  display: block;
  padding: 15px 24px;
  background: #CA7A40;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background .2s;
  margin-top: auto;
}
.modal__cta-btn:hover { background: #e1935c; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .neighbourhood-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav { height: 64px; }
  .nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
  .nav__links { display: none; }
  .nav__logo { gap: 10px; }
  .nav__logo-img { height: 48px; width: 48px; }
  .nav__word-top { font-size: 27px; letter-spacing: 3px; }
  .nav__word-bottom { font-size: 18px; letter-spacing: 2.5px; }
  .nav__cta-btn { display: none; }
  .nav__sep { display: none; }
  .nav__text-action { display: none; }
  .nav__actions { gap: 16px; }
  .nav__hamburger { display: flex; }
  .nav__mobile-menu { display: block; }

  /* Hero */
  .hero { margin-top: 64px; }
  .hero__content { padding: 0 20px 20px; }
  .hero__headline { margin-bottom: 32px; }
  .hero__cta-group { flex-direction: column; align-items: center; }
  .hero__cta { min-width: 260px; padding: 18px 32px; }

  /* Layout */
  .container { padding: 0 16px; }
  .section { padding: 48px 0 52px; }

  /* Search */
  .search-section { padding: 20px 0; }
  .search-bar { flex-direction: column; }
  .search-bar__divider { display: none; }
  .search-bar input,
  .search-bar select { border-bottom: 1px solid var(--border); width: 100%; }
  .search-bar__submit { padding: 16px; }

  /* Listings */
  .listing-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .listing-card__body { padding: 10px 12px 12px; }

  /* Neighbourhoods */
  .neighbourhood-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats */
  .stats-bar { padding: 32px 0; }
  .stats-bar__inner { gap: 24px; }
  .stat-item__num { font-size: 36px; }
  .stat-item__label { font-size: 9.5px; }

  /* Apply CTA */
  .apply-cta { padding: 40px 0; }
  .apply-cta__inner { flex-direction: column; text-align: center; }
  .apply-cta__sub { max-width: none; }
  .apply-cta__btn { width: 100%; text-align: center; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer__desc { max-width: none; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Modal — full-width sheet */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { flex-direction: column; max-height: 92vh; width: 100%; }
  .modal__gallery { flex: 0 0 auto; }
  .modal__main-img { height: 220px; flex: none; }
  .modal__thumbs { height: 58px; }
  .modal__thumb { height: 50px; }
  .modal__details { padding: 20px 16px 28px; }
}

@media (max-width: 480px) {
  .listing-grid { grid-template-columns: 1fr; }
  .nav__wordmark { display: none; }
  .hero__cta { min-width: 0; width: 100%; max-width: 320px; }
}

/* ═══ Login / auth + mobile wordmark (added 2026-07-04) ═══ */
.nav__login-icon { gap: 7px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; color: var(--navy); }
.nav__login-label { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 768px) { .nav__login-label { display: none; } }
@media (max-width: 480px) {
  .nav__wordmark { display: flex !important; }
  .nav__word-top { font-size: 22px; letter-spacing: 2.5px; }
  .nav__word-bottom { font-size: 15px; letter-spacing: 2px; }
}
.auth-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-modal[hidden] { display: none; }
.auth-modal__backdrop { position: absolute; inset: 0; background: rgba(18,47,53,.55); backdrop-filter: blur(4px); }
.auth-modal__card { position: relative; background: #fff; border-radius: 16px; max-width: 404px; width: 100%; padding: 36px 34px 30px; box-shadow: 0 30px 80px rgba(18,47,53,.4); text-align: center; }
.auth-modal__x { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 26px; line-height: 1; color: #b8bec9; cursor: pointer; }
.auth-modal__logo { width: 66px; height: 66px; border-radius: 8px; margin-bottom: 14px; }
.auth-modal__title { font-family: Georgia,'Times New Roman',serif; font-size: 24px; color: var(--navy); margin: 0 0 6px; }
.auth-modal__sub { color: #6b7280; font-size: 14px; margin: 0 0 22px; line-height: 1.55; }
.auth-field { display: block; text-align: left; margin-bottom: 14px; }
.auth-field span { display: block; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: #8a93a6; margin-bottom: 5px; font-weight: 600; }
.auth-field input { width: 100%; padding: 12px 14px; border: 1.5px solid #dae6e6; border-radius: 9px; font-family: inherit; font-size: 15px; color: var(--navy); box-sizing: border-box; }
.auth-field input:focus { outline: none; border-color: var(--navy); }
.auth-btn { width: 100%; padding: 14px; border: 0; border-radius: 9px; background: var(--navy); color: #fff; font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: .03em; cursor: pointer; margin-top: 6px; }
.auth-btn:hover { background: #0d272d; }
.auth-fine { font-size: 12.5px; color: #9aa2b1; margin: 14px 0 0; }
.auth-saved { background: #f0f9f9; border: 1px solid #dfeeef; border-radius: 12px; padding: 28px 20px; margin: 20px 0 18px; }
.auth-saved__icon { font-size: 36px; }
.auth-saved__title { font-weight: 700; color: var(--navy); margin: 10px 0 5px; font-size: 16px; }
.auth-saved__msg { color: #8a93a6; font-size: 13.5px; line-height: 1.55; }
.auth-link { background: none; border: 0; color: #af642a; font-weight: 600; cursor: pointer; font-size: 14px; }
.auth-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   LISTINGS + DETAIL PAGES (written 2026-07-04) — navy/gold brand
═══════════════════════════════════════════════════════════ */
:root { --gold: #CA7A40; --gold-lt: #e1935c; --off: #F7F7F5; }
.page-header { padding: 34px 0 8px; }
.page-header__breadcrumb { font-size: 13px; color: var(--light); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.page-header__breadcrumb a { color: var(--light); text-decoration: none; }
.page-header__breadcrumb a:hover { color: var(--navy); }
.page-header__title { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--navy); font-weight: 600; line-height: 1.1; }
.page-header__sub { color: var(--mid); font-size: 15px; margin-top: 4px; }

.listings-layout { display: grid; grid-template-columns: 288px 1fr; gap: 34px; padding: 24px 0 60px; align-items: start; }
.filter-sidebar { border: 1px solid var(--border); border-radius: 14px; padding: 24px 22px; position: sticky; top: 90px; background: #fff; }
.filter-sidebar__title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--navy); margin-bottom: 18px; font-weight: 600; }
.filter-group { margin-bottom: 22px; }
.filter-group__label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { border: 1px solid var(--border); background: #fff; border-radius: 20px; padding: 7px 14px; font-size: 13px; color: var(--mid); cursor: pointer; font-family: inherit; transition: all .15s; }
.filter-pill:hover { border-color: var(--navy); color: var(--navy); }
.filter-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-checkbox { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--mid); margin-bottom: 9px; cursor: pointer; }
.filter-checkbox input { accent-color: var(--navy); width: 15px; height: 15px; }
.range-slider { width: 100%; accent-color: var(--navy); margin: 6px 0; }
.range-display { display: flex; justify-content: space-between; font-size: 13px; color: var(--navy); font-weight: 600; }
.btn-primary { width: 100%; background: var(--navy); color: #fff; border: 0; border-radius: 9px; padding: 13px; font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn-primary:hover { background: #0d272d; }
.filter-sidebar .btn { width: 100%; background: none; border: 0; color: var(--light); font-family: inherit; font-size: 13px; padding: 10px; cursor: pointer; }

.sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.sort-bar__count { font-size: 15px; color: var(--mid); }
.sort-bar__count strong, .sort-bar__count b { color: var(--navy); font-weight: 700; }
.sort-select { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-family: inherit; font-size: 13px; color: var(--navy); background: #fff; cursor: pointer; }

.listings-grid, .similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.prop-card { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.prop-card:hover { box-shadow: 0 16px 40px rgba(18,47,53,.13); transform: translateY(-3px); }
.prop-card__photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--off); }
.prop-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prop-card__badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 11px; border-radius: 5px; }
.prop-card__badge--new { background: var(--gold); color: var(--navy); }
.prop-card__fav { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 16px; cursor: pointer; }
.prop-card__body { padding: 16px 18px 18px; }
.prop-card__price { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 600; color: var(--navy); }
.prop-card__price span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; color: var(--light); font-weight: 400; }
.prop-card__address { color: var(--mid); font-size: 14px; margin: 3px 0 12px; }
.prop-card__specs { display: flex; gap: 16px; border-top: 1px solid var(--border); padding-top: 12px; }
.prop-card__spec { font-size: 13px; color: var(--mid); display: flex; align-items: center; gap: 5px; }
.page-btn { border: 1px solid var(--border); background: #fff; color: var(--navy); border-radius: 8px; padding: 8px 13px; cursor: pointer; font-family: inherit; }

/* ── DETAIL ── */
.listing-hero { width: 100%; height: clamp(320px, 46vw, 560px); object-fit: contain; background: #000; display: block; }
.listing-thumbnails { display: flex; gap: 10px; padding: 12px 0; overflow-x: auto; }
.listing-thumb { width: 108px; height: 74px; object-fit: cover; border-radius: 7px; cursor: pointer; opacity: .6; border: 2px solid transparent; flex-shrink: 0; transition: opacity .15s; }
.listing-thumb:hover, .listing-thumb.active { opacity: 1; border-color: var(--gold); }
.listing-layout { display: grid; grid-template-columns: 1fr 366px; gap: 44px; padding: 34px 0 60px; align-items: start; }
.listing-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--navy); font-weight: 600; line-height: 1.12; }
.listing-price { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--gold); font-weight: 600; margin: 6px 0 24px; }
.listing-price span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; color: var(--light); font-weight: 400; }
.listing-specs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.listing-spec { text-align: center; }
.listing-spec__icon { font-size: 22px; }
.listing-spec__val { font-weight: 700; color: var(--navy); font-size: 16px; margin-top: 4px; }
.listing-spec__key { font-size: 11.5px; color: var(--light); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.listing-section-title { font-family: 'Cormorant Garamond', serif; font-size: 25px; color: var(--navy); font-weight: 600; margin: 34px 0 14px; }
.listing-desc { color: var(--mid); font-size: 15.5px; line-height: 1.75; }
.listing-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px 18px; }
.listing-feature { font-size: 14px; color: var(--mid); padding-left: 24px; position: relative; }
.listing-feature::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.listing-map { width: 100%; }
.similar-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.contact-card { border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; position: sticky; top: 90px; background: #fff; box-shadow: 0 10px 40px rgba(18,47,53,.08); }
.contact-card__price { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--navy); font-weight: 600; }
.contact-card__price span { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; color: var(--light); font-weight: 400; }
.contact-card__avail { color: var(--gold); font-weight: 600; font-size: 14px; margin: 4px 0 20px; }
.contact-card__agent { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.contact-card__agent-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.contact-card__agent-name { font-weight: 700; color: var(--navy); }
.contact-card__agent-title { font-size: 12.5px; color: var(--light); }
.contact-form .form-field { margin-bottom: 13px; }
.contact-form label { display: block; font-size: 12px; color: var(--navy); font-weight: 600; margin-bottom: 5px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 11px 13px; font-family: inherit; font-size: 14px; box-sizing: border-box; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); }
.form-submit, .btn-white { width: 100%; background: var(--gold); color: var(--navy); border: 0; border-radius: 9px; padding: 14px; font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 4px; }
.form-submit:hover { background: var(--gold-lt); }
.btn-outline { display: inline-block; border: 1.5px solid var(--navy); color: var(--navy); background: none; border-radius: 9px; padding: 12px 20px; text-decoration: none; font-weight: 600; font-family: inherit; cursor: pointer; }
.contact-card__disclaimer { font-size: 11.5px; color: var(--light); margin-top: 14px; line-height: 1.5; }
.contact-card__pitch { font-size: 14px; color: var(--navy); line-height: 1.6; margin: 16px 0 14px; opacity: .85; }
.contact-card__cta { display: block; text-align: center; text-decoration: none; box-sizing: border-box; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .listings-layout { grid-template-columns: 1fr; gap: 20px; }
  .filter-sidebar { position: static; }
  .listing-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { position: static; }
  .page-header__title { font-size: 32px; }
  .listing-title { font-size: 29px; }
}
@media (max-width: 560px) {
  .listings-grid, .similar-grid { grid-template-columns: 1fr; }
  .listing-specs { grid-template-columns: repeat(3, 1fr); gap: 14px 6px; }
  .listing-features { grid-template-columns: repeat(2, 1fr); }
  .listing-hero { height: 260px; }
  .page-header__title { font-size: 27px; }
}

/* ═══ QUARTIERS ═══════════════════════════════════════════ */
.quartiers-intro { max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--mid); margin: 0 0 40px; }
.quartiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quartier-card { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--border); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.quartier-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -18px rgba(18,47,53,.35); }
.quartier-card__img { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--off); }
.quartier-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.quartier-card:hover .quartier-card__img img { transform: scale(1.06); }
.quartier-card__region { position: absolute; top: 12px; left: 12px; background: rgba(18,47,53,.86); color: #fff; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 11px; border-radius: 30px; }
.quartier-card__body { padding: 18px 20px 22px; }
.quartier-card__name { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--navy); line-height: 1.15; }
.quartier-card__tag { color: var(--mid); font-size: 14px; margin-top: 4px; }
.quartier-card__meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--gold); }
.quartiers-grid--compact { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quartiers-grid--compact .quartier-card__body { padding: 14px 16px 16px; }
.quartiers-grid--compact .quartier-card__name { font-size: 19px; }

/* detail hero */
.quartier-hero { min-height: 380px; display: flex; align-items: flex-end; padding: 40px 0 44px; background-size: cover; background-position: center; color: #fff; background-color: var(--navy); }
.quartier-hero .page-header__breadcrumb a { color: rgba(255,255,255,.85); }
.quartier-hero__region { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 600; color: var(--gold-lt); margin-bottom: 10px; }
.quartier-hero__name { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 600; line-height: 1.02; margin: 0; }
.quartier-hero__tagline { font-size: 19px; color: rgba(255,255,255,.9); margin: 12px 0 0; max-width: 620px; }

.quartier-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: -34px 0 0; position: relative; box-shadow: 0 16px 40px -22px rgba(18,47,53,.3); }
.qstat { background: #fff; padding: 20px 22px; }
.qstat__label { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--light); margin-bottom: 6px; }
.qstat__val { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.3; }

.quartier-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.quartier-content__intro { font-family: 'Cormorant Garamond', serif; font-size: 26px; line-height: 1.4; color: var(--navy); margin: 0 0 22px; }
#qBody p { font-size: 16px; line-height: 1.75; color: var(--mid); margin: 0 0 18px; }
.quartier-side__card { background: var(--off); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; }
.quartier-side__card h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--navy); margin: 0 0 14px; }
.quartier-side__card ul { list-style: none; padding: 0; margin: 0; }
.quartier-side__card li { position: relative; padding: 8px 0 8px 22px; font-size: 15px; color: var(--navy); border-bottom: 1px solid rgba(0,0,0,.05); }
.quartier-side__card li:last-child { border-bottom: 0; }
.quartier-side__card li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 11px; }

@media (max-width: 900px) {
  .quartiers-grid { grid-template-columns: repeat(2, 1fr); }
  .quartiers-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .quartier-stats { grid-template-columns: repeat(2, 1fr); }
  .quartier-layout { grid-template-columns: 1fr; gap: 28px; }
  .quartier-hero__name { font-size: 40px; }
}
@media (max-width: 560px) {
  .quartiers-grid { grid-template-columns: 1fr; }
  .quartier-hero__name { font-size: 33px; }
  .quartier-hero { min-height: 320px; }
}

/* ── Property page: details table + inline neighbourhood ── */
.home-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 4px 0 8px; }
.home-spec { background: #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 18px; }
.home-spec__k { font-size: 13px; color: var(--light); }
.home-spec__v { font-size: 14px; font-weight: 700; color: var(--navy); text-align: right; }
.quartier-inline { margin-top: 40px; padding-top: 8px; }
.quartier-inline__tag { color: var(--gold); font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.quartier-inline__hl { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.quartier-inline__hl span { background: var(--off); border: 1px solid var(--border); border-radius: 30px; padding: 7px 14px; font-size: 13px; color: var(--navy); }
.quartier-inline__link { display: inline-block; font-weight: 700; color: var(--blue); text-decoration: none; }
.quartier-inline__link:hover { text-decoration: underline; }
@media (max-width: 560px) { .home-specs { grid-template-columns: 1fr; } }

/* ── SEO content section ── */
.seo-content { background: var(--off); border-top: 1px solid var(--border); padding: 64px 0; }
.seo-content .container { max-width: 860px; }
.seo-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--navy); margin: 0 0 18px; line-height: 1.1; }
.seo-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--navy); margin: 32px 0 10px; }
.seo-content p { font-size: 15.5px; line-height: 1.8; color: var(--mid); margin: 0 0 14px; }
.seo-content a { color: var(--blue); text-decoration: none; }
.seo-content a:hover { text-decoration: underline; }
.seo-content strong { color: var(--navy); font-weight: 600; }
