/* ==========================================================================
   قالب الهدف كلين — التنسيقات الرئيسية
   RTL أولاً باستخدام الخصائص المنطقية (تعمل أيضاً مع LTR)
   ========================================================================== */

/* ---------- 1) المتغيرات ---------- */
:root {
	--brand: #a17149;
	--brand-dark: #81532c;
	--brown-900: #3e2f23;
	--brown-700: #8d6e52;
	--brown-hover: #8b5e3c;
	--sand: #b89f88;
	--gold: #bf956f;
	--cream: #f3ede7;
	--cream-2: #e8e2db;
	--paper: #faf7f4;
	--ink-0: #0f0c0a;
	--ink-1: #1a1512;
	--ink-2: #251e18;
	--text: #3b342e;
	--muted: #6b645d;
	--footer-text: #c2c0c0;
	--white: #fff;
	--green: #28a745;
	--star: #f5b301;

	--font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;

	--container: 1200px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 76px;

	--r-sm: 0.75rem;
	--r-md: 1.25rem;
	--r-lg: 1.75rem;
	--r-xl: 3rem;

	--shadow-sm: 0 2px 10px rgba(62, 47, 35, 0.08);
	--shadow-md: 0 10px 30px rgba(62, 47, 35, 0.12);
	--shadow-lg: 0 24px 60px rgba(62, 47, 35, 0.22);

	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- 2) الأساسيات ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/* v1.2.3: منع أي تجاوز أفقي للصفحة نهائياً. overflow-x:clip
	   (بدل hidden) لا ينشئ حاوية تمرير فلا يكسر position:sticky
	   في القائمة الجانبية. */
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text);
	background: var(--white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

svg.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s ease;
}

a:hover {
	color: var(--brand-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	font-weight: 800;
	line-height: 1.3;
	color: var(--brown-900);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

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

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

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

::selection {
	background: var(--brand);
	color: var(--white);
}

.screen-reader-text {
	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:focus {
	position: fixed !important;
	top: 0.75rem;
	inset-inline-start: 0.75rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	clip: auto;
	background: var(--brown-900);
	color: var(--white);
	z-index: 100000;
	border-radius: var(--r-sm);
}

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

.container-narrow {
	max-width: 860px;
}

.section {
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- 3) عناصر مشتركة ---------- */
.section-head {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
	display: block;
	margin-bottom: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--brown-700);
}

.section-title {
	font-size: clamp(1.75rem, 4.2vw, 2.75rem);
	font-weight: 800;
	line-height: 1.25;
	color: var(--brown-900);
}

.section-desc {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: var(--muted);
	line-height: 1.8;
}

.text-accent {
	color: var(--brand);
	display: block;
}

/* الأزرار */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.85rem 1.9rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
	transform: translateY(-3px);
}

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

.btn .icon {
	transition: transform 0.3s var(--ease);
}

.btn:hover .icon-arrow {
	transform: translateX(-4px);
}

.btn-primary {
	background: var(--brand);
	color: var(--white);
	box-shadow: 0 8px 20px rgba(161, 113, 73, 0.35);
}

.btn-primary:hover {
	background: var(--brand-dark);
	color: var(--white);
}

.btn-dark {
	background: var(--brown-900);
	color: var(--white);
	box-shadow: 0 8px 22px rgba(62, 47, 35, 0.35);
}

.btn-dark:hover {
	background: var(--ink-1);
	color: var(--white);
}

.btn-light {
	background: var(--white);
	color: var(--brown-900);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
	background: var(--cream);
	color: var(--brown-900);
}

.btn-outline {
	border-color: var(--brown-700);
	color: var(--brown-900);
	background: transparent;
}

.btn-outline:hover {
	background: var(--brown-900);
	border-color: var(--brown-900);
	color: var(--white);
}

.btn-outline-light {
	border-color: rgba(255, 255, 255, 0.85);
	color: var(--white);
	background: transparent;
}

.btn-outline-light:hover {
	background: var(--white);
	color: var(--brown-900);
}

/* v1.2.2: زر نصي أبيض بسهم — كما في رسمة مصطفى للهيرو
   (زر «استكشف خدماتنا» نص أبيض بسهم بلا إطار). */
.btn-text-light {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 0.25rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--white);
	font-weight: 800;
}

.btn-text-light:hover {
	color: var(--cream);
	background: transparent;
}

.btn-text-light .icon {
	width: 1.1rem;
	height: 1.1rem;
}

/* حركات الظهور (تعمل فقط إذا كان JavaScript مفعلاً) */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- 4) الهيدر ---------- */
.site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	margin: 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, height 0.35s ease;
}

/* v1.1: إزاحة شريط ووردبريس تُطبَّق على الشاشات الكبيرة فقط.
   على الهاتف (≤782px) شريط الأدوات position:absolute ويختفي عند
   التمرير، فكانت الإزاحة الثابتة 32/46px تترك فراغاً أبيض فوق
   النافبار أثناء التمرير — وهذا أصل المشكلة المُبلَّغ عنها. */
@media (min-width: 783px) {
	body.admin-bar .site-header {
		top: 32px;
	}
}

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

.site-header.is-transparent {
	color: var(--white);
	background: transparent;
}

.site-header.is-solid,
.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.96);
	color: var(--brown-900);
	box-shadow: var(--shadow-sm);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-width: 0;
}

.site-branding {
	flex: none;
	min-width: 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 800;
	font-size: 1.35rem;
	line-height: 1.2;
	color: inherit;
	white-space: nowrap;
	flex: none;
}

.brand-name {
	white-space: nowrap;
}

.brand:hover {
	color: inherit;
}

.brand-logo {
	max-height: 52px;
	max-width: 180px;
	width: auto;
	object-fit: contain;
}

.brand-mark {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.8rem;
	background: var(--brand);
	color: var(--white);
}

.is-transparent:not(.is-scrolled) .brand-mark {
	background: rgba(255, 255, 255, 0.2);
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.primary-menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	flex-wrap: nowrap;
}

.primary-menu a {
	position: relative;
	display: block;
	padding: 0.5rem 0.65rem;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	color: inherit;
}

.primary-menu a::after {
	content: "";
	position: absolute;
	inset-inline: 0.9rem;
	bottom: 0.15rem;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s var(--ease);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
	transform: scaleX(1);
}

.primary-menu a:hover {
	color: inherit;
}

.primary-menu .menu-item {
	position: relative;
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 200px;
	padding: 0.5rem;
	margin: 0;
	list-style: none;
	background: var(--white);
	color: var(--brown-900);
	border-radius: var(--r-sm);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.25s ease;
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-menu .sub-menu a::after {
	display: none;
}

.primary-menu .sub-menu a:hover {
	background: var(--cream);
	border-radius: 0.5rem;
}

.header-cta {
	padding: 0.6rem 1.4rem;
	font-size: 0.95rem;
}

.is-transparent:not(.is-scrolled) .header-cta {
	background: var(--white);
	color: var(--brown-900);
	box-shadow: none;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0.8rem;
	background: transparent;
	color: inherit;
	place-items: center;
}

.nav-toggle .icon {
	width: 28px;
	height: 28px;
}

.nav-toggle-close {
	display: none;
}

body.nav-open .nav-toggle-open {
	display: none;
}

body.nav-open .nav-toggle-close {
	display: block;
}

/* ---------- 5) الفقاعات المتحركة ---------- */
/* v1.2.2: رجعت مسطحة كما كانت في الأصل — دوائر بيضاء شفافة
   بلا تدرج ثلاثي الأبعاد وبلا لمعة وبلا ظل داخلي — لكن أوضح
   قليلاً (شفافية أعلى وذروة ظهور أعلى). السرعة وبروزها الفوري
   من v1.2.1 باقيان. */
.bubbles {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.bubble {
	position: absolute;
	bottom: -160px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.22);
	opacity: 0;
	animation: floatUp linear infinite;
	will-change: transform, opacity;
}

@keyframes floatUp {
	0% {
		transform: translate(0, 0) rotate(0deg);
		opacity: 0;
	}

	8% {
		opacity: 0.7;
	}

	50% {
		transform: translate(22px, -55vh) rotate(160deg);
		opacity: 0.65;
	}

	88% {
		opacity: 0.55;
	}

	100% {
		transform: translate(-18px, -115vh) rotate(320deg);
		opacity: 0;
	}
}

.bubble:nth-child(1) { left: 4%; width: 26px; height: 26px; animation-duration: 9s; animation-delay: -1s; }
.bubble:nth-child(2) { left: 16%; width: 64px; height: 64px; animation-duration: 13s; animation-delay: -7s; }
.bubble:nth-child(3) { left: 30%; width: 38px; height: 38px; animation-duration: 10s; animation-delay: -3s; }
.bubble:nth-child(4) { left: 44%; width: 88px; height: 88px; animation-duration: 15s; animation-delay: -9s; }
.bubble:nth-child(5) { left: 58%; width: 30px; height: 30px; animation-duration: 8s; animation-delay: -2s; }
.bubble:nth-child(6) { left: 70%; width: 52px; height: 52px; animation-duration: 12s; animation-delay: -5s; }
.bubble:nth-child(7) { left: 84%; width: 22px; height: 22px; animation-duration: 9s; animation-delay: -4s; }
.bubble:nth-child(8) { left: 10%; width: 78px; height: 78px; animation-duration: 14s; animation-delay: -11s; }
.bubble:nth-child(9) { left: 38%; width: 34px; height: 34px; animation-duration: 10s; animation-delay: -6s; }
.bubble:nth-child(10) { left: 64%; width: 60px; height: 60px; animation-duration: 13s; animation-delay: -8s; }
.bubble:nth-child(11) { left: 78%; width: 44px; height: 44px; animation-duration: 11s; animation-delay: -3s; }
.bubble:nth-child(12) { left: 24%; width: 28px; height: 28px; animation-duration: 9s; animation-delay: -5s; }

/* ---------- 6) الهيرو ---------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--brand);
	background: linear-gradient(160deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 55%, var(--brand-dark)) 100%);
	color: var(--white);
	padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
	/* v1.2.3: مساحة سفلية أكبر لاستيعاب المنحنى الأبيض الجديد
	   (200px) دون أن يلامس الأزرار. */
	padding-bottom: clamp(9rem, 17vw, 13.5rem);
}

