/* ═══════════════════════════════════════════════════════
   PANCHAJANYAA — Dark Luxury Theme
   Inspired by Melange One / Vaishnodevi Estates
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --bg-deep:    #070e1a;
  --bg-dark:    #0c1420;
  --bg-card:    #111b28;
  --bg-surface: #162030;
  --gold:       #c8a24d;
  --gold-light: #f0d48a;
  --gold-dark:  #9a7b30;
  --white:      #f0ece4;
  --text:       #a0a8b4;
  --text-dim:   #6a7380;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Outfit', 'DM Sans', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
ul { list-style: none; }

/* ─── UTILITY ─── */
em { font-style: italic; font-family: var(--serif); color: var(--gold-light); }
.gold { color: var(--gold); }

/* Stone texture overlay shared by multiple sections */
.stone-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(40,50,60,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(40,50,60,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(20,30,40,0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 1000;
  transition: none;
  box-shadow: 0 0 10px rgba(200, 162, 77, 0.5);
}

/* ─── SCROLL ANIMATION BASE ─── */
[data-scroll] {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              clip-path 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-scroll].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: none;
}

/* Fade up (default) */
[data-scroll="fade-up"] { transform: translateY(60px); }

/* Fade down */
[data-scroll="fade-down"] { transform: translateY(-40px); }

/* Slide from left */
[data-scroll="slide-left"] { transform: translateX(-80px); }
[data-scroll="slide-left"].is-visible { transform: translateX(0); }

/* Slide from right */
[data-scroll="slide-right"] { transform: translateX(80px); }
[data-scroll="slide-right"].is-visible { transform: translateX(0); }

/* Scale fade */
[data-scroll="scale-fade"] { transform: scale(0.85); filter: blur(4px); }
[data-scroll="scale-fade"].is-visible { transform: scale(1); filter: blur(0); }

/* Clip reveal (wipe from left) */
[data-scroll="clip-left"] {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
}
[data-scroll="clip-left"].is-visible {
  clip-path: inset(0 0 0 0);
}

/* Clip reveal (wipe from bottom) */
[data-scroll="clip-up"] {
  clip-path: inset(100% 0 0 0);
  opacity: 1;
}
[data-scroll="clip-up"].is-visible {
  clip-path: inset(0 0 0 0);
}

/* Rotate in */
[data-scroll="rotate-in"] { transform: translateY(40px) rotate(3deg); }

/* Blur in */
[data-scroll="blur-in"] { filter: blur(12px); transform: translateY(20px); }

/* ─── STAGGER CHILDREN ─── */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays generated via CSS custom property */
[data-stagger].is-visible > *:nth-child(1)  { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2)  { transition-delay: 100ms; }
[data-stagger].is-visible > *:nth-child(3)  { transition-delay: 200ms; }
[data-stagger].is-visible > *:nth-child(4)  { transition-delay: 300ms; }
[data-stagger].is-visible > *:nth-child(5)  { transition-delay: 400ms; }
[data-stagger].is-visible > *:nth-child(6)  { transition-delay: 500ms; }
[data-stagger].is-visible > *:nth-child(7)  { transition-delay: 600ms; }
[data-stagger].is-visible > *:nth-child(8)  { transition-delay: 700ms; }
[data-stagger].is-visible > *:nth-child(9)  { transition-delay: 800ms; }
[data-stagger].is-visible > *:nth-child(10) { transition-delay: 900ms; }

/* Scale stagger variant */
[data-stagger="scale"] > * {
  transform: scale(0.8) translateY(30px);
}
[data-stagger="scale"].is-visible > * {
  transform: scale(1) translateY(0);
}

/* ─── SPLIT TEXT REVEAL ─── */
.split-reveal {
  overflow: hidden;
}
.split-reveal .split-line {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.split-reveal.is-visible .split-line {
  transform: translateY(0);
}
.split-reveal.is-visible .split-line:nth-child(2) { transition-delay: 120ms; }
.split-reveal.is-visible .split-line:nth-child(3) { transition-delay: 240ms; }

/* ─── COUNTER ANIMATION ─── */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ─── PARALLAX FLOAT ─── */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ─── DECORATIVE ELEMENTS ─── */
.deco-line {
  position: absolute;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  opacity: 0.3;
}
.deco-line.is-visible { width: 200px; }

.deco-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.deco-dot.is-visible { opacity: 0.25; }

.deco-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(200, 162, 77, 0.08);
  opacity: 0;
  transition: opacity 1.5s ease, transform 1.5s ease;
  transform: scale(0.5);
  z-index: 0;
  pointer-events: none;
}
.deco-ring.is-visible { opacity: 1; transform: scale(1); }

/* ─── SHIMMER EFFECT ─── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-border.is-visible .gold-frame::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), #fff, var(--gold-light), var(--gold)) border-box;
  background-size: 200% 100%;
  animation: shimmer 3s ease 0.5s;
}

/* ─── PULSE GLOW ─── */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(200, 162, 77, 0.15); }
  50%      { box-shadow: 0 0 35px rgba(200, 162, 77, 0.4); }
}
.pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }

