/* PropertyExpo.com — Brand tokens */
:root {
  --navy-900: #0b1638;
  --navy-800: #14224d;
  --navy-700: #1a2a5e;
  --navy-600: #243778;
  --gold-500: #e0b54a;
  --gold-600: #c89a35;
  --gold-100: #f7e9c2;
  --cream:    #fbf8f1;
  --ink:      #1a1a25;
  --ink-2:    #4a4f63;
  --ink-3:    #8089a0;
  --line:     #e6e3d8;
  --line-2:   #f1eee3;
  --white:    #ffffff;
  --green:    #1f8a5b;
  --red:      #c0392b;
  --shadow-sm: 0 1px 2px rgba(11,22,56,.06), 0 1px 1px rgba(11,22,56,.04);
  --shadow-md: 0 8px 24px rgba(11,22,56,.08), 0 2px 6px rgba(11,22,56,.05);
  --shadow-lg: 0 24px 60px rgba(11,22,56,.18), 0 6px 16px rgba(11,22,56,.10);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* ---------- TOP STRIP ---------- */
.topstrip {
  background: var(--navy-900);
  color: #cdd4ea;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topstrip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topstrip .left { display: flex; gap: 22px; align-items: center; }
.topstrip .right { display: flex; gap: 16px; align-items: center; }
.topstrip .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(224,181,74,.12);
  color: var(--gold-500);
  padding: 4px 10px; border-radius: 999px;
  font-weight: 500;
}
.topstrip a:hover { color: var(--gold-500); }
.topstrip .dot { width: 4px; height: 4px; background: #404a6c; border-radius: 50%; }

/* ---------- HEADER / NAV ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 50px; height: 50px; flex: 0 0 50px;
}
.brand .wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.02;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.brand .wordmark .accent { color: var(--gold-600); }
.brand .tag {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-top: 2px;
}
.nav {
  display: flex; gap: 4px; align-items: center;
}
.nav a {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  position: relative;
  transition: color .2s;
}
.nav a:hover { color: var(--navy-900); }
.nav a.active { color: var(--navy-900); }
.nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--gold-500); border-radius: 2px;
}
.nav .has-caret::after {
  content: '⌄'; margin-left: 6px; font-size: 10px; opacity: .6;
}
.header .cta {
  display: flex; gap: 10px; align-items: center;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .12s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gold-500); color: var(--navy-900);
  box-shadow: 0 1px 0 rgba(0,0,0,.1), inset 0 -2px 0 rgba(0,0,0,.06);
}
.btn-primary:hover { background: var(--gold-600); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost {
  background: transparent; color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-ghost:hover { background: var(--navy-900); color: var(--white); }
.btn-ghost-light {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}
.hero-slides {
  position: relative;
  height: 640px;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide .bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,22,56,.95) 0%, rgba(11,22,56,.75) 45%, rgba(11,22,56,.35) 100%);
}
.hero .container {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
}
.hero-content {
  max-width: 620px;
  padding: 60px 0;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 600;
  margin-bottom: 18px;
}
.hero .eyebrow .bar { width: 36px; height: 1px; background: var(--gold-500); display: inline-block; }
.hero h1 {
  font-size: 60px; line-height: 1.04;
  font-weight: 500;
  margin-bottom: 18px;
}
.hero h1 .gold {
  color: var(--gold-500);
  font-style: italic;
  font-weight: 400;
}
.hero .lede {
  font-size: 17px; line-height: 1.55; color: #d4dbf0;
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-stats {
  display: flex; gap: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 36px;
}
.hero-stats .stat .num {
  font-family: 'Fraunces', serif; font-size: 28px; color: var(--white);
  font-weight: 500;
}
.hero-stats .stat .num .plus { color: var(--gold-500); }
.hero-stats .stat .lbl {
  font-size: 12px; color: #a8b2d1; letter-spacing: .06em; text-transform: uppercase;
}

/* Slide dots + arrows */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 10px;
}
.hero-dots button {
  width: 32px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.25); transition: background .2s, width .2s;
}
.hero-dots button.on { background: var(--gold-500); width: 56px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .2s;
}
.hero-arrow:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* Search card (overlapping) */
.search-card {
  position: relative;
  margin: -68px auto 0;
  max-width: 1180px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  z-index: 10;
}
.search-tabs {
  display: flex; gap: 4px;
  padding: 4px;
  background: var(--line-2);
  border-radius: 12px;
  margin-bottom: 14px;
  width: fit-content;
}
.search-tabs button {
  padding: 10px 22px;
  border-radius: 9px;
  font-weight: 600; font-size: 13.5px;
  color: var(--ink-2);
  transition: all .15s;
}
.search-tabs button.on {
  background: var(--navy-900); color: var(--white);
  box-shadow: 0 2px 6px rgba(11,22,56,.18);
}
.search-form {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 1px;
  background: var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.search-field {
  background: var(--white);
  padding: 14px 18px;
  display: flex; flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.search-field label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.search-field .control {
  display: flex; align-items: center; gap: 8px;
}
.search-field input, .search-field select {
  border: none; outline: none;
  font-family: inherit; font-size: 15px;
  color: var(--ink); font-weight: 500;
  background: transparent;
  width: 100%; padding: 0;
  -webkit-appearance: none; appearance: none;
}
.search-field .icon { color: var(--gold-600); }
.search-submit {
  background: var(--gold-500);
  color: var(--navy-900);
  border: none;
  padding: 0 32px;
  font-weight: 700; font-size: 15px;
  display: flex; align-items: center; gap: 10px;
  transition: background .2s;
}
.search-submit:hover { background: var(--gold-600); }
.search-popular {
  display: flex; gap: 8px; align-items: center;
  padding: 12px 8px 4px;
  flex-wrap: wrap;
}
.search-popular .label { font-size: 12px; color: var(--ink-3); margin-right: 4px; }
.search-popular .chip {
  font-size: 12.5px; padding: 5px 12px;
  background: var(--line-2); color: var(--ink-2);
  border-radius: 999px; font-weight: 500;
  transition: all .15s;
}
.search-popular .chip:hover { background: var(--navy-900); color: var(--white); }

/* ---------- SECTION TYPOGRAPHY ---------- */
section { padding: 96px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 44px;
  gap: 32px;
}
.section-head .left { max-width: 640px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600); font-weight: 600;
  margin-bottom: 12px;
}
.section-eyebrow .bar { width: 28px; height: 1px; background: var(--gold-600); }
.section-title {
  font-size: 42px; line-height: 1.08; color: var(--navy-900);
}
.section-title .gold { color: var(--gold-600); font-style: italic; font-weight: 400; }
.section-sub {
  color: var(--ink-2); font-size: 16px; margin-top: 14px; line-height: 1.55;
}
.section-link {
  color: var(--navy-900); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--gold-500);
}

