/* =========================================================
   Mada Marketing — نظام التصميم v3
   داكن/فاتح بالتبادل · صور خلفية للأقسام · أيقونات بارزة
   Readex Pro للعناوين + IBM Plex Sans Arabic للمتن
   ========================================================= */

/* ---------- 1. المتغيّرات ---------- */
:root {
	/* البراند */
	--brand: #FD892B;
	--brand-600: #F0770F;
	--brand-700: #C55F12;
	--brand-400: #FFA65C;
	--brand-300: #FFC08D;
	--brand-50: #FFF5EC;
	--brand-100: #FFE6D1;
	--brand-200: #FFCFA8;
	--brand-rgb: 253, 137, 43;
	--brand-grad: linear-gradient(120deg, #FFA65C 0%, #FD892B 50%, #EE6F0E 100%);

	/* الداكن — الأساس */
	--d-900: #0B0E14;
	--d-800: #10141C;
	--d-700: #161B25;
	--d-600: #1E2531;
	--d-500: #2A323F;
	--d-line: rgba(255, 255, 255, .09);
	--d-line-2: rgba(255, 255, 255, .06);
	--d-text: #A8B2C1;
	--d-text-2: #7C8798;

	/* الفاتح */
	--ink: #10141C;
	--ink-rgb: 16, 20, 28;
	--ink-800: #232A36;
	--ink-700: #39414F;
	--muted: #5D6675;
	--muted-2: #8B94A3;
	--line: #E9E9EC;
	--line-2: #F3F3F5;
	--bg: #FFFFFF;
	--bg-soft: #F7F7F9;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--radius-xl: 30px;
	--radius-pill: 999px;

	--shadow-xs: 0 1px 2px rgba(16, 20, 28, .04), 0 2px 8px rgba(16, 20, 28, .04);
	--shadow-sm: 0 2px 4px rgba(16, 20, 28, .03), 0 8px 20px rgba(16, 20, 28, .07);
	--shadow: 0 4px 8px rgba(16, 20, 28, .04), 0 16px 40px rgba(16, 20, 28, .1);
	--shadow-lg: 0 8px 16px rgba(16, 20, 28, .07), 0 30px 70px rgba(16, 20, 28, .16);
	--shadow-brand: 0 8px 18px rgba(var(--brand-rgb), .26), 0 16px 36px rgba(var(--brand-rgb), .22);
	--glow: 0 0 0 1px rgba(var(--brand-rgb), .28), 0 0 34px rgba(var(--brand-rgb), .2);

	--container: 1240px;
	--gap: 24px;
	--sec-pad: 96px;

	--font-head: 'Readex Pro', 'Plex Arabic', 'Segoe UI', Tahoma, sans-serif;
	--font: 'Plex Arabic', 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;

	--t-fast: .16s cubic-bezier(.4, 0, .2, 1);
	--t: .32s cubic-bezier(.22, 1, .36, 1);
	--t-slow: .6s cubic-bezier(.22, 1, .36, 1);

	--sec-bg: none;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 104px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-700);
	background: var(--bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

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

h1 { font-size: clamp(2rem, 1.1rem + 3.2vw, 3.5rem); line-height: 1.25; }
h2 { font-size: clamp(1.65rem, 1.15rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .65vw, 1.45rem); }
h4 { font-size: 1.08rem; font-family: var(--font-head); }

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

:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .6); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand); color: #fff; }

.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 {
	position: absolute; top: -100px; inset-inline-start: 16px; z-index: 999;
	background: var(--brand); color: #fff; padding: 10px 18px;
	border-radius: 0 0 12px 12px; transition: top var(--t);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. التخطيط ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 830px); }
.container--wide { width: min(100% - 40px, 1400px); }

.sec { position: relative; isolation: isolate; }
.sec > .container { position: relative; z-index: 3; }

.pt-none { padding-top: 0; }
.pt-small { padding-top: calc(var(--sec-pad) * .45); }
.pt-normal { padding-top: var(--sec-pad); }
.pt-large { padding-top: calc(var(--sec-pad) * 1.3); }
.pb-none { padding-bottom: 0; }
.pb-small { padding-bottom: calc(var(--sec-pad) * .45); }
.pb-normal { padding-bottom: var(--sec-pad); }
.pb-large { padding-bottom: calc(var(--sec-pad) * 1.3); }

/* ---- خلفيات الأقسام ---- */
.bg-white { background: var(--bg); }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: linear-gradient(165deg, var(--brand-50) 0%, #FFFCF8 100%); }

.bg-dark { background: var(--d-800); color: var(--d-text); }
.bg-dark::before {
	content: '';
	position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(58% 76% at 86% 4%, rgba(var(--brand-rgb), .18) 0%, transparent 62%),
		radial-gradient(46% 58% at 6% 98%, rgba(var(--brand-rgb), .1) 0%, transparent 62%);
	pointer-events: none;
}

.bg-brand { background: var(--brand-grad); color: #fff; }
.bg-brand::before {
	content: '';
	position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(44% 70% at 8% 0%, rgba(255,255,255,.22) 0%, transparent 62%),
		radial-gradient(40% 60% at 94% 100%, rgba(0,0,0,.14) 0%, transparent 62%);
	pointer-events: none;
}

/* ---- صورة خلفية القسم + طبقة التغطية ---- */
.has-bg-image::after {
	content: '';
	position: absolute; inset: 0; z-index: 0;
	background-image: var(--sec-bg);
	background-size: cover;
	background-position: center;
	pointer-events: none;
}
.has-bg-image.bg-fixed::after { background-attachment: fixed; }

/* الطبقة اللونية تعلو الصورة وتضمن قراءة النص */
.has-bg-image::before {
	content: '';
	position: absolute; inset: 0; z-index: 1;
	pointer-events: none;
}
.has-bg-image.bg-dark::before {
	background:
		linear-gradient(180deg, rgba(11,14,20,.97) 0%, rgba(11,14,20,.9) 45%, rgba(11,14,20,.97) 100%),
		radial-gradient(58% 76% at 86% 6%, rgba(var(--brand-rgb), .3) 0%, transparent 60%);
}
.has-bg-image.bg-dark.overlay-medium::before {
	background:
		linear-gradient(180deg, rgba(11,14,20,.94) 0%, rgba(11,14,20,.86) 45%, rgba(11,14,20,.96) 100%),
		radial-gradient(58% 76% at 86% 6%, rgba(var(--brand-rgb), .28) 0%, transparent 60%);
}
.has-bg-image.bg-dark.overlay-light::before {
	background:
		linear-gradient(180deg, rgba(11,14,20,.78) 0%, rgba(11,14,20,.58) 45%, rgba(11,14,20,.86) 100%),
		radial-gradient(58% 76% at 86% 6%, rgba(var(--brand-rgb), .24) 0%, transparent 60%);
}
.has-bg-image.bg-brand::before { background: linear-gradient(120deg, rgba(255,166,92,.95), rgba(238,111,14,.95)); }
.has-bg-image.bg-white::before, .has-bg-image.bg-soft::before { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.88)); }

/* ---- ألوان النص داخل الأقسام الداكنة ---- */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.bg-brand h1, .bg-brand h2, .bg-brand h3, .bg-brand h4 { color: #fff; }
.bg-brand .sec-head__text, .bg-brand p { color: rgba(255,255,255,.94); }
.bg-dark .sec-head__text, .bg-dark p { color: var(--d-text); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. ترويسة القسم ---------- */
.sec-head { margin-bottom: 46px; max-width: 640px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--start { text-align: start; }

.badge {
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--brand-50);
	color: var(--brand-700);
	font-family: var(--font-head);
	font-size: .78rem; font-weight: 600; letter-spacing: .2px;
	padding: 7px 16px;
	border-radius: var(--radius-pill);
	margin-bottom: 18px;
	border: 1px solid var(--brand-100);
}
.badge::before {
	content: ''; width: 7px; height: 7px; border-radius: 50%;
	background: var(--brand);
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .2);
	flex-shrink: 0;
}
.bg-dark .badge {
	background: rgba(var(--brand-rgb), .12);
	color: var(--brand-300);
	border-color: rgba(var(--brand-rgb), .28);
}
.bg-brand .badge {
	background: rgba(255,255,255,.16); color: #fff;
	border-color: rgba(255,255,255,.26);
}
.bg-brand .badge::before { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.22); }

