/* =========================================================
   مدى سنتر — نظام التصميم
   كحلي عميق + برتقالي حارق · زوايا حادّة · عناوين ضخمة
   الهوية مأخوذة حرفيًا من اللوجو: #06123C و #FD8B32
   ========================================================= */

/* ---------- 1. الرموز ---------- */
:root {
	/* الألوان الأساسية تُحقن من PHP: --brand, --brand-*, --ink, --ink-*, --bg-dark* */
	--brand: #FD8B32;
	--brand-rgb: 253, 139, 50;
	--ink: #06123C;
	--ink-rgb: 6, 18, 60;

	/* الأسطح */
	--bg: #FFFFFF;
	--bg-soft: #F4F5F9;
	--bg-tint: #FFF1E3;
	--bg-dark: #050E2B;
	--bg-dark-2: #0B1741;

	/* النص */
	--fg: #16204A;
	--fg-2: #4A5578;
	--fg-3: #7A85A6;
	--fg-on-dark: #B9C3DE;
	--fg-on-dark-2: #7C89B0;

	/* الحدود */
	--line: #E1E4EF;
	--line-2: #EDEFF6;
	--line-dark: rgba(255, 255, 255, .12);
	--line-dark-2: rgba(255, 255, 255, .07);

	/* الأنصاف — حادّة ومباشرة */
	--r-xs: 3px;
	--r-sm: 6px;
	--r: 10px;
	--r-lg: 14px;
	--r-pill: 999px;

	/* الظلال — مصبوغة بالكحلي فتبدو أعمق */
	--sh-1: 0 1px 2px rgba(6, 18, 60, .06);
	--sh-2: 0 2px 6px rgba(6, 18, 60, .06), 0 10px 26px rgba(6, 18, 60, .08);
	--sh-3: 0 6px 14px rgba(6, 18, 60, .08), 0 26px 60px rgba(6, 18, 60, .16);
	--sh-brand: 0 8px 20px rgba(var(--brand-rgb), .38);

	/* القياس */
	--wrap: 1240px;
	--wrap-narrow: 780px;
	--gap: 24px;
	--head-h: 72px;

	/* الخطوط */
	--f-head: 'Readex Pro', 'Plex Arabic', 'Segoe UI', Tahoma, sans-serif;
	--f-body: 'Plex Arabic', 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;

	/* الحركة */
	--t-1: .16s cubic-bezier(.4, 0, .2, 1);
	--t-2: .3s cubic-bezier(.22, 1, .36, 1);
	--t-3: .55s cubic-bezier(.22, 1, .36, 1);

	/* لون السياق — تدهسه الأقسام الملوّنة */
	--c: var(--brand);
	--c-rgb: var(--brand-rgb);
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.85;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-1); }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

/* لازم يسبق أي قاعدة display لاحقة — عناصر كثيرة نخفيها بسمة hidden */
[hidden] { display: none !important; }

h1, h2, h3, h4, h5 {
	margin: 0 0 .5em;
	font-family: var(--f-head);
	font-weight: 700;
	line-height: 1.28;
	color: var(--ink);
	letter-spacing: -.022em;
}

/* المسافة بين السطور تترك مكانًا لخط التمييز أسفل الكلمات المميّزة */
h1 { font-size: clamp(2.3rem, 1.3rem + 3.7vw, 4.1rem); line-height: 1.24; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 1.25rem + 2.5vw, 3rem); line-height: 1.26; letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); line-height: 1.32; }

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

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

:focus-visible {
	outline: 3px solid rgba(var(--brand-rgb), .55);
	outline-offset: 3px;
	border-radius: var(--r-xs);
}

.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;
	inset-block-start: 12px;
	inset-inline-start: 12px;
	z-index: 200;
	width: auto; height: auto;
	clip: auto;
	padding: 10px 18px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--r-sm);
}

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

.sec { position: relative; }

.pt-none { padding-block-start: 0; }
.pt-sm { padding-block-start: 32px; }
.pt-md { padding-block-start: 56px; }
.pt-lg { padding-block-start: 92px; }

.pb-none { padding-block-end: 0; }
.pb-sm { padding-block-end: 32px; }
.pb-md { padding-block-end: 56px; }
.pb-lg { padding-block-end: 92px; }

.bg-white { background: var(--bg); }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }

.bg-dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