/* ---------- CATEGORIES ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: left;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}
.cat-card.active {
  background: var(--navy-900); color: var(--white);
  border-color: var(--navy-900);
}
.cat-card.active .cat-count { color: var(--gold-500); }
.cat-card.active .cat-icon-wrap { background: rgba(224,181,74,.18); color: var(--gold-500); }
.cat-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: all .2s;
}
.cat-name {
  font-size: 15px; font-weight: 600;
  font-family: 'Fraunces', serif;
}
.cat-count {
  font-size: 12.5px; color: var(--ink-3); margin-top: 4px;
  font-weight: 500;
}

/* ---------- PROPERTY CARDS ---------- */
.prop-filters {
  display: flex; gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.prop-filter {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .15s;
}
.prop-filter:hover { border-color: var(--navy-900); color: var(--navy-900); }
.prop-filter.on { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prop-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line-2);
}
.prop-img .pattern {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.prop-img .badges {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 8px;
}
.badge {
  font-size: 11px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge.sale { background: var(--gold-500); color: var(--navy-900); }
.badge.rent { background: var(--green); color: var(--white); }
.badge.new  { background: var(--navy-900); color: var(--white); }
.badge.featured { background: var(--white); color: var(--navy-900); }

.prop-img .wish {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: all .15s;
}
.prop-img .wish:hover { color: var(--red); transform: scale(1.08); }
.prop-img .wish.on { color: var(--red); }
.prop-img .photo-count {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(11,22,56,.7);
  color: var(--white);
  font-size: 11.5px; font-weight: 600;
  padding: 5px 9px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
  backdrop-filter: blur(4px);
}

.prop-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.prop-price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.prop-price .amt {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600; color: var(--navy-900);
}
.prop-price .per { color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.prop-title {
  font-size: 16px; font-weight: 600; color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
}
.prop-addr {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink-2); font-size: 13px;
}
.prop-specs {
  display: flex; gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}
.prop-spec {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-2); font-weight: 500;
}
.prop-spec svg { color: var(--gold-600); }
.prop-agent {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.prop-agent .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--gold-600));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.prop-agent .name { font-size: 13px; font-weight: 600; }
.prop-agent .role { font-size: 11.5px; color: var(--ink-3); }
.prop-agent .contact { margin-left: auto; display: flex; gap: 6px; }
.prop-agent .contact button {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--line-2); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.prop-agent .contact button:hover { background: var(--navy-900); color: var(--white); }

