:root {
  --ink: #1b1b1b;
  --muted: #6c6c6c;
  --line: #e7e7e7;
  --bg: #ffffff;
  --bg-alt: #f6f4f1;
  --accent: #c9a24b;
  --dark: #171717;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar { background: var(--dark); color: #d9d9d9; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__contact a:hover { color: #fff; }
.topbar .sep { margin: 0 10px; opacity: .4; }
.topbar__lang span { border: 1px solid #444; padding: 2px 8px; border-radius: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand__logo { height: 42px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__link { font-size: 14px; font-weight: 500; color: #2a2a2a; transition: color .15s; }
.nav__link:hover { color: var(--accent); }
.nav__assistant {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; color: #fff;
  background: var(--dark); border: 0; border-radius: 999px; padding: 10px 18px;
  transition: background .15s, transform .05s;
}
.nav__assistant:hover { background: #000; }
.nav__assistant:active { transform: translateY(1px); }
.nav__assistant .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(201,162,75,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(201,162,75,.55)} 70%{box-shadow:0 0 0 8px rgba(201,162,75,0)} 100%{box-shadow:0 0 0 0 rgba(201,162,75,0)} }
.hamburger { display: none; font-size: 22px; background: none; border: 0; cursor: pointer; }

/* Hero */
.hero { position: relative; height: 640px; display: flex; align-items: center; color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.15)); }
.hero__content { position: relative; }
.hero__title { font-size: 52px; font-weight: 600; line-height: 1.15; max-width: 760px; margin: 0 0 28px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 14px; padding: 13px 26px; border-radius: 4px; cursor: pointer; transition: all .15s; border: 1.5px solid transparent; }
.btn--solid { background: var(--accent); color: #1a1a1a; }
.btn--solid:hover { background: #b98f38; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* Filters */
.filters { background: var(--dark); }
.filters__inner { display: flex; gap: 16px; align-items: end; padding: 22px 24px; flex-wrap: wrap; }
.filter { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 150px; }
.filter label { color: #b9b9b9; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.filter select { padding: 11px 12px; border-radius: 4px; border: 1px solid #3a3a3a; background: #222; color: #fff; font-family: inherit; font-size: 14px; }
.filters__btn { height: 44px; }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 34px; }
.section__head--center { justify-content: center; text-align: center; }
.section__title { font-size: 30px; font-weight: 600; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.section__link { color: var(--muted); font-size: 14px; font-weight: 500; }
.section__link:hover { color: var(--accent); }

/* Grid + property cards */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.10); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 4/3; background: #eee; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--dark); color: #fff; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 3px; }
.card__body { padding: 16px 18px 20px; }
.card__addr { font-weight: 600; font-size: 15px; margin: 0 0 10px; }
.card__meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.card__price { color: var(--ink); font-weight: 600; }

/* Services */
.service { text-align: center; padding: 30px 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.section--alt .service, .service { background: #fff; }
.service__icon { font-size: 32px; margin-bottom: 12px; }
.service h3 { font-size: 17px; margin: 0 0 10px; }
.service p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.link { color: var(--accent); font-weight: 600; font-size: 14px; }
.link:hover { text-decoration: underline; }

/* Feature bands */
.features { padding: 20px 0 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; }
.feature--reverse .feature__media { order: 2; }
.feature__media img { border-radius: 10px; aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.feature__body h3 { font-size: 26px; font-weight: 600; margin: 0 0 12px; }
.feature__body p { color: var(--muted); margin: 0 0 16px; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.stars--gold { color: var(--accent); }
.review__text { font-size: 14px; color: #333; margin: 0 0 16px; }
.review__name { font-weight: 600; font-size: 14px; }

/* About */
.about { padding: 80px 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about__media img { border-radius: 10px; }
.about__body h2 { font-size: 26px; font-weight: 600; line-height: 1.3; margin: 0 0 16px; }
.about__body p { color: var(--muted); margin: 0 0 22px; }
.about__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--dark); color: #cfcfcf; padding: 56px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer__logo { height: 40px; margin-bottom: 16px; }
.footer__muted { color: #9a9a9a; font-size: 14px; margin: 4px 0; }
.footer__muted a:hover { color: #fff; }
.footer__col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
.footer__col a { display: block; color: #b6b6b6; font-size: 14px; padding: 4px 0; }
.footer__col a:hover { color: #fff; }
.reviews-badge { background: #222; border-radius: 8px; padding: 16px; text-align: center; margin-bottom: 14px; }
.reviews-badge__score { font-size: 26px; font-weight: 700; color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; background: #2a2a2a; border-radius: 50%; color: #fff; }
.social a:hover { background: var(--accent); color: #1a1a1a; }
.footer__bottom { border-top: 1px solid #2c2c2c; margin-top: 44px; padding: 20px 0; font-size: 13px; color: #8f8f8f; }

/* Floating button */
.fab { position: fixed; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--dark); color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.28); z-index: 45; transition: transform .12s; }
.fab:hover { transform: scale(1.06); }

/* To top */
.to-top { position: fixed; left: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; z-index: 45; }

/* Chat drawer */
.chat { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.chat.open { visibility: visible; }
.chat__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
.chat.open .chat__scrim { opacity: 1; }
.chat__panel { position: absolute; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -10px 0 40px rgba(0,0,0,.2); }
.chat.open .chat__panel { transform: translateX(0); }
.chat__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--dark); color: #fff; }
.chat__title { font-weight: 600; }
.chat__sub { font-size: 12px; color: #b3b3b3; }
.chat__close { background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; }
.chat__messages { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.msg--bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--user { background: var(--dark); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg--typing { color: var(--muted); font-style: italic; }
.chat__form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }
.chat__input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 14px; outline: none; }
.chat__input:focus { border-color: var(--accent); }
.chat__send { width: 44px; border: 0; border-radius: 50%; background: var(--accent); color: #1a1a1a; font-size: 16px; cursor: pointer; }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .hero__title { font-size: 36px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature, .about__inner { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { height: 540px; }
}
