/* =========================================================================
   لقاء العقاري — نظام التصميم
   لغة بصرية معمارية: شبكة تحريرية، خطوط شعرة ذهبية، صور كبيرة، نصوص هادئة.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1) المتغيّرات
   ---------------------------------------------------------------------- */
:root {
	/* الهوية */
	--gold: #c8a468;
	--gold-soft: #ceaa70;
	--gold-deep: #a8854b;
	--ink: #38342d;
	--ink-2: #2b2822;
	--ink-3: #1e1c18;

	/* الأسطح */
	--sand: #f6f2ea;
	--sand-2: #efe9dd;
	--paper: #fffdf9;
	--muted: #7d766a;
	--muted-2: #9a9384;

	/* الخطوط الفاصلة */
	--line: rgba(56, 52, 45, .13);
	--line-strong: rgba(56, 52, 45, .24);
	--line-gold: rgba(200, 164, 104, .38);
	--line-dark: rgba(246, 242, 234, .14);

	/* الحالات */
	--ok: #4b7f52;
	--warn: #b3853a;
	--gone: #a04a44;

	/* الخطوط */
	--font-display: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
	--font-body: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
	--font-num: 'Cormorant Garamond', 'Readex Pro', serif;

	/* المقاسات */
	--wrap: 1320px;
	--wrap-narrow: 900px;
	--gut: clamp(20px, 5vw, 64px);
	--sec: clamp(72px, 9vw, 148px);
	--radius: 2px;
	--radius-lg: 4px;

	/* الحركة */
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--dur: .5s;

	--header-h: 88px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
	margin: 0;
	background: var(--sand);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.85;
	letter-spacing: .002em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; padding: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

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

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/*
 * الإخفاء بالانكماش لا بالإزاحة: قيمة ‎-9999px‎ تمدّ مساحة المستند فعلياً،
 * ولا يحجبها إلا ‎overflow-x: hidden‎ وهي حيلة تتعطّل على iOS وتكسر sticky.
 */
.skip-link {
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	z-index: 999;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	background: var(--ink);
	color: var(--paper);
	padding: 12px 22px;
	white-space: nowrap;
}
.skip-link:focus {
	inset-inline-start: 12px;
	top: 12px;
	width: auto;
	height: auto;
	clip-path: none;
}

/* -------------------------------------------------------------------------
   3) الطباعة
   ---------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	font-weight: 300;
	line-height: 1.22;
	letter-spacing: -.015em;
	margin: 0;
	color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.15rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); }
h4 { font-size: clamp(1.08rem, 1.5vw, 1.28rem); font-weight: 400; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; }

.lead {
	font-size: clamp(1.02rem, 1.45vw, 1.22rem);
	line-height: 1.9;
	color: #504a41;
	font-weight: 300;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-size: .74rem;
	font-weight: 400;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin: 0 0 22px;
}
.eyebrow::before {
	content: '';
	width: 42px;
	height: 1px;
	background: var(--gold);
	flex: none;
}

.num,
.hero__stat b,
.figure__num,
.sec-head__index,
.smart-card__no,
.warranty__years b,
.dev-stat b,
.unit-card__price,
.unit-aside__price {
	font-family: var(--font-num);
	font-weight: 300;
	/* Cormorant يستخدم الأرقام القديمة افتراضياً؛ هذه الأسطر تفرض الأرقام المصطفّة */
	font-variant-numeric: lining-nums proportional-nums;
	font-feature-settings: 'lnum' 1, 'onum' 0;
	letter-spacing: -.01em;
}

.muted { color: var(--muted); }

/* -------------------------------------------------------------------------
   4) التخطيط
   ---------------------------------------------------------------------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gut);
}

.wrap-narrow { max-width: var(--wrap-narrow); }

.section {
	position: relative;
	padding-block: var(--sec);
}

.section--tight { padding-block: clamp(52px, 6vw, 92px); }

.section--dark {
	background: var(--ink-2);
	color: var(--sand);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--paper); }
.section--dark .lead { color: rgba(246, 242, 234, .74); }
.section--dark .eyebrow { color: var(--gold-soft); }

.section--paper { background: var(--paper); }
.section--sand2 { background: var(--sand-2); }

/* خط شعرة أعلى القسم يربط الأقسام بصرياً كخطوط مسقط معماري */
.section--ruled { border-top: 1px solid var(--line); }
.section--dark.section--ruled { border-top-color: var(--line-dark); }

.grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* -------------------------------------------------------------------------
   5) ترويسة القسم — رقم في الهامش + عنوان
   ---------------------------------------------------------------------- */
.sec-head {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0 clamp(18px, 3vw, 44px);
	margin-bottom: clamp(38px, 5vw, 68px);
	align-items: start;
}

.sec-head__index {
	font-family: var(--font-num);
	font-size: 1.5rem;
	color: var(--gold);
	line-height: 1;
	padding-top: 6px;
	position: relative;
}
.sec-head__index::after {
	content: '';
	position: absolute;
	inset-inline-start: 4px;
	top: 42px;
	bottom: -6px;
	width: 1px;
	background: linear-gradient(to bottom, var(--line-gold), transparent);
}

.sec-head__body { max-width: 760px; }
.sec-head--wide .sec-head__body { max-width: 980px; }

.sec-head__title { margin-bottom: 18px; }
.sec-head__title em {
	font-style: normal;
	color: var(--gold-deep);
}

.sec-head--split {
	grid-template-columns: 64px minmax(0, 1fr) minmax(0, .82fr);
	align-items: end;
}
.sec-head--split .sec-head__index { align-self: start; }
.sec-head--split .sec-head__aside {
	padding-bottom: 6px;
	color: var(--muted);
	font-size: .96rem;
}

/* -------------------------------------------------------------------------
   6) الأزرار
   ---------------------------------------------------------------------- */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--paper);
	--btn-bd: var(--ink);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	border: 1px solid var(--btn-bd);
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: .9rem;
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 1.2;
	overflow: hidden;
	transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
	isolation: isolate;
}

/* التعبئة تزحف من الجانب فتعطي إحساس ستارة معمارية بدل وميض لون */
.btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: inline-end;
	transition: transform .45s var(--ease-out);
	z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: inline-start; }
.btn:hover { border-color: var(--gold); color: #fff; }

.btn .icon { width: 18px; height: 18px; flex: none; }

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bd: var(--line-strong);
}
.btn--gold {
	--btn-bg: var(--gold);
	--btn-fg: #fff;
	--btn-bd: var(--gold);
}
.btn--gold::before { background: var(--ink); }
.btn--gold:hover { border-color: var(--ink); }

.btn--light {
	--btn-bg: transparent;
	--btn-fg: var(--paper);
	--btn-bd: rgba(246, 242, 234, .38);
}
.btn--solid-light {
	--btn-bg: var(--paper);
	--btn-fg: var(--ink);
	--btn-bd: var(--paper);
}

.btn--sm { padding: 11px 20px; font-size: .82rem; }
.btn--block { width: 100%; }