.sec-head__title { margin-bottom: 14px; }
.hl { color: var(--brand); }
.bg-brand .hl { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 9px; text-decoration-thickness: 3px; }
.bg-dark .hl { color: var(--brand-400); }

.sec-head__text { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }

/* ---------- 5. الأزرار ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 14px 28px;
	border-radius: var(--radius-pill);
	font-family: var(--font-head);
	font-weight: 600; font-size: .93rem;
	border: 1.5px solid transparent;
	transition: transform var(--t), box-shadow var(--t), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
	cursor: pointer; line-height: 1.5; white-space: nowrap;
}
.btn__icon { flex-shrink: 0; transition: transform var(--t); }
.btn:hover .btn__icon { transform: translateX(-4px); }

.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 24px rgba(var(--brand-rgb), .32), 0 24px 50px rgba(var(--brand-rgb), .26); }

.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.bg-dark .btn--outline { background: rgba(255,255,255,.05); border-color: var(--d-line); color: #fff; backdrop-filter: blur(8px); }
.bg-dark .btn--outline:hover { background: rgba(255,255,255,.12); border-color: rgba(var(--brand-rgb), .5); color: #fff; }

.btn--ghost { color: var(--ink); background: transparent; padding-inline: 12px; }
.btn--ghost:hover { color: var(--brand); }

.btn--white { background: #fff; color: var(--brand-700); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.btn--white:hover { background: var(--d-800); color: #fff; transform: translateY(-3px); }

.btn--dark { background: var(--d-800); color: #fff; }
.btn--dark:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

.btn--line-white { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }
.btn--line-white:hover { background: #fff; color: var(--brand-700); border-color: #fff; transform: translateY(-3px); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.btn-row--center { justify-content: center; }
.sec-head--center + .btn-row { justify-content: center; }

/* ---------- 6. البطاقات ---------- */
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px 26px 26px;
	transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
	position: relative; height: 100%; overflow: hidden;
	display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }

/* بطاقات داخل الأقسام الداكنة */
.bg-dark .card {
	background: rgba(255,255,255,.04);
	border-color: var(--d-line);
	backdrop-filter: blur(10px);
}
.bg-dark .card:hover { background: rgba(255,255,255,.07); border-color: rgba(var(--brand-rgb), .38); box-shadow: var(--glow); }
.bg-dark .card__title { color: #fff; }
.bg-dark .card__text { color: var(--d-text); }
.bg-dark .card__title a:hover { color: var(--brand-400); }

/* الأيقونة — عنصر بصري بارز */
.card__icon {
	width: 54px; height: 54px;
	border-radius: 16px;
	display: grid; place-items: center;
	background: var(--brand-50);
	color: var(--brand-700);
	border: 1px solid var(--brand-100);
	margin-bottom: 18px;
	transition: all var(--t);
	flex-shrink: 0;
}
.card:hover .card__icon { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(var(--brand-rgb), .34); transform: translateY(-2px); }
.bg-dark .card__icon { background: rgba(var(--brand-rgb), .12); color: var(--brand-400); border-color: rgba(var(--brand-rgb), .26); }
.bg-dark .card:hover .card__icon { background: var(--brand-grad); color: #fff; }

.card__title { font-size: 1.14rem; margin-bottom: 9px; }
.card__text { color: var(--muted); font-size: .93rem; margin: 0; line-height: 1.78; }

.card__link {
	display: inline-flex; align-items: center; gap: 7px;
	margin-top: auto; padding-top: 16px;
	color: var(--brand-700); font-weight: 600; font-size: .88rem;
	font-family: var(--font-head);
	align-self: flex-start;
}
.card__link svg { transition: transform var(--t); }
.card:hover .card__link svg { transform: translateX(-5px); }
.bg-dark .card__link { color: var(--brand-400); }

.card--media { padding: 0; }
.card--media .card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card--media .card__link { padding-top: 16px; }

.card__media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.card:hover .card__media img { transform: scale(1.06); }

/* ---------- 7. الهيدر ---------- */
.topbar {
	background: var(--d-900);
	color: var(--d-text-2);
	font-size: .82rem;
	padding: 9px 0;
	position: relative; overflow: hidden;
}
.topbar::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(50% 280% at 76% 50%, rgba(var(--brand-rgb), .15) 0%, transparent 70%);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
.topbar__msg { display: flex; align-items: center; gap: 8px; margin: 0; color: #CBD3DE; min-width: 0; }
.topbar__msg svg { color: var(--brand-400); flex-shrink: 0; }
.topbar__msg a { color: var(--brand-400); font-weight: 600; border-bottom: 1px dashed rgba(var(--brand-rgb), .45); white-space: nowrap; }
.topbar__msg a:hover { color: #fff; border-color: #fff; }
.topbar__side { display: flex; align-items: center; gap: 18px; }
/* الهاتف والعنوان لا يُلفّان لسطرين — هذا ما كان يضاعف ارتفاع الشريط على الجوال */
.topbar__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__link svg { flex-shrink: 0; }
.topbar__link svg { color: var(--brand-400); }
.topbar__link:hover { color: #fff; }
.topbar__socials { display: flex; gap: 11px; }
.topbar__socials a { opacity: .7; }
.topbar__socials a:hover { opacity: 1; color: var(--brand-400); }

/* الهيدر داكن ليتّصل بالهيرو */
.site-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(16, 20, 28, .82);
	backdrop-filter: blur(18px) saturate(160%);
	border-bottom: 1px solid var(--d-line-2);
	transition: background var(--t), box-shadow var(--t);
}
.site-header.is-stuck { background: rgba(11, 14, 20, .96); box-shadow: 0 10px 34px rgba(0,0,0,.34); }

.header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { max-height: 46px; width: auto; filter: brightness(0) invert(1); }
.brand__text { font-family: var(--font-head); font-weight: 700; font-size: 1.24rem; color: #fff; }
.brand__text span { color: var(--brand); }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 14px;
	font-family: var(--font-head);
	font-weight: 500; font-size: .92rem;
	border-radius: var(--radius-pill);
	color: #D2D9E3;
}
.nav__list > li > a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__list > .current-menu-item > a,
.nav__list > .current-menu-parent > a,
.nav__list > .current-menu-ancestor > a { color: var(--brand-400); background: rgba(var(--brand-rgb), .12); }

.menu-caret { transition: transform var(--t-fast); opacity: .55; }
.has-dropdown:hover > a .menu-caret { transform: rotate(180deg); opacity: 1; }

.sub-menu {
	position: absolute; top: calc(100% + 10px); inset-inline-start: 0;
	min-width: 244px;
	background: var(--d-700);
	border: 1px solid var(--d-line);
	border-radius: var(--radius);
	box-shadow: 0 24px 60px rgba(0,0,0,.5);
	padding: 9px;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all var(--t); z-index: 20;
}
.has-dropdown:hover > .sub-menu, .has-dropdown:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
	display: block; padding: 10px 15px;
	border-radius: var(--radius-sm);
	font-size: .9rem; font-weight: 500; color: #C4CCD8;
}
.sub-menu a:hover { background: rgba(var(--brand-rgb), .14); color: var(--brand-300); padding-inline-start: 21px; }
.submenu-toggle { display: none; }

.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.icon-btn {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: rgba(255,255,255,.06);
	border: 1px solid var(--d-line);
	color: #D2D9E3;
	position: relative;
	transition: all var(--t-fast);
}
.icon-btn:hover { background: rgba(var(--brand-rgb), .16); color: var(--brand-300); border-color: rgba(var(--brand-rgb), .34); }

.cart-count {
	position: absolute; top: -3px; inset-inline-end: -3px;
	min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: var(--radius-pill);
	background: var(--brand-grad); color: #fff;
	font-size: .68rem; font-weight: 700;
	display: grid; place-items: center; line-height: 1;
	border: 2px solid var(--d-800);
}
.cart-count.is-bump { animation: mada-bump .4s ease; }
@keyframes mada-bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.35); } }

