/*
Theme Name: منارة إتقان
Theme URI: https://manarat-itqan.sa
Author: Manarat Itqan
Author URI: https://manarat-itqan.sa
Description: قالب ووردبريس احترافي بالعربية لخدمات تركيب الأبواب والأثاث والصيانة المنزلية. تصميم حديث، متجاوب بالكامل مع الجوال، سريع التحميل، ومحسّن لمحركات البحث (SEO)، مع أزرار تواصل عائمة (اتصال وواتساب) في جميع الصفحات.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manara
Tags: business, custom-logo, custom-menu, featured-images, full-width-template, rtl-language-support, translation-ready
*/

/* =========================================================
   0) المتغيرات (Design Tokens)
   الأبيض + الأزرق الداكن + لمسات برتقالية
========================================================= */
:root{
	--color-navy-950: #0A1F3D;
	--color-navy-900: #0B2447;
	--color-navy-800: #123A6B;
	--color-navy-700: #1B4B84;
	--color-orange:   #FF7A1A;
	--color-orange-dark: #E4650A;
	--color-orange-light: #FFA45C;
	--color-white: #FFFFFF;
	--color-off-white: #F6F8FB;
	--color-gray-100: #EEF1F6;
	--color-gray-300: #D6DCE5;
	--color-gray-500: #7C8899;
	--color-gray-700: #3E4A5C;
	--color-text: #1E2733;
	--color-success: #1FA463;
	--color-danger: #D6483C;

	--font-display: 'Cairo', 'Tahoma', sans-serif;
	--font-body: 'Tajawal', 'Tahoma', sans-serif;

	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 24px;
	--shadow-sm: 0 2px 10px rgba(10,31,61,0.06);
	--shadow-md: 0 10px 30px rgba(10,31,61,0.10);
	--shadow-lg: 0 20px 50px rgba(10,31,61,0.16);
	--container-width: 1200px;
	--transition: all 0.3s ease;
}

/* =========================================================
   1) إعادة الضبط الأساسية (Reset)
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-white);
	line-height: 1.8;
	font-size: 16px;
	overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
	font-family: var(--font-display);
	color: var(--color-navy-900);
	margin: 0 0 16px;
	line-height: 1.35;
	font-weight: 800;
}
p { margin: 0 0 16px; color: var(--color-gray-700); }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}
.container-narrow { max-width: 860px; }

.screen-reader-text{ position:absolute; left:-9999px; }
.skip-link:focus{
	position: fixed; top: 10px; right: 10px; z-index: 9999;
	background: var(--color-navy-900); color:#fff; padding: 10px 18px; border-radius: 8px;
}

/* =========================================================
   2) الأزرار
========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 0.95rem;
	white-space: nowrap;
	transition: var(--transition);
	border: 2px solid transparent;
}
.btn-lg{ padding: 17px 32px; font-size: 1.05rem; }
.btn-full{ width: 100%; justify-content: center; margin-top: 10px; }

.btn-whatsapp{ background: #25D366; color: #fff; }
.btn-whatsapp:hover{ background:#1DAE54; transform: translateY(-2px); }

.btn-call{ background: var(--color-orange); color: #fff; }
.btn-call:hover{ background: var(--color-orange-dark); transform: translateY(-2px); }

.btn-call-outline{ border-color: #fff; color: #fff; }
.btn-call-outline:hover{ background: #fff; color: var(--color-navy-900); }

.btn-call-outline-light{ border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-call-outline-light:hover{ background:#fff; color: var(--color-navy-900); }

/* =========================================================
   3) الشريط العلوي
========================================================= */
.top-bar{
	background: var(--color-navy-950);
	color: rgba(255,255,255,0.85);
	font-size: 0.82rem;
}
.top-bar-inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding: 8px 20px;
	flex-wrap: wrap;
}
.top-bar-item{ display:flex; align-items:center; gap:6px; }
.top-bar-item i{ color: var(--color-orange); }
.top-bar-phone a{ font-weight: 700; color:#fff; }

/* =========================================================
   4) الهيدر
========================================================= */
.site-header{
	background: var(--color-white);
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 0;
	z-index: 500;
}
.header-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 20px;
}
.site-branding .site-logo-text{
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}
.site-logo-text .logo-icon{ display:none; }
.logo-title{ font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--color-navy-900); }
.logo-sub{ font-size: 0.68rem; color: var(--color-gray-500); font-weight: 500; }
.custom-logo{ max-height: 60px; width: auto; }

