/* =========================================================
   Binghatti Spectre — Al Jaddaf | Campaign Landing Page
   Marketed by Obaidullah Ajmal Properties (OAP)
   ========================================================= */

:root {
  /* OAP brand palette (per OAP-Brand Guidelines.pdf) */
  --navy-900: #0F1A2E;
  --navy-800: #1A2A44;
  --navy-700: #24385C;
  --black: #000000;
  --cream: #FAF9F7;
  --cream-2: #F5F1E9;
  --grey-500: #A8A8A8;
  --pastel-blue: #C2C5CA;
  --white: #FFFFFF;

  /* Gold accent — carried from Binghatti Spectre campaign collateral */
  --gold-300: #F0DFA0;
  --gold-400: #DCB35C;
  --gold-500: #C9A227;
  --gold-600: #A9821D;

  --ink: #142032;
  --ink-soft: #4B5568;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(15, 26, 46, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 26, 46, 0.14);
  --shadow-lg: 0 24px 60px rgba(15, 26, 46, 0.22);

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold-500);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--navy-900); line-height: 1.15; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 10px; }
.section-title em { font-style: italic; color: var(--gold-600); }
.section-sub { margin-top: 14px; color: var(--ink-soft); font-size: 1.02rem; }

.tag-serif {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-800);
  border-color: rgba(20,32,50,0.3);
}
.btn-outline-dark:hover { background: rgba(20,32,50,0.06); border-color: var(--navy-800); }

.btn-whatsapp {
  background: #25D366;
  color: #06210F;
}
.btn-whatsapp:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
@media (max-width: 640px) {
  .site-header { position: absolute; }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.site-header.is-scrolled {
  background: rgba(15, 26, 46, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { height: 32px; width: auto; filter: none; }

.header-marketed-by { display: flex; align-items: center; gap: 10px; }
.header-marketed-by img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.header-marketed-by .brand-name { color: var(--white); font-size: 0.72rem; letter-spacing: 0.14em; line-height: 1.3; text-transform: uppercase; opacity: 0.9; white-space: nowrap; }
.header-marketed-by .brand-name strong { display: block; font-size: 0.86rem; letter-spacing: 0.08em; color: var(--gold-400); white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold-400);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--white); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: none; }
  .header-marketed-by { display: flex; }
  .header-marketed-by .brand-name { display: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 300;
  background: var(--navy-900);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
  display: flex; flex-direction: column;
  padding: 24px var(--gutter) 40px;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.45s var(--ease); }
.mobile-nav-top { display: flex; justify-content: flex-end; }
.mobile-nav-top button { background: none; border: none; color: var(--white); width: 42px; height: 42px; }
.mobile-nav-top button svg { width: 24px; height: 24px; }
.mobile-nav-links { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  color: var(--white); font-family: var(--font-display); font-size: 1.5rem;
  padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy-900);
}
.hero-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100svh;
  padding: 148px 0 64px;
  text-align: center;
}
@media (max-width: 640px) {
  .hero-visual { padding: 106px 0 48px; }
}
@media (min-width: 768px) {
  .hero-visual { min-height: 90vh; text-align: left; }
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15,26,46,0.72) 0%,
    rgba(15,26,46,0.58) 26%,
    rgba(15,26,46,0.48) 45%,
    rgba(15,26,46,0.32) 62%,
    rgba(15,26,46,0.15) 75%,
    rgba(15,26,46,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-overlay { position: relative; z-index: 2; }
@media (min-width: 768px) {
  .hero-overlay { max-width: 620px; margin-inline: 0; }
}
.hero-overlay .hero-title,
.hero-overlay .hero-tagline,
.hero-overlay .hero-eyebrow { text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.hero-parallax {
  position: absolute; inset: -12% 0 -12% 0;
  will-change: transform;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 15%;
  transform: scale(1.06);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-bg.is-active { opacity: 1; }
.hero-bg-1 { background-image: url('../img/hero-banner-1.webp'); }
.hero-bg-3 { background-image: url('../img/hero-banner-3.webp'); }
@media (max-width: 640px) {
  .hero-parallax { inset: 0; }
  .hero-bg-1 { background-image: url('../img/hero-banner-mobile-1.webp'); background-position: center 20%; }
  .hero-bg { transform: none; animation: none; }
  .hero-bg-3 { background-image: url('../img/hero-banner-mobile-3.webp'); background-position: center 0%; transform: scale(1.18); }
}
@keyframes heroKenBurns {
  0% { transform: scale(1.04); }
  100% { transform: scale(1.16); }
}
@media (min-width: 1200px) {
  .hero-bg { background-position: center 8%; animation: heroKenBurnsWide 24s ease-in-out infinite alternate; }
}
@keyframes heroKenBurnsWide {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}
.hero-eyebrow { color: var(--gold-400); justify-content: center; }
.hero-eyebrow::before { display: none; }
.hero-title {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 100;
  color: var(--white);
  letter-spacing: 0.01em;
}
.hero-title .thin { font-weight: 400; display: block; font-size: 0.4em; letter-spacing: 0.5em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 6px; }
.hero-tagline {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--gold-300);
}

.hero-details { background: var(--cream); padding: 36px 0 44px; }
.hero-desc { color: var(--ink-soft); font-size: 1rem; text-align: center; max-width: 560px; margin-inline: auto; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  color: var(--white);
}
.pill svg { width: 16px; height: 16px; color: var(--gold-400); flex-shrink: 0; }

/* Hero category showcase */
.hero-showcase { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
@media (min-width: 768px) {
  .hero-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin-inline: auto; }
  .showcase-card { position: relative; flex-direction: column; align-items: flex-start; text-align: left; padding-right: 44px; }
  .showcase-arrow { position: absolute; top: 20px; right: 20px; }
}
.showcase-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid #E4E3DE;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.showcase-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: rgba(201,162,39,0.4); }
.showcase-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.14); color: var(--gold-600);
}
.showcase-icon svg { width: 20px; height: 20px; }
.showcase-info { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.showcase-label { font-size: 0.94rem; font-weight: 600; color: var(--navy-900); }
.showcase-price { font-size: 0.78rem; color: var(--gold-600); font-weight: 600; }

.dirham { display: inline-block; height: 0.85em; width: auto; vertical-align: -0.08em; margin: 0 1px; }
.showcase-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--ink-soft); transition: transform 0.3s var(--ease); }
.showcase-card:hover .showcase-arrow { transform: translateX(4px); color: var(--gold-600); }

