/* =========================================================
   Property site engine — shared by every project site.
   Colours and fonts are defaults; each project overrides them
   through `theme` in project.js (applied as CSS variables).
   ========================================================= */

:root {
  --primary: #0f3d60;             /* dark brand colour: bands, buttons, headings */
  --primary-deep: #0a2a43;        /* darker: dark sections, drawer */
  --primary-ink: #07203a;         /* darkest: hero base, footer */
  --accent: #00b0bd;              /* highlight colour on dark backgrounds */
  --accent-ink: #00808a;          /* accent for text on light backgrounds (AA) */
  --accent-soft: #e6f6f7;         /* pale accent for chips and icon tiles */
  --on-accent: var(--primary-ink);/* text on accent buttons */
  --tint: #f1f7f8;                /* cool alternate section background */
  --warm: #f7f4ef;                /* warm alternate section background */
  --ink: #1d2a35;
  --muted: #5a6b78;
  --line: #dde6eb;
  --white: #ffffff;
  --wa: #25d366;
  --wa-ink: #128c4a;

  --display-font: "Aboreto";
  --body-font: "Quicksand";
  --font-display: var(--display-font), "Noto Sans SC", "PingFang SC", "Microsoft YaHei", serif;
  --font-body: var(--body-font), "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px color-mix(in srgb, var(--primary-deep) 28%, transparent);
  --shadow-lg: 0 24px 60px -20px color-mix(in srgb, var(--primary-deep) 40%, transparent);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- language switching ---------- */
html[lang="en"] [lang="zh-Hans"],
html[lang="zh-Hans"] [lang="en"] { display: none !important; }
html[lang="zh-Hans"] body { font-weight: 400; letter-spacing: .01em; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--primary .eyebrow, .hero .eyebrow { color: var(--accent); }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--primary);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  letter-spacing: .02em;
  line-height: 1.15;
}
html[lang="zh-Hans"] .display { font-weight: 500; letter-spacing: .06em; }
.section--primary .display { color: var(--white); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.section--primary .lead { color: rgba(255,255,255,.78); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.display { margin-bottom: 18px; }
.note { font-size: .82rem; color: var(--muted); }
.ai-tag {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  font-size: .68rem; letter-spacing: .06em; color: #fff; background: color-mix(in srgb, var(--primary-ink) 55%, transparent);
  padding: 3px 8px; border-radius: 99px; backdrop-filter: blur(4px); pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 24px; border-radius: 99px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--primary-deep); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--wa { background: var(--wa); color: #06341b; }
.btn--wa:hover { background: #3be07c; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary-ink) 55%, transparent), color-mix(in srgb, var(--primary-ink) 0%, transparent));
  transition: opacity .3s;
}
.site-header.is-solid { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px color-mix(in srgb, var(--primary-deep) 40%, transparent); }
.site-header.is-solid::before { opacity: 0; }
.header-inner { position: relative; display: flex; align-items: center; gap: 20px; width: 100%; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark { display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 8px 11px; font-size: .9rem; font-weight: 600; text-decoration: none; color: #fff;
  border-radius: 99px; transition: color .2s, background .2s;
}
.nav a:hover { background: rgba(255,255,255,.12); }
.site-header.is-solid .nav a { color: var(--ink); }
.site-header.is-solid .nav a:hover { background: var(--tint); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid rgba(255,255,255,.5); border-radius: 99px; padding: 3px; gap: 2px;
}
.lang-toggle button {
  border: 0; background: transparent; color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; min-width: 40px;
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--primary); }
.site-header.is-solid .lang-toggle { border-color: var(--line); }
.site-header.is-solid .lang-toggle button { color: var(--muted); }
.site-header.is-solid .lang-toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.menu-btn { display: none; border: 0; background: transparent; color: #fff; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-btn .icon { width: 26px; height: 26px; }
.site-header.is-solid .menu-btn { color: var(--primary); }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 62px; }
  .brand img { height: 32px; }
  .header-actions .btn { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--primary-deep); color: #fff;
  display: flex; flex-direction: column; padding: 18px var(--gutter) 28px;
  transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.drawer-top img { height: 34px; width: auto; }
.drawer-close { border: 0; background: rgba(255,255,255,.08); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.drawer nav { display: flex; flex-direction: column; margin: 28px 0; }
.drawer nav a { padding: 13px 0; font-family: var(--font-display); font-size: 1.35rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer .btn-row { margin-top: auto; }
.drawer .btn { flex: 1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--primary-ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--primary-ink) 88%, transparent) 0%, color-mix(in srgb, var(--primary-ink) 55%, transparent) 42%, color-mix(in srgb, var(--primary-ink) 5%, transparent) 75%),
    linear-gradient(0deg, color-mix(in srgb, var(--primary-ink) 85%, transparent) 0%, color-mix(in srgb, var(--primary-ink) 0%, transparent) 45%);
}
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 9vh, 96px); width: 100%; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.06;
  letter-spacing: .01em; max-width: 13ch; margin-bottom: 20px; text-wrap: balance;
}
html[lang="zh-Hans"] .hero h1 { font-weight: 500; letter-spacing: .06em; line-height: 1.25; max-width: 12em; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 54ch; color: rgba(255,255,255,.86); margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 99px;
  font-size: .82rem; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px);
}
.badge .icon { width: 1em; height: 1em; color: var(--accent); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
.hero-price { line-height: 1.2; }
.hero-price small { display: block; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.hero-price strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; }
.hero-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(48px, 9vh, 96px); display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); border-radius: 2px; }
.hero-dots button[aria-current="true"] { background: var(--accent); }
.hero .ai-tag { bottom: 16px; right: var(--gutter); }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(0deg, color-mix(in srgb, var(--primary-ink) 95%, transparent) 0%, color-mix(in srgb, var(--primary-ink) 70%, transparent) 45%, color-mix(in srgb, var(--primary-ink) 15%, transparent) 80%); }
  .hero-dots { display: none; }
  .hero-badges li:nth-child(n+4) { display: none; }
  .hero-foot .btn-row { width: 100%; }
  .hero-foot .btn { flex: 1; }
}