/* ─── BORDER DRAW ─── */
@keyframes borderDraw {
  from { stroke-dashoffset: 251; }
  to   { stroke-dashoffset: 0; }
}
.amenity-circle svg circle,
.amenity-circle svg path,
.amenity-circle svg rect {
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
}
[data-stagger].is-visible .amenity-circle svg circle,
[data-stagger].is-visible .amenity-circle svg path,
[data-stagger].is-visible .amenity-circle svg rect {
  animation: borderDraw 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ─── FLOATING ANIMATION ─── */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes floatRotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}
.float-slow { animation: floatY 6s ease-in-out infinite; }
.float-medium { animation: floatY 4s ease-in-out infinite; }
.float-rotate { animation: floatRotate 8s ease-in-out infinite; }

/* ─── DIVIDER ANIMATION ─── */
.animated-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.animated-divider.is-visible { transform: scaleX(1); }

/* ─── BACKWARD COMPAT ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(200, 162, 77, 0.15);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(7, 14, 26, 0.85);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand-mark {
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.brand-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.brand-text small {
  display: block;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-top: 2px;
}

.header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.header nav a {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(240, 236, 228, 0.8);
  transition: color 0.3s;
  position: relative;
}
.header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.header nav a:hover { color: var(--gold-light); }
.header nav a:hover::after { width: 100%; }

.header-cta {
  margin-left: 32px;
  padding: 10px 24px;
  border: 1px solid var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.header-cta:hover {
  background: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 0 25px rgba(200, 162, 77, 0.35);
}

.menu { display: none; }


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(12,20,32,0) 0%, var(--bg-deep) 70%),
    radial-gradient(ellipse at 30% 30%, rgba(15,25,50,0.8) 0%, transparent 60%),
    linear-gradient(180deg, #070e1a 0%, #0f1a2e 50%, #070e1a 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(200, 162, 77, 0.04) 0%, transparent 50%);
}

.hero-swirl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: swirlFloat 12s ease-in-out infinite alternate;
}
@keyframes swirlFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(0.5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  padding: 120px 5vw 60px;
  gap: 30px;
}

.hero-left {
  text-align: left;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 40px;
}
.hero-location svg { color: var(--gold); }

.hero-brand-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-om {
  font-size: 64px;
  color: var(--gold-light);
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(200,162,77,0.3));
}
.hero-brand-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--white);
}
.hero-brand-badge small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text);
  margin-top: 4px;
}

.hero-center {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-building {
  max-height: 68vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.7));
  animation: buildingReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
@keyframes buildingReveal {
  from { opacity: 0; transform: translateY(60px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-right {
  text-align: left;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 400;
}
.hero h1 {
  font-family: var(--sans);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.7em;
  color: var(--gold-light);
}
.hero-specs {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 24px;
}
.hero-specs span {
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-left: 2px;
}

.hero-price {
  font-family: var(--sans);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}
.hero-price .rupee {
  font-family: var(--serif);
  color: var(--gold);
  margin-right: 4px;
}
.hero-price small {
  font-size: 0.35em;
  letter-spacing: 0.06em;
  vertical-align: middle;
  color: var(--text);
}
.hero-price .price-tag {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-top: 2px;
}

.hero-bottom {
  position: absolute;
  bottom: 20px;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.hero-rera {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.scroll-hint {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text);
  transition: color 0.3s;
}
.scroll-hint span {
  font-size: 18px;
  margin-left: 6px;
  animation: bounce 2s infinite;
  display: inline-block;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.scroll-hint:hover { color: var(--gold); }


/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */
.about {
  position: relative;
  background: var(--bg-dark);
  padding: 70px 8vw;
  overflow: hidden;
}