.burger { display: none; }

.header-search { display: none; padding: 18px 0; border-top: 1px solid var(--d-line); background: var(--d-800); }
.header-search.is-open { display: block; animation: mada-fade .3s ease; }
@keyframes mada-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.header-search form { display: flex; gap: 10px; }
.header-search input[type="search"] {
	flex: 1; padding: 14px 20px;
	border: 1px solid var(--d-line);
	border-radius: var(--radius-pill);
	font: inherit; background: rgba(255,255,255,.05); color: #fff;
}
.header-search input[type="search"]::placeholder { color: var(--d-text-2); }
.header-search input[type="search"]:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.09); }

/* قائمة الموبايل */
.mobile-panel { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mobile-panel.is-open { visibility: visible; pointer-events: auto; }
.mobile-panel__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.68); backdrop-filter: blur(3px); opacity: 0; transition: opacity var(--t); }
.mobile-panel.is-open .mobile-panel__overlay { opacity: 1; }

.mobile-panel__inner {
	position: absolute; inset-block: 0; inset-inline-end: 0;
	width: min(88vw, 360px);
	background: var(--d-800); color: var(--d-text);
	transform: translateX(-100%);
	transition: transform var(--t);
	display: flex; flex-direction: column; overflow-y: auto;
}
html[dir="rtl"] .mobile-panel__inner { transform: translateX(100%); }
.mobile-panel.is-open .mobile-panel__inner { transform: translateX(0) !important; }

.mobile-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--d-line); }
.mobile-panel__body { padding: 20px; flex: 1; }
.mobile-panel__foot { padding: 20px; border-top: 1px solid var(--d-line); display: grid; gap: 10px; background: var(--d-900); }

.mobile-menu > li > a, .mobile-menu .sub-menu a {
	display: block; padding: 13px 4px;
	font-family: var(--font-head); font-weight: 500; color: #E2E7EE;
	border-bottom: 1px solid var(--d-line-2);
}
.mobile-menu > li > a { padding-inline-end: 50px; }
.mobile-menu li { position: relative; }
.mobile-menu .sub-menu {
	position: static; opacity: 1; visibility: visible; transform: none;
	box-shadow: none; border: 0; padding: 0 16px; background: none;
	max-height: 0; overflow: hidden; transition: max-height var(--t);
}
.mobile-menu .sub-menu a { font-weight: 400; font-size: .9rem; color: var(--d-text); }
.mobile-menu .sub-menu a:hover { padding-inline-start: 4px; background: none; }
.mobile-menu .is-expanded > .sub-menu { max-height: 600px; }
.mobile-menu .submenu-toggle {
	display: grid; place-items: center; position: absolute;
	top: 4px; inset-inline-end: 0; width: 40px; height: 40px;
	background: rgba(255,255,255,.06); border: 0; border-radius: 11px;
	color: #fff; transition: all var(--t-fast);
}
.mobile-menu .is-expanded > .submenu-toggle { transform: rotate(180deg); background: var(--brand-grad); }
.mobile-menu .menu-caret { display: none; }
.mobile-panel .search-form input[type="search"] { background: rgba(255,255,255,.05); border-color: var(--d-line); color: #fff; }

/* ---------- 8. الهيرو ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; position: relative; z-index: 3; }
.hero--center .hero__grid { grid-template-columns: 1fr; text-align: center; max-width: 850px; margin-inline: auto; }
.hero--center .hero__points, .hero--center .btn-row { justify-content: center; }

.hero__title { font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.7rem); margin-bottom: 20px; letter-spacing: -.8px; }
.hero__text { font-size: 1.08rem; margin-bottom: 30px; max-width: 55ch; line-height: 1.9; }
.hero--center .hero__text { margin-inline: auto; }

.hero__points {
	display: flex; flex-wrap: wrap; gap: 12px 26px;
	margin-top: 30px; padding-top: 26px;
	border-top: 1px solid var(--line);
}
.bg-dark .hero__points { border-color: var(--d-line); }
.hero__point { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: var(--ink-800); }
.bg-dark .hero__point { color: #DCE2EA; }
.hero__point svg {
	color: #fff; background: var(--brand-grad);
	border-radius: 50%; padding: 3px;
	width: 21px; height: 21px; flex-shrink: 0;
	box-shadow: 0 3px 9px rgba(var(--brand-rgb), .38);
}

.hero__media { position: relative; }
.hero__media::before {
	content: ''; position: absolute;
	inset-block: 22px -22px; inset-inline: -22px 22px;
	border-radius: var(--radius-xl);
	border: 1.5px solid rgba(var(--brand-rgb), .4);
	z-index: 0;
}
.hero__media img {
	position: relative; z-index: 1; width: 100%;
	border-radius: var(--radius-xl);
	box-shadow: 0 30px 70px rgba(0,0,0,.5);
	aspect-ratio: 4 / 3.2; object-fit: cover;
	border: 1px solid var(--d-line);
}

/* شريط الأرقام */
.hero__stats {
	position: relative; z-index: 3;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-top: 68px;
	background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
	border: 1px solid var(--d-line);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(14px);
	padding: 34px 26px;
	overflow: hidden;
}
/* لمعة علوية خفيفة تعطي الشريط حجمًا */
.hero__stats::before {
	content: ''; position: absolute;
	inset-block-start: 0; inset-inline: 12% 12%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .7), transparent);
}
.bg-white .hero__stats, .bg-soft .hero__stats { background: #fff; border-color: var(--line); box-shadow: var(--shadow); backdrop-filter: none; }

.hero__stat { text-align: center; padding: 4px 16px; position: relative; }
.hero__stat + .hero__stat::before {
	content: ''; position: absolute; inset-inline-start: 0; inset-block: 8% 8%;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--d-line) 22%, var(--d-line) 78%, transparent);
}
.bg-white .hero__stat + .hero__stat::before, .bg-soft .hero__stat + .hero__stat::before {
	background: linear-gradient(180deg, transparent, var(--line) 22%, var(--line) 78%, transparent);
}

/* الرقم واللاحقة على خط قاعدة واحد، واللاحقة أصغر عمدًا */
.hero__stat-num {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 1px;
	font-family: var(--font-head);
	font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem);
	font-weight: 700;
	color: var(--brand-400);
	line-height: 1.15;
	letter-spacing: -1px;
	margin-bottom: 8px;
}
.bg-white .hero__stat-num, .bg-soft .hero__stat-num { color: var(--brand); }
.hero__stat-num .num { font-size: inherit; font-weight: inherit; }
.hero__stat-num .suffix { font-size: .58em; font-weight: 600; opacity: .9; }

.hero__stat-label {
	display: block;
	font-size: .875rem;
	line-height: 1.55;
	color: #C6CEDA;
}
.bg-white .hero__stat-label, .bg-soft .hero__stat-label { color: var(--muted); }

/* ---------- 9. شعارات العملاء ---------- */
.logos__title { text-align: center; color: var(--muted-2); font-size: .84rem; font-weight: 500; letter-spacing: .5px; margin-bottom: 28px; }
.bg-dark .logos__title { color: var(--d-text-2); }
.logos__track { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; justify-content: center; }
.logos__item { filter: grayscale(1); opacity: .4; transition: all var(--t); max-height: 44px; width: auto; }
.bg-dark .logos__item { filter: grayscale(1) brightness(2.4); opacity: .45; }
.logos__item:hover { filter: none; opacity: 1; transform: scale(1.05); }
.logos--marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos--marquee .logos__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: mada-marquee 38s linear infinite; }
.logos--marquee:hover .logos__track { animation-play-state: paused; }
@keyframes mada-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 10. صورة + مزايا ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.split__media::before {
	content: ''; position: absolute;
	inset-block: 20px -20px; inset-inline: -20px 20px;
	border-radius: var(--radius-xl);
	border: 1.5px solid rgba(var(--brand-rgb), .35);
	z-index: 0;
}
.split--reverse .split__media::before { inset-inline: 20px -20px; }
.split__media img {
	position: relative; z-index: 1;
	border-radius: var(--radius-xl); width: 100%;
	aspect-ratio: 5 / 4.2; object-fit: cover;
	box-shadow: var(--shadow);
}
.bg-dark .split__media img { box-shadow: 0 26px 60px rgba(0,0,0,.5); border: 1px solid var(--d-line); }

