/* ================================================================
   AZURE CREST RESIDENCES — GLOBAL STYLES
   Design System: Clean Minimal Luxury / Navy & Copper / Editorial
   Fonts: Cormorant Garamond (serif) + Montserrat (sans)
   ================================================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700&family=Lexend+Zetta:wght@100;300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Great+Vibes&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colours */
  --c-bg:        #ffffff;
  --c-bg2:       #faf8f9;
  --c-navy:       #4B2A3B; /* Deep Burgundy */
  --c-accent-red:  #8A4259;
  --c-gold:       #C1A058;
  --c-gold-lt:    #E5C595; /* Champagne for dark bg visibility */
  --c-copper:     #C1A058;
  --c-copper-dk:  #A68445;
  --c-white:      #ffffff;
  --c-cream:      #FDF9F3;
  --c-bg-beige:   #F8F5F2; 
  --c-bg3:        #ffffff;
  --c-bg4:        #fcf8fa;
  --c-text:       #2A1A23;
  --c-text-lt:    #666666;
  --c-muted:      #888888;
  --c-faint:      #dddddd;
  --c-border:     rgba(0,43,61,0.08); /* Navy-based border */
  --c-border-w:    rgba(255,255,255,0.2);
  --c-border2:    rgba(197,160,89,0.2); /* Gold-based border */
  --c-err:        #c07070;

  /* Typography */
  --ff-serif:  'Playfair Display', serif;
  --ff-sans:   'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-accent: 'Lexend Zetta', sans-serif;
  --ff-script: 'Great Vibes', cursive;

  /* Layout */
  --nav-h:       78px;
  --max-w:       1280px;
  --sp-xs:       8px;
  --sp-sm:       16px;
  --sp-md:       32px;
  --sp-lg:       64px;
  --sp-xl:       clamp(80px, 10vw, 140px);

  /* Effects */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --shadow:      0 12px 30px rgba(0,0,0,0.04);
  --shadow-xl:   0 20px 60px rgba(75, 42, 59, 0.08); /* Burgundy tinted shadow */
  --radius:      0; 
  --radius-xl:   0;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (min-width: 769px) {
  body { cursor: none; }
}
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 8px; height: 8px;
  background: var(--c-gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 1000001;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}
@media (max-width: 768px) {
  .cursor, .cursor-ring { display: none !important; }
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(200,165,106,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 1000000;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.4s, height 0.4s, border-color 0.3s;
}
.cursor.hover { width: 14px; height: 14px; }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--c-gold); }

/* ===== UTILITY CLASSES ===== */
.bg-navy { background-color: var(--c-navy); color: var(--c-white); }
.text-copper { color: var(--c-copper); }
.text-navy { color: var(--c-navy); }
.text-white { color: var(--c-white); }
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }
.section-pad { padding-block: var(--sp-xl); }
.text-gold { color: var(--c-copper); }
.text-cream { color: #fdfaf5; }
.text-muted { color: #888888; }
.text-accent-red { color: var(--c-accent-red); }

/* Wavy Background Pattern */
.bg-wavy {
  background-image: url('https://fortunebayresidences.com/wp-content/themes/fortune-bay/assets/images/wave-pattern.png');
  background-size: 800px auto;
  background-repeat: repeat;
}

.label {
  font-family: var(--ff-sans);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-copper);
}

.divider-h {
  width: 48px; height: 1px;
  background: var(--c-copper);
  margin-block: 20px;
}
.divider-h.center { margin-inline: auto; background: var(--c-copper); width: 60px; }

.section-header { margin-bottom: clamp(48px, 7vw, 90px); }
.section-header.center { text-align: center; }
.section-header h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 400; line-height: 1.05;
  color: var(--c-navy); margin-top: 18px;
  letter-spacing: -0.01em;
}
.section-header h2 em { font-style: italic; color: var(--c-accent-red); }
.section-header p.sub {
  margin-top: 18px; max-width: 600px;
  font-size: 0.9rem; color: var(--c-text); line-height: 1.85;
}
.section-header.center p.sub { margin-inline: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-sans); font-size: 0.68rem;
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 36px; border: none;
  transition: background 0.35s var(--ease), color 0.35s, transform 0.35s;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.06);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.btn:hover::before { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); }