.main-navigation .nav-menu{
	display: flex;
	gap: 6px;
	align-items: center;
}
.main-navigation .nav-menu > li > a{
	display: block;
	padding: 10px 16px;
	font-weight: 700;
	color: var(--color-navy-800);
	border-radius: var(--radius-sm);
}
.main-navigation .nav-menu > li > a:hover,
.main-navigation .nav-menu > li.current-menu-item > a{
	color: var(--color-orange);
	background: var(--color-off-white);
}

.header-actions{ display: flex; align-items: center; gap: 10px; }
.btn-whatsapp-header{ background:#25D366; color:#fff; padding:10px 16px; border-radius: var(--radius-sm); font-weight:700; font-size:0.9rem; }
.btn-call-header{ background: var(--color-navy-900); color:#fff; padding:10px 16px; border-radius: var(--radius-sm); font-weight:700; font-size:0.9rem; }
.btn-whatsapp-header:hover{ background:#1DAE54; }
.btn-call-header:hover{ background: var(--color-orange); }

.mobile-menu-toggle{
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
}
.mobile-menu-toggle span{
	width: 26px; height: 3px; background: var(--color-navy-900); border-radius: 3px; transition: var(--transition);
}
.mobile-menu-toggle.is-active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.is-active span:nth-child(2){ opacity: 0; }
.mobile-menu-toggle.is-active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   5) الأزرار العائمة
========================================================= */
.floating-buttons{
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.floating-btn{
	width: 58px; height: 58px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.5rem; color: #fff;
	box-shadow: var(--shadow-lg);
	animation: floatPulse 2.4s ease-in-out infinite;
}
.floating-whatsapp{ background: #25D366; }
.floating-call{ background: var(--color-orange); animation-delay: 0.4s; }
.floating-btn:hover{ transform: scale(1.08); }

@keyframes floatPulse{
	0%,100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0.35), var(--shadow-lg); }
	50%{ box-shadow: 0 0 0 12px rgba(37,211,102,0), var(--shadow-lg); }
}
.floating-call{ animation-name: floatPulseOrange; }
@keyframes floatPulseOrange{
	0%,100%{ box-shadow: 0 0 0 0 rgba(255,122,26,0.35), var(--shadow-lg); }
	50%{ box-shadow: 0 0 0 12px rgba(255,122,26,0), var(--shadow-lg); }
}

/* =========================================================
   6) الهيرو
========================================================= */
.hero{
	position: relative;
	background:
		linear-gradient(120deg, rgba(10,31,61,0.94), rgba(11,36,71,0.88)),
		var(--hero-image, none),
		linear-gradient(135deg, var(--color-navy-950), var(--color-navy-800));
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 90px 0 70px;
	overflow: hidden;
}
.hero::after{
	content: "";
	position: absolute;
	inset: auto -10% -40% auto;
	width: 480px; height: 480px;
	background: radial-gradient(circle, rgba(255,122,26,0.35), transparent 70%);
	border-radius: 50%;
}
.hero-inner{ position: relative; z-index: 2; }
.hero-content{ max-width: 760px; }
.hero-badge{
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.25);
	padding: 8px 16px; border-radius: 30px;
	font-size: 0.85rem; margin-bottom: 22px; color: var(--color-orange-light);
	font-weight: 700;
}
.hero-title{
	font-size: clamp(1.9rem, 4vw, 3rem);
	color: #fff;
	margin-bottom: 20px;
}
.hero-desc{
	font-size: 1.15rem;
	color: rgba(255,255,255,0.85);
	max-width: 640px;
	margin-bottom: 32px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero-points{ display:flex; flex-wrap:wrap; gap: 24px; }
.hero-points li{ display:flex; align-items:center; gap:8px; color: rgba(255,255,255,0.8); font-weight:600; font-size:0.92rem; }
.hero-points i{ color: var(--color-orange); }

/* =========================================================
   7) شريط الإحصائيات
========================================================= */
.stats-bar{ background: var(--color-white); border-bottom: 1px solid var(--color-gray-100); }
.stats-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
	padding: 30px 20px;
}
.stat-item{ padding: 12px; border-left: 1px solid var(--color-gray-100); }
.stat-item:last-child{ border-left: none; }
.stat-number{ display:block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--color-navy-900); }
.stat-label{ font-size: 0.85rem; color: var(--color-gray-500); font-weight: 600; }