.split__float {
	position: absolute; z-index: 2;
	inset-block-end: 24px; inset-inline-start: -24px;
	background: #fff; border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 18px 24px;
	display: flex; align-items: center; gap: 14px;
	max-width: 240px; border: 1px solid var(--line);
}
.bg-dark .split__float { background: var(--d-700); border-color: var(--d-line); }
.split__float b { font-family: var(--font-head); font-size: 1.85rem; color: var(--brand); line-height: 1; font-weight: 700; }
.split__float span { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.bg-dark .split__float span { color: var(--d-text); }

.split__list { display: grid; gap: 6px; margin: 28px 0 32px; }
.split__item { display: flex; gap: 16px; padding: 14px; border-radius: var(--radius); transition: background var(--t); }
.split__item:hover { background: var(--bg-soft); }
.bg-dark .split__item:hover { background: rgba(255,255,255,.05); }
.split__item-ico {
	flex-shrink: 0; width: 46px; height: 46px;
	border-radius: 14px;
	background: var(--brand-50); color: var(--brand-700);
	display: grid; place-items: center;
	border: 1px solid var(--brand-100);
	transition: all var(--t);
}
.bg-dark .split__item-ico { background: rgba(var(--brand-rgb), .12); color: var(--brand-400); border-color: rgba(var(--brand-rgb), .26); }
.split__item:hover .split__item-ico { background: var(--brand-grad); color: #fff; border-color: transparent; }
.split__item h3 { font-size: 1.04rem; margin-bottom: 5px; }
.bg-dark .split__item h3 { color: #fff; }
.split__item p { color: var(--muted); font-size: .92rem; margin: 0; }
.bg-dark .split__item p { color: var(--d-text); }

/* ---------- 11. الأرقام ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 16px; }
.stat {
	text-align: center; padding: 30px 18px;
	border-radius: var(--radius-lg);
	background: rgba(255,255,255,.05);
	border: 1px solid var(--d-line);
	backdrop-filter: blur(10px);
	transition: all var(--t);
}
.stat:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(var(--brand-rgb), .34); }
.bg-white .stat, .bg-soft .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-xs); backdrop-filter: none; }
.bg-white .stat:hover, .bg-soft .stat:hover { box-shadow: var(--shadow); }
.bg-brand .stat { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.22); }

.stat__ico {
	width: 54px; height: 54px; margin: 0 auto 16px;
	border-radius: 16px; display: grid; place-items: center;
	background: rgba(var(--brand-rgb), .14);
	color: var(--brand-400);
	border: 1px solid rgba(var(--brand-rgb), .28);
}
.bg-white .stat__ico, .bg-soft .stat__ico { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.bg-brand .stat__ico { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.24); }
.stat__num {
	display: flex; align-items: baseline; justify-content: center; gap: 1px;
	font-family: var(--font-head);
	font-size: clamp(2.1rem, 1.5rem + 2vw, 2.9rem);
	font-weight: 700; line-height: 1.15; letter-spacing: -1px;
	color: #fff; margin-bottom: 6px;
}
.bg-white .stat__num, .bg-soft .stat__num { color: var(--ink); }
.stat__num .suffix { font-size: .58em; font-weight: 600; opacity: .92; }
.stat__label { font-size: .92rem; opacity: .9; }

/* ---------- 12. الخطوات ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 20px; position: relative; }
.process::before {
	content: ''; position: absolute; inset-block-start: 64px; inset-inline: 12%;
	height: 1px;
	background: repeating-linear-gradient(90deg, rgba(var(--brand-rgb), .4) 0 7px, transparent 7px 16px);
	z-index: 0;
}
.step {
	text-align: center; padding: 40px 22px 28px;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	position: relative; z-index: 1;
	transition: all var(--t);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.bg-dark .step { background: rgba(255,255,255,.04); border-color: var(--d-line); backdrop-filter: blur(10px); }
.bg-dark .step:hover { background: rgba(255,255,255,.07); border-color: rgba(var(--brand-rgb), .38); box-shadow: var(--glow); }
.bg-dark .step h3 { color: #fff; }
.bg-dark .step p { color: var(--d-text); }
.step__num {
	position: absolute; top: -18px; inset-inline-start: 50%;
	transform: translateX(50%);
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--brand-grad); color: #fff;
	display: grid; place-items: center;
	font-family: var(--font-head); font-weight: 700; font-size: 1rem;
	box-shadow: 0 8px 18px rgba(var(--brand-rgb), .38);
	border: 4px solid #fff;
}
.bg-dark .step__num { border-color: var(--d-800); }
.step__ico {
	width: 60px; height: 60px; margin: 10px auto 18px;
	border-radius: 18px;
	background: var(--brand-50); color: var(--brand-700);
	display: grid; place-items: center;
	border: 1px solid var(--brand-100);
	transition: all var(--t);
}
.bg-dark .step__ico { background: rgba(var(--brand-rgb), .12); color: var(--brand-400); border-color: rgba(var(--brand-rgb), .26); }
.step:hover .step__ico { background: var(--brand-grad); color: #fff; border-color: transparent; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .91rem; margin: 0; }

/* ---------- 13. الأعمال ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 40px; }
.filter-bar button {
	padding: 9px 22px; border-radius: var(--radius-pill);
	border: 1px solid var(--line); background: #fff;
	font-family: var(--font-head); font-weight: 500; font-size: .88rem;
	color: var(--muted); transition: all var(--t-fast);
}
.filter-bar button:hover { border-color: var(--brand-200); color: var(--brand-700); }
.filter-bar button.is-active { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(var(--brand-rgb), .3); }
.bg-dark .filter-bar button { background: rgba(255,255,255,.05); border-color: var(--d-line); color: var(--d-text); }
.bg-dark .filter-bar button:hover { color: #fff; border-color: rgba(var(--brand-rgb), .4); }
.bg-dark .filter-bar button.is-active { color: #fff; }

.works-grid.grid--3 > .work:first-child { grid-column: span 2; }
.works-grid.grid--3 > .work:first-child .work__title { font-size: 1.42rem; }
.works-grid.grid--3 > .work:first-child .work__body { padding: 34px 30px 26px; }

.work {
	position: relative; overflow: hidden;
	border-radius: var(--radius-lg);
	display: block; background: var(--d-900);
	transition: transform var(--t), box-shadow var(--t);
	border: 1px solid var(--d-line);
}
.work:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0,0,0,.42); border-color: rgba(var(--brand-rgb), .4); }
.work img { aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%; height: 100%; opacity: .78; transition: all var(--t-slow); }
.work:hover img { transform: scale(1.07); opacity: .6; }
.work__body {
	position: absolute; inset-inline: 0; inset-block-end: 0;
	padding: 30px 24px 24px;
	background: linear-gradient(to top, rgba(11,14,20,.97) 14%, rgba(11,14,20,.8) 52%, transparent);
	color: #fff;
}
.work__cat {
	display: inline-block; font-size: .72rem; color: #fff; font-weight: 600;
	font-family: var(--font-head);
	background: rgba(var(--brand-rgb), .95);
	padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 9px;
}
.work__title { color: #fff; font-size: 1.1rem; margin: 0; line-height: 1.5; }
.work__more {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: .84rem; font-weight: 600; color: var(--brand-400);
	max-height: 0; opacity: 0; overflow: hidden;
	transition: all var(--t);
}
.work:hover .work__more { opacity: 1; max-height: 40px; margin-top: 10px; }
.is-hidden { display: none !important; }

/* ---------- 14. الآراء ---------- */
.quote {
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px 28px 26px; height: 100%;
	display: flex; flex-direction: column; gap: 16px;
	position: relative; transition: all var(--t);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.bg-dark .quote { background: rgba(255,255,255,.04); border-color: var(--d-line); backdrop-filter: blur(10px); }
.bg-dark .quote:hover { background: rgba(255,255,255,.07); border-color: rgba(var(--brand-rgb), .36); box-shadow: var(--glow); }
.quote::before {
	content: '”'; position: absolute; top: 10px; inset-inline-end: 26px;
	font-size: 5rem; line-height: 1; color: var(--brand); opacity: .16;
	font-family: Georgia, serif; pointer-events: none;
}
.quote__text { color: var(--ink-700); font-size: .97rem; margin: 0; flex: 1; line-height: 1.88; }
.bg-dark .quote__text { color: #CDD5E0; }
.quote__foot { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.bg-dark .quote__foot { border-color: var(--d-line-2); }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(var(--brand-rgb), .35); }
.quote__name { font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink); }
.bg-dark .quote__name { color: #fff; }
.quote__role { font-size: .82rem; color: var(--muted); }
.bg-dark .quote__role { color: var(--d-text-2); }

.stars { display: inline-flex; gap: 3px; color: var(--line); }
.bg-dark .stars { color: rgba(255,255,255,.14); }
.star--on { color: #FFB020; }

.slider { position: relative; }
.slider__viewport { overflow: hidden; padding: 8px 4px 12px; margin: -8px -4px -12px; }
.slider__track { display: flex; gap: var(--gap); transition: transform var(--t-slow); }
.slider__slide { flex: 0 0 calc((100% - var(--gap) * 2) / 3); }
.slider__nav { display: flex; gap: 11px; justify-content: center; margin-top: 34px; }
.slider__btn {
	width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid var(--line); background: #fff;
	display: grid; place-items: center; color: var(--ink);
	transition: all var(--t-fast);
}
.bg-dark .slider__btn { background: rgba(255,255,255,.05); border-color: var(--d-line); color: #fff; }
.slider__btn:hover:not(:disabled) { background: var(--brand-grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.slider__btn:disabled { opacity: .3; cursor: not-allowed; }
.slider__dots { display: flex; gap: 7px; align-items: center; justify-content: center; margin-top: 22px; }
.slider__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line); padding: 0; transition: all var(--t); }
.bg-dark .slider__dot { background: rgba(255,255,255,.18); }
.slider__dot.is-active { background: var(--brand); width: 28px; border-radius: var(--radius-pill); }

/* ---------- 15. الباقات ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 24px; align-items: stretch; }
.plan {
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg); padding: 36px 30px;
	display: flex; flex-direction: column;
	transition: all var(--t); position: relative;
}
.plan:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: var(--brand-200); }
.bg-dark .plan { background: rgba(255,255,255,.04); border-color: var(--d-line); backdrop-filter: blur(10px); }
.bg-dark .plan:hover { background: rgba(255,255,255,.07); border-color: rgba(var(--brand-rgb), .36); box-shadow: var(--glow); }
.plan--featured { border-color: var(--brand); box-shadow: var(--glow); transform: scale(1.04); }
.plan--featured:hover { transform: scale(1.04) translateY(-5px); }
.plan__tag {
	position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
	background: var(--brand-grad); color: #fff;
	font-family: var(--font-head); font-size: .74rem; font-weight: 600;
	padding: 6px 18px; border-radius: var(--radius-pill); white-space: nowrap;
	box-shadow: 0 8px 18px rgba(var(--brand-rgb), .36);
}
.plan__name { font-size: 1.2rem; margin-bottom: 7px; }
.bg-dark .plan__name { color: #fff; }
.plan__desc { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.bg-dark .plan__desc { color: var(--d-text); }
.plan__price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 22px; }
.bg-dark .plan__price { border-color: var(--d-line-2); }
.plan__price b { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -1.5px; color: var(--brand); }
.plan__price span { color: var(--muted); font-size: .88rem; }
.plan__features { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan__feature { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.bg-dark .plan__feature { color: #CDD5E0; }
.plan__feature svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }
.plan__feature--off { color: var(--muted-2); }
.plan__feature--off svg { color: var(--line); }
.bg-dark .plan__feature--off { color: var(--d-text-2); }
.bg-dark .plan__feature--off svg { color: rgba(255,255,255,.16); }
.plans__note { text-align: center; color: var(--muted); font-size: .89rem; margin-top: 28px; }
.bg-dark .plans__note { color: var(--d-text-2); }

/* ---------- 16. بانر الدعوة ---------- */
.cta-banner {
	border-radius: var(--radius-xl);
	padding: 56px 50px;
	display: grid; grid-template-columns: 1.35fr .65fr;
	gap: 40px; align-items: center;
	position: relative; overflow: hidden;
}
.cta-banner--plain { grid-template-columns: 1fr; text-align: center; }
.cta-banner--plain .btn-row { justify-content: center; }
.cta-banner--plain .cta-banner__text { margin-inline: auto; max-width: 58ch; }
.cta-banner::before {
	content: ''; position: absolute; inset-block-start: -60%; inset-inline-start: -8%;
	width: 480px; height: 480px; border-radius: 50%;
	background: rgba(255,255,255,.1);
}
.cta-banner__body { position: relative; z-index: 2; }
.cta-banner__title { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.35rem); margin-bottom: 12px; letter-spacing: -.5px; }
.cta-banner__text { margin-bottom: 28px; opacity: .95; font-size: 1.02rem; }
.cta-banner .btn-row { position: relative; z-index: 2; }
.cta-banner__media { position: relative; z-index: 2; }
.cta-banner__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ---------- 17. الأسئلة ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 46px; }
.faq-wrap--aside { grid-template-columns: 1.45fr .8fr; align-items: start; }

.acc { display: grid; gap: 12px; }
.acc__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: all var(--t); }
.acc__item:hover { border-color: var(--brand-200); }
.acc__item.is-open { border-color: var(--brand); }
.bg-dark .acc__item { background: rgba(255,255,255,.04); border-color: var(--d-line); }
.bg-dark .acc__item:hover, .bg-dark .acc__item.is-open { border-color: rgba(var(--brand-rgb), .42); background: rgba(255,255,255,.06); }
.acc__btn {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; background: none; border: 0; text-align: start;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem;
	color: var(--ink); line-height: 1.6;
}
.bg-dark .acc__btn { color: #fff; }
.acc__btn:hover { color: var(--brand-700); }
.bg-dark .acc__btn:hover { color: var(--brand-400); }
.acc__icon {
	flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
	background: var(--brand-50); color: var(--brand-700);
	display: grid; place-items: center; transition: all var(--t);
}
.bg-dark .acc__icon { background: rgba(var(--brand-rgb), .14); color: var(--brand-400); }
.acc__item.is-open .acc__icon { transform: rotate(180deg); background: var(--brand-grad); color: #fff; }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.acc__panel-inner { padding: 0 24px 22px; color: var(--muted); font-size: .94rem; line-height: 1.88; }
.bg-dark .acc__panel-inner { color: var(--d-text); }

.faq-aside {
	background: var(--brand-grad); color: #fff;
	border-radius: var(--radius-xl); padding: 38px 30px;
	text-align: center; position: relative; overflow: hidden;
}
.faq-aside::before {
	content: ''; position: absolute; inset-block-start: -50%; inset-inline-start: -10%;
	width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.12);
}
.faq-aside > * { position: relative; z-index: 2; }
.faq-aside h3 { color: #fff; font-size: 1.25rem; }
.faq-aside p { font-size: .93rem; margin-bottom: 24px; color: rgba(255,255,255,.92); }
.faq-aside__avatars { display: flex; justify-content: center; margin-bottom: 20px; }
.faq-aside__avatars img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); margin-inline-start: -15px; }
.faq-aside__avatars img:first-child { margin: 0; }
.faq-aside .btn--primary { background: #fff; color: var(--brand-700); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.faq-aside .btn--primary:hover { background: var(--d-800); color: #fff; }

/* ---------- 18. الفريق ---------- */
.member { text-align: center; }
.member__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; background: var(--bg-soft); }
.member__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,14,20,.78), transparent 50%); opacity: 0; transition: opacity var(--t); }
.member:hover .member__photo::after { opacity: 1; }
.member__photo img { aspect-ratio: 1 / 1.06; object-fit: cover; width: 100%; transition: transform var(--t-slow); }
.member:hover .member__photo img { transform: scale(1.06); }
.member__socials {
	position: absolute; z-index: 2; inset-block-end: 16px; inset-inline: 0;
	display: flex; justify-content: center; gap: 8px;
	opacity: 0; transform: translateY(10px); transition: all var(--t);
}
.member:hover .member__socials { opacity: 1; transform: translateY(0); }
.member__socials a { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); }
.member__socials a:hover { background: var(--brand-grad); color: #fff; }
.member__name { font-size: 1.08rem; margin-bottom: 2px; }
.bg-dark .member__name { color: #fff; }
.member__role { color: var(--brand); font-size: .86rem; font-weight: 500; }
.member__bio { color: var(--muted); font-size: .87rem; margin-top: 8px; }
.bg-dark .member__bio { color: var(--d-text); }

/* ---------- 19. المدونة ---------- */
.post-card__meta { display: flex; flex-wrap: wrap; gap: 15px; color: var(--muted-2); font-size: .81rem; margin-bottom: 10px; }
.post-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-card__meta svg { color: var(--brand); }
.post-card__title { font-size: 1.12rem; margin-bottom: 10px; line-height: 1.55; }
.post-card__title a:hover { color: var(--brand-700); }
.post-card__cat {
	position: absolute; top: 14px; inset-inline-start: 14px;
	background: rgba(11,14,20,.82); color: #fff;
	padding: 5px 14px; border-radius: var(--radius-pill);
	font-family: var(--font-head); font-size: .75rem; font-weight: 500;
	z-index: 3; backdrop-filter: blur(8px);
}

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 46px; align-items: start; }
.no-sidebar .blog-layout { grid-template-columns: 1fr; }

/* ---- الشريط الجانبي ---- */
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; min-width: 0; }
/* عناصر الشبكة تأخذ min-width:auto افتراضيًا فلا تنكمش دون عرض محتواها،
   فتتجاوز عمود 320px. تصفيرها يبقيها داخل العمود. */