/* v1.1: على الهاتف لا إزاحة إضافية للهيرو (شريط الأدوات يختفي
   عند التمرير)، وإلا ظهر فراغ فوق الهيدر. */
@media (min-width: 783px) {
	body.admin-bar .hero {
		padding-top: calc(var(--header-h) + 32px + clamp(2rem, 6vw, 5rem));
	}

	body.admin-bar .page-hero {
		padding-top: calc(var(--header-h) + 32px + clamp(2.5rem, 6vw, 4.5rem));
	}

	body.admin-bar.hero-off .site-main {
		padding-top: calc(var(--header-h) + 32px);
	}
}

/* v1.2.3: الشكل الأبيض صار منحنى SVG ناعماً فعلاً — كتلة بيضاء
   بحافة علوية مستوية وزاوية علوية-يسرى مستديرة كبيرة (ربع
   دائرة ناعم بلا أي زاوية حادة)، كما في رسمة مصطفى تماماً.
   منحنى border-radius السابق كان قوساً بيضاوياً حاد الانحدار
   عند طرفه الأيسر فبدا كـ«درجة» لا كمنحنى. الشكل أضيق أيضاً
   (560px بدل 700px) حتى لا يهيمن على الهيرو. */
.hero::after {
	content: "";
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: -1px;
	width: min(34%, 560px);
	height: clamp(150px, 15vw, 200px);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 200' preserveAspectRatio='none'%3E%3Cpath d='M0,200 L0,130 Q0,0 170,0 L560,0 L560,200 Z' fill='%23ffffff'/%3E%3C/svg%3E");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	pointer-events: none;
}

.hero-grid {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
}

.hero-title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.5rem, 7vw, 4.75rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--white);
}

.hero-title-line {
	display: block;
}

.hero-title-line:last-child {
	color: var(--cream);
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.hero-text {
	max-width: 34rem;
	margin-bottom: 2rem;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-weight: 700;
	font-size: 0.95rem;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.hero-badge .icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--gold);
}

.hero-media {
	display: flex;
	justify-content: center;
}

.stripe-box {
	position: relative;
	z-index: 1;
	width: min(100%, 460px);
}

.stripe-box::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -15px;
	inset-inline-end: -35px;
	width: 130px;
	height: 130px;
	background-image: repeating-linear-gradient(135deg, #fff 0, #fff 4px, transparent 4px, transparent 12px);
}

.hero-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 8px;
	box-shadow: var(--shadow-lg);
	border: 6px solid rgba(255, 255, 255, 0.35);
	background: var(--brand-dark);
}

.hero-image-placeholder,
.about-placeholder {
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.7);
}

.hero-image-placeholder .icon,
.about-placeholder .icon {
	width: 30%;
	height: 30%;
}

/* أيقونات السوشيال */
.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
}

.socials a {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease;
}

.socials a:hover {
	transform: translateY(-4px);
}

.socials .icon {
	width: 22px;
	height: 22px;
}

/* v1.2: أيقونات التواصل مثل الموقع الفعلي تماماً — أيقونات بنية
   بسيطة مباشرة على المنحنى الأبيض أسفل الهيرو، بلا شريط أبيض
   وبلا خلية واتساب خضراء وبلا نص. الترتيب من اليسار: تيك توك،
   إنستغرام، فيسبوك، واتساب (direction:ltr).
   v1.2.1: رُفعت الأيقونات أعلى (منتصف المنحنى) لأنها كانت في
   v1.2 ملتصقة بأسفل الهيرو فبدت خارج المنحنى على خلفية الصفحة.
   v1.2.2: تجلس على الشكل الأبيض الكبير في الزاوية اليمنى —
   قريبة من الحافة اليمنى حيث الشكل الأبيض في أقصى ارتفاعه. */
.hero-social-wrap {
	position: absolute;
	z-index: 4;
	bottom: clamp(3.25rem, 6.5vw, 4rem);
	inset-inline-start: clamp(1.5rem, 5vw, 5.5rem);
	display: flex;
	align-items: center;
}

.hero-social {
	display: flex;
	align-items: center;
	direction: ltr;
	gap: clamp(1.4rem, 3vw, 2.1rem);
	flex-wrap: nowrap;
	width: max-content;
	padding: 0;
	list-style: none;
	background: transparent;
	box-shadow: none;
}

.hero-social li {
	display: flex;
}

/* v1.2.3: أيقونات أكبر قليلاً (54px بدل 48px، والأيقونة
   نفسها 34px بدل 30px) لتتناسب مع حجم المنحنى الجديد. */
.hero-social a {
	display: inline-grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	color: var(--brand);
	background: transparent;
	transition: transform 0.3s var(--ease), color 0.3s ease;
}

.hero-social a:hover {
	color: var(--brand-dark);
	transform: translateY(-4px);
}

.hero-social a .icon {
	width: 34px;
	height: 34px;
}

.socials-footer a {
	color: var(--white);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.socials-footer a:hover {
	background: var(--brand);
	color: var(--white);
}

.socials-light {
	margin-top: 1.75rem;
}

.socials-light a {
	color: var(--brown-900);
	background: var(--white);
	box-shadow: var(--shadow-sm);
}

.socials-light a:hover {
	background: var(--brand);
	color: var(--white);
}

/* ---------- 7) المميزات ---------- */
.features {
	padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
}

.feature-card {
	position: relative;
	padding: 2rem 1.75rem;
	text-align: center;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-md);
	border-color: var(--sand);
}

.feature-icon {
	display: inline-grid;
	place-items: center;
	width: 4.25rem;
	height: 4.25rem;
	margin-bottom: 1.1rem;
	border-radius: 50%;
	background: var(--cream);
	color: var(--brand);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.feature-icon .icon {
	width: 30px;
	height: 30px;
}

.feature-card:hover .feature-icon {
	background: var(--brand);
	color: var(--white);
}

.feature-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.4rem;
}

.feature-card p {
	margin: 0;
	color: var(--muted);
}

/* ---------- 8) من نحن ---------- */
.about-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	align-items: center;
	gap: clamp(2.5rem, 7vw, 6rem);
}

.about-media {
	position: relative;
	padding: 18px;
}

.about-frame {
	position: relative;
	z-index: 1;
}

.about-frame::before,
.about-frame::after {
	content: "";
	position: absolute;
	inset: -10px;
	z-index: -1;
	border-radius: 20px;
	background: var(--cream-2);
	opacity: 0.95;
	transform: rotate(-3deg);
	transition: transform 0.4s ease;
}

.about-frame::after {
	inset: 10px -10px -10px 10px;
	background: var(--cream);
	transform: rotate(3deg);
}

