:root {
  --gold: #BC9D70;
  --black: #100F0F;
  --white: #FFFFFF;
  --muted: #5d5a56;
  --line: #e7e2da;
  --soft: #f8f6f2;
  --error: #AC2D2D;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: .04em; margin: 0; }
h1 { text-transform: uppercase; font-size: clamp(30px, 5.4vw, 58px); }
h2 { text-transform: uppercase; font-size: clamp(21px, 2.6vw, 28px); margin: 56px 0 20px; }

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 26px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: default; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #cbb08a; }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-block { display: block; width: 100%; margin-top: 12px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }


.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter); min-height: 64px; }
.top-logo img { width: 132px; height: auto; }
.top-right { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.top-right .btn { white-space: nowrap; }
.cur select { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--black); padding: 8px 2px; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.langs { position: relative; font-size: 13px; font-weight: 700; }
.langs summary { cursor: pointer; padding: 8px 6px; list-style: none; white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; color: var(--gold); }
.langs ul { position: absolute; inset-inline-end: 0; top: 100%; z-index: 1100; margin: 0; padding: 6px 0; min-width: 140px; list-style: none; background: var(--white); border-top: 2px solid var(--gold); box-shadow: 0 8px 24px rgba(16,15,15,.14); }
.langs a { display: block; padding: 8px 14px; font-weight: 500; text-decoration: none; }
.langs a:hover, .langs a[aria-current] { color: #8a6f47; }

.kicker { color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }


.wrap { max-width: 1280px; margin: 0 auto; padding: 32px var(--gutter); }
.narrow { max-width: 760px; }
.plain { font-size: clamp(26px, 4vw, 38px); margin: 32px 0 20px; }
.note { color: var(--muted); font-size: 14px; margin: 24px 0 0; }





.lead { background: var(--soft); border-top: 2px solid var(--gold); padding: 28px; scroll-margin-top: 20px; }
.lead h2 { margin: 0 0 10px; font-size: 21px; text-transform: none; letter-spacing: .01em; overflow-wrap: anywhere; }
.lead p { margin: 0 0 18px; font-size: 16px; }
/* WhatsApp: the only way to get in touch. Its own green, so visitors recognise it at once. */
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #1FAF5A; color: var(--white); border-color: #1FAF5A; }
.btn-wa:hover { background: #188F49; border-color: #188F49; }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.pcard { position: relative; }
.pcard .pcard-wa { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: #1FAF5A; box-shadow: 0 2px 8px rgba(16,15,15,.2); transition: transform .2s ease, background .2s ease, color .2s ease; }
.pcard .pcard-wa svg { width: 22px; height: 22px; }
.pcard .pcard-wa:hover, .pcard .pcard-wa:focus-visible { background: #1FAF5A; color: var(--white); transform: scale(1.06); }
.pcard .pcard-wa:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.project-hero { position: relative; background: var(--black); color: var(--white); min-height: clamp(360px, 56vw, 620px); display: flex; align-items: flex-end; }
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,15,15,.82), rgba(16,15,15,.08) 62%); }
.project-hero-text { position: relative; z-index: 1; padding: 32px var(--gutter); width: 100%; }
.project-hero .kicker { color: var(--white); }
/* Back to the projects: a clear button between the header and the photo. */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: 1320px; margin: 0 auto; padding: 14px var(--gutter); }
.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--black); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.back-link:hover { border-color: var(--gold); background: var(--soft); }
.back-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.crumbs-place { color: var(--muted); font-size: 14px; }
.project-price { font-size: clamp(19px, 2.4vw, 25px); font-weight: 500; margin: 10px 0 0; }

.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.project-aside { position: sticky; top: 20px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 28px; }
.facts div { border-bottom: 1px solid var(--line); padding: 14px 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 18px; }
.steps { margin: 0; padding-inline-start: 22px; }
.steps li { margin-bottom: 10px; padding-inline-start: 4px; }
.steps li::marker { color: var(--gold); font-weight: 700; }

.gallery { position: relative; }
.gallery-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gallery-track img { flex: 0 0 86%; width: 86%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--soft); scroll-snap-align: start; }
.gallery-nav {
  position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; padding: 0 0 4px;
  border: 0; border-radius: 2px; background: var(--black); color: var(--gold);
  font: inherit; font-size: 28px; line-height: 1; cursor: pointer;
}
.gallery-prev { inset-inline-start: 10px; }
.gallery-next { inset-inline-end: 10px; }
html[dir="rtl"] .gallery-nav { transform: scaleX(-1); }
/* Full-screen photos. */
.zoomable { cursor: zoom-in; }
.project-hero img.zoomable { z-index: 0; }
.project-hero::after { pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; background: #0d0d0d; }
.lightbox[hidden] { display: none !important; }
.lb-img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); object-fit: contain; user-select: none; }
.lb-close { position: absolute; top: 14px; inset-inline-end: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 34px; line-height: 1; cursor: pointer; }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }
html[dir="rtl"] .lb-nav { transform: translateY(-50%) scaleX(-1); }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 15px; }
html.lb-open { overflow: hidden; }
html.lb-open .wa-float { display: none; }
@media (max-width: 640px) {
  .lb-img { max-width: 100vw; max-height: calc(100vh - 120px); }
  .lb-nav { display: none; }
}

