/*
Theme Name: أدس - استيراد الأجهزة الكهربائية والإلكترونية
Theme URI: https://ads.example.com
Author: ADS
Author URI: https://ads.example.com
Description: قالب عربي احترافي متكامل لشركة «أدس» لاستيراد الأجهزة الكهربائية والإلكترونية وملحقاتها. هوية ألوان مؤسسية (كحلي غامق + أزرق + لمسة ذهبية) مع وضعين داكن/فاتح قابلين للتعديل من المخصّص، ويدعم RTL بالكامل.
Version: 2.8.7
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ads
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   أدس — نظام التصميم الاحترافي (فاتح/أنيق/مؤسسي — 2.5.3)
   خطوط: عناوين Cairo / نصوص Almarai
   الهوية: كحلي غامق + أزرق مؤسسي + لمسة ذهبية
   كل الألوان تدار من المخصّص «الهوية والألوان» (فاتح افتراضي / داكن اختياري)
   ملاحظة: القيم في :root مجرد بديل؛ المولّد PHP يحقن القيم الفعلية inline.
   ========================================================================== */

:root {
	--clr-navy: #0C2340;
	--clr-navy-rgb: 12, 35, 64;
	--clr-navy-2: #243B5C;
	--clr-navy-text: #B6C1D8;

	--clr-ink: #0A1B33;
	--clr-ink-2: #16294A;
	--clr-text: #45536D;
	--clr-muted: #6B7892;

	--clr-accent: #2563EB;
	--clr-accent-rgb: 37, 99, 235;
	--clr-accent-dark: #1D4ED8;
	--clr-accent-soft: #7CA2F5;
	--clr-accent-2: #1E47C8;
	--clr-accent-2-rgb: 30, 71, 200;

	--clr-gold: #C6A24B;
	--clr-gold-2: #A9833A;
	--clr-gold-rgb: 198, 162, 75;

	--clr-grad: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-2) 100%);
	--clr-grad-soft: linear-gradient(135deg, var(--clr-bg-tint) 0%, var(--clr-bg-soft) 100%);

	--clr-bg: #ffffff;
	--clr-bg-soft: #f5f6fa;
	--clr-bg-tint: #eef1f7;
	--clr-border: #e4e8f0;
	--clr-white: #ffffff;
	--clr-header-bg: rgba(255, 255, 255, 0.92);
	--clr-shadow-rgb: 12, 26, 51;

	--clr-whatsapp: #25d366;
	--clr-whatsapp-rgb: 37, 211, 102;

	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 16px;
	--radius-full: 999px;

	--shadow-sm: 0 1px 2px rgba(var(--clr-shadow-rgb), 0.04), 0 6px 16px rgba(var(--clr-shadow-rgb), 0.06);
	--shadow: 0 2px 6px rgba(var(--clr-shadow-rgb), 0.04), 0 18px 36px rgba(var(--clr-shadow-rgb), 0.1);
	--shadow-lg: 0 8px 20px rgba(var(--clr-shadow-rgb), 0.08), 0 32px 64px rgba(var(--clr-shadow-rgb), 0.16);
	--shadow-accent: 0 10px 26px rgba(var(--clr-accent-rgb), 0.3);

	--font: 'Almarai', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
	--font-head: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
	--container: 1200px;
	--header-h: 78px;
	--section-space: clamp(76px, 8.5vw, 120px);
}

body.ads-theme-dark {
	--clr-navy-2: #3D4C6E;
	--clr-ink: #f4f7ff;
	--clr-ink-2: #cdd6f2;
	--clr-text: #b3bfe0;
	--clr-muted: #8d99c4;
	--clr-bg: #0b1226;
	--clr-bg-soft: #151f3a;
	--clr-bg-tint: #1e2a4d;
	--clr-border: rgba(150, 168, 255, 0.16);
	--clr-white: #182344;
	--clr-header-bg: rgba(14, 23, 47, 0.86);
	--clr-shadow-rgb: 0, 0, 0;
}

/* ==================== إعادة الضبط والأساس ==================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.78;
	color: var(--clr-text);
	background: var(--clr-bg);
	overflow-x: hidden;
	text-align: right;
	direction: rtl;
	overflow-wrap: break-word;
	word-break: normal;
	line-break: strict;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

html {
	scroll-padding-top: 96px;
}

[id] {
	scroll-margin-top: 96px;
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}

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

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

a {
	color: var(--clr-accent);
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

ul,
ol {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--clr-ink);
	line-height: 1.35;
	margin-bottom: 0.5em;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

button {
	font-family: inherit;
}

/* ==================== المرافق العامة ==================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 32px);
}

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

.section {
	padding-block: var(--section-space);
	background: var(--clr-bg);
}

.section-why,
.section-steps,
.section-faq,
.section-related {
	background: var(--clr-bg-soft);
}

/* حزام «لماذا نحن» الداكن */
.section-why {
	background: linear-gradient(180deg, var(--clr-navy) 0%, #12233f 100%);
}

.section-why .section-title {
	color: #ffffff;
}

.section-why .section-sub {
	color: rgba(255, 255, 255, 0.72);
}

/* لمحات زخرفية علوية للأقسام الفاتحة */
.section-services,
.section-products,
.section-testimonials,
.section-cta {
	position: relative;
}

.section-services::before,
.section-products::before,
.section-testimonials::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 420px;
	background: radial-gradient(640px 260px at 50% 0%, rgba(var(--clr-accent-rgb), 0.05), transparent 72%);
	pointer-events: none;
}

.section-products::before {
	background: radial-gradient(640px 260px at 50% 0%, rgba(var(--clr-navy-rgb), 0.06), transparent 72%);
}

/* ==================== شريط الدعوة (CTA) ==================== */
.cta-inner {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: clamp(46px, 6vw, 76px) clamp(24px, 5vw, 72px);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--clr-navy) 0%, #16274a 55%, #1d2f57 100%);
	color: #ffffff;
	box-shadow: var(--shadow-lg);
}

/* خلفية صورة اختيارية (ads_cta_image) */
.cta-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--cta-bg-image);
	background-size: cover;
	background-position: center;
	opacity: 0.24;
	pointer-events: none;
}

.cta-inner > *:not(.cta-glow):not(.cta-bg) {
	position: relative;
	z-index: 1;
}

.cta-inner::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: 0.35;
	mask-image: radial-gradient(620px 260px at 50% 0%, transparent, #000 80%);
	pointer-events: none;
}

.cta-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
}

.cta-glow--gold {
	width: 220px;
	height: 220px;
	background: rgba(var(--clr-gold-rgb), 0.32);
	top: -60px;
	inset-inline-start: -40px;
}

.cta-glow--blue {
	width: 260px;
	height: 260px;
	background: rgba(var(--clr-accent-rgb), 0.38);
	bottom: -80px;
	inset-inline-end: -50px;
}

.cta-title {
	position: relative;
	z-index: 1;
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.cta-sub {
	position: relative;
	z-index: 1;
	max-width: 560px;
	margin: 14px auto 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 16.5px;
	line-height: 1.8;
}

.cta-actions {
	position: relative;
	z-index: 1;
	margin-top: 30px;
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.section-more {
	margin-top: 44px;
	text-align: center;
}

.section-head {
	margin-bottom: clamp(34px, 4.5vw, 50px);
	text-align: center;
}

.section-head > * {
	max-width: 720px;
	margin-inline: auto;
}

.section-head-right {
	text-align: right;
}

.section-head-right > * {
	margin-inline: 0;
}

.section-title {
	font-size: clamp(28px, 3.9vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	position: relative;
}

.section-title::after {
	content: "";
	display: block;
	width: 52px;
	height: 3px;
	margin: 13px auto 0;
	border-radius: var(--radius-full);
	background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-2));
}

.section-head-right .section-title::after {
	margin-inline: 0 auto;
}

.section-sub {
	color: var(--clr-muted);
	font-size: 16.5px;
	line-height: 1.85;
	margin-top: 14px;
	max-width: 560px;
}

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

.screen-reader-text:focus {
	position: fixed !important;
	inset-inline-start: 16px;
	top: 12px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 18px;
	clip: auto;
	background: var(--clr-navy);
	color: #fff;
	border-radius: 8px;
	z-index: 300;
}

/* ==================== الأزرار ==================== */
.btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	padding: 14px 24px;
	border-radius: 12px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
	flex: none;
	transition: transform 0.2s ease;
}

