/* ==========================================================================
   بذول العقارية — الأساس: الألوان، الخطوط، الأزرار، الهيدر، الفوتر، الفورم.
   الألوان من الشعار: الذهبي #F1B852 على بني القهوة الداكن.
   ========================================================================== */

:root {
	--c-bg: #231811;
	--c-bg-2: #2b1e15;
	--c-bg-3: #36271c;
	--c-gold: #f1b852;
	--c-gold-hi: #ffd487;
	--c-gold-lo: #b9852f;
	--c-sand: #f3e7d3;
	--c-sand-2: #c9b79e;
	--c-sand-3: #9e8b75;
	--c-ink: #24180f;
	--c-line: rgba(241, 184, 82, 0.2);
	--c-line-soft: rgba(243, 231, 211, 0.1);
	--c-danger: #ff9b85;
	--c-ok: #a6dcae;
	/* لون الكلام والأيقونات الذهبية (في الوضع النهاري درجة أغمق من نفس الذهبي عشان تتقري). */
	--c-gold-text: #f1b852;
	/* لون الروابط الذهبية الصغيرة (إيميل الأسئلة، ورابط الخصوصية في الفورم): في النهاري أغمق كمان عشان التباين يعدّي 4.5. */
	--c-gold-link: #f1b852;

	--f-display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

	--fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
	--fs-small: 0.9375rem;
	--fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	--fs-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
	--fs-h2: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section-y: clamp(88px, 7vw + 48px, 160px);
	--header-h: 80px;
	--radius: 20px;
	--radius-lg: 32px;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
	color-scheme: dark;
}

/*
 * الوضع النهاري (الأساس): عاجي فاتح + بني غامق + ذهبي الشعار.
 * الوضع الليلي = القيم اللي فوق. الاختيار من خانة «الوضع النهاري / الوضع الليلي».
 */
:root[data-theme="light"] {
	color-scheme: light;
	--c-bg: #fbf7f0;
	--c-bg-2: #f4ece0;
	--c-bg-3: #ebdfcc;
	--c-gold-hi: #f6c56c;
	--c-gold-lo: #a8741a;
	--c-sand: #2a1c12;
	--c-sand-2: #5a4838;
	--c-sand-3: #806c58;
	--c-line: rgba(176, 122, 20, 0.32);
	--c-line-soft: rgba(42, 28, 18, 0.1);
	--c-danger: #b42318;
	--c-ok: #2f7d3a;
	--c-gold-text: #a8741a;
	--c-gold-link: #8a5d10;
}

/* أجزاء بتفضل بني غامق حتى في الوضع النهاري (الفوتر، وكارت نتيجة الحاسبة): بتدّي الصفحة وزن. */
[data-theme="light"] .site-footer,
[data-theme="light"] .calc__result {
	--c-bg: #231811;
	--c-bg-2: #2b1e15;
	--c-bg-3: #36271c;
	--c-sand: #f3e7d3;
	--c-sand-2: #c9b79e;
	--c-sand-3: #9e8b75;
	--c-line: rgba(241, 184, 82, 0.2);
	--c-line-soft: rgba(243, 231, 211, 0.1);
	--c-gold-text: #f1b852;
	--c-gold-link: #f1b852;
	color: var(--c-sand);
}

/* --------------------------------------------------------------------------
   Reset خفيف
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	min-height: 100vh;
	background: var(--c-bg);
	color: var(--c-sand);
	font-family: var(--f-body);
	font-size: var(--fs-body);
	line-height: 1.85;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

/* حبيبات خفيفة فوق الخلفية عشان البني ما يبانش مسطح. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > * {
	position: relative;
	z-index: 1;
}

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

a {
	color: inherit;
	text-decoration-color: var(--c-line);
	text-underline-offset: 0.3em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
	color: var(--c-gold-hi);
	text-decoration-color: currentColor;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--f-display);
	font-weight: 600;
	line-height: 1.35;
	color: var(--c-sand);
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

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

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

:focus-visible {
	outline: 2px solid var(--c-gold-hi);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--c-gold);
	color: var(--c-ink);
}

[hidden] {
	display: none !important;
}

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

.skip-link {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 200;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--c-gold);
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform 0.2s ease;
}

.skip-link:focus {
	transform: none;
}

main:focus {
	outline: none;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

/* --------------------------------------------------------------------------
   الأزرار — كبسولة كاملة الاستدارة زي حلقات الشعار
   -------------------------------------------------------------------------- */