/* ---------- stats strip ---------- */
.stats { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
/* 1px gaps over a light background draw the divider lines for any number of cells */
.stats .container { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 1px; background: rgba(255,255,255,.1); background-clip: content-box; }
.stat { padding: 28px 12px; text-align: center; background: var(--primary); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: var(--accent); line-height: 1.1; }
.stat > span { font-size: .82rem; color: rgba(255,255,255,.78); letter-spacing: .04em; }
@media (max-width: 860px) {
  .stats .container { grid-template-columns: repeat(var(--nm, 3), 1fr); }
  .stat.fill { grid-column: span var(--fill, 1); }
}
@media (max-width: 420px) {
  .stat { padding: 20px 6px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--warm { background: var(--warm); }
.section--primary { background: var(--primary-deep); color: #fff; }
.facet-bg { position: relative; isolation: isolate; }
.facet-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M0 104 60 0l60 104zM30 52h60M60 104 30 52M60 104l30-52'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 104px;
}
.section--tint.facet-bg::before, .section--warm.facet-bg::before { opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%23dbe9ec' stroke-width='1'%3E%3Cpath d='M0 104 60 0l60 104zM30 52h60M60 104 30 52M60 104l30-52'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- overview ---------- */
.overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.overview-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.overview-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.concept {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
  margin: 28px 0; padding: 18px; border-radius: var(--radius); background: var(--warm);
}
.concept img { width: 96px; height: 120px; object-fit: contain; mix-blend-mode: multiply; }
.concept h3 { font-family: var(--font-display); font-weight: 400; color: var(--primary); font-size: 1.15rem; margin-bottom: 6px; }
.concept p { margin: 0; font-size: .93rem; color: var(--muted); }
.facts { border-top: 2px solid var(--primary); }
.facts tr { border-bottom: 1px solid var(--line); }
.facts th, .facts td { padding: 11px 4px; text-align: left; vertical-align: top; font-size: .93rem; }
.facts th { width: 40%; color: var(--muted); font-weight: 600; padding-right: 16px; }
.facts td { color: var(--ink); font-weight: 700; }
.facts td small { display: block; font-weight: 500; color: var(--muted); }
.overview-side .btn-row { margin-top: 24px; }
@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-media img { aspect-ratio: 16 / 11; }
}

/* ---------- highlights ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hl {
  position: relative; padding: 26px 24px 24px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.hl:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.hl-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px; }
.hl-icon .icon { width: 26px; height: 26px; }
.hl h3 { font-size: 1.08rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.hl p { margin: 0; font-size: .93rem; color: var(--muted); }
.hl-num { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); color: var(--line); font-size: 1.6rem; }
@media (max-width: 900px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .hl-grid { grid-template-columns: 1fr; gap: 10px; }
  .hl { padding: 16px 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .hl-icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .hl-icon .icon { width: 22px; height: 22px; }
  .hl h3 { margin: 2px 0 4px; }
  .hl-num { display: none; }
}

/* ---------- location ---------- */
.loc-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.loc-map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); display: block; cursor: zoom-in; }
.loc-map img { width: 100%; }
.zoom-hint {
  position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--primary); font-size: .8rem; font-weight: 700;
}
.commute {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px;
}
.commute div { background: var(--primary); color: #fff; border-radius: var(--radius-sm); padding: 14px 16px; }
.commute b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--accent); line-height: 1.1; }
.commute div > span { font-size: .82rem; color: rgba(255,255,255,.8); }
.tabs-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tab-btn {
  border: 1.5px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 99px; font-size: .86rem; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; transition: all .2s;
}
.tab-btn .icon { width: 1.05em; height: 1.05em; }
.tab-btn:hover { border-color: var(--accent); color: var(--primary); }
.tab-btn[aria-selected="true"], .tab-btn[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.tab-panel[hidden] { display: none; }
.dist-list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 2px; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.dist-list li > span:first-child { font-weight: 600; color: var(--ink); }
.dist-list li > span:not(:first-child) { color: var(--accent-ink); font-weight: 700; text-align: right; white-space: nowrap; }
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tint); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }
.map-links { display: flex; gap: 8px; padding: 10px; background: #fff; }
.map-links .btn { flex: 1; }
@media (max-width: 960px) { .loc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .commute { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .commute div { padding: 12px 10px; } .commute b { font-size: 1.25rem; } }

/* ---------- layouts ---------- */
.plan-tabs { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 10px; margin-bottom: 26px; }
.plan-tab {
  text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); padding: 16px 18px;
  transition: all .2s; display: flex; flex-direction: column; gap: 2px;
}
.plan-tab small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; }
.plan-tab strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--primary); }
.plan-tab span { font-size: .86rem; color: var(--muted); }
.plan-tab:hover { border-color: var(--accent); }
.plan-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); box-shadow: var(--shadow); }
.plan-tab[aria-selected="true"] small { color: var(--accent); }
.plan-tab[aria-selected="true"] strong, .plan-tab[aria-selected="true"] span { color: #fff; }
.plan-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.plan-panel[hidden] { display: none; }
.plan-figure { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 18px; position: relative; }
.plan-variants { display: flex; gap: 6px; margin-bottom: 12px; }
.plan-variants button { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 16px; font-weight: 700; font-size: .85rem; color: var(--muted); }
.plan-variants button[aria-pressed="true"] { border-color: var(--accent); color: var(--primary); background: var(--accent-soft); }
.plan-figure a { display: block; cursor: zoom-in; position: relative; }
.plan-figure img { margin: 0 auto; max-height: 560px; width: auto; }
.plan-figure .zoom-hint { top: auto; bottom: 6px; left: 6px; background: var(--tint); }
.plan-info h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--primary); }
.plan-size { font-size: 1.05rem; color: var(--accent-ink); font-weight: 700; margin: 4px 0 14px; }
.plan-info > p { color: var(--muted); }
.spec-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.spec-chips li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; padding: 10px 12px; background: var(--tint); border-radius: var(--radius-sm); }
.spec-chips .icon { color: var(--accent-ink); width: 22px; height: 22px; }
.spec-chips small { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
.price-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; border-radius: var(--radius); background: var(--primary); color: #fff; margin-top: 8px;
}
.price-box small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.price-box strong { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; }
.price-box .units { font-size: .82rem; color: rgba(255,255,255,.7); }
.kitchen-thumb { display: flex; gap: 12px; align-items: center; margin-top: 16px; text-decoration: none; }
.kitchen-thumb img { width: 110px; height: 66px; object-fit: cover; border-radius: var(--radius-sm); }
.kitchen-thumb span { font-size: .86rem; font-weight: 700; color: var(--primary); }
.kitchen-thumb span small { display: block; font-weight: 500; color: var(--muted); }
.furnish {
  margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center;
  padding: 24px 28px; border-radius: var(--radius); background: var(--warm);
}
.furnish h3 { font-family: var(--font-display); font-weight: 400; color: var(--primary); font-size: 1.3rem; }
.furnish ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.furnish li { display: flex; gap: 8px; font-size: .9rem; font-weight: 600; }
.furnish li .icon { color: var(--accent-ink); margin-top: 3px; }
.floorplates { margin-top: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.floorplate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.floorplate-card h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 4px; }
.floorplate-card p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.floorplate-card a { display: block; position: relative; cursor: zoom-in; }
.floorplate-card .zoom-hint { top: auto; bottom: 8px; background: var(--tint); }
@media (max-width: 960px) {
  .plan-panel { grid-template-columns: 1fr; }
  .furnish { grid-template-columns: 1fr; }
  .furnish ul { grid-template-columns: 1fr 1fr; }
  .floorplates { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plan-tabs { grid-template-columns: 1fr; gap: 8px; }
  .plan-tab { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 12px 16px; }
  .plan-tab strong { font-size: 1.1rem; }
  .plan-figure img { max-height: 420px; }
  .spec-chips { grid-template-columns: 1fr; }
  .furnish ul { grid-template-columns: 1fr; }
}

/* ---------- facilities ---------- */
.fac-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-lg); }
.fac-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.fac-hero-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2; background: color-mix(in srgb, var(--primary-ink) 78%, transparent); backdrop-filter: blur(6px);
  color: #fff; padding: 14px 20px; border-radius: var(--radius-sm); line-height: 1.2;
}
.fac-hero-badge b { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; color: var(--accent); display: block; }
.fac-hero-badge span { font-size: .86rem; }
.fac-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.fac-plan { background: #fff; border-radius: var(--radius); padding: 14px; border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 16px); }
.fac-plan a { display: block; position: relative; cursor: zoom-in; }
.fac-plan .legend { display: flex; gap: 16px; font-size: .8rem; font-weight: 600; color: var(--muted); margin-top: 10px; }
.fac-plan .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.zones { display: grid; gap: 16px; }
.zone { background: #fff; border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.zone-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.zone-head .hl-icon { margin: 0; width: 42px; height: 42px; border-radius: 12px; }
.zone-head h3 { font-size: 1rem; color: var(--primary); font-weight: 700; letter-spacing: .02em; }
.zone-head small { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.zone ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.zone li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; padding: 4px 0; }
.num { display: inline-flex; gap: 3px; flex: none; }
.num i {
  font-style: normal; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 99px;
  font-size: .68rem; font-weight: 700; background: var(--primary); color: #fff;
}
.num i.in { background: var(--accent); color: var(--primary-ink); }
@media (max-width: 960px) {
  .fac-grid { grid-template-columns: 1fr; }
  .fac-plan { position: static; }
  .fac-hero img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .zone ul { grid-template-columns: 1fr; } }

/* carousel */
.carousel { position: relative; margin-top: 48px; }
.carousel-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.carousel-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--primary); }
.carousel-nav { display: flex; gap: 8px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--primary);
  display: inline-grid; place-items: center; transition: all .2s;
}
.icon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 82%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.slide-card { scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; display: block; text-decoration: none; cursor: zoom-in; background: var(--primary); }
.slide-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.slide-card:hover img { transform: scale(1.04); }
.slide-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-weight: 700;
  background: linear-gradient(0deg, color-mix(in srgb, var(--primary-ink) 85%, transparent), transparent);
}
.slide-card .ai-tag { top: 10px; bottom: auto; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.gallery-grid { columns: 3 280px; column-gap: 14px; }
.g-item { break-inside: avoid; margin-bottom: 14px; position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--tint); }
.g-item img { width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.g-item:hover img { transform: scale(1.03); }
.g-item[hidden] { display: none; }
@media (max-width: 640px) {
  .gallery-grid { columns: 2; column-gap: 8px; }
  .g-item { margin-bottom: 8px; }
}
.g-item figcaption { position: absolute; left: 10px; top: 10px; z-index: 2; font-size: .74rem; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--primary-ink) 60%, transparent); padding: 3px 9px; border-radius: 99px; backdrop-filter: blur(4px); }