.btn * {
	color: inherit;
}

.btn-primary {
	background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-2) 100%);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(var(--clr-shadow-rgb), 0.16);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(var(--clr-accent-rgb), 0.3);
}

.btn-accent {
	background: var(--clr-grad);
	color: #ffffff;
	box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(var(--clr-accent-rgb), 0.4);
}

.btn-outline {
	background: var(--clr-white);
	color: var(--clr-ink);
	border: 1px solid var(--clr-border);
}

.btn-outline:hover {
	border-color: var(--clr-accent);
	color: var(--clr-accent);
	transform: translateY(-2px);
}

.btn-ghost {
	background: rgba(var(--clr-accent-rgb), 0.08);
	color: var(--clr-ink);
	border: 1px solid rgba(var(--clr-accent-rgb), 0.14);
}

.btn-ghost:hover {
	background: rgba(var(--clr-accent-rgb), 0.16);
	color: var(--clr-accent);
	transform: translateY(-2px);
}

.btn-light-b {
	background: #ffffff;
	color: var(--clr-navy);
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 8px 20px rgba(2, 10, 26, 0.28);
}

.btn-light-b:hover {
	background: var(--clr-gold);
	color: var(--clr-navy);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(2, 10, 26, 0.36);
}

.btn-primary,
.btn-accent {
	position: relative;
	overflow: hidden;
}

.btn-primary > *,
.btn-accent > * {
	position: relative;
	z-index: 1;
}

.btn-primary::after,
.btn-accent::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 62%);
	transform: translateX(130%);
	transition: transform 0.6s ease;
	pointer-events: none;
}

.btn-primary:hover::after,
.btn-accent:hover::after {
	transform: translateX(-130%);
}

.btn-lg {
	padding: 16px 30px;
	font-size: 16px;
}

.btn:hover svg.ads-icon-arrow {
	transform: translateX(-3px);
}

.btn-spinner {
	display: none;
	align-items: center;
	gap: 8px;
}

.btn-spinner svg {
	animation: ads-spin 0.9s linear infinite;
}

.btn-price {
	appearance: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	border: 1px solid rgba(var(--clr-accent-rgb), 0.32);
	color: var(--clr-ink);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	padding: 12px 20px;
	border-radius: 12px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.btn-price svg {
	color: var(--clr-accent);
	transition: color 0.2s ease, transform 0.2s ease;
}

.btn-price:hover {
	background: var(--clr-accent);
	border-color: var(--clr-accent);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--shadow-accent);
}

.btn-price:hover svg {
	color: #ffffff;
	transform: translateX(-3px);
}

@keyframes ads-spin {
	to { transform: rotate(360deg); }
}

/* ==================== الشريط العلوي ==================== */
.topbar {
	background: var(--clr-navy);
	color: rgba(255, 255, 255, 0.85);
	font-size: 12.5px;
}

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

.topbar-contact,
.topbar-side {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar a,
.topbar-address,
.topbar-hours {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
	color: #ffffff;
}

.topbar svg {
	color: var(--clr-accent-soft);
	flex: none;
}

.topbar-side {
	gap: 18px;
}

.topbar .ads-social {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	width: 28px;
	height: 28px;
	border-radius: 8px;
}

.topbar .ads-social:hover {
	background: #ffffff;
	color: var(--clr-navy);
}

/* ==================== الترويسة ==================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--clr-header-bg);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
	border-bottom-color: var(--clr-border);
	box-shadow: 0 8px 26px rgba(var(--clr-shadow-rgb), 0.06);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

/* الشعار */
.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand-logo-img {
	line-height: 0;
}

.brand-logo-img img {
	height: 44px;
	width: auto;
}

.brand-mark {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--clr-navy), var(--clr-accent));
	color: #ffffff;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(var(--clr-accent-rgb), 0.3);
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.brand-text strong {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 18px;
	color: var(--clr-ink);
}

.brand-text em {
	font-style: normal;
	font-size: 11.5px;
	color: var(--clr-muted);
}

/* القائمة الرئيسية */
.main-navigation {
	margin-inline-start: auto;
}

#primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

#primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	position: relative;
	padding: 10px 14px;
	border-radius: 9px;
	color: var(--clr-ink);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
}

#primary-menu > li > a:hover {
	color: var(--clr-accent);
	background: rgba(var(--clr-accent-rgb), 0.06);
}

#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a {
	color: var(--clr-accent);
}

#primary-menu > li.current-menu-item > a::after,
#primary-menu > li.current_page_item > a::after {
	content: "";
	position: absolute;
	bottom: 4px;
	inset-inline: 14px;
	height: 3px;
	border-radius: var(--radius-full);
	background: var(--clr-gold);
}

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

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--clr-border);
	border-radius: 10px;
	background: var(--clr-white);
	cursor: pointer;
}

.nav-toggle-line {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 2px;
	background: var(--clr-ink);
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== قائمة الجوال ==================== */
body.menu-open,
body.modal-open {
	overflow: hidden;
}

.mobile-menu {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 120;
	width: min(360px, 88vw);
	background: var(--clr-white);
	display: none;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	box-shadow: -24px 0 60px rgba(var(--clr-shadow-rgb), 0.24);
}

.mobile-menu.is-open {
	transform: translateX(0);
}

.mobile-menu-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--clr-border);
}

.mobile-menu-close {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid var(--clr-border);
	background: var(--clr-bg-soft);
	color: var(--clr-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s ease;
}

.mobile-menu-close:hover {
	background: var(--clr-accent);
	border-color: var(--clr-accent);
	color: #ffffff;
}

.mobile-menu-body {
	flex: 1;
	overflow: auto;
	padding: 14px 18px;
}

#mobile-menu-list li {
	border-bottom: 1px dashed var(--clr-border);
}

#mobile-menu-list li:last-child {
	border-bottom: 0;
}

#mobile-menu-list a {
	display: block;
	padding: 13px 4px;
	color: var(--clr-ink);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
}

#mobile-menu-list a:hover,
#mobile-menu-list li.current-menu-item > a,
#mobile-menu-list li.current_page_item > a {
	color: var(--clr-accent);
}

.mobile-menu-footer {
	padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--clr-border);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mobile-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--clr-navy);
	color: #ffffff;
	padding: 12px;
	border-radius: 12px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14.5px;
}

.mobile-cta:hover {
	color: #ffffff;
	opacity: 0.94;
}

.mobile-social {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 110;
	background: rgba(var(--clr-shadow-rgb), 0.5);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.menu-open .menu-overlay {
	opacity: 1;
	visibility: visible;
}

/* ==================== الواجهة (Hero) ==================== */
.hero {
	position: relative;
	padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 6.5vw, 88px);
	background: var(--clr-bg);
	border-bottom: 1px solid var(--clr-border);
	overflow: hidden;
}

body.ads-theme-light .hero {
	background: linear-gradient(180deg, var(--clr-bg-soft) 0%, var(--clr-bg) 52%);
}