/* رابط بسهم — للروابط الثانوية */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: .9rem;
	color: var(--ink);
	padding-bottom: 4px;
	border-bottom: 1px solid var(--line-gold);
	transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--gold-deep); border-color: var(--gold); gap: 14px; }
.link-arrow:hover .icon { transform: translateX(-4px); }
.section--dark .link-arrow { color: var(--paper); }
.section--dark .link-arrow:hover { color: var(--gold-soft); }

/* -------------------------------------------------------------------------
   7) الترويسة العلوية
   ---------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 90;
	transition: background-color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
	border-bottom: 1px solid transparent;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
	transition: height .4s var(--ease);
}

/* على الواجهة تبدأ الترويسة شفافة فوق الصورة ثم تتماسك عند التمرير */
.is-front .site-header:not(.is-stuck) { background: transparent; }
.is-front .site-header:not(.is-stuck) .brand-name,
.is-front .site-header:not(.is-stuck) .nav-list a,
.is-front .site-header:not(.is-stuck) .header-tel,
.is-front .site-header:not(.is-stuck) .nav-toggle { color: var(--paper); }
.is-front .site-header:not(.is-stuck) .btn--ghost {
	--btn-fg: var(--paper);
	--btn-bd: rgba(246, 242, 234, .4);
}
.is-front .site-header:not(.is-stuck) .brand__img--light { display: none; }
.is-front .site-header:not(.is-stuck) .brand__img--dark { display: block; }

.site-header {
	background: rgba(246, 242, 234, .92);
	backdrop-filter: saturate(140%) blur(14px);
}
.site-header.is-stuck {
	background: rgba(246, 242, 234, .97);
	border-bottom-color: var(--line);
	box-shadow: 0 12px 40px -28px rgba(56, 52, 45, .55);
}
.site-header.is-stuck .site-header__inner { height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__img { height: 52px; width: auto; transition: height .4s var(--ease); }
.brand__img--dark { display: none; }
.site-header.is-stuck .brand__img { height: 44px; }

.brand-name {
	font-family: var(--font-display);
	font-size: 1.15rem;
	letter-spacing: .04em;
}
.brand-name small {
	display: block;
	font-size: .62rem;
	letter-spacing: .28em;
	color: var(--muted);
	text-transform: uppercase;
}

.site-nav { margin-inline-start: auto; }

.nav-list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.7vw, 30px);
}
.nav-list a {
	white-space: nowrap;
	position: relative;
	font-family: var(--font-display);
	font-size: .88rem;
	font-weight: 300;
	padding-block: 8px;
	transition: color .3s var(--ease);
}
.nav-list a::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: inline-end;
	transition: transform .38s var(--ease-out);
}
.nav-list a:hover::after,
.nav-list .is-current > a::after,
.nav-list .current-menu-item > a::after { transform: scaleX(1); transform-origin: inline-start; }
.nav-list a:hover { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.header-tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .86rem;
	font-family: var(--font-display);
	direction: ltr;
}
.header-tel .icon { width: 17px; height: 17px; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	align-items: center;
	justify-content: center;
	color: var(--ink);
}
.nav-toggle span {
	display: block;
	width: 24px;
	height: 1px;
	background: currentColor;
	position: relative;
	transition: background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	height: 1px;
	background: currentColor;
	transition: transform .35s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/*
 * القائمة المفتوحة تفرش طبقة داكنة، فلو بقيت علامة الإغلاق بلون النص الأساسي
 * ‎--ink‎ لصارت غامقاً على غامق (تباين 1.1:1) وكأنها غير موجودة. الترويسة
 * تحمل صنفاً وقت الفتح فيتحوّل معها اللوجو إلى نسخته الفاتحة ويرتفع فوق
 * الطبقة، فتظل العلامة التجارية وزرّ الإغلاق ظاهرين معاً.
 */
.site-header.nav-is-open .nav-toggle { color: var(--sand); }
.site-header.nav-is-open .brand {
	position: relative;
	z-index: 96;
}
.site-header.nav-is-open .brand-name { color: var(--sand); }
.site-header.nav-is-open .brand__img--light { display: none; }
.site-header.nav-is-open .brand__img--dark { display: block; }

/* -------------------------------------------------------------------------
   8) الواجهة الرئيسية
   ---------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: min(96svh, 940px);
	display: flex;
	align-items: flex-end;
	color: var(--paper);
	overflow: hidden;
	background: var(--ink-3);
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
/*
 * الحركة على الحاوية لا على الصورة: تكبير الصورة نفسها يوسّع صندوقها المرسوم
 * فيختار المتصفّح نسخة من srcset أكبر من التي حُمّلت مسبقاً، فتُنزَّل الواجهة
 * مرتين. تحريك الحاوية يعطي الأثر ذاته ويُبقي مقاس الصورة كما هو.
 */
.hero__media {
	animation: heroDrift 26s var(--ease) infinite alternate;
	will-change: transform;
}
.hero__media img,
.hero__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes heroDrift {
	from { transform: scale(1.04) translate3d(0, 0, 0); }
	to   { transform: scale(1.12) translate3d(1.4%, -1.4%, 0); }
}

.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, rgba(24, 22, 19, .88) 0%, rgba(24, 22, 19, .42) 42%, rgba(24, 22, 19, .18) 72%, rgba(24, 22, 19, .34) 100%),
		linear-gradient(to left, rgba(24, 22, 19, .5), transparent 62%);
}

/* شبكة أعمدة رفيعة توحي بالمسقط المعماري خلف النص */
.hero__grid {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gut);
}
.hero__grid span { border-inline-start: 1px solid rgba(246, 242, 234, .07); }
.hero__grid span:first-child { border-inline-start: 0; }

.hero__body {
	position: relative;
	z-index: 3;
	width: 100%;
	padding-block: clamp(120px, 16vh, 190px) clamp(30px, 5vh, 54px);
}

.hero__eyebrow {
	color: var(--gold-soft);
	margin-bottom: 26px;
}
.hero__eyebrow::before { background: var(--gold-soft); }

.hero__title {
	color: var(--paper);
	max-width: 16ch;
	margin-bottom: 10px;
	font-weight: 200;
}
.hero__title strong {
	display: block;
	font-weight: 400;
}

.hero__subtitle {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.3vw, 1.85rem);
	font-weight: 200;
	color: var(--gold-soft);
	margin-bottom: 26px;
	letter-spacing: .01em;
}

.hero__text {
	max-width: 56ch;
	color: rgba(246, 242, 234, .8);
	font-size: clamp(.98rem, 1.25vw, 1.1rem);
	margin-bottom: 36px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-bottom: clamp(42px, 6vh, 70px);
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
	border-top: 1px solid rgba(246, 242, 234, .18);
}
.hero__stat {
	padding: 22px 0 4px;
	border-inline-start: 1px solid rgba(246, 242, 234, .13);
	padding-inline-start: 22px;
}
.hero__stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.hero__stat b {
	display: block;
	direction: ltr;
	text-align: right;
	font-family: var(--font-num);
	font-size: clamp(2.2rem, 3.6vw, 3.1rem);
	font-weight: 300;
	line-height: 1;
	color: var(--paper);
	margin-bottom: 6px;
}
.hero__stat span {
	font-size: .84rem;
	color: rgba(246, 242, 234, .62);
	letter-spacing: .04em;
}