/* =========================================================
   8) العناوين المشتركة للأقسام
========================================================= */
.section{ padding: 80px 0; }
.section-head{ text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-eyebrow{
	display: inline-block;
	color: var(--color-orange);
	font-weight: 800;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
	position: relative;
	padding-bottom: 8px;
}
.section-eyebrow::after{
	content:"";
	position: absolute;
	bottom:0; right:50%; transform: translateX(50%);
	width: 40px; height: 3px; background: var(--color-orange); border-radius: 3px;
}
.section-title{ font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-desc{ color: var(--color-gray-500); }
.section-head.light .section-title,
.section-head.light p{ color: #fff; }
.section-head.light .section-desc{ color: rgba(255,255,255,0.75); }

/* =========================================================
   9) قسم الخدمات
========================================================= */
.services-section{ background: var(--color-off-white); }
.services-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.service-card{
	background: #fff;
	border-radius: var(--radius-md);
	padding: 30px 24px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	border-bottom: 3px solid transparent;
}
.service-card:hover{
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
	border-bottom-color: var(--color-orange);
}
.service-icon{
	width: 60px; height: 60px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 18px;
}
.service-title{ font-size: 1.1rem; margin-bottom: 10px; }
.service-desc{ font-size: 0.92rem; margin-bottom: 16px; }
.service-link{ font-weight: 700; color: var(--color-orange); font-size: 0.9rem; display:inline-flex; align-items:center; gap:6px; }
.service-link:hover{ gap: 10px; color: var(--color-orange-dark); }

/* =========================================================
   10) لماذا نحن
========================================================= */
.why-us-section{
	background: linear-gradient(135deg, var(--color-navy-950), var(--color-navy-800));
	position: relative;
}
.why-us-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.why-card{
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--radius-md);
	padding: 30px 24px;
	text-align: center;
	transition: var(--transition);
}
.why-card:hover{ background: rgba(255,255,255,0.1); transform: translateY(-5px); }
.why-icon{
	width: 64px; height: 64px; margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--color-orange);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 1.6rem;
}
.why-card h3{ color: #fff; font-size: 1.1rem; }
.why-card p{ color: rgba(255,255,255,0.7); font-size: 0.92rem; margin: 0; }

/* about page variant (light bg) */
.why-us-grid-light .why-card{ background: var(--color-off-white); border: 1px solid var(--color-gray-100); }
.why-us-grid-light .why-card:hover{ background:#fff; }
.why-us-grid-light .why-card h3{ color: var(--color-navy-900); }
.why-us-grid-light .why-card p{ color: var(--color-gray-500); }

/* =========================================================
   11) معرض الأعمال
========================================================= */
.gallery-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.gallery-item{
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 4/3;
	box-shadow: var(--shadow-sm);
}
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-placeholder{
	width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--color-gray-100), var(--color-gray-300));
	display: flex; align-items: center; justify-content: center;
	color: var(--color-gray-500); font-size: 2rem;
}
.gallery-caption{
	position: absolute; inset: auto 0 0 0;
	background: linear-gradient(0deg, rgba(10,31,61,0.85), transparent);
	color: #fff; padding: 30px 16px 14px;
}
.gallery-caption h4{ color: #fff; font-size: 0.95rem; margin: 0; }
.gallery-hint{ text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--color-gray-500); }
.gallery-hint i{ color: var(--color-orange); }

/* =========================================================
   12) آراء العملاء
========================================================= */
.testimonials-section{ background: var(--color-navy-900); }
.testimonials-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.testimonial-card{
	background: #fff;
	border-radius: var(--radius-md);
	padding: 28px 24px;
	box-shadow: var(--shadow-md);
}
.testimonial-stars{ margin-bottom: 14px; }
.star-filled{ color: var(--color-orange); }
.star-empty{ color: var(--color-gray-300); }
.testimonial-text{ font-size: 0.95rem; color: var(--color-gray-700); margin-bottom: 20px; min-height: 80px; }
.testimonial-author{ display: flex; align-items: center; gap: 12px; }
.author-avatar{
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--color-orange);
	color: #fff; display:flex; align-items:center; justify-content:center;
	font-weight: 800; font-family: var(--font-display);
}
.testimonial-author strong{ display:block; color: var(--color-navy-900); font-size: 0.95rem; }
.testimonial-author span{ font-size: 0.8rem; color: var(--color-gray-500); }