.form-row { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.76rem; font-weight: 600; color: var(--navy-800); letter-spacing: 0.02em; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #E4E3DE;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold-500); background: var(--white);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid-2 > .form-row { min-width: 0; }
.form-row select { min-width: 0; text-overflow: ellipsis; }
.phone-field { display: flex; gap: 8px; max-width: 100%; }
.phone-field select { flex: 0 0 108px; width: 108px; max-width: 108px; padding-left: 10px; padding-right: 6px; }
.phone-field input { flex: 1 1 auto; min-width: 0; width: auto; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 0.76rem; color: var(--ink-soft); }
.form-consent input { margin-top: 3px; accent-color: var(--gold-500); }
.enquire-form-card .btn { margin-top: 18px; }

.trust-row { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 0.76rem; color: var(--ink-soft); }
.trust-row svg { width: 16px; height: 16px; color: var(--gold-500); }

/* ---------- Reveal utility ---------- */
.reveal { opacity: 0; transform: translateY(44px) scale(0.975); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.reveal .eyebrow::before { width: 0; transition: width 0.7s 0.25s var(--ease); }
.reveal.is-visible .eyebrow::before { width: 26px; }
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }
.reveal-delay-4.is-visible { transition-delay: 0.32s; }

/* ---------- Overview ---------- */
.overview { padding: 110px 0; background: var(--white); }
.overview .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.overview-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.overview-media img { height: 640px; object-fit: cover; width: 100%; will-change: transform; }
.overview-media .media-badge {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(15,26,46,0.85);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  max-width: 220px;
}
.overview-media .media-badge strong { display: block; color: var(--gold-400); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }

.overview-body p { color: var(--ink-soft); margin-top: 16px; }
.overview-body p:first-of-type { margin-top: 22px; }

.feature-trio { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #E4E1D8;
}
.feature-item .icon-badge { width: 38px; height: 38px; border-radius: 10px; background: var(--navy-800); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item .icon-badge svg { width: 18px; height: 18px; color: var(--gold-400); }
.feature-text { display: flex; flex-direction: column; gap: 3px; }
.feature-item strong { font-size: 0.92rem; color: var(--navy-900); }
.feature-item span { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.4; }

@media (max-width: 980px) {
  .overview { padding: 56px 0; }
  .overview .container { grid-template-columns: 1fr; gap: 36px; }
  .overview-media img { height: 320px; }
  .feature-trio { grid-template-columns: 1fr; }
}

/* ---------- Developer ---------- */
.developer { padding: 90px 0; background: var(--cream); }
.developer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.developer-body p { margin-top: 16px; color: var(--ink-soft); }
.developer-stats { display: flex; flex-direction: column; gap: 20px; }
.dev-stat { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius-md); border: 1px solid #EFEBE1; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.dev-stat:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,26,46,0.1); }
.dev-stat .icon-badge { width: 42px; height: 42px; border-radius: 12px; background: var(--navy-800); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dev-stat .icon-badge svg { width: 20px; height: 20px; color: var(--gold-400); }
.dev-stat-text strong { display: block; font-size: 0.98rem; color: var(--navy-900); }
.dev-stat-text span { font-size: 0.8rem; color: var(--ink-soft); }

@media (max-width: 980px) {
  .developer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Location ---------- */
.location { padding: 110px 0; background: var(--navy-900); color: var(--white); }
.location .section-title { color: var(--white); }
.location .section-head .section-sub { color: rgba(255,255,255,0.68); }
.location .eyebrow { color: var(--gold-400); }

.orientation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
.orientation-card {
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.orientation-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,0.4); }
.orientation-card .compass { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 10px; }
.orientation-card h3 { color: var(--white); font-size: 1.35rem; }
.orientation-card p { margin-top: 12px; color: rgba(255,255,255,0.72); font-size: 0.92rem; }

.loc-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loc-stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.loc-stat:hover { transform: translateY(-4px); border-color: rgba(201,162,39,0.4); }
.loc-stat svg { width: 26px; height: 26px; color: var(--gold-400); margin-bottom: 12px; }
.loc-stat strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--white); }
.loc-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.map-wrap { margin-top: 46px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.14); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.15) contrast(1.05); }