.hero__scroll {
	position: absolute;
	inset-inline-end: var(--gut);
	bottom: clamp(30px, 5vh, 54px);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: .74rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(246, 242, 234, .6);
	writing-mode: vertical-rl;
}
.hero__scroll::after {
	content: '';
	width: 1px;
	height: 56px;
	background: linear-gradient(to bottom, var(--gold), transparent);
	animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
	0%, 100% { opacity: .35; transform: scaleY(.6); transform-origin: top; }
	50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* -------------------------------------------------------------------------
   9) ترويسة الصفحات الداخلية
   ---------------------------------------------------------------------- */
.page-hero {
	position: relative;
	background: var(--ink-2);
	color: var(--paper);
	padding-block: calc(var(--header-h) + clamp(58px, 8vw, 108px)) clamp(58px, 8vw, 108px);
	overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(30, 28, 24, .92), rgba(30, 28, 24, .5));
}
.page-hero__body { position: relative; z-index: 1; max-width: 780px; }
.page-hero__title { color: var(--paper); margin-bottom: 18px; font-weight: 200; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero__text { color: rgba(246, 242, 234, .78); font-size: clamp(1rem, 1.3vw, 1.14rem); }
.page-hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* فتات الخبز */
.crumbs {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: .8rem;
	/* على الترويسة الداكنة: ‎.55‎ كانت باهتة، وهذه القيمة تجتاز AA بوضوح. */
	color: rgba(246, 242, 234, .78);
	margin-bottom: 26px;
}
.crumbs a { transition: color .3s var(--ease); }
.crumbs a:hover,
.crumbs a:focus-visible { color: var(--gold-soft); }
.crumbs span::after { content: '/'; margin-inline-start: 10px; color: rgba(246, 242, 234, .45); }

/* -------------------------------------------------------------------------
   10) قسم مقسوم: نص + صورة
   ---------------------------------------------------------------------- */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.split--reverse { direction: ltr; }
.split--reverse > * { direction: rtl; }

.split__media {
	position: relative;
	aspect-ratio: 4 / 3.2;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--sand-2);
}
.split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ease-out);
}
.split:hover .split__media img { transform: scale(1.035); }

/* إطار ذهبي مزاح — لمسة معمارية بدل ظل ثقيل */
.split__media::after {
	content: '';
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(255, 253, 249, .28);
	pointer-events: none;
	transition: inset .6s var(--ease-out);
}
.split:hover .split__media::after { inset: 20px; }

.split__body { max-width: 620px; }
.split__body .eyebrow { margin-bottom: 20px; }
.split__body h2 { margin-bottom: 22px; }

/* نقاط مصغّرة داخل الأقسام */
.points {
	display: grid;
	gap: 2px;
	margin-top: 34px;
	border-top: 1px solid var(--line);
}
.points li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.points .icon { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 3px; }
.points b {
	display: block;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1rem;
	margin-bottom: 2px;
}
.points span { font-size: .92rem; color: var(--muted); line-height: 1.7; }
.section--dark .points { border-color: var(--line-dark); }
.section--dark .points li { border-color: var(--line-dark); }
.section--dark .points span { color: rgba(246, 242, 234, .6); }
.section--dark .points .icon { color: var(--gold-soft); }

/* -------------------------------------------------------------------------
   11) المشروع بالأرقام
   ---------------------------------------------------------------------- */
.figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	border-top: 1px solid var(--line);
	border-inline-start: 1px solid var(--line);
}
.figure {
	padding: clamp(26px, 3.4vw, 46px) clamp(18px, 2.4vw, 32px);
	border-bottom: 1px solid var(--line);
	border-inline-end: 1px solid var(--line);
	position: relative;
	overflow: hidden;
}
.figure::before {
	content: '';
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: 2px;
	background: var(--gold);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform .6s var(--ease-out);
}
.figure:hover::before { transform: scaleY(1); }

/*
 * الرقم داخل عزل ltr حتى لا يقلب خوارزمية الاتجاه نطاقاً مثل «98 – 250»،
 * والوحدة تليه يساراً كما تُقرأ بالعربية.
 */
.figure__value {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: clamp(2.6rem, 4.8vw, 4rem);
	line-height: 1;
	color: var(--ink);
	margin-bottom: 14px;
	white-space: nowrap;
}
.figure__value--sm { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.figure__num { font-family: var(--font-num); font-weight: 300; }
.figure__unit {
	font-family: var(--font-body);
	font-size: .95rem;
	color: var(--gold-deep);
	font-weight: 400;
}
.figure__label {
	font-size: .93rem;
	color: var(--muted);
	line-height: 1.6;
}

.figures-note {
	margin-top: 34px;
	max-width: 74ch;
	font-size: .95rem;
	color: var(--muted);
	padding-inline-start: 20px;
	border-inline-start: 2px solid var(--line-gold);
}

/* -------------------------------------------------------------------------
   12) فئات الوحدات
   ---------------------------------------------------------------------- */
/*
 * الفواصل حدودٌ على الخلايا لا فجواتٌ فوق خلفية ملوّنة: عند بقاء خلايا
 * فارغة في آخر صف لا تظهر ككتل لونية غريبة.
 */
.types {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
	border-top: 1px solid var(--line);
	border-inline-start: 1px solid var(--line);
}

.type-card {
	border-bottom: 1px solid var(--line);
	border-inline-end: 1px solid var(--line);
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	padding: clamp(26px, 2.6vw, 38px);
	overflow: hidden;
	transition: background-color .5s var(--ease);
}
.type-card:hover { background: #fff; }

.type-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	margin: calc(-1 * clamp(26px, 2.6vw, 38px)) calc(-1 * clamp(26px, 2.6vw, 38px)) 26px;
	overflow: hidden;
	background: var(--sand-2);
}
.type-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease-out), filter .6s var(--ease);
	filter: saturate(.94);
}
.type-card:hover .type-card__media img { transform: scale(1.05); filter: saturate(1.04); }

.type-card__icon {
	position: absolute;
	inset-block-start: 16px;
	inset-inline-start: 16px;
	width: 46px; height: 46px;
	display: grid;
	place-items: center;
	background: rgba(255, 253, 249, .92);
	color: var(--gold-deep);
	border-radius: 50%;
}
.type-card__icon .icon { width: 22px; height: 22px; }

.type-card__title { margin-bottom: 8px; }
.type-card__tagline {
	font-family: var(--font-display);
	font-size: .96rem;
	color: var(--gold-deep);
	margin-bottom: 14px;
	line-height: 1.5;
}
.type-card__text { font-size: .94rem; color: var(--muted); margin-bottom: 20px; }

.type-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.type-card__meta li {
	font-size: .8rem;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 100px;
	color: var(--muted);
}

.type-card__foot { margin-top: auto; }

