@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy-950: #061328;
  --navy-900: #0a1c38;
  --navy-800: #102a50;
  --blue-600: #246bfe;
  --blue-500: #3b82ff;
  --ice-100: #e9f6ff;
  --ice-50: #f5fbff;
  --lime-400: #c8ff58;
  --ink: #101828;
  --muted: #667085;
  --line: #e5eaf1;
  --surface: #ffffff;
  --page: #f6f8fb;
  --sand: #f3efe7;
  --success: #17a673;
  --danger: #e5484d;
  --warning: #f2a900;
  --shadow-sm: 0 10px 30px rgba(8, 27, 55, .07);
  --shadow-md: 0 24px 70px rgba(8, 27, 55, .13);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --transition: .28s cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  font-family: 'Alexandria', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.8;
  overflow-x: hidden;
}
body::selection { background: var(--lime-400); color: var(--navy-950); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container-xl { max-width: 1260px; }
.section-space { padding: 96px 0; }
.section-space-sm { padding: 64px 0; }
.bg-white-soft { background: rgba(255,255,255,.72); }
.bg-navy { background: var(--navy-950); color: #fff; }
.text-muted-custom { color: var(--muted) !important; }
.text-blue { color: var(--blue-600); }
.text-lime { color: var(--lime-400); }
.min-w-0 { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-600);
  background: #eaf2ff;
  border: 1px solid #d6e5ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 5px rgba(36,107,254,.12);
}

.display-title {
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 1.18;
  letter-spacing: -.05em;
  font-weight: 800;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.section-title {
  font-size: clamp(1.9rem, 3.3vw, 3.65rem);
  line-height: 1.28;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.section-lead {
  color: var(--muted);
  max-width: 720px;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 2;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1040;
  padding: 14px 0;
  transition: var(--transition);
}
.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(246,248,251,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229,234,241,.9);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 14px 10px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 12px 35px rgba(8,27,55,.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand-mark { width: 42px; height: 42px; }
.brand-name { font-size: 1.08rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.brand-sub { font-family: 'Manrope', sans-serif; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 600;
  color: #344054;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { background: #eef4ff; color: var(--blue-600); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-icon-btn {
  width: 42px; height: 42px;
  display: inline-grid; place-items: center;
  background: #f2f5f9;
  border: 0;
  border-radius: 13px;
  color: var(--navy-900);
  transition: var(--transition);
}
.nav-icon-btn:hover { transform: translateY(-2px); background: var(--ice-100); }

/* Buttons */
.btn-rukn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: .91rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-rukn:hover { transform: translateY(-2px); }
.btn-primary-rukn { color: white; background: var(--blue-600); box-shadow: 0 13px 27px rgba(36,107,254,.28); }
.btn-primary-rukn:hover { color: white; background: #145eea; box-shadow: 0 16px 35px rgba(36,107,254,.35); }
.btn-dark-rukn { color: white; background: var(--navy-950); }
.btn-dark-rukn:hover { color: white; background: var(--navy-800); }
.btn-light-rukn { color: var(--navy-900); background: white; border: 1px solid var(--line); }
.btn-light-rukn:hover { color: var(--blue-600); border-color: #bcd3ff; }
.btn-lime { color: var(--navy-950); background: var(--lime-400); box-shadow: 0 15px 35px rgba(200,255,88,.2); }
.btn-lime:hover { color: var(--navy-950); background: #d6ff82; }
.btn-sm-rukn { padding: 9px 13px; border-radius: 11px; font-size: .8rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 790px;
  padding: 144px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(59,130,255,.16), transparent 28%),
    radial-gradient(circle at 12% 84%, rgba(200,255,88,.16), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fa 100%);
}
.hero::before {
  content: '';
  position: absolute;
  width: 640px; height: 640px;
  border: 1px solid rgba(36,107,254,.08);
  border-radius: 50%;
  left: -300px; top: 120px;
  box-shadow: 0 0 0 120px rgba(36,107,254,.025), 0 0 0 240px rgba(36,107,254,.02);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { color: #536074; max-width: 650px; font-size: 1.07rem; line-height: 2; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; color: var(--muted); font-size: .82rem; }
.avatar-stack { display: flex; direction: ltr; }
.avatar-stack span {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); color: white;
  border: 3px solid white;
  margin-left: -9px;
  font-size: .66rem; font-weight: 700;
}
.avatar-stack span:nth-child(2) { background: var(--blue-600); }
.avatar-stack span:nth-child(3) { background: #7c61ff; }
.avatar-stack span:nth-child(4) { background: #00a885; }
.hero-visual { position: relative; min-height: 540px; }
.hero-image-card {
  position: absolute;
  inset: 0 0 40px 40px;
  overflow: hidden;
  border-radius: 42px;
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6,19,40,.65) 100%);
}
.hero-image-caption {
  position: absolute; z-index: 2;
  right: 26px; bottom: 26px; left: 26px;
  display: flex; align-items: end; justify-content: space-between; gap: 18px;
  color: white;
}
.hero-image-caption strong { display: block; font-size: 1.2rem; }
.hero-image-caption span { color: rgba(255,255,255,.74); font-size: .78rem; }
.match-card {
  position: absolute;
  left: 0; top: 52px; z-index: 4;
  width: 190px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  padding: 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,.9);
}
.match-ring {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--blue-600) 0 89%, #eaf0f7 89% 100%);
  margin-bottom: 12px;
}
.match-ring span { width: 54px; height: 54px; border-radius: 50%; background: white; display: grid; place-items: center; font-weight: 800; color: var(--blue-600); }
.price-pill {
  position: absolute;
  right: 4px; bottom: 0; z-index: 4;
  background: var(--lime-400); color: var(--navy-950);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
  font-size: .82rem;
}
.price-pill strong { font-size: 1.08rem; }

.search-panel {
  position: relative;
  z-index: 10;
  margin-top: -45px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(20px);
  border: 1px solid white;
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 25px 65px rgba(8,27,55,.12);
}
.search-tabs { display: flex; gap: 4px; padding: 4px; background: #f1f4f8; border-radius: 14px; width: max-content; margin-bottom: 12px; }
.search-tab { border: 0; background: transparent; color: var(--muted); padding: 8px 15px; border-radius: 10px; font-size: .8rem; font-weight: 700; }
.search-tab.active { background: white; color: var(--navy-900); box-shadow: 0 5px 16px rgba(8,27,55,.08); }
.search-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr auto; gap: 9px; align-items: stretch; }
.search-field { position: relative; background: #f7f9fc; border: 1px solid #eef1f5; border-radius: 14px; padding: 8px 12px; min-width: 0; }
.search-field label { display: block; color: var(--muted); font-size: .67rem; font-weight: 600; margin-bottom: 1px; }
.search-field select, .search-field input { width: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); font-size: .84rem; font-weight: 700; padding: 0; }
.search-submit { min-width: 116px; }

/* Trust strip */
.trust-strip { background: var(--navy-950); color: white; overflow: hidden; }
.trust-inner { display: grid; grid-template-columns: repeat(6, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 18px 10px; border-left: 1px solid rgba(255,255,255,.09); font-size: .75rem; color: rgba(255,255,255,.75); }
.trust-item svg { color: var(--lime-400); flex: 0 0 auto; }

/* Cards */
.soft-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(8,27,55,.04);
  transition: var(--transition);
}
.soft-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: #d8e4f5; }
.goal-card { position: relative; min-height: 220px; padding: 24px; overflow: hidden; }
.goal-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--ice-100); color: var(--blue-600);
  margin-bottom: 28px;
}
.goal-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.goal-card p { font-size: .84rem; color: var(--muted); margin: 0; }
.goal-arrow { position: absolute; left: 20px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #f1f4f8; color: var(--navy-900); transition: var(--transition); }
.goal-card:hover .goal-arrow { background: var(--blue-600); color: white; transform: rotate(-45deg); }
.goal-card.featured { background: var(--navy-950); color: white; border-color: transparent; }
.goal-card.featured p { color: rgba(255,255,255,.65); }
.goal-card.featured .goal-icon { background: rgba(200,255,88,.15); color: var(--lime-400); }
.goal-card.featured .goal-arrow { background: var(--lime-400); color: var(--navy-950); }

.project-card { overflow: hidden; height: 100%; }
.project-thumb { position: relative; height: 270px; overflow: hidden; background: #e8edf4; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .7s cubic-bezier(.22,1,.36,1); }
.project-card:hover .project-thumb img { transform: scale(1.055); }
.project-badges { position: absolute; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.badge-rukn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: .66rem; font-weight: 700; color: var(--navy-900); }
.badge-rukn.new { background: var(--lime-400); }
.card-action-row { position: absolute; top: 14px; left: 14px; display: flex; gap: 7px; }
.circle-action { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--navy-900); transition: var(--transition); }
.circle-action:hover, .circle-action.active { background: var(--blue-600); color: white; }
.project-body { padding: 20px; }
.project-meta { display: flex; gap: 7px; flex-wrap: wrap; color: var(--muted); font-size: .72rem; margin-bottom: 9px; }
.project-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; }
.project-dev { color: var(--muted); font-size: .75rem; }
.project-price { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.project-price small { color: var(--muted); font-size: .65rem; display: block; }
.project-price strong { color: var(--navy-900); font-size: 1.13rem; }
.project-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 14px; }
.project-spec { background: #f7f9fc; border-radius: 11px; padding: 9px; text-align: center; }
.project-spec small { display: block; color: var(--muted); font-size: .58rem; }
.project-spec b { font-size: .72rem; color: #344054; }

.area-card { position: relative; min-height: 340px; border-radius: 26px; overflow: hidden; color: white; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .7s cubic-bezier(.22,1,.36,1); }
.area-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,19,40,.02), rgba(6,19,40,.82)); }
.area-card:hover img { transform: scale(1.06); }
.area-content { position: absolute; z-index: 2; right: 22px; left: 22px; bottom: 20px; }
.area-content h3 { font-weight: 800; margin: 0 0 4px; }
.area-content p { font-size: .74rem; color: rgba(255,255,255,.68); margin: 0; }
.area-stats { margin-top: 14px; display: flex; gap: 14px; font-size: .67rem; }

/* Process */
.process-wrap { position: relative; }
.process-line { position: absolute; top: 42px; right: 8%; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, #cbd8ec 10%, #cbd8ec 90%, transparent); }
.process-step { position: relative; text-align: center; padding: 0 14px; }
.process-number { position: relative; z-index: 2; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 26px; display: grid; place-items: center; background: white; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--blue-600); font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 800; }
.process-step h4 { font-size: .96rem; font-weight: 800; }
.process-step p { color: var(--muted); font-size: .75rem; }

/* CTA */
.quiz-banner { position: relative; overflow: hidden; border-radius: 38px; background: var(--navy-950); color: white; padding: 62px; }
.quiz-banner::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 85px solid rgba(59,130,255,.16); left: -100px; top: -80px; }
.quiz-banner::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(200,255,88,.08); right: -80px; bottom: -130px; }
.quiz-banner > * { position: relative; z-index: 2; }
.quiz-progress { display: flex; gap: 7px; margin: 22px 0; max-width: 420px; }
.quiz-progress span { height: 5px; flex: 1; border-radius: 999px; background: rgba(255,255,255,.15); }
.quiz-progress span.active { background: var(--lime-400); }

.story-card { height: 100%; padding: 25px; }
.story-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.story-avatar { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--ice-100); color: var(--blue-600); font-weight: 800; }
.story-card blockquote { margin: 0; font-size: .87rem; line-height: 2; color: #344054; }
.story-result { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.story-result span { font-size: .65rem; color: var(--muted); }
.story-result b { display: block; color: var(--navy-900); font-size: .77rem; }

.insight-card { overflow: hidden; height: 100%; }
.insight-thumb { height: 205px; overflow: hidden; }
.insight-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.insight-card:hover img { transform: scale(1.04); }
.insight-body { padding: 20px; }
.insight-category { color: var(--blue-600); font-size: .68rem; font-weight: 800; }
.insight-title { font-weight: 800; line-height: 1.55; margin: 8px 0; }
.insight-meta { color: var(--muted); font-size: .68rem; }

/* Inner pages */
.page-hero { padding: 160px 0 70px; background: radial-gradient(circle at 80% 15%, rgba(59,130,255,.13), transparent 28%), #f7faff; border-bottom: 1px solid var(--line); }
.page-hero.compact { padding-bottom: 48px; }
.breadcrumb-rukn { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .72rem; }
.breadcrumb-rukn a:hover { color: var(--blue-600); }

.filter-panel { position: sticky; top: 105px; padding: 20px; }
.filter-section { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-section:first-child { padding-top: 0; }
.filter-section:last-child { border-bottom: 0; }
.filter-title { font-size: .83rem; font-weight: 800; margin-bottom: 12px; }
.form-control-rukn, .form-select-rukn {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 13px;
  outline: none;
  color: var(--ink);
  font-size: .8rem;
  transition: var(--transition);
}
.form-control-rukn:focus, .form-select-rukn:focus { background: white; border-color: #9ebfff; box-shadow: 0 0 0 4px rgba(36,107,254,.08); }
.check-pill { display: inline-flex; margin: 0 0 7px 5px; }
.check-pill input { display: none; }
.check-pill > span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); font-size: .7rem; cursor: pointer; background: white; transition: var(--transition); }
.check-pill input:checked + span { color: var(--blue-600); background: #edf4ff; border-color: #bcd3ff; font-weight: 700; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.view-switch { display: flex; gap: 5px; background: #eef2f6; padding: 4px; border-radius: 12px; }
.view-switch button { width: 37px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.view-switch button.active { background: white; color: var(--blue-600); box-shadow: 0 4px 12px rgba(8,27,55,.08); }
.properties-grid.list-mode > [class*='col-'] { width: 100%; }
.properties-grid.list-mode .project-card { display: grid; grid-template-columns: 320px 1fr; }
.properties-grid.list-mode .project-thumb { height: 100%; min-height: 260px; }
.map-demo { min-height: 610px; border-radius: 24px; position: relative; overflow: hidden; background-color: #dce8ec; background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.55) 49%, rgba(255,255,255,.55) 52%, transparent 53%), linear-gradient(-30deg, transparent 48%, rgba(255,255,255,.55) 49%, rgba(255,255,255,.55) 52%, transparent 53%); background-size: 80px 80px; border: 1px solid #cbd9df; }
.map-demo::before, .map-demo::after { content: ''; position: absolute; background: rgba(65,142,190,.18); border-radius: 50%; }
.map-demo::before { width: 280px; height: 500px; transform: rotate(23deg); left: -50px; top: 40px; }
.map-demo::after { width: 380px; height: 190px; right: -60px; bottom: 30px; }
.map-pin { position: absolute; z-index: 2; transform: translate(-50%,-100%); }
.map-pin button { border: 0; background: var(--navy-950); color: white; font-size: .65rem; font-weight: 700; border-radius: 999px 999px 999px 4px; padding: 8px 11px; box-shadow: var(--shadow-sm); transform: rotate(-4deg); }
.map-pin.active button { background: var(--blue-600); transform: scale(1.1) rotate(-4deg); }

/* Project & property detail */
.gallery-grid { display: grid; grid-template-columns: 1.5fr .8fr; grid-template-rows: 240px 240px; gap: 10px; border-radius: 28px; overflow: hidden; }
.gallery-grid .main-photo { grid-row: 1 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(6,19,40,0); transition: var(--transition); }
.gallery-item:hover::after { background: rgba(6,19,40,.12); }
.detail-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.detail-stat { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 15px; }
.detail-stat small { color: var(--muted); font-size: .65rem; display: block; }
.detail-stat strong { font-size: .85rem; color: var(--navy-900); }
.content-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 28px; margin-bottom: 18px; }
.content-card h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 18px; }
.content-card h3 { font-size: 1rem; font-weight: 800; }
.sticky-contact { position: sticky; top: 110px; background: var(--navy-950); color: white; border-radius: 26px; padding: 24px; box-shadow: var(--shadow-md); }
.sticky-contact .form-control-rukn, .sticky-contact .form-select-rukn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: white; }
.sticky-contact .form-control-rukn::placeholder { color: rgba(255,255,255,.5); }
.sticky-contact option { color: var(--ink); }
.price-box { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); margin: 15px 0; }
.price-box small { color: rgba(255,255,255,.55); }
.price-box strong { display: block; color: var(--lime-400); font-size: 1.45rem; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 9px; color: #475467; font-size: .82rem; }
.feature-list svg { color: var(--success); margin-top: 5px; flex: 0 0 auto; }
.feature-list.negative svg { color: var(--warning); }
.amenities-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.amenity { display: flex; align-items: center; gap: 10px; background: #f7f9fc; border-radius: 14px; padding: 13px; font-size: .72rem; font-weight: 700; }
.amenity svg { color: var(--blue-600); }
.masterplan { min-height: 340px; border-radius: 22px; overflow: hidden; position: relative; background: #dcebe0; border: 1px solid #c7dacd; }
.masterplan::before { content: ''; position: absolute; inset: 8%; border: 25px solid #c5d4c7; border-radius: 48% 25% 40% 30%; transform: rotate(-7deg); }
.masterplan-road { position: absolute; background: #e9e5db; border: 8px solid white; border-radius: 999px; }
.masterplan-road.r1 { width: 70%; height: 46px; right: 15%; top: 43%; transform: rotate(16deg); }
.masterplan-road.r2 { width: 46px; height: 78%; right: 51%; top: 10%; transform: rotate(-9deg); }
.building-block { position: absolute; width: 60px; height: 34px; border-radius: 8px; background: var(--navy-800); border: 4px solid white; box-shadow: 0 4px 10px rgba(8,27,55,.15); }

.table-rukn { width: 100%; border-collapse: separate; border-spacing: 0 8px; min-width: 780px; }
.table-rukn th { color: var(--muted); font-size: .68rem; font-weight: 700; padding: 8px 12px; }
.table-rukn td { background: #f8fafc; padding: 13px 12px; font-size: .75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.table-rukn td:first-child { border-radius: 0 13px 13px 0; border-right: 1px solid var(--line); }
.table-rukn td:last-child { border-radius: 13px 0 0 13px; border-left: 1px solid var(--line); }

.payment-plan { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fafcff; height: 100%; }
.payment-plan.featured { background: var(--navy-950); color: white; border-color: var(--navy-950); }
.payment-plan .plan-tag { color: var(--blue-600); font-size: .65rem; font-weight: 800; }
.payment-plan.featured .plan-tag { color: var(--lime-400); }
.payment-plan strong { display: block; font-size: 1.25rem; margin: 10px 0 3px; }
.payment-plan small { color: var(--muted); }
.payment-plan.featured small { color: rgba(255,255,255,.55); }

/* Compare */
.compare-wrap { overflow-x: auto; }
.compare-table { min-width: 940px; }
.compare-head-card { width: 260px; }
.compare-head-card img { height: 150px; width: 100%; object-fit: cover; border-radius: 16px; }
.compare-row-label { width: 180px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.compare-table td, .compare-table th { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .78rem; }
.recommend-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--success); background: #e9f8f2; border-radius: 999px; padding: 5px 9px; font-size: .62rem; font-weight: 800; }

/* Forms / portal */
.form-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-sm); }
.form-step { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.form-step-num { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--ice-100); color: var(--blue-600); font-weight: 800; font-size: .75rem; flex: 0 0 auto; }
.upload-zone { border: 1.5px dashed #aac3e7; background: #f6faff; border-radius: 16px; padding: 28px; text-align: center; cursor: pointer; }
.dashboard-sidebar { min-height: 680px; background: var(--navy-950); color: white; border-radius: 26px; padding: 22px; }
.dashboard-nav { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 5px; }
.dashboard-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 12px; color: rgba(255,255,255,.65); font-size: .78rem; font-weight: 600; }
.dashboard-nav a.active, .dashboard-nav a:hover { background: rgba(255,255,255,.1); color: white; }
.dashboard-card { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 20px; height: 100%; }
.progress-rukn { height: 8px; background: #eaf0f7; border-radius: 999px; overflow: hidden; }
.progress-rukn span { display: block; height: 100%; background: var(--blue-600); border-radius: 999px; }

/* Modals */
.modal-content-rukn { border: 0; border-radius: 28px; overflow: hidden; }
.quiz-option { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: var(--transition); }
.quiz-option:hover, .quiz-option.selected { border-color: #9ebfff; background: #f1f6ff; transform: translateY(-2px); }
.quiz-option input { accent-color: var(--blue-600); }

/* Footer */
.site-footer { background: var(--navy-950); color: white; padding: 78px 0 28px; }
.footer-brand-copy { color: rgba(255,255,255,.55); font-size: .78rem; max-width: 390px; }
.footer-title { font-size: .8rem; font-weight: 800; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .73rem; transition: var(--transition); }
.footer-links a:hover { color: var(--lime-400); padding-right: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.5); font-size: .68rem; }
.parmagito-credit { color: white; font-weight: 700; }
.parmagito-credit:hover { color: var(--lime-400); }

.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 20px;
  display: grid; place-items: center;
  color: white; background: #19b86b;
  box-shadow: 0 16px 35px rgba(25,184,107,.32);
  transition: var(--transition);
}
.wa-float:hover { color: white; transform: translateY(-5px) rotate(-4deg); }
.wa-float::after { content: 'واتساب'; position: absolute; left: 66px; white-space: nowrap; background: var(--navy-950); color: white; border-radius: 9px; padding: 5px 9px; font-size: .65rem; opacity: 0; transform: translateX(-7px); transition: var(--transition); pointer-events: none; }
.wa-float:hover::after { opacity: 1; transform: translateX(0); }
.mobile-bottom-nav { display: none; }

.toast-rukn { position: fixed; z-index: 2000; right: 22px; bottom: 22px; min-width: 240px; background: var(--navy-950); color: white; border-radius: 14px; padding: 12px 15px; box-shadow: var(--shadow-md); transform: translateY(120px); opacity: 0; transition: var(--transition); font-size: .76rem; }
.toast-rukn.show { transform: translateY(0); opacity: 1; }

/* Responsive */
@media (max-width: 1199.98px) {
  .main-nav { display: none; }
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .search-submit { grid-column: 1 / -1; }
  .trust-inner { grid-template-columns: repeat(3,1fr); }
  .process-line { display: none; }
  .amenities-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 991.98px) {
  .section-space { padding: 74px 0; }
  .hero { padding-top: 128px; }
  .hero-visual { min-height: 480px; margin-top: 40px; }
  .hero-image-card { inset: 0 24px 30px 24px; }
  .match-card { left: 0; top: 35px; }
  .search-panel { margin-top: 24px; }
  .filter-panel { position: static; }
  .properties-grid.list-mode .project-card { grid-template-columns: 260px 1fr; }
  .gallery-grid { grid-template-rows: 190px 190px; }
  .detail-stats { grid-template-columns: repeat(2,1fr); }
  .sticky-contact { position: static; }
  .quiz-banner { padding: 44px 30px; }
  .dashboard-sidebar { min-height: auto; margin-bottom: 18px; }
}

@media (max-width: 767.98px) {
  body { padding-bottom: 68px; }
  .site-header { padding: 8px 0; }
  .nav-shell { border-radius: 17px; padding: 8px 10px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-sub { display: none; }
  .nav-actions .btn-rukn { display: none; }
  .display-title { font-size: clamp(2.15rem, 11vw, 3.6rem); line-height: 1.3; letter-spacing: -.04em; }
  .section-title { font-size: clamp(1.65rem, 8vw, 2.7rem); line-height: 1.4; }
  .hero { min-height: auto; padding: 112px 0 46px; }
  .hero-copy .lead { font-size: .92rem; }
  .hero-visual { min-height: 390px; }
  .hero-image-card { inset: 0 10px 22px 10px; border-radius: 28px; }
  .hero-image-caption { right: 18px; left: 18px; bottom: 18px; }
  .match-card { width: 150px; padding: 12px; left: -3px; top: 24px; }
  .match-ring { width: 54px; height: 54px; }
  .match-ring span { width: 43px; height: 43px; font-size: .75rem; }
  .price-pill { right: 0; font-size: .68rem; padding: 11px 13px; }
  .search-panel { border-radius: 20px; padding: 10px; }
  .search-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item { justify-content: flex-start; padding-right: 16px; font-size: .68rem; }
  .project-thumb { height: 235px; }
  .area-card { min-height: 290px; }
  .quiz-banner { border-radius: 26px; padding: 34px 22px; }
  .page-hero { padding: 125px 0 46px; }
  .results-toolbar { align-items: flex-start; flex-direction: column; }
  .properties-grid.list-mode .project-card { display: block; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 120px; border-radius: 20px; }
  .gallery-grid .main-photo { grid-column: 1/3; grid-row: auto; }
  .detail-stats { grid-template-columns: repeat(2,1fr); }
  .content-card { padding: 20px; border-radius: 20px; }
  .amenities-grid { grid-template-columns: repeat(2,1fr); }
  .form-card { padding: 21px; }
  .site-footer { padding-top: 60px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .wa-float { display: none; }
  .mobile-bottom-nav {
    position: fixed; z-index: 1050; bottom: 0; right: 0; left: 0;
    height: 66px; display: grid; grid-template-columns: repeat(4,1fr);
    background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(8,27,55,.08);
  }
  .mobile-bottom-nav a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; color: var(--muted); font-size: .58rem; font-weight: 700; }
  .mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--blue-600); }
  .mobile-bottom-nav .wa-mobile { background: #19b86b; color: white; margin: 8px; border-radius: 13px; }
  .mobile-bottom-nav .wa-mobile:hover { color: white; }
  .toast-rukn { right: 12px; left: 12px; bottom: 82px; }
}

@media (max-width: 390px) {
  .hero-actions .btn-rukn { width: 100%; }
  .hero-visual { min-height: 340px; }
  .match-card { display: none; }
  .project-specs { grid-template-columns: 1fr 1fr; }
  .project-spec:nth-child(3) { grid-column: 1/-1; }
  .detail-stats { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.place-items-center{place-items:center}

/* RTL utility corrections for the locally bundled Bootstrap build */
[dir="rtl"] .ms-auto{margin-right:auto!important;margin-left:0!important}
[dir="rtl"] .me-auto{margin-left:auto!important;margin-right:0!important}
[dir="rtl"] .ms-0{margin-right:0!important;margin-left:0!important}
[dir="rtl"] .text-end{text-align:left!important}
@media (min-width:992px){[dir="rtl"] .me-lg-auto{margin-left:auto!important;margin-right:0!important}}