.about-media:hover .about-frame::before {
	transform: rotate(-6deg) translate(-6px, -6px);
}

.about-media:hover .about-frame::after {
	transform: rotate(6deg) translate(6px, 6px);
}

.about-frame img,
.about-placeholder {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 4.4;
	object-fit: cover;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.about-placeholder {
	background: var(--brand);
}

.about-badge {
	position: absolute;
	z-index: 2;
	bottom: -6px;
	inset-inline-start: -6px;
	display: grid;
	place-items: center;
	text-align: center;
	width: 8.5rem;
	height: 8.5rem;
	padding: 1rem;
	border-radius: 50%;
	background: var(--brown-900);
	color: var(--white);
	border: 6px solid var(--white);
	box-shadow: var(--shadow-md);
	line-height: 1.25;
}

.about-badge strong {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--gold);
	line-height: 1;
}

.about-badge small {
	font-size: 0.8rem;
	font-weight: 600;
}

.about-text {
	font-size: 1.1rem;
	color: var(--muted);
}

.check-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem 1.25rem;
	list-style: none;
	margin: 1.5rem 0 2rem;
}

.check-list li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-weight: 600;
	color: var(--brown-900);
}

.check-icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--cream);
	color: var(--brand);
}

.check-icon .icon {
	width: 16px;
	height: 16px;
	stroke-width: 3;
}

.about-actions,
.cta-actions,
.footer-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ---------- 9) الإحصائيات ---------- */
.stats {
	position: relative;
	padding-block: clamp(2.75rem, 6vw, 4.5rem);
	background: linear-gradient(135deg, var(--brown-900), #2a2018);
	color: var(--white);
	overflow: hidden;
}

.stats::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 15% 20%, rgba(191, 149, 111, 0.25), transparent 45%), radial-gradient(circle at 85% 80%, rgba(161, 113, 73, 0.25), transparent 45%);
	pointer-events: none;
}

.stats-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
}

.stat {
	text-align: center;
}

.stat-icon {
	display: inline-grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 0.9rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--gold);
}

.stat-icon .icon {
	width: 28px;
	height: 28px;
}

.stat-number {
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	unicode-bidi: isolate;
}

.stat-suffix {
	color: var(--gold);
}

.stat-label {
	margin: 0.4rem 0 0;
	font-weight: 700;
	color: var(--sand);
}

/* ---------- 10) الخدمات ---------- */
.services {
	background: var(--paper);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.25rem 2rem 2rem;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.45s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 22px 44px rgba(141, 110, 82, 0.2);
	border-color: var(--sand);
}

.hover-indicator {
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--brand), var(--gold));
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease);
}

.service-card:hover .hover-indicator {
	transform: scaleX(1);
}

.icon-container {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1.25rem;
	border-radius: 1.1rem;
	background: var(--cream);
	color: var(--brand);
	transition: background-color 0.35s ease, color 0.35s ease, transform 0.45s var(--ease);
}

.icon-container .icon {
	width: 32px;
	height: 32px;
}

.service-card:hover .icon-container {
	background: var(--brand);
	color: var(--white);
	transform: rotate(-6deg) scale(1.06);
}

.card-title {
	font-size: 1.3rem;
	margin-bottom: 0.6rem;
}

.card-desc {
	flex: 1;
	margin-bottom: 1.25rem;
	color: var(--muted);
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--brand);
}

.card-link .icon {
	width: 20px;
	height: 20px;
	transition: transform 0.3s var(--ease);
}

.card-link:hover {
	color: var(--brand-dark);
}

.card-link:hover .icon {
	transform: translateX(-5px);
}

/* ---------- 11) مناطق الخدمة ---------- */
.areas-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
	list-style: none;
	max-width: 56rem;
	margin: 0 auto;
}

.area-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 1.4rem 0.7rem 1.6rem;
	font-weight: 700;
	color: var(--brown-900);
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.area-chip:hover {
	transform: translateY(-4px);
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
}

.area-icon {
	display: inline-grid;
	color: var(--brand);
	transition: color 0.3s ease;
}

.area-chip:hover .area-icon {
	color: var(--white);
}

/* ---------- 12) المدونة ---------- */
.blog {
	background: var(--paper);
}

.blog-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.blog-head .section-title {
	margin: 0;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border-radius: 20px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.post-card:hover {
	transform: translateY(-12px);
	box-shadow: 0 20px 40px rgba(141, 110, 82, 0.2);
}

.post-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 20px 20px 0 0;
	background: var(--cream);
}

.post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.post-card:hover .post-thumb img {
	transform: scale(1.18) rotate(-2deg);
	filter: brightness(1.1);
}

.post-thumb-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--cream), var(--cream-2));
	color: var(--brand);
}

.post-thumb-placeholder .icon {
	width: 3rem;
	height: 3rem;
}

.post-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem 1.5rem 1.75rem;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.6rem;
	font-size: 0.85rem;
	color: var(--muted);
}

.post-cat {
	padding: 0.15rem 0.75rem;
	border-radius: 999px;
	background: var(--cream);
	color: var(--brown-700);
	font-weight: 700;
}

.post-title {
	font-size: 1.2rem;
	line-height: 1.5;
	margin-bottom: 0.6rem;
}

.post-title a:hover {
	color: var(--brand);
}

.post-excerpt {
	flex: 1;
	color: var(--muted);
	font-size: 0.97rem;
}

.load-more-wrap {
	margin-top: 2.5rem;
	text-align: center;
}

.load-more-wrap .btn[disabled] {
	opacity: 0.6;
	cursor: wait;
}

/* ---------- 13) المساعد (الأسئلة الشائعة) ---------- */
.faq {
	background: linear-gradient(180deg, var(--white), var(--cream));
}

.faq-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
}

.chat {
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: 28px;
	box-shadow: var(--shadow-md);
}

.chat-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	background: linear-gradient(135deg, var(--brown-900), var(--brown-700));
	color: var(--white);
	font-weight: 700;
}

.chat-avatar {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
}

.chat-status {
	position: relative;
	margin-inline-start: auto;
	padding-inline-start: 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #d8f5df;
}

.chat-status::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	70% {
		box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
	}
}

.chat-body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.5rem 1.25rem;
	background: var(--paper);
}

/* v1.2.1: الرسائل تدخل بسلاسة (ظهور + انزلاق خفيف). */
.message {
	max-width: 92%;
	padding: 0.85rem 1.1rem;
	border-radius: 1.1rem;
	font-size: 0.97rem;
	line-height: 1.75;
	animation: msgIn 0.35s var(--ease) both;
}

@keyframes msgIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.message.bot {
	align-self: flex-start;
	background: var(--white);
	color: var(--text);
	border: 1px solid var(--cream-2);
	border-start-start-radius: 0.3rem;
	box-shadow: var(--shadow-sm);
}

.faq-item {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.faq-question {
	align-self: flex-end;
	max-width: 92%;
	padding: 0.75rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 1.1rem;
	border-end-end-radius: 0.3rem;
	background: var(--brand);
	color: var(--white);
	font-weight: 600;
	font-size: 0.97rem;
	text-align: start;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s var(--ease);
}

.faq-question:hover,
.faq-item.is-open .faq-question {
	background: var(--brown-900);
}

.faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.4s var(--ease), opacity 0.4s ease;
}

.faq-answer-inner {
	overflow: hidden;
	min-height: 0;
}

.faq-item.is-open .faq-answer {
	grid-template-rows: 1fr;
	opacity: 1;
}

.faq-content .section-title {
	margin-bottom: 1rem;
}

.point-list {
	display: grid;
	gap: 0.9rem;
	margin-top: 1.5rem;
	list-style: none;
}

.point-list li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	font-weight: 700;
	color: var(--brown-900);
}

.point-icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.85rem;
	background: var(--white);
	color: var(--brand);
	box-shadow: var(--shadow-sm);
}

/* ---------- 14) آراء العملاء ---------- */
.testimonials {
	position: relative;
	overflow: hidden;
	background: var(--brown-900);
	color: var(--white);
}

.testimonials::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 10% 15%, rgba(191, 149, 111, 0.28), transparent 40%), radial-gradient(circle at 90% 85%, rgba(161, 113, 73, 0.3), transparent 40%);
	pointer-events: none;
}

.testimonials .container {
	position: relative;
}

.testimonials .section-title {
	color: var(--white);
}

