/* =============================================
   ZAX PROPERTY — Malaysian Property Agent
   Dark premium + warm gold + Malaysian warmth
   ============================================= */

:root {
  --black:     #F2E8D0;
  --dark:      #E8D8B0;
  --dark2:     #DDCA95;
  --dark3:     #D2BB7C;
  --dark4:     #C6AC65;
  --border:    rgba(120,70,0,0.14);
  --border2:   rgba(212,165,0,0.45);
  --gold:      #D4A500;
  --gold2:     #FFD100;
  --gold3:     rgba(212,165,0,0.15);
  --green:     #25D366;
  --red:       #e84545;
  --white:     #1E1004;
  --muted:     #785820;
  --muted2:    #B09840;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
  --radius:    8px;
  --radius2:   12px;
  --t:         0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow:    0 8px 32px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
input, select, button { font-family: var(--sans); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.gold { color: var(--gold); }

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ---- TYPOGRAPHY ---- */
/* Base = light sections. Dark sections override this to bright gold. */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7A4F03;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #1E1004;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 20px rgba(212,165,0,0.25);
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,165,0,0.35);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  transition: background var(--t), transform var(--t);
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }

.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}
.btn-wa-large:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.4);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 1.1rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  transition: border-color var(--t), color var(--t);
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--t), box-shadow var(--t);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  animation: none;
}
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,0.65); }
}

/* =============================================
   NAV
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(22,12,4,0.80);
  backdrop-filter: blur(10px);
  transition: background var(--t), backdrop-filter var(--t), box-shadow var(--t);
}
#navbar.scrolled {
  background: rgba(22,12,4,0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(212,165,0,0.15);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-svg {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
/* Navbar is always dark, so the wordmark must be light —
   var(--white) resolves to dark espresso in this theme. */
.logo-brand {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #FFF6DF;
  text-shadow:
    0 0 14px rgba(255,209,0,0.45),
    0 1px 2px rgba(0,0,0,0.55);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.logo:hover .logo-brand {
  color: #FFFFFF;
  text-shadow:
    0 0 20px rgba(255,209,0,0.70),
    0 1px 2px rgba(0,0,0,0.55);
}
.logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #E8C55A;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #C4A870;
  letter-spacing: 0.04em;
  transition: color var(--t);
}
.nav-links a:hover,
.nav-links a.is-active { color: #F5EAD0; }
.nav-links a.is-active { font-weight: 600; }
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--green);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: background var(--t), transform var(--t);
}
.btn-nav svg { width: 12px; height: 12px; }
.btn-nav:hover { background: #1ebe5d; transform: translateY(-1px); }
/* Menu button — pilled to match the language switcher beside it.
   Bars must be light: var(--white) is #1E1004 in this palette,
   which was invisible against the dark navbar. */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(212,165,0,0.12);
  border: 1px solid rgba(212,165,0,0.42);
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.hamburger:hover,
.hamburger:focus-visible {
  background: rgba(212,165,0,0.22);
  border-color: var(--gold2);
}
.hamburger:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
.hamburger:active { transform: scale(0.94); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #F7EEDA;
  box-shadow: 0 0 6px rgba(255,209,0,0.35);
  transition: transform 0.35s cubic-bezier(0.16,1,0.30,1), opacity 0.25s ease, background 0.3s ease;
}
.hamburger:hover span { background: #FFF6DF; }

/* becomes an X while the menu is open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(8,7,6,0.98);
  padding: 1.5rem 2rem 2rem;
  gap: 1.25rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.btn-mobile-wa {
  margin-top: 0.5rem;
  background: var(--green) !important;
  color: #fff !important;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  position: absolute;
  inset: 0;
  background:
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero.loaded .hero-image { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(18,9,3,0.88) 0%,
    rgba(18,9,3,0.60) 50%,
    rgba(18,9,3,0.30) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-left {
  flex: 1 1 0;
  min-width: 0;
}
.hero-right {
  flex: 0 0 42%;
  max-width: 480px;
}
.hero-video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212,165,0,0.25),
    0 20px 60px rgba(0,0,0,0.55),
    0 0 40px rgba(212,165,0,0.08);
  aspect-ratio: 9/16;
  max-height: 72vh;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(212,165,0,0.18);
  pointer-events: none;
}

/* ---- Portfolio link sitting under the hero video ----
   Gold edge is a gradient, not a flat stroke: the two-layer
   padding-box / border-box trick keeps the interior glass. */
.hero-portfolio-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.05rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background:
    linear-gradient(148deg, rgba(38,22,6,0.82), rgba(24,13,3,0.88)) padding-box,
    linear-gradient(135deg, rgba(255,233,163,0.85), rgba(212,165,0,0.42) 45%, rgba(120,80,0,0.55)) border-box;
  box-shadow:
    0 10px 30px rgba(8,4,1,0.42),
    inset 0 1px 0 rgba(255,235,180,0.16);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.16,1,0.30,1),
    box-shadow 0.45s ease;
}