.sidebar > * { min-width: 0; }

.widget {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px 22px;
	margin: 0;
	min-width: 0;
	overflow-wrap: break-word;
}
.widget:last-child { margin-bottom: 0; }

/* عنوان الودجة — يغطي الودجات الكلاسيكية وعناوين الكتل معًا */
.widget__title,
.widget .wp-block-heading,
.widget > h2,
.widget > h3 {
	font-family: var(--font-head);
	font-size: 1.02rem !important;
	font-weight: 600;
	line-height: 1.5;
	color: var(--ink);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line-2);
	position: relative;
	letter-spacing: 0;
}
.widget__title::after,
.widget .wp-block-heading::after,
.widget > h2::after,
.widget > h3::after {
	content: '';
	position: absolute;
	inset-block-end: -1px;
	inset-inline-start: 0;
	width: 34px; height: 2px;
	background: var(--brand-grad);
}

.widget ul { display: grid; }
.widget ul li { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.widget ul li:last-child { border: 0; padding-bottom: 0; }
.widget ul li a { color: var(--ink-700); }
.widget ul li a:hover { color: var(--brand-700); }
.widget ul ul { padding-inline-start: 14px; margin-top: 8px; }

/* عدّاد التصنيفات */
.widget_categories li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }

/* حقول البحث داخل الودجات */
.widget .search-form,
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; max-width: none; }