/* ---------- LOCATIONS ---------- */
.locations {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.loc-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--navy-900);
}
.loc-card .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.loc-card:hover .img { transform: scale(1.08); }
.loc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,56,0) 35%, rgba(11,22,56,.92) 100%);
}
.loc-card .body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px;
  color: var(--white);
  z-index: 2;
}
.loc-card .country {
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 500;
  margin-bottom: 4px;
}
.loc-card .cities {
  font-size: 12.5px; color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}
.loc-card .count {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-500); color: var(--navy-900);
  padding: 6px 12px; border-radius: 8px;
  font-size: 12.5px; font-weight: 700;
}
.loc-card .flag {
  position: absolute; top: 18px; left: 18px;
  z-index: 2;
  font-size: 28px;
  background: rgba(255,255,255,.95);
  border-radius: 8px;
  padding: 4px 8px;
  line-height: 1;
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media .main {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background-size: cover; background-position: center;
  background-color: var(--navy-700);
}
.about-media .accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 56%; aspect-ratio: 1/1;
  border-radius: 14px;
  background-size: cover; background-position: center;
  border: 8px solid var(--cream);
  background-color: var(--gold-500);
}
.about-media .floating {
  position: absolute; top: 30px; left: -28px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
  min-width: 230px;
}
.about-media .floating .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-500); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
}
.about-media .floating .num {
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600;
  color: var(--navy-900);
}
.about-media .floating .lbl {
  font-size: 12px; color: var(--ink-3);
}
.about-content .feature-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.about-content .feature {
  display: flex; gap: 12px;
}
.about-content .feature .check {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  background: var(--gold-100); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
}
.about-content .feature .text strong {
  display: block; font-size: 14.5px; color: var(--navy-900); margin-bottom: 2px;
}
.about-content .feature .text span {
  font-size: 13px; color: var(--ink-2);
}
.about-cta-row {
  display: flex; gap: 14px; align-items: center;
  margin-top: 8px;
}
.about-cta-row .signature {
  margin-left: auto;
  display: flex; align-items: center; gap: 12px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.about-cta-row .signature .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--gold-600));
}
.about-cta-row .signature .name {
  font-family: 'Fraunces', serif; color: var(--navy-900); font-weight: 600; font-size: 15px;
}
.about-cta-row .signature .title {
  font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- CTA STRIP (List your property) ---------- */
.cta-strip {
  background: var(--navy-900);
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(224,181,74,.08);
}
.cta-strip::after {
  content: '';
  position: absolute;
  right: 60px; bottom: -160px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(224,181,74,.06);
}
.cta-strip h2 { font-size: 36px; color: var(--white); margin-bottom: 10px; }
.cta-strip h2 .gold { color: var(--gold-500); font-style: italic; font-weight: 400; }
.cta-strip p { color: #c5cce4; font-size: 15.5px; line-height: 1.55; max-width: 520px; }
.cta-strip-actions {
  display: flex; gap: 12px; justify-content: flex-end;
  z-index: 1; position: relative;
}

/* ---------- GALLERY ---------- */
.gallery {
  background: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 14px;
}
.g-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover; background-position: center;
  cursor: pointer;
}
.g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,22,56,.6) 100%);
  opacity: 0; transition: opacity .25s;
}
.g-item:hover::after { opacity: 1; }
.g-item .lbl {
  position: absolute; bottom: 14px; left: 16px;
  color: var(--white);
  font-family: 'Fraunces', serif; font-size: 16px;
  z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: all .25s;
}
.g-item:hover .lbl { opacity: 1; transform: translateY(0); }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item.video::before {
  content: '▶';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; padding-left: 4px;
  z-index: 3;
  box-shadow: 0 0 0 8px rgba(224,181,74,.25);
  transition: transform .2s;
}
.g-item.video:hover::before { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- BLOGS ---------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .2s;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-img {
  aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  position: relative;
}
.blog-img .date {
  position: absolute; bottom: -16px; left: 20px;
  background: var(--gold-500); color: var(--navy-900);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-family: 'Fraunces', serif;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}
.blog-img .date .d { font-size: 22px; font-weight: 600; display: block; }
.blog-img .date .m { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.blog-body { padding: 28px 24px 24px; }
.blog-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 12px; color: var(--ink-3); margin-bottom: 12px;
}
.blog-meta .tag {
  color: var(--gold-600); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 11px;
}
.blog-meta .dot { width: 3px; height: 3px; background: var(--line); border-radius: 50%; }
.blog-card h3 {
  font-size: 19px; line-height: 1.3; color: var(--navy-900); margin-bottom: 14px;
  font-weight: 500;
}
.blog-card:hover h3 { color: var(--gold-600); }
.blog-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy-900); font-weight: 600; font-size: 13px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: ''; position: absolute;
  top: -120px; left: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(224,181,74,.05);
}
.testimonials .section-title { color: var(--white); }
.testimonials .section-eyebrow { color: var(--gold-500); }
.testimonials .section-eyebrow .bar { background: var(--gold-500); }
.testimonials .section-sub { color: #c5cce4; }
.t-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px;
}
.t-main {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 44px;
  position: relative;
  z-index: 2;
}
.t-quote-mark {
  position: absolute;
  top: 30px; right: 36px;
  font-family: 'Fraunces', serif;
  font-size: 120px; line-height: 1;
  color: rgba(224,181,74,.18);
  font-weight: 700;
}
.t-quote {
  font-family: 'Fraunces', serif;
  font-size: 26px; line-height: 1.45;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 90%;
}
.t-author {
  display: flex; align-items: center; gap: 14px;
}
.t-author .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--navy-700));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px;
}
.t-author .name { font-weight: 600; font-size: 16px; }
.t-author .who { font-size: 13px; color: #a8b2d1; }
.t-author .stars { margin-left: auto; color: var(--gold-500); letter-spacing: 2px; }
.t-nav {
  display: flex; gap: 10px; margin-top: 28px;
}
.t-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.t-nav button:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

.t-side {
  display: flex; flex-direction: column; gap: 16px;
}
.t-mini {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
}
.t-mini:hover, .t-mini.on {
  background: rgba(224,181,74,.08);
  border-color: rgba(224,181,74,.25);
}
.t-mini .row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.t-mini .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--navy-700));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.t-mini .name { font-size: 14px; font-weight: 600; }
.t-mini .who { font-size: 11.5px; color: #a8b2d1; }
.t-mini .preview {
  font-size: 13px; line-height: 1.5;
  color: #d4dbf0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- AGENTS / TRUST STRIP (placed under testimonials) ---------- */
.trust {
  background: var(--cream);
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-card {
  text-align: center;
  padding: 20px;
}
.trust-card .num {
  font-family: 'Fraunces', serif;
  font-size: 48px; font-weight: 600;
  color: var(--navy-900);
  line-height: 1;
}
.trust-card .num .plus { color: var(--gold-600); }
.trust-card .lbl {
  font-size: 13px; color: var(--ink-2);
  margin-top: 8px; letter-spacing: .04em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-900);
  color: #c5cce4;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .brand .wordmark { color: var(--white); }
.footer .brand .wordmark .accent { color: var(--gold-500); }
.footer .brand .tag { color: rgba(255,255,255,.5); }
.footer-about { font-size: 14px; line-height: 1.6; margin: 20px 0 22px; color: #a8b2d1; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all .15s;
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-col h4 {
  color: var(--white); font-size: 16px; margin-bottom: 18px;
  font-family: 'Inter', sans-serif; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 14px; color: #a8b2d1;
  transition: color .15s; display: inline-flex; align-items: center; gap: 8px;
}
.footer-col li a:hover { color: var(--gold-500); }
.footer-col li a::before {
  content: '›'; color: var(--gold-500); opacity: 0;
  transition: opacity .15s;
}
.footer-col li a:hover::before { opacity: 1; }
.footer-contact {
  display: flex; flex-direction: column; gap: 14px;
}
.footer-contact .item {
  display: flex; gap: 12px; align-items: flex-start;
}
.footer-contact .icon {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px;
  background: rgba(224,181,74,.12); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
}
.footer-contact .lbl { font-size: 11.5px; color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.footer-contact .val { font-size: 14px; color: var(--white); font-weight: 500; }

.footer-app {
  margin-top: 20px;
  display: flex; gap: 10px;
}
.footer-app .store {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px 12px;
  border-radius: 10px;
  display: flex; gap: 10px; align-items: center;
  transition: all .15s;
}
.footer-app .store:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.footer-app .store .small { font-size: 9px; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.footer-app .store .big { font-size: 13px; font-weight: 600; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-500); }

/* ---------- ICONOGRAPHY PLACEHOLDERS ---------- */
.svg-i { width: 18px; height: 18px; stroke-width: 1.8; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svg-i.sm { width: 14px; height: 14px; }
.svg-i.lg { width: 22px; height: 22px; }
.svg-i.xl { width: 26px; height: 26px; }

/* ---------- IMAGE PLACEHOLDER (striped) ---------- */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(11,22,56,.06) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 12px;
}
.ph.light {
  background:
    repeating-linear-gradient(135deg, rgba(11,22,56,.07) 0 1px, transparent 1px 12px),
    var(--line-2);
  color: var(--ink-3);
}
.ph.gold {
  background:
    repeating-linear-gradient(135deg, rgba(11,22,56,.08) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
}

/* ===========================================================
   MOBILE NAV BUTTON + DRAWER (only visible at <= 1024px)
   =========================================================== */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy-900);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(11,22,56,.5);
  z-index: 45;
  opacity: 0;
  transition: opacity .25s;
}
.nav-backdrop.open {
  display: block;
  opacity: 1;
}

/* ===========================================================
   PROPERTY DETAIL PAGE
   =========================================================== */
.breadcrumbs {
  padding: 18px 0;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-2); }
.breadcrumbs a:hover { color: var(--navy-900); }
.breadcrumbs .sep { color: var(--line); }
.breadcrumbs .current { color: var(--navy-900); font-weight: 500; }

.pd-hero { padding: 32px 0 0; }
.pd-head {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.pd-head h1 {
  font-size: 36px;
  color: var(--navy-900);
  margin-bottom: 8px;
  font-weight: 500;
}
.pd-head .addr {
  color: var(--ink-2); font-size: 15px;
  display: flex; align-items: center; gap: 6px;
}
.pd-head .meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px;
  font-size: 13px; color: var(--ink-3);
}
.pd-head .meta .badge { font-size: 11px; }
.pd-price {
  text-align: right;
}
.pd-price .amt {
  font-family: 'Fraunces', serif; font-size: 36px;
  color: var(--navy-900); font-weight: 600;
  line-height: 1;
}
.pd-price .per {
  font-size: 13px; color: var(--ink-3);
  margin-top: 6px;
}
.pd-price .actions {
  display: flex; gap: 8px; justify-content: flex-end;
  margin-top: 14px;
}
.pd-actions-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--cream); color: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  transition: all .15s;
}
.pd-actions-icon:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

.pd-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 10px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 48px;
}
.pd-gallery .pic {
  background-size: cover; background-position: center;
  cursor: pointer;
  position: relative;
}
.pd-gallery .pic.main {
  grid-row: span 2;
}
.pd-gallery .pic .all-photos {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(255,255,255,.92);
  color: var(--navy-900);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.pd-content > section { margin-bottom: 44px; }
.pd-content h2 {
  font-size: 24px; color: var(--navy-900); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.pd-content h2 .gold { color: var(--gold-600); }

.pd-specs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pd-spec-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex; gap: 12px; align-items: center;
}
.pd-spec-card .icn {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--white); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
}
.pd-spec-card .v {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 600;
  color: var(--navy-900);
}
.pd-spec-card .l { font-size: 12px; color: var(--ink-3); }