.foot { background: var(--black); color: var(--white); padding: 40px var(--gutter); }
.foot img { width: 150px; height: auto; }
.foot-tag { font-style: italic; margin: 12px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; margin: 16px 0 0; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px;
  background: var(--black); color: var(--white); padding: 18px 20px; border-top: 2px solid var(--gold);
}
.cookie p { margin: 0 0 12px; font-size: 14px; }
/* WhatsApp, always in reach: bottom corner of every page (about the project on project pages). */
.wa-float { position: fixed; z-index: 2500; inset-inline-end: 20px; bottom: 20px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A; color: var(--white); box-shadow: 0 4px 14px rgba(16,15,15,.28); transition: transform .2s ease, background .2s ease; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: #188F49; transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
html.map-open .wa-float { display: none; }
/* While the map is shown, the button moves to the left corner: the map's zoom buttons and its
   credit line sit bottom right (on right-to-left pages too, the map itself stays left to right). */
main[data-view="map"] ~ .wa-float { left: 20px; right: auto; }
@media (max-width: 640px) {
  .wa-float { inset-inline-end: 16px; bottom: 16px; width: 54px; height: 54px; }
  main[data-view="map"] ~ .wa-float { left: 16px; right: auto; }
  .cookie:not([hidden]) + .wa-float { bottom: 200px; }
}
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; }