/* slow ambient shimmer — always moving, never loud */
.hpl-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(255,232,170,0.16) 50%, transparent 60%);
  transform: translateX(-140%);
  animation: hplDrift 7s cubic-bezier(0.65,0,0.35,1) 1.4s infinite;
}
@keyframes hplDrift {
  0%   { transform: translateX(-140%); }
  55%  { transform: translateX(140%); }
  100% { transform: translateX(140%); }
}

.hero-portfolio-link:hover,
.hero-portfolio-link:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(8,4,1,0.52),
    0 0 26px rgba(212,165,0,0.20),
    inset 0 1px 0 rgba(255,235,180,0.26);
}
.hero-portfolio-link:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }

/* medal seal */
.hpl-seal {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  transition: transform 0.6s cubic-bezier(0.16,1,0.30,1);
}
.hpl-seal svg { width: 42px; height: 42px; display: block; }
.hero-portfolio-link:hover .hpl-seal { transform: rotate(-8deg) scale(1.06); }

/* hairline between seal and copy */
.hpl-rule {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  margin: 0.15rem 0;
  background: linear-gradient(180deg, transparent, rgba(212,165,0,0.42), transparent);
}

.hpl-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hpl-eyebrow {
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #C79A24;
}
.hpl-copy strong {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.15;
  color: #FBF3E0;
}
.hpl-copy em {
  font-style: normal;
  font-size: 0.685rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #B9975A;
}
/* narrow phones: tighten so the credential line holds one row */
@media (max-width: 440px) {
  .hero-portfolio-link { gap: 0.7rem; padding: 0.85rem 0.9rem; }
  .hpl-seal, .hpl-seal svg { width: 37px; height: 37px; }
  .hpl-copy strong  { font-size: 1.04rem; }
  .hpl-copy em      { font-size: 0.6rem; letter-spacing: 0.045em; }
  .hpl-eyebrow      { font-size: 0.545rem; letter-spacing: 0.2em; }
  .hpl-go           { width: 31px; height: 31px; }
  .hpl-go svg       { width: 15px; height: 15px; }
}