/* -------------------------------------------------------------------------
   13) شريط المرافق الأفقي
   ---------------------------------------------------------------------- */
.rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(min(280px, 100%), 32%);
	gap: clamp(16px, 2vw, 26px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 18px;
	margin-inline: calc(-1 * var(--gut));
	padding-inline: var(--gut);
	scrollbar-width: thin;
	scrollbar-color: var(--line-strong) transparent;
}
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-track { background: var(--line); }
.rail::-webkit-scrollbar-thumb { background: var(--gold); }

.amen-card {
	position: relative;
	scroll-snap-align: start;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--ink-2);
	color: var(--paper);
	isolation: isolate;
}
.amen-card img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
	z-index: -2;
}
.amen-card::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(24, 22, 19, .92) 6%, rgba(24, 22, 19, .35) 46%, rgba(24, 22, 19, .06) 78%);
	transition: opacity .5s var(--ease);
}
.amen-card:hover img { transform: scale(1.06); }

.amen-card__body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: clamp(20px, 2.4vw, 30px);
}
.amen-card__icon {
	width: 40px; height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(246, 242, 234, .34);
	border-radius: 50%;
	color: var(--gold-soft);
	margin-bottom: 16px;
}
.amen-card__icon .icon { width: 20px; height: 20px; }
.amen-card__title {
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--paper);
	margin-bottom: 8px;
}
.amen-card__text {
	font-size: .89rem;
	color: rgba(246, 242, 234, .74);
	line-height: 1.65;
	/* الوصف يظهر عند التفاعل فتبقى البطاقة هادئة في حالتها الافتراضية */
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .55s var(--ease-out), opacity .4s var(--ease), margin-top .55s var(--ease-out);
}
.amen-card:hover .amen-card__text,
.amen-card:focus-visible .amen-card__text {
	max-height: 9em;
	opacity: 1;
	margin-top: 4px;
}

.rail-hint {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	font-size: .8rem;
	color: var(--muted);
	letter-spacing: .05em;
}
.rail-hint .icon { width: 16px; height: 16px; }
.section--dark .rail-hint { color: rgba(246, 242, 234, .5); }

/* -------------------------------------------------------------------------
   14) السكن الذكي
   ---------------------------------------------------------------------- */
.smart-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	border-top: 1px solid var(--line-dark);
	border-inline-start: 1px solid var(--line-dark);
	margin-top: clamp(34px, 4vw, 56px);
}
.smart-card {
	background: var(--ink-2);
	border-bottom: 1px solid var(--line-dark);
	border-inline-end: 1px solid var(--line-dark);
	padding: clamp(24px, 2.6vw, 36px);
	position: relative;
	overflow: hidden;
	transition: background-color .5s var(--ease);
}
.smart-card:hover { background: var(--ink-3); }
.smart-card__icon {
	color: var(--gold-soft);
	margin-bottom: 22px;
	display: block;
}
.smart-card__icon .icon { width: 34px; height: 34px; stroke-width: 1.1; }
.smart-card h3 {
	font-size: 1.08rem;
	color: var(--paper);
	margin-bottom: 10px;
}
.smart-card p {
	font-size: .9rem;
	color: rgba(246, 242, 234, .62);
	line-height: 1.72;
}
.smart-card__no {
	position: absolute;
	inset-block-start: 18px;
	inset-inline-end: 20px;
	font-family: var(--font-num);
	font-size: 1.1rem;
	color: rgba(246, 242, 234, .22);
}

.smart-media {
	position: relative;
	margin-top: clamp(34px, 4vw, 56px);
	aspect-ratio: 21 / 8;
	overflow: hidden;
	border-radius: var(--radius-lg);
}
.smart-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }

/* -------------------------------------------------------------------------
   15) معرض الجودة
   ---------------------------------------------------------------------- */
.mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(110px, 13vw, 190px);
	gap: clamp(10px, 1.2vw, 18px);
	margin-top: clamp(34px, 4vw, 54px);
}
.mosaic figure {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--sand-2);
}
.mosaic img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--ease-out);
}
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic figure:nth-child(5) { grid-row: span 2; }

.quote-band {
	margin-top: clamp(38px, 5vw, 64px);
	padding: clamp(28px, 3.4vw, 46px);
	border: 1px solid var(--line-gold);
	border-radius: var(--radius-lg);
	text-align: center;
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.2vw, 1.7rem);
	font-weight: 200;
	line-height: 1.55;
	color: var(--ink);
	position: relative;
}
.quote-band::before,
.quote-band::after {
	content: '';
	position: absolute;
	width: 18px; height: 18px;
	border: 1px solid var(--gold);
}
.quote-band::before { top: -1px; inset-inline-start: -1px; border-width: 1px 0 0 1px; }
.quote-band::after { bottom: -1px; inset-inline-end: -1px; border-width: 0 1px 1px 0; }
.section--dark .quote-band { color: var(--paper); }

/* -------------------------------------------------------------------------
   16) الموقع
   ---------------------------------------------------------------------- */
.roads {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	border-top: 1px solid var(--line);
	border-inline-start: 1px solid var(--line);
	margin-top: clamp(30px, 3.6vw, 48px);
}
.road {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	border-inline-end: 1px solid var(--line);
	padding: 22px 24px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: background-color .4s var(--ease);
}
.road:hover { background: #fff; }
.road .icon { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.road b { display: block; font-family: var(--font-display); font-weight: 400; font-size: .98rem; }
.road span { font-size: .84rem; color: var(--muted); }

.map-frame {
	position: relative;
	margin-top: clamp(32px, 4vw, 54px);
	aspect-ratio: 16 / 7;
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--sand-2);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.02); }
.map-frame--placeholder {
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--muted);
	padding: 40px;
}

/* -------------------------------------------------------------------------
   17) الضمانات — مدرّج زمني بصري
   ---------------------------------------------------------------------- */
.warranty-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	border-top: 1px solid var(--line-dark);
	border-inline-start: 1px solid var(--line-dark);
	margin-top: clamp(34px, 4vw, 56px);
}
.warranty {
	background: var(--ink-2);
	border-bottom: 1px solid var(--line-dark);
	border-inline-end: 1px solid var(--line-dark);
	padding: clamp(22px, 2.4vw, 32px);
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.warranty__icon { color: var(--gold-soft); }
.warranty__icon .icon { width: 26px; height: 26px; stroke-width: 1.1; }
.warranty__name {
	font-family: var(--font-display);
	font-size: .98rem;
	color: var(--paper);
	line-height: 1.4;
}
.warranty__years {
	text-align: center;
	font-family: var(--font-num);
	line-height: 1;
	color: var(--gold-soft);
}
.warranty__years b {
	display: block;
	font-size: 2.3rem;
	font-weight: 300;
}
.warranty__years span {
	font-family: var(--font-body);
	font-size: .74rem;
	color: rgba(246, 242, 234, .5);
	letter-spacing: .06em;
}
/* شريط طول الضمان: مؤشر بصري نسبي بدل جدول */
.warranty__bar {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	background: rgba(246, 242, 234, .08);
}
.warranty__bar i {
	display: block;
	height: 100%;
	background: linear-gradient(to left, var(--gold), var(--gold-deep));
	transform: scaleX(var(--ratio, .3));
	transform-origin: inline-start;
	transition: transform 1.2s var(--ease-out);
}

/* -------------------------------------------------------------------------
   18) المطور
   ---------------------------------------------------------------------- */
.dev-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
	gap: clamp(18px, 2.4vw, 34px);
	margin-top: clamp(28px, 3.4vw, 44px);
}
.dev-stat {
	border-top: 2px solid var(--gold);
	padding-top: 18px;
}
.dev-stat b {
	display: block;
	font-family: var(--font-num);
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	font-weight: 300;
	line-height: 1.05;
	margin-bottom: 8px;
	direction: ltr;
	text-align: right;
}
.dev-stat span { font-size: .88rem; color: var(--muted); line-height: 1.6; display: block; }
.section--dark .dev-stat span { color: rgba(246, 242, 234, .62); }
.section--dark .dev-stat b { color: var(--paper); }