/* ---------- smart & green / specs ---------- */
.green-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.green-card { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.green-card .hl-icon { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.green-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.green-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .92rem; }
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.brands > span { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; margin-right: 8px; }
.brand-pill { padding: 10px 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .92rem; }
.brand-pill small { color: rgba(255,255,255,.6); font-weight: 500; margin-left: 6px; }
@media (max-width: 900px) { .green-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .green-grid { grid-template-columns: 1fr; } }

.specs { margin-top: 56px; display: grid; gap: 10px; }
.specs-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }
.acc { border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.acc summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 20px 18px; }
.spec-table th, .spec-table td { padding: 9px 8px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; text-align: left; }
.spec-table th { color: rgba(255,255,255,.62); font-weight: 600; width: 38%; }
.spec-table.count th, .spec-table.count td { text-align: center; }
.spec-table.count th:first-child, .spec-table.count td:first-child { text-align: left; width: auto; }
.spec-table.count thead th { color: var(--accent); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.price-table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--primary); color: #fff; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.price-table tbody tr:hover { background: var(--tint); }
.price-table .t { font-family: var(--font-display); font-size: 1.2rem; color: var(--primary); white-space: nowrap; }
.price-table .p { font-weight: 700; color: var(--primary); white-space: nowrap; }
.price-table .psf { color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
.price-table small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
.price-table tfoot td { background: var(--warm); font-size: .88rem; }
.price-foot { margin-top: 14px; }
.price-foot .btn-row { margin-top: 18px; }
@media (max-width: 640px) {
  .price-table .col-psf { display: none; }
  .price-table th, .price-table td { padding: 12px 10px; }
}

.calc { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.calc h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--primary); margin-bottom: 4px; }
.calc > p { font-size: .9rem; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-size: .82rem; font-weight: 700; color: var(--primary); display: flex; justify-content: space-between; gap: 10px; }
.field label output { color: var(--accent-ink); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f3d60' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-out { margin-top: 8px; padding: 18px; border-radius: var(--radius-sm); background: var(--primary); color: #fff; }
.calc-main small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.calc-main strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.2; }
.calc-main .sgd { font-size: .85rem; color: rgba(255,255,255,.7); }
.calc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; }
.calc-rows span { color: rgba(255,255,255,.66); display: block; font-size: .76rem; }
.calc-rows b { font-weight: 700; }
.calc-yield { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.calc-yield .res { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.calc-yield .res div { background: var(--tint); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .8rem; color: var(--muted); }
.calc-yield .res b { display: block; font-size: 1.15rem; color: var(--primary); }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } .calc { padding: 20px; } }