.bg-brand { background: var(--brand); color: #fff; }
.bg-brand h1, .bg-brand h2, .bg-brand h3 { color: #fff; }

/* فاصل شعري بين الأقسام الفاتحة المتتالية */
.bg-white + .bg-white::before,
.bg-soft + .bg-soft::before {
	content: '';
	position: absolute;
	inset-block-start: 0;
	inset-inline: 20px;
	height: 1px;
	background: var(--line);
}

/* ---------- 4. تمييز {الكلمات} ---------- */
.accent { position: relative; white-space: nowrap; color: var(--brand); }

.accent-t { position: relative; z-index: 1; }

/* خط تحديد سميك أسفل الكلمة — يمرّ تحت نزول الحروف العربية فلا يقطعها */
.accent::after {
	content: '';
	position: absolute;
	inset-inline: -.05em;
	inset-block-end: -.16em;
	height: .16em;
	min-height: 6px;
	background: var(--brand);
	z-index: 0;
}

.bg-dark .accent, .bg-brand .accent { color: var(--brand); }
.bg-brand .accent { color: #fff; }
.bg-brand .accent::after { background: rgba(255, 255, 255, .7); }

/* ---------- 5. ترويسة القسم ---------- */
.sec-head { max-width: 680px; margin-block-end: 52px; }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head.is-start { text-align: start; }

/* شارة صلبة بدل الخط الرفيع — أوضح وأجرأ */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 7px 14px 7px 10px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--r-xs);
	font-family: var(--f-head);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
}

.eyebrow-dash {
	width: 14px;
	height: 3px;
	background: rgba(255, 255, 255, .85);
}

.bg-brand .eyebrow { background: var(--ink); }

.sec-head { max-width: 760px; }
.sec-title { margin: 0 0 16px; }
.sec-text { margin: 0; color: var(--fg-2); font-size: 1.08rem; }
.bg-dark .sec-text { color: var(--fg-on-dark); }
.bg-brand .sec-text { color: rgba(255, 255, 255, .92); }

/* ---------- 6. الأزرار ---------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 26px;
	border: 2px solid transparent;
	border-radius: var(--r-sm);
	font-family: var(--f-head);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: transform var(--t-1), background var(--t-1), color var(--t-1), border-color var(--t-1), box-shadow var(--t-1);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-icon { flex: none; transition: transform var(--t-2); }
.btn:hover .btn-icon { transform: translateX(-4px); }

.btn-sm { padding: 11px 18px; font-size: .87rem; }
.btn-lg { padding: 18px 34px; font-size: 1.04rem; }

.btn-primary {
	background: linear-gradient(135deg, var(--brand-400, #FEA95E) 0%, var(--brand) 45%, var(--brand-600, #F0770F) 100%);
	color: #fff;
	box-shadow: var(--sh-brand);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(var(--brand-rgb), .48); }

.btn-line {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: #fff; }

.btn-ghost {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border-color: rgba(255, 255, 255, .28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-tint); color: var(--ink); }

/* أي سياق داكن: الزر المحدَّد يقلب لونه حتى يبقى مقروءًا */
.bg-dark .btn-line,
.fcta .btn-line,
.hhero .btn-line,
.faq-side .btn-line,
.hside-card .btn-line { color: #fff; border-color: rgba(255, 255, 255, .28); }

.bg-dark .btn-line:hover,
.fcta .btn-line:hover,
.hhero .btn-line:hover,
.faq-side .btn-line:hover,
.hside-card .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 7. الشريط العلوي ---------- */
.topbar {
	background: var(--ink);
	color: rgba(255, 255, 255, .82);
	font-size: .82rem;
}

.topbar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
}

.topbar-text {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.topbar-text .mc-icon { color: var(--brand); flex: none; }

/* ---------- 8. الهيدر ---------- */
.site-head {
	position: sticky;
	inset-block-start: 0;
	z-index: 90;
	background: rgba(255, 253, 251, .9);
	backdrop-filter: saturate(160%) blur(12px);
	border-block-end: 1px solid var(--line);
	transition: box-shadow var(--t-2);
}

.site-head.is-stuck { box-shadow: var(--sh-2); }

.head-in {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--head-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-img { height: 56px; width: auto; object-fit: contain; }

/* العلامة كحليّة، فتحتاج قرصًا فاتحًا لتُقرأ على خلفية الفوتر الداكنة */
.site-foot .brand-img {
	height: 64px;
	padding: 8px;
	background: #fff;
	border-radius: var(--r-sm);
}

.head-nav { margin-inline-start: 12px; flex: 1; }

.nav-menu { display: flex; align-items: center; gap: 4px; }

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

.nav-menu .menu-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 9px 14px;
	border-radius: var(--r-sm);
	font-family: var(--f-head);
	font-size: .92rem;
	font-weight: 500;
	color: var(--fg-2);
	transition: color var(--t-1), background var(--t-1);
}

.nav-menu .menu-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-menu .is-active > .menu-link { color: var(--brand); }

.nav-menu .menu-caret { opacity: .55; transition: transform var(--t-1); }
.nav-menu .has-children:hover .menu-caret { transform: rotate(180deg); }
.nav-menu .menu-toggle { display: none; }

.nav-menu .sub-menu {
	position: absolute;
	inset-block-start: calc(100% + 8px);
	inset-inline-start: 0;
	min-width: 214px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	box-shadow: var(--sh-3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--t-2), transform var(--t-2), visibility var(--t-2);
}

.nav-menu .has-children:hover > .sub-menu,
.nav-menu .has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav-menu .sub-menu .menu-link {
	display: flex;
	padding: 9px 12px;
	font-size: .89rem;
	border-radius: var(--r-xs);
}

.head-side { display: flex; align-items: center; gap: 10px; flex: none; }

.head-help {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	font-family: var(--f-head);
	font-size: .88rem;
	font-weight: 500;
	color: var(--fg-2);
	transition: all var(--t-1);
}

.head-help:hover { color: var(--brand); border-color: rgba(var(--brand-rgb), .45); background: var(--bg-tint); }
.head-help .mc-icon { color: var(--brand); }

/* البرجر */
.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0 10px;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

.burger span {
	display: block;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform var(--t-2), opacity var(--t-1);
}

.burger span:nth-child(2) { width: 70%; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* قائمة الموبايل */
.mnav {
	position: fixed;
	inset-block-start: var(--head-h);
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 88;
	background: var(--bg);
	overflow-y: auto;
	animation: mnav-in .28s cubic-bezier(.22, 1, .36, 1);
}

@keyframes mnav-in { from { opacity: 0; transform: translateY(-10px); } }

.mnav-in { padding: 24px 20px 40px; }

.mnav-menu > .menu-item { border-block-end: 1px solid var(--line-2); }

.mnav-menu .menu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 4px;
	font-family: var(--f-head);
	font-size: 1.05rem;
	font-weight: 500;
}

.mnav-menu .menu-caret { display: none; }

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

.mnav-menu .menu-toggle {
	display: grid;
	place-items: center;
	position: absolute;
	inset-block-start: 6px;
	inset-inline-end: 0;
	width: 40px; height: 40px;
	background: var(--bg-soft);
	border: 0;
	border-radius: var(--r-sm);
	transition: transform var(--t-2);
}

.mnav-menu .menu-toggle[aria-expanded="true"] { transform: rotate(180deg); }

.mnav-menu .sub-menu {
	display: none;
	padding: 0 14px 12px;
	border-inline-start: 2px solid var(--line);
	margin-inline-start: 4px;
}

.mnav-menu .sub-menu.is-open { display: block; }
.mnav-menu .sub-menu .menu-link { padding: 10px 4px; font-size: .95rem; color: var(--fg-2); }

.mnav-foot { display: flex; flex-direction: column; gap: 12px; margin-block-start: 26px; }
.mnav-foot .btn { width: 100%; }

/* ---------- 9. الواجهة الرئيسية ---------- */
.sec--hero { overflow: hidden; isolation: isolate; }

/* وهج برتقالي + شبكة + قطر مائل مستوحى من خطوط اللوجو */
.sec--hero.bg-dark::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(760px 520px at 78% 8%, rgba(var(--brand-rgb), .30), transparent 62%),
		radial-gradient(620px 460px at 8% 92%, rgba(var(--brand-rgb), .12), transparent 60%),
		linear-gradient(135deg, transparent 0 46.7%, rgba(var(--brand-rgb), .16) 46.7% 47.1%, transparent 47%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 64px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 64px);
	pointer-events: none;
}

/* شريط برتقالي سميك أسفل القسم — ختم بصري */
.sec--hero.bg-dark::after {
	content: '';
	position: absolute;
	inset-block-end: 0;
	inset-inline: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--brand) 0%, var(--brand-600, #F0770F) 50%, transparent 100%);
}

.hero-in {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.06fr .94fr;
	align-items: center;
	gap: 56px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 26px;
	padding: 9px 18px 9px 9px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--r-pill);
	font-size: .86rem;
	font-weight: 600;
	color: #fff;
	backdrop-filter: blur(6px);
}