/* -------------------------------------------------------------------------
   19) بطاقات الوحدات والفلترة
   ---------------------------------------------------------------------- */
.filters {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	/* خلفية معتمة تماماً: الشفافية الجزئية كانت تُظهر البطاقات خلف الشريط. */
	background: var(--sand);
	border-block: 1px solid var(--line);
	padding-block: 18px;
	margin-bottom: clamp(30px, 4vw, 48px);
}

.filters__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
	gap: 12px 16px;
	align-items: end;
}

.field { display: block; }
.field > span {
	display: block;
	font-size: .76rem;
	letter-spacing: .08em;
	color: var(--muted);
	margin-bottom: 6px;
}

.field select,
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field textarea {
	width: 100%;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	padding: 12px 14px;
	font-size: .92rem;
	font-family: var(--font-body);
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
	appearance: none;
}
.field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: left 18px top 50%, left 13px top 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-inline-start: 34px;
}
.field select:focus,
.field input:focus,
.field textarea:focus {
	outline: 0;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(200, 164, 104, .16);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }

/* الفلاتر القابلة للطي: العنوان مخفي على الحاسب فتبقى الحقول ظاهرة دائماً. */
.filters__collapse > summary { display: none; }
.filters__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 16px;
	margin-bottom: 4px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--paper);
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: .92rem;
}
.filters__summary::-webkit-details-marker { display: none; }
.filters__summary i {
	flex: none;
	width: 13px; height: 13px;
	background:
		linear-gradient(var(--gold-deep), var(--gold-deep)) center/100% 1px no-repeat,
		linear-gradient(var(--gold-deep), var(--gold-deep)) center/1px 100% no-repeat;
	transition: transform .35s var(--ease-out);
}
.filters__collapse[open] > .filters__summary i { transform: rotate(135deg); }

.filters__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: .88rem;
	color: var(--muted);
}
.filters__count strong { color: var(--ink); font-weight: 600; }
.filters__reset {
	font-size: .84rem;
	color: var(--gold-deep);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease);
}
.filters__reset:hover { border-color: var(--gold); }

.units-grid {
	display: grid;
	/* 265px لا 290: الحدّ الأصغر يسمح بعمودين على الأجهزة اللوحية الصغيرة (~640px). */
	grid-template-columns: repeat(auto-fill, minmax(min(265px, 100%), 1fr));
	gap: clamp(18px, 2.2vw, 30px);
	transition: opacity .3s var(--ease);
}
.units-grid.is-loading { opacity: .38; pointer-events: none; }

.unit-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color .4s var(--ease), transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.unit-card:hover {
	border-color: var(--line-gold);
	transform: translateY(-3px);
	box-shadow: 0 28px 50px -40px rgba(56, 52, 45, .6);
}

.unit-card__media {
	position: relative;
	aspect-ratio: 16 / 11;
	background: var(--sand-2);
	overflow: hidden;
}
.unit-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease-out);
}
.unit-card:hover .unit-card__media img { transform: scale(1.05); }

/* عندما لا تتوفّر صورة للوحدة: بطاقة كودية أنيقة بدل صورة عامة */
.unit-card__plate {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		repeating-linear-gradient(45deg, rgba(200, 164, 104, .05) 0 12px, transparent 12px 24px),
		var(--sand-2);
}
.unit-card__plate b {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5vw, 3rem);
	font-weight: 300;
	color: var(--gold-deep);
	letter-spacing: .04em;
	direction: ltr;
}

.badge {
	position: absolute;
	inset-block-start: 14px;
	inset-inline-start: 14px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border-radius: 100px;
	font-size: .76rem;
	font-family: var(--font-display);
	background: rgba(255, 253, 249, .94);
	color: var(--ink);
	backdrop-filter: blur(6px);
}
.badge::before {
	content: '';
	width: 7px; height: 7px;
	border-radius: 50%;
	background: currentColor;
}
.badge--available { color: var(--ok); }
.badge--reserved { color: var(--warn); }
.badge--sold { color: var(--gone); }

.unit-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(18px, 2vw, 26px);
}
/* الأكواد بخط العناوين لا بخط الأرقام: حرف A في Cormorant يُقرأ كلامدا. */
.unit-card__code {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.45rem;
	letter-spacing: .02em;
	line-height: 1.15;
	color: var(--ink);
	direction: ltr;
	text-align: right;
	margin-bottom: 4px;
}
.unit-card__kind {
	font-size: .84rem;
	color: var(--gold-deep);
	letter-spacing: .04em;
	margin-bottom: 16px;
}

.unit-specs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding-block: 16px;
	margin-bottom: 16px;
	border-block: 1px solid var(--line);
}
.unit-specs li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	text-align: center;
	font-size: .82rem;
	color: var(--muted);
}
.unit-specs .icon { width: 19px; height: 19px; color: var(--gold-deep); }
.unit-specs b { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: .92rem; }

.unit-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}
.unit-card__price {
	font-family: var(--font-num);
	font-size: 1.45rem;
	line-height: 1.1;
	color: var(--ink);
	direction: ltr;
	text-align: right;
}
.unit-card__price small {
	display: block;
	font-family: var(--font-body);
	font-size: .72rem;
	color: var(--muted);
	letter-spacing: .04em;
	direction: rtl;
	text-align: right;
}
.unit-card__price--soft { font-family: var(--font-body); font-size: .95rem; color: var(--muted); direction: rtl; }

.unit-card__link { position: absolute; inset: 0; z-index: 2; }
.unit-card__cta { position: relative; z-index: 3; }

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(34px, 4vw, 54px);
}
.pagination a,
.pagination span {
	min-width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding-inline: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-size: .9rem;
	transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-deep); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: clamp(50px, 8vw, 90px) 20px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	color: var(--muted);
}
.empty-state .icon { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 18px; }

/* -------------------------------------------------------------------------
   20) صفحة الوحدة
   ---------------------------------------------------------------------- */
.unit-single {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, .78fr);
	gap: clamp(28px, 4vw, 62px);
	align-items: start;
}