/* Vertical gold accent line on the left edge */
.about-accent-line {
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  z-index: 1;
}

.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5vw;
  align-items: center;
}

/* Eyebrow label */
.about-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Short gold divider under heading */
.about-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-bottom: 18px;
  border-radius: 1px;
}

.gold-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(200, 162, 77, 0.3);
  background: rgba(200, 162, 77, 0.03);
}
.gold-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.gold-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.construction-badge {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 14px;
}

.about-text h2 {
  font-family: var(--sans);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.about-text p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.about-text strong { color: var(--white); }

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(200, 162, 77, 0.4);
  padding-bottom: 6px;
  margin-top: 6px;
  transition: border-color 0.3s, gap 0.3s;
}
.text-link:hover { border-color: var(--gold); gap: 20px; }
.text-link span { font-size: 18px; }


/* ═══════════════════════════════════════════════════════
   KEY SPECS
   ═══════════════════════════════════════════════════════ */
.key-specs {
  position: relative;
  background: var(--bg-deep);
  padding: 60px 5vw;
  border-top: 1px solid rgba(200, 162, 77, 0.1);
  border-bottom: 1px solid rgba(200, 162, 77, 0.1);
  overflow: hidden;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.spec-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid rgba(200, 162, 77, 0.12);
  border-left: none;
  transition: background 0.3s, border-color 0.3s;
}
.spec-card:first-child { border-left: 1px solid rgba(200, 162, 77, 0.12); }
.spec-card:hover {
  background: rgba(200, 162, 77, 0.05);
  border-color: rgba(200, 162, 77, 0.3);
}
.spec-card strong {
  display: block;
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 8px;
}
.spec-card > span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════
   AMENITIES
   ═══════════════════════════════════════════════════════ */
.amenities {
  position: relative;
  background: var(--bg-dark);
  padding: 60px 8vw;
  overflow: hidden;
}
.amenities > * { position: relative; z-index: 1; }
.amenities .stone-texture { z-index: 0; }

.amenities-header {
  text-align: center;
  margin-bottom: 30px;
}
.amenities-header h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.amenities-header p {
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.amenity-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 35px;
}
.tab-btn {
  padding: 14px 32px;
  border: 1px solid rgba(240, 236, 228, 0.2);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
  transition: all 0.35s;
}
.tab-btn.active {
  background: rgba(200, 162, 77, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(200, 162, 77, 0.15);
}
.tab-btn:hover:not(.active) {
  border-color: rgba(200, 162, 77, 0.5);
  color: var(--gold-light);
}

.amenity-panel { display: none; }
.amenity-panel.active { display: block; animation: fadeInPanel 0.5s ease; }
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.amenity-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 50px;
  max-width: 900px;
  margin: 0 auto;
}
.amenity-item {
  text-align: center;
}
.amenity-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.amenity-circle svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}
.amenity-item:hover .amenity-circle {
  box-shadow: 0 0 25px rgba(200, 162, 77, 0.25);
  transform: scale(1.08);
}
.amenity-item span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--white);
}


/* ═══════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════ */
.gallery {
  position: relative;
  background: var(--bg-deep);
  padding: 60px 5vw 50px;
  overflow: hidden;
}
.gallery > * { position: relative; z-index: 1; }
.gallery .stone-texture { z-index: 0; }