.hero-badge .mc-icon {
	flex: none;
	padding: 5px;
	width: 26px; height: 26px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--r-pill);
	box-sizing: content-box;
}

.bg-white .hero-badge, .bg-soft .hero-badge {
	background: #fff;
	border-color: var(--line);
	color: var(--fg-2);
	box-shadow: var(--sh-1);
}

.hero-title { margin: 0 0 22px; }

.hero-lead {
	max-width: 54ch;
	margin: 0 0 30px;
	font-size: 1.12rem;
	color: var(--fg-on-dark);
}

.bg-white .hero-lead, .bg-soft .hero-lead { color: var(--fg-2); }

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-block-end: 30px;
}

.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .95rem;
	font-weight: 600;
	color: #fff;
}

.bg-white .hero-points li, .bg-soft .hero-points li { color: var(--fg); }
.hero-points .mc-icon { color: var(--brand); flex: none; }

.hero-acts { display: flex; flex-wrap: wrap; gap: 14px; }

/* البصريات */
.hero-visual { position: relative; }

.hero-frame {
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--bg-dark-2);
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
	/* قصّة قطرية — توقيع التصميم */
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 54px), calc(100% - 54px) 100%, 0 100%);
}

/* إطار برتقالي مُزاح خلف الصورة — يملأ فراغ القصّة القطرية.
   خصائص فيزيائية عمدًا لأن الإزاحة تتبع اتجاه القصّة لا اتجاه القراءة. */
.hero-visual::before {
	content: '';
	position: absolute;
	top: 34px;
	bottom: -22px;
	left: 34px;
	right: -22px;
	border: 2px solid var(--brand);
	border-radius: var(--r-lg);
	z-index: -1;
}

.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero-dots {
	position: absolute;
	inset-block-end: 16px;
	inset-inline-start: 16px;
	width: 96px; height: 60px;
	background-image: radial-gradient(rgba(var(--brand-rgb), .8) 1.5px, transparent 1.5px);
	background-size: 11px 11px;
	pointer-events: none;
}

.hero-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 11px;
	max-width: 240px;
	padding: 13px 16px;
	background: #fff;
	border: 0;
	border-inline-start: 4px solid var(--brand);
	border-radius: var(--r-sm);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .38);
}

.hero-chip-ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px; height: 38px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--r-xs);
}

.hero-chip-body { display: flex; flex-direction: column; line-height: 1.5; }
.hero-chip-body strong { font-family: var(--f-head); font-size: .9rem; color: var(--ink); }
.hero-chip-body em { font-style: normal; font-size: .79rem; color: var(--fg-3); }

.hero-chip--1 { inset-block-start: 8%; inset-inline-start: -28px; }
.hero-chip--2 { inset-block-end: 16%; inset-inline-end: -22px; }
.hero-chip--3 { inset-block-end: -14px; inset-inline-start: 12%; }

/* شريط الأرقام */
.hero-strip {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-block-start: 72px;
	border-block-start: 1px solid var(--line-dark);
}

.hero-strip li {
	position: relative;
	padding: 28px 24px;
	border-inline-end: 1px solid var(--line-dark);
}

.hero-strip li::before {
	content: '';
	position: absolute;
	inset-block-start: -1px;
	inset-inline-start: 0;
	width: 34px;
	height: 3px;
	background: var(--brand);
}

.hero-strip li:last-child { border-inline-end: 0; }