@media (max-width: 860px) {
  .orientation-grid, .loc-stats { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery { padding: 110px 0; background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 16px;
  margin-top: 10px;
}
.gallery-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-img-wrap { width: 100%; height: 100%; overflow: hidden; transition: transform 0.6s var(--ease); }
.gallery-grid figure:hover .gallery-img-wrap { transform: scale(1.08); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(10,17,30,0.75), transparent);
  color: var(--white);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(6,10,18,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 86vw); max-height: 84vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); opacity: 1; transition: opacity 0.25s var(--ease); }
.lightbox img.is-switching { opacity: 0; }
.lightbox-close { position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); display: flex; align-items: center; justify-content: center; }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .lightbox { padding: 8px; }
  .lightbox img { max-width: 96vw; max-height: 78vh; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 2px; }
  .lightbox-next { right: 2px; }
}

/* ---------- Residences / Pricing ---------- */
.residences { padding: 110px 0; background: var(--white); }
.price-tabs { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.price-tab {
  padding: 10px 20px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  border: 1.5px solid #E4E3DE; background: var(--white); color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.price-tab.is-active, .price-tab:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

.price-list { margin-top: 30px; display: flex; flex-direction: column; border-top: 1px solid #ECEAE3; }
.price-row {
  display: none;
  align-items: center;
  gap: 20px;
  padding: 18px 6px;
  border-bottom: 1px solid #ECEAE3;
  transition: background 0.25s var(--ease);
}
.price-row.is-shown { display: flex; }
.price-row:hover { background: var(--cream); }
.price-row .unit-type { flex: 0 0 110px; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.price-row .unit-name { flex: 1 1 160px; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); font-weight: 500; }
.price-row .unit-plan { flex: 1 1 260px; font-size: 0.82rem; color: var(--ink-soft); }
.price-row .btn { flex-shrink: 0; }

.price-footnote { margin-top: 26px; font-size: 0.78rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.price-footnote svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold-500); }

@media (max-width: 640px) {
  .residences { padding: 70px 0; }
  .residences .section-head { margin-bottom: 24px; }
  .price-tabs { margin-top: 4px; gap: 8px; }
  .price-tab { padding: 8px 16px; font-size: 0.78rem; }
  .price-list { margin-top: 20px; }
  .price-row.is-shown { flex-wrap: wrap; gap: 3px 10px; padding: 13px 2px; }
  .price-row .unit-type { flex: 0 0 auto; font-size: 0.6rem; letter-spacing: 0.06em; }
  .price-row .unit-name { flex: 1 1 auto; font-size: 0.92rem; }
  .price-row .unit-plan { flex-basis: 100%; order: 3; font-size: 0.72rem; margin-top: 1px; }
  .price-row .btn { flex: 0 0 auto; padding: 7px 16px; font-size: 0.74rem; }
  .price-footnote { margin-top: 16px; }
}

/* ---------- Payment plan ---------- */
.payment-plan { padding: 110px 0; background: var(--cream-2); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
.plan-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid #EFEBE1; }
.plan-card .plan-ratio { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy-900); }
.plan-card .plan-unit { margin-top: 2px; font-size: 0.85rem; color: var(--gold-600); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-steps { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.plan-step { display: flex; gap: 16px; padding: 14px 0; border-top: 1px dashed #E4E1D6; }
.plan-step:first-child { border-top: none; }
.plan-step .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plan-step .txt strong { display: block; color: var(--navy-900); font-size: 0.92rem; }
.plan-step .txt span { font-size: 0.8rem; color: var(--ink-soft); }


@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } }

/* ---------- Why invest ---------- */
.why { padding: 110px 0; background: var(--navy-900); color: var(--white); }
.why .section-title { color: var(--white); }
.why .eyebrow { color: var(--gold-400); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; }
.why-card { padding: 26px 22px; border-radius: var(--radius-md); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: background 0.3s, transform 0.3s var(--ease); }
.why-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.why-card .icon-badge { width: 46px; height: 46px; border-radius: 12px; background: rgba(220,179,92,0.14); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-card .icon-badge svg { width: 22px; height: 22px; color: var(--gold-400); }
.why-card h3 { color: var(--white); font-size: 1.05rem; }
.why-card p { margin-top: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.66); }

@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .why { padding: 70px 0; }
  .why-grid { gap: 12px; }
  .why-card { padding: 18px 16px; }
  .why-card .icon-badge { width: 36px; height: 36px; margin-bottom: 10px; }
  .why-card .icon-badge svg { width: 18px; height: 18px; }
  .why-card h3 { font-size: 0.92rem; }
  .why-card p { margin-top: 5px; font-size: 0.78rem; line-height: 1.4; }
}

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; background: var(--white); }
.faq-list { margin-top: 10px; max-width: 820px; }
.faq-item { border-bottom: 1px solid #ECEAE3; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-900); }
.faq-q svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; transition: transform 0.35s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 0.92rem; max-width: 680px; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; padding: 100px 0; color: var(--white); text-align: center; }
.final-cta-bg {
  position: absolute; inset: 0;
  background-image: url('../img/gallery-pool-sunset.webp');
  background-size: cover; background-position: center;
  will-change: transform;
}
.final-cta-scrim { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,26,46,0.78), rgba(10,17,30,0.72)); }
.final-cta .container { position: relative; z-index: 2; }
.final-cta .section-title { color: var(--white); text-shadow: 0 2px 16px rgba(0,0,0,0.4); }
.final-cta .section-sub { color: rgba(255,255,255,0.85); margin-inline: auto; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.final-cta .cta-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Enquiry (footer form) ---------- */
.enquire-section { padding: 100px 0; background: var(--cream); }
.enquire-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.enquire-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.enquire-info p { margin-top: 16px; color: var(--ink-soft); }

.enquire-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); max-width: 100%; overflow-x: hidden; }

