/* ============================================================
   THE APEX CLUB — style.css
   Brand: Deep Navy · Gold · White
   Typography: Montserrat (display) · Inter (sans)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0D1448;
  --navy-deep:  #080F30;
  --navy-mid:   #131A5A;
  --gold:       #C9A84C;
  --gold-lt:    #D9BC6A;
  --gold-pale:  rgba(201,168,76,0.12);
  --white:      #FFFFFF;
  --off:        #F5F1EC;
  --cream:      #EDE8DF;
  --blue-grey:  #AEBDCA;
  --slate:      #4D5D6A;
  --tan:        #B09060;
  --body-clr:   #4D5D6A;
  --light-txt:  #8A9BAA;
  --bdr-gold:   rgba(176,144,96,0.25);
  --bdr-light:  rgba(255,255,255,0.1);

  --serif:  'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:   cubic-bezier(0.25, 0.1, 0.25, 1);

  --nav-h:    90px;
  --sp:       120px;
  --max-w:    1280px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--navy-deep);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }


/* ================================================================
   NAVIGATION
   ================================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background 0.45s var(--ease), box-shadow 0.45s;
}
#navbar.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 2px 40px rgba(0,0,0,0.35);
}

.nav-container {
  width: 100%;
  padding: 0 40px 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 75px;
  width: auto;
}

.nav-wordmark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-lt); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold-lt) !important;
  transform: translateY(-1px) !important;
}

.nav-scholarship {
  border: 1.5px solid rgba(255,255,255,0.45) !important;
  color: rgba(255,255,255,0.85) !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  border-radius: 2px !important;
  transition: border-color 0.2s, color 0.2s, transform 0.2s !important;
}
.nav-scholarship:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 32px;
  width: 100%;
}
.mobile-nav-link {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--gold); }
.mobile-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  margin-top: 8px;
}

.mobile-scholarship {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8) !important;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 2px;
  margin-top: 6px;
}

.mobile-nav-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-nav-close:hover { color: var(--white); }


/* ================================================================
   HERO
   ================================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slides {
  position: absolute;
  inset: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  animation: heroZoom 7s ease-out both;
  animation-play-state: paused;
}
.hero-slide.active {
  opacity: 1;
  animation-play-state: running;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-slide-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,15,48,0.60) 0%,
    rgba(8,15,48,0.18) 18%,
    rgba(8,15,48,0.25) 45%,
    rgba(8,15,48,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 820px;
  padding: 0 40px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 26px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.eyebrow-line {
  display: inline-block;
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 82px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.65), 0 4px 48px rgba(0,0,0,0.35);
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 10px rgba(0,0,0,0.75);
  margin-bottom: 30px;
}

.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}
.rule-line { width: 56px; height: 1px; background: var(--gold); opacity: 0.65; }
.rule-gem  { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  animation: floatScroll 2.4s ease-in-out infinite;
}
.scroll-bar {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes floatScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,154,60,0.38);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(22,32,56,0.28);
}
.btn-outline-dark:hover {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy-deep);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,21,37,0.4);
}
.full-width { width: 100%; }


/* ================================================================
   STATS BAR
   ================================================================ */
#stats {
  background: var(--navy-deep);
  padding: 52px 40px;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 8px 20px;
}
.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  margin-bottom: 7px;
}
.stat-val {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}
.stat-pre {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 26px);
  color: var(--gold);
  font-weight: 300;
}
.stat-unit {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
}
.stat-lbl {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.stat-from-top {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.stat-sep {
  width: 1px;
  height: 56px;
  background: var(--blue-grey);
  opacity: 0.2;
  flex-shrink: 0;
}


/* ================================================================
   SECTIONS — shared
   ================================================================ */
.sec { padding: var(--sp) 0; }
.sec-light { background: var(--off); }
.sec-off   { background: var(--cream); }
.sec-dark  { background: var(--navy-deep); color: var(--white); }
.sec-navy  { background: var(--navy); color: var(--white); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.sec-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.sec-label-light { color: rgba(196,154,60,0.75); }

.sec-heading {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.sec-heading em { font-style: italic; font-weight: 300; color: var(--gold-lt); }
.sec-heading-light { color: var(--white); }
.sec-heading-light em { color: var(--gold-lt); }

.sec-body {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--body-clr);
  max-width: 500px;
  margin-bottom: 18px;
}

.gold-bar {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 30px;
}
.gold-bar-center { margin: 0 auto 48px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
  transition: gap 0.22s;
}
.text-link-light { color: var(--gold-lt); }
.text-link:hover { gap: 12px; }
.arrow { display: inline-block; }

.sec-head-center { text-align: center; margin-bottom: 60px; }


/* ================================================================
   THE VILLAGE
   ================================================================ */
.village-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.img-frame {
  position: relative;
}
.img-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}
.img-corner-accent {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 55%;
  height: 55%;
  border: 1.5px solid var(--gold);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}


/* ================================================================
   LIVE STUDY PLAY
   ================================================================ */
.pillars-head {
  text-align: center;
  margin-bottom: 60px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pillar {
  text-align: center;
  padding: 48px 36px;
  border: 1px solid var(--bdr-light);
  transition: border-color 0.3s, transform 0.3s;
}
.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  color: var(--gold);
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.pillar p {
  font-size: 14px;
  line-height: 1.82;
  color: rgba(255,255,255,0.5);
}


/* ================================================================
   THE HOMES
   ================================================================ */
.homes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 36px;
}

.home-card {
  background: var(--white);
  border: 1px solid rgba(22,32,56,0.1);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 56px rgba(22,32,56,0.1);
  border-color: var(--gold);
}
.home-card-hero {
  background: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-10px);
  box-shadow: 0 22px 60px rgba(13,21,37,0.22);
}
.home-card-hero:hover { transform: translateY(-16px); }

.home-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(22,32,56,0.1);
}
.home-card-hero .home-card-top { border-bottom-color: rgba(255,255,255,0.1); }