.stars {
	display: flex;
	justify-content: center;
	gap: 0.3rem;
	margin-top: 0.75rem;
	color: var(--star);
}

.stars .icon {
	width: 1.5rem;
	height: 1.5rem;
}

.testi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 2rem);
}

.glass-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1.5px solid rgba(255, 255, 255, 0.18);
	border-radius: 2.25rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s var(--ease);
}

.glass-card:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.32);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	transform: translateY(-6px);
}

.quote-icon {
	display: inline-grid;
	margin-bottom: 1rem;
	color: var(--gold);
}

.quote-icon .icon {
	width: 2.25rem;
	height: 2.25rem;
}

.glass-card blockquote {
	flex: 1;
	margin: 0 0 1.5rem;
	font-size: 1.08rem;
	line-height: 1.9;
}

.glass-card blockquote p {
	margin: 0;
}

.glass-card figcaption {
	display: flex;
	flex-direction: column;
}

.glass-card figcaption strong {
	font-size: 1.1rem;
	color: var(--white);
}

.glass-card figcaption span {
	font-size: 0.9rem;
	color: var(--sand);
}

/* ---------- 15) CTA ---------- */
.cta {
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.cta-box {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem);
	text-align: center;
	color: var(--white);
	background: linear-gradient(135deg, var(--brown-700), var(--brand));
	border-radius: var(--r-xl);
	box-shadow: var(--shadow-lg);
}

.cta-box::before,
.cta-box::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.cta-box::before {
	width: 320px;
	height: 320px;
	top: -140px;
	inset-inline-start: -100px;
}

.cta-box::after {
	width: 240px;
	height: 240px;
	bottom: -110px;
	inset-inline-end: -70px;
}

.cta-box > * {
	position: relative;
	z-index: 1;
}

.cta-box h2 {
	font-size: clamp(1.75rem, 5vw, 3.25rem);
	line-height: 1.3;
	color: var(--white);
}

.cta-box p {
	max-width: 36rem;
	margin: 0 auto 2rem;
	font-size: clamp(1.05rem, 2.5vw, 1.4rem);
	color: rgba(255, 255, 255, 0.92);
}

.cta-actions {
	justify-content: center;
}

/* ---------- 16) الفوتر ---------- */
.site-footer {
	background: var(--ink-1);
	color: var(--footer-text);
}

.footer-cta {
	background: linear-gradient(135deg, var(--ink-2), var(--brown-900));
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	padding-block: clamp(2rem, 5vw, 3.25rem);
}

.footer-cta-text h2 {
	margin-bottom: 0.3rem;
	font-size: clamp(1.4rem, 3.2vw, 2rem);
	color: var(--white);
}

.footer-cta-text p {
	margin: 0;
	font-weight: 300;
	color: #9ca3af;
}

.footer-main {
	padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1.1fr 1.2fr;
	gap: clamp(1.75rem, 4vw, 3rem);
}

.footer-brand .brand {
	color: var(--white);
	margin-bottom: 1rem;
}

.footer-brand .brand-logo {
	max-height: 60px;
}

.footer-about p {
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.9;
	color: #9ca3af;
}

.footer-title {
	position: relative;
	margin-bottom: 1.5rem;
	padding-bottom: 0.9rem;
	font-size: 1.15rem;
	color: var(--white);
}

.footer-title::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 2.5rem;
	height: 3px;
	border-radius: 3px;
	background: var(--brand);
}

.footer-menu {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	list-style: none;
}

.footer-menu a {
	position: relative;
	display: inline-block;
	padding-inline-start: 1.1rem;
	color: var(--footer-text);
}

.footer-menu a::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: var(--brand);
	transition: transform 0.3s var(--ease);
}

.footer-menu a:hover {
	color: var(--gold);
}

.footer-menu a:hover::before {
	transform: scale(1.5);
}

.contact-list {
	display: grid;
	gap: 1.1rem;
	list-style: none;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.contact-icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.85rem;
	background: rgba(255, 255, 255, 0.06);
	color: var(--gold);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.5;
}

.contact-label {
	font-size: 0.8rem;
	color: #8b8f97;
}

.contact-value {
	font-weight: 600;
	color: var(--white);
	overflow-wrap: anywhere;
}

a.contact-value:hover {
	color: var(--gold);
}

.footer-newsletter p {
	font-size: 0.92rem;
	color: #9ca3af;
}

.newsletter-row {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-row:focus-within {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(161, 113, 73, 0.3);
}

.newsletter-row input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 1.25rem;
	border: 0;
	background: transparent;
	color: var(--white);
	outline: none;
}

.newsletter-row input::placeholder {
	color: #8b8f97;
}

.newsletter-submit {
	display: grid;
	place-items: center;
	flex: none;
	width: 3.25rem;
	margin: 4px;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	color: var(--white);
	transition: background-color 0.3s ease, transform 0.3s var(--ease);
}

.newsletter-submit:hover {
	background: var(--brand-dark);
	transform: scale(1.06);
}

.newsletter-submit .icon {
	transform: scaleX(-1);
}

.newsletter-form.is-loading .newsletter-submit {
	opacity: 0.6;
	pointer-events: none;
}

.newsletter-message {
	min-height: 1.5em;
	margin: 0.6rem 0 0;
	font-size: 0.9rem;
	color: var(--gold);
}

.newsletter-message.is-error {
	color: #ff8f8f;
}

.newsletter-note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.5rem 0 0;
	font-size: 0.82rem !important;
}

.newsletter-note .icon {
	width: 1rem;
	height: 1rem;
	color: var(--brand);
}

.hp-field {
	position: absolute !important;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.footer-bottom {
	background: var(--ink-0);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 1.25rem;
	font-size: 0.9rem;
}

.footer-bottom p {
	margin: 0;
}

/* ---------- 17) زر العودة للأعلى ---------- */
/* v1.2.13: الأزرار العائمة (اتصال/واتساب) حُذفت نهائياً — بقي
   زر عودة بسيط: دائرة بيضاء بسهم رمادي، وعند التحويم بني
   بسهم أبيض. مكانه في الجانب مكان الأزرار المحذوفة
   (inset-inline-end = أسفل يسار الشاشة في RTL)، فوق زر
   المساعد مباشرة. يظهر بعد التمرير 700px (main.js). */
.back-top {
	position: fixed;
	bottom: 5.5rem;
	inset-inline-end: 1.25rem;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: #1f2937;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(62, 34, 12, 0.25);
	transition: transform 0.25s var(--ease), background-color 0.25s ease, color 0.25s ease;
}

.back-top:hover {
	transform: translateY(-3px);
	background: var(--brand);
	color: var(--white);
}

.back-top .icon {
	width: 1.3rem;
	height: 1.3rem;
	stroke-width: 2.4;
}

/* ---------- 18) الصفحات الداخلية ---------- */
.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	text-align: center;
	padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(4.5rem, 9vw, 7rem);
	background: var(--brand);
	background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--brand-dark)));
	color: var(--white);
}

/* v1.1: أُزيلت إزاحة 32px المكررة هنا (أصبحت في قاعدة min-width:783px أعلاه). */
.page-hero::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset-inline: -8%;
	bottom: -1px;
	height: clamp(40px, 6vw, 80px);
	background: var(--white);
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.page-hero .container {
	position: relative;
	z-index: 1;
}

.page-title {
	margin: 0;
	font-size: clamp(1.9rem, 5vw, 3.25rem);
	color: var(--white);
}

.page-desc {
	max-width: 40rem;
	margin: 0.9rem auto 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.1rem;
}

.page-desc p {
	margin: 0;
}

.archive .posts-grid {
	margin-top: 0;
}

.empty-state {
	padding: 3rem 1rem;
	text-align: center;
	color: var(--muted);
	font-size: 1.15rem;
}

.search-box {
	max-width: 32rem;
	margin: 0 auto 2.5rem;
}

.search-form {
	display: flex;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
}

.search-field {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 1.4rem;
	border: 0;
	outline: none;
	background: transparent;
}

.search-submit {
	display: grid;
	place-items: center;
	width: 3.25rem;
	margin: 4px;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	color: var(--white);
}

.search-submit:hover {
	background: var(--brand-dark);
}

/* المقال / الصفحة */
.entry-thumb {
	margin: 0 0 2rem;
}