.pd-description {
  color: var(--ink-2); font-size: 15px; line-height: 1.75;
}
.pd-description p { margin-bottom: 14px; }

.pd-amenities {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pd-amenity {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: 10px;
  font-size: 13.5px; font-weight: 500;
  color: var(--navy-900);
}
.pd-amenity .check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
}

.pd-floorplans {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pd-floor {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--white);
}
.pd-floor .ph {
  height: 200px; border-radius: 8px; margin-bottom: 12px;
}
.pd-floor .nm { font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.pd-floor .desc { font-size: 12.5px; color: var(--ink-3); }

.pd-map {
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(120deg, var(--navy-700), var(--navy-900));
  position: relative;
}
.pd-map::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pd-map .pin {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50% 50% 50% 0;
  background: var(--gold-500); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  transform-origin: bottom right;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  z-index: 2;
}
.pd-map .pin svg { transform: rotate(45deg); }

/* Sidebar */
.pd-sidebar {
  position: sticky; top: 100px;
  align-self: flex-start;
  display: flex; flex-direction: column; gap: 16px;
}
.pd-agent-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.pd-agent-card .row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.pd-agent-card .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--gold-600));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px;
}
.pd-agent-card .name { font-size: 17px; font-weight: 600; color: var(--navy-900); font-family: 'Fraunces', serif; }
.pd-agent-card .role { font-size: 12.5px; color: var(--ink-3); }
.pd-agent-card .stars { font-size: 12px; color: var(--gold-500); margin-top: 4px; letter-spacing: 1px; }
.pd-agent-card .form { display: flex; flex-direction: column; gap: 10px; }
.pd-agent-card .form input,
.pd-agent-card .form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit; font-size: 14px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.pd-agent-card .form input:focus, .pd-agent-card .form textarea:focus {
  border-color: var(--navy-900);
}
.pd-agent-card .form textarea { min-height: 80px; }
.pd-agent-card .btn { width: 100%; margin-top: 4px; }
.pd-agent-card .row-btns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 8px;
}

