/* ==========================================================================
   زاوية عقار — نظام التصميم
   هوية نهارية: أبيض + كحلي | اتجاه RTL
   ========================================================================== */

/* الخطوط تُحمَّل عبر <link> في <head> كل صفحة — لا تستخدم @import هنا:
   فهو يؤخّر اكتشاف الخط حتى ينتهي تحميل هذا الملف بالكامل. */

:root {
  /* الكحلي — التدرج الأساسي */
  --navy-900: #061529;
  --navy-800: #0A2342;
  --navy-700: #123A63;
  --navy-600: #1B4F8A;
  --navy-500: #2C6BB3;
  --navy-400: #5B92CE;
  --navy-300: #9CBEE0;
  --navy-200: #CBDDF0;
  --navy-100: #E6EFF8;
  --navy-50:  #F4F8FC;

  /* المحايد */
  --white: #FFFFFF;
  --surface: #F7FAFD;
  --border: #E3EBF4;
  --border-strong: #CBD8E8;
  --text: #0A2342;
  --text-2: #33465F;
  --muted: #5D7290;
  --muted-2: #8496AC;

  /* حالات */
  --ok: #0E7A55;
  --ok-bg: #E6F5EF;
  --warn: #9A6B0E;
  --warn-bg: #FBF3E0;
  --danger: #B23B30;
  --danger-bg: #FBECEA;

  /* أشكال */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 999px;

  --sh-sm: 0 1px 2px rgba(10,35,66,.06), 0 1px 3px rgba(10,35,66,.05);
  --sh-md: 0 4px 12px rgba(10,35,66,.07), 0 2px 4px rgba(10,35,66,.04);
  --sh-lg: 0 14px 40px rgba(10,35,66,.10), 0 4px 12px rgba(10,35,66,.05);
  --sh-xl: 0 24px 60px rgba(10,35,66,.14);

  --header-h: 74px;
  --maxw: 1240px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* --------------------------------------------------------------- إعادة الضبط */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Tajawal', 'IBM Plex Sans Arabic', -apple-system, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }

h1,h2,h3,h4 { line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

::selection { background: var(--navy-800); color: #fff; }

:focus-visible {
  outline: 3px solid var(--navy-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- تخطيط عام */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(52px, 7vw, 88px); }
.section--surface { background: var(--surface); }
.stack { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* نقشة هندسية نجدية خفيفة */
.pattern-band {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.055) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.055) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(255,255,255,.055) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.055) 25%, transparent 25%);
  background-size: 26px 26px;
  background-position: 0 0, 13px 0, 13px -13px, 0 13px;
}

/* --------------------------------------------------------------- الترويسة */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10,35,66,.22);
}
.brand__mark svg { width: 23px; height: 23px; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-weight: 900; font-size: 1.16rem; color: var(--navy-800); letter-spacing: -.02em; }
.brand__tag { font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-sm);
  font-size: .935rem; font-weight: 600; color: var(--muted);
  transition: color .18s var(--ease), background .18s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--navy-800); background: var(--navy-50); }
.nav a.is-active { color: var(--navy-800); background: var(--navy-100); }
.nav .nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: var(--r-sm);
  display: grid; place-items: center; color: var(--navy-700);
  border: 1px solid var(--border); background: var(--white);
  transition: all .18s var(--ease);
}
.icon-btn:hover { background: var(--navy-50); border-color: var(--navy-200); }
.icon-btn svg { width: 20px; height: 20px; }
.badge-count {
  position: absolute; top: -6px; inset-inline-start: -6px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--navy-800); color: #fff;
  border-radius: var(--r-full); font-size: .68rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff;
}
.badge-count[data-empty="1"] { display: none; }

.burger { display: none; }