body.ads-theme-dark .hero {
	background: linear-gradient(180deg, var(--clr-bg-soft) 0%, var(--clr-bg) 60%);
}

.hero-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.blob-1,
.blob-2 {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
}

.blob-1 {
	width: 480px;
	height: 480px;
	top: -180px;
	inset-inline-end: -140px;
	background: rgba(var(--clr-accent-rgb), 0.07);
}

.blob-2 {
	width: 420px;
	height: 420px;
	bottom: -200px;
	inset-inline-start: -140px;
	background: rgba(var(--clr-navy-rgb), 0.05);
}

.hero-grid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(var(--clr-navy-rgb), 0.07) 1.1px, transparent 1.1px);
	background-size: 30px 30px;
	-webkit-mask-image: radial-gradient(620px 420px at 88% 0%, #000, transparent 72%);
	mask-image: radial-gradient(620px 420px at 88% 0%, #000, transparent 72%);
}

.hero-lines {
	display: none;
}

.hero-inner {
	position: relative;
}

.hero-content {
	max-width: 780px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-full);
	padding: 8px 17px 8px 20px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13px;
	color: var(--clr-ink);
	box-shadow: var(--shadow-sm);
}

.hero-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--clr-gold);
	box-shadow: 0 0 0 4px rgba(var(--clr-gold-rgb), 0.18);
	flex: none;
}

.hero-badge svg {
	color: var(--clr-gold);
	animation: hero-pulse 2.4s ease-in-out infinite;
}

@keyframes hero-pulse {
	50% { transform: scale(1.15); }
}

.hero-title {
	font-size: clamp(34px, 4.8vw, 56px);
	font-weight: 800;
	line-height: 1.2;
	margin: 22px 0 18px;
	letter-spacing: -0.02em;
}

.hero-text {
	font-size: 17.5px;
	line-height: 1.9;
	color: var(--clr-text);
	max-width: 640px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero-stats {
	margin-top: clamp(36px, 5vw, 52px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px 24px;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 28px 26px;
	box-shadow: var(--shadow);
}

.hero-stat {
	text-align: center;
}

.hero-stat + .hero-stat {
	border-inline-start: 1px solid var(--clr-border);
}

.hero-stat-num {
	display: block;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 28px;
	line-height: 1.2;
	color: var(--clr-ink);
}

.hero-stat-label {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--clr-muted);
}

.hero--has-image .hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.hero--has-image .hero-content {
	max-width: none;
}

.hero-media {
	position: relative;
}

.hero-media::before {
	content: "";
	position: absolute;
	inset: 16px -16px -16px 16px;
	border: 1px solid rgba(var(--clr-accent-rgb), 0.22);
	border-radius: 28px;
	z-index: 0;
}

.hero-media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
	border: 1px solid var(--clr-border);
	box-shadow: var(--shadow-lg);
	background: var(--clr-bg-soft);
}

/* ==================== الشارات العائمة في الـ Hero ==================== */
.hero-chip {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px 9px 12px;
	border-radius: 14px;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	box-shadow: var(--shadow-lg);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13px;
	max-width: 78%;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--clr-ink);
	white-space: nowrap;
}

.hero-chip--1 {
	inset-inline-start: -20px;
	bottom: 30px;
}

.hero-chip--2 {
	inset-inline-end: -14px;
	top: 18px;
	animation: hero-chip-float 4.5s ease-in-out infinite;
}

.hero-chip-icon {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	flex: none;
	border-radius: 10px;
	background: var(--clr-grad);
	color: #ffffff;
}

.hero-chip--2 .hero-chip-icon {
	background: var(--clr-gold);
	color: var(--clr-navy);
}

@keyframes hero-chip-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* ==================== الشبكات الاجتماعية ==================== */
.ads-social {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	color: var(--clr-accent);
	transition: 0.2s ease;
}

.ads-social:hover {
	background: var(--clr-accent);
	color: #ffffff;
	transform: translateY(-2px);
}

/* ==================== شريط العلامات التجارية ==================== */
.brands-strip {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	background: var(--clr-bg-soft);
	border-bottom: 1px solid var(--clr-border);
	padding: 18px 0;
	overflow: hidden;
}

.brands-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	color: var(--clr-muted);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13.5px;
	white-space: nowrap;
	padding-inline-start: clamp(20px, 4vw, 32px);
}

.brands-label svg {
	color: var(--clr-accent);
}

.brands-marquee {
	flex: 1;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brands-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: var(--brand-anim, brands-scroll) var(--brand-dur, 32s) linear infinite;
}

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

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

.brand-item {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding-inline: 20px;
	opacity: 0.55;
	transition: opacity 0.25s ease;
}

.brand-item:hover {
	opacity: 1;
}

.brand-img {
	height: var(--brand-h, 26px);
	width: auto;
	filter: grayscale(1);
	transition: filter 0.25s ease;
	object-fit: contain;
}

.brand-item:hover .brand-img {
	filter: grayscale(0);
}

/* نسخة صريحة للخلفيات الداكنة (أو SVG مدمّج): ألوانها مصمّمة أصلًا
   للوضع الداكن فلا نُطبّق فوقها تعتيمًا أبيض وأسود. */
.brand-img--duo {
	filter: none;
	opacity: 0.75;
}

.brand-img--duo:hover,
.brand-item:hover .brand-img--duo {
	filter: none;
	opacity: 1;
}

/* نمط «ألوان عند المرور»: ملوّن دائمًا. */
.brands-strip--mono-hover .brand-img,
.brands-strip--color .brand-img {
	filter: none;
}

.brands-strip--color .brand-item,
.brands-strip--color .brand-item:hover {
	opacity: 1;
}

/* في الوضع الداكن: النسخة الوحيدة تُقلب أبيضًا وأسود تلقائيًا، أما المزدوجة
   فيُعرض كما صُمّم (شعار فاتح) بلا أي فلتر. نمط «ألوان» استثناء: يلزم ألوان
   حقيقية دائمًا، لذلك لا نطبّق القلب التلقائي عليه. */
body.ads-theme-dark .brands-strip:not(.brands-strip--color) .brand-img {
	filter: brightness(0) invert(1);
}

body.ads-theme-dark .brands-strip:not(.brands-strip--color) .brand-item:hover .brand-img {
	filter: brightness(0) invert(1);
	opacity: 0.9;
}

body.ads-theme-dark .brand-img--duo,
body.ads-theme-dark .brand-item:hover .brand-img--duo {
	filter: none;
}

/* شعار الموقع الفاتح: لا يُطبّق عليه أي فلتر. */
body.ads-theme-dark .brand-logo.is-on-dark,
body.ads-theme-dark .brand-logo.is-on-dark img {
	filter: none;
}

.brand-wordmark {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 16px;
	color: var(--clr-ink-2);
}

/* ==================== الخدمات ==================== */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.service-card {
	position: relative;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 32px 28px 30px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 28px;
	height: 3px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, var(--clr-gold), var(--clr-accent));
	opacity: 0;
	transform: scaleX(0.4);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(var(--clr-accent-rgb), 0.34);
}

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

.service-num {
	position: absolute;
	inset-inline-end: 22px;
	top: 22px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 34px;
	line-height: 1;
	color: rgba(var(--clr-navy-rgb), 0.09);
}

.service-icon {
	display: inline-flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	border: 1px solid rgba(var(--clr-accent-rgb), 0.18);
	color: var(--clr-accent);
	margin-bottom: 18px;
	transition: 0.25s ease;
}

.service-card:hover .service-icon {
	background: var(--clr-grad);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: var(--shadow-accent);
}

