/* ======================================================================
   Portal layer (v5): bright, photo-led, Property Finder / Bayut style.
   Loaded after site.css and overrides it.
   ====================================================================== */

body { background: #fff; color: var(--text); }
a { color: var(--ink); }
a:hover { color: var(--brand); }
h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); }
.kicker { color: var(--brand); letter-spacing: .08em; }
.eyebrow { color: var(--brand); }
.lead { color: #4B5162; }

/* Buttons */
.btn { border-radius: 10px; font-weight: 700; }
.btn-primary, .btn-gold { background: var(--brand); color: #fff; box-shadow: none; border-color: var(--brand); }
.btn-primary:hover, .btn-gold:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: #fff; border: 1.5px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* Header */
.site-header { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, .02); }
.brand-mark rect:first-child { fill: var(--ink); }
.brand-mark path[stroke] { stroke: var(--brand); }
.brand-text i { background: var(--brand); }
.main-nav ul a { border-radius: 8px; font-weight: 650; color: var(--ink-2); }
.main-nav ul a:hover { background: var(--surface); }
.main-nav ul a[aria-current="page"] { background: none; color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav-cta { border-radius: 10px; }
.crumbs { background: #fff; border-bottom: 0; }
.crumbs ol { padding-block: 14px 4px; }

/* ---- Home hero: full-bleed photo with search panel ------------------- */
.hero2 { position: relative; isolation: isolate; color: #fff; }
.hero2-bg { position: absolute; inset: 0; z-index: -1; }
.hero2-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero2-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 20, .55) 0%, rgba(10, 12, 20, .35) 45%, rgba(10, 12, 20, .65) 100%); }
.hero2-inner { padding-block: clamp(44px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.hero2 h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.3rem); max-width: 820px; margin-bottom: 10px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero2-lead { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: rgba(255, 255, 255, .9); max-width: 640px; margin-bottom: 26px; }
.searchbox { background: #fff; color: var(--text); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); max-width: 1000px; overflow: hidden; }
.searchbox-tabs { display: flex; gap: 2px; padding: 8px 8px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.searchbox-tabs label { cursor: pointer; flex-shrink: 0; }
.searchbox-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.searchbox-tabs span { display: block; padding: 11px 18px; font-weight: 700; font-size: .92rem; color: var(--muted); border-bottom: 3px solid transparent; }
.searchbox-tabs input:checked + span { color: var(--brand); border-bottom-color: var(--brand); }
.searchbox-tabs input:focus-visible + span { outline: 2px solid var(--brand); }
.searchbox-row { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto; gap: 10px; padding: 14px; align-items: end; }
.sb-field { display: grid; gap: 4px; min-width: 0; }
.sb-field > span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sb-field input, .sb-field select { font: inherit; font-size: .96rem; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 12px; background: #fff; width: 100%; min-width: 0; }
.sb-field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; padding-inline-end: 32px; }
.sb-field input:focus, .sb-field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.searchbox-row .btn { height: 48px; padding-inline: 26px; }
.sb-search { position: relative; }
.sb-search svg { position: absolute; inset-inline-start: 12px; bottom: 15px; width: 18px; height: 18px; color: var(--muted); }
.sb-search input { padding-inline-start: 38px; }
@media (max-width: 900px) {
  .searchbox-row { grid-template-columns: 1fr 1fr; }
  .sb-search { grid-column: 1 / -1; }
  .searchbox-row .btn { grid-column: 1 / -1; }
}
.hero2-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero2-quick a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: .85rem; font-weight: 650; backdrop-filter: blur(6px); }
.hero2-quick a:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.hero2-credit { position: absolute; inset-inline-end: 12px; bottom: 8px; font-size: .68rem; color: rgba(255, 255, 255, .7); }
.hero2-credit a { color: inherit; }

/* Stats band under hero */
.statband { background: #fff; border-bottom: 1px solid var(--line); }
.statband dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.statband div { padding: 18px 16px; display: flex; flex-direction: column-reverse; align-items: flex-start; }
.statband div + div { border-inline-start: 1px solid var(--line-2); }
.statband dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.statband dd { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--ink); }
@media (max-width: 640px) { .statband dl { grid-template-columns: repeat(2, 1fr); } .statband div:nth-child(3) { border-inline-start: 0; } .statband div:nth-child(n+3) { border-top: 1px solid var(--line-2); } }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; color: var(--ink); text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat svg { width: 30px; height: 30px; color: var(--brand); }
.cat small { font-weight: 600; color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Section heads */
.sec { padding-block: clamp(32px, 4.5vw, 56px); }
.sec-tint { background: var(--surface); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 4px 0 0; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.link-more:hover { color: var(--brand-dark); }

/* Horizontal scroller (mobile swipe, desktop grid) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail-4 { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }
@media (max-width: 640px) { .rail { grid-auto-columns: 82%; margin-inline: -16px; padding-inline: 16px; } }

/* ---- Project card ---------------------------------------------------- */
.pc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pc-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--surface); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.pc:hover .pc-media img { transform: scale(1.04); }
.pc-media .ph { background: linear-gradient(135deg, #EEF0F4, #E3E6EC); }
.pc-media .ph::after { color: rgba(20, 22, 31, .15); }
.pc-top { position: absolute; inset: 10px 10px auto 10px; display: flex; justify-content: space-between; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; font-size: .74rem; font-weight: 750; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.chip svg { width: 14px; height: 14px; }
.chip-dark { background: rgba(20, 22, 31, .72); color: #fff; backdrop-filter: blur(4px); }
.chip-off-plan { background: var(--brand); color: #fff; }
.chip-under-construction { background: var(--amber); color: #fff; }
.chip-ready, .chip-completed { background: var(--green); color: #fff; }
.pc-devlogo { position: absolute; inset-inline-start: 10px; bottom: 10px; display: grid; place-items: center; width: 96px; height: 40px; padding: 6px 10px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.pc-devlogo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 14px; flex: 1; }
.pc-title { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.pc-title a { color: var(--ink); }
.pc-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc-loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .88rem; }
.pc-loc svg { width: 15px; height: 15px; flex-shrink: 0; }
.pc-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-facts li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 7px; background: var(--surface); font-size: .78rem; font-weight: 650; color: var(--ink-2); }
.pc-facts svg { width: 14px; height: 14px; color: var(--muted); }
.pc-price { margin: 4px 0 0; font-weight: 800; color: var(--ink); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); }
.pc-dev { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 750; color: var(--brand); white-space: nowrap; }
.pc-cta svg { width: 15px; height: 15px; }
.grid-projects { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }

/* Area photo cards */
.ac { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: #222; isolation: isolate; }
.ac img, .ac .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .45s; }
.ac::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); z-index: -1; }
.ac:hover img { transform: scale(1.05); }
.ac-body { position: absolute; inset: auto 0 0 0; padding: 16px; color: #fff; display: grid; gap: 2px; }
.ac-name { font-weight: 800; font-size: 1.12rem; }
.ac-meta { font-size: .82rem; opacity: .9; }
.ac .ph { background: linear-gradient(160deg, #3A3F50, #14161F); }

/* Developer logo row */
.devrow { display: grid; grid-auto-flow: column; grid-auto-columns: 170px; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.devcard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: box-shadow .15s, border-color .15s; }
.devcard:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.devcard .dlogo { width: 100%; height: 64px; border: 0; }
.devcard strong { font-size: .9rem; color: var(--ink); line-height: 1.25; }
.devcard small { color: var(--muted); font-weight: 600; }

/* Logo marquee / dlogo restyle */
.marquee-section { background: #fff; }
.dlogo { border-color: var(--line); border-radius: 12px; }
.dlogo-mono { background: linear-gradient(145deg, var(--mono), color-mix(in srgb, var(--mono) 75%, #000)); }

/* Light trust + newsletter (no dark blocks) */
.method, .newsletter { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.method h2, .newsletter h2, .method-steps h3 { color: var(--ink); }
.method-steps li { background: #fff; border-color: var(--line); }
.method-steps p, .newsletter-copy p { color: var(--muted); }
.newsletter .kicker, .method .kicker { color: var(--brand); }
.newsletter-form { background: #fff; border: 1px solid var(--line); }
.newsletter-form input, .newsletter-form select { border: 1.5px solid var(--line); }
.newsletter-done { color: var(--ink); }
.cta-band { background: linear-gradient(120deg, var(--brand-soft), #fff 70%); border-color: #F7D4D6; }
.journey-icon { color: var(--brand); }
.journey-n { background: var(--brand); color: #fff; }
.journey::before { background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px); opacity: .35; }
.verify-card::before { background: linear-gradient(90deg, var(--brand), #F59E0B); }
.takeaways { background: linear-gradient(135deg, var(--brand-soft), #fff 70%); border-color: #F7D4D6; }
.takeaways-icon { background: var(--brand); color: #fff; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); text-decoration-color: rgba(224, 52, 60, .35); }
.toc a:hover, .toc a.is-active, .subnav a.is-active { color: var(--brand); }
.subnav a:hover, .subnav a.is-active { border-bottom-color: var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); }
.type-icon { background: var(--brand-soft); color: var(--brand); }
.area-link-icon { background: var(--brand-soft); color: var(--brand); }
.pill svg { color: var(--brand); }
.fact dt, .overview dt { color: var(--muted); }
.site-footer { background: #14161F; }
.brand-invert .brand-mark rect:first-child { fill: #fff; }
.brand-invert .brand-mark rect:not(:first-child), .brand-invert .brand-mark path[fill] { fill: #14161F; }

/* ---- Cover banner for developer and area pages ----------------------- */
.cover { position: relative; height: clamp(180px, 26vw, 320px); background: #1B1E29; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .55)); }
.cover-credit { position: absolute; z-index: 2; inset-inline-end: 12px; bottom: 8px; font-size: .68rem; color: rgba(255, 255, 255, .75); }
.cover-credit a { color: inherit; }
.profile-head { position: relative; display: flex; gap: 24px; align-items: flex-end; margin-top: -72px; padding-bottom: 20px; z-index: 3; }
.profile-logo { flex-shrink: 0; width: 168px; height: 132px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); }
.profile-logo .dlogo { border: 0; width: 100%; height: 100%; }
.profile-main { flex: 1; min-width: 0; padding-bottom: 4px; }
.profile-main h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.profile-meta span { display: inline-flex; align-items: center; gap: 6px; }
.profile-meta svg { width: 16px; height: 16px; color: var(--brand); }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .profile-head { flex-direction: column; align-items: flex-start; margin-top: -56px; gap: 14px; }
  .profile-logo { width: 128px; height: 100px; }
}
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 6px 0 8px; }
.statgrid div { padding: 14px 18px; border-inline-end: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin: 0 -1px -1px 0; }
.statgrid dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.statgrid dd { margin: 4px 0 0; font-weight: 800; color: var(--ink); }
.area-hero-title { position: absolute; z-index: 2; inset: auto 0 0 0; padding-bottom: 26px; color: #fff; }
.area-hero-title h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.area-hero-title p { margin: 0; color: rgba(255, 255, 255, .9); font-weight: 600; }
.cover-tall { height: clamp(240px, 34vw, 420px); }

/* ---- Listing page with filter sidebar -------------------------------- */
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 18px; }
.filters-side { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 16px; }
.filters-side h2 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.filters-side h2 svg { color: var(--brand); }
.f-group { display: grid; gap: 6px; }
.f-group > span { font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.f-group select { font: inherit; font-size: .94rem; padding: 11px 32px 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg a { padding: 7px 12px; border-radius: 8px; border: 1.5px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.seg a:hover { border-color: var(--ink); }
.seg a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-bar h1 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin: 0; }
.results-bar p { margin: 2px 0 0; color: var(--muted); font-weight: 600; }
.sort { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9rem; color: var(--muted); }
.sort select { font: inherit; font-weight: 700; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 30px 9px 10px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; font-size: .82rem; }
.active-filters svg { width: 14px; height: 14px; }
.filter-open { display: none; }
@media (max-width: 960px) {
  .listing { grid-template-columns: 1fr; }
  .filters-side { position: fixed; inset: 0; z-index: 90; border-radius: 0; overflow-y: auto; transform: translateY(100%); transition: transform .25s; align-content: start; }
  .filters-side.is-open { transform: none; }
  .filter-open { display: inline-flex; }
}
.filters-close { display: none; }
@media (max-width: 960px) { .filters-close { display: inline-grid; position: absolute; top: 12px; inset-inline-end: 12px; } }

/* ---- Project detail -------------------------------------------------- */
.pd-head { padding-top: 6px; }
.pd-title { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 16px; flex-wrap: wrap; }
.pd-title h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pd-loc { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-weight: 600; margin: 0; }
.pd-loc span { display: inline-flex; align-items: center; gap: 6px; }
.pd-loc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.pd-loc svg { width: 16px; height: 16px; color: var(--brand); }
.pd-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(260px, 40vw, 480px); border-radius: 16px; overflow: hidden; }
.pd-gallery a { position: relative; display: block; overflow: hidden; background: var(--surface); }
.pd-gallery a:first-child { grid-row: span 2; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pd-gallery a:hover img { transform: scale(1.03); }
.pd-gallery.n1 { grid-template-columns: 1fr; }
.pd-gallery.n1 a:first-child { grid-row: span 2; }
.pd-gallery.n2 { grid-template-columns: 2fr 1fr; }
.pd-gallery.n3 { grid-template-columns: 2fr 1fr; }
.pd-gallery.n4 a:last-child { grid-column: span 2; }
.pd-allphotos { position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 750; font-size: .85rem; box-shadow: var(--shadow); }
.pd-allphotos svg { width: 16px; height: 16px; }
.pd-gallery-wrap { position: relative; }
@media (max-width: 700px) { .pd-gallery { grid-template-columns: 1fr !important; grid-template-rows: 1fr; height: 260px; margin-inline: -16px; border-radius: 0; } .pd-gallery a:not(:first-child) { display: none; } }
.pd-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 20px 0 6px; }
.pd-strip div { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.pd-strip svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.pd-strip span { display: grid; min-width: 0; }
.pd-strip small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pd-strip strong { font-weight: 800; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.pd-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); margin-top: 18px; }
.pd-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs a { display: block; padding: 14px 14px; font-weight: 700; font-size: .92rem; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.pd-tabs a:hover, .pd-tabs a.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.enquire { position: sticky; top: calc(var(--header-h) + 64px); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); background: #fff; }
.enquire-dev { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.enquire-dev .dlogo { width: 84px; height: 48px; border-radius: 10px; flex-shrink: 0; }
.enquire-dev strong { display: block; color: var(--ink); }
.enquire-dev a { font-size: .84rem; font-weight: 700; color: var(--brand); }
.enquire h2 { font-size: 1.1rem; margin: 0 0 4px; }
.enquire p { font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.enquire .btn { width: 100%; margin-top: 8px; }
.enquire-note { font-size: .78rem; color: var(--muted); margin-top: 12px; }

/* Mobile bottom bar (project pages) */
.mobile-cta { background: #fff; }
.mobile-cta .btn { border-radius: 10px; }

/* Generic page heroes in light style */
.page-hero, .entity-hero, .dev-hero { background: #fff; border-bottom: 1px solid var(--line); }
.page-hero-inner { padding-block: 26px 24px; }
.page-hero h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); }
.filters-side .filter-search { max-width: none; min-width: 0; width: 100%; border-radius: 10px; border-width: 1.5px; }
.filters-side .filter-search input { min-width: 0; }
/* Only the logo overlaps the cover; name and actions sit below it */
.profile-head { margin-top: 0; align-items: center; padding-top: 16px; }
.profile-logo { margin-top: -84px; align-self: flex-start; }
@media (max-width: 760px) { .profile-head { margin-top: 0; } .profile-logo { margin-top: -64px; } }

/* Property type: browse by community / bedrooms / developer */
#browse h3 { margin: 22px 0 10px; font-size: 1rem; }

/* Home: buyer guides and popular searches */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.guide-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-card svg { width: 28px; height: 28px; color: var(--brand); }
.guide-card strong { font-size: 1.02rem; line-height: 1.35; }
.guide-card span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.popular-links { margin-top: 20px; }
.popular-links ul { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 28px; }
.popular-links li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.popular-links a { color: var(--ink-2); font-size: .93rem; }
.popular-links a:hover { color: var(--brand); }

/* A–Z list of every project on developer and area pages */
.name-list { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 24px; }
.name-list li { break-inside: avoid; padding: 5px 0; font-size: .92rem; }
.name-list a { color: var(--ink-2); }
.name-list a:hover { color: var(--brand); }