/* --------------------------------------------------------------- الأزرار */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  border: 1px solid transparent; transition: all .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--sh-md); transform: translateY(-1px); }
.btn--ghost { background: var(--white); color: var(--navy-800); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--navy-50); border-color: var(--navy-400); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,.24); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--navy-50); }
.btn--sm { padding: 8px 15px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* --------------------------------------------------------------- البطل (Hero) */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(6,21,41,.55) 0%, rgba(6,21,41,.88) 55%, rgba(6,21,41,.97) 100%),
    linear-gradient(to top, rgba(6,21,41,.9), transparent 55%);
}
.hero__inner { position: relative; padding-block: clamp(64px, 9vw, 116px); }
.hero__content { max-width: 660px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--r-full);
  background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.2);
  font-size: .82rem; font-weight: 600; letter-spacing: .01em; margin-bottom: 22px;
}
.eyebrow svg { width: 15px; height: 15px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--navy-300); }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.14rem); color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 30px; }

/* شريط البحث في البطل */
.hero-search {
  background: rgba(255,255,255,.97); border-radius: var(--r-lg);
  padding: 12px; box-shadow: var(--sh-xl); max-width: 900px;
}
.hero-search__tabs { display: flex; gap: 4px; padding: 0 4px 10px; }
.hero-search__tab {
  padding: 8px 18px; border-radius: var(--r-sm); font-weight: 700; font-size: .9rem;
  color: var(--muted); transition: all .16s var(--ease);
}
.hero-search__tab.is-active { background: var(--navy-800); color: #fff; }
.hero-search__tab:not(.is-active):hover { background: var(--navy-50); color: var(--navy-800); }
.hero-search__form { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; }
.hero-search__field {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 60px; padding: 9px 12px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .16s var(--ease);
}
.hero-search__field:focus-within { border-color: var(--navy-500); }
.hero-search__field label { font-size: .7rem; font-weight: 700; color: var(--muted); }
.hero-search__field input, .hero-search__field select {
  border: none; background: none; outline: none; width: 100%;
  font-size: .92rem; font-weight: 700; color: var(--navy-800);
  line-height: 1.6; padding: 0; height: auto; appearance: none; cursor: pointer;
}
.hero-search__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7290' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left center; background-size: 14px;
  padding-inline-end: 22px;
}

/* شريط الإحصاءات */
.stats-strip { background: var(--navy-800); color: #fff; }
.stats-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 30px 16px; text-align: center; border-inline-start: 1px solid rgba(255,255,255,.11); }
.stat-cell:first-child { border: none; }
.stat-cell__num { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -.02em; }
.stat-cell__lbl { font-size: .84rem; color: rgba(255,255,255,.68); font-weight: 500; }

/* --------------------------------------------------------------- عناوين الأقسام */
.sec-head { margin-bottom: 34px; }
.sec-head__kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  color: var(--navy-500); margin-bottom: 8px;
}
.sec-head h2 { color: var(--navy-800); margin-bottom: 8px; }
.sec-head p { color: var(--muted); max-width: 620px; }
.sec-head--center { text-align: center; }
.sec-head--center p { margin-inline: auto; }

/* --------------------------------------------------------------- بطاقة العقار */
.grid-cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); border-color: var(--navy-200); }

.card__media { position: relative; aspect-ratio: 4/3; background: var(--navy-100); overflow: hidden; }
.card__media > a { display: block; width: 100%; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,21,41,.5), transparent 42%);
  pointer-events: none;
}

