*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; background: #fff; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

:root {
  --navy: #0d1b2a;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --off-white: #f9f7f4;
  --text-muted: #666;
  --pad: 25%;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.96); backdrop-filter: blur(10px);
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-back { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; display: flex; align-items: center; gap: 6px; transition: color .2s; }
.nav-back:hover { color: var(--gold); }
.nav-brand { color: #fff; font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; text-decoration: none; }
.nav-brand span { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--navy); padding: 8px 18px; border-radius: 4px; font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light); }

/* HERO */
.hero {
  margin-top: 58px;
  height: 480px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex; align-items: flex-end;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.2) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 40px var(--pad);
  width: 100%;
}
.hero-badges { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.badge { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.badge-gold { background: var(--gold); color: var(--navy); }
.badge-outline { border: 1px solid rgba(255,255,255,0.5); color: #fff; }
.badge-green { background: #27ae60; color: #fff; }
.hero h1 { font-size: clamp(28px, 4vw, 48px); color: #fff; font-weight: 700; margin-bottom: 8px; }
.hero-loc { color: rgba(255,255,255,0.75); font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* MAIN CONTENT */
.page { padding: 56px var(--pad); }
.page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }

/* KEY FACTS */
.key-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #e8e8e8; border-radius: 8px; overflow: hidden;
  margin-bottom: 40px;
}
.fact { background: #fff; padding: 20px 18px; }
.fact-label { color: var(--text-muted); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.fact-value { color: var(--navy); font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; }
.fact-sub { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* SECTION */
.section { margin-bottom: 40px; }
.section h2 { font-size: 22px; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.section p { color: var(--text-muted); line-height: 1.8; font-size: 15px; }

/* DOWNLOAD DOC LINKS (About section) */
.doc-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.doc-link {
  display: flex; align-items: center; gap: 10px;
  background: var(--off-white); border: 1.5px solid #e8e0cc;
  padding: 13px 20px; border-radius: 8px;
  color: var(--navy); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .2s, border-color .2s, transform .2s;
}
.doc-link:hover { background: #fdf6e3; border-color: var(--gold); transform: translateY(-2px); }
.doc-link-icon { font-size: 18px; }
@media (max-width: 480px) {
  .doc-links { flex-direction: column; }
  .doc-link { width: 100%; }
}

/* UNIT MIX TABLE */
.unit-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.unit-table th { background: var(--navy); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.unit-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; color: #333; }
.unit-table tr:hover td { background: var(--off-white); }
.sold-out { color: #999; font-style: italic; }
.price-from { color: var(--navy); font-weight: 600; }

/* FACILITIES */
.facilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facility-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--off-white); padding: 10px 14px; border-radius: 6px;
  font-size: 13px; color: var(--navy);
}
.facility-item span { font-size: 18px; }

/* DISCLAIMER */
.disclaimer { color: #aaa; font-size: 11px; line-height: 1.7; margin-top: 8px; }

/* STICKY SIDEBAR */
.sidebar { position: sticky; top: 80px; }
.sidebar-card {
  background: var(--navy); border-radius: 10px; padding: 28px 24px;
  color: #fff; position: relative;
}
.sidebar-close { display: none; }
.sidebar-price { font-family: 'Playfair Display', serif; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.sidebar-price-range { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold); font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.sidebar-details { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.sidebar-row { display: flex; justify-content: space-between; font-size: 13px; }
.sidebar-row .lbl { color: rgba(255,255,255,0.55); }
.sidebar-row .val { color: #fff; font-weight: 600; text-align: right; }
.sidebar-btn {
  display: block; width: 100%; background: var(--gold); color: var(--navy);
  padding: 13px; border-radius: 6px; font-weight: 700; font-size: 14px;
  text-align: center; text-decoration: none; margin-bottom: 10px;
  transition: background .2s;
}
.sidebar-btn:hover { background: var(--gold-light); }
.sidebar-btn-outline {
  display: block; width: 100%; border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8);
  padding: 12px; border-radius: 6px; font-size: 13px; font-weight: 500;
  text-align: center; text-decoration: none; transition: border-color .2s;
}
.sidebar-btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.sidebar-agent { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 12px; }
.agent-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold); }
.agent-name { font-weight: 600; font-size: 13px; }
.agent-title { color: rgba(255,255,255,0.55); font-size: 11px; margin-top: 2px; }

/* MOBILE ENQUIRY BUBBLE */
.mobile-bubble {
  display: none; position: fixed; bottom: 20px; right: 20px; z-index: 210;
  background: var(--gold); color: var(--navy); border: none;
  padding: 14px 22px; border-radius: 30px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); cursor: pointer;
  align-items: center; gap: 8px;
}
.mobile-bubble:active { transform: scale(0.96); }
.mobile-bubble.hide { display: none; }
.sidebar-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 199; opacity: 0; transition: opacity .3s ease;
}
.sidebar-backdrop.open { display: block; opacity: 1; }

/* FOOTER */
footer {
  background: #060e18; color: rgba(255,255,255,0.45);
  text-align: center; padding: 28px var(--pad);
  font-size: 12px; line-height: 1.9;
}
footer strong { color: rgba(255,255,255,0.75); }
footer a { color: var(--gold); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 1100px) { :root { --pad: 8%; } }
@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .key-facts { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: 1fr; }

  /* Sidebar becomes a slide-up sheet, triggered by the floating bubble */
  .sidebar {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    max-height: 88vh; overflow-y: auto;
    z-index: 200;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
  }
  .sidebar.open { transform: translateY(0); }
  .sidebar-card { border-radius: 16px 16px 0 0; padding-top: 20px; }
  .sidebar-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 14px; right: 14px;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: #fff;
    border: none; font-size: 16px; cursor: pointer;
  }
  .mobile-bubble { display: flex; }
}
@media (max-width: 768px) {
  :root { --pad: 20px; }
  nav { padding: 14px 20px; }
  .hero { height: 320px; }
  .key-facts { grid-template-columns: 1fr 1fr; }
}