.service-icon-lg {
	width: 74px;
	height: 74px;
	border-radius: 18px;
}

.service-title {
	font-size: 20px;
	margin: 0 0 8px;
}

.service-title a {
	color: var(--clr-ink);
}

.service-title a:hover {
	color: var(--clr-accent);
}

.service-text {
	color: var(--clr-muted);
	font-size: 14.5px;
	margin-bottom: 16px;
}

.service-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--clr-accent);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13.5px;
}

.service-link svg {
	transition: transform 0.2s ease;
}

.service-link:hover {
	color: var(--clr-accent-dark);
}

.service-link:hover svg {
	transform: translateX(-3px);
}

/* ==================== لماذا نحن ==================== */
.why-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.why-card {
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 28px 26px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(var(--clr-accent-rgb), 0.3);
}

.why-icon {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	border: 1px solid rgba(var(--clr-accent-rgb), 0.16);
	color: var(--clr-accent);
	margin-bottom: 15px;
	transition: 0.25s ease;
}

.why-card:hover .why-icon {
	background: var(--clr-grad);
	color: #ffffff;
	box-shadow: var(--shadow-accent);
	border-color: transparent;
}

.why-title {
	font-size: 18px;
	margin: 0 0 6px;
}

.why-text {
	color: var(--clr-muted);
	font-size: 14.5px;
}

/* ==================== المنتجات ==================== */
.card-grid,
.products-grid,
.blog-grid {
	display: grid;
	gap: 24px;
}

.products-grid,
.blog-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover,
.post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(var(--clr-accent-rgb), 0.3);
}

.card-media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--clr-bg-soft);
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.product-card:hover .card-media img {
	transform: scale(1.05);
}

.card-media-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: rgba(var(--clr-accent-rgb), 0.32);
}

.card-tag {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	background: rgba(var(--clr-navy-rgb), 0.85);
	color: #ffffff;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 7px 11px;
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(4px);
}

.card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 20px 22px;
}

.card-title {
	font-size: 18px;
	line-height: 1.45;
	margin: 0 0 10px;
}

.card-title a {
	color: var(--clr-ink);
}

.card-title a:hover {
	color: var(--clr-accent);
}

.card-text {
	color: var(--clr-muted);
	font-size: 14px;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-specs {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.card-specs li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--clr-ink-2);
	font-size: 13.5px;
	line-height: 1.7;
}

.card-specs li svg {
	flex: none;
	color: var(--clr-accent);
	margin-top: 4px;
}

.product-card .card-cta .btn-price {
	width: 100%;
}

.card-cta {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.product-price {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	border: 1px solid rgba(var(--clr-accent-rgb), 0.3);
	color: var(--clr-ink);
	padding: 9px 15px;
	border-radius: 10px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
}

.product-price svg {
	color: var(--clr-accent);
}

/* ==================== خطوات الطلب ==================== */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.step-item {
	position: relative;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 26px 20px 24px;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 53px;
	inset-inline-end: -24px;
	width: 24px;
	border-top: 2px dashed var(--clr-gold);
	opacity: 0.55;
	pointer-events: none;
}

.step-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(var(--clr-accent-rgb), 0.3);
}

.step-number {
	position: absolute;
	top: 14px;
	inset-inline-start: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--clr-gold);
	color: var(--clr-navy);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 13.5px;
	box-shadow: 0 2px 10px rgba(var(--clr-gold-rgb), 0.35);
}

.step-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: rgba(var(--clr-accent-rgb), 0.1);
	color: var(--clr-accent);
}

.step-title {
	font-size: 17px;
	margin: 0 0 6px;
}

.step-text {
	color: var(--clr-muted);
	font-size: 14px;
}

/* ==================== آراء العملاء ==================== */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.testimonial-card {
	margin: 0;
	display: flex;
	flex-direction: column;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 28px 26px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(var(--clr-accent-rgb), 0.3);
}

.testimonial-quote {
	display: inline-flex;
	color: rgba(var(--clr-gold-rgb), 0.45);
	margin-bottom: 4px;
}

.testimonial-stars {
	display: flex;
	gap: 3px;
	color: var(--clr-gold);
	margin-bottom: 14px;
}

.testimonial-text {
	flex: 1;
	font-size: 16px;
	line-height: 1.9;
	color: var(--clr-text);
	margin-bottom: 20px;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
	border-top: 1px solid var(--clr-border);
	padding-top: 18px;
}

.ta-avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--clr-navy);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 19px;
	flex: none;
	overflow: hidden;
}

/* صورة العميل بدل الحرف الأول. */
.ta-avatar img,
.ta-avatar .wp-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ta-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.ta-name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	color: var(--clr-ink);
}

.ta-role {
	font-style: normal;
	font-size: 12.5px;
	color: var(--clr-muted);
}

/* ==================== الأسئلة الشائعة ==================== */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-item {
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
	border-color: rgba(var(--clr-accent-rgb), 0.25);
}

.faq-item.is-open {
	border-color: rgba(var(--clr-accent-rgb), 0.4);
	box-shadow: var(--shadow-sm);
}

.faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	color: var(--clr-ink);
	text-align: right;
}

.faq-q-icon {
	flex: none;
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	color: var(--clr-accent);
}

.faq-q-text {
	flex: 1;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 16.5px;
}

.faq-q-toggle {
	flex: none;
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--clr-border);
	color: var(--clr-muted);
	transition: 0.25s ease;
}

.faq-q-toggle svg {
	transform: rotate(-90deg);
	transition: transform 0.3s ease;
}

.faq-item.is-open .faq-q-toggle {
	background: rgba(var(--clr-accent-rgb), 0.12);
	border-color: rgba(var(--clr-accent-rgb), 0.3);
	color: var(--clr-accent);
}

.faq-item.is-open .faq-q-toggle svg {
	transform: rotate(0deg);
}

.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-a-inner {
	margin-inline-start: 48px;
	padding: 0 20px 20px;
	border-top: 1px solid var(--clr-border);
	color: var(--clr-text);
	font-size: 15px;
}

.faq-a-inner > * + * {
	margin-top: 0.8em;
}

/* ==================== التواصل ==================== */
.contact-wrap {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 28px;
	align-items: stretch;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: linear-gradient(160deg, var(--clr-navy) 0%, var(--clr-navy-2) 100%);
	color: rgba(255, 255, 255, 0.78);
	border-radius: var(--radius-lg);
	padding: 34px 30px;
	position: relative;
	overflow: hidden;
}

.contact-info::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 22px 22px;
	pointer-events: none;
}

.contact-info > * {
	position: relative;
}

.contact-info-title {
	color: #ffffff;
	font-size: 24px;
	margin: 0;
}

.contact-info-text {
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
}

.contact-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.ci-icon {
	flex: none;
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.contact-list strong {
	display: block;
	color: rgba(255, 255, 255, 0.58);
	font-size: 12.5px;
	font-weight: 700;
	margin-bottom: 2px;
}

.contact-list a,
.contact-list li span:last-child {
	color: #ffffff;
	font-size: 15px;
}

.contact-list a:hover {
	color: var(--clr-accent-soft);
}

.contact-info .ads-social {
	background: rgba(255, 255, 255, 0.09);
	color: #ffffff;
	margin-top: 4px;
}

.contact-info .ads-social:hover {
	background: #ffffff;
	color: var(--clr-navy);
}

.contact-form-wrap {
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 32px 30px;
	box-shadow: var(--shadow-sm);
}

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

.form-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 16px;
}

.form-field label {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	color: var(--clr-ink);
}

.form-field .req {
	color: var(--clr-accent);
}

