/* LuxuryProperty.com — investor microsite stylesheet
   Palette: dark cinematic + warm stone editorial + restrained bronze.
   Type: Cormorant Garamond (display) + Inter (body) + Noto Kufi Arabic (AR). */

:root {
  --bg: #0E1114;
  --surface: #F7F5F1;
  --surface-2: #EEEAE1;
  --text: #16181B;
  --text-soft: #2A2D31;
  --muted: #6E746F;
  --primary: #B8995E;
  --primary-deep: #9C7E47;
  --secondary: #16313F;
  --accent: #DED1BD;
  --border: #DED8CC;
  --border-soft: #E8E2D5;
  --focus: #D2AD68;
  --on-dark-muted: rgba(255,255,255,0.62);
  --on-dark-soft: rgba(255,255,255,0.16);
  --on-dark-border: rgba(255,255,255,0.14);

  --serif: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --arabic: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;

  --sp-sec: clamp(80px, 9vw, 140px);
  --sp-sec-tight: clamp(56px, 6vw, 96px);
  --maxw: 1320px;
}

[data-density="compact"] {
  --sp-sec: clamp(64px, 7vw, 112px);
  --sp-sec-tight: clamp(44px, 5vw, 72px);
}

[lang="ar"] body { font-family: var(--arabic); }
[lang="ar"] .lp-h1, [lang="ar"] .lp-h2, [lang="ar"] .lp-h3,
[lang="ar"] .lp-modal-title, [lang="ar"] .lp-card-title,
[lang="ar"] .lp-hero-sub, [lang="ar"] .lp-body,
[lang="ar"] .lp-sub { font-family: var(--arabic); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--surface); }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--surface);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ─── containers / shared ─── */
.lp-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.lp-section { padding: var(--sp-sec) 0; }

.lp-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 0;
  color: white;
}
.lp-h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 18px;
  color: var(--text);
}
.lp-h2.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 64px);
  letter-spacing: -0.01em;
}
.lp-h2.on-dark { color: white; }
.lp-h3 { font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.2; margin: 0; }

.lp-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
.lp-sub.on-dark { color: var(--on-dark-muted); }
.lp-body {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
  text-wrap: pretty;
}
[lang="ar"] .lp-body { line-height: 1.95; font-size: 17px; }

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}
[lang="ar"] .lp-eyebrow { letter-spacing: 0; font-size: 12px; }
.lp-eyebrow.on-dark { color: var(--accent); }
.lp-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lp-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  vertical-align: middle;
  margin-inline-end: 6px;
}
.lp-dot.live {
  background: #4ECF8B;
  box-shadow: 0 0 0 0 rgba(78, 207, 139, 0.6);
  animation: lp-pulse 2.4s ease-out infinite;
}
@keyframes lp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(78,207,139,0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(78,207,139,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,207,139,0); }
}

.lp-link { color: var(--text); border-bottom: 1px solid var(--border); transition: border-color .2s; }
.lp-link:hover { border-bottom-color: var(--primary); }
.lp-link.on-dark { color: white; border-bottom-color: var(--on-dark-soft); }

.lp-sechead { margin-bottom: 48px; }
.lp-sechead.align-center { text-align: center; }
.lp-sechead.align-center .lp-eyebrow { display: inline-flex; }
.lp-sechead.align-center .lp-sub { margin-left: auto; margin-right: auto; }

/* ─── buttons / pills ─── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: all .25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
[lang="ar"] .lp-btn { letter-spacing: 0; text-transform: none; font-weight: 500; }
.lp-btn.sm { padding: 10px 16px; font-size: 12px; }
.lp-btn.full { width: 100%; justify-content: center; }
.lp-btn-primary {
  background: var(--primary);
  color: #0E1114;
  border-color: var(--primary);
}
.lp-btn-primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  transform: translateY(-1px);
}
.lp-btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.lp-btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.lp-btn-ghost.on-dark {
  color: white;
  border-color: rgba(255,255,255,0.32);
}
.lp-btn-ghost.on-dark:hover { background: rgba(255,255,255,0.06); border-color: white; }

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: all .2s;
}
.lp-pill:hover { border-color: var(--text); }
.lp-pill.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}
.lp-pill.on-dark {
  color: var(--on-dark-muted);
  border-color: var(--on-dark-border);
}
.lp-pill.on-dark.active { background: white; color: var(--text); border-color: white; }

/* ─── NAV ─── */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all .3s ease;
  background: transparent;
}
.lp-nav.scrolled {
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border-soft);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 56px);
  gap: 32px;
  transition: padding .3s;
}
.lp-nav.scrolled .lp-nav-inner { padding-top: 14px; padding-bottom: 14px; }

