/* دار الأصيل: Najdi luxury — sand, palm green, brass; Amiri display + Noto Kufi body; crenellation + arch motifs. */
@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap");
body.site-estate { --bg: #f4eee3; --ink: #17261f; --muted: #6a6f68; --card: #fffdf8; --line: #ddd2bd; --accent: #1f5f4a; --deep: #13372b; --brass: #b08d57; --accent2: #b08d57;
  --radius: 2px; --font: "Noto Kufi Arabic", sans-serif; --display: "Amiri", "Noto Kufi Arabic", serif; font-family: var(--font); background: var(--bg); font-size: 15.5px; }
.site-estate h1, .site-estate h2, .site-estate h3 { font-family: var(--display); font-weight: 700; }

/* Najdi crenellation band (stepped triangles) */
.e-crenel { height: 18px; background:
  linear-gradient(135deg, var(--deep) 25%, transparent 25%) -9px 0 / 18px 18px,
  linear-gradient(225deg, var(--deep) 25%, transparent 25%) -9px 0 / 18px 18px; }
.e-crenel.down { transform: scaleY(-1); background:
  linear-gradient(135deg, var(--bg) 25%, transparent 25%) -9px 0 / 18px 18px,
  linear-gradient(225deg, var(--bg) 25%, transparent 25%) -9px 0 / 18px 18px; background-color: var(--deep); }
.e-orn { display: block; width: 34px; height: 34px; margin: 0 auto 10px; background: var(--brass); transform: rotate(45deg) scale(.6);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--brass); }

/* header: utility bar + centred emblem between split nav */
.site-estate #top { display: block; position: sticky; padding: 0; background: var(--bg); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.e-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--deep); color: #e9dfc9; font-size: 12.5px; padding: 6px clamp(16px, 5vw, 64px); }
.e-bar div { display: flex; gap: 16px; align-items: center; }
.e-bar button { background: none; border: 0; color: inherit; font-size: 12.5px; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.e-bar a { color: var(--brass); font-weight: 700; }
.e-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 10px clamp(16px, 5vw, 64px); }
.e-nav { display: flex; gap: 30px; font-size: 14.5px; letter-spacing: .3px; }
.e-nav:first-child { justify-content: flex-end; }
.e-nav a { padding: 6px 0; border-bottom: 1px solid transparent; } .e-nav a:hover { border-color: var(--brass); color: var(--accent); }
.e-emblem { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.e-emblem img { width: 46px; height: 46px; object-fit: cover; }
.e-emblem b { font-family: var(--display); font-size: 21px; line-height: 1; color: var(--deep); }
.site-estate #top .e-mnav { display: none; }
.e-frame .inline-form > h3 { display: none; }

/* hero: deep green block, serif type, image in a Najdi arch */
body.site-estate #hero { min-height: 0; display: block; padding: 0; max-width: none; background: var(--deep); color: #f4eee3; position: relative; }
.e-hwrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 5vw, 70px); align-items: end; padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px) 0; }
.e-htext { padding-bottom: clamp(40px, 6vw, 80px); }
.e-kick { color: var(--brass); font-size: 13px; letter-spacing: 1px; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.e-kick::before { content: ""; width: 40px; height: 1px; background: var(--brass); flex: none; }
.e-htext h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.12; margin-bottom: 18px; }
.e-lead { color: rgba(244,238,227,.78); font-size: 16.5px; max-width: 540px; margin: 0; }
.e-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.e-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brass); background: var(--brass); color: #1a140a; padding: 12px 26px; font-weight: 600; font-size: 14.5px; letter-spacing: .3px; transition: background .2s, color .2s; }
.e-btn:hover { background: transparent; color: var(--brass); }
.e-btn.line { background: transparent; color: #f4eee3; border-color: rgba(244,238,227,.45); } .e-btn.line:hover { border-color: var(--brass); color: var(--brass); }
.e-arch { border: 1px solid var(--brass); padding: 10px; border-radius: 999px 999px 0 0; border-bottom: 0; }
.e-arch img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; border-radius: 999px 999px 0 0; }
.site-estate #hero .e-crenel { background:
  linear-gradient(135deg, var(--bg) 25%, transparent 25%) -9px 0 / 18px 18px,
  linear-gradient(225deg, var(--bg) 25%, transparent 25%) -9px 0 / 18px 18px; background-color: var(--deep); transform: scaleY(-1); }
.e-stats { list-style: none; margin: 0; padding: 30px clamp(16px, 5vw, 64px); background: var(--bg); color: var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); padding-inline: max(16px, calc((100% - 1000px) / 2)); }
.e-stats li { text-align: center; padding: 0 12px; } .e-stats li + li { border-inline-start: 1px solid var(--line); }
.e-stats b { display: block; font-family: var(--display); font-size: 44px; color: var(--accent); line-height: 1.1; }
.e-stats span { color: var(--muted); font-size: 13.5px; }