.form-field input,
.form-field textarea,
.widget select,
.widget input[type="text"],
.widget input[type="search"],
.widget input[type="email"],
.widget input[type="url"],
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field {
	font: inherit;
	font-family: var(--font);
	font-size: 15px;
	color: var(--clr-ink);
	background: var(--clr-bg-soft);
	border: 1px solid var(--clr-border);
	border-radius: 10px;
	padding: 11px 14px;
	width: 100%;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
	resize: vertical;
	min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus,
.widget select:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.search-field:focus {
	outline: none;
	border-color: rgba(var(--clr-accent-rgb), 0.55);
	background: var(--clr-white);
	box-shadow: 0 0 0 4px rgba(var(--clr-accent-rgb), 0.12);
}

.contact-form .btn {
	margin-top: 6px;
}

.contact-form.is-sending .btn {
	opacity: 0.75;
	pointer-events: none;
}

.contact-form.is-sending .btn-send {
	display: none;
}

.contact-form.is-sending .btn-spinner {
	display: inline-flex;
}

.form-status {
	margin-top: 14px;
	font-size: 14px;
	line-height: 1.6;
}

.form-status.success {
	color: #178a5a;
}

.form-status.error {
	color: #d6455d;
}

/* حقل مصيدة (honeypot) — مخفي تمامًا عن المستخدمين */
.cf-hp-wrap {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ==================== التذييل ==================== */
.site-footer {
	background: linear-gradient(180deg, var(--clr-navy) 0%, #141c38 130%);
	color: rgba(255, 255, 255, 0.7);
	position: relative;
	margin-top: 0;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--clr-navy-2), var(--clr-gold));
}

.footer-top {
	padding: clamp(50px, 6vw, 78px) 0 44px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
	gap: 36px;
}

.footer-title {
	color: #ffffff;
	font-size: 17px;
	margin: 0 0 18px;
	padding-bottom: 10px;
	position: relative;
}

.footer-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 30px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-2));
}

.footer-about {
	color: rgba(255, 255, 255, 0.6);
	font-size: 14.5px;
	margin-top: 16px;
}

.footer-social {
	display: flex;
	gap: 9px;
	margin-top: 20px;
}

.footer-social .ads-social {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.footer-social .ads-social:hover {
	background: var(--clr-gold);
	color: var(--clr-navy);
}

.footer-col-about .brand-text strong {
	color: #ffffff;
}

.footer-col-about .brand-text em {
	color: rgba(255, 255, 255, 0.55);
}

.footer-menu li a,
.footer-services li a {
	display: inline-block;
	padding: 5px 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14.5px;
	transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.footer-menu li a:hover,
.footer-services li a:hover {
	color: var(--clr-gold);
	padding-inline-start: 6px;
}

.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 14px;
}

.fc-icon {
	flex: none;
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.footer-contact a {
	color: rgba(255, 255, 255, 0.9);
}

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

.footer-widgets {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 32px 0;
}

.footer-widgets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}

.footer-widgets .widget {
	color: rgba(255, 255, 255, 0.72);
}

.footer-widgets .widget-title {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 12px;
}

.footer-widgets .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-widgets .widget li + li {
	margin-top: 8px;
}

.footer-widgets .widget a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-widgets .widget a:hover {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.52);
}

.footer-credits {
	color: var(--clr-gold);
}

/* ==================== نافذة طلب السعر ==================== */
.request-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.request-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.request-modal-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	cursor: pointer;
	background: rgba(var(--clr-shadow-rgb), 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.request-modal-card {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: 20px;
	padding: 30px 26px 26px;
	box-shadow: var(--shadow-lg);
	transform: translateY(14px) scale(0.985);
	transition: transform 0.25s ease;
}

.request-modal.is-open .request-modal-card {
	transform: none;
}

.rm-close {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	z-index: 3;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--clr-border);
	background: var(--clr-bg-soft);
	color: var(--clr-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s ease;
}

.rm-close:hover {
	background: var(--clr-accent);
	border-color: var(--clr-accent);
	color: #ffffff;
}

.rm-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.rm-head-icon {
	display: inline-flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: rgba(var(--clr-accent-rgb), 0.12);
	color: var(--clr-accent);
	margin-bottom: 14px;
}

.rm-head h3 {
	font-size: 21px;
	margin: 0 0 4px;
}

.rm-product {
	color: var(--clr-accent);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
}

.rm-hint {
	text-align: center;
	color: var(--clr-muted);
	font-size: 13.5px;
	margin: 12px 0 20px;
}

.rm-options {
	display: grid;
	gap: 10px;
}

.rm-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: var(--clr-bg-soft);
	border: 1px solid var(--clr-border);
	border-radius: 14px;
	color: var(--clr-ink);
	transition: 0.2s ease;
}

.rm-option:hover {
	border-color: rgba(var(--clr-accent-rgb), 0.5);
	background: var(--clr-white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
	color: var(--clr-ink);
}

.rm-opt-icon {
	flex: none;
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	color: var(--clr-accent);
}

.rm-opt-whatsapp .rm-opt-icon {
	color: #1faa55;
}

.rm-opt-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.rm-opt-meta strong {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
}

.rm-opt-meta small {
	color: var(--clr-muted);
	font-size: 12.5px;
}

/* ==================== العناصر العائمة ==================== */
.whatsapp-float {
	position: fixed;
	bottom: 24px;
	inset-inline-end: 24px;
	z-index: 150;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--clr-whatsapp);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 0 rgba(var(--clr-whatsapp-rgb), 0.4);
	animation: whatsapp-ring 2.6s infinite;
	transition: transform 0.2s ease;
}

.whatsapp-float:hover {
	transform: translateY(-4px) scale(1.06);
	color: #ffffff;
}

@keyframes whatsapp-ring {
	0% { box-shadow: 0 0 0 0 rgba(var(--clr-whatsapp-rgb), 0.35); }
	70% { box-shadow: 0 0 0 14px rgba(var(--clr-whatsapp-rgb), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--clr-whatsapp-rgb), 0); }
}

.back-to-top {
	position: fixed;
	bottom: 24px;
	inset-inline-start: 24px;
	z-index: 150;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--clr-navy);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 22px rgba(var(--clr-shadow-rgb), 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: 0.3s ease;
}

.back-to-top:hover {
	color: #ffffff;
	background: var(--clr-accent);
	transform: translateY(-4px);
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* شريط إجراءات الجوال */
.mobile-action-bar {
	display: none;
	position: fixed;
	bottom: 0;
	inset-inline: 0;
	z-index: 140;
	background: var(--clr-white);
	border-top: 1px solid var(--clr-border);
	box-shadow: 0 -6px 20px rgba(var(--clr-shadow-rgb), 0.08);
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
	transition: transform 0.3s ease;
}

.mobile-action-bar.is-hidden {
	transform: translateY(100%);
}

.mab-item {
	appearance: none;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 6px 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: var(--clr-ink);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 11.5px;
	border-radius: 10px;
	transition: 0.2s ease;
	text-decoration: none;
}

.mab-item svg {
	color: var(--clr-accent);
}

.mab-item:hover {
	background: var(--clr-bg-soft);
	color: var(--clr-accent);
}

.mab-price {
	color: var(--clr-accent);
}

.mab-price svg {
	color: inherit;
}

/* ==================== الصفحات الداخلية ==================== */
.page-section {
	padding: clamp(40px, 5vw, 64px) 0;
}

.page-section.section-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--clr-muted);
	margin-bottom: 24px;
}

.breadcrumbs a {
	color: var(--clr-muted);
}

.breadcrumbs a:hover {
	color: var(--clr-accent);
}

.breadcrumbs .sep {
	opacity: 0.6;
}