.unit-visual {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.unit-visual__main {
	aspect-ratio: 4 / 3;
	background: var(--sand-2);
	display: grid;
	place-items: center;
	padding: clamp(16px, 2vw, 30px);
}
.unit-visual__main img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}
.unit-visual__caption {
	padding: 14px 20px;
	border-top: 1px solid var(--line);
	font-size: .82rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 8px;
}
.unit-visual__caption .icon { width: 17px; height: 17px; color: var(--gold-deep); }

.unit-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(84px, 100%), 1fr));
	gap: 8px;
	padding: 14px;
	border-top: 1px solid var(--line);
}
.unit-thumbs button {
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color .3s var(--ease);
}
.unit-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.unit-thumbs button.is-active,
.unit-thumbs button:hover { border-color: var(--gold); }

.unit-aside {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 2.6vw, 34px);
}
.unit-aside__code {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(2rem, 4vw, 2.7rem);
	letter-spacing: .02em;
	line-height: 1.15;
	direction: ltr;
	text-align: right;
	margin-bottom: 6px;
}
.unit-aside__kind {
	color: var(--gold-deep);
	font-size: .95rem;
	margin-bottom: 20px;
}
.unit-aside__price {
	font-family: var(--font-num);
	font-size: clamp(1.8rem, 3.4vw, 2.4rem);
	line-height: 1.1;
	direction: ltr;
	text-align: right;
	padding-block: 18px;
	border-block: 1px solid var(--line);
	margin-bottom: 20px;
}
.unit-aside__price span {
	font-family: var(--font-body);
	font-size: .95rem;
	color: var(--muted);
}
.unit-aside__note {
	font-size: .82rem;
	color: var(--muted);
	direction: rtl;
	display: block;
	margin-top: 6px;
}
.unit-aside__actions { display: grid; gap: 10px; margin-top: 22px; }

.spec-table { display: grid; gap: 0; }
.spec-table div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	font-size: .92rem;
}
.spec-table div:last-child { border-bottom: 0; }
.spec-table dt { color: var(--muted); display: flex; align-items: center; gap: 9px; margin: 0; }
.spec-table .icon { width: 18px; height: 18px; color: var(--gold-deep); }
.spec-table dd { margin: 0; font-family: var(--font-display); font-weight: 400; }

.unit-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 12px 24px;
	margin-top: clamp(28px, 3vw, 42px);
}
.unit-features li {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: .93rem;
	color: #4d473e;
}
.unit-features .icon { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }

/* -------------------------------------------------------------------------
   21) الأسئلة الشائعة
   ---------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); max-width: 940px; }
.faq details {
	border-bottom: 1px solid var(--line);
}
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.5vw, 1.16rem);
	font-weight: 300;
	transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary::after {
	content: '';
	flex: none;
	width: 15px; height: 15px;
	background:
		linear-gradient(var(--gold), var(--gold)) center/100% 1px no-repeat,
		linear-gradient(var(--gold), var(--gold)) center/1px 100% no-repeat;
	transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__answer {
	padding-bottom: 26px;
	max-width: 78ch;
	color: var(--muted);
	font-size: .97rem;
	line-height: 1.85;
}

/* -------------------------------------------------------------------------
   22) النماذج
   ---------------------------------------------------------------------- */
.lead-form { display: grid; gap: 16px; }
.lead-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 16px;
}
/*
 * حقل الشرك: يبقى في الشجرة ليقع فيه المرسِل الآلي، لكنه ينكمش إلى بكسل
 * واحد بدل الإزاحة خارج الشاشة حتى لا يوسّع المستند أفقياً. لا يُخفى بـ
 * display:none لأن كثيراً من الروبوتات تتجاهل الحقول المخفية بهذه الطريقة.
 */
.lead-form__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	opacity: 0;
	pointer-events: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--gone); }
.field__error {
	display: block;
	font-size: .78rem;
	color: var(--gone);
	margin-top: 5px;
	min-height: 1em;
}
.form-note { font-size: .82rem; color: var(--muted); }
.form-message {
	padding: 15px 18px;
	border-radius: var(--radius);
	font-size: .93rem;
	display: none;
}
.form-message.is-visible { display: block; }
.form-message--ok { background: rgba(75, 127, 82, .1); color: var(--ok); border: 1px solid rgba(75, 127, 82, .28); }
.form-message--error { background: rgba(160, 74, 68, .08); color: var(--gone); border: 1px solid rgba(160, 74, 68, .26); }

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	gap: clamp(30px, 4vw, 64px);
	align-items: start;
}
.contact-panel {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 3vw, 42px);
}
.channels { display: grid; gap: 2px; }
.channel {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	transition: color .3s var(--ease);
}
.channel:last-child { border-bottom: 0; }
.channel:hover { color: var(--gold-deep); }
.channel__icon {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border: 1px solid var(--line-gold);
	border-radius: 50%;
	color: var(--gold-deep);
}
.channel__icon .icon { width: 20px; height: 20px; }
.channel b { display: block; font-family: var(--font-display); font-weight: 400; font-size: .95rem; }
.channel span { font-size: .88rem; color: var(--muted); direction: ltr; display: block; text-align: right; }

/* -------------------------------------------------------------------------
   23) الشريط الختامي
   ---------------------------------------------------------------------- */
.cta-band {
	position: relative;
	color: var(--paper);
	text-align: center;
	overflow: hidden;
	background: var(--ink-3);
}
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-band__media::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(24, 22, 19, .92), rgba(24, 22, 19, .62));
}
.cta-band__body {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin-inline: auto;
	padding-block: clamp(70px, 9vw, 130px);
}
.cta-band h2 { color: var(--paper); margin-bottom: 20px; font-weight: 200; }
.cta-band p { color: rgba(246, 242, 234, .78); margin-bottom: 34px; }
.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

/* -------------------------------------------------------------------------
   24) الفوتر
   ---------------------------------------------------------------------- */
/*
 * ألوان نصّ الفوتر مُسمّاة بدل شفافيات متفرّقة: النسب محسوبة على الخلفية
 * ‎--ink-3‎ فلا يعود التباين تخميناً. القيم السابقة كانت ‎rgba(…,.45)‎ للحقوق
 * (‎4.09:1‎) و‎.34‎ لإخلاء المسؤولية (‎2.92:1‎) وكلتاهما ترسب في AA.
 *
 *   --footer-fg    12.0:1  عناوين وروابط
 *   --footer-fg-2   7.6:1  نصوص وصفية
 *   --footer-fg-3   4.8:1  الحقوق وإخلاء المسؤولية — أصغر نصّ، ويجتاز AA
 */
.site-footer {
	--footer-fg: #ded8cd;
	--footer-fg-2: #b3ada1;
	--footer-fg-3: #8e887d;
	--footer-line: rgba(222, 216, 205, .15);
	--footer-line-2: rgba(222, 216, 205, .26);
	--footer-surface: rgba(222, 216, 205, .04);

	position: relative;
	background: var(--ink-3);
	color: var(--footer-fg-2);
	padding-block: clamp(48px, 5.5vw, 78px) 0;
	font-size: .92rem;
}