.card__badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.pill {
  padding: 5px 11px; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 800; letter-spacing: .01em;
  background: rgba(255,255,255,.94); color: var(--navy-800);
  backdrop-filter: blur(6px);
}
.pill--navy { background: var(--navy-800); color: #fff; }
.pill--ok { background: var(--ok); color: #fff; }
.pill--warn { background: var(--warn); color: #fff; }

.card__fav {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  display: grid; place-items: center; color: var(--navy-700);
  transition: all .18s var(--ease);
}
.card__fav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.card__fav:hover { transform: scale(1.1); }
.card__fav.is-on { background: var(--navy-800); color: #fff; }
.card__fav.is-on svg { fill: #fff; stroke: #fff; }

.card__price-tag {
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2;
  color: #fff; font-weight: 900; font-size: 1.18rem; letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(6,21,41,.5);
}
.card__price-tag .unit { font-size: .78rem; font-weight: 600; opacity: .85; }

.card__body { padding: 16px 17px 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card__title { font-size: 1.04rem; font-weight: 800; color: var(--navy-800); line-height: 1.45; }
.card__loc { display: flex; align-items: center; gap: 6px; font-size: .87rem; color: var(--muted); }
.card__loc svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--navy-400); }

.card__specs {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 11px; margin-top: auto; border-top: 1px dashed var(--border);
  font-size: .84rem; color: var(--navy-700); font-weight: 600;
}
.card__specs span { display: inline-flex; align-items: center; gap: 5px; }
.card__specs svg { width: 16px; height: 16px; color: var(--navy-400); }

.card__foot {
  padding: 10px 17px; border-top: 1px solid var(--border); background: var(--navy-50);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.fal { font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.fal strong { color: var(--navy-700); font-weight: 800; }

.cmp-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 700; color: var(--navy-600);
  padding: 5px 10px; border-radius: var(--r-sm); border: 1px solid var(--border-strong);
  background: #fff; transition: all .16s var(--ease);
}
.cmp-btn svg { width: 14px; height: 14px; }
.cmp-btn:hover { border-color: var(--navy-400); background: var(--navy-100); }
.cmp-btn.is-on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* --------------------------------------------------------------- صفحة القوائم */
.page-head { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.page-head__inner { position: relative; padding-block: 46px 52px; }
.crumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.crumb a:hover { color: #fff; }
.page-head h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,.75); max-width: 620px; }

.listing-layout { display: grid; grid-template-columns: 296px 1fr; gap: 28px; align-items: start; }

.filters {
  position: sticky; top: calc(var(--header-h) + 18px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto;
}
.filters__head {
  padding: 15px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.filters__head h2 { font-size: 1rem; color: var(--navy-800); }
.filters__reset { font-size: .8rem; font-weight: 700; color: var(--navy-500); }
.filters__reset:hover { text-decoration: underline; }
.filters__body { padding: 6px 18px 20px; }

.fgroup { padding-block: 15px; border-bottom: 1px solid var(--border); }
.fgroup:last-child { border-bottom: none; }
.fgroup > label, .fgroup__title {
  display: block; font-size: .82rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px;
}

.field {
  width: 100%; padding: 10px 13px; border-radius: var(--r-sm);
  border: 1px solid var(--border-strong); background: var(--white);
  font-size: .9rem; font-weight: 500; transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px var(--navy-100); }
.field::placeholder { color: var(--muted-2); font-weight: 400; }
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7290' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 12px center; background-size: 15px;
  padding-inline-start: 13px; padding-inline-end: 34px;
}
textarea.field { min-height: 96px; resize: vertical; line-height: 1.7; }

.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 7px 14px; border-radius: var(--r-full);
  border: 1px solid var(--border-strong); background: #fff;
  font-size: .84rem; font-weight: 700; color: var(--navy-700);
  transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--navy-400); background: var(--navy-50); }
.chip.is-on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.check { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: .88rem; font-weight: 600; }
.check input { width: 17px; height: 17px; accent-color: var(--navy-700); cursor: pointer; flex-shrink: 0; }

.results-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.results-count { font-size: .95rem; font-weight: 700; color: var(--navy-800); }
.results-count b { color: var(--navy-500); }
.results-sort { display: flex; align-items: center; gap: 9px; }
.results-sort label { font-size: .86rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.results-sort .field { width: auto; min-width: 180px; padding-block: 8px; }

.filters-toggle { display: none; }

.empty {
  text-align: center; padding: 70px 24px;
  border: 2px dashed var(--border-strong); border-radius: var(--r-lg); background: var(--surface);
}
.empty svg { width: 52px; height: 52px; color: var(--navy-300); margin: 0 auto 16px; }
.empty h3 { color: var(--navy-800); margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 18px; }

/* --------------------------------------------------------------- تفاصيل العقار */
.detail-layout { display: grid; grid-template-columns: 1fr 356px; gap: 30px; align-items: start; }

.gallery { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--navy-100); }
.gallery__main { position: relative; aspect-ratio: 16/10; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb > img { display: block; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: var(--r-full);
  background: rgba(255,255,255,.92); color: var(--navy-800);
  display: grid; place-items: center; box-shadow: var(--sh-md);
  transition: all .16s var(--ease);
}
.gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { inset-inline-end: 14px; }
.gallery__nav--next { inset-inline-start: 14px; }
.gallery__counter {
  position: absolute; bottom: 14px; inset-inline-end: 14px;
  padding: 5px 13px; border-radius: var(--r-full);
  background: rgba(6,21,41,.72); color: #fff; font-size: .8rem; font-weight: 700;
  backdrop-filter: blur(6px);
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 6px; background: #fff; }
.gallery__thumb { aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; transition: border-color .16s var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-on { border-color: var(--navy-700); }


/* --- قسم جولة الفيديو ------------------------------------------------------
   يتبع عرض المعرض تماماً ليقرأ كامتداد له. الإطار أسود لأن أي مقطع لا يملأ
   المساحة (عمودي داخل عرض أفقي) يظهر بحواف نظيفة بدل خلفية بيضاء متنافرة. */
.video-panel__item { margin: 0; }
.video-panel__item + .video-panel__item { margin-top: 20px; }
.video-panel__frame {
  display: grid; place-items: center;
  background: var(--navy-900); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border);
}
.video-panel__el { display: block; width: 100%; height: auto; border: 0; background: #000; }
/* المقطع العمودي يُقاد بالارتفاع لا بالعرض، وإلا امتدّ خارج الشاشة طولاً */
.video-panel__frame.is-portrait .video-panel__el {
  width: auto; max-width: 100%; max-height: min(72vh, 640px);
}
.video-panel__frame.is-portrait iframe.video-panel__el {
  aspect-ratio: var(--vratio, 9 / 16); height: min(72vh, 640px);
}
.video-panel__frame:not(.is-portrait) iframe.video-panel__el { aspect-ratio: 16 / 9; }
.video-panel__cap {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 10px; font-size: .86rem; color: var(--muted);
}
.video-panel__cap svg { width: 16px; height: 16px; color: var(--navy-600); }
.video-panel__cap a { color: var(--navy-600); font-weight: 700; text-decoration: underline; }
.video-panel__cap a:hover { color: var(--navy-800); }
@media (max-width: 640px) {
  .video-panel__frame.is-portrait .video-panel__el { max-height: 68vh; }
}

/* شارة «فيديو» على بطاقة العرض في القوائم */
.pill--video { background: var(--navy-800); color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.pill--video svg { width: 12px; height: 12px; margin-inline-start: 1px; }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.22rem; color: var(--navy-800); margin-bottom: 16px; }
.panel p { color: #33465F; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.spec {
  padding: 14px; border-radius: var(--r-md); background: var(--navy-50); border: 1px solid var(--navy-100);
  display: grid; gap: 3px;
}
.spec__ic { color: var(--navy-500); }
.spec__ic svg { width: 20px; height: 20px; }
.spec__lbl { font-size: .76rem; color: var(--muted); font-weight: 600; }
.spec__val { font-size: 1rem; font-weight: 800; color: var(--navy-800); }

.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.amenity { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--navy-700); }
.amenity svg { width: 17px; height: 17px; color: var(--ok); flex-shrink: 0; }

.map-block {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--navy-800); color: #fff; padding: 28px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.map-block__grid {
  position: absolute; inset: 0; opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-block__pin {
  position: absolute; top: 46%; inset-inline-start: 50%; transform: translate(50%, -50%);
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: #fff; color: var(--navy-800); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255,255,255,.14);
}
.map-block__pin svg { width: 22px; height: 22px; }
.map-block h3 { position: relative; font-size: 1.05rem; }
.map-block p { position: relative; color: rgba(255,255,255,.72); font-size: .9rem; }

.aside-sticky { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }

.price-card { background: var(--navy-800); color: #fff; border-radius: var(--r-lg); padding: 24px; position: relative; overflow: hidden; }
.price-card__lbl { font-size: .82rem; color: rgba(255,255,255,.66); font-weight: 600; position: relative; }
.price-card__val { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; margin-bottom: 2px; position: relative; }
.price-card__val .unit { font-size: .9rem; font-weight: 600; opacity: .8; }
.price-card__sub { font-size: .85rem; color: rgba(255,255,255,.62); margin-bottom: 18px; position: relative; }
.price-card__actions { display: grid; gap: 9px; position: relative; }

.agent-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.agent-card__top { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.agent-card__ava {
  width: 54px; height: 54px; border-radius: var(--r-full); flex-shrink: 0;
  background: linear-gradient(145deg, var(--navy-600), var(--navy-800)); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.15rem;
}
.agent-card__name { font-weight: 800; color: var(--navy-800); }
.agent-card__role { font-size: .82rem; color: var(--muted); }
.agent-card__meta { display: grid; gap: 8px; font-size: .86rem; color: var(--navy-700); margin-bottom: 16px; }
.agent-card__meta div { display: flex; align-items: center; gap: 8px; }
.agent-card__meta svg { width: 16px; height: 16px; color: var(--navy-400); }

/* --------------------------------------------------------------- الطلبات */
.req-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.req-tab {
  text-align: start; padding: 20px; border-radius: var(--r-lg);
  border: 2px solid var(--border); background: #fff;
  display: grid; gap: 8px; transition: all .2s var(--ease);
}
.req-tab:hover { border-color: var(--navy-300); box-shadow: var(--sh-md); }
.req-tab.is-on { border-color: var(--navy-800); background: var(--navy-50); box-shadow: var(--sh-md); }
.req-tab__ic {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--navy-100); color: var(--navy-700);
  display: grid; place-items: center; transition: all .2s var(--ease);
}
.req-tab.is-on .req-tab__ic { background: var(--navy-800); color: #fff; }
.req-tab__ic svg { width: 22px; height: 22px; }
.req-tab__t { font-weight: 800; font-size: 1.05rem; color: var(--navy-800); }
.req-tab__d { font-size: .86rem; color: var(--muted); line-height: 1.6; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; }
.form-card__head { padding: 22px 26px; background: var(--navy-800); color: #fff; position: relative; }
.form-card__head h2 { color: #fff; font-size: 1.2rem; margin-bottom: 3px; position: relative; }
.form-card__head p { color: rgba(255,255,255,.72); font-size: .88rem; position: relative; }
.form-card__body { padding: 26px; }

.fieldset { border: none; padding: 0; margin-bottom: 26px; }
.fieldset:last-of-type { margin-bottom: 0; }
.fieldset__legend {
  display: flex; align-items: center; gap: 9px; width: 100%;
  font-size: .84rem; font-weight: 800; color: var(--navy-600);
  letter-spacing: .05em; margin-bottom: 16px; padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}
.fieldset__legend span.n {
  width: 22px; height: 22px; border-radius: var(--r-full);
  background: var(--navy-100); color: var(--navy-700);
  display: grid; place-items: center; font-size: .72rem; flex-shrink: 0;
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fc { display: grid; gap: 6px; }
.fc--full { grid-column: 1 / -1; }
.fc > label { font-size: .85rem; font-weight: 700; color: var(--navy-800); }
.fc .req { color: var(--danger); }
.fc .hint { font-size: .76rem; color: var(--muted); font-weight: 500; }
.fc .err { font-size: .78rem; color: var(--danger); font-weight: 700; display: none; }
.fc.is-bad .field { border-color: var(--danger); background: var(--danger-bg); }
.fc.is-bad .err { display: block; }

.input-affix { position: relative; }
.input-affix .field { padding-inline-end: 52px; }
.input-affix__unit {
  position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%);
  font-size: .8rem; font-weight: 700; color: var(--muted); pointer-events: none;
}

.form-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding-top: 22px; margin-top: 26px; border-top: 1px solid var(--border);
}
.form-foot__note { font-size: .8rem; color: var(--muted); max-width: 420px; }

.success {
  text-align: center; padding: 52px 28px;
}
.success__ic {
  width: 76px; height: 76px; border-radius: var(--r-full); margin: 0 auto 20px;
  background: var(--ok-bg); color: var(--ok); display: grid; place-items: center;
}
.success__ic svg { width: 38px; height: 38px; }
.success h2 { color: var(--navy-800); margin-bottom: 8px; }
.success p { color: var(--muted); margin-bottom: 22px; }
.success__ref {
  display: inline-grid; gap: 3px; padding: 14px 30px; border-radius: var(--r-md);
  background: var(--navy-50); border: 1px dashed var(--navy-300); margin-bottom: 26px;
}
.success__ref span { font-size: .76rem; color: var(--muted); font-weight: 600; }
.success__ref strong { font-size: 1.3rem; color: var(--navy-800); font-weight: 900; letter-spacing: .06em; font-family: 'IBM Plex Sans Arabic', monospace; }
.success__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------- لوحة الطلبات */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px 20px; display: grid; gap: 4px; }
.kpi__lbl { font-size: .82rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.kpi__lbl svg { width: 16px; height: 16px; color: var(--navy-400); }
.kpi__val { font-size: 1.9rem; font-weight: 900; color: var(--navy-800); letter-spacing: -.02em; line-height: 1.15; }
.kpi--accent { background: var(--navy-800); border-color: var(--navy-800); }
.kpi--accent .kpi__lbl { color: rgba(255,255,255,.7); }
.kpi--accent .kpi__lbl svg { color: rgba(255,255,255,.7); }
.kpi--accent .kpi__val { color: #fff; }

.toolbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 14px 16px; margin-bottom: 18px;
}
.toolbar .field { width: auto; min-width: 150px; padding-block: 9px; }
.toolbar .search-field { flex: 1; min-width: 220px; }
.toolbar__spacer { flex: 1; }

.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.data { min-width: 900px; font-size: .89rem; }
table.data thead th {
  text-align: start; padding: 13px 16px; background: var(--navy-50);
  font-size: .78rem; font-weight: 800; color: var(--navy-700);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.data tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--navy-50); }
.ref-cell { font-weight: 800; color: var(--navy-800); font-family: 'IBM Plex Sans Arabic', monospace; letter-spacing: .03em; white-space: nowrap; }
.muted-cell { color: var(--muted); font-size: .84rem; white-space: nowrap; }

.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: var(--r-full); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.tag--buy { background: var(--navy-100); color: var(--navy-700); }
.tag--rent { background: #E8F2EC; color: var(--ok); }
.tag--list { background: var(--warn-bg); color: var(--warn); }

.status-select {
  padding: 5px 26px 5px 10px; border-radius: var(--r-full); font-size: .76rem; font-weight: 800;
  border: 1px solid transparent; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 7px center; background-size: 11px;
}
.status-select[data-s="جديد"] { background-color: var(--navy-100); color: var(--navy-700); }
.status-select[data-s="قيد المعالجة"] { background-color: var(--warn-bg); color: var(--warn); }
.status-select[data-s="تم التواصل"] { background-color: #E7F0FA; color: var(--navy-600); }
.status-select[data-s="مكتمل"] { background-color: var(--ok-bg); color: var(--ok); }
.status-select[data-s="ملغي"] { background-color: var(--danger-bg); color: var(--danger); }

.icon-act { width: 32px; height: 32px; border-radius: var(--r-sm); display: inline-grid; place-items: center; color: var(--muted); transition: all .16s var(--ease); }
.icon-act svg { width: 17px; height: 17px; }
.icon-act:hover { background: var(--navy-100); color: var(--navy-800); }
.icon-act--danger:hover { background: var(--danger-bg); color: var(--danger); }

/* --------------------------------------------------------------- نافذة منبثقة */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6,21,41,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.is-open { display: flex; }
.modal__box {
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-xl);
  width: 100%; max-width: 620px; max-height: 88vh; overflow: hidden;
  display: flex; flex-direction: column;
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__head {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.modal__head h2 { font-size: 1.1rem; color: var(--navy-800); }
.modal__body { padding: 22px; overflow-y: auto; }
.modal__foot { padding: 15px 22px; border-top: 1px solid var(--border); background: var(--surface); display: flex; gap: 10px; justify-content: flex-start; }

.kv { display: grid; grid-template-columns: 168px 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.kv dt { background: var(--navy-50); padding: 10px 14px; font-size: .82rem; font-weight: 700; color: var(--navy-700); }
.kv dd { background: #fff; padding: 10px 14px; font-size: .9rem; font-weight: 600; color: var(--navy-800); margin: 0; }

/* --------------------------------------------------------------- المقارنة */
.compare-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
table.compare { min-width: 720px; }
table.compare th, table.compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; }
table.compare thead th { background: var(--navy-50); vertical-align: bottom; }
table.compare tbody th { background: var(--navy-50); font-size: .84rem; font-weight: 800; color: var(--navy-700); width: 180px; white-space: nowrap; }
table.compare td { font-size: .92rem; font-weight: 600; color: var(--navy-800); }
.cmp-head { display: grid; gap: 8px; min-width: 190px; }
.cmp-head img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); }
.cmp-head__t { font-size: .92rem; font-weight: 800; color: var(--navy-800); line-height: 1.45; }
.cmp-best { color: var(--ok) !important; }

/* --------------------------------------------------------------- الخدمات/المزايا */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 24px; display: grid; gap: 10px;
  transition: all .22s var(--ease);
}
.feat:hover { border-color: var(--navy-200); box-shadow: var(--sh-md); transform: translateY(-2px); }
.feat__ic {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--navy-100); color: var(--navy-700);
  display: grid; place-items: center;
}
.feat__ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.08rem; color: var(--navy-800); }
.feat p { color: var(--muted); font-size: .92rem; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff;
}
/* الصورة في الأسفل · التعتيم فوقها · النص فوق الجميع */
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.svc::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top,
    rgba(6,21,41,.97) 0%, rgba(6,21,41,.9) 32%,
    rgba(6,21,41,.62) 60%, rgba(6,21,41,.3) 82%, rgba(6,21,41,.12) 100%);
  transition: background .25s var(--ease);
}
.svc:hover::after {
  background: linear-gradient(to top,
    rgba(6,21,41,.98) 0%, rgba(10,35,66,.95) 32%,
    rgba(19,58,99,.82) 60%, rgba(27,79,138,.5) 100%);
}
.svc > h3, .svc > p, .svc > .svc__go { position: relative; z-index: 2; }
.svc h3 { font-size: 1.2rem; margin-bottom: 6px; text-shadow: 0 2px 10px rgba(6,21,41,.7); }
.svc p { color: rgba(255,255,255,.86); font-size: .89rem; margin-bottom: 14px; text-shadow: 0 1px 8px rgba(6,21,41,.6); }
.svc__go { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 800; }
.svc__go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.svc:hover .svc__go svg { transform: translateX(-4px); }

/* شريط دعوة */
.cta-band { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.cta-band__inner {
  position: relative; padding-block: clamp(46px, 6vw, 68px);
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 520px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------- التذييل */
.footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-block: 56px 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.5); }
.footer__about { margin-top: 16px; font-size: .9rem; line-height: 1.8; max-width: 320px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; font-weight: 800; }
.footer ul { display: grid; gap: 9px; }
.footer li a, .footer li span { font-size: .89rem; transition: color .16s var(--ease); }
.footer li a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: flex-start; gap: 9px; font-size: .89rem; }
.footer__contact svg { width: 16px; height: 16px; color: var(--navy-400); flex-shrink: 0; margin-top: 4px; }
.footer__licence {
  margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; line-height: 1.7;
}
.footer__licence b { color: #fff; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .82rem;
}
.footer__bar a:hover { color: #fff; }
.demo-note {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,.09); color: rgba(255,255,255,.8);
  font-size: .74rem; font-weight: 700;
}

/* --------------------------------------------------------------- تنبيه عائم */
.toast-host { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 1200; display: grid; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 11px;
  background: var(--navy-800); color: #fff;
  padding: 13px 18px; border-radius: var(--r-md); box-shadow: var(--sh-xl);
  font-size: .9rem; font-weight: 600; max-width: 340px;
  animation: slideIn .26s var(--ease);
}
.toast svg { width: 19px; height: 19px; flex-shrink: 0; }
.toast--ok { background: var(--ok); }
.toast--warn { background: var(--warn); }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } }
.toast.is-out { opacity: 0; transform: translateY(10px); transition: all .25s var(--ease); }

/* --------------------------------------------------------------- الاستجابة */
@media (max-width: 1080px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 3px;
    position: absolute; top: var(--header-h); inset-inline: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px; box-shadow: var(--sh-lg);
  }
  .nav.is-open a { padding: 12px 14px; }
  .burger { display: grid; }
  .hero-search__form { grid-template-columns: 1fr 1fr; }
  .hero-search__form .btn { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: 1fr; }
  .req-tabs { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-inline-start: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.11); }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand__tag { display: none; }
  /* إخفاء زر الدعوة من الترويسة ونقله إلى قائمة الجوال لتفادي التجاوز الأفقي */
  .header__actions > .btn--primary { display: none; }
  .nav.is-open .nav__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 8px; padding: 12px 18px; border-radius: var(--r-sm);
    background: var(--navy-800); color: #fff; font-weight: 700;
  }
  .nav.is-open .nav__cta svg { width: 18px; height: 18px; }
  .nav.is-open .nav__cta:hover { background: var(--navy-700); color: #fff; }
  .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .hero-search__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .kv { grid-template-columns: 1fr; }
  .kv dt { padding-bottom: 4px; }
  .cta-band__inner { flex-direction: column; align-items: stretch; }
  .modal__box { max-height: 92vh; }
  .grid-cards { grid-template-columns: 1fr; }
  .toast-host { inset-inline: 14px; bottom: 14px; }
  .toast { max-width: none; }
}