@media (max-width: 980px) {
  .enquire-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .enquire-form-card { padding: 24px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: 70px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.footer-brand-mark { display: flex; align-items: center; margin-bottom: 22px; }
.footer-brand-mark img { height: 138px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.86rem; max-width: 320px; color: rgba(255,255,255,0.6); }
.footer-developer { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.footer-developer span { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.footer-developer img { height: 18px; width: auto; filter: none; }
.footer-qr { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-qr img { width: 96px; height: 96px; border-radius: 8px; background: var(--white); padding: 6px; }
.footer-qr span { font-size: 0.76rem; color: rgba(255,255,255,0.5); max-width: 140px; }

.footer-bottom { margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.76rem; color: rgba(255,255,255,0.45); }
.footer-disclaimer { margin-top: 18px; font-size: 0.72rem; color: rgba(255,255,255,0.4); max-width: 900px; line-height: 1.7; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Sticky CTA bar ---------- */
body { padding-bottom: 78px; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  display: flex; justify-content: center;
  background: var(--navy-900);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.22);
  padding: 12px var(--gutter);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}
.sticky-cta-item {
  flex: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.sticky-cta-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.sticky-cta-primary {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.sticky-cta-primary:hover { background: var(--cream); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.sticky-cta-stats { display: none; }

@media (min-width: 768px) {
  .sticky-cta { justify-content: space-between; align-items: center; gap: clamp(12px, 2vw, 28px); }
  .sticky-cta-stats {
    display: flex; align-items: center;
    gap: clamp(8px, 1.4vw, 24px);
    flex: 1; min-width: 0;
    overflow: hidden;
  }
  .sticky-cta-stat {
    display: flex; align-items: center; gap: 7px;
    padding-right: clamp(8px, 1.4vw, 24px);
    border-right: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-size: clamp(0.66rem, 0.5vw + 0.5rem, 0.78rem);
    font-weight: 500;
    white-space: nowrap;
  }
  .sticky-cta-stat:last-child { border-right: none; padding-right: 0; }
  .sticky-cta-stat svg { width: 15px; height: 15px; color: var(--gold-400); flex-shrink: 0; }
  .sticky-cta-item { flex-shrink: 0; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .sticky-cta-stat:first-child { display: none; }
}

@media (max-width: 767px) {
  .sticky-cta { justify-content: space-between; align-items: center; padding: 10px 18px; gap: 10px; }
  .sticky-cta-stats { display: flex; align-items: center; min-width: 0; }
  .sticky-cta-stat { display: none; }
  .sticky-cta-stat:nth-child(2) {
    display: flex; align-items: center; gap: 6px;
    color: var(--white);
    font-size: 0.72rem; font-weight: 600;
    white-space: nowrap;
  }
  .sticky-cta-stat:nth-child(2) svg { width: 14px; height: 14px; color: var(--gold-400); flex-shrink: 0; }
  .sticky-cta-item { flex-shrink: 0; font-size: 0.74rem; padding: 13px 22px; gap: 6px; }
  .sticky-cta-item svg { width: 17px; height: 17px; }
}
@media (max-width: 340px) {
  .sticky-cta-stat:nth-child(2) { display: none; }
}

/* ---------- Misc ---------- */
.badge-gold {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(201,162,39,0.12); color: var(--gold-600);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

::selection { background: var(--gold-400); color: var(--navy-900); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--white); color: var(--navy-900); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
