/* ==========================================================================
   Public website
   ========================================================================== */
body.site {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(109, 40, 217, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(67, 56, 202, .16), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
#main { flex: 1; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 7, 22, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .7), transparent);
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite reverse;
  opacity: .8;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -.005em; }
.brand-text sup { font-size: .55em; margin-left: 1px; }
.brand-text small { font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-mark { transition: transform .35s var(--ease); }

.site-nav { margin-inline: auto; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav > li { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .85rem; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: #e3e5f6;
  transition: color .2s, background .2s;
}
.nav-link .icon { transition: transform .18s var(--ease); opacity: .7; }
.nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .has-dd:focus-within > .nav-link { color: #fff; background: rgba(139, 92, 246, .12); }
.nav-link:hover::after, .nav-link[aria-current]::after, .has-dd:focus-within > .nav-link::after { transform: scaleX(1); }
.nav-link[aria-current] { color: #fff; }
.has-dd:hover > .nav-link .icon, .has-dd:focus-within > .nav-link .icon { transform: rotate(180deg); }

/* CSS-only dropdowns */
.dd {
  position: absolute; top: 100%; left: 0; min-width: 230px; padding-top: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px) scale(.96);
  transform-origin: 20px top;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.dd-panel {
  padding: .45rem;
  /* shares .menu-panel look; kept here so nav works even if this file is read alone */
  background: rgba(15, 17, 41, .92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8), 0 0 40px -16px rgba(139, 92, 246, .75);
}
.dd-panel a {
  display: block; padding: .6rem .8rem; border-radius: 9px;
  font-size: .9rem; color: #d7d9ee;
  transition: background .15s, color .15s, padding .18s var(--ease);
}
.dd-panel a:hover { background: rgba(139, 92, 246, .2); color: #fff; padding-left: 1.05rem; }
.has-dd:hover > .dd, .has-dd:focus-within > .dd {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition-delay: 0s;
}

.header-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.site-nav + .header-actions { margin-left: 0; }
.nav-mobile-only { display: none; }
.nav-burger { display: none; cursor: pointer; width: 42px; height: 42px; place-items: center; border-radius: 12px; border: 1px solid var(--line-soft); }
.nav-burger .i-close { display: none; }
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--primary-300); outline-offset: 2px; }

@media (max-width: 980px) {
  .header-inner { gap: 1rem; }
  .header-actions { margin-left: auto; }
  .nav-burger { display: inline-grid; order: 5; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; padding: .75rem 1.25rem 1.25rem;
    background: rgba(6, 7, 22, .98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 72px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav-toggle:checked ~ .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-toggle:checked ~ .nav-burger .i-open { display: none; }
  .nav-toggle:checked ~ .nav-burger .i-close { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-link { width: 100%; padding: .85rem .6rem; font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-link[aria-current] { background: rgba(139, 92, 246, .14); }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; padding: 0 0 .4rem 1rem; min-width: 0; transition: none; }
  .dd-panel { background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 0 0 0 .5rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .has-dd > .nav-link .icon { display: none; }
  .nav-mobile-only { display: block; margin-top: .5rem; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-text strong { font-size: .95rem; }
}

/* ---------- page hero / placeholder ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-soft); isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(139, 92, 246, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 92, 246, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; max-width: 18ch; }
.page-hero .lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 56ch; }
.page-hero .center, .page-hero-inner.center { text-align: center; }
.page-hero-inner.center h1, .page-hero-inner.center .lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--primary-300); }
.crumbs [aria-current] { color: #fff; }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 5vw, 3.25rem) 0 0;
  min-height: 36rem;
}
.home-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(64%, 900px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.home-hero-media picture,
.home-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 72% 42%;
}
.home-hero-media img {
  animation: hero-zoom 22s ease-in-out infinite alternate;
  transform-origin: 70% 40%;
  will-change: transform;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(6, 7, 22, .97) 6%,
      rgba(6, 7, 22, .72) 22%,
      rgba(6, 7, 22, .28) 42%,
      rgba(6, 7, 22, .06) 62%,
      transparent 78%),
    linear-gradient(180deg,
      rgba(6, 7, 22, .4) 0%,
      transparent 22%,
      transparent 58%,
      rgba(6, 7, 22, .55) 82%,
      var(--bg) 100%),
    linear-gradient(210deg, rgba(109, 40, 217, .18), transparent 45%);
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 2.75rem) 1.5rem;
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  min-height: 28rem;
}
.home-hero-copy {
  grid-column: 1;
  align-self: center;
  padding-top: clamp(.5rem, 3vw, 2rem);
  padding-bottom: .5rem;
}
.home-hero h1 {
  font-size: clamp(2.55rem, 6.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0 0 .9rem;
  max-width: 11ch;
  text-wrap: balance;
}
.home-hero h1 .grad-text { display: inline; }
.hero-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  font-size: .98rem;
  font-weight: 500;
  color: #c9cce3;
  letter-spacing: .02em;
}
.hero-types span { padding: 0 1rem; border-left: 1px solid var(--line-soft); }
.hero-types span:first-child { padding-left: 0; border-left: 0; }

/* Search card (CSS-only Buy / Rent / Projects tabs) */
.search-card {
  grid-column: 1 / -1;
  position: relative;
  background: rgba(11, 13, 34, .78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.05rem 1.05rem 1.15rem;
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, .75),
    0 0 40px -16px rgba(139, 92, 246, .45);
}
.search-tabs {
  display: flex;
  width: max-content;
  gap: .2rem;
  margin: 0 0 .95rem;
  padding: .28rem;
  background: rgba(0, 0, 0, .3);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.search-tabs label,
.search-tabs a {
  cursor: pointer;
  padding: .48rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: #cfd2ec;
  text-decoration: none;
  transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--ease);
}
.search-tabs label:hover,
.search-tabs a:hover { color: #fff; }
.search-tabs a[aria-current="page"] {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(139, 92, 246, .85);
}
.listing-search .search-tabs {
  width: auto;
  max-width: 100%;
  flex-wrap: wrap;
}
#hs-buy:checked ~ .search-tabs label[for="hs-buy"],
#hs-rent:checked ~ .search-tabs label[for="hs-rent"],
#hs-projects:checked ~ .search-tabs label[for="hs-projects"],
#hs-invest:checked ~ .search-tabs label[for="hs-invest"] {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(139, 92, 246, .85);
}
#hs-buy:focus-visible ~ .search-tabs label[for="hs-buy"],
#hs-rent:focus-visible ~ .search-tabs label[for="hs-rent"],
#hs-projects:focus-visible ~ .search-tabs label[for="hs-projects"],
#hs-invest:focus-visible ~ .search-tabs label[for="hs-invest"] {
  outline: 2px solid var(--primary-300);
  outline-offset: 2px;
}
.search-panel {
  display: none;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: .4rem .4rem .4rem .15rem;
}
#hs-buy:checked ~ .panel-buy,
#hs-rent:checked ~ .panel-rent,
#hs-projects:checked ~ .panel-projects,
#hs-invest:checked ~ .panel-invest { display: flex; }
.search-field {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 0 .95rem;
  min-width: 0;
}
.search-field .icon { color: var(--primary-300); flex: none; }
.search-q { flex: 1 1 16rem; }
.search-type { flex: 0 1 16.5rem; }
.search-sort { flex: 0 1 9rem; }
.search-locality { flex: 0 1 12rem; }
.search-field input,
.search-field select {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: .9rem 0;
  border-radius: 0;
  min-width: 0;
}
.search-field select { cursor: pointer; appearance: none; background-image: none; padding-right: 1.4rem; }
.search-type { position: relative; }
.search-type::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 7px; height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.search-type:has(.c-select)::after { display: none; }
.search-field .c-select-btn {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: .9rem 1.5rem .9rem 0;
  border-radius: 0;
  min-height: 0;
}
.search-field .c-select-btn::after { right: .15rem; }
.search-field .c-select.is-open .c-select-btn,
.search-field .c-select-btn:hover,
.search-field .c-select-btn:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.search-field .c-select-btn .c-ico { display: none; }

.search-field input:focus,
.search-field select:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
  border-color: transparent;
}
.search-field:focus-within { color: #fff; }
.search-split {
  width: 1px;
  align-self: stretch;
  margin: .65rem 0;
  background: var(--line-soft);
  flex: none;
}
.search-submit {
  flex: none;
  margin-left: .3rem;
  padding: .95rem 1.55rem;
  border-radius: 14px;
  white-space: nowrap;
}

/* Location suggestions under the hero search (list itself is appended to body). */
.place-list {
  position: fixed;
  z-index: 220;
  margin: 0;
  padding: .4rem;
  list-style: none;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s var(--ease), visibility 0s linear .16s;
}
.place-list.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.place-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .05rem;
  padding: .5rem .75rem;
  border-radius: 9px;
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
}
.place-opt.is-active { background: rgba(139, 92, 246, .22); }
.place-name {
  display: block;
  max-width: 100%;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.3;
  color: #d5d8ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.place-opt.is-active .place-name,
.place-name mark {
  background: none;
  color: #fff;
  font-weight: 800;
}
.place-meta {
  display: block;
  max-width: 100%;
  font-size: .75rem;
  line-height: 1.3;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Featured properties */
.featured {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: 1.35rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--primary-300);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.section-more .icon { transition: transform .2s var(--ease); }
.section-more:hover { color: #fff; }
.section-more:hover .icon { transform: translateX(3px); }
.prop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.prop-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: .55rem .55rem .85rem;
  background: rgba(16, 18, 42, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .85);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.prop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, .45);
  box-shadow: 0 22px 48px -22px rgba(139, 92, 246, .55);
}
.prop-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #12142e;
}
.prop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.prop-card:hover .prop-media img { transform: scale(1.045); }
.prop-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  line-height: 1.2;
}
.prop-badge.b-launch { background: #7c3aed; }
.prop-badge.b-ready { background: #16a34a; }
.prop-badge.b-ongoing { background: #6d78f6; }
.prop-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: .85rem .4rem .15rem;
  min-width: 0;
}
.prop-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
  color: #fff;
}
.prop-loc {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .28rem;
  color: var(--muted);
  font-size: .86rem;
  min-width: 0;
}
.prop-loc .icon { color: #b7bddb; }
.prop-beds,
.prop-area {
  display: block;
  margin-top: .28rem;
  color: var(--muted);
  font-size: .86rem;
}
.prop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .85rem;
}
.featured .prop-price,
#fav-grid .prop-price { display: block; margin-top: .35rem; }
.prop-price {
  color: #c4b5fd;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  min-width: 0;
}
.prop-go {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #e4e6f6;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.prop-card:hover .prop-go {
  background: rgba(139, 92, 246, .22);
  border-color: rgba(167, 139, 250, .7);
  color: #fff;
  transform: translateX(2px);
}
@media (max-width: 980px) {
  .prop-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .prop-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.35rem; }
}

/* Buy listing */
.listing { padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(3rem, 7vw, 4.5rem); }
.listing-search { margin: 0 0 1.35rem; }
.listing-search .search-panel { display: flex; }
.listing-count { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.listing-empty {
  padding: 2.75rem 1.25rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.listing-empty p { margin: 0 0 .85rem; }

/* Property detail */
.detail { padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(3rem, 7vw, 4.5rem); }
.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  gap: 1.15rem 1.5rem;
  align-items: start;
  padding: .7rem;
  background: rgba(16, 18, 42, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 26px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .85);
}
.detail-media-col { min-width: 0; }
.detail-media { border-radius: 18px; }
.detail-more { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .55rem 0 0; padding: 0; }
.detail-more img { width: 100%; height: 92px; object-fit: cover; border-radius: 12px; display: block; background: #12142e; }
.detail-copy { padding: .85rem .85rem .7rem .35rem; min-width: 0; }
.detail-copy .why-kicker { margin: 0; }
.detail-save { margin-top: 1rem; }
.detail-save[aria-pressed="true"] { border-color: var(--primary-300); color: #fff; }
.detail-baths {
  margin: -.4rem 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}
.detail-price {
  margin: .45rem 0 1rem;
  color: #c4b5fd;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin: 0;
}
.detail-facts div {
  min-width: 0;
  padding: .75rem .85rem;
  border-radius: 16px;
  background: rgba(6, 7, 22, .28);
  border: 1px solid rgba(255, 255, 255, .08);
}
.detail-facts dt { color: var(--muted); font-size: .78rem; }
.detail-facts dd { margin: .2rem 0 0; color: #fff; font-weight: 650; line-height: 1.35; }
.detail-about {
  margin-top: 1.15rem;
  padding: 1.35rem 1.45rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #12142c;
}
.detail-about h2 { margin: 0 0 .55rem; font-size: 1.25rem; letter-spacing: -.02em; }
.detail-about p { margin: 0; color: #d7d9ee; line-height: 1.6; }
.detail-back { margin: 1.15rem 0 0; }
.enquiry {
  margin-top: 1.15rem;
  padding: 1.35rem 1.45rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #12142c;
}
.enquiry h2 { margin: 0 0 .35rem; font-size: 1.25rem; letter-spacing: -.02em; }
.enquiry .hint { margin: 0 0 1rem; font-size: .92rem; }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.enquiry-grid .full { grid-column: 1 / -1; }
.enquiry textarea { min-height: 7rem; resize: vertical; }
.enquiry .btn { margin-top: .15rem; }
@media (max-width: 800px) {
  .detail-card { grid-template-columns: 1fr; }
  .detail-copy { padding: .35rem .45rem .85rem; }
}
@media (max-width: 640px) {
  .enquiry { padding: 1.1rem 1rem 1rem; }
  .enquiry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .detail-facts { grid-template-columns: 1fr; }
}

/* Why choose */
.why { padding: 0 0 clamp(2.25rem, 5vw, 3.5rem); }
.why-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(16rem, 1.05fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 1.25rem 1.75rem;
  padding: 1.65rem 1.5rem 1.5rem 2rem;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(167, 139, 250, .38);
  background:
    radial-gradient(520px 220px at 108% -20%, rgba(192, 132, 252, .55), transparent 58%),
    radial-gradient(380px 200px at -10% 120%, rgba(109, 40, 217, .35), transparent 60%),
    linear-gradient(105deg, #14122c 0%, #1b1436 48%, #2a1864 100%);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, .12),
    0 24px 50px -30px rgba(109, 40, 217, .9);
}
.why-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  top: -60%;
  width: 46%;
  height: 220%;
  background: radial-gradient(closest-side, rgba(216, 180, 254, .28), transparent 72%);
  pointer-events: none;
}
.why-kicker {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #c4b5fd;
}
.why-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.why-line { display: block; }
.why-swoosh {
  display: block;
  margin-top: .55rem;
  color: #c4b5fd;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, .75));
}
.why-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.why-points li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .7rem;
  padding: .35rem .55rem;
}
.why-points li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .22), transparent);
}
.why-ico {
  display: grid;
  place-items: center;
  color: #c4b5fd;
}
.why-label {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
@media (max-width: 900px) {
  .why-card {
    grid-template-columns: 1fr;
    padding: 1.4rem 1.15rem 1.25rem;
  }
  .why-card h2 { max-width: 18rem; }
}
@media (max-width: 640px) {
  .why-points { grid-template-columns: 1fr 1fr; row-gap: 1.15rem; }
  .why-points li::before { display: none; }
  .why-points li:nth-child(even)::before { display: block; }
}

/* Explore by property type */
.explore { padding: .35rem 0 clamp(2.5rem, 6vw, 4rem); }
.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.explore-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #12142e;
}
.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.explore-card:hover img { transform: scale(1.05); }
.explore-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 2.6rem .8rem .75rem;
  background: linear-gradient(180deg, rgba(6, 7, 22, 0) 0%, rgba(6, 7, 22, .45) 38%, rgba(6, 7, 22, .9) 100%);
  color: #fff;
}
.explore-name {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
}
.explore-name .icon { flex: none; }
.explore-go {
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .2s var(--ease);
}
.explore-card:hover .explore-go { transform: translateX(3px); }
@media (max-width: 980px) {
  .explore-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .explore-name { font-size: .9rem; }
}

/* List your property */
.list-cta { padding: 0 0 clamp(2.75rem, 6vw, 4.25rem); }
.list-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem 1.75rem;
  min-height: 132px;
  padding: 1.25rem 1.4rem 1.25rem 40%;
  border-radius: 22px;
  overflow: hidden;
  background: #12142c;
  border: 1px solid rgba(255, 255, 255, .08);
}
.list-cta-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  margin: 0;
}
.list-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.list-cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 20, 44, 0) 4%, rgba(18, 20, 44, .72) 46%, #12142c 72%);
}
.list-cta-copy { position: relative; z-index: 1; min-width: 0; }
.list-cta-copy h2 {
  margin: 0;
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.list-cta-copy p {
  margin: .35rem 0 0;
  color: #c7cbe4;
  font-size: .98rem;
}
.list-cta-btn {
  position: relative;
  z-index: 1;
  flex: none;
  border-radius: 999px;
  padding: .78rem 1.25rem;
  white-space: nowrap;
}
.list-cta-btn .icon { transition: transform .2s var(--ease); }
.list-cta-btn:hover .icon { transform: translateX(3px); }
@media (max-width: 860px) {
  .list-cta-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: .85rem;
    padding: 11rem 1.1rem 1.2rem;
    min-height: 0;
  }
  .list-cta-photo { width: 100%; height: 10rem; bottom: auto; }
  .list-cta-photo img { object-position: center 34%; }
  .list-cta-photo::after {
    background: linear-gradient(180deg, rgba(18, 20, 44, 0) 10%, #12142c 100%);
  }
  .list-cta-btn { width: 100%; }
}

/* Category quick links */
.cat-row {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  border-bottom: 1px solid var(--line-soft);
}
.cat-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
.cat-links li { position: relative; }
.cat-links li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .5), transparent);
}
.cat-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: 1.15rem 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  transition: transform .28s var(--ease), color .2s;
}
.cat-icon {
  display: grid;
  place-items: center;
  color: var(--primary-300);
  transition: transform .3s var(--ease), color .2s, filter .3s;
}
.cat-links a:hover,
.cat-links a:focus-visible { transform: translateY(-4px); color: #fff; }
.cat-links a:hover .cat-icon,
.cat-links a:focus-visible .cat-icon {
  color: #fff;
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, .85));
}

