:root {
  --brand: #d8a044;
  --brand-dark: #171411;
  --gold-light: #ffe0a0;
  --ink: #201b16;
  --muted: #756b60;
  --line: #e7dcc8;
  --soft: #fbf7ee;
  --white: #fff;
  --shadow: 0 18px 48px rgba(24, 18, 10, .16);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Roboto, Arial, sans-serif;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: #0e0d0b;
  color: var(--gold-light);
  font-size: 14px;
}
.topbar .container, .brand-row, .nav-row, .footer-grid, .contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.topbar .container { min-height: 42px; flex-wrap: wrap; }
.brand-row {
  padding: 20px 0;
  background: #15120f;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  color: var(--gold-light);
  letter-spacing: .03em;
}
.logo img {
  width: 76px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 1px solid rgba(216, 160, 68, .45);
}
.logo small { color: #d6c2a0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.contact-row { flex-wrap: wrap; color: #e9d4ad; font-size: 14px; }
.contact-chip { display: grid; gap: 2px; }
.contact-chip strong { color: var(--gold-light); }
.nav-shell {
  background: linear-gradient(90deg, #0f0d0b, #2c2115, #0f0d0b);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}
.nav-row { min-height: 58px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a, .dropbtn {
  padding: 19px 16px;
  color: #fff;
  font-weight: 600;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
}
.nav-links a:hover, .dropdown:hover .dropbtn { background: rgba(216, 160, 68, .18); color: var(--gold-light); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { color: var(--ink); display: block; padding: 13px 16px; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.5); color: #fff; background: transparent; padding: 10px 12px; border-radius: 6px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, #b47722, #f1c46e); color: #17110b; }
.btn-dark { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--gold-light); background: rgba(0,0,0,.18); }
.hero {
  min-height: 620px;
  background-image: linear-gradient(90deg, rgba(9, 8, 7, .92), rgba(39, 28, 15, .67)), url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  display: grid;
  align-items: center;
}
.hero-logo {
  width: 180px;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 224, 160, .45);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
  margin-bottom: 24px;
}
.hero h1, .page-hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; margin: 0 0 18px; max-width: 790px; }
.hero p, .page-hero p { font-size: 19px; line-height: 1.7; max-width: 700px; margin: 0 0 28px; color: #f5ead6; }
.search-panel {
  margin-top: 36px;
  background: #fff;
  color: var(--ink);
  padding: 18px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) auto;
  gap: 12px;
  max-width: 1060px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  min-height: 46px;
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 112px; padding-top: 12px; resize: vertical; }
section { padding: 76px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.eyebrow { color: var(--brand); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h2 { color: var(--brand-dark); font-size: clamp(28px, 3vw, 42px); margin: 8px 0 0; }
.lead { color: var(--muted); line-height: 1.75; max-width: 720px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service, .property-card, .post-card, .job, .info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.service, .job, .info-card { padding: 26px; }
.service h3, .job h3, .info-card h3 { color: var(--brand-dark); margin: 8px 0 10px; }
.service p, .job p, .info-card p, .post-card p { color: var(--muted); line-height: 1.7; }
.icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}
.property-img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.property-body { padding: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { background: #fff4dd; color: #6c4214; padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.price { color: var(--brand); font-size: 22px; font-weight: 900; margin: 8px 0; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.band { background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feature-img { border-radius: 8px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.stat strong { color: var(--brand-dark); font-size: 30px; display: block; }
.cta {
  background: linear-gradient(135deg, #0f0d0b, #3b2812);
  color: #fff;
}
.cta h2 { color: #fff; }
.cta .lead { color: #f5ead6; }
.page-hero {
  background: linear-gradient(90deg, rgba(14, 13, 11, .92), rgba(73, 49, 21, .62)), url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80");
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 96px 0;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn { border: 1px solid var(--line); background: #fff; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.filter-btn.active { border-color: var(--brand); color: #fff; background: var(--brand); }
.post-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.post-card div { padding: 20px; }
.form-card { border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 12px; }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.footer {
  background: #0e0d0b;
  color: #d6c2a0;
  padding: 56px 0 24px;
}
.footer-grid { align-items: flex-start; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer h3, .footer h4 { color: #fff; }
.footer a { display: block; color: #d6c2a0; margin: 9px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 14px; }
.detail-hero { padding: 44px 0; background: var(--soft); }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 24px; }
.gallery img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 8px; }
.sticky-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 40;
}
.sticky-actions a { box-shadow: var(--shadow); }
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 60;
}
.popup-backdrop.open { display: flex; }
.popup-card {
  width: min(460px, 100%);
  position: relative;
}
.popup-card .form-card {
  border-color: rgba(216, 160, 68, .42);
  background: linear-gradient(180deg, #fff, #fffaf0);
}
.popup-close {
  position: absolute;
  top: -14px;
  right: -12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: #12100e;
  color: var(--gold-light);
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}
@media (max-width: 900px) {
  .brand-row, .contact-row { align-items: flex-start; }
  .contact-row { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; width: 100%; align-items: stretch; }
  .nav-links.open { display: grid; }
  .nav-row { flex-wrap: wrap; padding: 8px 0; }
  .nav-links a, .dropbtn { padding: 13px 12px; text-align: left; width: 100%; }
  .dropdown-menu { position: static; display: block; box-shadow: none; border: 0; background: rgba(255,255,255,.1); color: #fff; }
  .dropdown-menu a { color: #fff; padding-left: 28px; }
  .search-panel, .grid-3, .grid-2, .split, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 680px; }
  .section-head { display: block; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar .container { display: block; padding: 10px 0; }
  section { padding: 54px 0; }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .search-panel { margin-top: 24px; }
  .sticky-actions { left: 12px; right: 12px; grid-template-columns: 1fr 1fr; }
}
