/* =====================================================
   POV GUY REALTOR — Global Design System 2026
   povguy.sg
   Colors: Near-Black + Gold | Fonts: Cormorant + DM Sans
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* --- TOKENS --- */
:root {
  --bg:    #0A0A0F;
  --bg2:   #111118;
  --bg3:   #1A1A24;
  --bg4:   #22222E;
  --gold:  #C9A84C;
  --gold-a: rgba(201,168,76,.10);
  --gold-b: rgba(201,168,76,.15);
  --gold-c: rgba(201,168,76,.35);
  --white: #E8E8F0;
  --grey:  #8888A0;
  --grey2: #5A5A70;
  --blue:  #3498DB;
  --green: #2ECC71;
  --red:   #E74C3C;
  --purple:#9B59B6;
  --R: 16px;
  --max: 1100px;
  --nav: 72px;
}

/* --- RESET --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'DM Sans',sans-serif;
  background:var(--bg);
  color:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img { display:block; max-width:100%; }
a { color:inherit; }
button { font-family:inherit; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position:fixed; top:0; left:0; right:0;
  height:var(--nav);
  background:rgba(10,10,15,.92);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid var(--gold-b);
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 40px;
}
.nav::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity:.5;
}
.nav-logo img { height:36px; width:auto; object-fit:contain; }
.nav-links { display:flex; gap:28px; list-style:none; align-items:center; }
.nav-links a {
  text-decoration:none; color:var(--grey);
  font-size:13px; font-weight:500;
  letter-spacing:.02em;
  transition:color .2s;
  padding:4px 0;
  border-bottom:2px solid transparent;
}
.nav-links a:hover { color:var(--white); }
.nav-links a.active { color:var(--white); border-bottom-color:var(--gold); }
.nav-cta {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--gold); color:#000;
  font-size:13px; font-weight:600;
  padding:9px 20px; border-radius:8px;
  text-decoration:none;
  transition:background .2s, transform .15s;
  white-space:nowrap;
}
.nav-cta:hover { background:#e0b84a; transform:translateY(-1px); }
.nav-ham {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; background:none; border:none; padding:4px;
}
.nav-ham span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:all .3s; }

/* Mobile nav */
.mob-nav {
  display:none; position:fixed;
  top:var(--nav); left:0; right:0;
  background:rgba(10,10,15,.97);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--gold-b);
  padding:16px 28px 24px; z-index:999;
}
.mob-nav.open { display:block; }
.mob-nav ul { list-style:none; }
.mob-nav li { padding:12px 0; border-bottom:1px solid var(--gold-a); }
.mob-nav li:last-child { border:none; }
.mob-nav a { text-decoration:none; color:var(--white); font-size:15px; }

/* =====================================================
   FLOATING WHATSAPP
   ===================================================== */
.wa-btn {
  position:fixed; bottom:32px; right:32px;
  width:54px; height:54px;
  background:#25d366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  z-index:990; text-decoration:none;
  box-shadow:0 4px 24px rgba(37,211,102,.38);
  transition:transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform:scale(1.1); box-shadow:0 6px 32px rgba(37,211,102,.55); }