/* Search: one bar and the dropdowns underneath. */
.ask {
  display: flex; align-items: center; gap: 4px; width: 100%; height: 62px; padding-block: 0; padding-inline: 22px 8px;
  border: 1px solid #d9d3c9; border-radius: 999px; background: var(--white);
  box-shadow: 0 2px 10px rgba(16,15,15,.07); transition: border-color .15s, box-shadow .15s;
}
.ask:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(188,157,112,.28); }
.ask-icon { flex: none; width: 20px; height: 20px; color: var(--gold); }
.ask input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; padding: 0 10px; color: var(--black); }
.ask input::placeholder { color: var(--muted); }
.ask input::-webkit-search-cancel-button { display: none; }
.ask-btn { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: var(--black); cursor: pointer; }
.ask-btn svg { width: 22px; height: 22px; }
.ask-btn:hover { background: var(--soft); }
.ask-go { background: var(--gold); }
.ask-go:hover { background: #cbb08a; }
html[dir="rtl"] .ask-go svg { transform: scaleX(-1); }
.status { color: var(--muted); font-size: 14px; text-align: center; margin: 10px 0 0; }

.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.example { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; font-size: 14px; color: var(--black); cursor: pointer; }
.example:hover { border-color: var(--gold); }

.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pick { display: block; padding: 7px 12px 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-align: start; min-width: 0; }
.pick:focus-within { border-color: var(--gold); }
.pick span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.pick select { display: block; width: 100%; border: 0; outline: 0; background: transparent; padding: 2px 0; font: inherit; font-size: 16px; color: var(--black); cursor: pointer; text-overflow: ellipsis; }

.map { width: 100%; height: clamp(320px, 52vh, 520px); border-radius: 14px; background: #eef0f2; direction: ltr; isolation: isolate; }
/* Maps: like huaxia.ae's. Soft, light colours (OpenStreetMap tiles toned down), one dark teardrop
   pin per project, a full-screen button and a small preview card. */
/* Controls like Google's: white square buttons, grey signs, a soft shadow (MapLibre). */
.map .maplibregl-ctrl-group { border-radius: 4px; box-shadow: 0 1px 4px rgba(16,15,15,.3); }
.map .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.map .maplibregl-ctrl-group button + button { border-top-color: #e6e6e6; }
.map-full { display: grid; place-items: center; border: 0; background: var(--white); color: #555; cursor: pointer; }
.map-full svg { width: 20px; height: 20px; }
.map-full:hover { background: #f3f3f3; color: var(--black); }
.map .maplibregl-cooperative-gesture-screen { font-family: Raleway, Arial, sans-serif; font-size: 20px; background: rgba(16,15,15,.45); }
/* Pins: dark teardrops, gold on hover. */
.map-pin { display: block; width: 28px; height: 38px; cursor: pointer; }
.map-pin-big { width: 34px; height: 46px; cursor: default; }
.map-pin svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(16,15,15,.35)); }
.map-pin path { fill: #1c2433; stroke: #fff; stroke-width: 1.5; transition: fill .15s ease; }
.map-pin circle { fill: #fff; }
a.map-pin:hover path, a.map-pin:focus-visible path { fill: var(--gold); }
a.map-pin:focus-visible { outline: none; }
/* The card on a pin. */
/* The open card sits above every pin: in dense areas pins under it would otherwise catch the
   pointer, swap cards back and forth and take the click. */
.maplibregl-popup.pop-wrap { z-index: 5; }
.map .maplibregl-marker { z-index: 1; }
.pop-wrap .maplibregl-popup-content { padding: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(16,15,15,.25); width: 240px; }
.pop-wrap .maplibregl-popup-close-button { z-index: 1; width: 28px; height: 28px; margin: 6px; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 18px; line-height: 1; }
.is-full { position: fixed !important; inset: 0; z-index: 3000; max-width: none; margin: 0; padding: 0; background: var(--white); }
.is-full .map { height: 100vh !important; min-height: 0; border-radius: 0; }
.is-full h2 { display: none; }
html.map-open { overflow: hidden; }
.pop { display: block; color: var(--black) !important; text-decoration: none; font-family: Raleway, Arial, sans-serif; text-align: start; }
.pop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--soft); }
.pop strong { display: block; font-size: 15.5px; padding: 10px 14px 0; line-height: 1.3; }
.pop small { display: block; font-size: 12.5px; color: var(--muted); padding: 2px 14px 0; }
.pop span { display: block; font-size: 14.5px; font-weight: 700; padding: 6px 14px 0; }
.pop em { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: #94784f; padding: 6px 14px 12px; }
.project-map { height: clamp(280px, 40vh, 420px); scroll-margin-top: 80px; }
#location { scroll-margin-top: 20px; }
.nearby { margin: 12px 0 0; font-size: 15px; }
.nearby a { color: #94784f; font-weight: 500; }

.results-head { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); }
.results-head .ask { height: 54px; max-width: 760px; }
.results-head .ask-btn { width: 40px; height: 40px; }
.results-head .status { text-align: start; }
.filters-toggle { display: none; }
.filters-body { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
.chips-label { color: var(--muted); }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 5px 12px; border: 0; border-radius: 999px; background: var(--black); color: var(--white); font: inherit; font-size: 13.5px; cursor: pointer; }
.chip span:last-child { color: var(--gold); font-weight: 700; }
.chips-ignored { color: var(--muted); }
.assistant { margin: 12px 0 0; padding: 10px 14px; border-inline-start: 3px solid var(--gold, #BC9D70); background: rgba(188, 157, 112, 0.08); border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.5; }
[dir="rtl"] .assistant { border-radius: 10px 0 0 10px; }
.reply-options, .relax { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.relax { justify-content: center; margin-top: 16px; }
.option-btn { border: 1px solid var(--gold, #BC9D70); background: #fff; color: inherit; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.option-btn:hover, .option-btn:focus-visible { background: rgba(188, 157, 112, 0.14); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1520px; margin: 18px auto 0; padding: 0 var(--gutter); }
.results-count { font-weight: 700; margin: 0; }
.results-tools { display: flex; align-items: center; gap: 16px; }
.view-toggle { display: inline-flex; align-items: center; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 15px; color: #94784f; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(148,120,79,.4); }
.view-toggle:hover { text-decoration-color: currentColor; }
.view-toggle span { display: inline-flex; align-items: center; gap: 7px; }
.view-toggle svg { width: 18px; height: 18px; flex: none; }
[data-view="list"] .when-map, [data-view="map"] .when-list { display: none !important; }
[data-view="list"] .results-map, [data-view="map"] .results-list { display: none; }
.sort select { border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 7px 8px; font: inherit; font-size: 14px; color: var(--black); }
.results-body { max-width: 1320px; margin: 16px auto 0; padding: 0 var(--gutter) 56px; }
.results-map .map { height: calc(100vh - 190px); min-height: 460px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 24px; }
.none { padding: 40px 0; text-align: center; }
.more-wrap { text-align: center; margin-top: 32px; }
.results-lead { margin-top: 40px; }

/* Project cards: photo with status badges, then name, developer, area, price range, size,
   and a line of units, bedrooms and handover. Same markup from build.mjs and search.js. */
.pcard { background: var(--white); border-radius: 16px; box-shadow: 0 1px 2px rgba(16,15,15,.06), 0 6px 20px rgba(16,15,15,.07); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.pcard:hover { box-shadow: 0 2px 4px rgba(16,15,15,.08), 0 14px 34px rgba(16,15,15,.13); transform: translateY(-2px); }
.pcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.pcard a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 16px; }
.pcard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard a:hover .pcard-img img { transform: scale(1.04); }
.pcard-badges { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; box-shadow: 0 1px 3px rgba(16,15,15,.12); }
.badge-build { background: #FBF4E9; color: #8A6A3B; }
.badge-ready { background: var(--black); color: var(--gold); }
.badge-sale { background: #E6F4EC; color: #1E6B43; }
.badge-sold { background: #F7E4E4; color: var(--error); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }
.pcard-name { font-size: 20px; letter-spacing: .005em; line-height: 1.25; text-transform: none; overflow-wrap: anywhere; }
.pcard-dev { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.pcard-place { color: #8d8882; font-size: 14px; margin: 4px 0 0; }
.pcard-price { font-size: 19px; font-weight: 700; margin: 14px 0 0; letter-spacing: .005em; }
.pcard-size { color: var(--muted); font-size: 14.5px; margin: 2px 0 0; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.pcard-price + .pcard-meta, .pcard-size + .pcard-meta { margin-top: 14px; }
.pcard-meta b { color: var(--black); font-weight: 700; }
.pcard-meta:empty { display: none; }
.project-hero .pcard-badges { position: static; margin: 0 0 14px; }

/* Project page: map link, developer logo, construction meter, unit types, payment plans, amenities. */
.maplink { display: inline-block; margin-inline-start: 6px; color: #94784f; font-size: 14px; }
.dev-logo { display: inline-block; vertical-align: middle; max-height: 28px; max-width: 84px; object-fit: contain; margin-inline-end: 8px; }
.meter { display: inline-block; vertical-align: middle; width: 80px; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--gold) var(--v), var(--line) var(--v)); }
.prose h3 { font-size: 17px; letter-spacing: .02em; margin: 22px 0 6px; text-transform: none; }
.table-wrap { overflow-x: auto; }
.units { width: 100%; border-collapse: collapse; font-size: 15px; }
.units th { text-align: start; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 12px 8px 0; border-bottom: 2px solid var(--gold); }
.units td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.units td:nth-child(3) { font-weight: 700; white-space: nowrap; }
.units .unit-wa { width: 44px; padding-inline-end: 0; text-align: end; }
.unit-size { display: none; }
/* Phones: the size moves under the unit type, so each row stays on one or two lines. */
@media (max-width: 560px) {
  .units th:nth-child(2), .units td:nth-child(2) { display: none; }
  .unit-size { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; white-space: nowrap; }
}
.wa-mini { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #1FAF5A; background: #EAF7EF; transition: background .2s ease, color .2s ease; }
.wa-mini svg { width: 19px; height: 19px; }
.wa-mini:hover, .wa-mini:focus-visible { background: #1FAF5A; color: var(--white); }
.wa-mini:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.plan-name { margin: 0 0 10px; font-weight: 700; }
.plan-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; }
.plan ul { list-style: none; margin: 12px 0 0; padding: 0; font-size: 15px; }
.plan li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.plan li b { min-width: 48px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.plan-on_booking { background: var(--black); }
.plan-during_construction { background: var(--gold); }
.plan-on_handover { background: #d9c7a8; }
.plan-post_handover { background: #1E6B43; }
.amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amenities li { padding: 6px 13px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; }

/* Languages: Urdu and Chinese have no capitals, and spacing breaks Urdu's joined letters. */
html[lang="ur"] body { font-family: Raleway, "Noto Nastaliq Urdu", serif; font-size: 16px; line-height: 2.25; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { letter-spacing: 0; line-height: 2; }
html[lang="ur"] .kicker { letter-spacing: 0; }
html[lang="ur"] .pick span { line-height: 1.9; }
html[lang="ur"] .pick select, html[lang="ur"] .ask input, html[lang="ur"] .example, html[lang="ur"] .chip { line-height: 2; }
html[lang="ur"] .btn { letter-spacing: 0; line-height: 2; padding-top: 8px; padding-bottom: 8px; }
html[lang="ur"] .lead h2 { letter-spacing: 0; }
html[dir="rtl"] input[type="tel"] { text-align: right; }
html[lang="zh"] body { font-family: Raleway, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { letter-spacing: .02em; }

@media (max-width: 640px) {
  .gallery-nav { display: none; }
}
@media (max-width: 1000px) {
  .filters-toggle { display: inline-block; margin-top: 10px; }
  .results-head .filters-body { display: none; }
  .results-head .filters-body.is-open { display: block; }
  .results-map .map { height: 72vh; min-height: 380px; }
}
@media (max-width: 640px) {
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ask { height: 56px; padding-inline-start: 16px; }
  .ask input { font-size: 16px; padding: 0 6px; }
  .results-bar { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .top-logo img { width: 120px; }
  .top-right { gap: 6px; }
  .top-right .btn { padding: 8px 10px; font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 900px) {
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .project-aside { position: static; order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard-img img, .pcard { transition: none; }
  .pcard:hover { transform: none; }
}