.lp-nav-logo { display: flex; align-items: center; }
.lp-logo-img { height: 22px; width: auto; }
.lp-logo-text {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: inherit;
}
.lp-logo-tld { font-weight: 400; }
.lp-logo-r { font-size: 9px; vertical-align: super; margin-left: 1px; opacity: 0.7; }
.lp-nav:not(.scrolled) .lp-logo-text { color: white; }

.lp-nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.lp-nav-links a {
  color: white;
  opacity: 0.85;
  transition: opacity .2s;
  position: relative;
  padding: 4px 0;
}
.lp-nav.scrolled .lp-nav-links a { color: var(--text); opacity: 0.78; }
.lp-nav-links a:hover { opacity: 1; }
.lp-nav-links a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--primary);
}
@media (max-width: 980px) { .lp-nav-links { display: none; } }

.lp-nav-actions { display: flex; align-items: center; gap: 12px; }

/* locale switcher */
.lp-locale { position: relative; }
.lp-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 1px;
  transition: all .2s;
}
.lp-nav.scrolled .lp-locale-btn {
  color: var(--text);
  border-color: var(--border);
}
.lp-locale-btn:hover { border-color: var(--primary); color: var(--primary); }
.lp-locale-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 180px;
  background: white;
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.02);
  padding: 6px;
  z-index: 60;
}
.lp-locale-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  text-align: start;
}
.lp-locale-opt:hover { background: var(--surface-2); }
.lp-locale-opt .code {
  font-weight: 600; min-width: 24px;
  color: var(--primary); font-size: 11px; letter-spacing: 0.08em;
}
.lp-locale-opt .name { flex: 1; }
.lp-locale-opt.active { color: var(--primary); }

/* ─── HERO ─── */
.lp-hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 0;
}
.lp-hero-media { position: absolute; inset: 0; z-index: 0; }
.lp-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: lp-kenburns 22s ease-out forwards;
  transform-origin: center 70%;
}
@keyframes lp-kenburns {
  0% { transform: scale(1.08); }
  100% { transform: scale(1.18); }
}
.lp-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,17,20,0.62) 0%, rgba(14,17,20,0.15) 30%, rgba(14,17,20,0.45) 78%, rgba(14,17,20,0.95) 100%),
    linear-gradient(90deg, rgba(14,17,20,0.55) 0%, rgba(14,17,20,0) 60%);
}
.lp-hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6; mix-blend-mode: overlay; pointer-events: none;
}

.lp-hero-content {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) clamp(56px, 6vw, 96px);
  width: 100%;
}
.lp-hero-content .lp-eyebrow { color: var(--accent); margin-bottom: 28px; }
.lp-hero-sub {
  max-width: 56ch;
  color: var(--on-dark-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  margin: 24px 0 36px;
  font-weight: 300;
}
.lp-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.lp-hero-meta {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px) 28px;
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--on-dark-border);
  padding-top: 24px;
  margin-top: clamp(40px, 5vw, 72px);
  width: calc(100% - 0px);
}
.lp-hero-meta-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lp-hero-meta-item .k {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--on-dark-muted); font-weight: 500;
}
.lp-hero-meta-item .v {
  font-size: 14px; color: white; font-weight: 400;
  display: flex; align-items: center; gap: 6px;
}