@media print {
  .header, .footer, .btn, .filters, .toast-host,
  .video-panel, .gallery__nav { display: none !important; }
}

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

/* --------------------------------------------------------------- إضافات */
/* شعار المنشأة — عمودي، يُعرض وحده بلا نص مكرر */
.brand__logo { height: 52px; width: auto; display: block; }
.brand--footer { margin-bottom: 18px; }
.brand--footer .brand__logo { height: 88px; }
@media (max-width: 640px) { .brand__logo { height: 44px; } }

/* تسمية مجموعة (شرائح / مربعات اختيار) — تطابق شكل <label> تماماً */
.fc__label {
  display: block; margin-bottom: 7px; font-size: .88rem;
  font-weight: 700; color: var(--navy-800);
}

/* زر إجراء معطّل (مثال: اتصال بلا رقم صالح) */
.btn.is-disabled { opacity: .5; pointer-events: none; }

/* السعر عند الطلب — لعرض بلا سعر معلن */
.unit--ask { font-size: .62em; font-weight: 800; letter-spacing: 0; }

/* «السوم وصل …» — أعلى مزايدة معلنة، أسفل السعر مباشرةً.
   لون كهرماني يفصله عن السعر الأساسي بلا أن ينافسه بصرياً. */
.price-card__bid {
  display: flex; align-items: center; gap: 6px;
  margin: 6px 0 10px; position: relative;
  font-size: .88rem; font-weight: 700; color: #ffd28a;
}
.price-card__bid svg { width: 15px; height: 15px; flex: none; }
.price-card__bid b { font-weight: 900; }

/* الشارة نفسها على بطاقة القائمة — فوق شارة السعر مباشرةً لا تحتها،
   وإلا تراكبت معها (شارة السعر عند bottom:12px بارتفاع ~19px). */
.card__bid-tag {
  position: absolute; bottom: 40px; inset-inline-start: 12px;
  z-index: 2; padding: 4px 9px; border-radius: var(--r-full);
  background: rgba(6,21,41,.72); color: #ffd28a;
  font-size: .7rem; font-weight: 800; backdrop-filter: blur(6px);
}

/* تنويه السعي العقاري أسفل بطاقة السعر */
.price-card__note {
  margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  font-size: .8rem; line-height: 1.7;
}
.price-card__note b { font-weight: 900; }
