/* ===== Tokens ===== */
:root {
  --ink: #0a1020;
  --ink-2: #111a30;
  --navy: #0e1730;
  --slate: #5b6579;
  --line: #e3e8f0;
  --bg: #f4f7fb;
  --card: #ffffff;
  --gold: #e9b44c;
  --gold-soft: #fdf3dc;
  --copper-1: #e0701a;
  --copper-2: #a8430f;
  --green: #1faa59;
  --blue-soft: #e4effc;
  --blue: #1d5fae;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10, 16, 32, .05), 0 8px 24px rgba(10, 16, 32, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.container.narrow { max-width: 860px; }
.muted { color: var(--slate); }
.gold { color: var(--gold); }
.lead { font-size: 16px; color: var(--slate); max-width: 680px; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-2); margin-bottom: 8px; }
.eyebrow.gold { color: var(--gold); }
.rounded { border-radius: var(--radius); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 14px; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--copper-1), var(--copper-2)); box-shadow: 0 6px 16px rgba(168, 67, 15, .28); }
.btn-outline { background: #fff; border-color: #cfe0f3; color: var(--ink); }
.btn-outline:hover { border-color: var(--copper-1); color: var(--copper-2); }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-wa { background: #25c35f; color: #fff; }
.btn-lg { padding: 15px 24px; font-size: 15px; }
.btn-sm { padding: 8px 13px; font-size: 13px; }
.btn-block { width: 100%; }
.link { font-weight: 600; color: var(--copper-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--copper-2); font-weight: 600; font-size: 13px; }
.link-light { background: none; border: 0; color: #cfe1ff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }

/* ===== Top bar & header ===== */
.topbar { background: var(--ink); color: #d5dcea; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.topbar-left { min-width: 0; overflow: hidden; }
.topbar a:hover { color: #fff; }
.pill-gold { border: 1px solid rgba(233, 180, 76, .5); color: var(--gold); padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-size: 18px; font-weight: 800; }
.brand-text small { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-mark { background: #1a2544; }
.brand-logo { height: 64px; width: auto; max-width: 260px; object-fit: contain; }
/* Uploaded logos are usually dark text on transparent, so the footer shows them on a white card. */
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 4px; }
.footer-logo img { height: 48px; width: auto; max-width: 240px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; background: none; border: 0; color: var(--ink); }
.nav-link:hover { background: var(--bg); }
.chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.tag-hot { background: var(--gold-soft); color: #a86a00; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 999px; letter-spacing: .06em; }
.nav-item { position: relative; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(10, 16, 32, .16); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; }
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dropdown-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 470px; }
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dd-link { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 10px; }
.dd-link b { font-size: 14px; }
.dd-link small { color: var(--slate); font-size: 12px; }
.dd-link:hover, .dd-plain:hover { background: var(--bg); }
.dd-plain { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.dd-title { display: block; padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.dd-more { display: block; padding: 10px 12px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--copper-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.searchbar { border-top: 1px solid var(--line); background: #fff; padding: 12px 0; }
.searchbar .container { display: flex; gap: 10px; }

/* ===== Forms ===== */
input[type=text], input[type=search], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cfe0f3; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); outline: none; transition: border .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--copper-1); box-shadow: 0 0 0 3px rgba(224, 112, 26, .15); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b6579' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: var(--ink-2); }
.form-note { font-size: 11.5px; color: var(--slate); margin: 10px 0 0; text-align: center; }
.form-status { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.form-status.ok { background: #e6f7ee; color: #12713b; }
.form-status.err { background: #fdeaea; color: #a32020; }
.alert { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.alert-error { background: #fdeaea; color: #a32020; }
.alert-success { background: #e6f7ee; color: #12713b; }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; background: linear-gradient(100deg, rgba(8, 13, 26, .96) 35%, rgba(8, 13, 26, .72)), var(--hero-img, linear-gradient(135deg, #1a2748, #0a1020)); background-size: cover; background-position: center; padding: 72px 0 80px; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 10%, rgba(233, 180, 76, .16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.hero .lead { color: #c4cee2; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 22px; }
.hero-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 0; font-size: 13px; color: #cfe1ff; }
.hero-ticks li::before { content: '✓'; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 800; }
.search-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); display: grid; gap: 12px; }
.search-card h2 { font-size: 19px; margin: 0 0 4px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gap-sm { gap: 8px; margin: 8px 0; }

/* ===== Trust strip ===== */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-block: 26px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item strong { display: block; font-size: 13.5px; }
.trust-item small { color: var(--slate); font-size: 12.5px; line-height: 1.4; display: block; }
.tick { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--gold-soft); color: #a05a00; display: grid; place-items: center; font-weight: 800; }

/* ===== Sections ===== */
.section { padding: 64px 0; }
.section-tight { padding: 36px 0 64px; }
.section-alt { background: #fff; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lead { color: #aab5cc; margin-inline: auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.fineprint { text-align: center; color: #8b97b1; font-size: 12px; margin: 28px 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-cards-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 20px; }
.pad-lg { padding: 28px; }

/* ===== Project card ===== */
.pcard { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 16, 32, .13); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe6f1; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge-featured { background: var(--gold-soft); color: #8a5600; border: 1px solid #f1d38e; }
.badge-new { background: #dff8ea; color: #12713b; border: 1px solid #a5e6c2; }
.badge-rera { background: var(--blue-soft); color: var(--blue); }
.compare-btn { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.compare-btn.is-on { background: var(--gold); color: #fff; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pcard-dev { font-size: 12px; font-weight: 600; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-title { font-family: var(--display); font-weight: 700; font-size: 15.5px; line-height: 1.35; margin-top: 6px; }
.pcard-title:hover { color: var(--copper-2); }
.pcard-loc { font-size: 13px; color: var(--slate); margin: 4px 0 0; }
.pcard-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard-facts dt, .pd-facts dt { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.pcard-facts dd, .pd-facts dd { margin: 0; font-weight: 700; font-size: 14px; }
.pcard-excerpt { font-size: 13px; color: var(--slate); margin: 12px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.pcard-actions .btn { flex: 1; }

/* ===== Location / developer / why / guide cards ===== */
.loc-card { position: relative; min-height: 230px; border-radius: var(--radius); background-size: cover; background-position: center; color: #fff; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform .2s; }
.loc-card:hover { transform: translateY(-4px); }
.loc-card strong { font-family: var(--display); font-size: 19px; }
.loc-card small { color: #c4cee2; }
.loc-count { position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(4px); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.loc-go { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--gold); }
.dev-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.dev-grid-lg { grid-template-columns: repeat(6, 1fr); }
.dev-chip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .2s; }
.dev-chip:hover { border-color: var(--copper-1); transform: translateY(-3px); box-shadow: var(--shadow); }
.dev-chip img { height: 44px; object-fit: contain; }
.dev-chip strong { font-size: 13px; line-height: 1.3; }
.dev-chip small { color: var(--slate); font-size: 12px; }
.dev-initial { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; }
.why-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px; }
.why-card strong { display: block; font-family: var(--display); font-size: 16px; margin: 12px 0 6px; }
.why-card p { color: #aab5cc; font-size: 13.5px; margin: 0; }
.why-icon { font-size: 26px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; transition: .2s; }
.guide-card:hover { border-color: var(--copper-1); box-shadow: var(--shadow); }
.guide-card strong { font-family: var(--display); font-size: 16px; }
.guide-card p { color: var(--slate); font-size: 13.5px; margin: 8px 0 14px; flex: 1; }
.guide-card span { color: var(--copper-2); font-weight: 700; font-size: 13px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 13.5px; }
.chip:hover { border-color: var(--copper-1); color: var(--copper-2); }
.chip small { color: var(--slate); margin-left: 4px; }

/* ===== Articles ===== */
.acard { overflow: hidden; display: flex; flex-direction: column; }
.acard-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe6f1; }
.acard-media img { width: 100%; height: 100%; object-fit: cover; }
.acard-body { padding: 18px; }
.acard-title { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.35; margin-bottom: 8px; }
.acard-title:hover { color: var(--copper-2); }
.acard-meta { font-size: 12px; color: var(--slate); margin: 0; }
.article h1 { max-width: 820px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-bottom: 64px; }
.article-cover { margin: 18px 0; width: 100%; }

/* ===== FAQ / testimonials / CTA ===== */
.faq-split { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; align-items: start; }
.advisory { background: var(--ink); color: #fff; border-radius: 20px; padding: 28px; position: sticky; top: 100px; }
.advisory p { color: #aab5cc; }
.advisory ul { list-style: none; padding: 0; margin: 0 0 20px; }
.advisory li { padding: 6px 0; font-size: 14px; }
.advisory li::before { content: '✓'; color: var(--gold); font-weight: 800; margin-right: 10px; }
.advisory .btn { margin-bottom: 10px; }
.helpline { font-size: 13px; margin: 8px 0 0; color: #cfe1ff; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--copper-2); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .prose { padding: 0 20px 16px; color: var(--slate); }
.tcard { padding: 24px; margin: 0; }
.stars { color: var(--gold); letter-spacing: 2px; }
.tcard blockquote { margin: 12px 0 18px; font-size: 15px; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; }
.tcard small { display: block; color: var(--slate); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-weight: 800; }
.cta-band { background: linear-gradient(120deg, var(--ink), #1a2748); color: #fff; padding: 48px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-in h2 { margin: 0 0 6px; }
.cta-in p { margin: 0; color: #aab5cc; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Page head, filters, pagination ===== */
.page-head { background: linear-gradient(180deg, #e9f1fb, var(--bg)); border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .lead { margin: 0; }
.page-head-row { display: flex; gap: 20px; align-items: center; }
.page-logo { height: 64px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.crumbs { font-size: 13px; color: var(--slate); margin-bottom: 18px; }
.crumbs a:hover { color: var(--copper-2); }
.crumbs span { color: var(--ink); font-weight: 600; }
.crumbs-pad { padding-top: 22px; }
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px; }
.filter-checks { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 13.5px; }
.filter-checks label { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }
.filter-actions { display: flex; gap: 10px; }
.filter-actions .btn-primary { flex: 1; }
.result-count { margin: 22px 0 16px; color: var(--slate); font-size: 13.5px; }
.result-count strong { color: var(--ink); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.pagination a:hover { border-color: var(--copper-1); color: var(--copper-2); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { border: 0; background: none; }
.empty { text-align: center; padding: 56px 24px; }
.about-block { margin-top: 40px; }

/* ===== Prose & tables ===== */
.prose { font-size: 15.5px; line-height: 1.75; }
.prose h2 { font-size: 22px; margin-top: 1.4em; }
.prose h3 { font-size: 18px; margin-top: 1.3em; }
.prose a { color: var(--copper-2); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose > :last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.table tbody th { width: 34%; color: var(--slate); font-weight: 600; }
.compare-table th img { width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.compare-table thead th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); min-width: 220px; vertical-align: bottom; }
.compare-table thead a { display: block; font-family: var(--display); font-weight: 700; margin-bottom: 6px; }

/* ===== Project detail ===== */
.pd-top { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; padding: 18px 0 28px; align-items: start; }
.gallery-stage { position: relative; aspect-ratio: 16 / 9.4; border-radius: var(--radius); overflow: hidden; background: #dfe6f1; }
.gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.gallery-slide.is-active { opacity: 1; }
.gallery-nav { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.gallery-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(10, 16, 32, .75); color: #fff; font-size: 20px; line-height: 1; }
.gallery-count { position: absolute; right: 16px; bottom: 16px; background: rgba(10, 16, 32, .78); color: var(--gold); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; }
.gallery-count b { color: #fff; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .75; }
.gallery-thumbs button.is-active { border-color: var(--gold); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-summary { padding: 24px; }
.pd-summary h1 { font-size: 24px; margin: 10px 0 6px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.pd-facts dd.big { font-family: var(--display); font-size: 19px; }
.tabs-bar { position: sticky; top: 73px; z-index: 40; background: #fff; border-block: 1px solid var(--line); }
.tabs-scroll { display: flex; gap: 4px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.tabs-scroll a { flex: none; padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: 13.5px; }
.tabs-scroll a:hover { background: var(--bg); }
.tabs-scroll a.is-active { background: var(--ink); color: #fff; }
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding-block: 28px 64px; align-items: start; }
.pd-section { margin-bottom: 20px; }
.pd-section h2 { font-size: 22px; margin-bottom: 16px; }
.sticky { position: sticky; top: 140px; }
.quickfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 28px; }
.quickfacts div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.quickfacts small { display: block; color: var(--slate); font-size: 11.5px; }
.quickfacts strong { font-size: 13.5px; word-break: break-word; }
.ticklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticklist li { padding-left: 28px; position: relative; }
.ticklist li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--gold-soft); color: #8a5600; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.advlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.advlist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amenity-grid div { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13.5px; font-weight: 600; }
.amenity-grid span { font-size: 20px; }
.plan { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.plan-img { position: relative; aspect-ratio: 4 / 3; background: var(--bg); display: grid; place-items: center; }
.plan-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(5px); }
.plan-img .btn { position: relative; }
.plan figcaption { padding: 12px 14px; }
.plan figcaption small { display: block; color: var(--slate); }
.locked { background: var(--bg); border: 1px dashed #c4d3e6; border-radius: 14px; padding: 28px; text-align: center; }
.map iframe, .video iframe { width: 100%; border: 0; border-radius: 14px; display: block; }
.map iframe { height: 380px; }
.video iframe { aspect-ratio: 16 / 9; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo-grid button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: none; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-grid button:hover img { transform: scale(1.06); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-info .card { display: flex; flex-direction: column; gap: 2px; }
.contact-info a { color: var(--copper-2); font-weight: 600; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #aab5cc; font-size: 13.5px; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid > div > a { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer-about { margin: 16px 0; }
.footer p { margin: 0 0 8px; }
.socials { display: flex; gap: 14px; margin-top: 14px; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-block: 22px 28px; font-size: 12px; color: #7f8ba6; }
.footer-copy { margin-top: 8px; }

/* ===== Floating UI ===== */
.mobile-bar { display: none; }
.compare-tray { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 10px 8px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); font-size: 13.5px; font-weight: 600; }
.compare-tray .link-btn { color: #aab5cc; margin-right: 8px; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 13, 26, .7); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: 100%; max-width: 440px; max-height: 94vh; overflow-y: auto; background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 40px 100px rgba(0, 0, 0, .4); animation: pop .2s ease-out; }
.modal-card h3 { font-size: 22px; margin-bottom: 4px; padding-right: 30px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); font-size: 20px; line-height: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .dev-grid, .dev-grid-lg { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .pd-top, .pd-body { grid-template-columns: minmax(0, 1fr) 330px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}
/* The full menu needs ~1140px; below that it becomes the burger menu. */
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; max-height: calc(100vh - 110px); overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav-link { width: 100%; justify-content: space-between; }
  .dropdown, .dropdown-wide { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 8px 12px; grid-template-columns: 1fr; }
  .nav-item:hover .dropdown { display: none; }
  .nav-item.open .dropdown { display: block; }
}
@media (max-width: 960px) {
  .hero-grid, .faq-split, .pd-top, .pd-body, .article-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .advisory, .sticky { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-cards-3 { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid, .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 48px 0 56px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .brand-logo { height: 46px; max-width: 170px; }
  .grid-cards, .grid-3, .grid-cards-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .dev-grid, .dev-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .quickfacts, .ticklist, .advlist { grid-template-columns: minmax(0, 1fr); }
  .quickfacts { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 44px 0; }
  .pad-lg { padding: 20px; }
  .search-card { padding: 20px; }
  .tabs-bar { top: 73px; }
  body { padding-bottom: 58px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 16, 32, .1); }
  .mobile-bar a { padding: 16px 8px; text-align: center; font-weight: 700; font-size: 14px; }
  .mobile-bar .wa { background: #25c35f; color: #fff; }
  .mobile-bar .pri { background: linear-gradient(135deg, var(--copper-1), var(--copper-2)); color: #fff; }
  .compare-tray { bottom: 72px; width: max-content; max-width: calc(100% - 24px); }
}
@media (max-width: 420px) {
  .hide-xs { display: none !important; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