.btn-primary { 
  background: var(--c-gold); color: var(--c-navy); 
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid var(--c-gold);
  font-weight: 600;
}
.btn-primary:hover { 
  background: var(--c-navy); color: var(--c-white); 
  border-color: var(--c-navy);
  box-shadow: var(--shadow-xl);
}

.btn-outline { 
  background: transparent; color: var(--c-white); 
  border: 2px solid var(--c-white); 
  font-weight: 600;
}
.btn-outline:hover { 
  background: var(--c-white); color: var(--c-navy); 
  border-color: var(--c-white);
}

.btn-ghost { background: transparent; color: var(--c-navy); border: 1px solid var(--c-border); }
.btn-ghost:hover { border-color: var(--c-copper); color: var(--c-copper); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}


/* Note: Location section styles moved to index.php for reliable loading */

/* Fortune Bay logo on map */
.loc-map-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(180,210,210,0.4), rgba(140,190,200,0.2));
  pointer-events: none;
}

/* RIGHT: Distances */
.loc-distances { display: flex; flex-direction: column; }
.loc-distances__label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e07a5f; /* Orange accent */
  font-weight: 600;
  margin-bottom: 12px;
}
.loc-distances__heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--c-navy);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}
.loc-distances__car {
  width: 32px; height: 32px;
  color: var(--c-copper);
  margin-bottom: 10px;
}
.loc-distances__car svg { width: 100%; height: 100%; }
.loc-distances__headers {
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 8px;
}
/* 2-column distance grid */
.loc-distances__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--c-border);
}
.loc-dist-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 8px 12px 0;
  border-bottom: 1px solid var(--c-border);
}
.loc-dist-item:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--c-border); }
.loc-dist-item__num {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--c-navy);
  font-weight: 400;
  flex-shrink: 0;
  min-width: 28px;
  text-align: right;
}
.loc-dist-item__name {
  font-family: var(--ff-sans);
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  color: #555;
  line-height: 1.3;
}

/* Mobile responsive */

/* Note: Mobile Location styles moved to index.php */
@media (max-width: 480px) {
  .loc-distances__grid { grid-template-columns: 1fr; }
  .loc-dist-item:nth-child(odd) { padding-right: 0; border-right: none; }
}


/* ===== NAVIGATION v2 (Reference Match) ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--nav-h);
  background: rgba(255,255,255,0.0); /* starts transparent */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
  background: rgba(75, 42, 59, 0.98); /* Deep Burgundy Glass */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.nav__inner-v2 {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
/* Logo */
.nav__logo-v2 {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav__logo-v2 img {
  height: clamp(32px, 5vw, 44px);
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
  filter: brightness(0) invert(1); /* Forces logo to be white */
}
.nav__logo-v2 .logo-dark {
  display: none;
}
/* Logo: Always show same white version */
.nav.scrolled .nav__logo-v2 .logo-light {
  display: block;
}
.nav.scrolled .nav__logo-v2 .logo-dark {
  display: none;
}

.footer-logo-img {
  height: clamp(40px, 6vw, 56px);
  width: auto;
  display: block;
  margin-bottom: 24px;
}
/* Footer logo stays white on dark navy background */
/* Centered nav links — desktop only */
.nav__links-v2 {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  list-style: none;
  margin: 0; padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 900px) {
  .nav__links-v2 { display: none; } /* hidden on mobile – use hamburger menu */
}
.nav__links-v2 a {
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--c-white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 3px;
}
.nav__links-v2 a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--c-copper); /* copper underline like reference */
  transition: right 0.35s var(--ease);
}
.nav__links-v2 a:hover,
.nav__links-v2 a.active { color: var(--c-white); }

/* Nav links & Hamburger stay white on burgundy background */
.nav.scrolled .nav__links-v2 a { color: var(--c-white); }
.nav.scrolled .hamburger span { background: var(--c-white); }

.nav__links-v2 a:hover::after,
.nav__links-v2 a.active::after { right: 0; }