/* ---------- progress / timeline ---------- */
.progress-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.progress-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); display: block; cursor: zoom-in; }
.progress-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.progress-photo .live { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--primary); font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; }
.progress-photo .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e24c3b; box-shadow: 0 0 0 4px rgba(226,76,59,.2); }
.timeline { position: relative; padding-left: 28px; margin: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.timeline li.done::before { background: var(--accent); }
.timeline li.future::before { border-color: var(--line); }
.timeline time { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; }
.timeline h3 { font-size: 1.02rem; color: var(--primary); margin: 2px 0 2px; }
.timeline p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .progress-grid { grid-template-columns: 1fr; } }

/* ---------- developer ---------- */
.dev-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.dev-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.dev-kpis div { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; }
.dev-kpis b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; color: var(--primary); line-height: 1.1; }
.dev-kpis span { font-size: .82rem; color: var(--muted); }
.team { display: grid; gap: 10px; margin-top: 8px; }
.team li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.team li > span { color: var(--muted); font-weight: 600; }
.team li b { color: var(--primary); }
.team li b small { display: block; color: var(--muted); font-weight: 500; }
.proj-track { grid-auto-columns: min(300px, 78%); }
.proj { scroll-snap-align: start; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.proj img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: top; }
.proj div { padding: 14px 16px 16px; }
.proj h3 { font-size: .98rem; color: var(--primary); margin-bottom: 2px; }
.proj p { margin: 0; font-size: .82rem; color: var(--muted); }
.proj .vp { display: inline-block; margin-top: 8px; font-size: .74rem; font-weight: 700; color: var(--wa-ink); background: #e5f8ec; padding: 3px 10px; border-radius: 99px; }
.ongoing { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; }
.ongoing b { color: var(--primary); margin-right: 4px; }
.ongoing > span { padding: 5px 12px; border-radius: 99px; background: #fff; font-weight: 600; }
.banks { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.banks h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; text-align: center; }
.bank-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bank-list li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font-weight: 700; font-size: .88rem; color: var(--primary); background: #fff; }
@media (max-width: 960px) { .dev-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .team li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s, border-color .2s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--primary); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.2rem; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq > div { padding: 0 22px 20px; color: var(--muted); }
.faq > div p:last-child { margin: 0; }

/* ---------- enquiry ---------- */
.enquire-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.agent { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; }
.agent-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-ink)); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: #fff; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent h3 { font-size: 1.2rem; }
.agent-top p { margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; }
.agent ul { display: grid; gap: 10px; margin: 18px 0 22px; }
.agent li { display: flex; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.85); }
.agent li .icon { color: var(--accent); margin-top: 3px; }
.agent .btn-row .btn { flex: 1; }
.agent .reg { margin-top: 16px; font-size: .78rem; color: rgba(255,255,255,.55); }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }
.form h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--primary); margin-bottom: 4px; }
.form > p { color: var(--muted); font-size: .92rem; }
.phone-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 99px; font-size: .86rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--primary); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; margin: 4px 0 18px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.err { color: #c0392b; font-size: .78rem; font-weight: 600; display: none; }
.field.invalid .input { border-color: #e06a5c; }
.field.invalid .err { display: block; }
@media (max-width: 960px) { .enquire-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--primary-ink); color: rgba(255,255,255,.72); padding: 64px 0 110px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer img.flogo { height: 96px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--accent); }
.footer .ffacts li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.footer .ffacts b { color: #fff; font-weight: 600; text-align: right; }
.legal { padding-top: 28px; font-size: .76rem; line-height: 1.7; color: rgba(255,255,255,.5); display: grid; gap: 12px; }
.legal strong { color: rgba(255,255,255,.75); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 20px; font-size: .8rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- floating contact ---------- */
.fab {
  position: fixed; right: 20px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.06); }
.fab .icon { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: #fff; color: var(--primary); box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: all .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.mbar { display: none; }
@media (max-width: 760px) {
  .fab, .to-top { display: none; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    background: #fff; box-shadow: 0 -8px 24px -12px color-mix(in srgb, var(--primary-deep) 35%, transparent); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; border-radius: 10px; text-decoration: none; font-size: .74rem; font-weight: 700; color: var(--primary); }
  .mbar a .icon { width: 22px; height: 22px; }
  .mbar .m-wa { color: var(--wa-ink); }
  .mbar .m-book { background: var(--primary); color: #fff; flex-direction: row; gap: 8px; font-size: .88rem; }
  .footer { padding-bottom: 120px; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(4, 18, 32, .94); display: none;
  align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; background: #fff; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-size: .9rem; text-align: center; }
.lb-btn { position: absolute; border: 0; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -24px; }
.lb-next { right: 14px; top: 50%; margin-top: -24px; }
.lb-count { position: absolute; top: 24px; left: 24px; color: rgba(255,255,255,.6); font-size: .85rem; }
@media (max-width: 640px) { .lightbox { padding: 64px 10px 80px; } .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active img { animation: none; transform: none; }
  .fab::after { animation: none; }
}

/* ---------- column balance on wide screens ---------- */
@media (min-width: 961px) {
  .overview-side, .price-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- template fallbacks (sections with less content) ---------- */
.brand-text { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em; color: #fff; text-decoration: none; white-space: nowrap; }
.site-header.is-solid .brand .brand-text { color: var(--primary); }
.footer .brand-text { font-size: 1.6rem; margin-bottom: 16px; }
.floorplates--single, .fac-grid--single, .price-grid--single, .progress-grid--single { grid-template-columns: 1fr; }
.price-grid--single > div:first-child { position: static; }

/* ---------- promotion ---------- */
.hero-promo {
  display: flex; width: fit-content; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 18px; padding: 8px 14px 8px 12px;
  border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: .86rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 90%, transparent); transition: transform .2s var(--ease);
}
.hero-promo:hover { transform: translateY(-1px); }
.hero-promo .icon { width: 1.1em; height: 1.1em; }
.hero-price em { display: block; font-style: normal; font-size: .78rem; color: rgba(255,255,255,.7); margin-top: 2px; }
.hero-play { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.hero-play .hp-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.6); background: rgba(255,255,255,.1); backdrop-filter: blur(6px); transition: background .2s; }
.hero-play:hover .hp-icon { background: rgba(255,255,255,.24); }
.hero-play .icon { width: 18px; height: 18px; margin-left: 2px; }

.promo {
  margin-bottom: clamp(28px, 4vw, 44px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #fff; border: 1px solid var(--line);
}
.promo-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding: 20px 24px; background: var(--primary); color: #fff;
}
.promo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.promo-head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.promo-period { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.1); }
.promo-period .icon { color: var(--accent); }
.promo-points { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); }
.promo-points > div { padding: 20px 22px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 2px; }
.promo-points > div:last-child { border-right: 0; }
.promo-points .icon { width: 26px; height: 26px; color: var(--accent-ink); margin-bottom: 6px; }
.promo-points b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 2.4vw, 1.9rem); color: var(--primary); line-height: 1.15; }
.promo-points span { font-size: .86rem; color: var(--muted); font-weight: 600; }
.promo-more { border-top: 1px solid var(--line); }
.promo-more summary {
  list-style: none; cursor: pointer; padding: 14px 24px; font-weight: 700; color: var(--primary); font-size: .92rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.promo-more summary::-webkit-details-marker { display: none; }
.promo-more summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent-ink); transition: transform .2s; }
.promo-more[open] summary::after { transform: rotate(45deg); }
.promo-more .table-scroll { padding: 0 24px; }
.promo-table { min-width: 600px; font-size: .88rem; }
.promo-table th, .promo-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.promo-table thead th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.promo-table tbody th { font-family: var(--font-display); font-weight: 400; color: var(--primary); font-size: 1.05rem; white-space: nowrap; }
.promo-table td { font-weight: 700; color: var(--primary); }
.promo-terms { padding: 14px 24px 20px 42px; list-style: disc; display: grid; gap: 6px; font-size: .84rem; color: var(--muted); }
@media (max-width: 860px) {
  .promo-points { grid-template-columns: 1fr 1fr; }
  .promo-points > div:nth-child(2n) { border-right: 0; }
  .promo-points > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .promo-head, .promo-more summary { padding-left: 18px; padding-right: 18px; }
  .promo-points > div { padding: 16px; }
  .promo-more .table-scroll { padding: 0 18px; }
  .promo-terms { padding: 12px 18px 18px 34px; }
}

.calc-hint {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--primary); font-size: .86rem; font-weight: 600; line-height: 1.5;
}
.calc-hint .icon { color: var(--accent-ink); margin-top: 1px; }
.calc-wa { margin-top: 16px; padding: 16px; border-radius: var(--radius-sm); background: #eefaf2; border: 1px solid #cdeed9; }
.calc-wa p { margin: 0 0 12px; font-size: .86rem; color: var(--ink); }

/* ---------- videos ---------- */
.v-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 300px)); gap: 20px; justify-content: center; }
.v-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #fff; }
.v-media { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.06); box-shadow: var(--shadow-lg); }
.v-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.v-card:hover .v-media img { transform: scale(1.04); }
.v-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--primary-ink) 55%, transparent), transparent 45%); }
.v-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--primary); transition: transform .25s var(--ease);
}
.v-play .icon { width: 24px; height: 24px; margin-left: 3px; }
.v-card:hover .v-play { transform: scale(1.08); }
.v-dur { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: .74rem; font-weight: 700; background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 99px; }
.v-text small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.v-text strong { display: block; font-size: 1.02rem; }
.v-text > span { display: block; font-size: .86rem; color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .v-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62%, 240px); justify-content: start;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter);
  }
  .v-grid::-webkit-scrollbar { display: none; }
  .v-card { scroll-snap-align: start; }
}