.hero-strip strong {
	display: block;
	font-family: var(--f-head);
	font-size: clamp(1.7rem, 1.25rem + 1.4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -.03em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.hero-strip span { font-size: .88rem; color: var(--fg-on-dark-2); }

.bg-white .hero-strip, .bg-soft .hero-strip { border-color: var(--line); }
.bg-white .hero-strip li, .bg-soft .hero-strip li { border-color: var(--line); }
.bg-white .hero-strip strong, .bg-soft .hero-strip strong { color: var(--ink); }
.bg-white .hero-strip span, .bg-soft .hero-strip span { color: var(--fg-3); }

/* ---------- 10. الشعارات ---------- */
.logos { display: flex; align-items: center; gap: 36px; }

.logos-label {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	max-width: 190px;
	font-size: .84rem;
	font-weight: 500;
	color: var(--fg-3);
	line-height: 1.5;
}

.logos-dash { width: 20px; height: 2px; background: var(--brand); flex: none; }

.logos-mask {
	flex: 1;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logos-track { display: flex; align-items: center; gap: 52px; width: max-content; }

.logos.is-animated .logos-track { animation: logos-roll 34s linear infinite; }
.logos.is-animated:hover .logos-track { animation-play-state: paused; }

@keyframes logos-roll {
	from { transform: translateX(0); }
	to { transform: translateX(50%); }
}

.logos-item { flex: none; }

.logos-item img {
	height: 30px;
	width: auto;
	opacity: .45;
	filter: grayscale(1);
	transition: opacity var(--t-2), filter var(--t-2);
}

.logos-item:hover img { opacity: 1; filter: none; }

.logos-name {
	font-family: var(--f-head);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--fg-3);
	white-space: nowrap;
}

/* ---------- 11. الأرقام ---------- */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: #fff;
}

.bg-dark .stats { background: var(--bg-dark-2); border-color: var(--line-dark); }

.stat {
	position: relative;
	padding: 34px 28px;
	border-inline-end: 1px solid var(--line);
}

.bg-dark .stat { border-color: var(--line-dark); }
.stat:last-child { border-inline-end: 0; }

.stat::before {
	content: '';
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 4px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: inline-start;
	transition: transform var(--t-3);
}

.stat:hover::before { transform: scaleX(1); }

.stat-ico {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	margin-block-end: 18px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--r-xs);
}

.stat-num {
	display: flex;
	align-items: baseline;
	gap: 3px;
	font-family: var(--f-head);
	font-size: clamp(2.1rem, 1.5rem + 2vw, 3.3rem);
	font-weight: 700;
	letter-spacing: -.04em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
	line-height: 1.05;
}

.bg-dark .stat-num { color: #fff; }
.stat-val { font-style: normal; }
.stat-suf { font-style: normal; color: var(--brand); }
.stat-label { display: block; margin-block-start: 6px; font-size: .9rem; color: var(--fg-3); }

/* ---------- 12. شبكة المنتجات ---------- */
.bento {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.bcard {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 26px 24px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	transition: transform var(--t-2), box-shadow var(--t-2), border-color var(--t-2);
	overflow: hidden;
}

.bcard::before {
	content: '';
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 4px;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: inline-start;
	transition: transform var(--t-3);
}

.bcard:hover { transform: translateY(-7px); box-shadow: var(--sh-3); border-color: var(--brand); }
.bcard:hover::before { transform: scaleX(1); }

.bcard.is-wide { grid-column: span 2; }

/* أربع بطاقات = شبكة 2×2 متوازنة بدل صف ناقص */
.bento--4 { grid-template-columns: repeat(2, 1fr); }
.bento--4 .bcard.is-wide { grid-column: auto; }
.bento--4 .bcard { padding: 30px 28px 26px; }
.bento--4 .bcard-logo img { height: 64px; max-width: 230px; }

.bcard-top { display: flex; align-items: center; gap: 12px; margin-block-end: 18px; }

.bcard-ico {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--r-xs);
	flex: none;
	transition: background var(--t-2);
}

.bcard:hover .bcard-ico { background: var(--brand); }

/* شعار متجر بدل الأيقونة — نتركه بألوانه الأصلية.
   نقيّد الارتفاع بقيمة ثابتة: النسبة المئوية لا تكبح العرض داخل flex. */
.bcard-logo {
	display: flex;
	align-items: center;
	flex: none;
}

.bcard-logo img {
	height: 56px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	object-position: center;
	transition: transform var(--t-2);
}

.bcard.has-logo:hover .bcard-logo img { transform: scale(1.05); }

/* الشعار أعرض من الأيقونة، فالشارة تنزل لسطر تحته */
.bcard.has-logo .bcard-top { flex-wrap: wrap; row-gap: 10px; }
.bcard.has-logo .bcard-n { align-self: flex-start; }

.bcard-tag {
	padding: 6px 12px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--r-xs);
	font-size: .72rem;
	font-weight: 700;
	font-family: var(--f-head);
	letter-spacing: -.01em;
}

.bcard-n {
	margin-inline-start: auto;
	font-family: var(--f-head);
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--line);
	font-variant-numeric: tabular-nums;
	letter-spacing: -.04em;
}

.bcard-title { margin: 0 0 8px; }
.bcard-text { margin: 0 0 16px; font-size: .94rem; color: var(--fg-2); }

.bcard-list { display: grid; gap: 8px; margin-block-end: 18px; }

.bcard-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: .89rem;
	color: var(--fg-2);
}

.bcard-list .mc-icon { flex: none; margin-block-start: 4px; color: var(--brand); }

.bcard-media { margin-block: auto 16px; border-radius: var(--r); overflow: hidden; }
.bcard-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.bcard-foot { margin-block-start: auto; padding-block-start: 16px; border-block-start: 1px dashed var(--line); }

.bcard-go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--f-head);
	font-size: .88rem;
	font-weight: 600;
	color: var(--brand);
}

.bcard-go .mc-icon { transition: transform var(--t-2); }
.bcard:hover .bcard-go .mc-icon { transform: translateX(-4px); }

.bcard-cover { position: absolute; inset: 0; z-index: 2; }

/* ---------- 13. الشريط المتحرك ---------- */
/* شريط برتقالي كامل العرض — أقوى عنصر لوني في الصفحة */
.marq {
	overflow: hidden;
	padding-block: 20px;
	background: var(--brand);
	color: #fff;
	border-block: 3px solid var(--ink);
}

.marq-track {
	display: flex;
	align-items: center;
	gap: 44px;
	width: max-content;
	animation: marq-roll var(--marq-speed, 32s) linear infinite;
}

.marq:hover .marq-track { animation-play-state: paused; }

@keyframes marq-roll {
	from { transform: translateX(0); }
	to { transform: translateX(50%); }
}

.marq-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--f-head);
	font-size: .96rem;
	font-weight: 700;
	letter-spacing: -.01em;
	white-space: nowrap;
}

.marq-item .mc-icon { color: var(--ink); flex: none; }
.marq-item em { font-style: normal; }

/* ---------- 14. المزايا ---------- */
.feats { display: grid; gap: 18px; }
.feats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feats.cols-2 { grid-template-columns: repeat(2, 1fr); }