/* listings as large rows */
.e-homes { max-width: 1240px; padding-top: 40px; }
.e-head { text-align: center; margin-bottom: 26px; }
.e-head h2 { font-size: clamp(32px, 4vw, 48px); color: var(--deep); }
.e-head p { color: var(--muted); margin: 6px auto 0; max-width: 560px; }
.e-tabs { display: flex; justify-content: center; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.e-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 2px; font-size: 15px; color: var(--muted); margin-bottom: -1px; }
.e-tabs button.on { color: var(--deep); border-color: var(--brass); font-weight: 700; }
.e-sort { width: auto; border: 0; background: transparent; font-size: 14px; color: var(--muted); padding: 6px; border-radius: 0; }
.e-rows { display: grid; gap: 40px; }
.e-row { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--card); border: 1px solid var(--line); cursor: pointer; animation: kitpop .5s both; transition: box-shadow .25s; }
.e-row:nth-child(even) { grid-template-columns: 1fr 1.25fr; } .e-row:nth-child(even) .e-ph { order: 2; }
.e-row:hover { box-shadow: 0 30px 60px -36px rgba(19,55,43,.55); }
.e-ph { position: relative; overflow: hidden; min-height: 340px; }
.e-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; } .e-row:hover .e-ph img { transform: scale(1.04); }
.e-badge { position: absolute; top: 16px; inset-inline-start: 16px; background: var(--deep); color: #f4eee3; font-size: 12.5px; padding: 4px 12px; }
.e-info { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.e-top { display: flex; align-items: center; gap: 12px; }
.e-no { font-family: var(--display); font-size: 30px; color: var(--brass); line-height: 1; }
.e-deal { font-size: 12px; letter-spacing: .5px; border: 1px solid var(--accent); color: var(--accent); padding: 2px 10px; }
.e-deal.rent { border-color: var(--brass); color: #8a6a37; }
.e-info h3 { font-size: clamp(24px, 2.4vw, 32px); color: var(--deep); }
.e-price { margin: 0; font-family: var(--font); font-weight: 700; font-size: 22px; color: var(--accent); }
.e-facts { margin: 8px 0 14px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.e-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.e-facts div:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 14px; } .e-facts div:nth-child(even) { padding-inline-start: 14px; }
.e-facts dt { font-size: 12px; color: var(--muted); } .e-facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.e-info .e-btn { align-self: flex-start; margin-top: auto; background: var(--deep); border-color: var(--deep); color: #f4eee3; }
.e-info .e-btn:hover { background: transparent; color: var(--deep); }

/* request: framed panel on green */
.e-req { background: var(--deep); padding: clamp(50px, 7vw, 90px) clamp(16px, 5vw, 64px); margin-top: 50px; }
.e-frame { max-width: 820px; margin: 0 auto; background: var(--bg); padding: clamp(22px, 4vw, 46px); outline: 1px solid var(--brass); outline-offset: 10px; }
.e-frame .e-orn { box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--brass); }
.e-frame .inline-form { border: 0; background: transparent; padding: 0; max-width: none; }
.site-estate .inline-form h3, .site-estate .form-sheet h3 { font-size: 24px; color: var(--deep); }
.site-estate .btn { border-radius: 0; background: var(--deep); } .site-estate .chips button { border-radius: 0; } .site-estate .chips button.on { background: var(--deep); border-color: var(--deep); }
.site-estate input, .site-estate select, .site-estate textarea { border-radius: 0; background: var(--card); }
.site-estate .stepper button { border-radius: 0; }

/* faq: side title + numbered list */
.e-faq { max-width: 1100px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; }
.e-faqside { text-align: start; position: sticky; top: 150px; } .e-faqside .e-orn { margin: 0 0 14px 8px; }
.e-faqside h2 { font-size: clamp(32px, 4vw, 48px); color: var(--deep); }
.e-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.e-faq summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: baseline; font-weight: 600; font-size: 16.5px; }
.e-faq summary::-webkit-details-marker { display: none; }
.e-faq summary i { font-style: normal; font-family: var(--display); color: var(--brass); font-size: 22px; }
.e-faq details p { margin: 10px 0 0; padding-inline-start: 40px; color: var(--muted); }

/* footer */
.site-estate #foot { display: block; padding: 0; border: 0; background: var(--deep); color: #e9dfc9; }
.e-foot { padding: 40px 16px 110px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.e-foot img { width: 56px; height: 56px; } .e-foot b { font-family: var(--display); font-size: 26px; color: #fff; }
.e-foot p { margin: 0; } .e-place { color: var(--brass); } .site-estate #foot .photo-note { color: rgba(233,223,201,.6); }

@media (max-width: 900px) {
  .e-bar > span { display: none; } .e-bar { justify-content: center; }
  .e-main { grid-template-columns: 1fr; padding: 8px 16px 4px; } .site-estate #top .e-main .e-nav { display: none; }
  .e-emblem { flex-direction: row; gap: 10px; justify-content: center; } .e-emblem img { width: 38px; height: 38px; }
  .site-estate #top .e-mnav { display: flex; justify-content: center; gap: 22px; font-size: 13.5px; padding: 2px 16px 8px; color: var(--muted); }
  .e-hwrap { grid-template-columns: 1fr; padding-top: 34px; } .e-htext { padding-bottom: 6px; }
  .e-htext h1 { font-size: 42px; } .e-arch { max-width: 420px; width: 88%; margin: 0 auto; } .e-arch img { aspect-ratio: 4/4; }
  .e-stats { padding: 22px 8px; } .e-stats b { font-size: 34px; } .e-stats span { font-size: 12px; line-height: 1.5; display: block; }
  .e-row, .e-row:nth-child(even) { grid-template-columns: 1fr; } .e-row:nth-child(even) .e-ph { order: 0; }
  .e-ph { min-height: 0; aspect-ratio: 16/11; }
  .e-rows { gap: 26px; } .e-tabs { gap: 18px; overflow-x: auto; justify-content: flex-start; }
  .e-faq { grid-template-columns: 1fr; gap: 10px; } .e-faqside { position: static; text-align: center; } .e-faqside .e-orn { margin: 0 auto 10px; }
  .e-frame { outline-offset: 6px; }
}
