/* Palm Jebel Ali Residences — ultra-luxury redesign
   Visual language: quiet, airy, wide-tracked gold capitals on cream and deep navy. */

@font-face { font-family: "PJA Display"; src: url("../fonts/pja-display.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "PJA Sans"; src: url("../fonts/pja-sans.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }

:root {
  --navy: #0d2638;
  --ink: #0f1c26;
  --abyss: #08141c;
  --teal: #1b5670;
  --gold: #bd9e70;
  --gold-d: #8e7145;
  --gold-l: #e2cfa9;
  --cream: #f5f1e7;
  --white: #fff;
  --text: #1c2a34;
  --body: #46535c;
  --mute: #7c868d;
  --line-d: rgba(13, 38, 56, 0.14);
  --line-l: rgba(255, 255, 255, 0.16);
  --header: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "PJA Display", "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "PJA Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 30px 70px rgba(8, 20, 28, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 10px); overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.8; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; position: relative;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }
.wrap-narrow { max-width: 860px; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 10002; background: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header);
  color: #fff; transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), height 0.4s var(--ease);
}
.header::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 20, 28, 0.55), rgba(8, 20, 28, 0)); transition: opacity 0.4s ease;
}
.header.is-on { background: rgba(13, 38, 56, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(189, 158, 112, 0.25); --header: 72px; height: 72px; }
.header.is-on::after { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1400px; margin-inline: auto; padding-inline: 1.5rem; }
.brand img { height: 46px; width: auto; }
.header.is-on .brand img { height: 40px; }
.nav { display: flex; align-items: center; align-self: stretch; gap: 2.2rem; }
.nav-links { display: flex; gap: 1.9rem; align-self: stretch; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,0.86); position: relative; padding: 0.4rem 0; transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 0.55rem; }
.nav-links > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-links > li > a:hover, .nav-links > li > a[aria-current="true"], .nav-links > li:hover > a, .nav-links > li:focus-within > a { color: var(--gold-l); }
.nav-links > li > a:hover::after, .nav-links > li > a[aria-current="true"]::after { transform: scaleX(1); }
.caret { width: 10px; height: 7px; transform: rotate(180deg); transition: transform 0.35s var(--ease); }
.has-sub:hover .caret, .has-sub:focus-within .caret, .has-sub.is-open .caret { transform: none; }

/* Residences dropdown */
.sub, .sub2 { position: absolute; background: #fff; border: 1px solid #ece3d6; box-shadow: 0 24px 60px rgba(8, 20, 28, 0.22); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s; }
.sub { top: 100%; left: -1.5rem; min-width: 270px; z-index: 5; }
.sub2 { top: -1px; right: 100%; left: auto; min-width: 230px; margin-right: -1px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub,
.has-sub2:hover > .sub2, .has-sub2:focus-within > .sub2 { opacity: 1; visibility: visible; transform: none; }
.sub li, .sub2 li { position: relative; margin: 0 1.2rem; border-bottom: 1px solid #ece3d6; }
.sub li:last-child, .sub2 li:last-child { border-bottom: 0; }
.sub a, .sub2 a { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0.2rem; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--navy); transition: color 0.25s ease, padding 0.3s var(--ease); }
.sub a:hover, .sub2 a:hover, .has-sub2:hover > a { color: var(--gold-d); padding-left: 0.6rem; }
.sub a::after, .sub2 a::after { display: none; }
.chev { width: 7px; height: 11px; color: var(--gold); flex: none; }
.sub2 { padding: 0; }

.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.menu-btn span { width: 18px; height: 1.5px; background: currentColor; transition: 0.3s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 890; background: var(--navy); display: grid; place-items: center; padding: 6rem 1.5rem 3rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s ease, visibility 0.4s ease; overflow-y: auto; }
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav nav { display: grid; gap: 0.4rem; text-align: center; width: min(420px, 100%); }
.mobile-nav a { font-family: var(--display); font-size: 1.55rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-l); padding: 0.7rem 0; }
.mn-label { margin-top: 0.8rem; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.mobile-nav a.mn-sub { font-size: 1.15rem; padding: 0.45rem 0; letter-spacing: 0.14em; color: rgba(226,207,169,0.85); }
.mn-fronds { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0.1rem 0 0.6rem; }
.mobile-nav .mn-fronds a { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.18em; padding: 0.45rem 0.7rem; border: 1px solid rgba(226, 207, 169, 0.35); color: rgba(226, 207, 169, 0.9); }
.mobile-nav a[aria-current="page"] { color: #fff; }
.mobile-nav .mn-fronds a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.sub a[aria-current="page"], .sub2 a[aria-current="page"] { color: var(--gold-d); }
.mobile-nav a.btn { margin-top: 1.5rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 52px; padding: 0.95rem 2.4rem;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.2;
  border: 1px solid transparent; border-radius: 0; background: transparent; cursor: pointer; text-align: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-l); border-color: var(--gold-l); }
.btn-line { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-line-gold { border-color: var(--gold); color: var(--gold-d); }
.btn-line-gold:hover { background: var(--gold); color: var(--navy); }
.btn-nav { min-height: 44px; padding: 0.6rem 1.5rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; background: var(--abyss); }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media video, .hero-media img { object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,20,28,0.55) 0%, rgba(8,20,28,0.42) 45%, rgba(8,20,28,0.72) 100%); }
.hero-inner { position: relative; z-index: 2; padding: calc(var(--header) + 3rem) 1.5rem 4rem; max-width: 1240px; width: 100%; }
.hero-kicker { font-size: 0.74rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 1.6rem; font-weight: 500; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3.7vw, 3.1rem); letter-spacing: 0.2em; line-height: 1.25; text-transform: uppercase; margin-right: -0.2em; }
.hero h1 span { display: block; color: #f0d79b; font-weight: 600; font-size: 0.45em; letter-spacing: 0.26em; margin: 0 -0.26em 1.2rem 0; text-shadow: 0 2px 20px rgba(8,20,28,0.75); }
.hero h1 { display: flex; flex-direction: column-reverse; align-items: center; }
.hero h1 span.sr-only { display: inline; margin: -1px; font-size: 1px; }
.hero-sub { max-width: 40rem; margin: 1.8rem auto 0; font-size: 1.05rem; color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.6rem; }
.hero-facts { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 3rem; padding: 1.4rem 1.5rem; border-top: 1px solid var(--line-l); background: rgba(8,20,28,0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-facts li { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.86); }
.hero-facts b { color: var(--gold-l); font-weight: 500; }

/* Hero ornaments */
.hero-emblem { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-bottom: 1.6rem; }
.hero-emblem img { width: 66px; height: 66px; flex: none; filter: drop-shadow(0 2px 14px rgba(8, 20, 28, 0.5)); }
.hero-emblem span { width: clamp(50px, 9vw, 120px); height: 1px; background: linear-gradient(to right, transparent, var(--gold)); }
.hero-emblem span:last-child { background: linear-gradient(to left, transparent, var(--gold)); }
.orn { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin: 1.7rem 0 0; }
.orn span { width: clamp(46px, 8vw, 110px); height: 1px; background: linear-gradient(to right, transparent, var(--gold)); }
.orn span:last-child { background: linear-gradient(to left, transparent, var(--gold)); }
.orn i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; box-shadow: 0 0 14px rgba(189, 158, 112, 0.7); }
.hero-sub { margin-top: 1.5rem; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; color: rgba(255, 255, 255, 0.85); }
.scroll-cue span { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; margin-right: -0.34em; }
.scroll-cue b { display: block; width: 1px; height: 48px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.scroll-cue b::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

.sec-emblem { margin-bottom: 1.4rem; }
.sec-emblem img { width: 54px; height: 54px; filter: none; }
.head .orn { margin-top: 1.7rem; }
.head .orn + .lede { margin-top: 1.5rem; }

.mp-head .sec-emblem img { filter: drop-shadow(0 2px 12px rgba(8, 20, 28, 0.45)); }
.mp-head .orn { margin-top: 1.4rem; }
.dev .orn { margin: 1.4rem 0 0; }
.dev .orn + .lede { margin-top: 1.5rem; }
.contact-layout .copy .orn-left { margin: 1.4rem 0 0; }
.contact-layout .copy .eyebrow-line { justify-content: flex-start; }

/* ---------- Section chrome ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.head { text-align: center; max-width: 52rem; margin-inline: auto; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 500; color: var(--gold-d); margin-bottom: 1.3rem; }
.title { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.7vw, 2.9rem); letter-spacing: 0.2em; line-height: 1.4; text-transform: uppercase; color: var(--gold-d); margin-right: -0.2em; }
.title-md { font-size: clamp(1.45rem, 2.9vw, 2.3rem); letter-spacing: 0.16em; }
.title-sm { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: 0.16em; }
.lede { margin-top: 1.6rem; color: var(--body); max-width: 44rem; margin-inline: auto; }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .title { color: var(--gold-l); }
.on-dark .lede, .on-dark p { color: rgba(255,255,255,0.82); }
.cols-2 { column-count: 2; column-gap: 3.2rem; text-align: justify; hyphens: auto; margin-top: 3rem; }
.cols-2 p { margin-bottom: 1.2rem; break-inside: avoid-column; }
.tick { display: block; width: 1px; height: 54px; background: var(--gold); margin: 2.2rem auto 0; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; } .reveal-d3 { transition-delay: 0.3s; }
.icon { width: 46px; height: 46px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Section backgrounds: each its own ---------- */
#about { background: #fff; }
#film { background: #000; padding: 0; }
#pillars { background: radial-gradient(ellipse at 15% 0%, rgba(189,158,112,0.16), transparent 55%), linear-gradient(160deg, #0d2638, #123650 70%, #0d2638); }
#districts { background: #f1f3f0; }
#masterplan { background: radial-gradient(ellipse at 90% 100%, rgba(27,86,112,0.45), transparent 60%), #0f1c26; }
#palm-central { background: radial-gradient(ellipse at 100% 0%, rgba(189,158,112,0.2), transparent 55%), #f6f0e3; }
#beach { background: #dfeaed; }
#coral { background: radial-gradient(ellipse at 50% 0%, rgba(189,158,112,0.14), transparent 60%), linear-gradient(180deg, #0b3a4a, #082a38); }
#palm-central { background: linear-gradient(180deg, #eadfc7, #e1d2b3); }
#lifestyle { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 85% 15%, rgba(189,158,112,0.18), transparent 50%), linear-gradient(180deg, #2b6b83 0%, #1a4d66 55%, #123d55 100%); }
#location { background: #0d2638; padding-bottom: clamp(4rem, 7vw, 6rem); }
#developer { background: radial-gradient(ellipse at 50% 0%, rgba(189,158,112,0.2), transparent 60%), #efe7e2; }
#faq { background: radial-gradient(ellipse at 0% 0%, rgba(189,158,112,0.16), transparent 50%), #fbf7ee; }
#contact { background: #0d2638; isolation: isolate; }

/* ---------- About ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.6rem; text-align: center; }
.stat .icon { margin: 0 auto 1.1rem; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: 0.08em; color: var(--gold-d); line-height: 1.2; }
.stat span { display: block; margin-top: 0.5rem; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--body); }
.about-image { margin-top: 4rem; }
.about-image img { width: 100%; }
figcaption.cap { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-top: 0.9rem; text-align: center; }
.on-dark figcaption.cap { color: rgba(255,255,255,0.5); }

.film-intro {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(3.8rem, 6vw, 5.8rem);
  background: radial-gradient(ellipse at 50% 120%, rgba(27,86,112,0.5), transparent 58%), var(--navy);
}
.film-intro::before {
  content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: min(76vw, 940px); height: 1px;
  transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(226,207,169,0.65), transparent);
}

.film-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }

/* ---------- A perfect paradise (text block) ---------- */
.paradise { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.4rem, 6vw, 6rem); align-items: center; }
.paradise-copy .eyebrow { text-align: left; }
.paradise-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 3.9vw, 3.9rem); letter-spacing: 0.18em; white-space: nowrap; line-height: 1.12; text-transform: uppercase; margin: 0.4rem 0 2.4rem; background: linear-gradient(120deg, #9c7a48 0%, #d9bf8d 38%, #a9895a 62%, #e2cfa9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paradise-title span { display: block; padding-left: 0.6em; }
.paradise-copy p:not(.eyebrow) { color: var(--navy); font-size: 1.08rem; line-height: 2; text-align: justify; hyphens: auto; }
.paradise-copy p + p { margin-top: 1.1rem; }

.eyebrow-line { display: flex; align-items: center; gap: 0.9rem; }
.eyebrow-line span { width: 42px; height: 1px; background: var(--gold); flex: none; }
.orn-left { justify-content: flex-start; margin: 0 0 2rem; }
.orn-left span:first-child { display: none; }
.paradise-title { margin-bottom: 1.6rem !important; }
.paradise-points { margin-top: 2.4rem; display: grid; gap: 1.3rem; }
.paradise-points li { position: relative; padding-left: 2rem; display: grid; gap: 0.2rem; }
.paradise-points li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55rem; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 12px rgba(189,158,112,0.55); }
.paradise-points b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-d); }
.paradise-points span { font-size: 0.92rem; color: var(--body); }
.text-link { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 2.2rem; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--navy); padding-bottom: 0.4rem; border-bottom: 1px solid var(--gold); transition: gap 0.35s var(--ease), color 0.3s ease; }
.text-link svg { width: 24px; height: 12px; color: var(--gold-d); }
.text-link:hover { gap: 1.3rem; color: var(--gold-d); }
.paradise-media { position: relative; }
.pm-frame { position: relative; padding: 0 22px 22px 0; }
.pm-frame::before { content: ""; position: absolute; top: 22px; left: 22px; right: 0; bottom: 0; border: 1px solid var(--gold); pointer-events: none; }
.paradise-media img { position: relative; z-index: 1; box-shadow: 0 30px 70px rgba(13,38,56,0.18); }
.paradise-media figcaption { margin-top: 1.1rem; }
#districts { position: relative; overflow: hidden; isolation: isolate; }
#districts::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -140px; width: 560px; height: 560px; background: url("../img/logo_mobile.webp") center / contain no-repeat; opacity: 0.07; pointer-events: none; }

