/* ============================================================
   THE CELESTZ @ KEBUN TEH — GALAXY THEME
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:         #C9A84C;
  --gold-light:   #F0D080;
  --gold-dark:    #9A7532;
  --bg:           #05060F;
  --bg2:          #080C18;
  --glass:        rgba(255,255,255,0.055);
  --glass-b:      rgba(255,255,255,0.10);
  --text:         #E8E0F5;
  --text-muted:   #7A7A9A;
  --navy:         #0A0F1E;
  --ease:         cubic-bezier(0.77,0,0.18,1);
  --r:            14px;
  --fh:           'Josefin Sans', sans-serif;
  --fb:           'Lato', sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#star-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#comet-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ---- Fullpage Container ---- */
#fp {
  position: fixed;
  inset: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  scrollbar-width: none;
}
#fp::-webkit-scrollbar { display: none; }

.slide {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- Nebula Blobs ---- */
.nb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.nb-purple { background: radial-gradient(ellipse, rgba(138,43,226,0.35) 0%, transparent 70%); width: 550px; height: 550px; top: -120px; left: -120px; }
.nb-blue   { background: radial-gradient(ellipse, rgba(30,80,220,0.28) 0%, transparent 70%); width: 650px; height: 400px; bottom: -80px; right: -130px; }
.nb-teal   { background: radial-gradient(ellipse, rgba(0,200,180,0.22) 0%, transparent 70%); width: 500px; height: 450px; top: 20%; left: 25%; }
.nb-red    { background: radial-gradient(ellipse, rgba(200,50,120,0.20) 0%, transparent 70%); width: 450px; height: 350px; top: 10%; right: 5%; }
.nb-gold   { background: radial-gradient(ellipse, rgba(201,168,76,0.15) 0%, transparent 70%); width: 600px; height: 300px; bottom: 5%; left: 5%; }

/* ---- Navbar ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(5,6,15,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
#navbar.scrolled { background: rgba(5,6,15,0.96); }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
}
.nav-logo { text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 38px; width: auto; display: block; }
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--fh);
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 5px;
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-link:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: #0A0F1E;
  text-decoration: none;
  font-family: var(--fh);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  font-weight: 700;
  margin-left: 0.75rem;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 1rem;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-enquire-btn {
  display: none;
  margin-left: auto;
  color: #0A0F1E;
  background: var(--gold);
  text-decoration: none;
  font-family: var(--fh);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 5px;
  font-weight: 700;
}

/* ---- Side Dots ---- */
.side-dots {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  position: relative;
}
.dot::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fh);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  background: rgba(5,6,15,0.85);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}
.dot:hover::before { opacity: 1; }
.dot:hover { background: rgba(255,255,255,0.45); }
.dot.active {
  background: var(--gold);
  width: 9px; height: 9px;
  box-shadow: 0 0 10px rgba(201,168,76,0.65);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--fh);
  font-size: 0.79rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(110deg, #9A7532 0%, var(--gold) 40%, var(--gold-light) 60%, var(--gold) 80%, #9A7532 100%);
  background-size: 200% auto;
  color: #0A0F1E;
  font-weight: 700;
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-b);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-family: var(--fh);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn.full { width: 100%; }
.mt-2 { margin-top: 1.25rem; }

.eyebrow {
  font-family: var(--fh);
  font-size: 0.67rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-b);
  border-radius: var(--r);
}

/* ---- Slide Layout ---- */
.slide-pad {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 5rem 2.5rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.section-hd {
  flex-shrink: 0;
  margin-bottom: 1.1rem;
}
.section-hd h2 {
  font-family: var(--fh);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.section-hd .sub {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.65;
  margin-top: 0.35rem;
}
.slide-scroll-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.25) transparent;
  padding-right: 0.25rem;
  padding-bottom: 0.75rem;
  min-height: 0;
}
.slide-scroll-body::-webkit-scrollbar { width: 3px; }
.slide-scroll-body::-webkit-scrollbar-track { background: transparent; }
.slide-scroll-body::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 2px; }

.slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  flex: 1;
  min-height: 0;
}
.col-text { display: flex; flex-direction: column; justify-content: center; }
.col-img  { display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* ================================================================
   SLIDE 0 — HERO
   ================================================================ */
#hero { background: #05060F; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,6,15,0.4) 0%, rgba(5,6,15,0.6) 55%, rgba(5,6,15,0.92) 100%);
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 70px 2rem 70px;
}
.hero-logo {
  width: min(280px, 55vw);
  height: auto;
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 4px 24px rgba(201,168,76,0.35));
}
.hero-tagline {
  font-family: var(--fh);
  font-size: clamp(0.82rem, 1.6vw, 1.1rem);
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.cd-wrap { margin-bottom: 2rem; }
.cd-label {
  font-family: var(--fh);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.18rem;
}
.cd-date {
  font-family: var(--fh);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.countdown {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
}
.cd-block {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  backdrop-filter: blur(14px);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  min-width: 65px;
}
.cd-num {
  font-family: var(--fh);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.cd-lbl {
  font-family: var(--fh);
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.22rem;
}
.cd-sep {
  font-size: 1.7rem;
  color: var(--gold);
  font-weight: 300;
  padding-bottom: 0.9rem;
  opacity: 0.55;
}
.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }

.hero-specs {
  position: relative; z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(5,6,15,0.85);
  border-top: 1px solid rgba(201,168,76,0.18);
  backdrop-filter: blur(14px);
  padding: 0.85rem 2rem;
}
.spec-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 1.6rem;
  text-align: center;
}
.sv {
  font-family: var(--fh);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.sl {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.12rem;
}
.spec-div { width: 1px; height: 26px; background: rgba(255,255,255,0.12); flex-shrink: 0; }

.scroll-hint {
  position: absolute;
  bottom: 5.25rem; left: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
}
.scroll-hint span {
  font-family: var(--fh);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ================================================================
   SLIDE 1 — ABOUT
   ================================================================ */
#about h2 {
  font-family: var(--fh);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}
#about p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.8rem; font-size: 0.88rem; }
#about strong { color: var(--text); font-weight: 700; }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--glass-b);
  border: 1px solid var(--glass-b);
  border-radius: var(--r);
  overflow: hidden;
  margin: 1.1rem 0;
}
.sg-item {
  display: flex; flex-direction: column;
  padding: 0.8rem 1.1rem;
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.sg-lbl {
  font-family: var(--fh);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.18rem;
}
.sg-val { font-size: 0.86rem; color: var(--text); font-weight: 600; }

.about-cta-desktop { display: inline-flex; }
.about-cta { display: none; width: 100%; margin-top: 1rem; }

.about-stats {
  margin: 1.1rem 0 0;
  display: flex;
  flex-direction: column;
}
.about-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.about-stat-row:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.asr-val {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.asr-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.facade-img {
  width: 100%; height: 100%;
  object-fit: contain;
  max-height: 78vh;
  filter: drop-shadow(0 20px 70px rgba(0,0,0,0.6));
}

/* ================================================================
   SLIDE 2 — LAYOUT PLAN
   ================================================================ */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.unit-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.unit-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.unit-card.popular { border-color: rgba(201,168,76,0.5) !important; box-shadow: 0 0 24px rgba(201,168,76,0.12); }
.popular-tag {
  position: absolute;
  top: -10px; right: 12px;
  background: var(--gold);
  color: #0A0F1E;
  font-family: var(--fh);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  z-index: 1;
}

/* Desktop: contained image with padding */
.uc-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  background: rgba(255,255,255,0.025);
  border-radius: 7px;
  margin-bottom: 0.6rem;
  min-height: 110px;
}
.uc-img img { width: 100%; height: 100%; object-fit: contain; max-height: 130px; }

.uc-body { display: flex; flex-direction: column; flex: 1; }
.uc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.uc-badge { font-family: var(--fh); font-size: 0.76rem; font-weight: 700; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.uc-sqft { font-size: 0.65rem; color: var(--text-muted); }
.uc-info { margin-bottom: 0.6rem; flex: 1; }
.uc-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.74rem;
}
.uc-row span:first-child { color: var(--text-muted); }
.uc-row span:last-child { color: var(--text); font-weight: 600; }
.uc-green { color: #4ADE80 !important; }
.uc-muted { color: var(--text-muted) !important; font-weight: 400 !important; }

.layout-plan-wrap { text-align: center; margin-top: 1.25rem; }
.layout-plan-img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 8px; opacity: 0.88; }

/* ================================================================
   SLIDE 3 — GALLERY
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 130px;
  gap: 5px;
}
.gallery-item { overflow: hidden; border-radius: 7px; position: relative; cursor: pointer; }
.gallery-item.span2x2 { grid-column: span 2; grid-row: span 2; }
.gal-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); display: block; }
.gallery-item:hover .gal-img { transform: scale(1.07); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,6,15,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-note { text-align: center; font-size: 0.67rem; color: var(--text-muted); letter-spacing: 0.05em; margin-top: 0.6rem; flex-shrink: 0; }

/* ================================================================
   SLIDE 4 — LOCATION
   ================================================================ */
#location h3 {
  font-family: var(--fh);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.prox-list { margin-bottom: 1.1rem; }
.prox-row {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.prox-time {
  font-family: var(--fh);
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  width: 58px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.prox-place { font-size: 0.86rem; color: var(--text-muted); }
.loc-btns { display: flex; gap: 0.65rem; }
.map-wrap {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--glass-b);
  height: 100%; min-height: 320px;
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 320px; }

/* ================================================================
   SLIDE 5 — RTS LINK
   ================================================================ */
#rts { background: linear-gradient(135deg, #05060F 0%, #080C20 60%, #070A18 100%); }
.rts-img { width: 100%; border-radius: var(--r); object-fit: cover; max-height: 62vh; filter: brightness(0.85); display: block; }
#rts h2 {
  font-family: var(--fh);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}
#rts p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.8rem; font-size: 0.88rem; }
.rts-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-b);
}
.rts-stat { display: flex; flex-direction: column; gap: 0.18rem; }
.rts-num { font-family: var(--fh); font-size: 1.6rem; font-weight: 300; color: var(--gold); letter-spacing: 0.04em; }
.rts-lbl { font-size: 0.67rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ================================================================
   SLIDE 6 — CONTACT
   ================================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
  flex: 1; min-height: 0;
}
.contact-left { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.contact-left h2 {
  font-family: var(--fh);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.contact-left p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.8rem; font-size: 0.88rem; }
.hours-box {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 9px;
  padding: 0.8rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}
.hours-box strong { color: var(--gold); }

.contact-right { height: 100%; display: flex; flex-direction: column; }
.ctabs { display: flex; gap: 0.45rem; margin-bottom: 1.1rem; flex-shrink: 0; }
.ctab {
  flex: 1; padding: 0.5rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 7px;
  color: var(--text-muted);
  font-family: var(--fh);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.ctab.active {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.45);
  color: var(--gold);
}
.ctab-pane { display: none; flex-direction: column; flex: 1; }
.ctab-pane.active { display: flex; }

.eq-form, .brochure-form {
  display: flex; flex-direction: column; gap: 0.6rem; flex: 1;
}
.eq-form h3, .brochure-form h3 {
  font-family: var(--fh);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.eq-form .brochure-sub { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }
.fg { display: flex; flex-direction: column; }
.fg input, .fg select, .fg textarea,
.brochure-form input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-b);
  border-radius: 7px;
  color: var(--text);
  padding: 0.65rem 0.9rem;
  font-family: var(--fb);
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder,
.brochure-form input::placeholder { color: var(--text-muted); font-size: 0.83rem; }
.fg input:focus, .fg select:focus, .fg textarea:focus,
.brochure-form input:focus { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.fg select option { background: #0A0F1E; color: var(--text); }
.form-note { font-size: 0.68rem; color: var(--text-muted); line-height: 1.5; }
.form-ok {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 7px;
  padding: 0.65rem 1rem;
  color: var(--gold);
  font-size: 0.82rem;
}

/* ================================================================
   SLIDE 7 — FAQ
   ================================================================ */
#faq h2 {
  font-family: var(--fh);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.03em;
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 0.85rem 0;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
  font-family: var(--fh);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-align: left;
  transition: color 0.2s;
  gap: 1rem;
}
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--gold); }
.faq-ico {
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(45deg); }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height 0.38s ease, padding 0.3s ease; }
.faq-ans.open { max-height: 500px; padding-bottom: 0.8rem; }
.faq-ans p, .faq-ans ul { color: var(--text-muted); font-size: 0.83rem; line-height: 1.75; }
.faq-ans ul { padding-left: 1.2rem; margin-top: 0.35rem; }
.faq-ans li { margin-bottom: 0.18rem; }
.inline-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================
   SLIDE 8 — FOOTER
   ================================================================ */