.entry-thumb img {
	width: 100%;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.entry-meta {
	font-size: 0.95rem;
	opacity: 0.95;
}

.entry-content {
	font-size: 1.1rem;
	line-height: 2;
	/* v1.2.3: إصلاح تجاوز المقال لعرض الشاشة على الهاتف —
	   كان أي رابط طويل أو فيديو مضمّن أو صورة بتعليق بعرض
	   ثابت أو بلوك عريض (alignwide/alignfull) يخرج خارج
	   الشاشة فيظهر شريط أبيض جانبي ويجبر على تصغير الشاشة. */
	overflow-wrap: break-word;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}

.entry-content .wp-caption {
	max-width: 100% !important;
}

.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
	margin-inline: auto;
}

.entry-title,
.entry-content h2,
.entry-content h3 {
	overflow-wrap: break-word;
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

.entry-content h2 {
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	margin-top: 2.25rem;
}

.entry-content h3 {
	font-size: clamp(1.25rem, 3vw, 1.6rem);
	margin-top: 2rem;
}

.entry-content a {
	color: var(--brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.5rem;
}

.entry-content ul {
	list-style: disc;
}

.entry-content li + li {
	margin-top: 0.4rem;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 1.25rem 1.5rem;
	background: var(--cream);
	border-inline-start: 5px solid var(--brand);
	border-radius: var(--r-sm);
	font-weight: 600;
}

.entry-content img {
	border-radius: var(--r-md);
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption,
.wp-caption-text {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	text-align: center;
	color: var(--muted);
}

.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.7rem 1rem;
	border: 1px solid var(--cream-2);
}

.entry-content th {
	background: var(--cream);
}

.entry-content pre {
	padding: 1rem;
	overflow-x: auto;
	direction: ltr;
	background: var(--ink-1);
	color: #eee;
	border-radius: var(--r-sm);
}

.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	margin-inline: auto;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.entry-tags a {
	padding: 0.25rem 0.9rem;
	border-radius: 999px;
	background: var(--cream);
	font-size: 0.9rem;
	font-weight: 600;
}

.entry-tags a:hover {
	background: var(--brand);
	color: var(--white);
}

.entry-cta {
	margin-top: 2rem;
}

.page-links {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 3rem;
}

.post-nav a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1rem 1.25rem;
	background: var(--cream);
	border-radius: var(--r-md);
	font-weight: 700;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.post-nav a:hover {
	background: var(--brand);
	color: var(--white);
}

.post-nav small {
	font-weight: 500;
	opacity: 0.75;
}

.post-nav-next {
	text-align: end;
}

.related-title {
	margin-bottom: 2rem;
	text-align: center;
}

/* ترقيم الصفحات */
.pagination {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: 1rem;
	border-radius: 999px;
	background: var(--cream);
	font-weight: 700;
	transition: background-color 0.3s ease, color 0.3s ease;
}

a.page-numbers:hover,
.page-numbers.current {
	background: var(--brand);
	color: var(--white);
}

/* التعليقات */
.comments-area {
	margin-top: 3.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--cream-2);
}

.comments-title,
.comment-reply-title {
	font-size: 1.5rem;
}

.comment-list {
	display: grid;
	gap: 1.25rem;
	margin: 1.5rem 0 2.5rem;
	list-style: none;
}

.comment-list .children {
	margin-top: 1.25rem;
	padding-inline-start: clamp(1rem, 4vw, 2.5rem);
	list-style: none;
}

.comment-body {
	padding: 1.25rem;
	background: var(--paper);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-md);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
}

.comment-author img {
	border-radius: 50%;
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.8rem 1.1rem;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-sm);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(161, 113, 73, 0.2);
}

/* 404 */
.error-box {
	text-align: center;
	padding-top: var(--header-h);
}

.error-code {
	display: block;
	font-size: clamp(5rem, 20vw, 10rem);
	font-weight: 800;
	line-height: 1;
	color: var(--brand);
	opacity: 0.9;
}

.error-actions {
	display: flex;
	justify-content: center;
}

/* LTR: عكس اتجاه الأسهم */
[dir="ltr"] .newsletter-submit .icon {
	transform: none;
}

[dir="ltr"] .icon-arrow {
	transform: scaleX(-1);
}

[dir="ltr"] .btn:hover .icon-arrow,
[dir="ltr"] .card-link:hover .icon {
	transform: scaleX(-1) translateX(-4px);
}

/* ==========================================================================
   19) التجاوب — الشاشات المتوسطة والصغيرة
   ========================================================================== */
/* عند إيقاف النشرة البريدية */
.footer-grid--3 {
	grid-template-columns: 1.4fr 0.8fr 1.1fr;
}

body.hero-off .site-main {
	padding-top: var(--header-h);
}

body.admin-bar.hero-off .site-main {
	padding-top: calc(var(--header-h) + 32px);
}

@media (max-width: 1100px) {
	.footer-grid,
	.footer-grid--3 {
		grid-template-columns: 1fr 1fr;
	}
}

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

	.nav-toggle {
		display: grid;
	}

	.primary-nav {
		position: fixed;
		top: var(--header-h);
		bottom: 0;
		inset-inline: 0;
		z-index: 999;
		flex-direction: column;
		justify-content: flex-start;
		gap: 1.25rem;
		padding: 1.5rem var(--gutter) 2rem;
		overflow-y: auto;
		background: var(--brown-900);
		color: var(--white);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 0.35s ease, transform 0.35s var(--ease), visibility 0.35s;
	}

	body.nav-open {
		overflow: hidden;
	}

	body.nav-open .primary-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	body.nav-open .site-header {
		background: var(--brown-900);
		color: var(--white);
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	body.nav-open .site-header .brand-mark {
		background: rgba(255, 255, 255, 0.2);
	}

	.primary-menu {
		flex-direction: column;
		gap: 0.25rem;
		width: 100%;
		text-align: center;
	}

	.primary-menu a {
		padding: 0.8rem 1rem;
		font-size: 1.35rem;
	}

	.primary-menu a::after {
		inset-inline: 35%;
	}

	.primary-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0;
		background: transparent;
		color: inherit;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-menu .sub-menu a {
		font-size: 1.05rem;
		opacity: 0.8;
	}

	.header-cta,
	.is-transparent:not(.is-scrolled) .header-cta {
		background: var(--white);
		color: var(--brown-900);
		padding: 0.85rem 2.25rem;
		font-size: 1.05rem;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-text {
		margin-inline: auto;
	}

	.hero-actions {
		justify-content: center;
	}

	.hero-media {
		order: 2;
	}

	.stripe-box {
		width: min(100%, 380px);
	}

	/* v1.2.11: على الهاتف لا منحنى جانبي إطلاقاً — قوس أبيض
	   بعرض الشاشة كاملاً (حافة علوية بيضاوية ناعمة)، وبداخله
	   أيقونات السوشيال في المنتصف مباشرة على الأبيض (بلا حبة).
	   بطلب مصطفى صراحة. */
	.hero::after {
		left: 0;
		right: 0;
		width: 100%;
		height: clamp(90px, 24vw, 130px);
		background-image: none;
		background: var(--white);
		border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	}

	.hero-social-wrap {
		position: absolute;
		bottom: clamp(1.2rem, 5vw, 1.8rem);
		left: 50%;
		right: auto;
		inset-inline-start: auto;
		transform: translateX(-50%);
		width: max-content;
		margin-top: 0;
	}

	.hero-social {
		gap: 1rem;
		background: transparent;
		border-radius: 0;
		padding: 0;
		box-shadow: none;
	}

	.hero-social a {
		width: 40px;
		height: 40px;
	}

	.hero-social a .icon {
		width: 26px;
		height: 26px;
	}

	.about-grid,
	.faq-grid {
		grid-template-columns: 1fr;
	}

	.about-media {
		width: 100%;
		max-width: 480px;
		margin-inline: auto;
	}

	.services-grid,
	.posts-grid,
	.testi-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 2.25rem;
	}
}

/* v1.1: على الهاتف لا إزاحة لشريط الأدوات إطلاقاً — هو من كان
   يترك الفراغ فوق النافبار عند التمرير. */
@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 0;
	}

	body.admin-bar.hero-off .site-main {
		padding-top: var(--header-h);
	}

	body.admin-bar .hero {
		padding-top: calc(var(--header-h) + 2rem);
	}

	body.admin-bar .page-hero {
		padding-top: calc(var(--header-h) + 2rem);
	}
}