.gallery-header {
  text-align: center;
  margin-bottom: 30px;
}
.gallery-header h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.gallery-header p {
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* Masonry Grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}
.masonry-col { display: flex; flex-direction: column; gap: 14px; }
.col-tall .gallery-card { height: 450px; }
.col-stack .gallery-card { flex: 1; min-height: 210px; }

.gallery-card {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(200, 162, 77, 0.12);
  pointer-events: none;
  transition: border-color 0.3s;
}
.gallery-card:hover::after {
  border-color: rgba(200, 162, 77, 0.35);
}

/* Carousel */
.gallery-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.gallery-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 10px 0;
}
.gallery-carousel::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 calc(33.333% - 11px);
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-slide:hover img { transform: scale(1.06); }

.carousel-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(240, 236, 228, 0.2);
  border-radius: 50%;
  font-size: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.3s;
  line-height: 1;
}
.carousel-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 162, 77, 0.08);
}


/* ═══════════════════════════════════════════════════════
   FLOOR PLANS
   ═══════════════════════════════════════════════════════ */
.plans {
  background: var(--bg-dark);
  padding: 60px 8vw;
}
.plans-header {
  text-align: center;
  margin-bottom: 30px;
}
.plans-header h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.plans-header p {
  color: var(--text);
  font-size: 15px;
}

.plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 162, 77, 0.1);
  padding: 48px;
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
}
.plan-card:hover { border-color: rgba(200, 162, 77, 0.3); transform: translateY(-4px); }
.plan-card.featured {
  background: linear-gradient(135deg, rgba(200, 162, 77, 0.15) 0%, rgba(200, 162, 77, 0.03) 100%);
  border-color: rgba(200, 162, 77, 0.35);
}
.plan-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text);
}
.plan-card h3 {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  margin: 30px 0 22px;
  color: var(--white);
}
.plan-divider {
  height: 1px;
  background: rgba(200, 162, 77, 0.2);
  margin-bottom: 22px;
}
.plan-area {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 14px;
}
.plan-area small {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.plan-desc {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
}
.plan-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s;
}
.plan-link:hover { gap: 20px; }
.plan-link span { font-size: 17px; }


/* ═══════════════════════════════════════════════════════
   LOCATION
   ═══════════════════════════════════════════════════════ */
.location {
  background: var(--bg-deep);
  padding: 60px 0 60px 8vw;
}
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text);
  display: flex;
  gap: 12px;
  align-items: center;
}
.section-tag span { color: var(--gold); }

.location-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.25;
  margin: 30px 0 24px;
}
.location-text p {
  color: var(--text);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 10px;
}
.location-text .address { color: var(--white); }
.location-text .address strong {
  font-size: 12px;
  letter-spacing: 0.12em;
}
.location-text ul { margin: 22px 0; }
.location-text li {
  font-size: 13px;
  color: var(--text);
  padding: 13px 0 13px 22px;
  border-top: 1px solid rgba(200, 162, 77, 0.12);
  position: relative;
}
.location-text li::before {
  content: '✦';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 10px;
}

.map-visual {
  height: 520px;
  position: relative;
  background: linear-gradient(135deg, #0f1a2a 0%, #14253a 100%);
  overflow: hidden;
  border-radius: 0;
}
.map-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(20,60,50,0.4) 0 3%, transparent 3.5%),
    radial-gradient(circle at 66% 28%, rgba(15,50,45,0.3) 0 6%, transparent 6.5%),
    radial-gradient(circle at 85% 65%, rgba(20,60,50,0.35) 0 5%, transparent 5.5%),
    repeating-linear-gradient(25deg, transparent 0 25px, rgba(200,162,77,0.04) 26px 27px);
}
.road {
  position: absolute;
  background: rgba(200, 162, 77, 0.15);
  box-shadow: 0 0 0 1px rgba(200, 162, 77, 0.06);
}
.r1 { width: 110%; height: 10px; top: 42%; left: -12%; transform: rotate(-29deg); }
.r2 { width: 88%; height: 6px; top: 64%; left: 19%; transform: rotate(41deg); }
.r3 { width: 75%; height: 5px; top: 20%; left: -10%; transform: rotate(72deg); }