/* نموذج بحث ووردبريس يلفّ الحقل داخل <label>؛ هذا الـ label هو عنصر الـ flex
   وله min-width:auto فلا ينكمش دون العرض الطبيعي للحقل، فيدفع زر البحث خارج
   الودجة. تصفير min-width عليه هو الإصلاح الصحيح. */
.widget .search-form label { flex: 1; min-width: 0; display: block; margin: 0; }

.widget input[type="search"],
.widget .wp-block-search__input {
	flex: 1; min-width: 0; width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius-sm) !important;
	background: var(--bg-soft);
	font: inherit; font-size: .92rem;
}
.widget input[type="search"]:focus,
.widget .wp-block-search__input:focus {
	outline: none;
	border-color: var(--brand) !important;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .13);
}
.widget input[type="submit"],
.widget .wp-block-search__button {
	background: var(--brand-grad);
	color: #fff;
	border: 0 !important;
	border-radius: var(--radius-sm) !important;
	padding: 12px 18px;
	font-family: var(--font-head);
	font-weight: 600; font-size: .88rem;
	margin: 0 !important;
	cursor: pointer;
}

/* كتل ووردبريس داخل الودجات */
.widget .wp-block-group { margin: 0; }
.widget .wp-block-latest-posts,
.widget .wp-block-latest-comments,
.widget .wp-block-categories { padding: 0; list-style: none; }
.widget .wp-block-latest-posts li,
.widget .wp-block-latest-comments li { padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.widget .wp-block-latest-posts li:last-child,
.widget .wp-block-latest-comments li:last-child { border: 0; }
.widget .wp-block-latest-posts__post-date { display: block; font-size: .79rem; color: var(--muted-2); margin-top: 3px; }

/* سحابة الوسوم */
.widget .tagcloud,
.widget .wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.widget .tag-cloud-link {
	font-size: .82rem !important;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	padding: 6px 14px;
	color: var(--muted);
	transition: all var(--t-fast);
}
.widget .tag-cloud-link:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }

/* بطاقة التواصل الجانبية */
.widget--cta { background: var(--brand-grad); border-color: transparent; overflow: hidden; position: relative; }
.widget--cta::before {
	content: ''; position: absolute;
	inset-block-start: -60%; inset-inline-start: -20%;
	width: 240px; height: 240px; border-radius: 50%;
	background: rgba(255,255,255,.14);
}
.widget-cta { position: relative; z-index: 2; text-align: center; }
.widget-cta__ico {
	width: 52px; height: 52px; margin: 0 auto 14px;
	border-radius: 16px;
	background: rgba(255,255,255,.2);
	border: 1px solid rgba(255,255,255,.26);
	display: grid; place-items: center; color: #fff;
}
.widget-cta h3 { color: #fff; font-size: 1.08rem; margin-bottom: 8px; }
.widget-cta p { color: rgba(255,255,255,.92); font-size: .88rem; margin-bottom: 18px; }

/* ---- التعليقات ---- */
.comments { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.comments__title { font-size: 1.35rem; margin-bottom: 24px; }
.comments__closed { color: var(--muted); font-size: .92rem; }

.comment-list { display: grid; gap: 18px; margin-bottom: 40px; }
.comment-list .children { display: grid; gap: 18px; margin-top: 18px; padding-inline-start: 32px; }
.comment-list li { list-style: none; }
.comment-body {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px 24px;
	position: relative;
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author img { border-radius: 50%; width: 46px; height: 46px; }
.comment-author .fn { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; color: var(--muted-2); margin-bottom: 10px; }
.comment-content { font-size: .95rem; color: var(--ink-700); }
.comment-content p:last-child { margin: 0; }
.reply { margin-top: 12px; }
.comment-reply-link {
	font-family: var(--font-head);
	font-size: .84rem; font-weight: 600;
	color: var(--brand-700);
}
.comment-form { display: grid; gap: 16px; }
.comment-form .field { display: grid; gap: 7px; }
.comment-form label { font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink-800); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit; font-size: .94rem;
	background: var(--bg-soft);
	color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--brand); background: #fff;
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .13);
}
.comment-form .form-submit { margin: 0; }
.comment-form .submit { cursor: pointer; }

/* عنصر بديل عند غياب الصورة */
.thumb-placeholder {
	width: 100%;
	display: grid;
	place-items: center;
	background: linear-gradient(140deg, var(--bg-soft), var(--brand-50));
	color: var(--brand-200);
}