/* ---------- Excellence in design ---------- */
#design { background: radial-gradient(ellipse at 50% 0%, rgba(189,158,112,0.12), transparent 60%), linear-gradient(180deg, #ffffff 0%, #f7f3ea 100%); }
.design-eyebrow { color: var(--navy) !important; letter-spacing: 0.3em; }
.design-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem 1.2rem; margin: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); text-align: center; }
.dicon .gicon { width: 64px; height: 64px; margin: 0 auto 1.8rem; display: block; filter: drop-shadow(0 6px 14px rgba(142,107,60,0.18)); transition: transform 0.5s var(--ease); }
.dicon:hover .gicon { transform: translateY(-4px) scale(1.05); }
.dicon span { display: block; max-width: 13rem; margin-inline: auto; font-size: 0.76rem; letter-spacing: 0.22em; line-height: 1.9; text-transform: uppercase; font-weight: 500; color: var(--gold-d); }
.design-text { margin-top: 0; }
.design-text p { color: var(--navy); font-size: 1.05rem; line-height: 1.95; }

/* ---------- Collection showcases (Beach / Coral) ---------- */
.showcase { padding: clamp(5rem, 9vw, 8.5rem) 0; overflow: hidden; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: clamp(2.6rem, 5.5vw, 6rem); padding-right: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)); }
.showcase.is-reverse .sc-grid { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); padding-right: 0; padding-left: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)); }
.showcase.is-reverse .sc-media { order: 2; }
.sc-frame { position: relative; margin-right: 26px; margin-bottom: 26px; }
.sc-frame::before { content: ""; position: absolute; top: 26px; left: 0; right: -26px; bottom: -26px; border: 1px solid var(--gold); pointer-events: none; }
.showcase.is-reverse .sc-frame { margin-right: 0; margin-left: 26px; }
.showcase.is-reverse .sc-frame::before { left: -26px; right: 0; }
.sc-frame img { position: relative; z-index: 1; width: 100%; height: auto; box-shadow: 0 34px 80px rgba(13, 38, 56, 0.22); }
.sc-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3.5rem); letter-spacing: 0.18em; line-height: 1.15; text-transform: uppercase; margin: 0.4rem 0 1.6rem; background: linear-gradient(120deg, #9c7a48 0%, #d9bf8d 38%, #a9895a 62%, #e2cfa9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-title span { display: block; padding-left: 0.6em; }
.on-dark .sc-title { background: linear-gradient(120deg, #c9a874 0%, #f1e2c0 40%, #c9a874 70%, #f3e6c8 100%); -webkit-background-clip: text; background-clip: text; }
.sc-copy p:not(.eyebrow) { color: var(--body); font-size: 1.04rem; line-height: 1.95; }
.on-dark .sc-copy p:not(.eyebrow) { color: rgba(255, 255, 255, 0.84); }
.sc-copy p:not(.eyebrow) + p { margin-top: 1rem; }
.sc-facts { display: flex; flex-wrap: wrap; gap: 1.6rem clamp(1.6rem, 3.5vw, 3rem); margin-top: 2.4rem; }
.sc-facts li { position: relative; padding-top: 1rem; min-width: 6.5rem; }
.sc-facts li::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 1px; background: var(--gold); }
.sc-facts b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.9rem; letter-spacing: 0.06em; line-height: 1.1; color: var(--navy); }
.on-dark .sc-facts b { color: var(--gold-l); }
.sc-facts span { display: block; margin-top: 0.35rem; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-d); font-weight: 500; }
.on-dark .sc-facts span { color: var(--gold); }
.sc-actions { margin-top: 2.6rem; }
.sc-title-long { font-size: clamp(1.6rem, 2.25vw, 2.2rem); letter-spacing: 0.14em; }
.sc-title-long span { white-space: nowrap; padding-left: 0.5em; }
.sc-amen { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.6rem; margin-top: 2.2rem; }
.sc-amen li { position: relative; padding-left: 1.4rem; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.sc-amen li::before { content: ""; position: absolute; left: 0.1rem; top: 0.42em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--gold-l); }
.btn-navy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Lifestyle (editorial split) ---------- */
#lifestyle::after { content: ""; position: absolute; z-index: -1; left: -140px; bottom: -160px; width: 520px; height: 520px; background: url("../img/logo_mobile.webp") center / contain no-repeat; opacity: 0.06; pointer-events: none; }
.ls-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.6rem, 6vw, 6rem); align-items: center; }
.ls-lede { color: rgba(255, 255, 255, 0.86); font-size: 1.06rem; line-height: 1.95; }
.ls-moments { margin-top: 2.4rem; display: grid; gap: 1.15rem; counter-reset: lm; }
.ls-moments li { display: grid; grid-template-columns: 8.2rem 1fr; align-items: baseline; gap: 1rem; }
.lm-time { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-l); }
.lm-text { position: relative; padding-left: 1.6rem; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
.lm-text::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.ls-media { display: grid; gap: clamp(2.4rem, 4vw, 3.4rem); }
.ls-fig-1 { margin-right: clamp(0px, 5vw, 70px); }
.ls-fig-2 { margin-left: clamp(0px, 5vw, 70px); }
.ls-frame { position: relative; margin: 0 20px 20px 0; }
.ls-frame::before { content: ""; position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px; border: 1px solid rgba(189, 158, 112, 0.7); pointer-events: none; }
.ls-fig-2 .ls-frame { margin: 0 0 20px 20px; }
.ls-fig-2 .ls-frame::before { left: -20px; right: 20px; }
.ls-frame img { position: relative; z-index: 1; width: 100%; height: auto; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.ls-fig figcaption { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.9rem; font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-l); }
.ls-fig figcaption i { width: 26px; height: 1px; background: var(--gold); }
.ls-fig-2 figcaption { justify-content: flex-end; }

/* ---------- Location map (official style) ---------- */
.loc-text p { color: rgba(255, 255, 255, 0.84); }
.loc-map { position: relative; margin-top: clamp(1rem, 3vw, 2.5rem); width: 100%; aspect-ratio: 100 / 60; overflow: hidden; }
.loc-map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0d2638 0%, rgba(13, 38, 56, 0) 30%); pointer-events: none; z-index: 1; }
.loc-pins { position: absolute; inset: 0; z-index: 2; }
.lp { position: absolute; transform: translate(0, -100%); width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; background: #72c8dc; color: #0d2638; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(114, 200, 220, 0.5); transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease; }
.lp-num { font-size: 0.68rem; font-weight: 600; line-height: 1; }
.lp:hover, .lp:focus-visible { background: #f5f1e7; box-shadow: 0 0 0 6px rgba(114, 200, 220, 0.25); transform: translate(0, -100%) scale(1.12); z-index: 5; outline: none; }
.lp-label { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); white-space: nowrap; padding: 0.5rem 1rem; border-radius: 999px; background: #f5f1e7; color: var(--navy); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.35s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.lp:hover .lp-label, .lp:focus-visible .lp-label { opacity: 1; transform: translate(-50%, 0); }
.loc-legend { margin-top: clamp(2rem, 4vw, 3rem); }

/* ================= Beach Villas page ================= */
.hero h1.bv-h1 { font-size: clamp(1.7rem, 3.6vw, 3rem); letter-spacing: 0.2em; margin-right: -0.2em; color: #fff; }
.hero h1.bv-h1 span { display: block; font-size: 0.5em; letter-spacing: 0.3em; margin: 0.9rem -0.3em 0 0; color: #f0d79b; }
.bv-hero .hero-emblem { margin-bottom: 1.2rem; }
.bv-hero .orn { margin: 1.6rem 0 0; }
#bv-overview { background: radial-gradient(ellipse at 50% 0%, rgba(189,158,112,0.14), transparent 60%), linear-gradient(180deg, #fff, #f8f4ec); }
#bv-fronds { background: radial-gradient(ellipse at 100% 0%, rgba(189,158,112,0.18), transparent 55%), #f3ecdd; }
#bv-villas { background: #fbf8f1; }
.fb-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-top: 3rem; }
.fb-bar-left { justify-content: flex-start; margin-top: 2rem; }
.fb { padding: 0.75rem 1.2rem; background: transparent; border: 1px solid rgba(189, 158, 112, 0.6); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--gold-d); transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.fb:hover { border-color: var(--gold); }
.fb.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.fb-status { margin-top: 1.4rem; text-align: center; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--body); }
.fb-status b { font-family: var(--display); font-size: 1.3rem; color: var(--gold-d); letter-spacing: 0.04em; margin-right: 0.2rem; }
.vc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.6rem; margin-top: 2.6rem; }
.vc[hidden] { display: none; }
.vc-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 16px 40px rgba(90, 64, 30, 0.08); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.vc-open:hover { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(90, 64, 30, 0.16); }
.vc-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #fff; overflow: hidden; }
.vc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.9s var(--ease); }
.vc-open:hover .vc-img img { transform: scale(1.04); }
.vc-badge { position: absolute; top: 0.9rem; left: 0.9rem; padding: 0.4rem 0.7rem; background: rgba(250, 246, 238, 0.94); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--gold-d); }
.vc-body { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.4rem 1.4rem 1.6rem; flex: 1; }
.vc-name { font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.vc-beds { font-size: 0.86rem; line-height: 1.6; color: var(--body); }
.vc-fronds { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-d); }
.vc-cta { margin-top: auto; padding-top: 0.8rem; display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.vc-cta svg { width: 22px; height: 12px; color: var(--gold-d); transition: transform 0.35s var(--ease); }
.vc-open:hover .vc-cta svg { transform: translateX(5px); }
a.fb { display: inline-block; text-decoration: none; }
.fb-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.section p a:not(.btn) { color: var(--gold-d); text-decoration: none; border-bottom: 1px solid rgba(142, 113, 69, 0.45); transition: color 0.25s ease, border-color 0.25s ease; }
.section p a:not(.btn):hover { color: var(--navy); border-color: var(--navy); }

.sc-fronds { margin-top: 1.4rem; font-size: 0.66rem; letter-spacing: 0.18em; line-height: 2; text-transform: uppercase; font-weight: 500; color: var(--mute); }
.section p.sc-fronds a { white-space: nowrap; color: var(--gold-d); text-decoration: none; padding: 0.2rem 0.1rem; border-bottom: 1px solid transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.section p.sc-fronds a:hover { color: var(--navy); border-color: var(--gold); }
.sc-fronds span { margin: 0 0.35rem; color: var(--gold); }
.on-dark .sc-fronds { color: rgba(255, 255, 255, 0.6); }
.section.on-dark p.sc-fronds a { color: var(--gold-l); }
.section.on-dark p.sc-fronds a:hover { color: #fff; }

/* Beach / Coral: At a glance (gold icon figures, detail cards, collection cards) */
#bv-facts, #cv-facts { background: radial-gradient(ellipse at 50% 0%, rgba(189,158,112,0.20), transparent 60%), linear-gradient(180deg, #f7f2e8, #efe5d3); }
.gi { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.gs-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 3.2rem; }
.gs { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; padding: 2.2rem 1rem 2rem; background: #fff; text-align: center; box-shadow: 0 18px 45px rgba(90, 64, 30, 0.08); }
.gs b { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; letter-spacing: 0.02em; background: linear-gradient(135deg, #e2cfa9, #bd9e70 45%, #8e7145); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gs span { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.gc-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.4rem; }
.gc { padding: 2rem 1.8rem; background: rgba(255, 255, 255, 0.6); box-shadow: 0 12px 34px rgba(90, 64, 30, 0.06); }
.gc .gi { width: 28px; height: 28px; }
.gc h3 { margin-top: 1rem; font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.gc p { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.7; color: var(--body); }
.cc-head { margin-top: 4.5rem; text-align: center; }
.cc-title { margin-top: 0.8rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.cc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 2.4rem; }
.cc { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; }
.cc-me { justify-content: center; padding: 3rem 2.6rem; background: radial-gradient(ellipse at 100% 0%, rgba(189,158,112,0.22), transparent 55%), linear-gradient(160deg, #0d2638, #0a1b27); color: #fff; }
.cc-other { background: #fff; box-shadow: 0 18px 45px rgba(90, 64, 30, 0.1); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.cc-other:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(90, 64, 30, 0.18); }
.cc-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.cc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.1s var(--ease); }
.cc-other:hover .cc-img img { transform: scale(1.04); }
.cc-body { display: flex; flex-direction: column; padding: 2rem 2.2rem 2.2rem; }
.cc-tag { display: block; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.cc-h { display: block; margin-top: 0.7rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.cc-me .cc-h { color: #fff; }
.cc-sub { display: block; margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.6; color: var(--body); }
.cc-me .cc-sub { color: rgba(255, 255, 255, 0.72); }
.cc-figs { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0.6rem 2rem; margin-top: 1.8rem; }
.cc-figs > * { display: flex; flex-direction: column; gap: 0.25rem; }
.cc-figs b { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.1; color: var(--gold-d); }
.cc-me .cc-figs b { color: var(--gold-l); }
.cc-figs span { font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.cc-me .cc-figs span { color: rgba(255, 255, 255, 0.55); }
.cc-cta { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.8rem; font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.cc-cta svg { width: 22px; height: 12px; color: var(--gold-d); transition: transform 0.35s var(--ease); }
.cc-other:hover .cc-cta svg { transform: translateX(5px); }
.fr-stats { margin-top: 2.6rem; }
.fr-stats b { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.fr-arch { margin-top: 1.6rem; text-align: center; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-d); }
.fr-note { max-width: 720px; margin: 1.2rem auto 0; text-align: center; font-size: 0.95rem; line-height: 1.7; color: var(--body); }

/* Frond pages: staggered villa tiles with the name over the image (official frond page layout) */
.frond-sec { background: radial-gradient(ellipse at 15% 0%, rgba(189,158,112,0.16), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(27,86,112,0.08), transparent 60%), linear-gradient(180deg, #f7f3ea, #eef1ef); }
.fr-tag { margin-top: 0.9rem; font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; color: var(--gold-d); }
.ft-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.8rem; margin-top: 3.4rem; }
.ft-grid.ft-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.ft { display: flex; }
.ft-open { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: #fff; text-align: center; cursor: pointer; box-shadow: 0 18px 45px rgba(90, 64, 30, 0.08); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.ft-open:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(90, 64, 30, 0.16); }
.ft-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.ft-img img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 1.1s var(--ease); }
.ft-open:hover .ft-img img { transform: scale(1.05); }
.ft-body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.8rem 1.4rem 2rem; }
.ft-body small { font-size: 0.6rem; letter-spacing: 0.42em; margin-right: -0.42em; text-transform: uppercase; font-weight: 500; color: var(--gold-d); }
.ft-body b { font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: 0.16em; margin-right: -0.16em; text-transform: uppercase; line-height: 1.2; color: var(--navy); }
.ft-orn { display: block; width: 46px; height: 1px; margin: 0.35rem 0 0.4rem; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ft-beds { font-size: 0.86rem; line-height: 1.65; color: var(--body); max-width: 30ch; }
.ft-arch { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.ft-body em { font-style: normal; display: inline-flex; align-items: center; gap: 0.7rem; margin-top: auto; padding-top: 0.9rem; font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.ft-body em svg { width: 22px; height: 12px; color: var(--gold-d); transition: transform 0.35s var(--ease); }
.ft-open:hover .ft-body em svg { transform: translateX(5px); }
.frond-more { background: linear-gradient(180deg, #0d2638, #08141c); }
.fo-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.8rem; }
.fo { position: relative; display: block; overflow: hidden; background: #0a1822; text-decoration: none; }
.fo img { display: block; width: 100%; height: auto; opacity: 0.38; transition: opacity 0.6s ease, transform 1s var(--ease); }
.fo span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; color: #fff; text-align: center; padding: 0.8rem; }
.fo small { font-size: 0.58rem; letter-spacing: 0.36em; margin-right: -0.36em; text-transform: uppercase; color: var(--gold-l); }
.fo b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; }
.fo:hover img { opacity: 0.6; transform: scale(1.04); }
.frond-more .fb { color: var(--gold-l); border-color: rgba(226, 207, 169, 0.45); }
.frond-more .fb.is-active, .frond-more .fb-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
/* villa panel */
.vmodal { position: fixed; inset: 0; z-index: 9400; display: flex; align-items: flex-start; justify-content: center; padding: clamp(1rem, 3vw, 2.5rem); background: rgba(8, 20, 28, 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity 0.35s ease; }
.vmodal[hidden] { display: none; }
.vmodal.is-open { opacity: 1; }
.vm-dialog { position: relative; width: min(1240px, 100%); margin: auto; background: #fbf8f1; padding: clamp(1.6rem, 4vw, 3.4rem); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.7); transform: translateY(18px); transition: transform 0.45s var(--ease); }
.vmodal.is-open .vm-dialog { transform: none; }
.vm-close { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); color: #f0d79b; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background 0.3s ease; }
.vm-close:hover { background: var(--gold); color: #fff; }
.vm-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
.vm-name { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.2; margin-top: 0.3rem; background: linear-gradient(120deg, #9c7a48 0%, #d9bf8d 38%, #a9895a 62%, #e2cfa9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm-info .orn-left { margin: 1.3rem 0 1.4rem; }
.vm-intro { color: var(--body); font-size: 1rem; line-height: 1.85; }
.vm-facts { margin-top: 1.6rem; display: grid; gap: 1rem; }
.vm-facts li { position: relative; padding-top: 0.8rem; }
.vm-facts li::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 1px; background: var(--gold); }
.vm-facts span { display: block; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-d); font-weight: 500; }
.vm-facts b { display: block; margin-top: 0.25rem; font-weight: 400; font-size: 0.95rem; color: var(--navy); line-height: 1.55; }
.vm-areas { width: 100%; margin-top: 1.8rem; border-collapse: collapse; font-size: 0.84rem; }
.vm-areas caption { text-align: left; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-d); font-weight: 500; padding-bottom: 0.6rem; }
.vm-areas th, .vm-areas td { padding: 0.55rem 0.4rem; border-bottom: 1px solid rgba(189, 158, 112, 0.25); text-align: left; }
.vm-areas thead th { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.vm-areas tbody th { font-weight: 400; color: var(--navy); }
.vm-areas td { color: var(--body); white-space: nowrap; }
.vm-info .btn { margin-top: 1.8rem; }
.vm-media .vmodes { margin: 0 0 1rem; }
.vm-media .stage { aspect-ratio: 16 / 10; background: transparent; }
.vm-media .stage.is-plan { aspect-ratio: 1 / 1; max-height: 74vh; margin-inline: auto; background: #fff; }
.vm-media .stage .snav { background: none; }
.vm-media .stage .snav button { border: 0; border-radius: 50%; background: rgba(250, 246, 238, 0.95); color: var(--gold-d); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.vm-media .stage .snav button:hover { background: var(--gold); color: #fff; }
.vm-media .stage .scount { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.vm-media .stage.is-plan .scount { color: var(--navy); text-shadow: none; }
.vm-media .thumbs button { aspect-ratio: 16 / 10; background: transparent; }
.vm-media .thumbs.plan-thumbs button { aspect-ratio: 1 / 1; width: 70px; background: #fff; }

/* ================= Palm Central page ================= */
.pc-logo { width: min(460px, 72vw); height: auto; margin: 0 auto 1.6rem; filter: drop-shadow(0 2px 18px rgba(8, 20, 28, 0.55)); }
.pc-hero { min-height: 0; aspect-ratio: 1920 / 1080; }
.pc-hero .hero-media::after { background: radial-gradient(ellipse 62% 72% at 50% 52%, rgba(8, 20, 28, 0.74), rgba(8, 20, 28, 0.34) 78%), linear-gradient(to bottom, rgba(8, 20, 28, 0.55), transparent 22%); }
.pc-hero .hero-sub { text-shadow: 0 1px 14px rgba(8, 20, 28, 0.85); color: #fff; }
.pc-hero .hero-inner { padding-bottom: 3rem; }
.hero h1.pc-h1 { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.9vw, 1.6rem); letter-spacing: 0.26em; text-transform: uppercase; color: #f0d79b; line-height: 1.5; margin-right: -0.26em; text-shadow: 0 2px 20px rgba(8, 20, 28, 0.75); }
.pc-hero .hero-emblem { margin-bottom: 1.2rem; }
.pc-hero .orn { margin: 1.6rem 0 1.4rem; }
.hero h1.pc-h1.bv-h1 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 3rem); letter-spacing: 0.2em; margin-right: -0.2em; color: #fff; line-height: 1.25; }
#pc-overview { background: radial-gradient(ellipse at 50% 0%, rgba(189,158,112,0.14), transparent 60%), linear-gradient(180deg, #fff, #f8f4ec); }
.pc-text { margin-top: 2.6rem; }
.pc-text p { color: var(--body); }
.pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.4rem; text-align: center; }
.pc-stats b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: 0.06em; color: var(--gold-d); line-height: 1.15; }
.pc-stats span { display: block; margin-top: 0.5rem; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--body); font-weight: 500; }
.pc-overview-img { margin-top: clamp(3rem, 6vw, 4.6rem); }
.pc-band { position: relative; background: #0b1a24; }
.pc-band-img { display: block; width: 100%; height: auto; }
.pc-band::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; background: linear-gradient(to bottom, rgba(8, 20, 28, 0.6), transparent); pointer-events: none; }
.pc-band-text { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 6vw 1.5rem 0; text-align: center; }
.pc-band-text .eyebrow { color: #f0d79b; }
.pc-band-text .title { color: #fff; text-shadow: 0 2px 24px rgba(8, 20, 28, 0.5); }
#pc-state { background: radial-gradient(ellipse at 100% 0%, rgba(189,158,112,0.2), transparent 55%), #f6f0e3; }
#pc-intro { background: radial-gradient(ellipse at 0% 100%, rgba(189,158,112,0.16), transparent 55%), #fcfaf5; }
#pc-residences { background: radial-gradient(ellipse at 100% 0%, rgba(189,158,112,0.14), transparent 55%), #f7f2e8; }
#pc-residences .vtabs .vtab { min-width: 9rem; }
.pc-res .stage { aspect-ratio: 16 / 9; background: transparent; }
.pc-res .thumbs button { aspect-ratio: 16 / 9; background: transparent; }
.pc-res .stage .snav { background: none; }
.pc-res .stage .snav button { border: 0; border-radius: 50%; background: rgba(250, 246, 238, 0.92); color: var(--gold-d); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.pc-res .stage .snav button:hover { background: var(--gold); color: #fff; }
.pc-res .stage .scount { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
.pc-res .vname { font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: 0.14em; }
.pc-res-desc { margin-top: 1.2rem; color: var(--body); font-size: 1rem; line-height: 1.9; }
.pc-res-facts { display: flex; gap: 2.4rem; margin: 1.8rem 0 0.6rem; }
.pc-res-facts li { position: relative; padding-top: 0.9rem; }
.pc-res-facts li::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 1px; background: var(--gold); }
.pc-res-facts span { display: block; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-d); font-weight: 500; }
.pc-res-facts b { display: block; margin-top: 0.3rem; font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.04em; color: var(--navy); }
.pc-res .villa-info .btn { margin-top: 1.8rem; }
#pc-pricing { background: radial-gradient(ellipse at 15% 0%, rgba(189,158,112,0.16), transparent 55%), linear-gradient(160deg, #0d2638, #12354d 70%, #0d2638); }
.pc-units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3.4rem; }
.pc-unit { background: rgba(255, 255, 255, 0.05); padding: 1.9rem 1.8rem; transition: background 0.4s var(--ease), transform 0.4s var(--ease); }
.pc-unit:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-3px); }
.pc-unit h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-l); }
.pc-unit-size { margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.pc-unit-price { margin-top: 1.1rem; font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.04em; color: #fff; }
.pc-unit-price span { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-right: 0.4rem; vertical-align: middle; }
.pc-table-wrap { margin-top: 3.4rem; }
.pc-table { width: 100%; border-collapse: collapse; }
.pc-table thead th { padding: 0 1.4rem 1.1rem; text-align: left; font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--gold); border-bottom: 1px solid rgba(189, 158, 112, 0.55); }
.pc-table tbody th, .pc-table td { padding: 1.25rem 1.4rem; text-align: left; border-bottom: 1px solid rgba(189, 158, 112, 0.18); vertical-align: middle; }
.pc-table tbody tr { transition: background 0.3s ease; }
.pc-table tbody tr:hover { background: rgba(255, 255, 255, 0.05); }
.pc-table tbody th { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-l); }
.pc-table td { font-size: 0.92rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.82); }
.pc-table td.pc-tprice { font-family: var(--display); font-size: 1.45rem; letter-spacing: 0.04em; color: #fff; }
.pc-tcta { text-align: right !important; }
.pc-tcta a { display: inline-block; padding: 0.55rem 1.1rem; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--gold-l); border: 1px solid rgba(189, 158, 112, 0.6); transition: background 0.3s ease, color 0.3s ease; }
.pc-tcta a:hover { background: var(--gold); color: var(--navy); }
#pc-payment { background: radial-gradient(ellipse at 50% 0%, rgba(189,158,112,0.18), transparent 60%), linear-gradient(180deg, #f6efe1, #efe4cf); }
.pp-bar { display: flex; gap: 6px; margin: 3.6rem auto 0; max-width: 980px; height: 54px; }
.pp-bar span { display: grid; place-items: center; background: linear-gradient(120deg, #a9895a, #d9bf8d 50%, #b8935c); box-shadow: 0 10px 26px rgba(142, 107, 60, 0.25); }
.pp-bar span:nth-child(2) { background: linear-gradient(120deg, #8e6b3c, #c6a571 50%, #9c7a48); }
.pp-bar span:nth-child(3) { background: linear-gradient(120deg, #b08a55, #d6bb87 50%, #a9844f); }
.pp-bar b { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.06em; color: #fff; text-shadow: 0 1px 8px rgba(60, 40, 15, 0.6); }
.pp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2.6rem auto 0; max-width: 980px; }
.pp-steps li { background: #fffdf8; padding: 2.2rem 2rem; text-align: center; box-shadow: 0 18px 44px rgba(90, 64, 30, 0.08); }
.pp-num { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.3em; color: var(--gold-d); }
.pp-steps b { display: block; margin: 0.6rem 0 0.4rem; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: 0.02em; background: linear-gradient(120deg, #9c7a48, #d9bf8d 45%, #a9895a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp-steps h3 { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
.pp-steps p { margin-top: 0.8rem; font-size: 0.92rem; line-height: 1.75; color: var(--body); }
.pp-cta { margin-top: 2.8rem; text-align: center; }
.pp-note { margin-top: 1.2rem; font-size: 0.8rem; color: var(--mute); }
.pc-plan { margin-top: clamp(3rem, 6vw, 4.6rem); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 2rem 3rem; align-items: center; padding: clamp(2rem, 4vw, 3rem); background: rgba(255, 255, 255, 0.04); }
.pc-plan .eyebrow-line { justify-content: flex-start; }
.pc-plan-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-l); }
.pc-plan-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.pc-plan-steps::before { content: ""; position: absolute; top: 1.6rem; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.pc-plan-steps li { position: relative; text-align: center; }
.pc-plan-steps b { position: relative; display: inline-block; padding: 0 0.8rem; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 3.4vw, 3rem); color: #fff; line-height: 1.1; background: #11314a; }
.pc-plan-steps span { display: block; margin-top: 0.6rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.pc-plan .btn { grid-column: 1 / -1; justify-self: center; }
.pc-note { margin-top: 1.4rem; text-align: center; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
#pc-amenities { background: radial-gradient(ellipse at 100% 0%, rgba(189,158,112,0.16), transparent 50%), linear-gradient(180deg, #fbf8f1, #f4ecdd); overflow: hidden; }
.pc-amen-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3.4rem; }
.pc-amen { background: #fff; padding: 2rem 1.9rem; box-shadow: 0 14px 40px rgba(13, 38, 56, 0.06); }
.pc-amen-num { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.3em; color: var(--gold-d); }
.pc-amen h3 { margin: 0.7rem 0 0.7rem; font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.pc-amen p { font-size: 0.95rem; color: var(--body); line-height: 1.8; }
.pc-amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.4rem; margin-top: clamp(3rem, 6vw, 4.4rem); }
.pc-amen-fig img { width: 100%; height: auto; box-shadow: 0 20px 50px rgba(13, 38, 56, 0.14); cursor: zoom-in; }
.pc-amen-fig figcaption, .pc-overview-img figcaption { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.9rem; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-d); }
.pc-overview-img figcaption { justify-content: center; }
.pc-amen-fig figcaption i { width: 24px; height: 1px; background: var(--gold); }
.am-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.3rem; margin-top: 3.6rem; }
.am-card { background: #fff; box-shadow: 0 16px 40px rgba(90, 64, 30, 0.08); display: flex; flex-direction: column; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.am-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(90, 64, 30, 0.16); }
.am-img { aspect-ratio: 16 / 9; background: #f3ece0; overflow: hidden; }
.am-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease); }
.am-card:hover .am-img img { transform: scale(1.04); }
.am-body { padding: 1.5rem 1.4rem 1.7rem; }
.am-num { font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.3em; color: var(--gold-d); }
.am-body h3 { margin: 0.5rem 0 0.6rem; font-family: var(--display); font-weight: 500; font-size: 1.12rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); line-height: 1.35; }
.am-body p { font-size: 0.9rem; line-height: 1.75; color: var(--body); }
/* Amenities: 3 x 3 image tiles, text below */
.at-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem 1.6rem; margin-top: 3.6rem; }
.at-tile figure { display: flex; flex-direction: column; }
.at-tile figure > img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; background: #f4ecdd; box-shadow: 0 20px 46px rgba(90, 64, 30, 0.16); transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease); }
.at-tile:hover figure > img { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(90, 64, 30, 0.22); }
.at-tile figcaption { padding: 1.3rem 0.2rem 0; }
.at-tile h3::after { content: ""; display: block; width: 32px; height: 1px; margin-top: 0.7rem; background: var(--gold); }
.at-num { display: inline-block; font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.3em; color: var(--gold-d); padding-bottom: 0.4rem; border-bottom: 1px solid var(--gold); }
.at-tile h3 { margin-top: 0; font-family: var(--display); font-weight: 500; font-size: 1.22rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); line-height: 1.3; }
.at-tile p { margin-top: 0.55rem; font-size: 0.92rem; line-height: 1.75; color: var(--body); }

/* Amenities: interactive showcase */
.amx { position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); column-gap: clamp(2.6rem, 6vw, 6rem); min-height: 640px; }
.amx-head { grid-column: 1; }
.amx-lede { margin-top: 1.4rem; color: var(--body); font-size: 0.98rem; line-height: 1.85; }
.amx-list { grid-column: 1; list-style: none; margin-top: 2.4rem; }
.amx-btn { width: 100%; display: flex; align-items: baseline; gap: 1.2rem; padding: 0.85rem 0; background: none; border: 0; text-align: left; cursor: pointer; position: relative; }
.amx-btn::after { content: ""; position: absolute; left: 3rem; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.amx-num { font-family: var(--display); font-size: 0.9rem; letter-spacing: 0.24em; color: var(--gold-d); min-width: 1.8rem; transition: color 0.3s ease; }
.amx-name { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(13, 38, 56, 0.45); transition: color 0.35s ease, letter-spacing 0.45s var(--ease); }
.amx-item.is-active .amx-name, .amx-btn:hover .amx-name { color: var(--gold-d); }
.amx-item.is-active .amx-btn::after { transform: scaleX(1); }
.amx-item.is-active .amx-name { letter-spacing: 0.18em; }
.amx-panel { position: absolute; top: 50%; right: 0; width: calc(54% - 1rem); opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 14px)); transition: opacity 0.6s ease, transform 0.7s var(--ease), visibility 0.6s; }
.amx-item.is-active .amx-panel { opacity: 1; visibility: visible; transform: translateY(-50%); }
.amx-frame { position: relative; margin: 0 22px 22px 0; aspect-ratio: 16 / 9; }
.amx-frame::before { content: ""; position: absolute; top: 22px; left: 22px; right: -22px; bottom: -22px; border: 1px solid var(--gold); pointer-events: none; }
.amx-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #f1e8d6; box-shadow: 0 30px 70px rgba(90, 64, 30, 0.2); }
.amx-desc { margin-top: 2.6rem; max-width: 34rem; font-size: 1rem; line-height: 1.85; color: var(--body); }
.amx-desc-title { display: block; margin-bottom: 0.5rem; font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-d); font-weight: 500; }

#pc-gallery { background: #0f1c26; }
.pc-gallery { columns: 3; column-gap: 1.2rem; margin-top: 3.4rem; }
.pc-gal-item { break-inside: avoid; margin-bottom: 1.2rem; overflow: hidden; }
.pc-gal-item img { width: 100%; height: auto; cursor: zoom-in; transition: transform 0.8s var(--ease), opacity 0.4s ease; }
.pc-gal-item:hover img { transform: scale(1.03); }
.gal-slider { max-width: 1100px; margin: 3.4rem auto 0; }
.gal-slider .gal-stage { aspect-ratio: 16 / 9; background: transparent; cursor: zoom-in; overflow: visible; }
.gal-slider .gal-stage .snav { background: none; padding: 0 1rem; top: 50%; bottom: auto; transform: translateY(-50%); }
.gal-slider .gal-stage .snav button { border: 0; border-radius: 50%; width: 52px; height: 52px; background: rgba(250, 246, 238, 0.92); color: var(--gold-d); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); }
.gal-slider .gal-stage .snav button:hover { background: var(--gold); color: #fff; }
.gal-slider .gal-stage .scount { display: none; }
.scount2 { margin-top: 1.6rem; text-align: center; font-family: var(--display); font-size: 1rem; letter-spacing: 0.3em; color: var(--gold); }
.scap { margin-top: 0.6rem; min-height: 1.6em; text-align: center; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.gal-slider .gal-thumbs { justify-content: center; margin-top: 2.6rem; gap: 0.6rem; }
.gal-slider .gal-thumbs button { width: 100px; aspect-ratio: 16 / 9; background: transparent; opacity: 0.45; }
.gal-slider .gal-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
#pc-gallery .lede { color: rgba(255, 255, 255, 0.82); }
#pc-location { background: #eef2f1; }
[data-zoom] { cursor: zoom-in; }

/* ---------- Masterplan map with pins ---------- */
#masterplan { background: var(--navy); }
.mp { position: relative; overflow: hidden; }
.mp-head { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 6.5vw 1.5rem 0; text-align: center; pointer-events: none; }
.mp-head .eyebrow { color: #fff; }
.mp-head .title { color: #fff; text-shadow: 0 2px 24px rgba(8, 20, 28, 0.35); }
.mp-map { position: relative; }
.mp-map::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; z-index: 1; background: linear-gradient(to bottom, rgba(8, 20, 28, 0.35), transparent); pointer-events: none; }
.mp-map > img { width: 100%; height: auto; }
.mp-pins { position: absolute; inset: 0; z-index: 2; }
.mp-pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; padding: 0; background: none; border: 0; cursor: pointer; }
.mp-dot { position: relative; width: 30px; height: 30px; margin-bottom: 30px; border: 1.5px solid #f5f1e7; border-radius: 50%; transition: transform 0.3s var(--ease), background 0.3s ease; }
.mp-dot::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #f5f1e7; }
.mp-dot::after { content: ""; position: absolute; top: 100%; left: 50%; width: 1px; height: 30px; background: #f5f1e7; transform: translateX(-50%); }
.mp-pin:hover .mp-dot, .mp-pin:focus-visible .mp-dot { transform: scale(1.15); background: rgba(245, 241, 231, 0.25); }
.mp-label { position: absolute; bottom: calc(100% - 22px); left: 50%; transform: translate(-50%, 6px); white-space: nowrap; padding: 0.6rem 1.25rem; border-radius: 999px; background: #f5f1e7; color: var(--navy); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; outline: 1.5px solid rgba(245, 241, 231, 0.9); outline-offset: 5px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.35s var(--ease); }
.mp-pin:hover .mp-label, .mp-pin:focus-visible .mp-label, .mp-pin.is-default .mp-label { opacity: 1; transform: translate(-50%, 0); }
.mp-pins:hover .mp-pin.is-default:not(:hover) .mp-label { opacity: 0; transform: translate(-50%, 6px); }
.mp-pin:hover, .mp-pin:focus-visible { z-index: 5; }
.mp-pin:focus-visible { outline: none; }
.mp-legend { display: none; }

/* ---------- District slider (full-bleed video) ---------- */
.dslider { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 920px; overflow: hidden; background: #08141c; color: #fff; }
.ds-slides { position: absolute; inset: 0; }
.ds-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.ds-slide.is-active { opacity: 1; visibility: visible; }
.ds-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ds-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,28,0.78) 0%, rgba(8,20,28,0.42) 48%, rgba(8,20,28,0.12) 100%), linear-gradient(0deg, rgba(8,20,28,0.55), transparent 35%); }
.ds-content { position: relative; z-index: 2; height: 100%; max-width: 1400px; margin-inline: auto; padding: 0 clamp(1.2rem, 5vw, 4.5rem) 4rem; display: flex; flex-direction: column; justify-content: center; }
.ds-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.6rem 3rem; }
.ds-name { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 4.8vw, 4rem); letter-spacing: 0.3em; text-transform: uppercase; color: #fff; line-height: 1.15; margin-right: -0.3em; }
.ds-tag { font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: #fff; }
.ds-text { max-width: 38rem; margin-top: clamp(2rem, 5vh, 3.4rem); font-size: 1.14rem; line-height: 2; text-align: justify; hyphens: auto; color: rgba(255,255,255,0.94); }
.ds-slide.is-active .ds-head, .ds-slide.is-active .ds-text { animation: dsIn 1.1s var(--ease) both; }
.ds-slide.is-active .ds-text { animation-delay: 0.18s; }
@keyframes dsIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.ds-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(5.4rem, 10vh, 6.4rem); max-width: 1400px; margin-inline: auto; padding: 0 clamp(1.2rem, 5vw, 4.5rem); display: flex; align-items: center; gap: 1.4rem; }
.ds-nav button { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.7); border-radius: 50%; background: transparent; color: #fff; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.ds-nav button:hover { background: #fff; color: var(--navy); border-color: #fff; }
.ds-nav svg { width: 20px; height: 20px; }
.ds-bar { flex: 1; height: 1px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.ds-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: #fff; }
.dslider.is-running .ds-bar span { animation: dsBar var(--ds-ms, 9000ms) linear forwards; }
@keyframes dsBar { to { width: 100%; } }
.ds-count { font-size: 0.72rem; letter-spacing: 0.24em; color: rgba(255,255,255,0.85); flex: none; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.6rem; }
.pillar { background: rgba(255,255,255,0.05); padding: 3rem 2rem; text-align: center; transition: background 0.5s var(--ease), transform 0.5s var(--ease); }
.pillar:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.pillar .num { font-family: var(--display); font-size: 1rem; letter-spacing: 0.3em; color: var(--gold); }
.pillar h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-l); margin: 1rem -0.24em 1.2rem 0; }
.pillar p { font-size: 0.97rem; }

/* ---------- Districts ---------- */
.districts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; margin-top: 3.8rem; }
.district { grid-column: span 2; background: #fff; padding: 2.6rem 2.2rem; box-shadow: 0 14px 40px rgba(13,38,56,0.06); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.district:nth-child(n+4) { grid-column: span 3; }
.district:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(13,38,56,0.12); }
.district .num { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.3em; color: var(--gold-d); }
.district h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); margin: 0.9rem 0 0.35rem; }
.district .tag { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 1.1rem; font-weight: 500; }
.district p { font-size: 0.97rem; color: var(--body); }
.districts-image { margin-top: 3.4rem; }

/* ---------- Masterplan ---------- */
.mp-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 3.4rem; align-items: center; margin-top: 3.6rem; }
.mp-list { columns: 2; column-gap: 2rem; counter-reset: am; }
.mp-list li { counter-increment: am; break-inside: avoid; display: flex; gap: 0.9rem; padding: 0.62rem 0; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.86); line-height: 1.5; }
.mp-list li::before { content: counter(am, decimal-leading-zero); font-family: var(--display); font-size: 1rem; color: var(--gold); letter-spacing: 0.08em; flex: none; min-width: 1.7rem; line-height: 1.3; }

/* ---------- Palm Central ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2.2rem, 5vw, 5rem); align-items: center; }
.split .copy .title { text-align: left; margin-right: 0; }
.split .copy .eyebrow { text-align: left; }
.split .copy p { margin-top: 1.4rem; color: var(--body); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 2.2rem 0 0; }
.spec div { background: #fff; padding: 1.2rem 1.3rem; box-shadow: 0 10px 30px rgba(13,38,56,0.06); }
.spec dt { font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 0.35rem; font-weight: 500; }
.spec dd { font-family: var(--display); font-weight: 500; font-size: 1.28rem; letter-spacing: 0.06em; color: var(--navy); line-height: 1.35; }
.spec .wide { grid-column: 1 / -1; }
.amen-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.6rem; }
.amen-list li { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(189,158,112,0.16); color: var(--gold-d); padding: 0.5rem 0.9rem; }
.copy .btn { margin-top: 2.2rem; }
.note { font-size: 0.78rem; color: var(--mute); margin-top: 1rem; }

/* ---------- Collections (villa viewer) ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; margin: 3.2rem 0 1rem; text-align: center; }
.feature .icon { margin: 0 auto 0.9rem; width: 38px; height: 38px; }
.feature span { display: block; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-d); line-height: 1.6; }
.vtabs { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 3.2rem 0 2.6rem; }
.vtab { padding: 0.8rem 1.35rem; background: transparent; border: 1px solid var(--line-d); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--navy); transition: 0.35s var(--ease); }
.vtab:hover { border-color: var(--gold); }
.vtab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--gold-l); }
.on-dark .vtab { border-color: var(--line-l); color: rgba(255,255,255,0.85); }
.on-dark .vtab:hover { border-color: var(--gold); }
.on-dark .vtab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.villa[hidden] { display: none; }
.villa { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr); gap: clamp(2rem, 4.5vw, 4.2rem); align-items: start; }
.villa-info .vname { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-d); line-height: 1.3; }
.on-dark .villa-info .vname { color: var(--gold-l); }
.vspec { margin-top: 1.4rem; display: grid; gap: 0.1rem; }
.vspec li { padding: 0.7rem 0; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body); display: flex; gap: 0.8rem; align-items: baseline; }
.vspec li::before { content: ""; width: 18px; height: 1px; background: var(--gold); flex: none; transform: translateY(-3px); }
.on-dark .vspec li { color: rgba(255,255,255,0.86); }
.vmodes { display: flex; gap: 0.6rem; margin-top: 2rem; }
.vmode { flex: 1; padding: 0.85rem 0.6rem; background: transparent; border: 1px solid var(--line-d); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--navy); transition: 0.3s var(--ease); }
.vmode[aria-selected="true"] { border-color: var(--gold); background: rgba(189,158,112,0.16); color: var(--gold-d); }
.on-dark .vmode { border-color: var(--line-l); color: rgba(255,255,255,0.85); }
.on-dark .vmode[aria-selected="true"] { border-color: var(--gold); background: rgba(189,158,112,0.2); color: var(--gold-l); }
.villa-info .btn { margin-top: 1.6rem; width: 100%; }
.stage-wrap[hidden] { display: none; }
.stage { position: relative; aspect-ratio: 3 / 2; background: #0a1822; overflow: hidden; cursor: zoom-in; }
.stage.is-plan { background: #fff; aspect-ratio: 5 / 4; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.6s ease; }
.stage img.is-active { opacity: 1; }
.snav { position: absolute; z-index: 2; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1rem; background: linear-gradient(to top, rgba(8,20,28,0.6), transparent); pointer-events: none; }
.stage.is-plan .snav { background: linear-gradient(to top, rgba(13,38,56,0.12), transparent); }
.snav button { pointer-events: auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.7); background: rgba(8,20,28,0.35); color: #fff; font-size: 1.1rem; line-height: 1; transition: 0.3s ease; }
.stage.is-plan .snav button { border-color: var(--navy); background: rgba(255,255,255,0.8); color: var(--navy); }
.snav button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.scount { font-size: 0.7rem; letter-spacing: 0.24em; color: #fff; pointer-events: none; }
.stage.is-plan .scount { color: var(--navy); }
.thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: 0.3rem; }
.thumbs button { flex: 0 0 auto; width: 92px; aspect-ratio: 3 / 2; border: 1px solid transparent; background: #0a1822; padding: 0; opacity: 0.55; transition: 0.3s ease; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.thumbs.plan-thumbs button { background: #fff; }
.vhint { margin-top: 1.4rem; font-size: 0.78rem; color: var(--mute); text-align: center; }
.on-dark .vhint { color: rgba(255,255,255,0.55); }

/* ---------- Plots ---------- */
.plots-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.plots-grid .copy .title, .plots-grid .copy .eyebrow { text-align: left; margin-right: 0; }
.plots-grid .copy p { margin-top: 1.4rem; color: var(--body); }
.plots-grid .copy .btn { margin-top: 2.2rem; }
.plot-img { box-shadow: var(--shadow); }

/* ---------- Lifestyle ---------- */
.life-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3.6rem; }
.life-grid figure.wide { grid-column: 1 / -1; }
.life-grid img { width: 100%; }
.on-dark .life-grid figcaption.cap { color: rgba(255,255,255,0.6); }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: 3.6rem; }
.loc-facts { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.loc-facts li { display: flex; gap: 1.1rem; align-items: baseline; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.88); line-height: 1.6; }
.loc-facts li::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }

/* ---------- Nearby destinations ---------- */
.dest { margin-top: 4rem; text-align: center; }
.dest .eyebrow { margin-bottom: 1.2rem; }
.dest-list { columns: 3; column-gap: 3rem; text-align: left; max-width: 980px; margin-inline: auto; }
.design-note { margin: 2.6rem 0 0; }

/* ---------- Developer ---------- */
.dev { text-align: center; max-width: 46rem; margin-inline: auto; }
.dev-logo { width: 230px; height: auto; margin: 0 auto 2rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 3.4rem auto 0; display: grid; gap: 0.9rem; }
.faq-item { background: #fff; box-shadow: 0 10px 34px rgba(13,38,56,0.06); transition: box-shadow 0.4s ease; }
.faq-item.is-open { box-shadow: 0 20px 50px rgba(13,38,56,0.12); }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: transparent; border: 0; padding: 1.5rem 1.8rem; text-align: left; }
.faq-item h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: 0.08em; color: var(--navy); line-height: 1.45; }
.faq-icon { position: relative; width: 14px; height: 14px; flex: none; color: var(--gold-d); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s ease; }
.faq-icon::before { width: 14px; height: 1px; top: 50%; left: 0; }
.faq-icon::after { width: 1px; height: 14px; left: 50%; top: 0; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 1.8rem 1.6rem; color: var(--body); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,38,56,0.9), rgba(8,20,28,0.94)); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(2.2rem, 5vw, 5rem); align-items: center; }
.contact-layout .copy .title, .contact-layout .copy .eyebrow { text-align: left; margin-right: 0; }
.contact-layout .copy p { margin-top: 1.5rem; }
.contact-points { margin-top: 2rem; display: grid; gap: 0.9rem; }
.contact-points li { display: flex; gap: 1rem; align-items: baseline; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.86); }
.contact-points li::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }

/* ---------- Forms ---------- */
.form-card { background: #fff; padding: clamp(1.7rem, 3.2vw, 2.6rem); color: var(--text); }
.form-card .eyebrow { color: var(--gold-d); }
.form-card .title { color: var(--navy); font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: 0.14em; text-align: left; margin-right: 0; }
.form-card .fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.3rem; margin-top: 1.6rem; }
.field label { display: block; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.55rem; color: var(--mute); }
.field input, .field select { width: 100%; min-height: 54px; padding: 0.85rem 1rem; border: 1px solid var(--line-d); background: #faf8f3; color: var(--text); border-radius: 0; font-size: 16px; transition: border-color 0.3s ease, background 0.3s ease; }
.field input::placeholder { color: var(--mute); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e7145' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.5rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-card .btn { width: 100%; min-height: 56px; }
.form-card .btn-gold { background: var(--navy); border-color: var(--navy); color: var(--gold-l); }
.form-card .btn-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.phone-row { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0.55rem; }
.phone-row input[type="tel"] { flex: 1 1 auto; min-width: 0; width: auto; }
.phone-code { position: relative; flex: 0 0 6.5rem; }
.phone-code-trigger { width: 100%; height: 100%; min-height: 54px; display: flex; align-items: center; gap: 0.4rem; border: 1px solid var(--line-d); background: #faf8f3; padding: 0 0.6rem; font-size: 0.88rem; font-weight: 500; color: var(--text); transition: border-color 0.3s ease, background 0.3s ease; }
.phone-code-trigger:hover, .phone-code-trigger[aria-expanded="true"] { border-color: var(--gold); background: #fff; }
.phone-code-trigger svg { width: 14px; height: 14px; margin-left: auto; color: var(--mute); flex: none; }
.phone-code-trigger span[data-phone-code-flag] { font-size: 1.05rem; line-height: 1; }
.phone-code-panel { position: absolute; z-index: 40; top: calc(100% + 0.6rem); left: 0; width: max(290px, 100%); background: #fff; box-shadow: 0 24px 60px rgba(8,20,28,0.25); border: 1px solid var(--line-d); padding: 0.75rem; max-height: 340px; display: flex; flex-direction: column; }
.phone-code-panel[hidden] { display: none; }
.phone-code-search { width: 100%; min-height: 44px; padding: 0.6rem 0.85rem; margin-bottom: 0.5rem; border: 1px solid var(--gold); background: #fff; font-size: 16px; }
.phone-code-search:focus { outline: none; box-shadow: 0 0 0 3px rgba(189,158,112,0.25); }
.phone-code-list { overflow-y: auto; display: flex; flex-direction: column; }
.phone-code-option { display: flex; align-items: center; gap: 0.75rem; width: 100%; border: 0; background: transparent; padding: 0.65rem 0.6rem; cursor: pointer; text-align: left; font-size: 0.9rem; color: var(--text); transition: background 0.2s ease; }
.phone-code-option:hover { background: #f6f0e3; }
.phone-code-option.is-selected { background: rgba(189,158,112,0.2); }
.phone-code-option.is-selected .pco-name { color: var(--gold-d); font-weight: 600; }
.pco-flag { font-size: 1.15rem; line-height: 1; flex: none; }
.pco-name { flex: 1 1 auto; }
.pco-dial { flex: none; color: var(--mute); font-variant-numeric: tabular-nums; }
.form-status { margin-top: 0.55rem; font-size: 0.9rem; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #2f6b4f; }
.form-status.is-err { color: #8a3030; }

/* ---------- Sticky CTA, lightbox, modals ---------- */
.sticky-cta { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 850; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.4s ease, transform 0.4s var(--ease); }
.sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta .btn { box-shadow: var(--shadow); }
.lightbox { position: fixed; inset: 0; z-index: 9500; background: rgba(8,20,28,0.94); display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: 0.35s ease; overflow-y: auto; overscroll-behavior: contain; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1280px, 94vw); max-height: 88vh; width: auto; height: auto; object-fit: contain; background: #0a1822; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; }
.enquiry-modal { position: fixed; inset: 0; z-index: 9600; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(8,20,28,0.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s ease, visibility 0.35s ease; overflow-y: auto; overscroll-behavior: contain; }
.enquiry-modal[hidden] { display: none; }
.enquiry-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.enquiry-dialog { position: relative; width: min(480px, 100%); margin: auto; overflow: visible; box-shadow: 0 50px 120px -40px rgba(0,0,0,0.7); transform: translateY(20px) scale(0.985); transition: transform 0.45s var(--ease); }
.enquiry-modal.is-open .enquiry-dialog { transform: none; }
.enquiry-close { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3; width: 40px; height: 40px; border: 0; background: rgba(13,38,56,0.06); color: var(--navy); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; transition: 0.3s var(--ease); }
.enquiry-close:hover { background: var(--navy); color: var(--gold); }
.enquiry-dialog .eyebrow { padding-right: 2.75rem; margin-bottom: 0.9rem; }
.thanks-modal { background: rgba(8,20,28,0.82); }
.thanks-card { width: min(420px, 100%); text-align: center; box-shadow: var(--shadow); }
.thanks-card .title { text-align: center; margin: 0.4rem 0 0; }
.thanks-card .lede { margin-top: 1rem; font-size: 0.98rem; }
.thanks-card .btn { margin-top: 1.5rem; width: auto; min-width: 9rem; }

/* ---------- Footer ---------- */
.footer { background: #0b1a24; color: rgba(245,241,231,0.62); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: 0.85rem; text-align: center; }
.footer-brand img { height: 64px; width: auto; margin: 0 auto; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem 2.2rem; margin: 2.2rem 0; }
.footer-nav a { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,241,231,0.78); transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--gold); }
.footer-disclaimer { max-width: 62rem; margin-inline: auto; padding-top: 2rem; border-top: 1px solid rgba(245,241,231,0.14); line-height: 1.8; }
.footer-disclaimer p + p { margin-top: 0.9rem; }
.footer-bottom { margin-top: 1.8rem; padding-top: 1.3rem; border-top: 1px solid rgba(245,241,231,0.14); font-size: 0.74rem; letter-spacing: 0.12em; color: rgba(245,241,231,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav .btn-nav { display: none !important; }
  .menu-btn { display: inline-flex; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1rem; }
  .design-icons { grid-template-columns: repeat(3, 1fr); }
  .districts { grid-template-columns: repeat(2, 1fr); }
  .district, .district:nth-child(n+4) { grid-column: auto; }
  .district:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header: 72px; }
  .cols-2 { column-count: 1; text-align: left; }
  .dest-list { columns: 2; column-gap: 1.5rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
  .pillars { grid-template-columns: 1fr; }
  .mp-layout, .split, .plots-grid, .loc-grid, .contact-layout, .villa { grid-template-columns: minmax(0, 1fr); }
  .villa-info, .villa-media, .copy, .media { min-width: 0; }
  .vname { font-size: clamp(1.35rem, 6vw, 1.8rem); letter-spacing: 0.12em; }
  .split .media { order: -1; }
  .gs-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-row, .cc-row { grid-template-columns: minmax(0, 1fr); }
  .ft-grid, .ft-grid.ft-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: minmax(0, 1fr); }
  .vm-media { order: -1; }
  .at-grid { grid-template-columns: repeat(2, 1fr); }
  .amx { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .amx-list { margin-top: 2rem; display: grid; gap: 2.6rem; }
  .amx-btn { pointer-events: none; padding: 0 0 0.8rem; }
  .amx-btn::after { transform: scaleX(1); left: 0; }
  .amx-name { color: var(--gold-d); }
  .amx-panel { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; margin-top: 1.2rem; }
  .amx-item.is-active .amx-panel { transform: none; }
  .amx-frame { margin: 0 14px 14px 0; }
  .amx-frame::before { top: 14px; left: 14px; right: -14px; bottom: -14px; }
  .amx-desc { margin-top: 1.6rem; }
  .amx-desc-title { display: none; }
  .pc-hero { display: block; aspect-ratio: auto; min-height: 0; background: #0d2638; }
  .pc-hero .hero-media { position: relative; inset: auto; height: auto; margin-top: var(--header); }
  .pc-hero .hero-media img { position: static; width: 100%; height: auto; object-fit: contain; }
  .pc-hero .hero-media::after { display: none; }
  .pc-hero .hero-inner { padding: 3rem 1.5rem 4rem; max-width: none; }
  .pc-hero .scroll-cue { display: none; }
  .pc-units, .pc-amen-list, .pc-amen-grid, .am-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-plan { grid-template-columns: minmax(0, 1fr); }
  .pc-gallery { columns: 2; }
  .pc-band-text { position: static; padding: 3.2rem 1.15rem 2rem; background: #0b1a24; }
  .pc-band::after { display: none; }
  .ls-grid { grid-template-columns: minmax(0, 1fr); }
  .ls-fig-1, .ls-fig-2 { margin-left: 0; margin-right: 0; }
  .sc-grid, .showcase.is-reverse .sc-grid { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 2.8rem; }
  .showcase.is-reverse .sc-media { order: 0; }
  .sc-copy { padding: 0 1.5rem; }
  .sc-frame, .showcase.is-reverse .sc-frame { margin: 0 18px 18px 0; }
  .sc-frame::before, .showcase.is-reverse .sc-frame::before { top: 18px; left: 18px; right: -18px; bottom: -18px; }
  .life-grid { grid-template-columns: 1fr; }
  .title { letter-spacing: 0.14em; margin-right: -0.14em; }
  .hero h1 { letter-spacing: 0.14em; margin-right: -0.14em; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 1.15rem; }
  .header-inner { padding-inline: 1.15rem; }
  .brand img { height: 40px; }
  .hero-facts { gap: 0.4rem 1.4rem; padding: 1rem; }
  .hero-facts li { font-size: 0.58rem; letter-spacing: 0.16em; }
  .hero-inner { padding-bottom: 4rem; }
  .hero-actions .btn { width: 100%; }
  .gs-row { gap: 0.8rem; }
  .gs { padding: 1.6rem 0.6rem 1.4rem; }
  .cc-me { padding: 2.2rem 1.6rem; }
  .cc-body { padding: 1.6rem 1.4rem 1.8rem; }
  .cc-figs { grid-template-columns: repeat(2, auto); gap: 1rem 2rem; }
  .ft-grid, .ft-grid.ft-n4 { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
  .fo-grid { gap: 0.6rem; }
  .fo b { font-size: 0.95rem; }
  .vc-grid { grid-template-columns: minmax(0, 1fr); }
  .fb-bar { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -1.15rem; padding: 0 1.15rem 0.3rem; scrollbar-width: none; }
  .fb-bar::-webkit-scrollbar { display: none; }
  .fb { flex: none; }
  .vmodal { padding: 0; }
  .vm-dialog { padding: 4rem 1.15rem 2rem; min-height: 100%; }
  .hero h1.bv-h1 { letter-spacing: 0.12em; margin-right: -0.12em; }
  .gal-slider .gal-stage .snav button { width: 40px; height: 40px; }
  .gal-slider .gal-thumbs { justify-content: flex-start; }
  .gal-slider .gal-thumbs button { width: 74px; }
  .scap { font-size: 0.68rem; letter-spacing: 0.1em; }
  .at-grid { grid-template-columns: minmax(0, 1fr); }
  .pp-steps { grid-template-columns: minmax(0, 1fr); }
  .pp-bar { height: 46px; gap: 4px; }
  .pp-bar b { font-size: 1rem; }
  .pp-cta .btn { width: 100%; }
  .pc-table thead { display: none; }
  .pc-table, .pc-table tbody, .pc-table tr, .pc-table th, .pc-table td { display: block; width: 100%; }
  .pc-table tbody tr { padding: 1.4rem 0; border-bottom: 1px solid rgba(189, 158, 112, 0.25); }
  .pc-table tbody th, .pc-table td { padding: 0.25rem 0; border: 0; }
  .pc-table tbody th { font-size: 1.15rem; margin-bottom: 0.4rem; }
  .pc-table td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 8.5rem; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-family: var(--sans); }
  .pc-table td.pc-tprice { font-size: 1.2rem; }
  .pc-tcta { text-align: left !important; margin-top: 0.7rem; }
  .pc-stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .pc-units, .pc-amen-list, .pc-amen-grid, .am-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-plan-steps { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .pc-plan-steps::before { display: none; }
  .pc-plan-steps b { background: none; padding: 0; }
  .hero h1.pc-h1 { letter-spacing: 0.14em; margin-right: -0.14em; }
  .hero h1.pc-h1.bv-h1 { letter-spacing: 0.12em; margin-right: -0.12em; }
  .pc-res-facts { gap: 1.6rem; }
  .sticky-cta { left: 0; right: 0; bottom: 0; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(13, 38, 56, 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -10px 30px rgba(8, 20, 28, 0.25); transform: translateY(100%); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { width: 100%; min-height: 50px; box-shadow: none; }
  .footer { padding-bottom: calc(2rem + 74px + env(safe-area-inset-bottom)); }
  .lp { width: 16px; height: 16px; }
  .lp-num { font-size: 0.5rem; }
  .lp-label { font-size: 0.55rem; letter-spacing: 0.1em; padding: 0.35rem 0.7rem; }
  .ls-moments li { grid-template-columns: 1fr; gap: 0.3rem; }
  .lm-time { font-size: 1.05rem; }
  #lifestyle::after { width: 300px; height: 300px; }
  .sc-copy { padding: 0 1.15rem; }
  .sc-title { letter-spacing: 0.12em; font-size: 2.1rem; }
  .sc-facts b { font-size: 1.55rem; }
  .sc-actions .btn { width: 100%; }
  .sc-amen { grid-template-columns: 1fr; }
  .sc-title-long { font-size: 1.6rem; letter-spacing: 0.08em; }
  .sc-title-long span { white-space: normal; }
  .design-icons { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
  .dicon .gicon { width: 52px; height: 52px; margin-bottom: 1.2rem; }
  .dicon span { font-size: 0.66rem; letter-spacing: 0.16em; }
  .pm-frame { padding: 0 12px 12px 0; }
  .pm-frame::before { top: 12px; left: 12px; }
  #districts::after { width: 320px; height: 320px; right: -90px; bottom: -90px; }
  .paradise { grid-template-columns: minmax(0, 1fr); }
  .paradise-title { letter-spacing: 0.12em; font-size: 2.1rem; margin-bottom: 1.6rem; white-space: normal; }
  .paradise-copy p:not(.eyebrow) { text-align: left; font-size: 1rem; }
  .mp-head { position: static; padding: 4rem 1.15rem 2.4rem; }
  .mp-map::before { display: none; }
  .mp-dot { width: 16px; height: 16px; margin-bottom: 12px; border-width: 1px; }
  .mp-dot::before { inset: 4px; }
  .mp-dot::after { height: 12px; }
  .mp-label { font-size: 0.56rem; letter-spacing: 0.12em; padding: 0.4rem 0.75rem; outline-offset: 3px; bottom: calc(100% - 8px); }
  .mp-pin.is-default .mp-label { opacity: 0; }
  .mp-pin:focus .mp-label { opacity: 1; transform: translate(-50%, 0); }
  .mp-legend { display: block; padding-top: 2.4rem; padding-bottom: 3.6rem; }
  .ds-head { flex-direction: column; gap: 0.9rem; }
  .ds-name { letter-spacing: 0.18em; margin-right: -0.18em; font-size: 2rem; }
  .ds-tag { font-size: 0.68rem; letter-spacing: 0.18em; }
  .ds-text { font-size: 0.98rem; line-height: 1.85; text-align: left; margin-top: 1.6rem; }
  .ds-shade { background: linear-gradient(0deg, rgba(8,20,28,0.85) 0%, rgba(8,20,28,0.55) 55%, rgba(8,20,28,0.3) 100%); }
  .ds-nav { gap: 0.9rem; }
  .ds-nav button { width: 42px; height: 42px; }
  .hero-emblem img { width: 52px; height: 52px; }
  .scroll-cue { display: none; }
  .hero h1 { letter-spacing: 0.08em; margin-right: -0.08em; font-size: 1.55rem; }
  .hero h1 span { letter-spacing: 0.16em; font-size: 0.66em; margin: 0 -0.16em 0.9rem 0; }
  .districts { grid-template-columns: 1fr; }
  .mp-list, .dest-list { columns: 1; }
  .spec { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .vtabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -1.15rem; padding-inline: 1.15rem; scrollbar-width: none; }
  .vtabs::-webkit-scrollbar { display: none; }
  .vtab { flex: none; }
  .thumbs button { width: 74px; }
  .snav button { width: 40px; height: 40px; }
  .btn { padding-inline: 1.6rem; }
  .faq-item button { padding: 1.2rem 1.2rem; }
  .faq-item h3 { font-size: 1.05rem; }
  .faq-panel p { padding: 0 1.2rem 1.3rem; }
  /* sans sits a notch lighter on phones: 500 reads bold on iPhone */
  .eyebrow, .nav-links a, .stat span, .district .tag, .vtab, .vmode, .btn, .field label, .feature span, .footer-nav a { font-weight: 400; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faq-panel { transition: none; }
  .ds-slide.is-active .ds-head, .ds-slide.is-active .ds-text { animation: none; }
  .ds-slide { transition: none; }
    .scroll-cue b::after { animation: none; top: 0; }
  .stage img { transition: none; }
}