.pin {
  position: absolute;
  top: 39%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.pin-dot {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 50%;
  color: var(--bg-deep);
  margin: 0 auto;
  font-size: 16px;
  box-shadow: 0 0 30px rgba(200, 162, 77, 0.35);
}
.pin b {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-top: 10px;
  color: var(--white);
}
.pin small {
  font-size: 8px;
  letter-spacing: 0.11em;
  color: var(--text);
}
.place {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(200, 162, 77, 0.5);
}
.p1 { left: 58%; top: 19%; }
.p2 { left: 17%; top: 68%; }
.p3 { left: 66%; top: 75%; }
.map-label {
  position: absolute;
  bottom: 20px;
  right: 28px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: rgba(200, 162, 77, 0.2);
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer {
  background: var(--bg-dark);
  padding: 60px 8vw 30px;
  border-top: 1px solid rgba(200, 162, 77, 0.1);
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
footer h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.25;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}
.contact p { color: var(--text); }
.phone {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold);
  margin: 14px 0;
  transition: text-shadow 0.3s;
}
.phone:hover { text-shadow: 0 0 20px rgba(200, 162, 77, 0.4); }

.button-gold {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  transition: box-shadow 0.3s, transform 0.3s;
}
.button-gold:hover {
  box-shadow: 0 8px 30px rgba(200, 162, 77, 0.35);
  transform: translateY(-2px);
}
.button-gold span { font-size: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(200, 162, 77, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 9px;
  letter-spacing: 0.1em;
}


/* ═══════════════════════════════════════════════════════
   INLINE ENQUIRY FORM (before footer)
   ═══════════════════════════════════════════════════════ */
.enquiry-section {
  background: var(--bg-deep);
  padding: 60px 8vw;
  border-top: 1px solid rgba(200, 162, 77, 0.1);
}
.enquiry-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.enquiry-inner h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 8px;
}
.enquiry-inner > p {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 28px;
}
.enquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.enquiry-form label {
  display: grid;
  gap: 6px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.enquiry-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(200, 162, 77, 0.25);
  background: var(--bg-card);
  color: var(--white);
  font: 400 15px var(--sans);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.enquiry-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 77, 0.12);
}
.enquiry-form .button-gold {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 4px;
  cursor: pointer;
}


/* ═══════════════════════════════════════════════════════
   ENQUIRY POPUP MODAL
   ═══════════════════════════════════════════════════════ */
.enquiry-popup {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
}
.enquiry-popup.is-open { display: grid; }
.enquiry-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.enquiry-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 40px 36px;
  background: var(--bg-card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(200, 162, 77, 0.15);
  animation: popupSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes popupSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.enquiry-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}
.enquiry-popup-close:hover { color: var(--gold); }
.enquiry-popup-dialog h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 4px;
}
.enquiry-popup-dialog > p {
  color: var(--text);
  font-size: 13px;
  margin-bottom: 22px;
}
.enquiry-popup-dialog .enquiry-form {
  grid-template-columns: 1fr;
}


/* ═══════════════════════════════════════════════════════
   FLOATING ENQUIRY BUTTON (bottom-right)
   ═══════════════════════════════════════════════════════ */
.enquiry-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(200, 162, 77, 0.4);
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fabPulse 3s ease-in-out infinite;
}
.enquiry-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(200, 162, 77, 0.5);
}
.enquiry-fab svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(200, 162, 77, 0.4); }
  50%      { box-shadow: 0 6px 24px rgba(200, 162, 77, 0.25), 0 0 0 8px rgba(200, 162, 77, 0.08); }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding-top: 130px;
  }
  .hero-left { text-align: center; }
  .hero-brand-badge { justify-content: center; }
  .hero-right { text-align: center; }
  .hero-building { max-height: 50vh; }
  .hero-swirl { display: none; }

  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-card:nth-child(3), .spec-card:nth-child(4) {
    border-top: 1px solid rgba(200, 162, 77, 0.12);
  }
}