.pd-mortgage {
  background: var(--navy-900);
  color: var(--white);
  border-radius: 16px;
  padding: 22px;
}
.pd-mortgage h3 {
  color: var(--white); font-family: 'Fraunces', serif;
  font-size: 18px; margin-bottom: 14px;
}
.pd-mortgage .row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: #c5cce4;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pd-mortgage .row.total {
  border-bottom: none;
  font-size: 16px; color: var(--white);
  font-weight: 600; padding-top: 14px;
}
.pd-mortgage .row .v { color: var(--gold-500); }

/* ===========================================================
   LISTINGS PAGE — sidebar filters + grid
   =========================================================== */
.page-head {
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(224,181,74,.06);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 {
  font-size: 48px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 12px;
}
.page-head h1 .gold { color: var(--gold-500); font-style: italic; font-weight: 400; }
.page-head p { color: #c5cce4; max-width: 600px; font-size: 16px; line-height: 1.55; }

.listing-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  padding: 56px 0 96px;
}
.filter-side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 100px;
}
.filter-side h3 {
  font-size: 16px; color: var(--navy-900);
  font-family: 'Inter', sans-serif; font-weight: 600;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.filter-side h3 a { font-size: 12px; color: var(--gold-600); font-weight: 500; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.filter-group:last-child { border-bottom: none; }
.filter-group .ttl {
  font-size: 13px; font-weight: 600;
  color: var(--navy-900); text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.filter-group label.check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink-2);
  padding: 4px 0;
  cursor: pointer;
}
.filter-group label.check input { accent-color: var(--gold-500); }
.filter-group label.check .cnt {
  margin-left: auto; font-size: 11.5px; color: var(--ink-3);
}
.filter-group .pill-row {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.filter-group .pill-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  background: var(--white);
  color: var(--ink-2);
}
.filter-group .pill-row button.on,
.filter-group .pill-row button:hover {
  background: var(--navy-900); color: var(--white); border-color: var(--navy-900);
}
.range-inputs {
  display: flex; gap: 8px;
}
.range-inputs input {
  flex: 1; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--cream);
  font-family: inherit; font-size: 13px;
  outline: none; min-width: 0;
}