#footer-slide { background: linear-gradient(180deg, #05060F 0%, #080C18 100%); }
.upcoming-card {
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--r);
  padding: 1.4rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.07) 0%, rgba(5,6,15,0.5) 100%);
  margin-bottom: 2.25rem;
  flex-shrink: 0;
}
.upcoming-card h3 {
  font-family: var(--fh);
  font-size: 1.3rem; font-weight: 300;
  color: var(--text); margin-bottom: 0.28rem; letter-spacing: 0.04em;
}
.upcoming-card p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }

.footer-cols {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--glass-b);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.footer-logo-img { height: 34px; width: auto; margin-bottom: 0.55rem; display: block; }
.footer-brand p { color: var(--text-muted); font-size: 0.78rem; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.38rem; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.81rem; transition: color 0.2s; cursor: pointer; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; }
.fc-label { font-family: var(--fh); font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.footer-contact a { color: var(--text-muted); text-decoration: none; font-size: 0.81rem; transition: color 0.2s; margin-bottom: 0.35rem; cursor: pointer; }
.footer-contact a:hover { color: var(--gold); }
.footer-bar { font-size: 0.68rem; color: var(--text-muted); text-align: center; letter-spacing: 0.04em; flex-shrink: 0; }

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 600;
  background: #25D366;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.3s !important; }

/* ================================================================
   MOBILE
   ================================================================ */
@media (max-width: 900px) {
  /* Keep fullpage snap on mobile — just adjust layout */
  .hero-logo { width: min(360px, 82vw); }
  .unit-grid { grid-template-columns: 1fr; }
  /* Mobile: image bleeds edge-to-edge, full card width */
  .uc-img {
    margin: -1rem -1rem 0.6rem -1rem;
    border-radius: 0;
    padding: 0;
    min-height: 220px;
    background: rgba(255,255,255,0.04);
  }
  .uc-img img { max-height: none; width: 100%; object-fit: contain; }
  .side-dots { display: none; }
  .hamburger { display: flex; }
  .mobile-enquire-btn { display: inline-block; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,6,15,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-b);
    flex-direction: column;
    padding: 1rem 1.5rem; gap: 0.1rem;
  }
  .nav-menu.open { display: flex; }
  .nav-cta { margin-left: 0; width: 100%; text-align: center; margin-top: 0.5rem; }
  .slide-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .unit-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 115px; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .rts-stats { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-specs { flex-wrap: wrap; gap: 0.4rem 0; }
  .spec-div { display: none; }
  .spec-item { padding: 0.2rem 1rem; }
  .upcoming-card { flex-direction: column; align-items: flex-start; }
  .facade-img { max-height: 45vh; }
  .slide-pad { padding-left: 1.25rem; padding-right: 1.25rem; }
  .about-cta-desktop { display: none; }
  .about-cta { display: inline-flex; }
  /* On mobile, hide the image column in RTS only */
  #rts .col-img { display: none; }
  #about .slide-grid,
  #rts .slide-grid { grid-template-columns: 1fr; }
  #about .col-img { justify-content: center; }
  #about .facade-img { max-height: 38vh; object-fit: contain; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 95px; }
  .cd-block { min-width: 54px; padding: 0.55rem 0.8rem; }
  .cd-num { font-size: 1.65rem; }
  .countdown { gap: 0.55rem; }
  .hero-btns { flex-direction: column; width: 100%; max-width: 280px; }
  .btn { padding: 0.78rem 1.5rem; }
  .rts-stats { grid-template-columns: 1fr; }
  .slide-pad { padding: 4.75rem 1.25rem 1.25rem; }
  .section-hd h2 { font-size: 1.45rem; }
  .cd-sep { font-size: 1.5rem; }
}