.btn {
	--btn-bg: transparent;
	--btn-fg: var(--c-sand);
	--btn-bd: transparent;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 28px;
	border: 1.5px solid var(--btn-bd);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--f-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	isolation: isolate;
	overflow: hidden;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.btn:hover {
	color: var(--btn-fg);
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(0);
}

.btn--gold {
	--btn-bg: var(--c-gold);
	--btn-fg: var(--c-ink);
	--btn-bd: var(--c-gold);
}

/* لمعة ذهبية بتعدّي على الزرار وقت المرور. */
.btn--gold::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 244, 214, 0.75) 50%, transparent 70%);
	transform: translateX(120%);
	transition: transform 0.7s var(--ease-out);
}

.btn--gold:hover {
	--btn-bg: var(--c-gold-hi);
	--btn-bd: var(--c-gold-hi);
}

.btn--gold:hover::after {
	transform: translateX(-120%);
}

.btn--ghost {
	--btn-bd: var(--c-line);
	--btn-fg: var(--c-sand);
}

.btn--ghost:hover {
	--btn-bd: var(--c-gold);
	--btn-fg: var(--c-gold-hi);
}

.btn--ink {
	--btn-bg: var(--c-ink);
	--btn-fg: var(--c-gold-hi);
	--btn-bd: var(--c-ink);
}

.btn--ink:hover {
	--btn-bg: #3a2717;
	--btn-bd: #3a2717;
}

.btn--ink-ghost {
	--btn-bd: rgba(36, 24, 15, 0.45);
	--btn-fg: var(--c-ink);
}

.btn--ink-ghost:hover {
	--btn-bd: var(--c-ink);
	--btn-bg: rgba(36, 24, 15, 0.06);
}

.btn--sm {
	min-height: 42px;
	padding: 8px 20px;
	font-size: 0.9375rem;
}

.btn--lg {
	min-height: 58px;
	padding: 14px 34px;
	font-size: 1.0625rem;
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn[aria-busy="true"] {
	pointer-events: none;
	opacity: 0.75;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* --------------------------------------------------------------------------
   الهيدر
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	height: var(--header-h);
	transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}

.site-header.is-scrolled {
	background: rgba(35, 24, 17, 0.84);
	box-shadow: 0 1px 0 var(--c-line);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
}

/* شريط أدوات ووردبريس (للمسجّلين بس) فوق الهيدر الثابت. */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* ووردبريس بيخلّي شريطه يتحرك مع الصفحة تحت 600px، فكان بيسيب فراغ فوق الهيدر الثابت (للمسجّلين بس). */
@media (max-width: 600px) {
	.admin-bar #wpadminbar {
		position: fixed;
	}
}

/* على الموبايل والتابلت الهيدر بيبقى شبه مصمت، عشان الكلام والإضاءة اللي تحته ما يبانوش من خلاله. */
@media (max-width: 900px) {
	.site-header.is-scrolled {
		background: rgba(35, 24, 17, 0.97);
	}
}

[data-theme="light"] .site-header.is-scrolled {
	background: rgba(251, 247, 240, 0.94);
	box-shadow: 0 1px 0 rgba(42, 28, 18, 0.08), 0 10px 30px -20px rgba(42, 28, 18, 0.35);
}

@media (max-width: 900px) {
	[data-theme="light"] .site-header.is-scrolled {
		background: rgba(251, 247, 240, 0.98);
	}
}

/* --------------------------------------------------------------------------
   خانة «الوضع النهاري / الوضع الليلي»
   -------------------------------------------------------------------------- */
.mode-switch {
	display: inline-flex;
	flex-shrink: 0;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-bg-2);
}