/* ─── SEARCH ─── */
.lp-search-wrap {
  background: var(--surface);
  margin-top: -32px;
  position: relative; z-index: 3;
}
.lp-search {
  max-width: var(--maxw);
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border-soft);
  margin-left: clamp(20px, 4vw, 56px);
  margin-right: clamp(20px, 4vw, 56px);
  margin-bottom: 0;
  padding: 28px clamp(20px, 3vw, 36px) 22px;
  box-shadow: 0 30px 60px -30px rgba(14,17,20,0.18);
}
.lp-search-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-soft); margin-bottom: 22px; }
.lp-search-tab {
  padding: 12px 20px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.lp-search-tab:hover { color: var(--text); }
.lp-search-tab.active {
  color: var(--text);
  border-bottom-color: var(--primary);
}
.lp-search-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 900px) {
  .lp-search-fields { grid-template-columns: repeat(2, 1fr); }
  .lp-search-go { grid-column: 1 / -1; }
}
.lp-field {
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  padding: 8px 16px 8px 0;
}
.lp-field + .lp-field { border-inline-start: 1px solid var(--border-soft); padding-inline-start: 16px; }
.lp-field-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--muted);
}
.lp-field-sel, .lp-field-inp {
  background: transparent;
  border: 0;
  padding: 4px 0;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
}
.lp-field-sel { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181B' stroke-width='1.5'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-inline-end: 18px; }
[dir="rtl"] .lp-field-sel { background-position: left 0 center; }

.lp-search-go {
  background: var(--text);
  color: white;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 8px;
  transition: background .2s;
}
[lang="ar"] .lp-search-go { letter-spacing: 0; text-transform: none; }
.lp-search-go:hover { background: var(--primary); color: var(--bg); }
.lp-search-go-lbl { white-space: nowrap; }

.lp-search-hint {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px dashed var(--border-soft);
}

/* ─── STATS ─── */
.lp-stats { padding: var(--sp-sec-tight) 0; background: var(--surface); }
.lp-stats-head { max-width: 720px; margin-bottom: 56px; }
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .lp-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-stat {
  padding: 36px 28px;
  border-inline-start: 1px solid var(--border);
}
.lp-stat:first-child { border-inline-start: 0; }
@media (max-width: 900px) { .lp-stat:nth-child(odd) { border-inline-start: 0; } }
.lp-stat-v {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
[lang="ar"] .lp-stat-v { font-family: var(--arabic); font-weight: 500; }
.lp-stat-k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 6px;
}
.lp-stat-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── COMMUNITIES ─── */
.lp-communities { background: var(--surface); }
.lp-communities-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .lp-communities-grid { grid-template-columns: 1fr; } }
.lp-community {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform .4s;
}
.lp-community:hover { transform: translateY(-2px); }
.lp-community-0 { grid-column: span 7; min-height: 480px; }
.lp-community-1 { grid-column: span 5; min-height: 480px; }
.lp-community-2 { grid-column: span 5; min-height: 380px; }
.lp-community-3 { grid-column: span 7; min-height: 380px; }
@media (max-width: 900px) {
  .lp-community-0, .lp-community-1, .lp-community-2, .lp-community-3 {
    grid-column: 1 / -1; min-height: 360px;
  }
}
.lp-community-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s ease;
}
.lp-community:hover .lp-community-img { transform: scale(1.04); }
.lp-community-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,17,20,0.05) 0%, rgba(14,17,20,0.15) 40%, rgba(14,17,20,0.86) 100%);
}
.lp-community-body { position: relative; z-index: 2; padding: 32px; color: white; }
.lp-community-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}
.lp-community-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
[lang="ar"] .lp-community-name { font-family: var(--arabic); font-weight: 500; }
.lp-community-blurb {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--on-dark-muted);
  max-width: 36ch;
}
.lp-community-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--primary);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--primary);
  transition: gap .2s;
}
.lp-community:hover .lp-community-cta { gap: 12px; }
[lang="ar"] .lp-community-cta { letter-spacing: 0; text-transform: none; }

/* ─── COMMUNITY STORY ─── */
.lp-story { background: white; }
.lp-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .lp-story-grid { grid-template-columns: 1fr; } }
.lp-story-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.lp-story-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-story-badge {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  background: rgba(14,17,20,0.78);
  color: white;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}