.entry__hero { margin-bottom: 34px; }
.entry__hero img { width: 100%; border-radius: var(--radius-xl); aspect-ratio: 16/8; object-fit: cover; box-shadow: var(--shadow); }
.entry__meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.entry__meta span { display: inline-flex; align-items: center; gap: 6px; }
.entry__meta svg { color: var(--brand); }

.entry__content { font-size: 1.04rem; line-height: 1.98; color: var(--ink-700); }
.entry__content h2 { margin-top: 1.8em; }
.entry__content h3 { margin-top: 1.5em; }
.entry__content img { border-radius: var(--radius-lg); margin: 1.7em 0; }
.entry__content blockquote {
	margin: 1.9em 0; padding: 24px 28px;
	background: var(--brand-50);
	border-inline-start: 3px solid var(--brand);
	border-radius: var(--radius); font-size: 1.03rem; color: var(--ink-800);
}
.entry__content blockquote p:last-child { margin: 0; }
.entry__content ul, .entry__content ol { margin: 1.2em 0; padding-inline-start: 1.3em; }
.entry__content ul li { list-style: none; position: relative; padding-inline-start: 28px; margin-bottom: 11px; }
.entry__content ul li::before { content: ''; position: absolute; inset-inline-start: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.entry__content ol { list-style: decimal; }
.entry__content ol li { margin-bottom: 11px; }
.entry__content ol li::marker { color: var(--brand); font-weight: 700; }
.entry__content a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brand-200); }
.entry__content a:hover { text-decoration-color: var(--brand); }
.entry__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry__content th, .entry__content td { border: 1px solid var(--line); padding: 13px 15px; text-align: start; }
.entry__content th { background: var(--bg-soft); font-weight: 600; }