.home-type {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
}
.home-card-hero .home-type { color: var(--white); }

.home-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 10px;
}

.home-specs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  margin-bottom: 28px;
}
.spec-row { display: flex; flex-direction: column; gap: 3px; }
.spec-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-txt);
}
.home-card-hero .spec-lbl { color: rgba(255,255,255,0.38); }
.spec-val {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.4;
}
.home-card-hero .spec-val { color: rgba(255,255,255,0.82); }

.home-price {
  margin-bottom: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(22,32,56,0.08);
}
.home-card-hero .home-price { border-top-color: rgba(255,255,255,0.1); }

.price-from {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-txt);
  margin-bottom: 4px;
}
.home-card-hero .price-from { color: rgba(255,255,255,0.38); }

.price-amt {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}
.home-card-hero .price-amt { color: var(--gold-lt); }
.price-mo {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--light-txt);
}
.home-card-hero .price-mo { color: rgba(255,255,255,0.38); }

.homes-includes {
  text-align: center;
  padding: 22px 28px;
  border: 1px solid var(--bdr-gold);
  background: var(--gold-pale);
}
.includes-label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.includes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--body-clr);
}
.includes-list .dot { color: var(--gold); }


/* ================================================================
   HERO MOMENT — cinematic bridge below hero
   ================================================================ */
.hero-moment {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-moment-img-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-moment.in .hero-moment-img-wrap {
  clip-path: inset(0 0 0% 0);
}

.hero-moment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.07);
  transition: transform 1.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-moment.in .hero-moment-img {
  transform: scale(1);
}

.hero-moment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 45%,
    rgba(8,15,48,0.35) 70%,
    rgba(8,15,48,0.8) 88%,
    #080F30 100%
  );
  z-index: 1;
}

.hero-moment-copy {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.9s 0.6s ease;
}

.hero-moment.in .hero-moment-copy {
  opacity: 1;
}

.hero-moment-copy .sec-label {
  margin-bottom: 12px;
}

.hero-moment-text {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 32px rgba(0,0,0,0.5);
}

.hero-moment-text em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-lt);
}


@media (max-width: 768px) {
  .hero-moment { height: 55vh; min-height: 360px; }
  .hero-moment-copy { bottom: 60px; white-space: normal; padding: 0 24px; }
  .hero-moment-fade { height: 120px; }
}

@media (max-width: 520px) {
  .hero-moment { height: 50vh; min-height: 300px; }
  .hero-moment-copy { bottom: 48px; }
}


/* ================================================================
   AMENITIES
   ================================================================ */
.amenities-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}
/* --- Amenities Strip (hero bottom overlay) --- */
.amenities-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  background: rgba(8,15,48,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,168,76,0.15);
}
.ticker-stat {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  border-left: 1px solid rgba(201,168,76,0.3);
  border-right: none;
}
.ticker-item.ticker-stat {
  padding: 8px 22px;
}
.ts-val {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.ticker-item.ticker-stat span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker-track[data-dir="left"]  { animation: ticker-left  38s linear infinite; }
.ticker-track[data-dir="right"] { animation: ticker-right 38s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-set { display: flex; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 32px;
  border: 1px solid rgba(201,168,76,0.12);
  white-space: nowrap;
  transition: background 0.28s, border-color 0.28s;
  cursor: default;
}
.ticker-item:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.4);
}
.am-icon {
  width: 30px;
  height: 30px;
  color: var(--gold);
  flex-shrink: 0;
}
.am-icon svg { width: 100%; height: 100%; }
.ticker-item span {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@keyframes ticker-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ticker-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}