@media (max-width: 768px) {
	.features-grid {
		grid-template-columns: 1fr;
	}

	.feature-card {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 0 1.1rem;
		align-items: center;
		padding: 1.4rem 1.25rem;
		text-align: start;
	}

	.feature-icon {
		grid-row: span 2;
		width: 3.5rem;
		height: 3.5rem;
		margin: 0;
	}

	.feature-card h3,
	.feature-card p {
		grid-column: 2;
	}

	.services-grid,
	.posts-grid,
	.testi-grid {
		grid-template-columns: 1fr;
	}

	.blog-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.post-nav {
		grid-template-columns: 1fr;
	}

	.post-nav-next {
		text-align: start;
	}
}

@media (max-width: 600px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.check-list {
		grid-template-columns: 1fr;
	}

	.hero-actions .btn,
	.about-actions .btn,
	.cta-actions .btn,
	.footer-cta-actions .btn {
		flex: 1 1 100%;
	}

	.hero-actions .btn-text-light {
		justify-content: center;
	}

	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	.about-badge {
		width: 7rem;
		height: 7rem;
	}

	.about-badge strong {
		font-size: 1.8rem;
	}

	.stripe-box::before {
		inset-inline-end: -14px;
		width: 90px;
		height: 90px;
	}

	.message,
	.faq-question {
		max-width: 100%;
	}

	.back-top {
		bottom: 5rem;
		inset-inline-end: 0.9rem;
		width: 2.6rem;
		height: 2.6rem;
	}
}

@media (max-width: 380px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}

	.btn {
		padding-inline: 1.25rem;
	}
}

/* تقليل الحركة لمن يفضل ذلك */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

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

	.bubble {
		display: none;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

/* الطباعة */
@media print {
	.site-header,
	.back-top,
	.assistant-widget,
	.bubbles,
	.footer-cta,
	.newsletter-form {
		display: none !important;
	}

	.page-hero,
	.hero {
		padding-top: 1rem;
		color: #000;
		background: none;
	}
}

/* ==========================================================================
   20) v1.1 — إصلاحات وتكملة القالب
   ========================================================================== */

/* --- أزرار التواصل في النافبار --- */
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
}

.header-contact {
	display: none;
	align-items: center;
	gap: 0.5rem;
}

.header-contact-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid currentColor;
	color: inherit;
	background: transparent;
	opacity: 0.95;
	transition: transform 0.3s var(--ease), background-color 0.3s ease, color 0.3s ease;
}

.header-contact-btn:hover {
	transform: translateY(-2px);
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
}

.header-contact-btn .icon {
	width: 20px;
	height: 20px;
}

.header-contact-whatsapp {
	background: #25d366;
	border-color: #25d366;
	color: var(--white);
}

.header-contact-whatsapp:hover {
	background: #1eb856;
	border-color: #1eb856;
	color: var(--white);
}

.mobile-nav-contact {
	display: none;
}

@media (max-width: 1180px) {
	.header-contact {
		display: flex;
	}

	.mobile-nav-contact {
		display: grid;
		gap: 0.75rem;
		width: 100%;
		max-width: 26rem;
		margin-top: 0.5rem;
	}

	.mobile-contact-btn {
		display: flex;
		align-items: center;
		gap: 0.9rem;
		padding: 0.9rem 1.25rem;
		border-radius: 1rem;
		font-weight: 700;
		line-height: 1.35;
		color: var(--white);
		background: rgba(255, 255, 255, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.2);
	}

	.mobile-contact-btn small {
		font-weight: 500;
		opacity: 0.85;
	}

	.mobile-contact-btn .icon {
		width: 26px;
		height: 26px;
		flex: none;
	}

	.mobile-contact-whatsapp {
		background: #25d366;
		border-color: #25d366;
	}

	.socials-nav {
		justify-content: center;
		margin-top: 0.25rem;
	}

	.socials-nav a {
		color: var(--white);
		background: rgba(255, 255, 255, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.15);
	}
}

/* --- مسار التنقل (Breadcrumb) --- */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
	list-style: none;
}

.breadcrumb a:hover {
	color: var(--white);
}

.breadcrumb li + li::before {
	content: "‹";
	margin-inline-end: 0.75rem;
	opacity: 0.7;
}

/* --- المساعد الحي (قسم الأسئلة + الويدجت العائم) --- */
.chat-live .chat-body {
	max-height: 26rem;
	overflow-y: auto;
	scroll-behavior: smooth;
}

.chat-live .chat-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.chat-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
	animation: pulse 2s infinite;
}

.message.user {
	align-self: flex-end;
	background: var(--brand);
	color: var(--white);
	border: 1px solid transparent;
	border-radius: 1.1rem;
	border-end-end-radius: 0.3rem;
}

.message.typing {
	display: inline-flex;
	gap: 0.3rem;
	align-items: center;
}

.message.typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--muted);
	animation: typingDot 1.2s infinite;
}

.message.typing span:nth-child(2) {
	animation-delay: 0.2s;
}

.message.typing span:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes typingDot {
	0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
	30% { transform: translateY(-4px); opacity: 1; }
}

.chat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.9rem 1.25rem 0.25rem;
	background: var(--paper);
}

.chat-chip {
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	border: 1px solid var(--cream-2);
	background: var(--white);
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--brown-900);
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.chat-chip:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
}

.chat-form {
	display: flex;
	gap: 0.6rem;
	padding: 0.9rem 1.25rem 1.1rem;
	background: var(--paper);
}

.chat-input {
	flex: 1;
	min-width: 0;
	padding: 0.8rem 1.1rem;
	border: 1px solid var(--cream-2);
	border-radius: 999px;
	background: var(--white);
	outline: none;
}

.chat-input:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(161, 113, 73, 0.2);
}

.chat-input:disabled {
	opacity: 0.6;
	background: var(--paper);
}

.chat-send {
	display: grid;
	place-items: center;
	flex: none;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	color: var(--white);
	transition: background-color 0.3s ease, transform 0.3s var(--ease);
}

/* v1.2.1: أثناء انتظار الرد — الزر باهت ولا يُضغط مرتين. */
.chat-send.is-sending {
	opacity: 0.55;
	cursor: wait;
	transform: none;
}

.chat-send.is-sending .icon {
	animation: sendSpin 0.9s linear infinite;
}

@keyframes sendSpin {
	to {
		transform: scaleX(-1) rotate(360deg);
	}
}

.chat-send:hover {
	background: var(--brand-dark);
	transform: scale(1.06);
}

.chat-send .icon {
	transform: scaleX(-1);
}

.chat-hint {
	margin: 0;
	padding: 0 1.25rem 1rem;
	background: var(--paper);
	font-size: 0.85rem;
	color: var(--muted);
}

.chat-action {
	margin-top: 0.6rem;
}

.chat-action .btn {
	padding: 0.6rem 1.3rem;
	font-size: 0.92rem;
}

.chat-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.6rem;
}

.faq-more {
	margin-top: 1.5rem;
}

/* الويدجت العائم — v1.2: تصميم عصري متدرج مع نبض خفيف.
   v1.2.13: بعد حذف الأزرار العائمة صار المساعد (النموذج) في
   الجانب مكانها (inset-inline-end = أسفل يسار الشاشة في RTL)
   في أسفل الشاشة، وزر العودة للأعلى فوقه مباشرة. */
.assistant-widget {
	position: fixed;
	bottom: 1.25rem;
	inset-inline-end: 1.25rem;
	z-index: 950;
}

.assistant-launcher {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.8rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--brand), var(--brand-dark));
	color: var(--white);
	font-weight: 800;
	box-shadow: 0 12px 30px rgba(129, 83, 44, 0.45);
	transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.assistant-launcher::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 999px;
	border: 2px solid rgba(161, 113, 73, 0.4);
	animation: floatPulse 2.4s ease-out infinite;
	pointer-events: none;
}

.assistant-launcher:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(129, 83, 44, 0.5);
}

.assistant-launcher .icon {
	width: 22px;
	height: 22px;
}

.assistant-launcher-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #2ee06f;
	box-shadow: 0 0 0 3px rgba(46, 224, 111, 0.3);
}

.assistant-launcher-close {
	display: none;
}

.assistant-widget.is-open .assistant-launcher-text,
.assistant-widget.is-open .assistant-launcher-icon,
.assistant-widget.is-open .assistant-launcher-dot {
	display: none;
}

.assistant-widget.is-open .assistant-launcher-close {
	display: block;
}

.assistant-widget.is-open .assistant-launcher::after {
	display: none;
}