[lang="ar"] .lp-story-badge { letter-spacing: 0; text-transform: none; }

.lp-story-text .lp-h2 { margin-bottom: 28px; max-width: 18ch; }

.lp-facts {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) { .lp-facts { grid-template-columns: 1fr; } }
.lp-fact {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.lp-fact:nth-child(odd) { padding-inline-end: 24px; }
.lp-fact:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--border); }
@media (max-width: 600px) {
  .lp-fact:nth-child(even) { padding-inline-start: 0; border-inline-start: 0; }
}
.lp-fact dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 6px;
}
[lang="ar"] .lp-fact dt { letter-spacing: 0; text-transform: none; font-size: 12px; }
.lp-fact dd { margin: 0; font-size: 15px; color: var(--text); font-weight: 400; }
.lp-facts.on-dark { border-top-color: var(--on-dark-border); }
.lp-facts.on-dark .lp-fact { border-bottom-color: var(--on-dark-border); border-inline-start-color: var(--on-dark-border); }
.lp-facts.on-dark .lp-fact dd { color: white; }

/* ─── LISTINGS ─── */
.lp-listings { background: var(--surface); }
.lp-listings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.lp-listings-head .lp-h2 { margin-bottom: 14px; max-width: 18ch; }

.lp-feed-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 99px;
}

.lp-listings-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

.lp-listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .lp-listings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-listings-grid { grid-template-columns: 1fr; } }

.lp-card {
  background: white;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.lp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px rgba(14,17,20,0.16);
  border-color: var(--border);
}
.lp-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.lp-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.lp-card:hover .lp-card-img { transform: scale(1.05); }
.lp-card-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: white;
  color: var(--text);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
}
[lang="ar"] .lp-card-tag { letter-spacing: 0; text-transform: none; }
.lp-card-sample {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: rgba(184,153,94,0.92);
  color: #16181B;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
}
[lang="ar"] .lp-card-sample { letter-spacing: 0; text-transform: none; }
.lp-card-fav {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  display: grid; place-items: center;
  transition: all .2s;
}
.lp-card-fav:hover { background: var(--primary); color: var(--bg); }

.lp-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lp-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
[lang="ar"] .lp-card-row { letter-spacing: 0; text-transform: none; font-size: 12px; }
.lp-card-community { color: var(--primary); font-weight: 500; }
.lp-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--text);
}
[lang="ar"] .lp-card-title { font-family: var(--arabic); font-weight: 500; font-size: 20px; }
.lp-card-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-soft);
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.lp-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lp-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.lp-card-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.lp-card-actions { display: flex; gap: 6px; }
.lp-card-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 8px 12px;
  background: var(--surface-2);
  transition: all .2s;
}
.lp-card-act:hover { background: var(--text); color: white; }
.lp-card-act.ghost { background: transparent; border: 1px solid var(--border); padding: 8px 10px; }
.lp-card-act.ghost:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

.lp-listings-foot {
  margin-top: 32px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── OFF-PLAN ─── */
.lp-offplan { background: var(--bg); color: white; }
.lp-offplan-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 900px) { .lp-offplan-card { grid-template-columns: 1fr; } }
.lp-offplan-img {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.lp-offplan-img img {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  object-fit: cover;
}
.lp-offplan-img-shade {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,49,63,0.0) 0%, rgba(22,49,63,0.4) 100%);
}
.lp-offplan-img-tag {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 22px;
  background: rgba(0,0,0,0.62);
  color: white;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}
[lang="ar"] .lp-offplan-img-tag { letter-spacing: 0; text-transform: none; }
.lp-offplan-body { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; }
.lp-offplan-body .lp-h2 { margin-bottom: 14px; max-width: 16ch; }
.lp-offplan-sub {
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
[lang="ar"] .lp-offplan-sub { letter-spacing: 0; text-transform: none; }
.lp-offplan-summary {
  color: var(--on-dark-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 8px;
  max-width: 48ch;
}
.lp-offplan-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.lp-offplan-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--on-dark-muted);
  font-style: italic;
}