.mode-switch__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--c-sand-2);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.mode-switch__btn .icon {
	width: 17px;
	height: 17px;
	stroke-width: 2.4;
}

.mode-switch__btn:hover {
	color: var(--c-sand);
}

/* الزرار النشط حسب الوضع الحالي على <html> (مش aria-pressed) عشان يبقى صح من أول رسم. */
:root:not([data-theme="dark"]) .mode-switch__btn[data-mode="light"],
:root[data-theme="dark"] .mode-switch__btn[data-mode="dark"] {
	background: var(--c-gold);
	color: var(--c-ink);
}

.mode-switch__btn:focus-visible {
	outline: 2px solid var(--c-gold);
	outline-offset: 2px;
}

/* في الهيدر: شمس وقمر بس (والاسم في التلميح) عشان الهيدر ما يزحمش؛ الاسم كامل في قائمة الجوال والفوتر. */
.mode-switch--header .mode-switch__label {
	display: none;
}

.mode-switch--header .mode-switch__btn {
	padding: 7px 9px;
}

/* في الفوتر: الاسم كامل. */
.mode-switch--footer .mode-switch__btn {
	padding: 6px 14px;
}

/* في قائمة الجوال: الاسم كامل والخانة بعرض القائمة. */
.mode-switch--menu {
	display: flex;
	justify-self: stretch;
}

.mode-switch--menu .mode-switch__btn {
	flex: 1;
	justify-content: center;
	padding: 10px 12px;
	font-size: 1rem;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 100%;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--c-gold-text);
	text-decoration: none;
	flex-shrink: 0;
}

.brand:hover {
	color: var(--c-gold-hi);
}

.brand__mark {
	width: 46px;
	height: auto;
}

.brand__word {
	width: 118px;
	height: auto;
}

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

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-nav__list a {
	position: relative;
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--c-sand-2);
	font-size: 0.9688rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
	color: var(--c-sand);
	background: rgba(243, 231, 211, 0.06);
}

[data-theme="light"] .site-nav__list a:hover,
[data-theme="light"] .site-nav__list a.is-active {
	background: rgba(42, 28, 18, 0.05);
}

.site-nav__list a.is-active::after {
	content: "";
	position: absolute;
	inset-inline: 50%;
	bottom: 2px;
	width: 5px;
	height: 5px;
	margin-inline-start: -2.5px;
	border-radius: 50%;
	background: var(--c-gold);
}

.nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	margin-inline-start: auto;
	padding: 0;
	border: 1.5px solid var(--c-line);
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 1.75px;
	margin-inline: auto;
	border-radius: 2px;
	background: var(--c-gold);
	transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
}

.nav-toggle__bars::before {
	transform: translateY(-6px);
}

.nav-toggle__bars::after {
	transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
	transform: rotate(-45deg);
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
	background: var(--c-bg);
	overflow-y: auto;
}

.mobile-menu.is-open {
	animation: menu-in 0.4s var(--ease-out);
}

@keyframes menu-in {
	from {
		opacity: 0;
		clip-path: inset(0 0 100% 0);
	}
	to {
		opacity: 1;
		clip-path: inset(0 0 0 0);
	}
}

.mobile-menu__list a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--c-line-soft);
	font-family: var(--f-display);
	font-size: clamp(1.25rem, 5vw, 1.625rem);
	font-weight: 600;
	text-decoration: none;
}

.mobile-menu__foot {
	display: grid;
	gap: 16px;
	margin-top: 32px;
	text-align: center;
}

.mobile-menu__phone {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--c-gold-text);
	text-decoration: none;
}

body.menu-open {
	overflow: hidden;
}

/* القائمة بتتحوّل لزرار ☰ من 1279 وأقل (الهيدر فيه كمان زرار اللغة وخانة الوضع). */
@media (max-width: 1279px) {
	.site-nav,
	.site-header__cta {
		display: none;
	}

	.nav-toggle {
		display: block;
	}
}