.assistant-panel {
	position: absolute;
	bottom: 4.25rem;
	inset-inline-end: 0;
	width: min(22.5rem, calc(100vw - 2.5rem));
	max-height: min(32rem, calc(100dvh - 12rem));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--r-lg);
	border: 1px solid var(--cream-2);
	box-shadow: 0 24px 60px rgba(62, 47, 35, 0.35);
}

.assistant-panel .chat-body {
	flex: 1;
	max-height: none;
	min-height: 12rem;
	background: var(--paper);
}

.chat-ai-badge {
	margin-inline-start: auto;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--white);
}

.chat-close {
	margin-inline-start: 0.5rem;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: var(--white);
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.chat-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.chat-close .icon {
	width: 1rem;
	height: 1rem;
}

@media (max-width: 600px) {
	.assistant-widget {
		bottom: 0.9rem;
		inset-inline-end: 0.75rem;
	}

	.assistant-launcher-text {
		display: none;
	}

	.assistant-launcher {
		padding: 0.8rem;
		border-radius: 50%;
		width: 3.4rem;
		height: 3.4rem;
		justify-content: center;
	}

	.assistant-launcher-dot {
		position: absolute;
		top: 0.2rem;
		inset-inline-end: 0.2rem;
	}
}

/* --- شريط تقدم القراءة --- */
.reading-progress {
	position: fixed;
	top: 0;
	inset-inline: 0;
	height: 4px;
	z-index: 1100;
	background: transparent;
}

.reading-progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--brand), var(--gold));
	transition: width 0.1s linear;
}

/* --- تخطيط المقال مع الشريط الجانبي --- */
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(1.5rem, 3.5vw, 3rem);
	align-items: start;
}

.article-main {
	min-width: 0;
}

.article-sidebar {
	position: sticky;
	top: calc(var(--header-h) + 1rem);
	display: grid;
	gap: 1.25rem;
}

.sidebar-card {
	padding: 1.5rem;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1rem;
	font-size: 1.15rem;
}

.sidebar-card h3 .icon {
	color: var(--brand);
}

.toc-list {
	display: grid;
	gap: 0.35rem;
	list-style: none;
}

.toc-list li {
	line-height: 1.6;
}

.toc-link {
	display: block;
	padding: 0.45rem 0.85rem;
	border-radius: 0.6rem;
	border-inline-start: 3px solid transparent;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--muted);
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.toc-link:hover {
	background: var(--cream);
	color: var(--brown-900);
}

.toc-link.is-active {
	background: var(--cream);
	border-inline-start-color: var(--brand);
	color: var(--brand-dark);
}

.toc-link.toc-h3 {
	padding-inline-start: 1.6rem;
	font-size: 0.88rem;
}

.toc-empty {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.sidebar-posts {
	display: grid;
	gap: 0.9rem;
	list-style: none;
}

.sidebar-posts a {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	font-weight: 700;
	line-height: 1.55;
}

.sidebar-posts img {
	width: 64px;
	height: 64px;
	flex: none;
	object-fit: cover;
	border-radius: 0.75rem;
}

.sidebar-posts time {
	display: block;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--muted);
}

.sidebar-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
}

.sidebar-cats a {
	padding: 0.35rem 0.95rem;
	border-radius: 999px;
	background: var(--cream);
	font-size: 0.9rem;
	font-weight: 700;
}

.sidebar-cats a:hover,
.sidebar-cats a.is-active {
	background: var(--brand);
	color: var(--white);
}

.sidebar-cta {
	text-align: center;
	color: var(--white);
	background: linear-gradient(135deg, var(--brown-900), var(--brown-700));
	border: 0;
}

.sidebar-cta h3 {
	justify-content: center;
	color: var(--white);
}

.sidebar-cta p {
	color: rgba(255, 255, 255, 0.85);
}

.sidebar-cta .btn {
	width: 100%;
	margin-bottom: 0.6rem;
}

.sidebar-phone {
	display: block;
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--white);
}

.article-hero-card {
	margin-top: calc(-1 * clamp(2rem, 5vw, 3.5rem));
	margin-bottom: 2rem;
	padding: 1.25rem 1.5rem;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	align-items: center;
	font-size: 0.92rem;
	color: var(--muted);
}

.article-meta .meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
}

.article-meta .icon {
	color: var(--brand);
}

.author-box {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-top: 2.5rem;
	padding: 1.5rem;
	background: var(--paper);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
}

.author-box img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.author-box strong {
	display: block;
	font-size: 1.1rem;
}

.author-box p {
	margin: 0.25rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.share-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--cream-2);
}

.share-row span {
	font-weight: 800;
}

.share-row .socials a {
	color: var(--white);
	background: var(--brand);
}

.share-row .socials a:hover {
	background: var(--brand-dark);
}

@media (max-width: 1024px) {
	.article-layout {
		grid-template-columns: 1fr;
	}

	.article-sidebar {
		position: static;
	}
}

/* --- المدونة: مقال مميز + فلاتر + شريط جانبي --- */
.blog-featured {
	margin-bottom: 2.5rem;
}

.featured-card {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.featured-card .post-thumb {
	aspect-ratio: auto;
	height: 100%;
	min-height: 280px;
	border-radius: 0;
}

.featured-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.featured-tag {
	align-self: flex-start;
	padding: 0.3rem 0.95rem;
	border-radius: 999px;
	background: var(--brand);
	color: var(--white);
	font-size: 0.85rem;
	font-weight: 800;
}

.featured-body h2 {
	font-size: clamp(1.4rem, 3vw, 2rem);
	margin: 0;
}

.blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 2rem;
}

.filter-chip {
	padding: 0.55rem 1.25rem;
	border-radius: 999px;
	border: 1px solid var(--cream-2);
	background: var(--white);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--brown-900);
}

.filter-chip:hover {
	border-color: var(--brand);
	color: var(--brand-dark);
}

.filter-chip.is-active {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--white);
}

.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(1.5rem, 3.5vw, 3rem);
	align-items: start;
}

.blog-layout .posts-grid {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
	.blog-layout {
		grid-template-columns: 1fr;
	}

	.featured-card {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.blog-layout .posts-grid {
		grid-template-columns: 1fr;
	}
}

/* --- الصفحات المصممة --- */
.page-intro {
	max-width: 52rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	counter-reset: step;
}

.step-card {
	position: relative;
	padding: 2rem 1.5rem 1.75rem;
	text-align: center;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.step-number {
	display: inline-grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--brand);
	color: var(--white);
	font-size: 1.4rem;
	font-weight: 800;
}

.step-card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.4rem;
}

.step-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.97rem;
}

@media (max-width: 1024px) {
	.steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.steps-grid {
		grid-template-columns: 1fr;
	}
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

@media (max-width: 768px) {
	.values-grid {
		grid-template-columns: 1fr;
	}
}

/* صفحة اتصل بنا + نموذج الحجز */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(1.5rem, 3.5vw, 3rem);
	align-items: start;
}

.contact-cards {
	display: grid;
	gap: 1rem;
}

.contact-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.4rem;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.contact-card .contact-icon {
	width: 3.25rem;
	height: 3.25rem;
	background: var(--cream);
	color: var(--brand);
	border: 0;
}

.contact-card h3 {
	margin-bottom: 0.2rem;
	font-size: 1.1rem;
}

.contact-card p {
	margin: 0;
	color: var(--muted);
}

.contact-card a {
	font-weight: 700;
	color: var(--brown-900);
}

.booking-form {
	padding: clamp(1.5rem, 4vw, 2.25rem);
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.booking-form h2 {
	margin-bottom: 0.35rem;
}

.booking-form > p {
	color: var(--muted);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.form-field {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.form-field label {
	font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--cream-2);
	border-radius: var(--r-sm);
	background: var(--white);
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(161, 113, 73, 0.2);
}

.form-note {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	color: var(--muted);
}

@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}
}

/* صفحة المناطق */
.areas-search {
	max-width: 32rem;
	margin: 0 auto 2rem;
}

.areas-grid-page {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	list-style: none;
}

.area-card {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1.1rem 1.25rem;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-sm);
	font-weight: 700;
	transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.area-card:hover {
	transform: translateY(-4px);
	border-color: var(--brand);
}

.area-card .icon {
	color: var(--brand);
	flex: none;
}

.area-card small {
	display: block;
	font-weight: 500;
	color: var(--muted);
	font-size: 0.85rem;
}