/* circular arrow that fills gold on hover */
.hpl-go {
  margin-left: auto;
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #E8C55A;
  border: 1px solid rgba(212,165,0,0.45);
  background: rgba(255,225,150,0.06);
  transition: background 0.4s ease, color 0.35s ease, border-color 0.35s ease, transform 0.45s cubic-bezier(0.16,1,0.30,1);
}
.hpl-go svg { width: 17px; height: 17px; }
.hero-portfolio-link:hover .hpl-go,
.hero-portfolio-link:focus-visible .hpl-go {
  background: linear-gradient(145deg, #FFD84A, #D4A500);
  border-color: #FFD100;
  color: #1E1004;
  transform: translateX(3px);
}

@media (hover: none) {
  .hero-portfolio-link:active { transform: scale(0.985); }
}
@media (max-width: 900px) {
  .hero-portfolio-link { margin-top: 0.9rem; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .hpl-sheen { display: none; }
  .hero-portfolio-link:hover .hpl-seal { transform: none; }
}
@media (max-width: 900px) {
  .hero-content { flex-direction: column; gap: 2.5rem; padding-top: 7rem; }
  .hero-right { flex: none; width: 100%; max-width: 360px; margin: 0 auto; }
  .hero-video-frame { max-height: 50vh; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold3);
  border: 1px solid var(--border2);
  color: var(--gold2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #F5EAD0;
  margin-bottom: 1.5rem;
  max-width: 680px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(245,242,236,0.7);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.trust-label {
  font-size: 0.7rem;
  color: rgba(245,242,236,0.5);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-strip {
  background: linear-gradient(90deg, #FBDCDC 0%, #F7C4C4 50%, #FBDCDC 100%);
  border-top: 1px solid rgba(170,45,45,0.28);
  border-bottom: 1px solid rgba(170,45,45,0.28);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #45120F;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.marquee-track span:first-of-type,
.marquee-track span:nth-child(9n+1) { color: #B32424; font-weight: 700; }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   PROPERTIES SECTION
   ============================================= */
.properties-section {
  padding: 6rem 0;
  background: var(--black);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.section-note {
  font-size: 0.78rem;
  color: var(--muted);
}
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #4A3212;
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--t);
}
.filter-btn.active,
.filter-btn:hover {
  background: rgba(212,165,0,0.22);
  border-color: var(--gold);
  color: #6B4500;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prop-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.prop-card:hover {
  border-color: var(--border2);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.prop-card.featured {
  border-color: var(--border2);
  grid-row: span 1;
}

.prop-img {
  position: relative;
  height: 200px;
  background: var(--dark4) center center / cover no-repeat;
  overflow: hidden;
}
/* Fallback gradient if image fails */
.prop-img { background-color: #1a1208; }

.prop-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,7,6,0.7) 0%, transparent 60%);
}
.prop-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  z-index: 2;
}
.badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge.hot     { background: var(--red); color: #fff; }
.badge.new-tag { background: var(--gold); color: var(--black); }
.badge.best    { background: rgba(212,165,0,0.15); border: 1px solid var(--gold); color: var(--gold); }
.badge.rto     { background: rgba(37,211,102,0.15); border: 1px solid var(--green); color: var(--green); }

.prop-price {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: var(--black);
  color: #8F5E04;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
}

.prop-body { padding: 1.25rem; }
.prop-area {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5C3B00;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.prop-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.prop-dev {
  font-size: 0.72rem;
  color: #6B4500;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.prop-specs {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #4A3212;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.prop-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #4A3212;
  background: rgba(255,255,255,0.30);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.prop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  gap: 0.75rem;
}
.prop-loan { display: flex; flex-direction: column; }
.loan-label { font-size: 0.62rem; color: #5C4318; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.loan-val { font-size: 0.88rem; font-weight: 700; color: #1E1004; }
.btn-enquire {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1E1004;
  background: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--t), transform var(--t);
  flex-shrink: 0;
}
.btn-enquire:hover { background: var(--gold2); transform: translateY(-1px); }

.props-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
}
.props-cta p {
  font-size: 1rem;
  color: #4A3212;
  margin-bottom: 1.25rem;
}

/* =============================================
   AREAS
   ============================================= */
.areas-section {
  padding: 6rem 0;
  background:
    linear-gradient(165deg, rgba(34,19,6,0.86) 0%, rgba(26,14,4,0.90) 55%, rgba(20,11,3,0.93) 100%),
    url('../images/areas-bg.jpg') center center / cover no-repeat;
  border-top: 1px solid rgba(212,165,0,0.22);
  border-bottom: 1px solid rgba(212,165,0,0.22);
}
/* Dark-section text overrides */
.areas-section .eyebrow      { color: #FFD100; }
.areas-section .section-title { color: #F7EEDA; }
.areas-section .areas-sub     { color: #E3CDA2; }
.areas-sub {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.7;
  margin-top: 0.5rem;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.area-card {
  background: rgba(255,235,190,0.05);
  border: 1px solid rgba(212,165,0,0.20);
  border-radius: var(--radius2);
  padding: 1.85rem 1.25rem 1.6rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t), transform var(--t), background var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold3);
  opacity: 0;
  transition: opacity var(--t);
}
.area-card:hover {
  border-color: var(--gold2);
  background: rgba(255,235,190,0.09);
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(10,5,1,0.35);
}
.area-card:hover::before { opacity: 1; }

/* area icons — custom landmark line-art per neighbourhood */
.area-icon {
  width: 68px;
  height: 68px;
  display: block;
  margin: 0 auto 0.95rem;
  padding: 9px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,209,0,0.15), rgba(212,165,0,0.05));
  border: 1px solid rgba(212,165,0,0.30);
  box-shadow: inset 0 1px 0 rgba(255,238,190,0.20);
  position: relative;
  transition:
    transform 0.45s cubic-bezier(.2,.8,.3,1),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}
.area-card:hover .area-icon {
  transform: translateY(-3px) scale(1.07);
  border-color: var(--gold2);
  background: linear-gradient(150deg, rgba(255,209,0,0.26), rgba(212,165,0,0.10));
  box-shadow:
    0 8px 20px rgba(150,105,0,0.30),
    inset 0 1px 0 rgba(255,238,190,0.30);
}
.area-card h4 {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 700;
  color: #F7EEDA;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
  position: relative;
}
.area-card p {
  font-size: 0.82rem;
  color: #FFD100;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}
.area-count {
  font-size: 0.65rem;
  color: #D9C193;
  letter-spacing: 0.08em;
  position: relative;
}

/* =============================================
   WHY ZAX
   ============================================= */
.why-section {
  padding: 6rem 0;
  background:
    linear-gradient(165deg, rgba(250,241,222,0.62) 0%, rgba(248,237,214,0.55) 50%, rgba(250,241,222,0.66) 100%),
    url('../images/why-bg.jpg') center center / cover no-repeat;
  border-top: 1px solid var(--border);
}
/* Left column sits on the bare texture — needs darker ink than gold */
.why-section .eyebrow  { color: #4A2A02; }
.why-section .why-desc { color: #2E1C05; }
.why-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}
.why-left {
  position: sticky;
  top: 6rem;
}
.why-left .section-title { margin-bottom: 1rem; }
.why-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.why-card {
  background: linear-gradient(150deg, rgba(255,253,247,0.95) 0%, rgba(253,244,227,0.92) 100%);
  border: 1px solid rgba(212,165,0,0.34);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.85rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 20px rgba(60,30,5,0.10),
    0 1px 3px rgba(60,30,5,0.08);
  transition:
    transform 0.4s cubic-bezier(.2,.8,.3,1),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}
/* gold bar that sweeps across the top on hover */
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.2,.8,.3,1);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: linear-gradient(150deg, #FFFDF8 0%, #FFF8EA 100%);
  box-shadow:
    0 16px 38px rgba(60,30,5,0.18),
    0 3px 10px rgba(60,30,5,0.10);
}
.why-card:hover::before { transform: scaleX(1); }

/* big ghost numeral, top-right */
.why-num {
  position: absolute;
  top: 0.7rem;
  right: 1.1rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.why-card:hover .why-num { opacity: 0.30; transform: scale(1.06); }

/* icon in a raised gold badge */
.why-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,209,0,0.30), rgba(212,165,0,0.15));
  border: 1px solid rgba(212,165,0,0.42);
  box-shadow:
    0 4px 12px rgba(170,125,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.65);
  margin-bottom: 1.1rem;
  transition: transform 0.45s cubic-bezier(.2,.8,.3,1), box-shadow 0.4s ease;
}
.why-card:hover .why-icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.08);
  box-shadow:
    0 9px 22px rgba(170,125,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.75);
}

.why-card h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1B0E03;
  margin-bottom: 0.6rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  position: relative;
}
.why-card p {
  font-size: 0.885rem;
  color: #4A3212;
  line-height: 1.75;
  position: relative;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.reviews-section {
  padding: 6rem 0;
  background:
    linear-gradient(165deg, rgba(58,26,6,0.78) 0%, rgba(46,20,4,0.72) 50%, rgba(38,16,3,0.80) 100%),
    url('../images/reviews-bg.jpg') center center / cover no-repeat;
  border-top: 1px solid rgba(212,165,0,0.22);
  border-bottom: 1px solid rgba(212,165,0,0.22);
}
/* Heading sits on the bare texture */
.reviews-section .eyebrow       { color: #FFD100; }
.reviews-section .section-title { color: #FBF4E4; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.review-card {
  background: #FFFAF0;
  border: 1px solid rgba(212,165,0,0.45);
  border-radius: var(--radius2);
  padding: 1.75rem;
  box-shadow:
    0 10px 28px rgba(30,12,2,0.34),
    0 2px 6px rgba(30,12,2,0.20);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.review-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow:
    0 18px 42px rgba(30,12,2,0.42),
    0 3px 10px rgba(30,12,2,0.24);
}
.review-card.featured-review {
  border-color: var(--gold);
  background: linear-gradient(150deg, #FFFCF4 0%, #FDF1D8 100%);
  box-shadow:
    0 14px 36px rgba(30,12,2,0.40),
    0 0 0 1px rgba(212,165,0,0.30),
    0 2px 8px rgba(30,12,2,0.22);
}
.review-stars {
  color: #8F5E04;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}
.review-text {
  font-size: 0.88rem;
  color: #33200A;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.review-text::before { content: '"'; color: #8F5E04; font-size: 1.2rem; }
.review-text::after  { content: '"'; color: #8F5E04; font-size: 1.2rem; }
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(120,70,0,0.20);
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(184,134,11,0.55);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: rgba(212,165,0,0.16);
  box-shadow: 0 2px 6px rgba(30,12,2,0.18);
}
.review-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1E1004;
}
.review-detail {
  font-size: 0.7rem;
  color: #6B4E1C;
  margin-top: 2px;
}

/* =============================================
   LOAN CALCULATOR
   ============================================= */
.calc-section {
  padding: 6rem 0;
  background:
    linear-gradient(160deg, rgba(26,12,3,0.34) 0%, rgba(20,9,2,0.24) 50%, rgba(14,6,2,0.42) 100%),
    url('../images/calc-bg.jpg') center center / cover no-repeat;
  border-top: 1px solid rgba(212,165,0,0.22);
  border-bottom: 1px solid rgba(212,165,0,0.22);
}
/* Left column sits on the bare texture */
.calc-section .eyebrow       { color: #FFD100; }
.calc-section .section-title { color: #FBF4E4; }
.calc-left p                 { color: #E8D3AE; }
.calc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.calc-left .section-title { margin-bottom: 1rem; }
.calc-left p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.calc-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(255,209,0,0.10);
  border: 1px solid rgba(212,165,0,0.42);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: #EFDCBA;
  line-height: 1.6;
}
.calc-note strong { color: #FFD100; }
.calc-box {
  background: linear-gradient(155deg, #FFFDF7 0%, #FDF3E0 100%);
  border: 1px solid rgba(212,165,0,0.45);
  border-radius: var(--radius2);
  padding: 2rem;
  box-shadow:
    0 18px 44px rgba(28,10,2,0.38),
    0 3px 10px rgba(28,10,2,0.22);
}
.calc-field {
  margin-bottom: 1.25rem;
}
.calc-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B4A12;
  margin-bottom: 0.4rem;
}
.calc-field input,
.calc-field select {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(120,70,0,0.28);
  color: #1E1004;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.calc-field input::placeholder { color: #9A845A; }
.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,165,0,0.18);
}
.calc-field select option { background: #FFFFFF; color: #1E1004; }
.calc-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.calc-result {
  background: linear-gradient(150deg, rgba(255,209,0,0.13), rgba(212,165,0,0.07));
  border: 1px solid rgba(212,165,0,0.48);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #6B4A12;
}
.result-val {
  font-weight: 700;
  color: #1E1004;
  font-size: 0.9rem;
}
.result-val.gold { color: #8F5E04; font-size: 1rem; }

/* =============================================
   CTA
   ============================================= */
.cta-section {
  position: relative;
  padding: 8rem 0;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255,242,170,0.85) 0%, transparent 58%),
    linear-gradient(165deg, #F7CE2A 0%, #E4B60C 42%, #C99A02 100%);
  border-top: 2px solid rgba(90,55,0,0.30);
  border-bottom: 2px solid rgba(90,55,0,0.30);
  text-align: center;
  overflow: hidden;
}
/* soft light bloom behind the headline */
.cta-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(255,255,255,0.42) 0%, transparent 62%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #241304;
  border: 1px solid rgba(0,0,0,0.30);
  color: #FFD64A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 18px rgba(60,35,0,0.28);
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #1A0D02;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 0 rgba(255,255,255,0.28);
}
/* the italic accent line — gold-on-gold would vanish, so it goes deep burnt bronze */
.cta-title .gold,
.cta-title em.gold {
  color: #6B3000;
  position: relative;
  display: inline-block;
}
.cta-title em.gold::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.06em;
  height: 0.09em;
  border-radius: 3px;
  background: rgba(26,13,2,0.30);
}
.cta-sub {
  font-size: 1.1rem;
  font-weight: 500;
  color: #402203;
  max-width: 560px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}
.cta-sub strong { color: #1A0D02; font-weight: 700; }
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.cta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3A1E02;
}
.cta-info-item span:first-child { color: #6B3000; }

/* ---- CTA buttons, restyled for the gold panel ---- */
.cta-section .btn-wa-large {
  font-size: 1.05rem;
  padding: 1.25rem 2.9rem;
  border: 2px solid rgba(0,0,0,0.18);
  box-shadow:
    0 10px 30px rgba(20,80,40,0.34),
    0 3px 8px rgba(30,15,0,0.22);
}
.cta-section .btn-wa-large:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(20,80,40,0.42),
    0 4px 12px rgba(30,15,0,0.26);
}
/* solid dark, inverted — a transparent ghost button is invisible on gold */
.cta-section .btn-ghost-light {
  background: #241304;
  color: #FFD64A;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.25rem 2.3rem;
  border: 2px solid rgba(0,0,0,0.28);
  box-shadow: 0 8px 24px rgba(50,28,0,0.30);
  transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.cta-section .btn-ghost-light:hover {
  background: #3A2008;
  color: #FFE07A;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(50,28,0,0.38);
}
/* divider above the contact strip */
.cta-info {
  padding-top: 2.25rem;
  border-top: 1px solid rgba(90,55,0,0.24);
}
.cta-info-item a { transition: color var(--t); }
.cta-info-item a:hover { color: var(--gold); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.footer-social a:last-child { border-color: rgba(37,211,102,0.3); color: var(--green); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold3); }
.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links-group h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.footer-links-group a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color var(--t);
  line-height: 1.8;
}
.footer-links-group a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.7rem;
  color: var(--muted2);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.7rem;
  color: var(--muted2);
  transition: color var(--t);
}
.footer-bottom-links a:hover { color: var(--white); }

/* =============================================
   LUXURY MOTION SYSTEM
   Slow, confident easing. Transform/opacity/clip-path
   only — all GPU-composited, no layout thrash.
   ============================================= */
:root {
  --ease-lux:  cubic-bezier(0.16, 1, 0.30, 1);
  --ease-silk: cubic-bezier(0.65, 0, 0.35, 1);
  --lux-dur:   1.15s;
}

/* ---- 1. Gold scroll-progress hairline ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 400;
  pointer-events: none;
  background: rgba(212,165,0,0.10);
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #8A5E00, #D4A500 35%, #FFD100 65%, #FFF3B0);
  box-shadow: 0 0 10px rgba(255,209,0,0.55);
}

/* ---- 2. Base reveal: rise + de-blur ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(7px);
  transition:
    opacity   var(--lux-dur) var(--ease-lux),
    transform var(--lux-dur) var(--ease-lux),
    filter    var(--lux-dur) var(--ease-lux);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

/* ---- 3. Headings wipe upward behind a mask ---- */
.hero-title,
.section-title,
.cta-title {
  clip-path: inset(0 0 105% 0);
  transform: translateY(14px);
  /* opacity/filter listed too — these elements may also carry .reveal,
     whose transition would otherwise be overridden and snap. */
  transition:
    clip-path 1.35s var(--ease-lux),
    transform 1.35s var(--ease-lux),
    opacity   1.05s var(--ease-lux),
    filter    1.05s var(--ease-lux);
}
.hero-title.visible,
.section-title.visible,
.cta-title.visible,
.visible .hero-title,
.visible .section-title,
.visible .cta-title {
  clip-path: inset(0 0 -12% 0);
  transform: none;
}

/* ---- 4. Property imagery wipes open ---- */
.prop-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease-lux);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.prop-card.visible .prop-img { clip-path: inset(0 0 0 0); }

/* ---- 5. Gold shimmer that sweeps across accents ---- */
@keyframes luxSweep {
  0%   { background-position: -180% 0; }
  55%  { background-position:  180% 0; }
  100% { background-position:  180% 0; }
}
/* Text-only elements can take a clipped gradient safely.
   NOTE: never use background-clip:text on an element that has its own
   background box — it clips that box to the glyphs and the box disappears. */
.trust-num {
  background-image: linear-gradient(
    100deg,
    transparent 38%,
    rgba(255,255,255,0.55) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}
.visible .trust-num {
  animation: luxSweep 4.5s var(--ease-silk) 0.8s infinite;
}

/* Pills keep their background and get the sheen from an overlay instead.
   .prop-price is already position:absolute (it sits in the image corner),
   so it must NOT be reset to relative — absolute already anchors ::after. */
.cta-badge { position: relative; }
.prop-price,
.cta-badge { overflow: hidden; }
.prop-price::after,
.cta-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 40%,
    rgba(255,255,255,0.38) 50%,
    transparent 60%
  );
  transform: translateX(-130%);
}
.prop-card.visible .prop-price::after,
.cta-badge.visible::after {
  animation: luxSheen 4.5s var(--ease-silk) 1s infinite;
}
@keyframes luxSheen {
  0%   { transform: translateX(-130%); }
  55%  { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

/* ---- 6. Hairline rules that draw themselves ---- */
.lux-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(212,165,0,0.65), transparent);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 1.4s var(--ease-lux);
  margin: 0;
}
.lux-rule.visible { transform: scaleX(1); }

/* ---- 7. Cards settle in with a gentle rise ---- */
.prop-card, .why-card, .area-card, .review-card {
  transition:
    transform 0.55s var(--ease-lux),
    box-shadow 0.55s var(--ease-lux),
    border-color 0.45s ease,
    background 0.45s ease;
}

/* ---- 8. Hero choreography on first paint ---- */
@keyframes luxFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes luxRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes luxFrameIn {
  from { opacity: 0; transform: translateY(38px) scale(0.94); clip-path: inset(6% 0 6% 0 round 22px); }
  to   { opacity: 1; transform: none;                        clip-path: inset(0 0 0 0 round 22px); }
}
.hero.loaded .hero-badge  { animation: luxFadeDown 1s var(--ease-lux) 0.15s both; }
.hero.loaded .hero-sub    { animation: luxRise     1.1s var(--ease-lux) 0.75s both; }
.hero.loaded .hero-cta    { animation: luxRise     1.1s var(--ease-lux) 0.95s both; }
.hero.loaded .hero-trust  { animation: luxRise     1.1s var(--ease-lux) 1.15s both; }
.hero.loaded .hero-video-frame { animation: luxFrameIn 1.5s var(--ease-lux) 0.35s both; }

/* Nav slides down once, on arrival */
@keyframes luxNavIn { from { transform: translateY(-100%); } to { transform: none; } }
#navbar { animation: luxNavIn 0.9s var(--ease-lux) both; }

/* ---- 9. Buttons get a travelling sheen on hover ---- */
.btn-primary, .btn-enquire, .btn-wa-large {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after,
.btn-enquire::after,
.btn-wa-large::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transition: transform 0.85s var(--ease-silk);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-enquire:hover::after,
.btn-wa-large:hover::after { transform: translateX(120%) skewX(-18deg); }

/* ---- 10. Section icons breathe on hover ---- */
.area-icon, .why-icon {
  transition:
    transform 0.6s var(--ease-lux),
    box-shadow 0.5s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

/* Reduced motion: strip all of it back to a plain fade */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-title, .section-title, .cta-title,
  .prop-img, .lux-rule {
    clip-path: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .scroll-progress { display: none; }
  #navbar,
  .hero.loaded .hero-badge,
  .hero.loaded .hero-sub,
  .hero.loaded .hero-cta,
  .hero.loaded .hero-trust,
  .hero.loaded .hero-video-frame { animation: none !important; }
  .visible .trust-num { animation: none !important; }
  .prop-card.visible .prop-price::after,
  .cta-badge.visible::after { animation: none !important; }
}

/* =============================================
   PERFORMANCE
   ============================================= */
/* Let the browser skip layout/paint for off-screen sections until needed.
   contain-intrinsic-size keeps the scrollbar stable while they're skipped. */
.areas-section,
.why-section,
.reviews-section,
.calc-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* Promote the elements that actually animate, and nothing else. */
.hero-ghost-track,
.marquee-track {
  will-change: transform;
  backface-visibility: hidden;
}

/* backdrop-filter is one of the most expensive things a mobile GPU can do,
   and it repaints on every scroll frame behind a fixed navbar. */
@media (max-width: 900px) {
  #navbar           { backdrop-filter: none; background: rgba(22,12,4,0.94); }
  #navbar.scrolled  { backdrop-filter: none; background: rgba(22,12,4,0.985); }
  .lang-dropdown    { backdrop-filter: none; background: rgba(20,10,2,0.985); }
}

/* Media never causes layout shift */
img, video { max-width: 100%; height: auto; }

/* =============================================
   TOUCH & MOTION POLISH (all sizes)
   ============================================= */
html { scroll-behavior: smooth; }

/* Hover effects only where a real pointer exists.
   On touch screens :hover sticks after a tap until you tap elsewhere. */
@media (hover: none) {
  .prop-card:hover,
  .why-card:hover,
  .area-card:hover,
  .review-card:hover { transform: none; }
}

/* Tap feedback — the touch equivalent of hover */
@media (hover: none) {
  .prop-card, .why-card, .area-card, .review-card,
  .btn-primary, .btn-wa, .btn-wa-large, .btn-ghost-light,
  .btn-enquire, .filter-btn, .lang-opt, .calc-btn {
    -webkit-tap-highlight-color: transparent;
  }
  .prop-card:active, .why-card:active,
  .area-card:active, .review-card:active {
    transform: scale(0.982);
    transition: transform 0.12s ease;
  }
  .btn-primary:active, .btn-wa:active, .btn-wa-large:active,
  .btn-ghost-light:active, .btn-enquire:active,
  .filter-btn:active, .calc-btn:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
  }
  .area-card:active .area-icon { transform: scale(1.06); }
  .why-card:active .why-icon  { transform: scale(1.06) rotate(-4deg); }
}

/* Respect users who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-ghost-track,
  .marquee-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .why-left { position: static; }
  .calc-inner { grid-template-columns: 1fr; gap: 3rem; }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .section-head { flex-direction: column; align-items: center; }
  .section-head-right { align-items: center; }
  .props-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .cta-info { flex-direction: column; align-items: center; gap: 1rem; }
  .hero-trust { gap: 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; }
  .btn-wa-large { width: 100%; justify-content: center; }
  .btn-ghost-light { width: 100%; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 0.85rem; border-radius: 50%; }
}

/* =============================================
   MOBILE — centred layout & video
   ============================================= */
@media (max-width: 900px) {

  /* ---- HERO: stack, centre, video first ---- */
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.25rem;
    padding: 7rem 1.5rem 4rem;
  }
  .hero-left {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge { align-self: center; }
  .hero-title,
  .hero-sub { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; max-width: 34rem; }

  /* buttons centred and comfortably tappable */
  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 22rem;
    gap: 0.75rem;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-wa {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    align-items: center;
  }

  /* trust row centred */
  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  /* ---- the video, centred ---- */
  .hero-right {
    flex: none;
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    order: -1;                 /* video leads on mobile */
  }
  .hero-video-frame {
    max-height: 58vh;
    margin: 0 auto;
    border-radius: 22px;
    animation: heroFloat 6s ease-in-out infinite;
  }
  .hero-video { border-radius: 22px; }

  /* hero type scaled for narrow screens */
  .hero-title { font-size: clamp(2.15rem, 10.5vw, 3.1rem); }
  .hero-sub   { font-size: 0.94rem; }

  /* ghost words: dial back so they don't fight the content */
  .hero-ghost-track span { font-size: 2.6rem; opacity: 0.55; }
  .hero-ghost-wrap { opacity: 0.6; }

  /* ---- SECTION HEADINGS centred ---- */
  .section-head,
  .section-head > div { text-align: center; width: 100%; }
  .section-title,
  .eyebrow,
  .section-note,
  .areas-sub,
  .props-note { text-align: center; }
  .filter-tabs { justify-content: center; }

  /* ---- WHY / CALCULATOR left columns centred ---- */
  .why-left,
  .calc-left { text-align: center; }
  .why-desc,
  .calc-left p {
    margin-left: auto;
    margin-right: auto;
    max-width: 34rem;
  }
  .calc-note { text-align: left; }        /* keep the tip readable as a block */
  .why-left .btn-primary { display: inline-flex; }

  /* ---- CTA centred (already is, tighten spacing) ---- */
  .cta-section { padding: 5rem 0; }
  .cta-inner { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* ---- FOOTER centred ---- */
  .footer-top,
  .footer-brand,
  .footer-links-group { text-align: center; }
  .footer-links-group { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
  }
  .footer-bottom-links { justify-content: center; }

  /* ---- comfortable tap targets ---- */
  .filter-btn,
  .lang-opt,
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; }
  .filter-btn { justify-content: center; }
  .btn-enquire { min-height: 44px; align-items: center; }
}

/* gentle float on the hero video — pure ambience */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-frame { animation: none !important; }
}

/* ---- DARK OVERRIDES (hero trust + footer stay dark-themed) ---- */
.hero-trust-num,
.hero-trust-label { color: #F5EAD0; }
.hero-trust-divider { background: rgba(245,234,208,0.2); }
.hero-badge { background: rgba(212,165,0,0.18); color: #FFD100; }

.footer {
  background: #160C04;
  border-top-color: rgba(212,165,0,0.15);
}
.footer-brand p,
.footer-links-group a { color: #9A7840; }
.footer-links-group h5 { color: var(--gold); }
.footer-links-group a:hover { color: #F5EAD0; }
.footer-bottom p,
.footer-bottom a { color: #A8894C; }
.footer-bottom { border-top-color: rgba(212,165,0,0.10); }
.footer-social a { border-color: rgba(212,165,0,0.18); color: #9A7840; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,165,0,0.1); }

/* Prop card body on light bg */
.prop-card { box-shadow: 0 4px 24px rgba(120,70,0,0.12); }
.prop-card:hover { box-shadow: 0 12px 40px rgba(120,70,0,0.20); }

/* =============================================
   LANGUAGE SWITCHER
   ============================================= */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  background: rgba(212,165,0,0.10);
  border: 1px solid rgba(212,165,0,0.28);
  border-radius: 50px;
  color: #C4A870;
  padding: 0.4rem 0.8rem;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
  white-space: nowrap;
}
.lang-btn:hover,
.lang-btn.open {
  background: rgba(212,165,0,0.18);
  border-color: var(--gold);
  color: #FFD100;
}

.lang-icon { width: 14px; height: 14px; flex-shrink: 0; }

.lang-chevron {
  width: 10px; height: 7px; flex-shrink: 0;
  transition: transform 0.22s ease;
}
.lang-btn.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(20,10,2,0.97);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(212,165,0,0.22);
  border-radius: 14px;
  padding: 0.45rem;
  min-width: 188px;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,165,0,0.08);
}
.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.58rem 0.75rem;
  background: none;
  border: none;
  border-radius: 9px;
  color: #A88840;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  text-align: left;
}
.lang-opt:hover { background: rgba(212,165,0,0.12); color: #FFD100; }
.lang-opt.active { color: #FFD100; }

.lang-flag { font-size: 1rem; line-height: 1; }
.lang-name { flex: 1; }

.lang-tick {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 700;
  min-width: 12px;
  opacity: 0;
  transition: opacity 0.15s;
}
.lang-opt.active .lang-tick { opacity: 1; }

/* Hero ghost vertical scroll */
.hero-ghost-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}
.hero-ghost-track {
  display: flex;
  flex-direction: column;
  animation: heroGhostV 22s linear infinite;
  will-change: transform;
}
.hero-ghost-track span {
  display: block;
  font-size: clamp(4.5rem, 8.5vw, 8rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212,165,0,0.18);
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  font-family: var(--serif);
  white-space: nowrap;
  user-select: none;
  padding: 0.05em 2rem;
}
@keyframes heroGhostV {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Language transition animation */
@keyframes i18nSlide {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-switching [data-i18n],
.lang-switching [data-i18n-html] {
  animation: i18nSlide 0.28s ease forwards;
}