/* ─── EDITORIAL ─── */
.lp-editorial { background: var(--surface); }
.lp-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .lp-editorial-grid { grid-template-columns: 1fr; } }
.lp-edit-card {
  position: relative;
  background: white;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.lp-edit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -24px rgba(14,17,20,0.14);
}
.lp-edit-0 { grid-column: span 6; }
.lp-edit-1 { grid-column: span 6; }
.lp-edit-2 { grid-column: span 6; }
.lp-edit-3 { grid-column: span 6; }
@media (max-width: 900px) {
  .lp-edit-0, .lp-edit-1, .lp-edit-2, .lp-edit-3 { grid-column: 1 / -1; }
}
.lp-edit-img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.lp-edit-body { padding: 26px 28px 28px; }
.lp-edit-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
}
[lang="ar"] .lp-edit-tag { letter-spacing: 0; text-transform: none; font-size: 12px; }
.lp-edit-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 1.6vw, 28px);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
  color: var(--text);
}
[lang="ar"] .lp-edit-title { font-family: var(--arabic); font-weight: 500; }
.lp-edit-read {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: gap .2s, color .2s;
}
[lang="ar"] .lp-edit-read { letter-spacing: 0; text-transform: none; }
.lp-edit-card:hover .lp-edit-read { color: var(--primary); border-color: var(--primary); gap: 12px; }

/* ─── TEAM ─── */
.lp-team { background: white; }
.lp-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .lp-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lp-team-grid { grid-template-columns: 1fr; } }
.lp-agent {
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}
.lp-agent:hover { transform: translateY(-2px); }
.lp-agent-img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 18px;
}
.lp-agent-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.85);
  transition: transform .6s, filter .4s;
}
.lp-agent:hover .lp-agent-img { transform: scale(1.04); filter: saturate(1); }
.lp-agent-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
  color: var(--text);
}
[lang="ar"] .lp-agent-name { font-family: var(--arabic); font-weight: 500; font-size: 19px; }
.lp-agent-title { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.lp-agent-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
[lang="ar"] .lp-agent-meta { letter-spacing: 0; font-size: 12px; }
.lp-agent-brn { color: var(--primary); }
.lp-agent-actions { display: flex; gap: 6px; }
.lp-agent-act {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 12px;
  background: var(--surface-2);
  color: var(--text);
  text-align: center;
  transition: all .2s;
}
[lang="ar"] .lp-agent-act { letter-spacing: 0; text-transform: none; font-size: 12px; }
.lp-agent-act:hover { background: var(--text); color: white; }
.lp-agent-act.ghost {
  flex: 0; padding: 10px 12px;
  background: transparent; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
}
.lp-agent-act.ghost:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

.lp-team-foot {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.lp-team-foot code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  background: var(--surface-2);
  padding: 2px 6px;
  color: var(--text);
}

/* ─── SELL ─── */
.lp-sell { background: var(--secondary); color: white; }
.lp-sell-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .lp-sell-inner { grid-template-columns: 1fr; } }
.lp-sell-text .lp-h2 { max-width: 22ch; margin-bottom: 18px; }
.lp-sell-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lp-sell-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: white;
  opacity: 0.85;
  transition: opacity .2s;
}
.lp-sell-wa:hover { opacity: 1; color: var(--accent); }

/* ─── CONTACT ─── */
.lp-contact { background: var(--surface); }
.lp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .lp-contact-grid { grid-template-columns: 1fr; } }

.lp-contact-info .lp-h2 { margin-bottom: 18px; max-width: 16ch; }
.lp-contact-info .lp-sub { margin-bottom: 36px; }

.lp-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.lp-contact-list li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 600px) { .lp-contact-list li { grid-template-columns: 1fr; gap: 6px; } }
.lp-contact-list .k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--muted);
}
[lang="ar"] .lp-contact-list .k { letter-spacing: 0; text-transform: none; font-size: 12px; }
.lp-contact-list .v { font-size: 15px; color: var(--text); font-weight: 400; }