/* Hamburger — two equal horizontal bars matching reference */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 810;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--c-white);
  transition: transform 0.35s var(--ease), opacity 0.25s;
  border-radius: 2px;
}
/* Both bars same width (reference style) */
.hamburger span:last-child { width: 28px; }
.hamburger.open span:first-child { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:last-child  { transform: translateY(-8px) rotate(-45deg); }

/* Mobile close button */
.mobile-nav__close {
  position: absolute;
  top: 28px; right: 28px;
  background: none; border: none;
  font-size: 1.6rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: color 0.3s;
}
.mobile-nav__close:hover { color: #fff; }

/* Nav links (legacy - for inner pages that might still use old nav) */
.nav__links { display: flex; gap: 2rem; }
/* ===== HERO v3 (Auto-Fade Slider) ===== */
.hero-v3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--c-navy);
}
.hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
  opacity: 0.6; /* Faded for text readability */
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 10, 15, 0.4) 0%, rgba(20, 10, 15, 0.8) 100%);
}
.hero__mask-text {
  position: absolute;
  inset: 0;
  background-image: url('https://fortunebayresidences.com/wp-content/themes/fortune-bay/assets/images/wave-pattern.png');
  background-size: 800px auto;
  opacity: 0.1;
  pointer-events: none;
  z-index: 2;
}
.hero-v3__content {
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.hero-branding__main {
  font-family: var(--ff-serif);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-white);
  opacity: 0.9;
}
.hero-branding__script {
  font-family: var(--ff-script);
  font-size: clamp(3rem, 10vw, 8rem);
  color: var(--c-gold);
  margin-top: -0.4em;
  margin-left: 1.5em;
  z-index: 2;
}
.hero-branding__sub {
  font-family: var(--ff-sans);
  font-size: clamp(0.7rem, 2vw, 1.2rem);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-top: 10px;
  opacity: 0.8;
}
.v-line {
  width: 1px;
  height: 80px;
  background: var(--c-gold);
  margin: 30px auto;
  opacity: 0.6;
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-family: var(--ff-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
}
.nav__links a:hover,
.nav__links a.active { color: var(--c-navy); font-weight: 500; }
.nav__links a:hover::after,
.nav__links a.active::after { right: 0; }
.nav__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav__enquire {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--c-copper); color: var(--c-white);
  padding: 10px 24px; transition: background 0.3s, transform 0.3s;
  white-space: nowrap; font-weight: 500;
}
.nav__enquire:hover { background: var(--c-copper-dk); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; padding: 4px; z-index: 600;
}
.hamburger span {
  display: block; width: 26px; height: 1px;
  background: var(--c-gold); transition: 0.4s var(--ease);
}
.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 NAV OVERLAY ===== */
.mobile-nav {
  position: fixed; inset: 0; z-index: 490;
  background: rgba(12,11,9,0.98);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--ff-serif); font-size: 1.6rem;
  font-weight: 400; color: var(--c-cream);
  letter-spacing: 0.04em; transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--c-gold); }
.mobile-nav__sub {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-muted);
  margin-top: 28px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  height: 52vh; min-height: 380px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  background: var(--c-navy);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 15, 0.85) 0%, rgba(20, 10, 15, 0.3) 100%);
  z-index: 1;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.page-hero__content {
  position: relative; z-index: 2;
  padding-bottom: clamp(40px, 8vh, 100px);
}
.page-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 400; line-height: 1.05;
  color: var(--c-white);
  margin-top: 15px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.page-hero h1 em { font-style: italic; color: var(--c-gold-lt); }
.breadcrumb {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.page-hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    128deg,
    transparent, transparent 50px,
    rgba(200,165,106,0.03) 50px, rgba(200,165,106,0.03) 51px
  );
}
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 60% 50%, rgba(200,165,106,0.06) 0%, transparent 70%);
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 400; line-height: 1.05;
  color: var(--c-cream); margin-top: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--c-gold-lt); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-muted);
}
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb span { color: var(--c-faint); }

/* ===== CARD SYSTEM ===== */
.card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border2);
  padding: clamp(28px, 4vw, 48px);
  transition: border-color 0.4s, background 0.4s, transform 0.4s;
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: var(--c-gold);
  background: #fff;
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  transform: scaleX(0); transition: transform 0.4s var(--ease);
}
.card:hover::before { transform: scaleX(1); }

/* ===== STAT STRIP ===== */
.stat-strip {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.stat-strip__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  text-align: center;
  border-right: 1px solid var(--c-border);
}
.stat-item:last-child { border-right: none; }
.stat-item__val {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--c-gold-lt); display: block;
}
.stat-item__label {
  font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-muted);
  margin-top: 6px; display: block;
}