@media (max-width: 480px) {
	:root {
		--header-h: 68px;
	}

	.brand__mark {
		width: 38px;
	}

	.brand__word {
		width: 96px;
	}
}

/* --------------------------------------------------------------------------
   عناوين الأقسام
   -------------------------------------------------------------------------- */
.section {
	position: relative;
	padding-block: var(--section-y);
}

.section-head {
	max-width: 44rem;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.section-title {
	font-size: var(--fs-h2);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
}

.section-lead {
	margin-top: 10px;
	max-width: 38em;
	color: var(--c-sand-2);
	font-size: var(--fs-lead);
	line-height: 1.9;
}

/* --------------------------------------------------------------------------
   الحقول
   -------------------------------------------------------------------------- */
.field {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.field label,
.field legend {
	padding: 0;
	font-weight: 500;
	color: var(--c-sand);
}

.field__optional {
	color: var(--c-sand-3);
	font-weight: 400;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field textarea,
.field select {
	width: 100%;
	min-height: 54px;
	padding: 12px 18px;
	border: 1.5px solid var(--c-line-soft);
	border-radius: 16px;
	background: rgba(243, 231, 211, 0.04);
	color: var(--c-sand);
	font-size: 1.0625rem;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

[data-theme="light"] .field input[type="text"],
[data-theme="light"] .field input[type="tel"],
[data-theme="light"] .field input[type="email"],
[data-theme="light"] .field input[type="number"],
[data-theme="light"] .field textarea,
[data-theme="light"] .field select {
	background: #fff;
}

.field textarea {
	min-height: 112px;
	resize: vertical;
	line-height: 1.7;
}

.field input[dir="ltr"] {
	text-align: right;
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--c-sand-3);
}

.field input:hover,
.field textarea:hover {
	border-color: var(--c-line);
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--c-gold);
	background: rgba(241, 184, 82, 0.06);
}

.field.has-error input,
.field.has-error textarea {
	border-color: var(--c-danger);
}

.field__error {
	min-height: 0;
	color: var(--c-danger);
	font-size: var(--fs-small);
	line-height: 1.5;
}

.field__error:empty {
	display: none;
}

.field__hint {
	color: var(--c-sand-3);
	font-size: var(--fs-small);
	line-height: 1.6;
}

/* مربع اختيار مخصص */
.check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	line-height: 1.6;
}

.check input {
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	width: 24px;
	height: 24px;
	margin: 0;
	opacity: 0;
}

.check__box {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border: 1.5px solid var(--c-line);
	border-radius: 8px;
	color: var(--c-ink);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.check__box .icon {
	width: 16px;
	height: 16px;
	stroke-width: 3.5;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
}

.check input:checked + .check__box {
	background: var(--c-gold);
	border-color: var(--c-gold);
}

.check input:checked + .check__box .icon {
	opacity: 1;
	transform: none;
}

.check input:focus-visible + .check__box {
	outline: 2px solid var(--c-gold-hi);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   بيانات التواصل
   -------------------------------------------------------------------------- */
.contact-list {
	display: grid;
	gap: 12px;
}

.contact-list li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.contact-list .icon {
	width: 22px;
	height: 22px;
	color: var(--c-gold-text);
	flex-shrink: 0;
}

.contact-list a {
	text-decoration: none;
	font-weight: 500;
}

/* أيقونات السوشيال: دواير بخط ذهبي، بتتملي ذهبي وقت المرور. */
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	color: var(--c-gold-text);
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social a:hover {
	border-color: var(--c-gold);
	background: var(--c-gold);
	color: var(--c-ink);
}

.social .icon {
	width: 20px;
	height: 20px;
	stroke-width: 2.4;
}

.site-footer__social,
.request__social {
	margin-top: 24px;
}

.mobile-menu__foot .social {
	justify-content: center;
}

/* --------------------------------------------------------------------------
   الفوتر
   -------------------------------------------------------------------------- */
.site-footer {
	padding-top: clamp(72px, 8vw, 120px);
	border-top: 1px solid var(--c-line-soft);
	background: linear-gradient(180deg, var(--c-bg) 0%, #1c130d 100%);
}

[data-theme="light"] .site-footer {
	border-top: 0;
	background: linear-gradient(180deg, #2a1d14 0%, #1c130d 100%);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--c-gold);
	text-decoration: none;
}

.site-footer__mark {
	width: 64px;
}

.site-footer__word {
	width: 168px;
}

.site-footer__brand p {
	max-width: 30em;
	margin-top: 24px;
	color: var(--c-sand-2);
}

.site-footer__title {
	margin-bottom: 18px;
	font-size: 1.125rem;
	color: var(--c-gold);
}

.site-footer__nav ul {
	display: grid;
}

/* المسافة بين الروابط جاية من الـ padding عشان مساحة اللمس تكبر على الجوال. */
.site-footer__nav a {
	display: inline-block;
	padding-block: 4px;
	color: var(--c-sand-2);
	text-decoration: none;
}

.site-footer__nav a:hover {
	color: var(--c-gold-hi);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 64px;
	padding-block: 28px;
	border-top: 1px solid var(--c-line-soft);
	color: var(--c-sand-3);
	font-size: var(--fs-small);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__privacy a {
	color: var(--c-sand-2);
	text-decoration: none;
}

.site-footer__privacy a:hover,
.site-footer__privacy a:focus-visible {
	color: var(--c-gold);
}

/* رابط سياسة الخصوصية جوه جملة الموافقة في الفورم. */
.check a {
	color: var(--c-gold-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 860px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	/* الروابط السريعة عمودين على الجوال بدل عمود طويل. */
	.site-footer__nav ul {
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
	}

	.site-footer__nav a {
		padding-block: 7px;
	}
}

/* زر طلب ثابت تحت على الجوال بعد ما الزائر يعدّي الواجهة */
.mobile-cta {
	position: fixed;
	inset-inline: 12px;
	bottom: 12px;
	z-index: 50;
	display: none;
	gap: 10px;
	padding: 8px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: rgba(35, 24, 17, 0.9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
	transform: translateY(140%);
	transition: transform 0.45s var(--ease-out);
}

.mobile-cta .btn {
	flex: 1;
	min-height: 48px;
}

.mobile-cta__call {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1.5px solid var(--c-line);
	border-radius: 50%;
	color: var(--c-gold-text);
}

.mobile-cta__call .icon {
	width: 22px;
	height: 22px;
}

.mobile-cta.is-visible {
	transform: none;
}

/* زرار واتساب عائم على اللاب والتابلت (على الجوال موجود في الشريط اللي تحت). */
.wa-float {
	position: fixed;
	z-index: 50;
	bottom: 24px;
	inset-inline-end: 24px;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--c-gold);
	color: var(--c-ink);
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
	transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}

.wa-float:hover {
	transform: translateY(-2px);
	background: var(--c-gold-hi);
	color: var(--c-ink);
}

.wa-float .icon {
	width: 28px;
	height: 28px;
	stroke-width: 2.2;
}

@media (max-width: 900px) {
	.wa-float {
		display: none;
	}

	.mobile-cta {
		display: flex;
		max-width: 560px;
		margin-inline: auto;
	}

	/* مساحة تحت الفوتر عشان الشريط ما يغطيش آخر سطر. */
	.site-footer__bottom {
		padding-bottom: 96px;
	}
}

/* الوضع النهاري: الشريط السفلي وزرار واتساب وخلفية الحبوب. */
[data-theme="light"] .mobile-cta {
	background: rgba(251, 247, 240, 0.96);
	box-shadow: 0 18px 40px -18px rgba(42, 28, 18, 0.4);
}

[data-theme="light"] .wa-float {
	box-shadow: 0 14px 30px -12px rgba(42, 28, 18, 0.4);
}

[data-theme="light"] body::before {
	opacity: 0.025;
}

/* الخانة في الهيدر بتظهر على الشاشات الكبيرة بس؛ على الأصغر موجودة في القائمة. */
@media (max-width: 1279px) {
	.mode-switch--header {
		display: none;
	}
}

.site-header__cta {
	flex-shrink: 0;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   الصفحات الداخلية
   -------------------------------------------------------------------------- */
.page-shell {
	padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px));
	padding-bottom: var(--section-y);
	min-height: 70vh;
}

.entry + .entry {
	margin-top: 64px;
}

.entry__title {
	font-size: var(--fs-h2);
	font-weight: 700;
	margin-bottom: 32px;
}

.entry__title a {
	text-decoration: none;
}

.entry__content > * + * {
	margin-top: 1.1em;
}

.entry__content h2,
.entry__content h3 {
	margin-top: 1.8em;
	font-size: var(--fs-h3);
}

.entry__content ul,
.entry__content ol {
	padding-inline-start: 1.4em;
	list-style: revert;
}

.entry__content a {
	color: var(--c-gold-text);
}

.page-shell--404 {
	text-align: center;
}

.page-shell--404 .page-404__mark {
	width: 120px;
	margin: 0 auto 32px;
	color: var(--c-gold);
}

.page-shell--404 p {
	color: var(--c-sand-2);
	margin-bottom: 32px;
}

.page-shell--404 .actions {
	justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* --------------------------------------------------------------------------
   زرار اللغة (العربية / English)
   -------------------------------------------------------------------------- */
.lang-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	gap: 6px;
	min-height: 40px;
	padding: 6px 14px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	color: var(--c-sand);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover,
.lang-switch:focus-visible {
	border-color: var(--c-gold);
	color: var(--c-gold-text);
}

.lang-switch[lang="ar"] {
	font-family: var(--f-display);
}

.lang-switch[lang="en"] {
	font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
	letter-spacing: 0.02em;
}

.lang-switch__short {
	display: none;
}

/* الهيدر: على الجوال والتابلت الزرار بيظهر جنب ☰ بشكل مختصر (EN / ع). */
@media (max-width: 1279px) {
	.lang-switch--header {
		min-width: 44px;
		min-height: 44px;
		margin-inline-start: auto;
		padding: 0 12px;
	}

	.lang-switch--header ~ .nav-toggle {
		margin-inline-start: 0;
	}

	.site-header__inner {
		gap: 12px;
	}

	.lang-switch--header .lang-switch__label {
		display: none;
	}

	.lang-switch--header .lang-switch__short {
		display: inline;
	}
}

/* في قائمة الجوال: زرار بعرض القائمة. */
.lang-switch--menu {
	min-height: 48px;
	font-size: 1rem;
}

/* --------------------------------------------------------------------------
   النسخة الإنجليزية: كل التخطيط بالخصائص المنطقية فبيتقلب لوحده؛ هنا اللي محتاج تعديل يدوي.
   -------------------------------------------------------------------------- */
[lang="en"] body {
	line-height: 1.7;
}

[lang="en"] h1,
[lang="en"] h2,
[lang="en"] h3,
[lang="en"] h4 {
	letter-spacing: -0.01em;
}

[lang="en"] .section-title {
	line-height: 1.25;
}

[lang="en"] .section-lead {
	line-height: 1.7;
}

[dir="ltr"] .skip-link {
	right: auto;
	left: 12px;
}

[dir="ltr"] .btn--gold::after {
	transform: translateX(-120%);
}

[dir="ltr"] .btn--gold:hover::after {
	transform: translateX(120%);
}

[dir="ltr"] .field input[dir="ltr"] {
	text-align: left;
}

/* الاسم بالإنجليزي جنب علامة الشعار: Bdoul + Real Estate. */
.wordmark--en {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.28em;
	font-family: var(--f-display);
	line-height: 1;
	white-space: nowrap;
}

.wordmark__name {
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.wordmark__sub {
	font-size: 0.42em;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	opacity: 0.85;
}

.brand__word.wordmark--en {
	width: auto;
	font-size: 1.5rem;
}

.site-footer__word.wordmark--en {
	width: auto;
	font-size: 2.1rem;
}

@media (max-width: 480px) {
	.brand__word.wordmark--en {
		font-size: 1.3rem;
	}
}