@media (max-width: 980px) {
  .home-hero { min-height: 0; padding-top: clamp(1.5rem, 5vw, 2.5rem); }
  .home-hero-media {
    width: 100%;
    inset: 0;
  }
  .home-hero-media img { object-position: 60% 40%; }
  .home-hero-media::after {
    background:
      linear-gradient(180deg, rgba(6, 7, 22, .72) 0%, rgba(6, 7, 22, .5) 38%, rgba(6, 7, 22, .72) 70%, var(--bg) 100%),
      linear-gradient(90deg, rgba(6, 7, 22, .7) 0%, rgba(6, 7, 22, .25) 55%, transparent 100%),
      linear-gradient(210deg, rgba(109, 40, 217, .22), transparent 50%);
  }
  .home-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.75rem;
  }
  .home-hero-copy { padding-top: .25rem; }
  .home-hero h1 { max-width: 12ch; }
}
@media (max-width: 720px) {
  .search-card { padding: .9rem; border-radius: 22px; }
  .search-tabs { width: 100%; }
  .search-tabs label { flex: 1; text-align: center; padding-inline: .4rem; font-size: .82rem; }
  .search-panel {
    flex-direction: column;
    align-items: stretch;
    padding: .55rem;
    border-radius: 14px;
  }
  .search-split { width: auto; height: 1px; margin: 0 .35rem; }
  .search-q, .search-type, .search-sort, .search-locality { flex: 1 1 auto; width: 100%; }
  .search-submit { width: 100%; margin: .45rem 0 0; }
  .cat-links { grid-template-columns: 1fr 1fr; gap: 0; }
  .cat-links li + li::before { display: none; }
  .cat-links li:nth-child(odd) > a { border-right: 1px solid transparent; }
  .cat-links li:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .5), transparent);
  }
  .cat-links li:nth-child(-n+2)::before {
    content: "";
    display: block;
    position: absolute;
    left: 12%; right: 12%;
    bottom: 0;
    top: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .45), transparent);
  }
}