/* ===== FORM STYLES ===== */
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--c-bg3); border: 1px solid var(--c-border);
  color: var(--c-text); padding: 14px 18px;
  font-family: var(--ff-sans); font-size: 0.85rem; font-weight: 300;
  outline: none; border-radius: var(--radius);
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none; appearance: none; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--c-gold-dk); background: var(--c-bg4); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select option { background: var(--c-bg3); }
.form-notice { font-size: 0.68rem; line-height: 1.6; color: var(--c-muted); }
.form-notice a { color: var(--c-gold-dk); text-decoration: underline; }
.form-success {
  background: rgba(200,165,106,0.08); border: 1px solid var(--c-gold-dk);
  padding: 24px; text-align: center;
  color: var(--c-gold-lt); font-size: 0.9rem;
}
.form-error {
  background: rgba(192,112,112,0.08); border: 1px solid rgba(192,112,112,0.3);
  padding: 12px 16px; color: var(--c-err); font-size: 0.8rem;
  border-radius: var(--radius);
}

/* ===== HERO v3 (Multi-Image Grid) ===== */
.hero-v3 {
  background-color: var(--c-bg);
  min-height: auto;
  padding-bottom: clamp(60px, 10vw, 100px);
}
.hero-grid-v3 {
  display: flex;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto 60px;
  height: clamp(400px, 50vw, 650px);
}
.hero-grid-v3__left {
  flex: 1.2;
}
.hero-grid-v3__right {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-grid-v3__top,
.hero-grid-v3__bottom {
  flex: 1;
}
.hero-grid-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 8vw, 100px);
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
  max-width: 1000px;
  margin: 0 auto;
}
.stat-item span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.stat-item strong {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--c-navy);
  font-weight: 500;
}

/* Arched Image Utility */
.arched-img {
  border-radius: 120px 120px 0 0; /* Signature arched top */
  overflow: hidden;
}
.arched-img-cont {
  border-radius: 160px 160px 0 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.arched-img-cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.arched-img-cont:hover img { transform: scale(1.05); }

/* Layout Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.bg-beige { background-color: var(--c-bg-beige); }
.text-center { text-align: center; }
.mb-60 { margin-bottom: 60px; }

/* Amenities Compact */
.amenities-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background-color: var(--c-border);
  border: 1px solid var(--c-border);
}
.amenity-item-v3 {
  background-color: var(--c-bg);
  padding: 40px 20px;
  text-align: center;
  transition: background 0.4s;
}
.amenity-item-v3:hover { background-color: #fff; box-shadow: inset 0 0 40px rgba(0,0,0,0.02); }
.amenity-item-v3 .icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.amenity-item-v3 h3 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-navy); }

/* Distances v3 */
.distances-v3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.distance-row {
  display: flex;
  align-items: center;
  gap: 15px;
}
.distance-row .place { font-size: 0.9rem; color: var(--c-navy); flex-shrink: 0; }
.distance-row .line { flex-grow: 1; height: 1px; background: dotted var(--c-border); border-bottom: 1px dotted var(--c-muted); opacity: 0.3; }
.distance-row .time { font-family: var(--ff-serif); font-style: italic; color: var(--c-accent-red); font-size: 1.1rem; }

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-grid-v3 { flex-direction: column; height: auto; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid-v3__left, .hero-grid-v3__right { flex: none; height: 400px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }

/* ===== FOOTER ===== */
.footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(30px, 5vw, 70px);
  margin-bottom: 64px;
}
.footer__brand-name {
  font-family: var(--ff-serif); font-size: 1.3rem;
  color: var(--c-cream); letter-spacing: 0.06em; margin-bottom: 6px;
}
.footer__brand-tag {
  font-size: 0.58rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: 20px; display: block;
}
.footer__brand p { font-size: 0.8rem; line-height: 1.75; color: var(--c-muted); max-width: 260px; }
.footer__col-title {
  font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--c-gold); margin-bottom: 20px; font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul li a {
  font-size: 0.8rem; color: var(--c-muted); transition: color 0.3s;
}
.footer__col ul li a:hover { color: var(--c-cream); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--c-border2);
  font-size: 0.7rem; color: var(--c-faint);
}
.footer__bottom a { color: var(--c-gold-dk); transition: color 0.3s; }
.footer__bottom a:hover { color: var(--c-gold); }

