:root {
  --bg: #FAF8F5;
  --bg-tint: #F2EDE6;
  --surface: #FFFFFF;
  --ink: #0F1D27;
  --ink-muted: #52616B;
  --dark: #0F1D27;
  --dark-2: #162A38;
  --gold: #C59B5F;
  --gold-light: #DFC08E;
  --border: rgba(15, 29, 39, 0.09);
  --radius: 16px;
  --shadow: 0 14px 40px -16px rgba(15, 29, 39, 0.12);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(1240px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(15, 29, 39, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .25s ease;
}
.header.scrolled { background: rgba(15, 29, 39, 0.96); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #9B7439);
  color: #0F1D27; font-family: var(--font-serif); font-weight: 700; font-size: 24px;
  display: grid; place-items: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { letter-spacing: .14em; font-size: 15px; }
.brand-text small { font-size: 11px; color: var(--gold-light); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: rgba(255,255,255,0.86); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; transition: color .2s;
}
.nav a:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.lang-btn:hover { background: rgba(255,255,255,0.2); }

.menu-btn {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.menu-btn span { width: 22px; height: 2px; background: #fff; display: block; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 14px; letter-spacing: .04em; }
.btn-full { width: 100%; }
.btn-gold { background: var(--gold); color: #0F1D27; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.18); }

/* Hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: 120px 0 70px; overflow: hidden; background: var(--dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,29,39,0.72) 0%, rgba(15,29,39,0.52) 45%, rgba(15,29,39,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 860px; }
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(197,155,95,0.18); border: 1px solid rgba(197,155,95,0.5);
  color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.04; margin: 0 0 18px; font-weight: 600;
}
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.18rem); color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.16);
}
.stat-item strong { display: block; font-size: 15px; color: var(--gold-light); letter-spacing: .04em; }

/* Sections */
.section { padding: 84px 0; }
.section-tinted { background: var(--bg-tint); }
.section-dark { background: var(--dark); color: #fff; }
.text-light { color: #fff !important; }
.text-light-muted { color: rgba(255,255,255,0.74); }
.text-gold { color: var(--gold-light); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 36px;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--gold); margin-bottom: 8px;
}
.eyebrow-gold { color: var(--gold-light); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12; margin: 0; font-weight: 600;
}
.section-sub { margin: 10px 0 0; max-width: 640px; }

/* Currency & Filter */
.currency-pills { display: flex; gap: 6px; background: var(--bg-tint); padding: 4px; border-radius: 10px; }
.pill {
  border: 0; background: transparent; padding: 7px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer; color: var(--ink-muted);
}
.pill.active { background: var(--dark); color: #fff; }

.filter-bar {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px; align-items: end; background: var(--surface);
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); margin-bottom: 32px;
}
.filter-group label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); margin-bottom: 6px; }
.filter-group select {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--ink);
}
.filter-count { font-size: 13px; font-weight: 600; color: var(--ink-muted); padding: 10px 6px; white-space: nowrap; }

/* Property Grid */
.prop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.prop-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prop-card:hover { transform: translateY(-4px); border-color: rgba(197,155,95,0.55); box-shadow: 0 22px 48px -18px rgba(15,29,39,0.2); }
.prop-thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #e8e2d9; }
.prop-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prop-card:hover .prop-thumb img { transform: scale(1.05); }
.prop-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; }
.badge-type {
  background: rgba(15,29,39,0.84); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 6px; letter-spacing: .06em;
}
.badge-camp {
  background: #B91C1C; color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 6px;
}
.prop-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prop-loc { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.prop-title { font-family: var(--font-serif); font-size: 1.38rem; line-height: 1.24; margin: 0 0 14px; font-weight: 600; }
.prop-specs { display: flex; gap: 14px; font-size: 13px; color: var(--ink-muted); padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: auto; }
.prop-foot { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; }
.prop-price { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.prop-old { font-size: .85rem; color: var(--ink-muted); text-decoration: line-through; margin-right: 6px; }
.prop-more { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }

/* ROI Card */
.roi-card {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px;
}
.roi-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.preset-btn {
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.14); padding: 8px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.preset-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.slider-block { margin-bottom: 22px; }
.slider-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.slider-head strong { color: var(--gold-light); font-size: 18px; }
input[type="range"] { width: 100%; accent-color: var(--gold); cursor: pointer; }
.roi-results {
  background: rgba(15,29,39,0.65); border: 1px solid rgba(197,155,95,0.28);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.roi-metric { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.roi-metric span { font-size: 13px; color: rgba(255,255,255,0.72); }
.roi-metric strong { font-size: 1.45rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.service-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint);
  color: var(--gold); display: grid; place-items: center; margin-bottom: 16px; font-weight: 700; font-size: 18px;
}
.service-card h3 { font-family: var(--font-serif); font-size: 1.45rem; margin: 0 0 8px; }
.service-card p { margin: 0; font-size: 14px; color: var(--ink-muted); }

/* Blog */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column; cursor: pointer; transition: transform .22s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #e8e2d9; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: 12px; color: var(--gold); font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; }
.blog-card h3 { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.24; margin: 0 0 10px; }
.blog-card p { font-size: 14px; color: var(--ink-muted); margin: 0 0 14px; }
.blog-read { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--ink); }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(15,29,39,0.88); backdrop-filter: blur(8px);
  color: #fff; padding: 14px 18px; border-radius: 12px;
}
.about-badge strong { display: block; font-family: var(--font-serif); font-size: 1.35rem; }
.about-badge span { font-size: 12px; color: var(--gold-light); }
.about-body p { color: var(--ink-muted); margin-bottom: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin: 24px 0; }
.contact-item {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 18px; border-radius: 12px; display: flex; flex-direction: column;
}
.contact-item span { font-size: 12px; color: var(--gold-light); }
.contact-item strong { font-size: 16px; margin-top: 2px; }
.socials { display: flex; gap: 14px; }
.socials a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.78); border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px; }
.socials a:hover { color: var(--gold-light); }

.contact-form {
  background: var(--surface); color: var(--ink); padding: 30px; border-radius: 20px;
}
.form-row { margin-bottom: 14px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: var(--ink-muted); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--ink);
}
.form-status { margin: 12px 0 0; font-size: 13px; font-weight: 600; min-height: 20px; }

/* Footer */
.footer { background: #09131A; color: rgba(255,255,255,0.68); padding: 34px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-brand strong { color: #fff; letter-spacing: .1em; display: block; margin-bottom: 4px; }
.footer-brand p { margin: 0; }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 19, 26, 0.78); backdrop-filter: blur(6px); }
.modal-dialog {
  position: relative; z-index: 2; background: var(--surface); border-radius: 20px;
  max-height: 92vh; overflow-y: auto; width: min(980px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.blog-modal-dialog { width: min(820px, 100%); }
.modal-close {
  position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: var(--dark); color: #fff; font-size: 22px; cursor: pointer;
}
.modal-body { padding: 28px; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #111; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(15,29,39,0.75); color: #fff; font-size: 20px; cursor: pointer;
}
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-counter {
  position: absolute; bottom: 12px; right: 12px; background: rgba(15,29,39,0.8);
  color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px;
}
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; }
.gallery-thumbs img {
  width: 78px; height: 54px; object-fit: cover; border-radius: 8px; cursor: pointer;
  opacity: .55; border: 2px solid transparent; flex-shrink: 0;
}
.gallery-thumbs img.active { opacity: 1; border-color: var(--gold); }
.feat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.feat-chip { background: var(--bg-tint); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }

.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 20px; }
.article-content h3 { font-family: var(--font-serif); font-size: 1.55rem; margin: 22px 0 8px; }
.article-content p { color: var(--ink-muted); margin: 0 0 14px; }

/* Floating WA */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,0.4);
}
.wa-float:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 980px) {
  .prop-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roi-card, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 20px; gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav.open { display: flex; }
  .menu-btn { display: flex; }
  .filter-bar { grid-template-columns: 1fr; }
  .prop-grid, .blog-grid, .services-grid, .form-row-2 { grid-template-columns: 1fr; }
}