@media (max-width: 1024px) {
	.areas-grid-page {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.areas-grid-page {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* صفحة الأسئلة الشائعة */
.faq-page-list {
	display: grid;
	gap: 0.85rem;
	max-width: 56rem;
	margin-inline: auto;
}

.faq-acc {
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-sm);
}

.faq-acc-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	width: 100%;
	padding: 1.1rem 1.4rem;
	border: 0;
	background: transparent;
	font-weight: 800;
	font-size: 1.05rem;
	text-align: start;
	color: var(--brown-900);
}

.faq-acc-question .icon {
	flex: none;
	color: var(--brand);
	transition: transform 0.3s var(--ease);
}

.faq-acc.is-open .faq-acc-question .icon {
	transform: rotate(45deg);
}

.faq-acc-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s var(--ease);
}

.faq-acc-answer-inner {
	overflow: hidden;
	min-height: 0;
}

.faq-acc-answer p {
	margin: 0;
	padding: 0 1.4rem 1.25rem;
	color: var(--muted);
}

.faq-acc.is-open .faq-acc-answer {
	grid-template-rows: 1fr;
}

/* حالة فارغة مصممة (بدل صفحة بيضاء) */
.empty-designed {
	padding: 3rem 1.5rem;
	text-align: center;
	background: var(--paper);
	border: 1px dashed var(--sand);
	border-radius: var(--r-lg);
	color: var(--muted);
}

.empty-designed .icon {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1rem;
	color: var(--brand);
}

/* الطباعة: إخفاء الشريط الجانبي والمساعد */
@media print {
	.article-sidebar,
	.assistant-widget,
	.reading-progress {
		display: none !important;
	}

	.article-layout {
		grid-template-columns: 1fr;
	}
}

/* v1.1 — إضافات أخيرة */
.entry-content h2,
.entry-content h3 {
	scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.post-reading {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.post-reading::before {
	content: "•";
}

/* ==========================================================================
   21) v1.2 — مدن المملكة، جدول المحتويات، القائمة الجانبية، الأزرار
   ========================================================================== */

/* --- جدول المحتويات في بداية المقال: مغلق افتراضياً، يتمرر داخلياً --- */
.toc-box {
	margin-bottom: 2rem;
	background: var(--white);
	border: 1px solid var(--cream-2);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.toc-box-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 1.4rem;
	border: 0;
	background: linear-gradient(135deg, var(--brown-900), var(--brown-700));
	color: var(--white);
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 800;
	cursor: pointer;
	text-align: start;
}

.toc-box-title {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.toc-box-title .icon {
	width: 1.15rem;
	height: 1.15rem;
	color: var(--gold);
}

.toc-box-meta {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
}

.toc-chevron {
	display: inline-grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	transition: transform 0.3s var(--ease);
}

.toc-chevron .icon {
	width: 1rem;
	height: 1rem;
	transform: rotate(180deg);
}

.toc-box.is-open .toc-chevron .icon {
	transform: rotate(0deg);
}

/* v1.2.1: فتح وإغلاق بسلاسة — حركة متدرجة بدل الظهور الفوري:
   الجسم شبكة صفوفها 0fr ثم 1fr، والداخل يتمرر (300px كحد أقصى). */
.toc-box-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s var(--ease);
}

.toc-box.is-open .toc-box-body {
	grid-template-rows: 1fr;
}

.toc-box-scroll {
	overflow: hidden;
	min-height: 0;
	padding: 0 1.25rem;
	transition: padding 0.45s var(--ease);
}

.toc-box.is-open .toc-box-scroll {
	overflow-y: auto;
	max-height: 300px;
	padding: 1rem 1.25rem;
	scrollbar-width: thin;
}

.toc-box-scroll::-webkit-scrollbar {
	width: 6px;
}

.toc-box-scroll::-webkit-scrollbar-thumb {
	background: var(--sand);
	border-radius: 999px;
}

.toc-box-body .toc-list {
	gap: 0.15rem;
}

/* --- صفحة مدن المملكة: فلتر المناطق + عناوين المناطق --- */
.areas-regions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 auto 2rem;
	max-width: 56rem;
}

.areas-region {
	margin-bottom: 2.5rem;
}

.areas-region-title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.25rem;
	font-size: 1.5rem;
	color: var(--brown-900);
}

.areas-region-title .icon {
	color: var(--brand);
}

/* --- بلا قائمة جانبية: المحتوى بعرض كامل --- */
.article-layout.no-sidebar,
.blog-layout.no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.article-layout.no-sidebar .article-main,
.blog-layout.no-sidebar .blog-main {
	max-width: 860px;
	margin-inline: auto;
	width: 100%;
}

/* --- بطاقات ودجتات القائمة الجانبية --- */
.sidebar-widget h3 {
	justify-content: flex-start;
}

.sidebar-custom {
	line-height: 1.8;
}

.sidebar-custom img {
	max-width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

/* ==========================================================================
   22) v1.2.1 — تجاوب الهاتف
   ========================================================================== */
/* شبكات المحتوى: بطاقة واحدة في الصف على الهاتف بدل عمودين
   ضيقين (في v1.2 كانت بطاقات الخدمات والمقالات عمودين حتى 360px). */
@media (max-width: 600px) {
	.services-grid,
	.posts-grid,
	.testi-grid {
		grid-template-columns: 1fr;
	}

	.assistant-launcher {
		width: 3.2rem;
		height: 3.2rem;
	}
}

/* الشاشات الصغيرة جداً: هيدر مضغوط حتى لا يفيض الشعار مع
   أزرار التواصل وزر القائمة، وصفحة المدن عمود واحد. */
@media (max-width: 480px) {
	.areas-grid-page {
		grid-template-columns: 1fr;
	}

	.brand-logo {
		max-width: 130px;
		max-height: 44px;
	}

	.brand-name {
		font-size: 1.1rem;
	}

	.header-contact-btn {
		width: 38px;
		height: 38px;
	}

	.header-actions {
		gap: 0.35rem;
	}

	.hero-title {
		font-size: 2.1rem;
	}

	.hero-social a {
		width: 44px;
		height: 44px;
	}

	.toc-box-head {
		padding: 0.85rem 1rem;
		font-size: 0.98rem;
	}
}

/* ---------- 21) المؤشر المخصص ---------- */
/* v1.2.10: شكل مختلف تماماً — سهم مؤشر حقيقي (SVG) بدل النقطة،
   رأسه عند موضع الماوس بالضبط، مع حلقة تتبعه بتأخير ناعم
   وتكبر فوق الروابط والأزرار وتنكمش لحظة الضغط. السهم داكن
   بإطار أبيض فيظهر فوق أي خلفية، والحلقة بمزج difference.
   يعمل على الحاسوب فقط (ماوس دقيق)، ويتعطل مع تفضيل تقليل
   الحركة أو على شاشات اللمس. فوق حقول الكتابة يختفي المؤشر
   المخصص ويظهر مؤشر النص الأصلي. */
.custom-cursor-dot,
.custom-cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.custom-cursor-dot {
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 0 L0 18 L4.5 13.5 L7 19 L9.5 17.8 L7 12.5 L13 12.5 Z' fill='%231f2937' stroke='%23ffffff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.custom-cursor-ring {
	width: 36px;
	height: 36px;
	border: 1.5px solid #fff;
	border-radius: 50%;
	background: transparent;
	mix-blend-mode: difference;
	transition: opacity 0.25s ease, width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
}

.custom-cursor-dot.is-visible,
.custom-cursor-ring.is-visible {
	opacity: 1;
}

.custom-cursor-ring.is-hover {
	width: 56px;
	height: 56px;
	background: rgba(255, 255, 255, 0.9);
}

.custom-cursor-ring.is-down {
	width: 28px;
	height: 28px;
}

html.has-custom-cursor,
html.has-custom-cursor * {
	cursor: none !important;
}

html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select {
	cursor: auto !important;
}

html.custom-cursor-native .custom-cursor-dot,
html.custom-cursor-native .custom-cursor-ring {
	opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
	.custom-cursor-dot,
	.custom-cursor-ring {
		display: none;
	}
}

/* ---------- 22) الشاشات الكبيرة ---------- */
/* v1.2.9: توسيع قليل (لا كثير) — العناصر كانت محصورة في
   المنتصف على الشاشات الكبيرة، وصورة الهيرو أكبر قليلاً. */
@media (min-width: 1400px) {
	:root {
		--container: 1320px;
	}

	.stripe-box {
		width: min(100%, 540px);
	}

	.hero-grid {
		gap: clamp(2.5rem, 5vw, 6rem);
	}
}