/* ===== FAB CLUSTER ===== */
.fab-cluster {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 400; display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.fab {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; border: none;
  transition: transform 0.3s, box-shadow 0.3s; text-decoration: none;
}
.fab:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(0,0,0,0.5); }
.fab--wa   { background: #25D366; color: #fff; }
.fab--tel  { background: var(--c-gold); color: var(--c-bg); }
.fab--mail { background: var(--c-bg3); border: 1px solid var(--c-border); color: var(--c-gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  .nav__links, .nav__enquire { display: none; }
  .hamburger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .stat-strip__grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border); }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .fab-cluster { bottom: 16px; right: 16px; }
}

/* ===== FOOTER v2 (Universal) ===== */
.footer-v2 {
  background: var(--c-navy);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 0 0;
  position: relative;
  overflow: hidden;
}
.footer-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://fortunebayresidences.com/wp-content/themes/fortune-bay/assets/images/wave-pattern.png');
  background-size: 800px auto;
  opacity: 0.05;
  pointer-events: none;
}
.footer-v2__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: flex-start;
  gap: clamp(30px, 5vw, 100px);
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
}
.footer-logo-img {
  height: clamp(40px, 6vw, 56px);
  width: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1); /* Force white for visibility */
}
.footer-v2__col-title {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 36px;
}
.footer-v2__col p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}
.footer-v2__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-v2__col ul a {
  font-family: var(--ff-sans);
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}
.footer-v2__col ul a:hover {
  color: #fff;
  transform: translateX(5px);
}
.footer-v2__btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-v2__btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 60px;
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  transition: all 0.3s;
}
.footer-v2__btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.footer-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 991px) {
  .footer-v2__grid { grid-template-columns: 1fr 1fr; }
}
/* ===== LEGAL / CONTENT PAGES ===== */
.legal-page { background: var(--c-bg); }
.legal-container { 
  max-width: 900px; margin-inline: auto; 
  padding: clamp(60px, 8vw, 120px) 24px;
}
.legal-content h3 { 
  font-family: var(--ff-serif); font-size: 1.6rem; 
  color: var(--c-navy); margin: 48px 0 20px; 
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { 
  font-size: 0.95rem; line-height: 1.85; 
  color: var(--c-text); margin-bottom: 24px; 
}
.legal-content ul { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.legal-content li { font-size: 0.95rem; color: var(--c-text); line-height: 1.6; }

.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { 
  font-size: 0.65rem; color: rgba(255,255,255,0.4); 
  letter-spacing: 0.1em; transition: color 0.3s; 
}
.footer-legal-links a:hover { color: var(--c-gold); }


/* ===== REGULATORY SECTION (Above Footer) ===== */
.regulatory-section {
  background: var(--c-bg-beige);
  border-top: 1px solid var(--c-border2);
  padding: 40px 0; /* Reduced padding */
  position: relative;
}

.regulatory-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; /* Smaller line */
  height: 1px;
  background: var(--c-gold);
  opacity: 0.2;
}

.footer-disclaimer-box {
  max-width: 1100px; /* Slightly wider to keep lines short in height */
  margin: 0 auto;
  text-align: center;
}

.disclaimer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px; /* Tighter spacing */
}

.disclaimer-header svg {
  width: 14px;
  height: 14px;
  color: var(--c-gold);
}

.disclaimer-header strong {
  font-family: var(--ff-sans);
  font-size: 0.62rem; /* Smaller heading */
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-navy);
  opacity: 0.6;
}

.footer-disclaimer-box p {
  font-family: var(--ff-sans);
  font-size: 0.72rem; /* Smaller font size */
  line-height: 1.6; /* Tighter line height */
  font-style: italic;
  font-weight: 300;
  margin: 0;
  color: #777;
  max-width: 1000px;
  margin-inline: auto;
}

/* ===== FLORAL BACKGROUND DECORATION ===== */
.footer-v2 {
  position: relative;
  background-color: var(--c-navy);
  overflow: hidden;
}

.footer-v2::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('../img/floral_pattern.png') no-repeat bottom right;
  background-size: contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.footer-v2 .container {
  position: relative;
  z-index: 2;
}

.bg-floral {
  position: relative;
}

.bg-floral::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: url('../img/floral_pattern.png') no-repeat bottom left;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}