.listing-main .toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap; gap: 12px;
}
.listing-main .toolbar .count {
  font-size: 14px; color: var(--ink-2);
}
.listing-main .toolbar .count strong { color: var(--navy-900); }
.listing-main .toolbar .right {
  display: flex; align-items: center; gap: 10px;
}
.listing-main .toolbar select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
  font-family: inherit; font-size: 13.5px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}
.listing-main .toolbar .view-toggle {
  display: flex; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.listing-main .toolbar .view-toggle button {
  width: 38px; height: 38px;
  background: var(--white); color: var(--ink-2);
}
.listing-main .toolbar .view-toggle button.on {
  background: var(--navy-900); color: var(--white);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination button {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy-900);
  font-weight: 600; font-size: 13px;
}
.pagination button:hover { background: var(--cream); }
.pagination button.on {
  background: var(--navy-900); color: var(--white); border-color: var(--navy-900);
}
.pagination .ellipsis { color: var(--ink-3); padding: 0 6px; }

/* ===========================================================
   CONTACT PAGE
   =========================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 80px 0;
}
.contact-info .item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .item:last-child { border-bottom: none; }
.contact-info .item .icn {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy-900); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 48px;
}
.contact-info .item .lbl {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
  margin-bottom: 4px;
}
.contact-info .item .v {
  font-size: 15.5px; color: var(--navy-900); font-weight: 500;
}
.contact-info .item .sub {
  font-size: 13px; color: var(--ink-2); margin-top: 4px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
}
.contact-form h2 {
  font-size: 26px; color: var(--navy-900);
  margin-bottom: 6px;
}
.contact-form .sub {
  color: var(--ink-2); font-size: 14px; margin-bottom: 24px;
}
.contact-form .row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 14px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-size: 12px; color: var(--ink-2); font-weight: 600;
  letter-spacing: .04em;
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit; font-size: 14px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--navy-900); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field.full { grid-column: 1 / -1; }

/* ===========================================================
   BLOG DETAIL & TESTIMONIAL CARDS PAGE
   =========================================================== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.testimonial-card .stars { color: var(--gold-500); letter-spacing: 2px; }
.testimonial-card p {
  font-family: 'Fraunces', serif;
  font-size: 17px; line-height: 1.55;
  color: var(--navy-900);
}
.testimonial-card .who {
  display: flex; gap: 12px; align-items: center;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--gold-600));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.testimonial-card .name { font-weight: 600; color: var(--navy-900); }
.testimonial-card .role { font-size: 12.5px; color: var(--ink-3); }

.tcards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

/* Gallery page (more items) */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-page-grid .g-item {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover; background-position: center;
  position: relative;
  cursor: pointer;
}
.gallery-page-grid .g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,22,56,.7));
  opacity: 0; transition: opacity .2s;
}
.gallery-page-grid .g-item:hover::after { opacity: 1; }
.gallery-page-grid .g-item .lbl {
  position: absolute; bottom: 14px; left: 16px;
  color: var(--white); font-family: 'Fraunces', serif; font-size: 16px;
  z-index: 2; opacity: 0; transform: translateY(8px);
  transition: all .2s;
}
.gallery-page-grid .g-item:hover .lbl { opacity: 1; transform: translateY(0); }