.entry__foot { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { background: var(--bg-soft); padding: 6px 15px; border-radius: var(--radius-pill); font-size: .83rem; color: var(--muted); border: 1px solid var(--line); }
.tags a:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }
.share { display: flex; gap: 8px; align-items: center; }
.share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.share a:hover { background: var(--brand-grad); color: #fff; border-color: transparent; transform: translateY(-3px); }

/* ---------- 20. الترويسة الداخلية ---------- */
.page-hero {
	background: var(--d-800); color: #fff;
	padding: 80px 0 86px;
	position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
	content: ''; position: absolute; inset: 0; z-index: 2;
	background:
		linear-gradient(180deg, rgba(11,14,20,.9) 0%, rgba(11,14,20,.82) 100%),
		radial-gradient(52% 90% at 84% 6%, rgba(var(--brand-rgb), .32) 0%, transparent 58%);
}
.page-hero__bg { position: absolute; inset: 0; z-index: 1; object-fit: cover; width: 100%; height: 100%; }
.page-hero__inner { position: relative; z-index: 3; }
.page-hero h1 { color: #fff; margin-bottom: 12px; letter-spacing: -.6px; }
.page-hero p { color: var(--d-text); max-width: 640px; margin-inline: auto; font-size: 1.02rem; }

.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-inline-start: 8px; color: var(--line); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- 21. النموذج ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: start; }

.mada-form {
	display: grid; gap: 18px;
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-xl); padding: 36px 32px;
	box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.bg-dark .mada-form { background: rgba(255,255,255,.04); border-color: var(--d-line); backdrop-filter: blur(12px); box-shadow: none; }
.mada-form::before { content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: var(--brand-grad); }
.mada-form__title { font-size: 1.28rem; margin-bottom: 2px; }
.bg-dark .mada-form__title { color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink-800); }
.bg-dark .field label { color: #DCE2EA; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 16px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	font: inherit; font-size: .94rem;
	background: var(--bg-soft); color: var(--ink);
	transition: all var(--t-fast);
}
.bg-dark .field input, .bg-dark .field select, .bg-dark .field textarea {
	background: rgba(255,255,255,.05); border-color: var(--d-line); color: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--brand); background: #fff;
	box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .13);
}
.bg-dark .field input:focus, .bg-dark .field select:focus, .bg-dark .field textarea:focus { background: rgba(255,255,255,.09); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #E5484D; background: #FFF5F5; }
.field__error { color: #E5484D; font-size: .81rem; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; opacity: 0; height: 0; }

.form-note { font-size: .82rem; color: var(--muted); }
.form-note a { color: var(--brand-700); }
.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .93rem; font-weight: 500; display: none; }
.form-msg.is-visible { display: block; animation: mada-fade .3s ease; }
.form-msg--ok { background: #E9F9EF; color: #14804A; }
.form-msg--err { background: #FFF0F0; color: #C02B2B; }
.is-loading { opacity: .6; pointer-events: none; }

.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 32px 28px; }
.bg-dark .info-card { background: rgba(255,255,255,.04); border-color: var(--d-line); }
.info-list { display: grid; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item__ico {
	flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
	background: var(--brand-50); color: var(--brand-700);
	border: 1px solid var(--brand-100);
	display: grid; place-items: center;
}
.bg-dark .info-item__ico { background: rgba(var(--brand-rgb), .12); color: var(--brand-400); border-color: rgba(var(--brand-rgb), .26); }
.info-item h4 { font-size: .95rem; margin-bottom: 3px; }
.bg-dark .info-item h4 { color: #fff; }
.info-item p, .info-item a { color: var(--muted); font-size: .92rem; margin: 0; }
.bg-dark .info-item p, .bg-dark .info-item a { color: var(--d-text); }
.info-item a:hover { color: var(--brand); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 26px; }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- 22. الفوتر ---------- */
.site-footer { background: var(--d-900); color: var(--d-text); padding-top: 80px; position: relative; overflow: hidden; }
.site-footer::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(46% 44% at 88% 0%, rgba(var(--brand-rgb), .14) 0%, transparent 62%);
	pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 2; }

.footer-cta {
	background: var(--brand-grad);
	border-radius: var(--radius-xl); padding: 42px 46px;
	display: flex; flex-wrap: wrap; gap: 24px;
	align-items: center; justify-content: space-between;
	margin-bottom: 64px; box-shadow: var(--shadow-brand);
	position: relative; overflow: hidden;
}
.footer-cta::before { content: ''; position: absolute; inset-block-start: -70%; inset-inline-start: -5%; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.11); }
.footer-cta h3 { color: #fff; margin: 0; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); position: relative; z-index: 2; }
.footer-cta .btn { position: relative; z-index: 2; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.35fr; gap: 44px; padding-bottom: 54px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; inset-block-end: 0; inset-inline-start: 0; width: 32px; height: 2px; background: var(--brand); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a { font-size: .92rem; display: inline-block; transition: all var(--t-fast); }
.footer-col ul a:hover { color: var(--brand-400); transform: translateX(-5px); }
.footer-about { font-size: .92rem; margin: 18px 0 22px; line-height: 1.88; }
.footer-logo img { max-height: 50px; width: auto; filter: brightness(0) invert(1); }
.footer-brand-text { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: #fff; }
.footer-brand-text span { color: var(--brand); }

.socials { display: flex; gap: 9px; flex-wrap: wrap; }
.socials a {
	width: 40px; height: 40px; border-radius: 12px;
	background: rgba(255,255,255,.05); border: 1px solid var(--d-line);
	display: grid; place-items: center; transition: all var(--t-fast);
}
.socials a:hover { background: var(--brand-grad); color: #fff; transform: translateY(-3px); border-color: transparent; }

.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { color: var(--brand-400); flex-shrink: 0; margin-top: 4px; }

.newsletter { display: flex; gap: 8px; margin-top: 18px; }
.newsletter input {
	flex: 1; min-width: 0; padding: 12px 16px;
	border: 1px solid var(--d-line); border-radius: var(--radius-pill);
	background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: .89rem;
}
.newsletter input::placeholder { color: var(--d-text-2); }
.newsletter input:focus { outline: none; border-color: var(--brand); }
.newsletter button {
	width: 46px; height: 46px; flex-shrink: 0; border: 0; border-radius: 50%;
	background: var(--brand-grad); color: #fff;
	display: grid; place-items: center; transition: all var(--t-fast);
}
.newsletter button:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(var(--brand-rgb), .42); }
.newsletter-msg { font-size: .83rem; margin-top: 9px; min-height: 20px; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.footer-badge { background: rgba(255,255,255,.04); border: 1px solid var(--d-line); border-radius: var(--radius-sm); padding: 9px 15px; font-size: .79rem; }
.footer-badge b { color: #fff; display: block; font-size: .84rem; margin-bottom: 2px; }

.footer-bottom {
	border-top: 1px solid var(--d-line-2); padding: 24px 0;
	display: flex; flex-wrap: wrap; gap: 15px;
	align-items: center; justify-content: space-between; font-size: .86rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- 23. عناصر عائمة ---------- */
.float-wa {
	position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 80;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25D366; color: #fff;
	display: grid; place-items: center;
	box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
	transition: transform var(--t);
}
.float-wa:hover { transform: scale(1.1); color: #fff; }
.float-wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: mada-ping 2.2s ease-out infinite; }
@keyframes mada-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

.to-top {
	position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 80;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--d-800); color: #fff; border: 1px solid var(--d-line);
	display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(14px);
	transition: all var(--t); box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-grad); border-color: transparent; transform: translateY(-3px); }

/* ---------- 24. الترقيم و 404 ---------- */
.pagination { margin-top: 52px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: #fff; font-weight: 500; font-size: .91rem; transition: all var(--t-fast);
}
.pagination .page-numbers:hover { border-color: var(--brand-200); color: var(--brand-700); }
.pagination .current { background: var(--brand-grad); border-color: transparent; color: #fff; }

.error-page { text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.error-page::before {
	content: ''; position: absolute; inset-block-start: 0; inset-inline-start: 50%;
	transform: translateX(50%); width: 660px; height: 460px;
	background: radial-gradient(circle, rgba(var(--brand-rgb), .12) 0%, transparent 65%);
}
.error-page .container { position: relative; z-index: 2; }
.error-page__code { font-family: var(--font-head); font-size: clamp(5.5rem, 3rem + 13vw, 12rem); font-weight: 700; line-height: 1; color: var(--brand); opacity: .22; letter-spacing: -5px; }
.error-page h1 { margin-top: -.26em; }
.error-page p { color: var(--muted); max-width: 520px; margin-inline: auto; margin-bottom: 32px; font-size: 1.02rem; }

.search-form { display: flex; gap: 10px; max-width: 520px; margin-inline: auto; }
.search-form input[type="search"] {
	flex: 1; padding: 14px 20px; border: 1px solid var(--line);
	border-radius: var(--radius-pill); font: inherit; background: var(--bg-soft);
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--brand); background: #fff; }

.empty-state { text-align: center; padding: 76px 20px; color: var(--muted); }
.empty-state svg { color: var(--brand-200); margin: 0 auto 16px; }

/* ---------- 25. صفحات المحتوى المفرد ---------- */
.single-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.meta-strip {
	display: flex; flex-wrap: wrap; gap: 28px;
	margin: 28px 0; padding: 22px 26px;
	background: var(--bg-soft); border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.meta-strip__item span { display: block; font-size: .79rem; color: var(--muted); margin-bottom: 2px; }
.meta-strip__item b { font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); }

.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.check-list svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }

.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 16px; margin: 32px 0; }
.result-box {
	background: var(--brand-50); border: 1px solid var(--brand-100);
	border-radius: var(--radius-lg); padding: 24px 18px; text-align: center;
	transition: all var(--t);
}
.result-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.result-box b { display: block; font-family: var(--font-head); font-size: 1.85rem; font-weight: 700; line-height: 1.2; color: var(--brand); }
.result-box span { font-size: .85rem; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.gallery-grid img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: all var(--t); }
.gallery-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- 26. الأنيميشن ---------- */
.js [data-anim] { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s cubic-bezier(.22, 1, .36, 1); }
.js [data-anim].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-anim] { opacity: 1; transform: none; }
}
@media print {
	.js [data-anim] { opacity: 1 !important; transform: none !important; }
	.site-header, .topbar, .site-footer, .float-wa, .to-top, .mobile-panel { display: none !important; }
}

/* ---------- 27. الاستجابة ---------- */
@media (max-width: 1200px) {
	:root { --sec-pad: 80px; --gap: 20px; }
	.hero__grid { gap: 40px; }
	.split { gap: 46px; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
	.footer-grid .footer-col:nth-child(3) { display: none; }
	.slider__slide { flex-basis: calc((100% - var(--gap)) / 2); }
}

@media (max-width: 991px) {
	.nav, .header__actions .btn { display: none; }
	.burger { display: grid; }
	.header__inner { min-height: 70px; }
	.hero__grid, .split, .contact-grid, .faq-wrap--aside, .blog-layout, .single-hero { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
	.split { gap: 40px; }
	.grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); }
	.works-grid.grid--3 > .work:first-child { grid-column: span 2; }
	.cta-banner { grid-template-columns: 1fr; text-align: center; padding: 44px 30px; }
	.cta-banner .btn-row { justify-content: center; }
	.cta-banner__media { display: none; }
	.plan--featured { transform: none; }
	.plan--featured:hover { transform: translateY(-5px); }
	.hero__media::before, .split__media::before { display: none; }
	.split__float { inset-inline-start: 14px; inset-block-end: 14px; }
	.topbar__msg { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__link--address { display: none; }
	.process::before { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid .footer-col:nth-child(3) { display: block; }
	.hero__stats { margin-top: 48px; }
	.has-bg-image.bg-fixed::after { background-attachment: scroll; }
}

@media (max-width: 700px) {
	:root { --sec-pad: 58px; --gap: 16px; }
	body { font-size: 15.5px; }
	.container, .container--narrow, .container--wide { width: min(100% - 30px, var(--container)); }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.works-grid.grid--3 > .work:first-child { grid-column: span 1; }
	.slider__slide { flex-basis: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.form-row { grid-template-columns: 1fr; }
	.hero__stats { margin-top: 40px; padding: 18px 10px; }
	.hero__stat { padding: 9px 6px; }
	.hero__stat + .hero__stat::before { display: none; }
	.hero__stat b { font-size: 1.6rem; }
	.footer-cta { padding: 30px 24px; text-align: center; justify-content: center; }
	.mada-form { padding: 28px 20px; }

	/* ---- الهيدر على الجوال ---- */
	.topbar { padding: 7px 0; font-size: .78rem; }
	.topbar__side { gap: 14px; }
	.topbar__socials { gap: 9px; }

	.header__inner { min-height: 62px; gap: 10px; }
	.brand img { max-height: 36px; }
	.brand__text { font-size: 1.08rem; }
	.header__actions { gap: 6px; }
	.icon-btn { width: 40px; height: 40px; }
	.icon-btn svg { width: 18px; height: 18px; }
	.cart-count { min-width: 18px; height: 18px; font-size: .64rem; }
	.card { padding: 24px 20px; }
	.card--media .card__body { padding: 20px 20px 22px; }
	.btn { padding: 13px 24px; }
	.footer-bottom { justify-content: center; text-align: center; }
	.sec-head { margin-bottom: 34px; }
	.cta-banner { padding: 36px 22px; }
	.float-wa { width: 50px; height: 50px; inset-block-end: 16px; inset-inline-start: 16px; }
	.to-top { inset-block-end: 16px; inset-inline-end: 16px; width: 42px; height: 42px; }
	.meta-strip { gap: 18px; padding: 16px 18px; }
	.entry__hero img { aspect-ratio: 16/10; }
	.quote { padding: 26px 22px 22px; }
	.plan { padding: 30px 24px; }
	.info-card { padding: 26px 22px; }
	.acc__btn { padding: 16px 18px; font-size: .94rem; }
	.acc__panel-inner { padding: 0 18px 18px; }
	.page-hero { padding: 56px 0 62px; }
}