@media (max-width: 800px) {
  .header { height: 70px; padding: 0 6vw; }
  .header nav, .header-cta { display: none; }
  .menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 8px;
    position: relative;
    z-index: 201;
  }
  .menu i {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
  }
  .menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile nav */
  .header nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 70px 0 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 199;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid rgba(200, 162, 77, 0.2);
  }
  .header nav.open a {
    font-size: 18px;
    letter-spacing: 0.2em;
    color: var(--white);
  }

  .about-inner, .location-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-accent-line { display: none; }
  .about, .amenities, .plans, footer { padding-left: 6vw; padding-right: 6vw; }
  .location { padding-left: 6vw; padding-right: 6vw; }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
  }
  .col-tall .gallery-card { height: 300px; }

  .carousel-slide { flex: 0 0 calc(50% - 8px); }

  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
  .plan-cards { grid-template-columns: 1fr; }

  .footer-main { flex-direction: column; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  .map-visual { height: 380px; }

  .hero-content { padding-top: 110px; }
  .hero-building { max-height: 45vh; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero-price { font-size: 28px; }
  .hero-building { max-height: 38vh; }

  .about, .amenities, .plans, .location, footer { padding-top: 50px; padding-bottom: 50px; }

  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-card { padding: 24px 12px; }
  .spec-card strong { font-size: 26px; }

  .gallery-masonry { grid-template-columns: 1fr; gap: 10px; }
  .col-tall .gallery-card { height: 260px; }
  .col-stack .gallery-card { min-height: 180px; }
  .carousel-slide { flex: 0 0 calc(85% - 8px); }
  .carousel-arrow { width: 36px; height: 36px; font-size: 22px; }

  .amenity-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .amenity-circle { width: 64px; height: 64px; }
  .amenity-circle svg { width: 28px; height: 28px; }

  .plan-card { padding: 32px 24px; }
  .plan-card h3 { font-size: 40px; }

  .hero-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
  .scroll-hint { display: none; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE NAVIGATION OVERLAY
   ═══════════════════════════════════════════════════════ */
@media (max-width: 800px) {
  .header nav.open {
    display: flex !important;
    position: fixed !important;
    inset: 70px 0 0 !important;
    min-height: calc(100dvh - 70px);
    padding: 48px 8vw 56px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg, #152d2a 0%, #243f3a 55%, #142723 100%) !important;
    box-shadow: 0 18px 40px rgba(16, 34, 31, 0.32);
    animation: mobileNavReveal 0.38s cubic-bezier(.22, 1, .36, 1) both;
  }

  .header nav.open::before,
  .header nav.open::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
  }
  .header nav.open::before {
    width: 390px;
    height: 390px;
    top: -160px;
    right: -170px;
    border: 1px solid rgba(218, 174, 95, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(218, 174, 95, 0.045), 0 0 0 74px rgba(218, 174, 95, 0.035);
  }
  .header nav.open::after {
    height: 1px;
    width: 88px;
    top: 32px;
    left: calc(50% - 44px);
    background: var(--gold);
  }
  .header nav.open a {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 330px);
    padding: 15px 18px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0;
    transform: translateY(16px);
    animation: mobileNavLinkIn 0.42s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  .header nav.open a:last-child { border-bottom: 0; }
  .header nav.open a:nth-child(1) { animation-delay: 0.12s; }
  .header nav.open a:nth-child(2) { animation-delay: 0.18s; }
  .header nav.open a:nth-child(3) { animation-delay: 0.24s; }
  .header nav.open a:nth-child(4) { animation-delay: 0.30s; }
  .header nav.open a:nth-child(5) { animation-delay: 0.36s; }
  .header nav.open a:nth-child(6) { animation-delay: 0.42s; }
  .header nav.open a::after { display: none; }
  .header nav.open a:hover,
  .header nav.open a:focus-visible { color: var(--gold-light) !important; }
}

@keyframes mobileNavReveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes mobileNavLinkIn {
  to { opacity: 1; transform: translateY(0); }
}