/* شعيرة ذهبية تفصل الفوتر عمّا قبله وتربطه بهوية اللوجو. */
.site-footer::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 1px;
	background: linear-gradient(to left, transparent, var(--gold-deep) 22%, var(--gold) 50%, var(--gold-deep) 78%, transparent);
	opacity: .55;
}

.footer-main {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.3fr) minmax(0, 1fr);
	gap: clamp(30px, 3.4vw, 58px);
	padding-bottom: clamp(36px, 4.4vw, 56px);
	border-bottom: 1px solid var(--footer-line);
}

.footer-brand__logo { height: 70px; width: auto; margin-bottom: 20px; }
.footer-brand__name {
	font-family: var(--font-display);
	font-size: 1.3rem;
	color: var(--footer-fg);
	margin-bottom: 18px;
}
.footer-brand__text {
	max-width: 42ch;
	line-height: 1.85;
	color: var(--footer-fg-2);
}

/* -------- قائمتا الروابط -------- */
.footer-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 2.6vw, 40px);
}

.footer-col h4,
.footer-contact h4 {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-display);
	font-size: .76rem;
	letter-spacing: .16em;
	color: var(--gold-soft);
	margin-bottom: 18px;
	font-weight: 400;
}
.footer-col h4::before,
.footer-contact h4::before {
	content: "";
	width: 14px;
	height: 1px;
	background: var(--gold-deep);
	flex: none;
}

.footer-col li { margin-bottom: 2px; }
.footer-col a {
	display: block;
	padding-block: 7px;
	color: var(--footer-fg);
	transition: color .3s var(--ease), padding-inline-start .3s var(--ease);
}
.footer-col a:hover,
.footer-col a:focus-visible { color: var(--gold-soft); }

/* -------- بطاقة التواصل -------- */
.footer-contact { align-self: start; }

.contact-rows {
	border: 1px solid var(--footer-line);
	border-radius: var(--radius);
	background: var(--footer-surface);
	overflow: hidden;
}
.contact-rows li + li { border-top: 1px solid var(--footer-line); }

.contact-rows a,
.contact-rows__static {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 13px 15px;
	transition: background .3s var(--ease);
}
.contact-rows a:hover,
.contact-rows a:focus-visible { background: rgba(222, 216, 205, .07); }

.contact-rows__ico {
	flex: none;
	width: 36px; height: 36px;
	display: grid; place-items: center;
	border: 1px solid var(--footer-line-2);
	border-radius: 50%;
	color: var(--gold-soft);
}
.contact-rows__ico .icon { width: 17px; height: 17px; }

.contact-rows__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-rows__body b {
	font-weight: 400;
	font-size: .82rem;
	color: var(--footer-fg);
}
.contact-rows__body span {
	font-size: .8rem;
	color: var(--footer-fg-2);
	overflow-wrap: anywhere;
}
.contact-rows .ltr { direction: ltr; text-align: start; }

/* -------- شبكات التواصل -------- */
.socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.socials a {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border: 1px solid var(--footer-line-2);
	border-radius: 50%;
	color: var(--footer-fg);
	transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.socials a:hover,
.socials a:focus-visible {
	border-color: var(--gold);
	color: var(--gold-soft);
	background: rgba(200, 164, 104, .1);
	transform: translateY(-2px);
}
.socials .icon { width: 18px; height: 18px; }

/* -------- الشريط السفلي -------- */
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 26px;
	padding-block: 22px;
	font-size: .82rem;
	color: var(--footer-fg-3);
}
.footer-bottom__copy { margin: 0; }
.legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	list-style: none;
}
.footer-bottom__legal a {
	color: var(--footer-fg-3);
	transition: color .3s var(--ease);
}
.footer-bottom__legal a:hover,
.footer-bottom__legal a:focus-visible { color: var(--gold-soft); }

.disclaimer {
	padding-bottom: 28px;
	font-size: .78rem;
	line-height: 1.8;
	color: var(--footer-fg-3);
	max-width: 92ch;
}

/* -------------------------------------------------------------------------
   25) الأزرار الثابتة
   ---------------------------------------------------------------------- */
.float-wa {
	position: fixed;
	inset-inline-end: 22px;
	bottom: 22px;
	z-index: 80;
	width: 56px; height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .7);
	transition: transform .35s var(--ease-out), box-shadow .35s var(--ease);
}
.float-wa:hover { transform: translateY(-3px) scale(1.04); }
.float-wa .icon { width: 27px; height: 27px; }