/* ================================================================
   LOCATION
   ================================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.location-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 28px;
}
.location-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--body-clr);
}
.loc-bullet {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.loc-img-wrap {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.loc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.loc-img-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
}
.loc-pin {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pin-pulse {
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 7px rgba(196,154,60,0.28);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(196,154,60,0.28); }
  50%       { box-shadow: 0 0 0 14px rgba(196,154,60,0.08); }
}
.pin-label {
  background: var(--navy-deep);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  white-space: nowrap;
}
.loc-address {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.5);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.addr-dot { color: var(--gold); }


/* ================================================================
   REGISTER CTA SECTION
   ================================================================ */
.cta-inner {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
}
.cta-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.cta-heading {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.cta-heading em { font-style: italic; font-weight: 300; color: var(--gold-lt); }

.cta-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 44px;
}
.cta-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.cta-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-no {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.step-txt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  max-width: 90px;
  text-align: center;
  line-height: 1.4;
}
.step-arr {
  color: rgba(255,255,255,0.18);
  font-size: 18px;
  padding-bottom: 18px;
}


/* ================================================================
   FOOTER
   ================================================================ */
#footer {
  background: var(--navy-deep);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo {
  height: 90px;
  width: auto;
  margin-bottom: 14px;
}
.footer-sub {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.38);
  margin-bottom: 22px;
}
.footer-socials { display: flex; gap: 12px; }
.soc {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: border-color 0.2s, color 0.2s;
}
.soc:hover { border-color: var(--gold); color: var(--gold); }
.soc svg { width: 17px; height: 17px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.fn-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fn-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.fn-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  transition: color 0.2s;
  line-height: 1;
}
.fn-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy  { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-credit { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-credit strong { color: rgba(255,255,255,0.42); font-weight: 500; }


/* ================================================================
   FLOATING CTA
   ================================================================ */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 990;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 22px;
  box-shadow: 0 4px 22px rgba(196,154,60,0.42);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease), background 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-cta:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196,154,60,0.52);
}