.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(139, 92, 246, .5)); }

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.soon-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  background: linear-gradient(160deg, rgba(139, 92, 246, .1), rgba(15, 17, 41, .6));
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
}
.soon-card h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: .4rem; }
.soon-card p { color: var(--muted); margin-bottom: 1.5rem; }
.soon-pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-300); padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 1rem; background: rgba(139, 92, 246, .1); }
.soon-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: glow-pulse 2s ease-in-out infinite; }
.soon-skeleton { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 760px; margin-inline: auto; }
.soon-skeleton i { position: relative; overflow: hidden; height: 110px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); }
.soon-skeleton i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .16), transparent); animation: sweep 2.2s ease-in-out infinite; }
.soon-skeleton i:nth-child(2)::after { animation-delay: .25s; }
.soon-skeleton i:nth-child(3)::after { animation-delay: .5s; }
@media (max-width: 640px) { .soon-skeleton { grid-template-columns: 1fr; } .soon-skeleton i { height: 70px; } }

/* ---------- footer ---------- */
.site-footer { margin-top: 3rem; padding-top: 3rem; background: linear-gradient(180deg, transparent, rgba(6, 7, 22, .95) 25%); border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-tag { display: flex; flex-wrap: wrap; gap: 0; margin: 1.1rem 0 .2rem; font-size: .85rem; color: #d7d9ee; }
.footer-tag span { padding: 0 .75rem; border-left: 1px solid var(--line-soft); }
.footer-tag span:first-child { padding-left: 0; border-left: 0; }
.footer-tag-2 { font-size: .85rem; color: var(--muted); }
.footer-h { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer nav a { color: var(--muted); font-size: .9rem; transition: color .2s, padding .2s; }
.site-footer nav a:hover { color: #fff; padding-left: 4px; }
.social { display: flex; gap: .6rem; }
.social li { margin: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-soft); color: #d7d9ee; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.social a:hover { transform: translateY(-3px); background: rgba(139, 92, 246, .22); border-color: var(--primary); color: #fff; box-shadow: 0 8px 22px -8px rgba(139, 92, 246, .9); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: 1.25rem 0 1.75rem; border-top: 1px solid var(--line-soft); font-size: .84rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: .9rem; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; } }

/* ---------- services ---------- */
.svc-list { padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.25rem, 3vw, 2rem); }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.35rem 1.2rem;
  background: rgba(16, 18, 42, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .85);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, .45);
  box-shadow: 0 22px 48px -22px rgba(139, 92, 246, .55);
}
.svc-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: .95rem;
  border-radius: 14px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(167, 139, 250, .28);
}
.svc-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
}
.svc-line {
  display: block;
  margin-top: .35rem;
  color: var(--primary-300);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
}
.svc-lead {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.svc-points {
  margin: .9rem 0 1.1rem;
  display: grid;
  gap: .4rem;
}
.svc-points li {
  position: relative;
  padding-left: 1rem;
  color: #d7d9ee;
  font-size: .9rem;
}
.svc-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px rgba(167, 139, 250, .8);
}
.svc-go {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  color: var(--primary-300);
  font-weight: 600;
  font-size: .95rem;
}
.svc-go .icon { transition: transform .2s var(--ease); }
.svc-card:hover .svc-go { color: #fff; }
.svc-card:hover .svc-go .icon { transform: translateX(3px); }

.svc-work { padding: .5rem 0 clamp(1.5rem, 4vw, 2.25rem); }
.svc-work-card {
  display: grid;
  grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 1.7rem 1.6rem 1.55rem 2rem;
  border-radius: 26px;
  border: 1px solid rgba(167, 139, 250, .38);
  background:
    radial-gradient(520px 220px at 108% -20%, rgba(192, 132, 252, .45), transparent 58%),
    radial-gradient(380px 200px at -10% 120%, rgba(109, 40, 217, .35), transparent 60%),
    linear-gradient(105deg, #14122c 0%, #1b1436 48%, #2a1864 100%);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, .12),
    0 24px 50px -30px rgba(109, 40, 217, .9);
}
.svc-work-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.svc-work-copy p {
  margin: .7rem 0 0;
  max-width: 36ch;
  color: #d7d9ee;
}
.svc-work-copy a { color: var(--primary-300); font-weight: 600; }
.svc-work-copy a:hover { color: #fff; }
.svc-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem .9rem;
}
.svc-steps li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
  padding: .85rem .9rem;
  border-radius: 16px;
  background: rgba(6, 7, 22, .28);
  border: 1px solid rgba(255, 255, 255, .08);
}
.svc-step-no { color: #c4b5fd; }
.svc-step-label {
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.svc-step-text {
  color: #c7cbe4;
  font-size: .9rem;
  line-height: 1.45;
}
.svc-step-text a { color: var(--primary-300); font-weight: 600; }
.svc-step-text a:hover { color: #fff; }

.svc-close { padding: .35rem 0 clamp(2.75rem, 6vw, 4.25rem); }
.svc-close-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #12142c;
}
.svc-close-copy { min-width: 0; }
.svc-close-copy h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.svc-close-copy p {
  margin: .4rem 0 0;
  max-width: 62ch;
  color: #c7cbe4;
}
.svc-close-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: .7rem;
}
.svc-close-actions .icon { transition: transform .2s var(--ease); }
.svc-close-actions .btn-primary:hover .icon { transform: translateX(3px); }

@media (max-width: 900px) {
  .svc-work-card { grid-template-columns: 1fr; padding: 1.4rem 1.15rem 1.25rem; }
  .svc-work-copy p { max-width: none; }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-close-card { flex-direction: column; align-items: stretch; text-align: left; }
  .svc-close-actions { width: 100%; }
  .svc-close-actions .btn { flex: 1; }
}
@media (max-width: 560px) {
  .svc-steps { grid-template-columns: 1fr; }
  .svc-close-actions { flex-direction: column; }
  .svc-close-actions .btn { width: 100%; }
}