.feat {
	position: relative;
	padding: 30px 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	transition: border-color var(--t-2), box-shadow var(--t-2), transform var(--t-2);
}

.bg-soft .feat { background: #fff; }
.bg-dark .feat { background: var(--bg-dark-2); border-color: var(--line-dark); }

.feat:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--sh-2); }

.feat-n {
	position: absolute;
	inset-block-start: 20px;
	inset-inline-end: 24px;
	font-family: var(--f-head);
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: -.05em;
	color: var(--line);
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.bg-dark .feat-n { color: rgba(255, 255, 255, .1); }

.feat-ico {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-block-end: 22px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--r-xs);
	transition: transform var(--t-2);
}

.feat:hover .feat-ico { transform: rotate(-6deg) scale(1.06); }

.feat-title { margin: 0 0 9px; }
.feat-text { margin: 0; font-size: .94rem; color: var(--fg-2); }
.bg-dark .feat-text { color: var(--fg-on-dark-2); }

/* ---------- 15. الخطوات ---------- */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0;
	counter-reset: step;
}

.step { position: relative; padding: 0 26px; }

.step::before {
	content: '';
	position: absolute;
	inset-block-start: 23px;
	inset-inline-start: 50%;
	inset-inline-end: -50%;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}

.step:last-child::before { display: none; }

.step-dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 58px; height: 58px;
	margin-block-end: 24px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--r-xs);
	box-shadow: 0 0 0 7px var(--bg);
	transform: rotate(-4deg);
}

.bg-soft .step-dot { box-shadow: 0 0 0 7px var(--bg-soft); }

.step-dot em {
	font-style: normal;
	font-family: var(--f-head);
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--brand);
	transform: rotate(4deg);
}

.step-ico { display: inline-grid; place-items: center; color: var(--brand); margin-block-end: 12px; }
.step-title { margin: 0 0 8px; }
.step-text { margin: 0; font-size: .93rem; color: var(--fg-2); }

/* ---------- 16. آراء العملاء ---------- */
.revs { position: relative; }

.revs-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(330px, 1fr);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-block-end: 6px;
}

.revs-track::-webkit-scrollbar { display: none; }

.rev {
	position: relative;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	padding: 28px 26px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}

.bg-dark .rev { background: var(--bg-dark-2); border-color: var(--line-dark); }

.rev-quote {
	position: absolute;
	inset-block-start: 22px;
	inset-inline-end: 24px;
	color: var(--bg-tint);
}

.bg-dark .rev-quote { color: rgba(255, 255, 255, .07); }

.stars { display: inline-flex; gap: 2px; margin-block-end: 14px; }
.star { color: var(--line); display: inline-flex; }
.star.is-on { color: #F5A623; }

.rev-text { margin: 0 0 22px; font-size: .97rem; color: var(--fg-2); }
.bg-dark .rev-text { color: var(--fg-on-dark); }

.rev-foot { display: flex; align-items: center; gap: 12px; margin-block-start: auto; }

.rev-av {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	background: var(--bg-tint);
	color: var(--brand);
	border-radius: var(--r-pill);
	font-family: var(--f-head);
	font-weight: 600;
	flex: none;
}

.rev-who { display: flex; flex-direction: column; line-height: 1.5; }
.rev-who strong { font-family: var(--f-head); font-size: .93rem; color: var(--ink); }
.bg-dark .rev-who strong { color: #fff; }
.rev-who em { font-style: normal; font-size: .81rem; color: var(--fg-3); }

.rail-nav { display: flex; gap: 8px; justify-content: flex-end; margin-block-start: 20px; }

.rail-btn {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	color: var(--fg-2);
	transition: all var(--t-1);
}

.rail-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- 17. قنوات السوشيال ---------- */
.socgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
}

.soc {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	transition: all var(--t-2);
}

.bg-dark .soc { background: var(--bg-dark-2); border-color: var(--line-dark); }

.soc:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--sc, var(--brand)); }

.soc-ico {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: var(--r-sm);
	background: color-mix(in srgb, var(--sc, var(--brand)) 12%, transparent);
	color: var(--sc, var(--brand));
	flex: none;
	transition: background var(--t-2), color var(--t-2);
}