.breadcrumbs .current {
	color: var(--clr-ink);
	font-weight: 600;
}

.page-title,
.archive-heading .page-title {
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.25;
	margin: 0;
}

.entry-header-page,
.archive-heading {
	margin-bottom: 36px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--clr-border);
}

.page-subtitle {
	color: var(--clr-muted);
	font-size: 16px;
	margin-top: 8px;
}

.search-term {
	color: var(--clr-accent);
	font-weight: 700;
}

/* تخطيطات العمودين */
.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
}

.widget-area {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.widget {
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 24px 22px;
}

.widget-title {
	font-size: 16.5px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--clr-border);
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	bottom: -1px;
	inset-inline-start: 0;
	width: 30px;
	height: 3px;
	border-radius: 2px;
	background: var(--clr-accent);
}

.widget ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.widget ul li a {
	display: inline-block;
	padding: 7px 0;
	color: var(--clr-text);
	font-size: 14.5px;
	transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.widget ul li a:hover {
	color: var(--clr-accent);
	padding-inline-start: 6px;
}

.widget > * + * {
	margin-top: 12px;
}

/* ==================== المحتوى والمقالات ==================== */
.post-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--clr-muted);
	margin-bottom: 8px;
}

.post-date,
.post-author {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.post-cats a {
	color: var(--clr-accent);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 12.5px;
}

.post-cats a:hover {
	text-decoration: underline;
}

.post-card-media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--clr-bg-soft);
}

.post-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.post-card:hover .post-card-media img {
	transform: scale(1.05);
}

.post-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card-title {
	font-size: 18px;
	line-height: 1.45;
	margin: 0 0 8px;
}

.post-card-title a {
	color: var(--clr-ink);
}

.post-card-title a:hover {
	color: var(--clr-accent);
}

.post-card-excerpt {
	flex: 1;
	color: var(--clr-muted);
	font-size: 14px;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* صفحة مقالة مفردة */
.entry-header {
	margin-bottom: 20px;
}

.entry-header .entry-title {
	font-size: clamp(28px, 4.2vw, 44px);
	line-height: 1.28;
	margin-bottom: 12px;
}

.entry-excerpt {
	color: var(--clr-text);
	font-size: 17px;
	max-width: 800px;
	margin-bottom: 20px;
}

.entry-media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--clr-border);
	margin-bottom: 28px;
	aspect-ratio: 16 / 9;
	background: var(--clr-bg-soft);
}

.entry-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-content {
	color: var(--clr-text);
	font-size: 17px;
	line-height: 1.95;
	max-width: 820px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.4em;
}

.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content h4 { font-size: 18px; }

.entry-content > * + * {
	margin-top: 1em;
}

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

.entry-content img {
	border-radius: 12px;
}

.entry-content blockquote {
	margin: 1.2em 0;
	padding: 16px 20px;
	border-inline-start: 4px solid var(--clr-accent);
	background: var(--clr-bg-soft);
	border-radius: 10px;
	font-style: italic;
	color: var(--clr-ink-2);
}

.entry-content a {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(var(--clr-accent-rgb), 0.35);
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-color: var(--clr-accent);
}

.entry-footer {
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--clr-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13.5px;
}

.entry-tags a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--clr-bg-soft);
	border: 1px solid var(--clr-border);
	padding: 5px 12px;
	border-radius: var(--radius-full);
	color: var(--clr-ink-2);
	font-size: 12.5px;
	margin-inline-end: 6px;
	transition: 0.2s ease;
}

.entry-tags a::before {
	content: "#";
	color: var(--clr-accent);
}

.entry-tags a:hover {
	border-color: rgba(var(--clr-accent-rgb), 0.5);
	color: var(--clr-accent);
}

/* صفحة منتج مفرد */
.single-product-grid,
.single-service-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.single-product-media,
.single-service-media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--clr-border);
	background: var(--clr-bg-soft);
	box-shadow: var(--shadow-sm);
	aspect-ratio: 4 / 3;
	position: relative;
	display: flex;
}

.single-product-media img,
.single-service-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-product-fallback {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(var(--clr-accent-rgb), 0.3);
}

.single-product-summary .entry-title {
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.25;
	margin-bottom: 12px;
}

.single-product-excerpt,
.single-service-lead {
	color: var(--clr-text);
	font-size: 17px;
	margin-bottom: 18px;
}

.single-product-price {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	border: 1px solid rgba(var(--clr-accent-rgb), 0.3);
	padding: 10px 18px;
	border-radius: 12px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 19px;
	color: var(--clr-ink);
}

.single-product-price svg {
	color: var(--clr-accent);
}

.chip,
.single-product-cats .chip {
	display: inline-flex;
	background: var(--clr-bg-soft);
	border: 1px solid var(--clr-border);
	color: var(--clr-ink-2);
	padding: 5px 12px;
	border-radius: var(--radius-full);
	font-size: 12.5px;
}

.single-product-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0;
}

.single-product-content,
.single-service-content {
	margin: 20px 0;
	color: var(--clr-text);
	font-size: 16px;
	line-height: 1.9;
}

.single-product-content > * + *,
.single-service-content > * + * {
	margin-top: 1em;
}

.single-product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.single-service-content {
	max-width: 820px;
}

.related-services {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}

.related-services a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius);
	padding: 15px 20px;
	color: var(--clr-ink);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	transition: 0.2s ease;
}

.related-services a:hover {
	border-color: rgba(var(--clr-accent-rgb), 0.4);
	color: var(--clr-accent);
	transform: translateY(-2px);
}

/* عن الشركة */
.about-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 34px;
}

.about-features > * {
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 24px 20px;
	text-align: center;
}

.about-features svg {
	color: var(--clr-accent);
	margin-bottom: 12px;
}

.about-features strong,
.about-features b {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
	color: var(--clr-ink);
	margin-bottom: 6px;
}

.about-features span,
.about-features small {
	color: var(--clr-muted);
	font-size: 14px;
}

/* ==================== شريط الفلاتر ==================== */
.filter-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 24px 0 32px;
	padding: 16px;
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
}

.filter-chip {
	display: inline-flex;
	align-items: center;
	padding: 9px 18px;
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-full);
	background: var(--clr-bg-soft);
	color: var(--clr-ink-2);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13.5px;
	transition: 0.2s ease;
}

.filter-chip:hover {
	border-color: rgba(var(--clr-accent-rgb), 0.5);
	color: var(--clr-accent);
}

.filter-chip.is-active,
.filter-chip[aria-current="page"] {
	background: var(--clr-navy);
	border-color: var(--clr-navy);
	color: #ffffff;
}

/* ==================== الترقيم ==================== */
.pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 44px;
}

.page-numbers {
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--clr-border);
	border-radius: 12px;
	color: var(--clr-ink);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	background: var(--clr-white);
	transition: 0.2s ease;
}

.page-numbers:hover {
	border-color: rgba(var(--clr-accent-rgb), 0.5);
	color: var(--clr-accent);
}

.page-numbers.current {
	background: var(--clr-navy);
	border-color: var(--clr-navy);
	color: #ffffff;
}

.page-numbers.dots {
	border: 0;
	background: none;
}

/* ==================== نموذج البحث ==================== */
.search-form {
	display: flex;
	gap: 10px;
}

.search-submit {
	appearance: none;
	border: 0;
	cursor: pointer;
	width: 48px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-2) 100%);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: 0.2s ease;
}

.search-submit:hover {
	background: var(--clr-accent);
}

/* ==================== التعليقات ==================== */
.comments-area {
	margin-top: 48px;
	padding-top: 36px;
	border-top: 1px solid var(--clr-border);
	max-width: 820px;
}

.comments-title {
	font-size: 20px;
	margin-bottom: 22px;
}