.gallery-tabs {
  display: flex; gap: 8px; margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery-tabs button {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line);
}
.gallery-tabs button.on {
  background: var(--navy-900); color: var(--white); border-color: var(--navy-900);
}

/* ===========================================================
   CATEGORIES PAGE — large featured + grid
   =========================================================== */
.cat-page-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.cat-feature {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: var(--navy-900);
}
.cat-feature .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .4s;
}
.cat-feature:hover .img { transform: scale(1.06); }
.cat-feature::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,56,.1) 40%, rgba(11,22,56,.9));
}
.cat-feature .body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px; z-index: 2; color: var(--white);
}
.cat-feature h3 {
  font-size: 28px; color: var(--white); margin-bottom: 6px;
}
.cat-feature .body .meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}
.cat-feature .btn { background: var(--gold-500); color: var(--navy-900); }

/* ===========================================================
   ABOUT PAGE
   =========================================================== */
.about-hero {
  padding: 80px 0;
}
.about-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  margin: 32px 0;
}
.about-stats .stat .num {
  font-family: 'Fraunces', serif;
  font-size: 32px; color: var(--navy-900); font-weight: 600;
}
.about-stats .stat .lbl {
  font-size: 12px; color: var(--ink-3);
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: 4px;
}

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.value-card .icn {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy-900); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px; color: var(--navy-900);
  margin-bottom: 8px;
}
.value-card p { color: var(--ink-2); font-size: 14px; line-height: 1.6; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.team-card .photo {
  aspect-ratio: 1/1;
  border-radius: 14px;
  background-size: cover; background-position: center;
  background-color: var(--navy-700);
  margin-bottom: 14px;
}
.team-card .name {
  font-family: 'Fraunces', serif; font-size: 17px;
  color: var(--navy-900); font-weight: 600;
}
.team-card .role { font-size: 13px; color: var(--ink-3); }

/* ===========================================================
   RESPONSIVE — TABLET (≤ 1024px) AND MOBILE (≤ 640px)
   =========================================================== */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .hero h1 { font-size: 48px; }
  .section-title { font-size: 36px; }
}