.soc:hover .soc-ico { background: var(--sc, var(--brand)); color: #fff; }

.soc-body { display: flex; flex-direction: column; line-height: 1.5; }
.soc-body strong { font-family: var(--f-head); font-size: .95rem; color: var(--ink); }
.bg-dark .soc-body strong { color: #fff; }
.soc-body em { font-style: normal; font-size: .82rem; color: var(--fg-3); }
.soc-go { margin-inline-start: auto; color: var(--fg-3); transition: transform var(--t-2); }
.soc:hover .soc-go { transform: translateX(-4px); color: var(--sc, var(--brand)); }

.soc--whatsapp { --sc: #25D366; }
.soc--telegram { --sc: #229ED9; }
.soc--instagram { --sc: #E1306C; }
.soc--x { --sc: #111827; }
.soc--youtube { --sc: #FF0000; }
.soc--tiktok { --sc: #111827; }
.soc--snapchat { --sc: #E6B800; }
.soc--facebook { --sc: #1877F2; }
.soc--linkedin { --sc: #0A66C2; }
.soc--discord { --sc: #5865F2; }

/* ---------- 18. الأسئلة الشائعة ---------- */
.faq-wrap { display: grid; gap: 28px; }
.faq-wrap.has-side { grid-template-columns: 1fr 340px; align-items: start; }

.faq {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
}

.bg-dark .faq { background: var(--bg-dark-2); border-color: var(--line-dark); }

.faq-item { border-block-end: 1px solid var(--line-2); }
.bg-dark .faq-item { border-color: var(--line-dark-2); }
.faq-item:last-child { border-block-end: 0; }

.faq-q { margin: 0; font-size: inherit; }

.faq-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 19px 24px;
	background: transparent;
	border: 0;
	text-align: start;
	transition: background var(--t-1);
}

.faq-btn:hover { background: var(--bg-tint); }
.bg-dark .faq-btn:hover { background: rgba(255, 255, 255, .03); }

.faq-mark {
	position: relative;
	flex: none;
	width: 24px; height: 24px;
	border: 1.5px solid var(--line);
	border-radius: var(--r-xs);
	transition: all var(--t-2);
}

.faq-mark::before, .faq-mark::after {
	content: '';
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 50%;
	width: 10px; height: 1.8px;
	background: var(--fg-2);
	transform: translate(50%, -50%);
	border-radius: 2px;
	transition: transform var(--t-2), background var(--t-2);
}

.faq-mark::after { transform: translate(50%, -50%) rotate(90deg); }

.faq-btn[aria-expanded="true"] .faq-mark { background: var(--brand); border-color: var(--brand); }
.faq-btn[aria-expanded="true"] .faq-mark::before,
.faq-btn[aria-expanded="true"] .faq-mark::after { background: #fff; }
.faq-btn[aria-expanded="true"] .faq-mark::after { transform: translate(50%, -50%) rotate(0deg); }

.faq-label {
	font-family: var(--f-head);
	font-size: 1rem;
	font-weight: 500;
	color: var(--ink);
}

.bg-dark .faq-label { color: #fff; }

.faq-a { padding: 0 24px 22px 62px; }
.faq-a p { margin: 0; font-size: .95rem; color: var(--fg-2); }
.bg-dark .faq-a p { color: var(--fg-on-dark); }

.faq-side {
	position: sticky;
	inset-block-start: calc(var(--head-h) + 24px);
	padding: 30px 26px;
	background: var(--ink);
	color: rgba(255, 255, 255, .8);
	border-radius: var(--r-lg);
	text-align: center;
}

.faq-side h3 { color: #fff; margin: 0 0 10px; }
.faq-side p { font-size: .92rem; margin: 0 0 20px; }

.faq-side-ico {
	display: inline-grid;
	place-items: center;
	width: 60px; height: 60px;
	margin-block-end: 18px;
	background: rgba(var(--brand-rgb), .18);
	color: var(--brand);
	border-radius: var(--r-pill);
}

.faq-side .btn { width: 100%; }

.faq-side-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block-start: 16px;
	font-size: .87rem;
	color: rgba(255, 255, 255, .7);
}

.faq-side-link:hover { color: #fff; }

/* ---------- 19. بانر الدعوة ---------- */
.ctab {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	padding: 58px 50px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--r-lg);
	overflow: hidden;
	isolation: isolate;
}

.ctab.has-img { grid-template-columns: 1.25fr .75fr; align-items: center; }

.ctab-pattern {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(620px 420px at 90% 0%, rgba(var(--brand-rgb), .42), transparent 62%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 18px);
	pointer-events: none;
}

/* شريط برتقالي رأسي على الحافة */
.ctab::before {
	content: '';
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 6px;
	background: var(--brand);
}

.ctab-text { position: relative; z-index: 1; max-width: 62ch; }
.ctab-title { color: #fff; margin: 0 0 12px; }
.ctab-lead { margin: 0 0 26px; font-size: 1.03rem; color: rgba(255, 255, 255, .92); }
.ctab-acts { display: flex; flex-wrap: wrap; gap: 12px; }

.ctab-media { position: relative; z-index: 1; border-radius: var(--r); overflow: hidden; }
.ctab-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- 20. التواصل ---------- */
.contact { display: grid; gap: 26px; }
.contact.has-form { grid-template-columns: 350px 1fr; align-items: start; }

.chans { display: grid; gap: 12px; }

.chan {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	transition: all var(--t-2);
}

a.chan:hover { border-color: rgba(var(--brand-rgb), .4); box-shadow: var(--sh-2); transform: translateX(-3px); }

.chan-ico {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	background: var(--bg-tint);
	color: var(--brand);
	border-radius: var(--r-sm);
	flex: none;
}

.chan-body { display: flex; flex-direction: column; line-height: 1.5; }
.chan-body strong { font-family: var(--f-head); font-size: .95rem; color: var(--ink); }
.chan-body em { font-style: normal; font-size: .83rem; color: var(--fg-3); }
.chan-go { margin-inline-start: auto; color: var(--fg-3); }

.cform {
	padding: 30px 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}

.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cfield { display: block; margin-block-end: 16px; }

.cfield-label {
	display: block;
	margin-block-end: 7px;
	font-family: var(--f-head);
	font-size: .85rem;
	font-weight: 500;
	color: var(--fg-2);
}

.cfield input,
.cfield select,
.cfield textarea {
	width: 100%;
	padding: 12px 15px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	font: inherit;
	font-size: .94rem;
	color: var(--fg);
	transition: border-color var(--t-1), background var(--t-1);
}

.cfield textarea { resize: vertical; min-height: 110px; }

.cfield input:focus,
.cfield select:focus,
.cfield textarea:focus {
	outline: 0;
	background: #fff;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .14);
}

.cform-hp { position: absolute; inset-inline-start: -9999px; }

.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-block-start: 6px; }

.cform-note {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: .83rem;
	color: var(--fg-3);
}

.cform-msg { margin: 16px 0 0; font-size: .92rem; }
.cform-msg.is-ok { color: #1a7f37; }
.cform-msg.is-err { color: #b42318; }

/* ---------- 21. بانر مركز المساعدة داخل الصفحات ---------- */
.hp-search { max-width: 620px; margin-block-end: 36px; }

.hp-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.hp-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 17px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	font-family: var(--f-head);
	font-size: .9rem;
	font-weight: 500;
	transition: all var(--t-1);
}

.hp-chip .mc-icon { color: var(--c); }
.hp-chip em { font-style: normal; font-size: .78rem; color: var(--fg-3); }
.hp-chip:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }

.hp-more { margin-block-start: 32px; }

/* ---------- 22. ترويسات الصفحات ---------- */
.page-head { padding-block: 48px 36px; background: var(--bg-soft); border-block-end: 1px solid var(--line); }
.page-title { margin: 8px 0 0; }
.page-sub { margin: 10px 0 0; color: var(--fg-2); }
.page-head-search { max-width: 480px; margin-block-start: 22px; }

.crumbs { margin-block-end: 6px; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.crumbs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .83rem;
	color: var(--fg-3);
}

.crumbs a { color: var(--fg-2); }
.crumbs a:hover { color: var(--brand); }
.crumb-sep { opacity: .4; }
.crumbs [aria-current] { color: var(--brand); font-weight: 500; }

/* ---------- 23. بطاقات التدوينات ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pcard {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform var(--t-2), box-shadow var(--t-2);
}

.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.pcard-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pcard-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-date { margin: 0 0 8px; font-size: .8rem; color: var(--fg-3); }
.pcard-title { margin: 0 0 10px; font-size: 1.08rem; }
.pcard-title a:hover { color: var(--brand); }
.pcard-text { margin: 0 0 16px; font-size: .92rem; color: var(--fg-2); }

.pcard-go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block-start: auto;
	font-family: var(--f-head);
	font-size: .87rem;
	font-weight: 600;
	color: var(--brand);
}

.post-cover { margin-block-end: 32px; border-radius: var(--r-lg); overflow: hidden; }

/* ---------- 24. نص المقالات (prose) ---------- */
.prose { font-size: 1.02rem; color: var(--fg-2); }
.prose--narrow { max-width: var(--wrap-narrow); margin-inline: auto; }
.prose-title { margin-block-end: 24px; }

.prose h2 { margin-block: 44px 16px; font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem); }
.prose h3 { margin-block: 32px 12px; }
.prose h2:first-child, .prose h3:first-child { margin-block-start: 0; }
.prose p { margin-block-end: 1.15em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }

.prose ul, .prose ol { margin: 0 0 1.3em; padding-inline-start: 4px; display: grid; gap: 10px; }

.prose ul li { position: relative; padding-inline-start: 26px; }

.prose ul li::before {
	content: '';
	position: absolute;
	inset-block-start: .72em;
	inset-inline-start: 6px;
	width: 7px; height: 7px;
	background: var(--brand);
	border-radius: 2px;
	transform: rotate(45deg);
}

.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-inline-start: 40px; counter-increment: n; }

.prose ol li::before {
	content: counter(n);
	position: absolute;
	inset-block-start: .15em;
	inset-inline-start: 0;
	display: grid;
	place-items: center;
	width: 26px; height: 26px;
	background: var(--bg-tint);
	color: var(--brand);
	border-radius: var(--r-xs);
	font-family: var(--f-head);
	font-size: .8rem;
	font-weight: 600;
}

.prose img { border-radius: var(--r); margin-block: 1.5em; border: 1px solid var(--line); }

.prose blockquote {
	margin: 1.8em 0;
	padding: 20px 24px;
	background: var(--bg-tint);
	border-inline-start: 3px solid var(--brand);
	border-radius: var(--r-sm);
	font-size: 1rem;
	color: var(--fg);
}

.prose blockquote p:last-child { margin: 0; }

.prose code {
	padding: 2px 7px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--r-xs);
	font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
	font-size: .88em;
	color: var(--ink);
	direction: ltr;
	display: inline-block;
}

.prose pre {
	margin: 1.6em 0;
	padding: 20px 22px;
	background: var(--bg-dark);
	color: #E6EDF3;
	border-radius: var(--r);
	overflow-x: auto;
	direction: ltr;
	font-size: .88rem;
	line-height: 1.7;
}

.prose pre code { background: none; border: 0; padding: 0; color: inherit; }

.prose table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: collapse;
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	font-size: .93rem;
}

.prose th, .prose td { padding: 12px 16px; border-block-end: 1px solid var(--line-2); text-align: start; }
.prose th { background: var(--bg-soft); font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.prose tr:last-child td { border-block-end: 0; }

.prose hr { margin: 2.4em 0; border: 0; border-block-start: 1px solid var(--line); }

/* ---------- 25. الحالة الفارغة ---------- */
.empty {
	padding: 64px 24px;
	text-align: center;
	color: var(--fg-2);
}

.empty .mc-icon { color: var(--line); margin-inline: auto; margin-block-end: 16px; }
.empty h1, .empty h2, .empty h3 { margin: 0 0 8px; }
.empty p { margin: 0 0 20px; }

/* ---------- 26. ترقيم الصفحات ---------- */
.pager { margin-block-start: 40px; }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }

.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	font-family: var(--f-head);
	font-size: .9rem;
	font-weight: 500;
	color: var(--fg-2);
	transition: all var(--t-1);
}

.pager .page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.pager .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .dots { border-color: transparent; background: none; }

/* ---------- 27. نموذج البحث العام ---------- */
.sform { position: relative; display: flex; }

.sform-input {
	width: 100%;
	padding: 13px 46px 13px 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	font: inherit;
	font-size: .95rem;
}

.sform-input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .14); }

.sform-btn {
	position: absolute;
	inset-inline-end: 6px;
	inset-block-start: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 36px; height: 36px;
	background: var(--brand);
	color: #fff;
	border: 0;
	border-radius: var(--r-pill);
}

/* ---------- 28. الفوتر ---------- */
.fcta {
	padding-block: 56px;
	background: var(--bg-dark);
	color: var(--fg-on-dark);
	border-block-end: 1px solid var(--line-dark);
}

.fcta-in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
}

.fcta-title { color: #fff; margin: 0 0 8px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.fcta-text p { margin: 0; font-size: .98rem; }
.fcta-acts { display: flex; flex-wrap: wrap; gap: 12px; }

.site-foot { padding-block: 62px 26px; background: var(--bg-dark); color: var(--fg-on-dark-2); font-size: .93rem; }

.foot-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: 38px;
	padding-block-end: 44px;
	border-block-end: 1px solid var(--line-dark);
}

.foot-about { margin: 18px 0 20px; max-width: 42ch; line-height: 1.9; }

.foot-h {
	margin: 0 0 18px;
	font-size: .96rem;
	font-weight: 600;
	color: #fff;
}

.foot-menu { display: grid; gap: 11px; }
.foot-menu a { color: var(--fg-on-dark-2); transition: color var(--t-1), padding var(--t-1); }
.foot-menu a:hover { color: var(--brand); padding-inline-start: 4px; }

.foot-contact { display: grid; gap: 13px; }

.foot-contact li, .foot-contact a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--fg-on-dark-2);
}

.foot-contact .mc-icon { color: var(--brand); flex: none; }
.foot-contact a:hover { color: #fff; }
.foot-contact li span { direction: ltr; unicode-bidi: plaintext; }

.foot-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-block: 26px;
	border-block-end: 1px solid var(--line-dark);
}

.foot-badges li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--line-dark);
	border-radius: var(--r-pill);
	font-size: .84rem;
}

.foot-badges .mc-icon { color: var(--brand); }

.foot-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block-start: 24px;
}