.comment-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.comment-list .children {
	margin-inline-start: 32px;
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.comment-list .comment-body {
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 20px 22px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	color: var(--clr-ink);
}

.comment-author .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--clr-border);
}

.comment-meta {
	color: var(--clr-muted);
	font-size: 12.5px;
	margin: 4px 0 10px;
}

.comment-content {
	color: var(--clr-text);
	font-size: 15.5px;
	line-height: 1.8;
}

.comment-content > * + * {
	margin-top: 0.6em;
}

.comment-list .reply {
	margin-top: 10px;
}

.comment-list .reply a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--clr-accent);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13px;
}

.comment-list .reply a:hover {
	text-decoration: underline;
}

.comment-respond {
	margin-top: 32px;
}

.comment-respond .comment-reply-title {
	font-size: 19px;
	margin-bottom: 8px;
}

.comment-form p {
	margin-bottom: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.comment-form label {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	color: var(--clr-ink);
}

.comment-form input[type="submit"] {
	appearance: none;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-2) 100%);
	color: #ffffff;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	padding: 13px 26px;
	border-radius: 10px;
	align-self: flex-start;
	transition: 0.2s ease;
}

.comment-form input[type="submit"]:hover {
	box-shadow: var(--shadow-accent);
	transform: translateY(-2px);
}

.no-comments {
	color: var(--clr-muted);
	font-size: 14px;
}

/* ==================== 404 والفراغات ==================== */
.error-404-wrap,
.empty-state {
	text-align: center;
}

.error-code {
	font-family: var(--font-head);
	font-weight: 900;
	font-size: clamp(90px, 20vw, 160px);
	line-height: 1;
	background: linear-gradient(135deg, var(--clr-navy), var(--clr-accent));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.error-title {
	font-size: clamp(24px, 3.5vw, 34px);
	margin-top: 6px;
}

.error-text {
	color: var(--clr-muted);
	max-width: 480px;
	margin: 12px auto 28px;
}

.error-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.empty-state {
	border: 2px dashed var(--clr-border);
	border-radius: var(--radius-lg);
	padding: 60px 24px;
	color: var(--clr-muted);
}

/* ==================== الظهور الناعم ==================== */
.ads-js .section-head,
.ads-js .hero-content,
.ads-js .hero-media,
.ads-js .service-card,
.ads-js .product-card,
.ads-js .post-card,
.ads-js .faq-item,
.ads-js .why-card,
.ads-js .testimonial-card,
.ads-js .step-item,
.ads-js .contact-wrap,
.ads-js .cta-inner,
.ads-js .layout-with-sidebar {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* بدون جافاسكربت تبقى العناصر ظاهرة كاملة */
.ads-nojs .section-head,
.ads-nojs .hero-content,
.ads-nojs .hero-media,
.ads-nojs .service-card,
.ads-nojs .product-card,
.ads-nojs .post-card,
.ads-nojs .faq-item,
.ads-nojs .why-card,
.ads-nojs .testimonial-card,
.ads-nojs .step-item,
.ads-nojs .contact-wrap,
.ads-nojs .cta-inner,
.ads-nojs .layout-with-sidebar {
	opacity: 1;
	transform: none;
	transition: none;
}

/* ==================== صفحة تفاصيل الخدمة ==================== */
.service-detail-head-simple {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	margin-bottom: clamp(28px, 4vw, 40px);
	background: var(--clr-bg-soft);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 4vw, 34px);
}

.service-detail-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: var(--clr-grad);
	color: #ffffff;
	box-shadow: var(--shadow-accent);
}

.service-detail-head-simple .entry-title,
.service-detail-head-inner .entry-title {
	margin: 0 0 8px;
}

.service-detail-head-simple .single-service-lead,
.service-detail-head-inner .single-service-lead {
	margin: 0;
	max-width: 720px;
}

.service-detail-banner {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	border-radius: var(--radius-lg);
	border: 1px solid var(--clr-border);
	box-shadow: var(--shadow-sm);
	margin-bottom: clamp(28px, 4vw, 40px);
	min-height: 320px;
}

.service-detail-banner img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-detail-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 22, 46, 0.12) 0%, rgba(15, 22, 46, 0.92) 100%);
}

.service-detail-head-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: clamp(22px, 4vw, 40px);
	color: #ffffff;
}

.service-detail-head-inner .entry-title {
	color: #ffffff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.service-detail-head-inner .single-service-lead {
	color: rgba(255, 255, 255, 0.85);
}

.service-detail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}

.service-detail-main .entry-content {
	color: var(--clr-text);
	font-size: 16px;
	line-height: 1.9;
}

.service-detail-main .entry-content > * + * {
	margin-top: 1em;
}

.service-detail-h {
	margin: 0 0 18px;
	font-size: clamp(21px, 2.6vw, 26px);
	display: flex;
	align-items: center;
	gap: 12px;
}

.service-detail-h::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--clr-border);
}

.service-features {
	margin-top: clamp(28px, 4vw, 40px);
	padding: clamp(20px, 3.4vw, 28px);
	background: var(--clr-bg-soft);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
}

.service-features-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.service-features-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--clr-ink);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.65;
}

.service-features-list li svg {
	flex: none;
	margin-top: 2px;
	color: var(--clr-accent);
}

.service-detail-side {
	display: grid;
	gap: 20px;
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.service-side-card {
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 24px;
}

.service-side-card h3 {
	font-size: 17px;
	margin: 0 0 12px;
}

.service-side-cta {
	position: relative;
}

.service-side-cta::before {
	content: "";
	position: absolute;
	inset-inline: 24px;
	top: 0;
	height: 3px;
	border-radius: 0 0 8px 8px;
	background: var(--clr-grad);
}

.service-side-cta p {
	color: var(--clr-muted);
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 16px;
}

.service-side-cta .btn {
	width: 100%;
	justify-content: center;
	margin-top: 10px;
}

.service-side-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.service-side-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--clr-text);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.service-side-list li svg {
	flex: none;
	color: var(--clr-accent);
}

.service-side-list a {
	color: inherit;
	text-decoration: none;
}

.service-side-list a:hover {
	color: var(--clr-accent);
}

.related-head {
	margin: clamp(40px, 6vw, 64px) 0 26px;
}

.related-head .section-title::after {
	margin-inline: 0 auto;
}

/* ==================== صفحة عن الشركة ==================== */
.about-page .breadcrumbs {
	margin-bottom: 20px;
}

.about-hero {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	background: var(--clr-bg-soft);
	padding: clamp(32px, 5vw, 56px);
	margin-bottom: clamp(40px, 5vw, 60px);
}

.about-hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 85% 15%, rgba(var(--clr-accent-rgb), 0.14), transparent 42%),
		radial-gradient(circle at 12% 90%, rgba(var(--clr-navy-rgb), 0.08), transparent 46%);
}

.about-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
}

.about-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: var(--radius-full);
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	color: var(--clr-accent);
	font-weight: 700;
	font-size: 13px;
	margin-bottom: 18px;
	box-shadow: var(--shadow-sm);
}

.about-hero .page-title {
	margin-bottom: 14px;
}

.about-hero-lead {
	color: var(--clr-muted);
	font-size: 17px;
	line-height: 1.85;
	max-width: 640px;
	margin: 0 0 26px;
}

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

.about-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: clamp(32px, 5vw, 56px);
	align-items: start;
	margin-bottom: clamp(40px, 5vw, 60px);
}

.about-story-text .section-head-right {
	text-align: start;
	margin-bottom: 20px;
}