@media (max-width: 1024px) {
  /* Show mobile menu button, hide desktop nav */
  .nav-toggle { display: inline-flex; }
  .header .container { height: 72px; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 320px; max-width: 85vw;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 50;
    box-shadow: -8px 0 32px rgba(11,22,56,.15);
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    padding: 14px 12px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 15px;
  }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--cream); color: var(--navy-900); border-left: 3px solid var(--gold-500); padding-left: 9px; }

  .header .cta { display: none; }
  .topstrip .left span:nth-child(3),
  .topstrip .left .dot:nth-child(4) { display: none; }

  /* Hero */
  .hero-slides { height: 560px; }
  .hero h1 { font-size: 42px; }
  .hero-content { max-width: 100%; padding: 40px 0; }
  .hero .lede { font-size: 16px; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat .num { font-size: 24px; }

  /* Search */
  .search-form { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .search-submit { grid-column: 1 / -1; padding: 16px; border-radius: 10px; }

  /* Categories */
  .cat-grid { grid-template-columns: repeat(4, 1fr); }

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

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

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 500px; margin: 0 auto; width: 100%; }
  .about-content .feature-list { grid-template-columns: 1fr 1fr; }
  .about-cta-row { flex-wrap: wrap; }
  .about-cta-row .signature { margin-left: 0; padding-left: 0; border-left: none; width: 100%; padding-top: 16px; border-top: 1px solid var(--line); }

  /* CTA */
  .cta-strip { grid-template-columns: 1fr; padding: 40px; }
  .cta-strip-actions { justify-content: flex-start; flex-wrap: wrap; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 180px 180px; }

  /* Blogs */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid .blog-card:last-child { grid-column: 1 / -1; max-width: 600px; margin: 0 auto; width: 100%; }

  /* Testimonials */
  .t-grid { grid-template-columns: 1fr; }
  .t-side { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .t-mini { min-width: 280px; flex-shrink: 0; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Property detail */
  .pd-grid { grid-template-columns: 1fr; }
  .pd-sidebar { position: static; max-width: 600px; }
  .pd-gallery { grid-template-rows: 200px 160px; }
  .pd-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-amenities { grid-template-columns: repeat(2, 1fr); }

  /* Listings */
  .listing-layout { grid-template-columns: 1fr; }
  .filter-side { position: static; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }

  /* Categories page */
  .cat-page-hero { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tcards-grid { grid-template-columns: 1fr 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 64px 0; }

  /* Top strip — minimal */
  .topstrip .container { height: auto; padding: 8px 18px; }
  .topstrip .left { gap: 12px; font-size: 11.5px; flex-wrap: wrap; }
  .topstrip .left span:nth-child(3), .topstrip .left .dot:nth-child(2), .topstrip .left .dot:nth-child(4) { display: none; }
  .topstrip .right { display: none; }

  /* Header */
  .brand .wordmark { font-size: 18px; }
  .brand .tag { display: none; }
  .brand .mark, .header .brand svg { width: 40px !important; height: 40px !important; }

  /* Hero */
  .hero-slides { height: 580px; }
  .hero h1 { font-size: 32px; line-height: 1.1; }
  .hero .lede { font-size: 14.5px; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .hero-stats { gap: 16px; margin-top: 24px; padding-top: 20px; }
  .hero-stats .stat .num { font-size: 20px; }
  .hero-stats .stat .lbl { font-size: 10.5px; }
  .hero .eyebrow { font-size: 10.5px; }

  /* Search card */
  .search-card { margin-top: -48px; padding: 10px; border-radius: 14px; }
  .search-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .search-tabs button { padding: 9px 14px; font-size: 12px; white-space: nowrap; }
  .search-form { grid-template-columns: 1fr 1fr; gap: 1px; }
  .search-field { padding: 12px 14px; }
  .search-submit { padding: 14px; border-radius: 10px; }
  .search-popular { padding: 10px 4px 0; }

  /* Sections */
  .section-head { flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 32px; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 14.5px; }
  .section-link { align-self: flex-start; }

  /* Categories */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 20px 16px; }
  .cat-icon-wrap { width: 40px; height: 40px; }

  /* Properties */
  .prop-grid { grid-template-columns: 1fr; }
  .prop-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .prop-filter { white-space: nowrap; }

  /* Locations */
  .loc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .loc-card { aspect-ratio: 4/5; }
  .loc-card .country { font-size: 20px; }
  .loc-card .cities { font-size: 11px; }
  .loc-card .body { padding: 16px; }

  /* About */
  .about-content .feature-list { grid-template-columns: 1fr; gap: 14px; margin: 20px 0; }
  .about-media .floating { left: 0; min-width: 200px; padding: 12px 14px; }
  .about-media .accent { width: 50%; bottom: -16px; right: -16px; border-width: 6px; }

  /* CTA */
  .cta-strip { padding: 28px; border-radius: 14px; }
  .cta-strip h2 { font-size: 26px; }
  .cta-strip-actions .btn { width: 100%; justify-content: center; }
  .cta-strip-actions { flex-direction: column; align-items: stretch; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px 140px;
  }
  .gallery-grid .g-item.wide { grid-column: 1 / -1; }
  .gallery-grid .g-item.tall { grid-row: auto; }

  /* Blogs */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card h3 { font-size: 17px; }

  /* Testimonials */
  .t-main { padding: 28px 22px; }
  .t-quote { font-size: 18px; }
  .t-quote-mark { font-size: 80px; top: 16px; right: 16px; }
  .t-author { flex-wrap: wrap; }
  .t-author .stars { width: 100%; margin-left: 0; margin-top: 6px; }

  /* Trust */
  .trust { padding: 40px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .trust-card .num { font-size: 32px; }

  /* Footer */
  .footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; padding: 18px 0; text-align: center; }
  .footer-bottom .links { flex-wrap: wrap; justify-content: center; }
  .footer-app { flex-direction: column; }
  .footer-app .store { width: fit-content; }

  /* Page heads */
  .page-head { padding: 48px 0; }
  .page-head h1 { font-size: 32px; }
  .breadcrumbs { padding: 14px 0; font-size: 12px; }

  /* Property detail */
  .pd-head { flex-direction: column; }
  .pd-price { text-align: left; }
  .pd-price .actions { justify-content: flex-start; }
  .pd-head h1 { font-size: 26px; }
  .pd-price .amt { font-size: 28px; }
  .pd-gallery { grid-template-columns: 1fr; grid-template-rows: 260px 130px 130px; gap: 8px; }
  .pd-gallery .pic.main { grid-row: auto; }
  .pd-specs-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd-spec-card { padding: 14px; }
  .pd-amenities { grid-template-columns: 1fr; }
  .pd-floorplans { grid-template-columns: 1fr; }
  .pd-content h2 { font-size: 20px; }

  /* Listings */
  .listing-main .toolbar { flex-direction: column; align-items: stretch; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-layout { padding: 40px 0 64px; }

  /* Contact */
  .contact-form { padding: 24px; }
  .contact-form .row { grid-template-columns: 1fr; }

  /* About */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tcards-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .cat-grid { grid-template-columns: 1fr; }
  .loc-grid, .trust-grid { grid-template-columns: 1fr; }
}

