/* ============================================================
   Landora Properties — Signature Luxury Dark
   Design tokens + global system
   ============================================================ */

:root {
  /* Brand */
  --gold: #d6b24c;
  --gold-soft: #e4c874;
  --gold-deep: #b8963a;
  --charcoal: #111316;
  --soft-black: #0b0d10;
  --raised: #16191d;
  --raised-2: #1b1f24;
  --card-border: #262a30;
  --off-white: #f7f4ee;
  --beige: #eee7da;

  /* Text */
  --text: #f4f1ea;
  --text-soft: #a3a8b0;
  --text-mute: #6b7078;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 20px;

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 10px 40px -12px rgba(214, 178, 76, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--soft-black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Atmospheric page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(214, 178, 76, 0.10), transparent 60%),
    radial-gradient(700px 600px at -10% 40%, rgba(214, 178, 76, 0.04), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }

.serif-display { font-family: var(--display); font-weight: 500; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #1a1408;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn-wa { background: #1f2c25; border-color: rgba(37, 211, 102, 0.35); color: #d8f5e3; }
.btn-wa:hover { border-color: #25d366; transform: translateY(-2px); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background .3s;
}
.nav { display: flex; align-items: center; gap: 32px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep));
  color: #17130a; flex: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { line-height: 1; }
.brand-name b { font-family: var(--serif); font-size: 20px; letter-spacing: 0.06em; font-weight: 600; display: block; }
.brand-name span { font-size: 9px; letter-spacing: 0.42em; color: var(--gold); text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; margin-left: 10px; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-soft); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.phone-pill { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); font-weight: 500; }
.phone-pill svg { width: 16px; color: var(--gold); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: #1f2c25; border: 1px solid rgba(37, 211, 102, 0.3); color: #25d366;
  transition: transform .3s var(--ease), border-color .3s;
}
.icon-btn:hover { transform: translateY(-2px); border-color: #25d366; }
.icon-btn svg { width: 20px; }
.burger { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; }
.burger svg { width: 26px; }

/* ---- Sections ---- */
section { position: relative; z-index: 1; }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 14px; }
.sec-head p { color: var(--text-soft); margin-top: 16px; font-size: 17px; }
.center { text-align: center; margin-inline: auto; }

/* ---- Reveal animation ---- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---- Property card ---- */
.card {
  background: var(--raised);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .4s, box-shadow .45s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: rgba(214, 178, 76, 0.45); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 7px; color: #fff;
  background: rgba(11, 13, 16, 0.82); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.badge.sale { color: var(--gold-soft); }
.badge.rent { color: #8fd6c0; }
.badge.sold { color: #e78b8b; }
.fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11, 13, 16, 0.7); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff; cursor: pointer; transition: color .25s, transform .25s;
}
.fav:hover { color: var(--gold); transform: scale(1.1); }
.fav svg { width: 17px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-price { font-family: var(--serif); font-size: 22px; color: var(--gold-soft); font-weight: 600; }
.card-price small { font-size: 13px; color: var(--text-mute); font-family: var(--sans); font-weight: 500; }
.card-title { font-size: 17px; font-weight: 600; font-family: var(--sans); letter-spacing: -0.01em; }
.card-loc { display: flex; align-items: center; gap: 6px; color: var(--text-soft); font-size: 13.5px; }
.card-loc svg { width: 14px; color: var(--gold); flex: none; }
.card-specs {
  display: flex; gap: 16px; margin-top: auto; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--text-soft); font-size: 13px;
}
.card-specs span { display: flex; align-items: center; gap: 6px; }
.card-specs svg { width: 15px; color: var(--gold); opacity: .85; }

/* ---- Footer ---- */
.site-footer { background: var(--soft-black); border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.foot-grid h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 700; }
.foot-grid a { display: block; color: var(--text-soft); font-size: 14px; padding: 6px 0; transition: color .25s; }
.foot-grid a:hover { color: var(--gold-soft); }
.foot-about p { color: var(--text-soft); font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.foot-contact li { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 14px; padding: 6px 0; list-style: none; }
.foot-contact svg { width: 16px; color: var(--gold); flex: none; }
.foot-socials { display: flex; gap: 12px; margin-top: 8px; }
.foot-socials a { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--card-border); color: var(--text-soft); }
.foot-socials a:hover { color: var(--gold); border-color: var(--gold); }
.foot-socials svg { width: 17px; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-mute); font-size: 13px;
}
.foot-bottom a { color: var(--text-mute); }
.foot-bottom a:hover { color: var(--gold); }

/* ---- Mobile floating CTA ---- */
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .nav-links, .phone-pill { display: none; }
  .burger { display: grid; place-items: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px;
    background: rgba(11, 13, 16, 0.92); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mobile-cta .btn { flex: 1; justify-content: center; padding: 14px; }
}

/* ---- Mobile nav drawer ---- */
.drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 340px);
  background: var(--charcoal); border-left: 1px solid var(--card-border);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { padding: 14px 0; font-size: 17px; font-family: var(--serif); border-bottom: 1px solid rgba(255,255,255,.06); color: var(--text-soft); }
.drawer-panel a:hover { color: var(--gold); }
.drawer-close { align-self: flex-end; background: none; border: 0; color: var(--text); width: 40px; height: 40px; margin-bottom: 10px; }
.drawer-close svg { width: 26px; }
