@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0f1e35;
  --gold: #c8a96e;
  --gold-light: #e8c98a;
  --cream: #f8f4ee;
  --white: #ffffff;
  --gray-100: #f5f5f3;
  --gray-200: #ebe8e2;
  --gray-400: #c8c4bc;
  --gray-500: #8a8578;
  --gray-700: #4a4640;
  --text: #1a1612;
  --shadow: 0 4px 24px rgba(15,30,53,0.09);
  --shadow-hover: 0 10px 40px rgba(15,30,53,0.16);
  --radius: 6px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  padding: 9px 0;
  text-align: center;
  letter-spacing: 0.03em;
}
.topbar a { color: var(--gold); text-decoration: none; font-weight: 500; }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(15,30,53,0.06);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo-full {
  height: 44px;
  width: 44px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ── NAV ── */
nav { display: flex; align-items: center; gap: 2px; }
nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
nav a:hover { color: var(--navy); background: var(--gray-100); }
nav a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* Mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  padding: 72px 32px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); color: var(--navy); text-decoration: none; font-weight: 500; }
.mobile-menu a:last-child { border: none; margin-top: 16px; }
.mobile-menu-close { position: absolute; top: 18px; right: 24px; font-size: 26px; cursor: pointer; color: var(--navy); background: none; border: none; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 100px 32px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(200,169,110,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 40%, rgba(200,169,110,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(200,169,110,0.35);
  padding: 6px 18px;
  border-radius: 2px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 44px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: var(--transition); cursor: pointer; border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 6px 20px rgba(200,169,110,0.38); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.09); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1a3060; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--gray-400); }
.btn-ghost:hover { border-color: var(--navy); background: var(--gray-100); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { background: #1eba57; transform: translateY(-1px); }

/* stats bar removed */

/* ── SECTIONS ── */
.section { padding: 80px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-bg { background: var(--cream); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; margin-bottom: 14px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.5vw, 38px); color: var(--navy); margin-bottom: 14px; }
.section-header p { color: var(--gray-500); max-width: 480px; margin: 0 auto; font-size: 15.5px; }
.divider { width: 40px; height: 2px; background: var(--gold); margin: 18px auto 0; }

/* ── CATEGORY CARDS (Home) ── */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--gold); }
.cat-card-icon {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, #1d3a6a 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.cat-card-body { padding: 28px 28px 32px; }
.cat-card-body h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.cat-card-body p { color: var(--gray-500); font-size: 14.5px; line-height: 1.65; margin-bottom: 20px; }
.cat-card-link { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.cat-card:hover .cat-card-link { gap: 10px; }

/* ── LISTING CARDS ── */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.listing-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.listing-img {
  width: 100%; height: 210px; object-fit: cover;
  background: linear-gradient(135deg, #162840 0%, #234070 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; position: relative;
}
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-sale { background: var(--gold); color: var(--navy); }
.badge-rent { background: #1a6496; color: var(--white); }
.listing-body { padding: 22px; }
.listing-body h3 { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--navy); margin-bottom: 6px; line-height: 1.35; }
.listing-loc { font-size: 13px; color: var(--gray-500); margin-bottom: 14px; display: flex; align-items: center; gap: 4px; }
.listing-specs { display: flex; gap: 18px; padding: 12px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); margin-bottom: 16px; flex-wrap: wrap; }
.spec { font-size: 12.5px; color: var(--gray-500); }
.spec strong { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.listing-price { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.listing-price span { font-size: 13px; font-weight: 400; color: var(--gray-500); }
.listing-actions { display: flex; gap: 8px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--navy); padding: 52px 32px 44px; position: relative; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.5vw, 40px); color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 15.5px; max-width: 560px; }

/* ── SEO INTRO ── */
.seo-intro {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 44px;
}
.seo-intro p { color: var(--gray-700); line-height: 1.8; font-size: 15px; }

/* ── LISTING DETAIL ── */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.gallery-placeholder { width: 100%; height: 360px; background: linear-gradient(135deg, #162840, #234070); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 72px; margin-bottom: 10px; }
.gallery-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.detail-spec { background: var(--gray-100); border-radius: var(--radius); padding: 14px 16px; }
.detail-spec label { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 3px; }
.detail-spec strong { font-size: 15px; color: var(--navy); font-weight: 600; }
.detail-desc h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 12px; margin-top: 28px; }
.detail-desc p { color: var(--gray-700); line-height: 1.8; margin-bottom: 10px; font-size: 15px; }

/* Listing separator */
.listing-separator { border: none; border-top: 2px solid var(--gray-200); margin: 56px 0; }

/* ── CONTACT SIDEBAR ── */
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky; top: 84px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--navy); margin-bottom: 18px; }
.contact-price { font-size: 26px; font-weight: 700; color: var(--navy); }
.contact-price-note { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.c-info { margin: 16px 0 20px; }
.c-info-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--gray-100); font-size: 14px; color: var(--gray-700); }
.c-info-row:last-child { border: none; }
.c-icon { font-size: 16px; width: 22px; text-align: center; }
.full-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: var(--radius); font-size: 15px; font-weight: 600; text-decoration: none; transition: var(--transition); margin-bottom: 8px; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-wrap h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.form-wrap > p { color: var(--gray-500); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--gray-400); border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--text);
  background: var(--white); outline: none; transition: var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,30,53,0.07); }
.form-group textarea { resize: vertical; min-height: 120px; }
.info-panel h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy); margin-bottom: 8px; }
.info-panel > p { color: var(--gray-500); margin-bottom: 36px; font-size: 15px; }
.info-block { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.info-icon { width: 46px; height: 46px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 20px; flex-shrink: 0; }
.info-text strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 3px; font-size: 15px; }
.info-text a, .info-text span { color: var(--gray-700); text-decoration: none; font-size: 15px; }
.info-text a:hover { color: var(--gold); }
.wa-box { background: var(--navy); border-radius: var(--radius); padding: 28px; margin-top: 32px; text-align: center; }
.wa-box h3 { color: var(--gold); font-size: 17px; margin-bottom: 8px; }
.wa-box p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 18px; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item { text-align: center; }
.why-icon { width: 60px; height: 60px; background: var(--navy); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px; }
.why-item h3 { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.why-item p { color: var(--gray-500); font-size: 14px; line-height: 1.65; }

/* ── CTA ── */
.cta { background: var(--navy); padding: 80px 32px; text-align: center; }
.cta h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.5vw, 38px); color: var(--white); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
footer { background: #080f1c; color: rgba(255,255,255,0.5); padding: 56px 32px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; margin-top: 14px; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-logo-name { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.45); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .cat-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 64px 24px 56px; }
  .stats-bar-inner { gap: 32px; }
  .section { padding: 56px 24px; }
  .listing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 20px; }
}

/* Animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up   { animation: fadeUp 0.55s ease both; }
.fade-up-2 { animation: fadeUp 0.55s 0.12s ease both; }
.fade-up-3 { animation: fadeUp 0.55s 0.24s ease both; }