.plan-extras { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; }
.plan-extras .kitchen-thumb { margin-top: 0; }
.video-thumb .vt-img { position: relative; display: block; width: 110px; height: 66px; border-radius: var(--radius-sm); overflow: hidden; background: var(--primary); flex: none; }
.video-thumb .vt-img img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .vt-img i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: color-mix(in srgb, var(--primary-ink) 35%, transparent); }
.video-thumb .vt-img .icon { width: 22px; height: 22px; }

.progress-photo.has-video { cursor: pointer; }
.pp-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: .9rem; text-shadow: 0 1px 8px rgba(0,0,0,.45); white-space: nowrap;
}
.pp-play i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--primary); }
.pp-play .icon { width: 24px; height: 24px; margin-left: 3px; }

.lightbox video { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 6px; background: #000; }
.lightbox video[hidden], .lightbox img[hidden] { display: none; }
.lightbox.is-video video { height: calc(100vh - 150px); aspect-ratio: 9 / 16; }
.agent .reg[hidden] { display: none; }

/* ---------- phone refinements (most visitors are on phones) ---------- */
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .lead { font-size: 1rem; }

  /* selling points: compact two-column cards */
  .hl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hl { display: block; padding: 14px 14px 16px; }
  .hl-icon { width: 38px; height: 38px; margin: 0 0 10px; border-radius: 11px; grid-row: auto; }
  .hl-icon .icon { width: 20px; height: 20px; }
  .hl h3 { font-size: .94rem; margin: 0 0 4px; }
  .hl p { font-size: .8rem; line-height: 1.5; }

  /* smart & green: icon beside text */
  .green-grid { gap: 10px; }
  .green-card { padding: 16px 18px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
  .green-card .hl-icon { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .green-card h3 { margin: 2px 0 4px; font-size: .98rem; }
  .green-card p { font-size: .86rem; }

  /* unit specs and facility lists in two columns */
  .spec-chips { grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
  .spec-chips li { padding: 8px 10px; font-size: .84rem; gap: 8px; }
  .spec-chips .icon { width: 18px; height: 18px; }
  .zone { padding: 16px; }
  .zone ul { grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .zone li { font-size: .84rem; }

  /* full-width buttons are easier to tap */
  .overview-side .btn-row .btn, .price-foot .btn-row .btn { flex: 1 1 100%; }
  .price-foot .btn-row { gap: 10px; }

  .calc .field-row { grid-template-columns: 1fr 1fr; }
  .promo-head h3 { font-size: 1.3rem; }
  .promo-points b { font-size: 1.35rem; }
  .facts th, .facts td { padding: 9px 4px; font-size: .88rem; }
}

/* single-column layouts: never let a long select or table push past the screen */
@media (max-width: 960px) {
  .loc-grid, .plan-panel, .fac-grid, .price-grid, .dev-grid, .enquire-grid, .floorplates { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .overview-grid, .progress-grid { grid-template-columns: minmax(0, 1fr); }
}
.select { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .zone ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zone li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .header-inner { gap: 10px; }
  .brand img { height: 28px; }
  .lang-toggle button { min-width: 36px; padding: 5px 8px; }
}

/* ===== WhatsApp details pop-up (bottom sheet on phones) ===== */
.wa-pop {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(4, 18, 32, .62); backdrop-filter: blur(3px);
}
.wa-pop[hidden] { display: none; }
.wa-pop-card {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  overflow-y: auto; overscroll-behavior: contain; background: #fff; color: var(--ink);
  border-radius: var(--radius); border-top: 4px solid var(--wa); padding: 24px 22px 18px; box-shadow: var(--shadow-lg);
  animation: wa-pop-in .25s ease;
}
.wa-pop-card:focus { outline: none; }
.wa-pop-x {
  position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--tint); color: var(--primary); display: grid; place-items: center;
}
.wa-pop-x .icon { width: 18px; height: 18px; }
.wa-pop-card h3 {
  display: flex; align-items: center; gap: 10px; margin: 0 46px 12px 0;
  font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--primary);
}
.wa-pop-card h3 .icon { width: 26px; height: 26px; flex: none; color: var(--wa-ink); }
.wa-pop-ctx {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 8px; padding: 10px 12px;
  border-radius: var(--radius-sm); background: #e5f8ec; font-size: .88rem; line-height: 1.45;
}
.wa-pop-ctx > span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wa-ink); }
.wa-pop-ctx b { color: var(--primary); font-weight: 700; }
.wa-pop-sub { margin: 0 0 16px; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.wa-pop .field { margin-bottom: 12px; }
.wa-pop .seg { gap: 6px; }
.wa-pop .seg label > span { min-height: 38px; padding: 0 12px; font-size: .84rem; }
.wa-pop .btn--block { margin-top: 6px; }
.wa-pop .form-note { margin-top: 10px; }
@keyframes wa-pop-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes wa-pop-up { from { transform: translateY(100%); } }
@media (max-width: 560px) {
  .wa-pop { align-items: flex-end; padding: 0; }
  .wa-pop-card {
    max-width: none; max-height: 92vh; max-height: 92dvh; border-radius: 18px 18px 0 0;
    padding: 20px 16px calc(14px + env(safe-area-inset-bottom)); animation-name: wa-pop-up;
  }
  .wa-pop-card h3 { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .wa-pop-card { animation: none; } }