/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.anim-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.anim-fade-up.in,
.anim-fade-right.in {
  opacity: 1;
  transform: translate(0);
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  :root { --sp: 88px; }

  .village-grid,
  .location-grid { grid-template-columns: 1fr; gap: 48px; }

  .village-img { order: -1; }


  .amenities-head { flex-direction: column; align-items: flex-start; gap: 22px; }

  .pillars-grid { grid-template-columns: 1fr; gap: 2px; }
  .pillar { text-align: left; display: grid; grid-template-columns: 52px 1fr; gap: 24px 24px; align-items: start; }
  .pillar h3 { margin-bottom: 6px; }
  .pillar-icon { margin: 4px 0 0; }
  .pillar p { grid-column: 2; margin-top: -10px; }

  .homes-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto 36px; }
  .home-card-hero { transform: none; }
  .home-card-hero:hover { transform: translateY(-5px); }

  .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; --sp: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-container { padding: 0 24px; }
  .logo-img { height: 52px; }
  .container { padding: 0 24px; }
  .hero-content { padding: 0 24px; }

  #stats { padding: 0; }
  .stats-inner { flex-wrap: wrap; }
  .stat { flex: 0 0 50%; padding: 28px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-sep { display: none; }


  .cta-steps { flex-direction: column; gap: 20px; }
  .step-arr { transform: rotate(90deg); padding: 0; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .floating-cta { bottom: 20px; right: 20px; padding: 12px 18px; font-size: 10px; }

  .img-frame img { height: 340px; }
  .loc-img-wrap { height: 320px; }
}

@media (max-width: 520px) {

  .footer-nav { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 9px; }
  .stat { flex: 0 0 100%; }
}

/* ---- PILLAR CARDS AS LINKS ---- */
a.pillar-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
a.pillar-link:hover { transform: translateY(-4px); }
a.pillar-link:hover .pillar-icon { background: rgba(176,144,96,0.12); border-color: var(--gold); }

.pillar-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
a.pillar-link:hover .pillar-cta { opacity: 1; transform: translateX(0); }

/* ---- CTA FINE PRINT ---- */
.cta-fine-print {
  margin-top: 20px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ---- DEVELOPER SIMPLE ---- */
.ab-developer-simple {
  text-align: center;
  padding: 60px 0;
}
.ab-developer-simple .sec-label { margin-bottom: 8px; }
.ab-developer-simple .sec-body { color: var(--body-clr); }
.ab-developer-simple .ab-dev-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.ab-developer-simple .ab-dev-logo {
  width: 72px;
  height: 72px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.ab-developer-simple .ab-dev-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}


/* ---- Home Configuration Tagline ---- */
.hm-tagline {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  margin: 4px 0 18px;
  line-height: 1.3;
}


/* ============================================================
   COUNTDOWN — Frosted card, hero top-right
   ============================================================ */
.hero-countdown {
  position: absolute;
  top: calc(var(--nav-h) + 28px);
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 28px 16px;
  background: rgba(8, 15, 48, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  opacity: 0;
  transform: translateX(24px);
  animation:
    hcd-enter 0.9s 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    hcd-glow  4s   3s ease-in-out infinite;
}

@keyframes hcd-enter {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hcd-glow {
  0%,  100% { border-color: rgba(201,168,76,0.35); box-shadow: none; }
  50%        { border-color: rgba(201,168,76,0.75); box-shadow: 0 0 24px 4px rgba(201,168,76,0.12); }
}

/* ---- WhatsApp floating chat button ---- */
.wa-float {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  opacity: 0;
  transform: scale(0.7) translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.25s;
  pointer-events: none;
}
.wa-float.wa-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.wa-float:hover {
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
  transform: scale(1.08) translateY(0);
}
.wa-float i {
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .wa-float {
    bottom: 86px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
  .wa-float i { font-size: 1.5rem; }
}

.hcd-eyebrow {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.hcd-units {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hcd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hcd-num {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  min-width: 2.2ch;
  text-align: center;
  display: block;
}

.hcd-lbl {
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hcd-colon {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: rgba(201, 168, 76, 0.45);
  line-height: 1;
  margin-bottom: 14px;
}

.hcd-flip {
  animation: hcd-flip-anim 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hcd-flip-anim {
  0%   { transform: translateY(-7px); opacity: 0.2; }
  100% { transform: translateY(0);    opacity: 1; }
}

@media (max-width: 768px) {
  .hero-countdown {
    top: calc(var(--nav-h) + 14px);
    right: 20px;
    padding: 10px 16px 8px;
    gap: 6px;
  }
  .hcd-num { font-size: 1rem; }
  .hcd-colon { font-size: 0.9rem; margin-bottom: 10px; }
  .hcd-lbl { font-size: 6px; }
  .hcd-eyebrow { font-size: 7px; }
}

@media (max-width: 520px) {
  .hero-countdown {
    right: 12px;
    left: 12px;
    top: calc(var(--nav-h) + 10px);
    padding: 8px 12px 6px;
    width: auto;
  }
  .hcd-units { justify-content: center; gap: 4px; }
  .hcd-num { font-size: 0.95rem; }
}


/* ============================================================
   HERO SUB — Word fly-in + glow pulse
   ============================================================ */
@keyframes hs-from-left {
  from { opacity: 0; transform: translateX(-70px) rotate(-6deg); }
  to   { opacity: 1; transform: translateX(0) rotate(0deg); }
}
@keyframes hs-from-right {
  from { opacity: 0; transform: translateX(70px) rotate(6deg); }
  to   { opacity: 1; transform: translateX(0) rotate(0deg); }
}
@keyframes hs-from-top {
  from { opacity: 0; transform: translateY(-55px) rotate(4deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}
@keyframes hs-from-bottom {
  from { opacity: 0; transform: translateY(50px) rotate(-4deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0deg); }
}
@keyframes hs-pop {
  from { opacity: 0; transform: scale(0.3) rotate(-10deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes hs-glow-pulse {
  0%, 100% { text-shadow: none; }
  50% { text-shadow: 0 0 20px rgba(201,168,76,0.6), 0 0 50px rgba(201,168,76,0.2); }
}

.hero-sub-words {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: hs-glow-pulse 3.5s ease-in-out 2.4s infinite;
}

.hero-sub-words .hs-word {
  display: inline-block;
  opacity: 0;
  animation-duration: 0.85s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
}

.hero-sub-words .hs-word:nth-child(1) { animation-name: hs-from-left;   animation-delay: 0.5s; }
.hero-sub-words .hs-word:nth-child(2) { animation-name: hs-from-top;    animation-delay: 0.65s; }
.hero-sub-words .hs-word:nth-child(3) { animation-name: hs-pop;         animation-delay: 0.82s; }
.hero-sub-words .hs-word:nth-child(4) { animation-name: hs-from-bottom; animation-delay: 0.98s; }
.hero-sub-words .hs-word:nth-child(5) { animation-name: hs-from-right;  animation-delay: 1.14s; }