.sticky-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 85;
	display: none;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	background: var(--ink-2);
	border-top: 1px solid var(--line-dark);
	transform: translateY(100%);
	transition: transform .45s var(--ease-out);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 11px 6px calc(11px + env(safe-area-inset-bottom, 0px));
	font-size: .74rem;
	color: rgba(246, 242, 234, .82);
	border-inline-start: 1px solid var(--line-dark);
}
.sticky-bar a:first-child { border-inline-start: 0; }
.sticky-bar a .icon { width: 20px; height: 20px; color: var(--gold-soft); }
.sticky-bar a.is-primary { background: var(--gold); color: #fff; }
.sticky-bar a.is-primary .icon { color: #fff; }

/* -------------------------------------------------------------------------
   26) المحتوى النصّي العام (الصفحات القانونية والمقالات)
   ---------------------------------------------------------------------- */
.prose { max-width: 78ch; }
.prose h2 { margin: 2em 0 .7em; font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.prose h3 { margin: 1.6em 0 .6em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; margin-bottom: .55em; padding-inline-start: 4px; }
.prose ul li::before {
	content: '';
	position: absolute;
	inset-inline-start: -1.1em;
	top: .78em;
	width: 6px; height: 1px;
	background: var(--gold);
}
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: .55em; }
.prose a { color: var(--gold-deep); border-bottom: 1px solid var(--line-gold); }
.prose blockquote {
	margin: 1.6em 0;
	padding-inline-start: 22px;
	border-inline-start: 2px solid var(--gold);
	font-size: 1.06rem;
	color: #4d473e;
}
.prose img { border-radius: var(--radius-lg); margin-block: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.5em; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: start; }
.prose th { background: var(--sand-2); font-weight: 600; }

/* -------------------------------------------------------------------------
   27) الحركة عند الظهور
   ---------------------------------------------------------------------- */
/*
 * الإخفاء الابتدائي مشروط بوجود جافاسكربت: بدونه لا يعمل المراقب الذي
 * يعيد الإظهار، فيبقى المحتوى مرئياً بدل أن يختفي عن الزائر ومحركات البحث.
 */
.js .reveal {
	opacity: 0;
	transform: translateY(var(--reveal-y, 26px));
	transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

.motion-calm { --reveal-y: 14px; }
.motion-bold { --reveal-y: 42px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.js .reveal { opacity: 1; transform: none; }
	.hero__media { animation: none; }
}

/* -------------------------------------------------------------------------
   28) الاستجابة
   ---------------------------------------------------------------------- */
@media (max-width: 1340px) {
	:root { --wrap: 1220px; }
	.header-tel { display: none; }
	.nav-list { gap: clamp(12px, 1.3vw, 20px); }
	.nav-list a { font-size: .84rem; }
}

@media (max-width: 1100px) {
	.unit-single { grid-template-columns: 1fr; }
	.unit-aside { position: static; }
	/* العلامة والروابط فوق، وبطاقة التواصل تمتد أسفلهما. */
	.footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
	.footer-contact { grid-column: 1 / -1; }
	.contact-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-rows li + li { border-top: 0; }
	.contact-rows li:nth-child(n+3) { border-top: 1px solid var(--footer-line); }
	.contact-rows li:nth-child(even) { border-inline-start: 1px solid var(--footer-line); }
	/* عدد فردي من الصفوف يترك خانة فارغة، فيمتد الأخير على العمودين. */
	.contact-rows li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.contact-layout { grid-template-columns: 1fr; }
}

/*
 * 1080px لا 980: القائمة الأفقية بتسعة عناصر تستهلك 732px، فلا يتبقّى لها
 * هامش يُذكر عند 1024 (عرض الآيباد الأفقي). التحويل للقائمة المطوية أبكر
 * أسلم من ضغط النص.
 */
@media (max-width: 1080px) {
	:root { --header-h: 72px; }

	/*
	 * إلغاء backdrop-filter على الترويسة ضروري لا تجميلي: وجوده يجعل
	 * الترويسة كتلة احتواء لأي عنصر position:fixed بداخلها، فتنحصر قائمة
	 * الجوال في ارتفاع الترويسة بدل أن تغطي الشاشة.
	 */
	.site-header { backdrop-filter: none; }

	.site-nav {
		position: fixed;
		inset: 0;
		background: var(--ink-2);
		display: grid;
		align-content: center;
		justify-items: center;
		gap: 4px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-14px);
		transition: opacity .4s var(--ease), transform .4s var(--ease-out), visibility .4s;
		z-index: 95;
		padding: 90px 24px 40px;
		overflow-y: auto;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav-list { flex-direction: column; gap: 4px; text-align: center; }
	.nav-list a {
		font-size: 1.22rem;
		padding-block: 12px;
		color: var(--paper) !important;
	}
	.nav-toggle { display: inline-flex; z-index: 96; position: relative; }
	.header-tel { display: none; }

	.split { grid-template-columns: 1fr; }
	.split--reverse { direction: rtl; }
	.split__media { aspect-ratio: 16 / 11; }

	.sec-head { grid-template-columns: 40px minmax(0, 1fr); }
	.sec-head--split { grid-template-columns: 40px minmax(0, 1fr); }
	.sec-head__index { font-size: 1.15rem; }
	.sec-head__index::after { display: none; }

	.mosaic { grid-template-columns: repeat(2, 1fr); }
	.mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
	.mosaic figure:nth-child(4) { grid-column: span 1; }
	.mosaic figure:nth-child(5) { grid-row: span 1; }

	.hero__scroll { display: none; }
	.rail { grid-auto-columns: minmax(min(240px, 100%), 74%); }
	.warranty { grid-template-columns: 36px minmax(0, 1fr) auto; }
	.filters { position: static; }
}

@media (max-width: 700px) {
	body { font-size: 15.5px; }

	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr; gap: 34px; }
	.footer-brand__logo { height: 58px; margin-bottom: 16px; }
	.footer-brand__text { max-width: none; font-size: .88rem; }

	/* عمودان متجاوران للروابط: كومة واحدة كانت تُطيل الفوتر بلا داعٍ. */
	.footer-nav { gap: 20px; }
	/* 44px حدّ أدنى لهدف اللمس؛ الحشو وحده كان يعطي 42px. */
	.footer-col a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding-block: 6px;
		font-size: .88rem;
	}

	.contact-rows { grid-template-columns: 1fr; }
	.contact-rows li:nth-child(n+2) { border-top: 1px solid var(--footer-line); }
	.contact-rows li:nth-child(even) { border-inline-start: 0; }

	/* صفوف أضيق على الجوال: خمسة صفوف بارتفاع 78px كانت تلتهم نصف الفوتر. */
	.contact-rows a,
	.contact-rows__static { padding: 10px 13px; gap: 11px; }
	.contact-rows__ico { width: 32px; height: 32px; }
	.contact-rows__ico .icon { width: 15px; height: 15px; }
	.contact-rows__body b { font-size: .8rem; }
	.contact-rows__body span { font-size: .76rem; line-height: 1.5; }

	.hero { min-height: 92svh; }
	.hero__stats { grid-template-columns: repeat(2, 1fr); }
	.hero__stat { padding-block: 16px 8px; }
	.hero__stat b { font-size: 1.95rem; }
	.hero__stat span { font-size: .78rem; }
	.hero__stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }

	.hero__actions .btn { flex: 1 1 100%; }

	.figure__value { font-size: 2.6rem; }
	.unit-specs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
	/* الشريط الثابت أسفل الشاشة يتولّى الدعوة، فيُخفى زر الترويسة تفادياً للتكرار. */
	.header-actions .btn { display: none; }
	.sticky-bar { display: grid; }
	body.has-sticky-bar { padding-bottom: 68px; }

	.filters__collapse > summary { display: flex; }
	.filters { padding-block: 14px; }

	/*
	 * 16px إلزامية في حقول الإدخال: سفاري على iOS يُقرّب الصفحة تلقائياً عند
	 * التركيز على أي حقل خطّه أصغر من ذلك، فيضطر المستخدم للتصغير يدوياً.
	 */
	.field select,
	.field input[type="text"],
	.field input[type="tel"],
	.field input[type="email"],
	.field input[type="number"],
	.field input[type="search"],
	.field textarea { font-size: 16px; }

	/* نسبة 16/7 تعطي خريطة بارتفاع 147px على شاشة 375px — قصيرة بلا فائدة. */
	.map-frame { aspect-ratio: 4 / 3.4; }

	/*
	 * زر واتساب العائم يُخفى على الجوال: الشريط الثابت يحمل الزر نفسه، وبقاؤه
	 * يعني تكراراً ويغطّي أزرار الواجهة على الشاشات القصيرة.
	 */
	.float-wa { display: none; }

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding-block: 18px;
	}
	/* فتات التنقّل: روابط بارتفاع 19px يصعب إصابتها باللمس. */
	.crumbs { gap: 4px 10px; }
	.crumbs a { display: flex; align-items: center; min-height: 40px; }

	/* الروابط القانونية أهداف لمس كاملة كبقية روابط الفوتر. */
	.legal-list { gap: 0 20px; }
	.legal-list a {
		display: flex;
		align-items: center;
		min-height: 44px;
	}
	.disclaimer { font-size: .76rem; }
}

/* -------------------------------------------------------------------------
   29) الطباعة الورقية
   ---------------------------------------------------------------------- */
@media print {
	.site-header, .site-footer, .sticky-bar, .float-wa, .filters, .hero__scroll { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.section { padding-block: 18pt; }
	.unit-single { grid-template-columns: 1fr; }
	a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}