.wa-btn svg { width:28px; height:28px; fill:#fff; }

/* =====================================================
   LAYOUT
   ===================================================== */
.wrap { max-width:var(--max); margin:0 auto; padding:0 40px; }
.wrap-sm { max-width:800px; margin:0 auto; padding:0 40px; }
section { padding:96px 0; }
.section-alt { background:rgba(17,17,24,.7); backdrop-filter:blur(10px); }
.section-dark { background:var(--bg); }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.label {
  display:block;
  font-size:10px; font-weight:600;
  letter-spacing:.25em; text-transform:uppercase;
  color:var(--gold); margin-bottom:16px;
}
h1.display {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(44px,5.5vw,80px);
  font-weight:300; line-height:1.04;
  margin-bottom:24px;
  letter-spacing:-.01em;
}
h2.sec-h {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(30px,3.5vw,52px);
  font-weight:400; line-height:1.1;
  margin-bottom:16px;
}
h3.card-h {
  font-family:'Cormorant Garamond',serif;
  font-size:22px; font-weight:500;
  line-height:1.3; margin-bottom:10px;
}
.lead {
  font-size:17px; color:var(--grey);
  line-height:1.78; max-width:560px;
  margin-bottom:40px;
}
.sub { font-size:15px; color:var(--grey); line-height:1.7; }
em { font-style:italic; color:var(--gold); }
.mono { font-family:'IBM Plex Mono',monospace; }
.text-gold { color:var(--gold); }
.text-grey { color:var(--grey); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 28px; font-size:14px; font-weight:500;
  border-radius:8px; text-decoration:none;
  cursor:pointer; border:none;
  transition:all .2s; line-height:1;
  letter-spacing:.01em;
}
.btn-gold { background:var(--gold); color:#000; }
.btn-gold:hover { background:#e0b84a; transform:translateY(-2px); box-shadow:0 6px 20px rgba(201,168,76,.3); }
.btn-outline {
  background:transparent;
  border:1px solid var(--gold-b); color:var(--white);
}
.btn-outline:hover { border-color:var(--gold); color:var(--gold); }
.btn-ghost { background:transparent; color:var(--grey); font-size:14px; padding:10px 0; }
.btn-ghost:hover { color:var(--gold); }
.btn-sm { padding:9px 20px; font-size:13px; }
.btn-wa { background:#25d366; color:#fff; }
.btn-wa:hover { background:#20b957; transform:translateY(-2px); }

/* =====================================================
   CARDS — glassmorphic
   ===================================================== */
.card {
  background:rgba(26,26,36,.7);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid var(--gold-b);
  border-radius:var(--R);
  padding:32px;
  transition:border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color:var(--gold-c);
  transform:translateY(-4px);
  box-shadow:0 12px 48px rgba(0,0,0,.4);
}
.card-flat {
  background:rgba(26,26,36,.5);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid var(--gold-a);
  border-radius:var(--R); padding:28px;
}

/* Grid helpers */
.g2 { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.g3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.g4 { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }

/* =====================================================
   ICONS & BADGES
   ===================================================== */
.icon-c {
  width:48px; height:48px;
  background:var(--gold-a); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; margin-bottom:20px; flex-shrink:0;
}
.badge {
  display:inline-block;
  padding:3px 10px; border-radius:100px;
  font-size:11px; font-weight:600; letter-spacing:.04em;
}
.b-gold  { background:var(--gold-a); color:var(--gold); }
.b-blue  { background:rgba(52,152,219,.12); color:var(--blue); }
.b-green { background:rgba(46,204,113,.12); color:var(--green); }
.b-grey  { background:rgba(90,90,112,.12); color:var(--grey); }
.b-red   { background:rgba(231,76,60,.12); color:var(--red); }

/* =====================================================
   DATA
   ===================================================== */
.data-n {
  font-family:'IBM Plex Mono',monospace;
  font-size:44px; font-weight:500;
  color:var(--gold); line-height:1; margin-bottom:6px;
}
.data-l { font-size:10px; color:var(--grey); letter-spacing:.2em; text-transform:uppercase; }

.stat-row { display:flex; gap:48px; flex-wrap:wrap; }
.stat-item .n {
  font-family:'Cormorant Garamond',serif;
  font-size:44px; font-weight:400; color:var(--white); line-height:1;
}
.stat-item .u { font-size:24px; color:var(--gold); }
.stat-item .d { font-size:11px; color:var(--grey); margin-top:6px; letter-spacing:.12em; text-transform:uppercase; }

/* =====================================================
   TABLE
   ===================================================== */
.tbl { width:100%; border-collapse:collapse; font-size:14px; }
.tbl th {
  font-size:10px; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--grey);
  padding:12px 16px; text-align:left;
  border-bottom:1px solid var(--gold-b); white-space:nowrap;
}
.tbl td {
  padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.04);
  color:var(--grey); vertical-align:middle;
}
.tbl td.hi   { color:var(--white); font-weight:500; }
.tbl td.gold { color:var(--gold); font-family:'IBM Plex Mono',monospace; font-weight:500; }
.tbl td.blu  { color:var(--blue); }
.tbl td.grn  { color:var(--green); }
.tbl tr:hover td { background:rgba(201,168,76,.03); }
.tbl-wrap { overflow-x:auto; border-radius:var(--R); border:1px solid var(--gold-b); }

/* =====================================================
   FILTERS
   ===================================================== */
.filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:32px; }
.fp {
  padding:8px 18px; border-radius:100px;
  border:1px solid var(--gold-b); background:transparent;
  color:var(--grey); font-size:13px; font-weight:500;
  cursor:pointer; transition:all .2s; font-family:'DM Sans',sans-serif;
}
.fp:hover, .fp.on { background:var(--gold-a); border-color:var(--gold); color:var(--gold); }

/* =====================================================
   FORM
   ===================================================== */
.form-g { margin-bottom:20px; }
.form-g label { display:block; font-size:12px; color:var(--grey); margin-bottom:8px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; }
.form-g input, .form-g select, .form-g textarea {
  width:100%; padding:14px 16px;
  background:rgba(26,26,36,.8);
  backdrop-filter:blur(10px);
  border:1px solid var(--gold-b);
  border-radius:8px; color:var(--white); font-size:15px;
  font-family:'DM Sans',sans-serif; outline:none;
  transition:border-color .2s;
  -webkit-appearance:none;
}
.form-g input::placeholder { color:var(--grey2); }
.form-g input:focus, .form-g select:focus { border-color:var(--gold); }
.form-g select option { background:var(--bg3); color:var(--white); }
.form-g textarea { resize:vertical; min-height:100px; }

/* =====================================================
   MAP
   ===================================================== */
#map { height:500px; border-radius:var(--R); border:1px solid var(--gold-b); overflow:hidden; }
.custom-pin {
  width:14px; height:14px; border-radius:50%;
  border:2px solid rgba(255,255,255,.35);
  cursor:pointer;
}
.leaflet-popup-content-wrapper {
  background:rgba(26,26,36,.96) !important;
  backdrop-filter:blur(20px) !important;
  -webkit-backdrop-filter:blur(20px) !important;
  border:1px solid var(--gold-b) !important;
  border-radius:12px !important; color:var(--white) !important;
  box-shadow:0 8px 32px rgba(0,0,0,.5) !important;
}
.leaflet-popup-tip { background:rgba(26,26,36,.96) !important; }
.leaflet-popup-content { font-family:'DM Sans',sans-serif !important; font-size:13px !important; }

/* =====================================================
   DIVIDER
   ===================================================== */
.divider { height:1px; background:var(--gold-b); }
.divider-gold { height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); opacity:.4; margin:0; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background:rgba(10,10,15,.98);
  border-top:1px solid var(--gold-b);
  padding:60px 0 36px;
}
.foot-g { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:48px; margin-bottom:48px; }
footer .logo img { height:34px; }
footer .ft { font-size:14px; color:var(--grey); margin-top:14px; line-height:1.75; }
footer h5 {
  font-size:10px; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--grey2); margin-bottom:16px;
}
footer ul { list-style:none; }
footer ul li { margin-bottom:10px; }
footer ul a { text-decoration:none; color:var(--grey); font-size:14px; transition:color .2s; }
footer ul a:hover { color:var(--gold); }
.foot-btm {
  border-top:1px solid var(--gold-a); padding-top:24px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:var(--grey2); flex-wrap:wrap; gap:12px;
  letter-spacing:.03em;
}
.foot-btm a { color:var(--gold); text-decoration:none; }

/* =====================================================
   HERO LAYOUT
   ===================================================== */
.hero-split {
  min-height:100vh; padding-top:var(--nav);
  display:grid; grid-template-columns:1fr 1fr;
  align-items:flex-end;
  max-width:var(--max); margin:0 auto;
  padding-left:40px; padding-right:0;
}
.hero-img { display:flex; justify-content:flex-end; align-items:flex-end; height:calc(100vh - var(--nav)); overflow:hidden; }
.hero-img img { width:100%; height:100%; object-fit:cover; object-position:top center; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media(max-width:1024px) {
  .g4 { grid-template-columns:repeat(2,1fr); }
  .g3 { grid-template-columns:repeat(2,1fr); }
  .wrap, .wrap-sm { padding:0 28px; }
}
@media(max-width:768px) {
  .nav-links, .nav-cta { display:none !important; }
  .nav-ham { display:flex; }
  .nav { padding:0 24px; }
  section { padding:64px 0; }
  .hero-split { grid-template-columns:1fr; padding:calc(var(--nav) + 48px) 24px 56px; min-height:auto; }
  .hero-img { display:none; }
  .g2, .g3, .g4 { grid-template-columns:1fr; }
  .foot-g { grid-template-columns:1fr; gap:32px; }
  .stat-row { gap:28px; }
  .wa-btn { bottom:24px; right:24px; }
  h1.display { font-size:clamp(38px,9vw,56px); }
  .wrap, .wrap-sm { padding:0 20px; }
  .tbl { font-size:13px; }
  .tbl td, .tbl th { padding:10px 12px; }
}
@media(max-width:480px) {
  .btn { padding:12px 22px; font-size:13px; }
  .card { padding:24px; }
  .data-n { font-size:36px; }
  .stat-item .n { font-size:34px; }
}