/*
 * عزل النصوص ثنائية الاتجاه (أرقام هواتف، بريد، روابط) داخل صفحات RTL.
 * بدون هذا تنزاح علامة «+» إلى الطرف الخاطئ فيظهر الرقم «91 9071022+218».
 */
.ads-ltr {
	display: inline-block;
	direction: ltr;
	unicode-bidi: isolate;
	text-align: left;
	white-space: nowrap;
}

.about-story-media {
	margin: 0 0 clamp(22px, 3vw, 32px);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--clr-border);
}

.about-story-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.about-story-copy {
	color: var(--clr-text);
	font-size: 16px;
	line-height: 1.9;
}

.about-story-copy > * + * {
	margin-top: 1em;
}

.about-points {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
	display: grid;
	gap: 13px;
}

.about-points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.65;
	color: var(--clr-ink);
}

.about-points li svg {
	flex: none;
	margin-top: 2px;
	color: var(--clr-accent);
}

.about-story-aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	background: var(--clr-white);
	border: 1px solid var(--clr-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 26px;
}

.about-card-head .site-branding {
	margin-bottom: 14px;
}

.about-card-head p {
	color: var(--clr-muted);
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 18px;
}

.about-facts {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: grid;
	gap: 14px;
}

.about-facts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.about-fact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: rgba(var(--clr-accent-rgb), 0.1);
	color: var(--clr-accent);
}

.about-fact-body {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.about-fact-body strong {
	font-size: 13px;
	color: var(--clr-muted);
	font-weight: 600;
}

.about-fact-body a,
.about-fact-body span {
	color: var(--clr-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
	line-height: 1.5;
}

.about-fact-body a:hover {
	color: var(--clr-accent);
}

.about-stats {
	margin-bottom: clamp(48px, 6vw, 72px);
}

.about-stats .hero-stats {
	margin-top: 0;
}

.about-section {
	margin-bottom: clamp(40px, 5vw, 60px);
}

.about-section .section-head {
	margin-bottom: 34px;
}

.about-editor-content {
	max-width: 780px;
	margin: 0 auto clamp(40px, 5vw, 60px);
	color: var(--clr-text);
	line-height: 1.9;
}

.about-cta {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--clr-navy), var(--clr-accent-2));
	color: #ffffff;
	padding: clamp(34px, 5vw, 56px);
	box-shadow: var(--shadow-lg);
}

.about-cta-inner {
	max-width: 680px;
	margin-inline: auto;
	text-align: center;
	position: relative;
	z-index: 2;
}

.about-cta-title {
	color: #ffffff;
	font-size: clamp(24px, 3.4vw, 34px);
	margin: 0 0 12px;
}

.about-cta-text {
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
	line-height: 1.8;
	margin: 0 0 24px;
}

.about-cta-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.btn-white {
	background: #ffffff;
	color: var(--clr-navy);
	border: 1px solid transparent;
}

.btn-white:hover {
	background: #f4f7fc;
	color: var(--clr-navy);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.btn-ghost-white {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost-white:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
	border-color: #ffffff;
	transform: translateY(-2px);
}

/* ==================== إتاحة الوصول وتقليل الحركة ==================== */
:focus-visible {
	outline: 3px solid rgba(var(--clr-accent-rgb), 0.45);
	outline-offset: 2px;
	border-radius: 4px;
}

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

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

	.hero-badge svg,
	.whatsapp-float {
		animation: none !important;
	}

	.brands-track {
		animation: none !important;
		overflow-x: auto;
	}
}

/* ==================== الوضع الداكن — ضبط نقاط محددة ==================== */
body.ads-theme-dark .topbar {
	background: var(--clr-bg-soft);
	border-bottom: 1px solid var(--clr-border);
	color: var(--clr-text);
}

body.ads-theme-dark .topbar a,
body.ads-theme-dark .topbar-address,
body.ads-theme-dark .topbar-hours {
	color: var(--clr-text);
}

body.ads-theme-dark .topbar svg {
	color: var(--clr-accent-soft);
}

body.ads-theme-dark .topbar .ads-social {
	background: rgba(var(--clr-accent-rgb), 0.12);
	border: 1px solid var(--clr-border);
}

body.ads-theme-dark .contact-info {
	color: rgba(255, 255, 255, 0.8);
}

body.ads-theme-dark .contact-info-title,
body.ads-theme-dark .contact-info .contact-list strong,
body.ads-theme-dark .contact-info .contact-list a,
body.ads-theme-dark .contact-info .ci-icon,
body.ads-theme-dark .contact-info .contact-list li span:last-child {
	color: #ffffff;
}

body.ads-theme-dark .mobile-menu,
body.ads-theme-dark .mobile-action-bar {
	background: var(--clr-white);
}

/* ==================== استجابة الشاشات ==================== */
@media (max-width: 1024px) {
	.main-navigation {
		display: none;
	}

	.mobile-menu {
		display: flex;
	}

	.header-actions {
		margin-inline-start: auto;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.mobile-action-bar {
		display: flex;
	}

	/* الزر العائم واتساب مكرر في شريط الجوال — نخفيه على الشاشات الصغيرة */
	.whatsapp-float {
		display: none;
	}

	.site-footer {
		padding-bottom: 64px;
	}

	.services-grid,
	.why-grid,
	.products-grid,
	.blog-grid,
	.testimonials-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.step-item:not(:last-child)::after {
		display: none;
	}

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

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

	.widget-area {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.widget {
		flex: 1 1 240px;
	}

	.hero--has-image .hero-inner {
		grid-template-columns: 1fr;
	}

	.hero--has-image .hero-media {
		max-width: 560px;
		margin-inline: auto;
		width: 100%;
	}

	.single-product-grid,
	.single-service-grid,
	.contact-wrap {
		grid-template-columns: 1fr;
	}

	.contact-wrap {
		max-width: 720px;
		margin-inline: auto;
	}

	.hero-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-detail-grid {
		grid-template-columns: 1fr;
	}

	.service-detail-side {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.about-story-aside {
		position: static;
		max-width: 560px;
	}

	.whatsapp-float,
	.back-to-top {
		bottom: 78px;
	}
}

@media (max-width: 880px) {
	.topbar-inner {
		min-height: auto;
		padding-block: 8px;
	}

	.topbar-address,
	.topbar-hours {
		display: none;
	}

	.about-features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

	.topbar-contact,
	.topbar-side {
		gap: 12px;
		flex-wrap: wrap;
	}

	.topbar-contact span {
		display: none;
	}

	.service-detail-head-simple,
	.service-detail-head-inner {
		flex-direction: column;
	}

	.service-features-list,
	.service-detail-side {
		grid-template-columns: 1fr;
	}

	.about-hero-actions,
	.about-cta-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.about-hero-actions .btn,
	.about-cta-actions .btn {
		width: 100%;
	}

	.services-grid,
	.why-grid,
	.products-grid,
	.blog-grid,
	.testimonials-grid,
	.steps-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

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

	.hero-title {
		font-size: clamp(28px, 8vw, 38px);
	}

	.hero-text {
		font-size: 16.5px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.hero-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 18px 14px;
	}

	.hero-chip--1 {
		inset-inline-start: 6px;
		bottom: 12px;
	}

	.hero-chip--2 {
		inset-inline-end: 6px;
		top: 12px;
	}

	.cta-actions .btn {
		width: 100%;
	}

	.blob-1,
	.blob-2 {
		filter: blur(90px);
		opacity: 0.7;
	}

	.brands-strip {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.brands-label {
		padding-inline-start: clamp(20px, 4vw, 32px);
	}

	.single-product-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.single-product-actions > * {
		width: 100%;
	}

	.cards .layout-main {
		width: 100%;
	}

	.error-actions .btn {
		width: 100%;
	}
}