.lp-contact-form {
  background: white;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lp-field.block { width: 100%; padding: 0; }
.lp-field.block + .lp-field.block { border-inline-start: 0; padding-inline-start: 0; }
.lp-field.block .lp-field-inp {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 15px;
  width: 100%;
}
.lp-field.block .lp-field-inp:focus {
  outline: 0;
  border-bottom-color: var(--primary);
}
.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .lp-field-row { grid-template-columns: 1fr; } }
.lp-consent {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
  align-items: flex-start;
}
.lp-consent input { margin-top: 3px; accent-color: var(--primary); }

.lp-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0;
  gap: 16px;
}
.lp-form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: grid; place-items: center;
}
.lp-form-success-icon svg { width: 20px; height: 20px; }
.lp-form-success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0;
}
[lang="ar"] .lp-form-success h3 { font-family: var(--arabic); font-weight: 500; }
.lp-form-success p { color: var(--muted); font-size: 14px; margin: 0; max-width: 36ch; }
.lp-form-success .lp-link { font-size: 13px; font-weight: 500; }

/* ─── FOOTER ─── */
.lp-footer {
  background: var(--bg);
  color: white;
  padding: 80px 0 32px;
}
.lp-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--on-dark-border);
}
@media (max-width: 900px) {
  .lp-footer-top { grid-template-columns: 1fr 1fr; }
  .lp-footer-brand { grid-column: 1 / -1; }
}
.lp-footer-brand { max-width: 360px; }
.lp-footer-brand .lp-logo-img { height: 24px; margin-bottom: 22px; }
.lp-footer-tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--on-dark-muted);
  margin: 0 0 22px;
}
[lang="ar"] .lp-footer-tagline { font-family: var(--arabic); font-weight: 400; }
.lp-footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }

.lp-footer-col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
}
[lang="ar"] .lp-footer-col-title { letter-spacing: 0; text-transform: none; font-size: 13px; }
.lp-footer-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-footer-col a {
  font-size: 14px;
  color: var(--on-dark-muted);
  transition: color .2s;
}
.lp-footer-col a:hover { color: white; }

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.lp-footer-compliance {
  font-size: 11px;
  color: var(--on-dark-muted);
  max-width: 60ch;
  line-height: 1.6;
}
.lp-footer-copy {
  font-size: 11px;
  color: var(--on-dark-muted);
}

/* ─── MOBILE LEAD BAR ─── */
.lp-mlb {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--on-dark-border);
  padding: 10px;
  gap: 6px;
}
@media (max-width: 720px) { .lp-mlb { display: flex; } body { padding-bottom: 70px; } }
.lp-mlb-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-size: 12px;
  font-weight: 500;
  color: white;
  background: transparent;
  border: 1px solid var(--on-dark-border);
}
.lp-mlb-btn.primary {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  flex: 1.4;
}

/* ─── MODALS ─── */
.lp-modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(14,17,20,0.72);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: lp-fade-in .2s ease-out;
}
@keyframes lp-fade-in { from { opacity: 0; } to { opacity: 1; } }
.lp-modal {
  background: white;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 36px 40px;
  position: relative;
  border: 1px solid var(--border-soft);
  animation: lp-slide-up .25s ease-out;
}
.lp-modal.wide { max-width: 720px; }
@keyframes lp-slide-up { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.lp-modal-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.lp-modal-close:hover { color: var(--text); background: var(--surface-2); }
.lp-modal-head { margin-bottom: 24px; }
.lp-modal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
[lang="ar"] .lp-modal-title { font-family: var(--arabic); font-weight: 500; }
.lp-modal-sub { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

.lp-form { display: flex; flex-direction: column; gap: 18px; }
.lp-form-body { display: contents; }

/* ─── RTL specifics ─── */
[dir="rtl"] .lp-search-go svg,
[dir="rtl"] .lp-edit-read svg,
[dir="rtl"] .lp-community-cta svg,
[dir="rtl"] .lp-btn svg,
[dir="rtl"] .lp-card-act svg {
  transform: scaleX(-1);
}
[dir="rtl"] .lp-hero-img { transform-origin: center 70%; }

/* ─── tweaks panel — slight adjustments to fit our look ─── */
.tweaks-panel { font-family: var(--sans); }