.foot-copy { margin: 0; font-size: .85rem; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 18px; font-size: .85rem; }
.foot-legal a:hover { color: #fff; }

/* السوشيال */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }

.social {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: var(--r-sm);
	background: var(--bg-soft);
	color: var(--fg-2);
	transition: all var(--t-1);
}

.social:hover { background: var(--brand); color: #fff; }

.socials--mini .social { width: 28px; height: 28px; background: transparent; color: rgba(255, 255, 255, .55); }
.socials--mini .social:hover { color: #fff; background: rgba(255, 255, 255, .1); }

.socials--foot .social { background: rgba(255, 255, 255, .05); color: var(--fg-on-dark-2); }
.socials--foot .social:hover { background: var(--brand); color: #fff; }

/* ---------- 29. الأزرار العائمة ---------- */
.fab {
	position: fixed;
	z-index: 80;
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	border: 0;
	border-radius: var(--r-pill);
	box-shadow: var(--sh-3);
	transition: transform var(--t-2), opacity var(--t-2);
}

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

.fab-wa {
	inset-block-end: 24px;
	inset-inline-end: 24px;
	background: #25D366;
	color: #fff;
}

.fab-tip {
	position: absolute;
	inset-inline-end: calc(100% + 12px);
	padding: 8px 14px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--r-pill);
	font-size: .82rem;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	pointer-events: none;
	transition: opacity var(--t-2), transform var(--t-2);
}

.fab-wa:hover .fab-tip { opacity: 1; transform: none; }

.fab-top {
	inset-block-end: 90px;
	inset-inline-end: 24px;
	width: 44px; height: 44px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink);
	opacity: 0;
	pointer-events: none;
}

.fab-top.is-on { opacity: 1; pointer-events: auto; }

/* ---------- 30. صفحة 404 ---------- */
.e404-in { max-width: 620px; margin-inline: auto; text-align: center; }

.e404-code {
	margin: 0 0 8px;
	font-family: var(--f-head);
	font-size: clamp(5rem, 3rem + 10vw, 9rem);
	font-weight: 600;
	line-height: 1;
	color: var(--line);
	font-variant-numeric: tabular-nums;
}

.e404-title { margin: 0 0 12px; }
.e404-text { margin: 0 0 28px; color: var(--fg-2); }
.e404-search { margin-block-end: 28px; text-align: start; }
.e404-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 31. استجابة ---------- */
@media (max-width: 1080px) {
	.hero-in { grid-template-columns: 1fr; gap: 44px; }
	.sec--hero::before { display: none; }
	.hero-lead { max-width: none; }
	.hero-chip--1 { inset-inline-start: -8px; }
	.hero-chip--2 { inset-inline-end: -8px; }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.bcard.is-wide { grid-column: span 2; }
	.feats.cols-3 { grid-template-columns: repeat(2, 1fr); }
	.faq-wrap.has-side { grid-template-columns: 1fr; }
	.faq-side { position: static; }
	.contact.has-form { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.ctab.has-img { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
	.head-nav, .head-help { display: none; }
	.burger { display: flex; }
	.head-side .btn { display: none; }
	.head-in { justify-content: space-between; }
	.topbar-in .socials { display: none; }
	.step::before { display: none; }
	.steps { gap: 28px; }
	.step { padding: 0; }
}

@media (max-width: 720px) {
	.pt-lg { padding-block-start: 62px; }
	.pb-lg { padding-block-end: 62px; }
	.sec-head { margin-block-end: 34px; }
	.bento, .feats.cols-3, .feats.cols-2, .post-grid { grid-template-columns: 1fr; }
	.bcard.is-wide { grid-column: auto; }
	.hero-chip { display: none; }
	.hero-strip { margin-block-start: 40px; grid-template-columns: 1fr 1fr; }
	.hero-strip li { border-block-end: 1px solid var(--line); }
	.hero-strip li:nth-child(even) { border-inline-end: 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { border-block-end: 1px solid var(--line); }
	.stat:nth-child(even) { border-inline-end: 0; }
	.logos { flex-direction: column; align-items: stretch; gap: 20px; }
	.logos-label { max-width: none; }
	.ctab { padding: 36px 24px; }
	.cform-row { grid-template-columns: 1fr; }
	.cform { padding: 24px 20px; }
	.foot-grid { grid-template-columns: 1fr; }
	.revs-track { grid-auto-columns: 86%; }
	.faq-a { padding-inline: 24px; }
	.fab-wa { width: 48px; height: 48px; inset-block-end: 18px; inset-inline-end: 18px; }
	.fab-top { inset-block-end: 76px; inset-inline-end: 18px; }
}

/* ---------- 32. تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- 33. الطباعة ---------- */
@media print {
	.site-head, .topbar, .mnav, .fab, .fcta, .site-foot, .toc, .vote, .hside { display: none !important; }
	body { background: #fff; color: #000; }
}