/* =========================================================
   13) الأسئلة الشائعة
========================================================= */
.faq-list{ display: flex; flex-direction: column; gap: 14px; }
.faq-item{ background: var(--color-off-white); border-radius: var(--radius-md); overflow: hidden; }
.faq-question{
	width: 100%;
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 24px;
	font-weight: 700; font-size: 1rem; color: var(--color-navy-900);
	text-align: right;
}
.faq-question i{ color: var(--color-orange); transition: transform 0.3s ease; }
.faq-item.is-open .faq-question i{ transform: rotate(45deg); }
.faq-answer{
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 24px;
}
.faq-item.is-open .faq-answer{ max-height: 400px; padding: 0 24px 22px; }
.faq-answer p{ margin: 0; color: var(--color-gray-700); }

/* =========================================================
   14) شريط CTA
========================================================= */
.cta-band{
	background: linear-gradient(120deg, var(--color-orange-dark), var(--color-orange));
	padding: 40px 0;
}
.cta-band-standalone{ border-radius: var(--radius-lg); margin: 0 20px 0; max-width: calc(var(--container-width) - 40px); margin-inline:auto; }
.cta-band-inner{
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band-text h3{ color: #fff; margin-bottom: 6px; font-size: 1.4rem; }
.cta-band-text p{ color: rgba(255,255,255,0.9); margin: 0; }
.cta-band-actions{ display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-whatsapp{ background: #fff; color: #1DAE54; }
.cta-band .btn-whatsapp:hover{ background: var(--color-navy-950); color: #fff; }

/* =========================================================
   15) الفوتر
========================================================= */
.site-footer{ background: var(--color-navy-950); color: rgba(255,255,255,0.75); }
.footer-grid{
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding: 60px 20px 40px;
}
.footer-logo{ display:flex; align-items:center; gap:8px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
.footer-logo i{ color: var(--color-orange); }
.footer-about p{ color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-social{ display: flex; gap: 10px; margin-top: 16px; }
.footer-social a{
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,0.08);
	display:flex; align-items:center; justify-content:center; color:#fff;
}
.footer-social a:hover{ background: var(--color-orange); }
.footer-widget-title{ color:#fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-links li, .footer-contact li{ margin-bottom: 12px; font-size: 0.92rem; }
.footer-links a{ color: rgba(255,255,255,0.7); }
.footer-links a:hover{ color: var(--color-orange); }
.footer-contact li{ display:flex; align-items:center; gap:8px; color: rgba(255,255,255,0.7); }
.footer-contact a{ color: rgba(255,255,255,0.7); display:flex; align-items:center; gap:8px; }
.footer-contact a:hover{ color: var(--color-orange); }
.footer-contact i{ color: var(--color-orange); width: 16px; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom-inner{ display:flex; justify-content: space-between; flex-wrap: wrap; gap:8px; font-size: 0.82rem; }
.footer-bottom p{ margin:0; color: rgba(255,255,255,0.55); }

/* =========================================================
   16) صفحات داخلية عامة (Hero فرعي، بطاقات محتوى)
========================================================= */
.page-hero{
	background: linear-gradient(120deg, var(--color-navy-950), var(--color-navy-800));
	color: #fff;
	padding: 70px 0 50px;
	text-align: center;
}
.page-hero h1{ color:#fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.page-hero p{ color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto; }
.page-hero-actions{ display:flex; justify-content:center; gap:16px; margin-top: 24px; flex-wrap: wrap; }

.content-card{
	background: #fff;
	border-radius: var(--radius-md);
	padding: 40px;
	box-shadow: var(--shadow-sm);
	margin-bottom: 30px;
}
.content-card h2{ font-size: 1.4rem; }

.about-values-grid{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 24px;
	margin-bottom: 20px;
}
.about-value-card{
	background: var(--color-off-white);
	border-radius: var(--radius-md);
	padding: 28px 24px;
	text-align: center;
}
.about-value-card i{ font-size: 1.8rem; color: var(--color-orange); margin-bottom: 12px; }
.about-value-card h3{ font-size: 1.05rem; }
.about-value-card p{ font-size: 0.9rem; margin: 0; }

.services-grid-full{ grid-template-columns: repeat(4,1fr); }
.services-note-section{ background: var(--color-off-white); padding-top: 0; }

/* =========================================================
   17) صفحة اتصل بنا
========================================================= */
.contact-quick-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 50px;
}
.contact-quick-card{
	background: var(--color-off-white);
	border-radius: var(--radius-md);
	padding: 28px 20px;
	text-align: center;
	display: block;
	transition: var(--transition);
}
.contact-quick-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-quick-card i{ font-size: 1.6rem; color: var(--color-orange); margin-bottom: 12px; }
.contact-quick-card h3{ font-size: 1rem; margin-bottom: 6px; }
.contact-quick-card span{ font-size: 0.88rem; color: var(--color-gray-500); font-weight: 700; }
.contact-quick-whatsapp i{ color: #25D366; }

.contact-form-wrap{
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 30px;
	align-items: start;
}
.contact-form-card{
	background: #fff;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	padding: 40px;
}
.contact-side-card{
	background: linear-gradient(135deg, var(--color-navy-950), var(--color-navy-800));
	border-radius: var(--radius-md);
	padding: 34px;
	color: #fff;
}
.contact-side-card h3{ color:#fff; }
.contact-side-card p{ color: rgba(255,255,255,0.75); }
.contact-side-card .btn{ margin-bottom: 12px; }
.contact-side-note{ display:flex; gap:10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.contact-side-note i{ color: var(--color-orange); }
.contact-side-note p{ margin:0; font-size: 0.85rem; }

.form-row{ margin-bottom: 20px; }
.form-row label{ display:block; margin-bottom: 8px; font-weight: 700; color: var(--color-navy-900); font-size: 0.92rem; }
.form-row input, .form-row select, .form-row textarea{
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--color-gray-300);
	border-radius: var(--radius-sm);
	background: var(--color-off-white);
	transition: var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
	outline: none;
	border-color: var(--color-orange);
	background: #fff;
}
.form-alert{ padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 700; display:flex; gap:10px; align-items:center; }
.form-alert-success{ background: rgba(31,164,99,0.1); color: var(--color-success); }
.form-alert-error{ background: rgba(214,72,60,0.1); color: var(--color-danger); }

/* =========================================================
   18) مدونة عامة
========================================================= */
.blog-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card{ background:#fff; border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-sm); }
.blog-card-thumb{ display:block; aspect-ratio: 16/10; overflow:hidden; }
.blog-card-thumb img{ width:100%; height:100%; object-fit:cover; }
.blog-card-body{ padding: 22px; }
.blog-card-body h2{ font-size: 1.1rem; }
.blog-card-body h2 a:hover{ color: var(--color-orange); }
.pagination-wrap{ margin-top: 40px; text-align:center; }
.pagination-wrap .page-numbers{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; margin:0 4px; border-radius: 8px; background: var(--color-off-white); font-weight:700; }
.pagination-wrap .page-numbers.current{ background: var(--color-orange); color:#fff; }

/* =========================================================
   19) حركات الظهور عند التمرير (Reveal on scroll)
========================================================= */
.reveal{
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
	.reveal{ opacity:1; transform:none; transition:none; }
	.floating-btn{ animation:none; }
}

/* =========================================================
   20) الاستجابة للجوال (Responsive)
========================================================= */
@media (max-width: 1024px){
	.services-grid, .services-grid-full{ grid-template-columns: repeat(3,1fr); }
	.why-us-grid, .about-values-grid{ grid-template-columns: repeat(2,1fr); }
	.gallery-grid{ grid-template-columns: repeat(3,1fr); }
	.testimonials-grid{ grid-template-columns: repeat(2,1fr); }
	.footer-grid{ grid-template-columns: 1fr 1fr; }
	.blog-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px){
	.top-bar-item:not(.top-bar-phone){ display:none; }
	.top-bar-inner{ justify-content: center; }
	.main-navigation{
		position: fixed;
		inset: 0 0 0 auto;
		width: 78%;
		max-width: 320px;
		background: #fff;
		box-shadow: var(--shadow-lg);
		padding: 90px 24px 24px;
		transform: translateX(100%);
		transition: transform 0.35s ease;
		z-index: 600;
	}
	[dir="rtl"] .main-navigation{ inset: 0 auto 0 0; transform: translateX(-100%); }
	.main-navigation.is-open{ transform: translateX(0); }
	.main-navigation .nav-menu{ flex-direction: column; align-items: stretch; gap: 4px; }
	.main-navigation .nav-menu > li > a{ padding: 14px 16px; }
	.mobile-menu-toggle{ display: flex; }
	.header-actions .btn span{ display: none; }
	.header-actions .btn{ padding: 12px; }

	.contact-form-wrap{ grid-template-columns: 1fr; }
	.stats-grid{ grid-template-columns: repeat(2,1fr); }
	.stat-item:nth-child(2){ border-left:none; }
}

@media (max-width: 640px){
	.services-grid, .services-grid-full{ grid-template-columns: 1fr 1fr; }
	.why-us-grid, .about-values-grid{ grid-template-columns: 1fr; }
	.gallery-grid{ grid-template-columns: 1fr 1fr; }
	.testimonials-grid{ grid-template-columns: 1fr; }
	.footer-grid{ grid-template-columns: 1fr; text-align: center; }
	.footer-social{ justify-content: center; }
	.footer-bottom-inner{ justify-content: center; text-align: center; }
	.blog-grid{ grid-template-columns: 1fr; }
	.contact-quick-grid{ grid-template-columns: 1fr 1fr; }
	.cta-band-inner{ text-align:center; justify-content:center; }
	.hero{ padding: 70px 0 50px; text-align: center; }
	.hero-content{ margin: 0 auto; }
	.hero-actions, .hero-points{ justify-content: center; }
	.section{ padding: 56px 0; }
	.floating-btn{ width: 50px; height: 50px; font-size: 1.3rem; }
}

@media (max-width: 420px){
	.services-grid, .services-grid-full, .gallery-grid, .contact-quick-grid{ grid-template-columns: 1fr; }
}
