:root {
  --navy: #0f2537;
  --ink: #1c1c1a;
  --gold: #be9a60;
  --gold-bright: #d29751;
  --gold-light: #f3ead9;
  --cream: #f8f6f2;
  --gray-text: #6b6b63;
  --border: #e7e3da;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.btn-gold { background: var(--gold); color: #fff; padding: 13px 26px; }
.btn-navy { background: var(--navy); color: #fff; padding: 13px 26px; }
.btn-outline { border: 1px solid var(--border); background: #fff; color: var(--ink); padding: 12px 22px; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.nav-menu { display: contents; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a.active { color: var(--navy); border-bottom-color: var(--gold); }

/* ---------- NAV TOGGLE (hamburger, mobile only) ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--ink);
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close { display: block; }
.nav-toggle-light { color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,.4)); }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-text);
}
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb a { color: var(--gray-text); }
.breadcrumb span { color: var(--ink); }

/* ---------- ICON BADGE ---------- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-bright);
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

/* ---------- PROPERTY CARD ---------- */
.property-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.property-cards-3col { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .15s ease, transform .15s ease;
}
a.card:hover { box-shadow: 0 16px 32px rgba(15,37,55,.1); transform: translateY(-2px); }

.card-img { position: relative; display: block; aspect-ratio: 4/3; background: #eee; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold-bright);
}

.fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.fav svg { width: 17px; height: 17px; }
.fav-active svg { fill: #c0564a; stroke: #c0564a; }

.card-body { padding: 18px; }
.card-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.addr { font-size: 13px; color: var(--gray-text); margin-bottom: 16px; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.price { font-size: 15px; font-weight: 700; color: var(--gold-bright); }

.meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-text);
}
.meta svg { width: 15px; height: 15px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 72px 56px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  max-width: 1440px;
  margin: 0 auto;
}

.footer-brand .logo img { filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 15px; line-height: 1.6; max-width: 260px; }

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.72);
}

.footer-sub { font-size: 15px; line-height: 1.6; margin-bottom: 16px; max-width: 220px; }

.newsletter {
  display: flex;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 5px;
  max-width: 260px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter button svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 28px;
  font-size: 13px;
}

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.social-links svg { width: 16px; height: 16px; }

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 100px;
}
.legal-page .breadcrumb { margin-bottom: 24px; }
.legal-page h1 { font-size: 34px; font-weight: 600; margin-bottom: 8px; }
.legal-updated { font-size: 13px; color: var(--gray-text); margin-bottom: 32px; }
.legal-page h2 { font-size: 20px; font-weight: 600; margin: 36px 0 12px; }
.legal-page p { font-size: 16px; line-height: 1.7; color: var(--gray-text); margin-bottom: 16px; }
.legal-page ul { margin: 0 0 16px; padding-left: 20px; }
.legal-page li { font-size: 16px; line-height: 1.7; color: var(--gray-text); margin-bottom: 8px; }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--gold-bright); text-decoration: underline; }

/* ---------- 404 ---------- */
.error-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 20px;
  text-align: center;
}
.error-code {
  display: block;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}
.error-page h1 { font-size: 30px; font-weight: 600; margin-bottom: 14px; }
.error-page p { font-size: 16px; line-height: 1.6; color: var(--gray-text); margin-bottom: 32px; }
.error-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .navbar { padding: 16px 20px; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .nav-menu.nav-open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 998;
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (max-width: 640px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 18px; left: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
