/*
Theme Name: itqan-clean
Description: قالب WordPress كلاسيكي نظيف وسريع لموقع إتقان للخدمات العامة والتعقيب (virtualcc.site) — عربي RTL، صديق لمحركات البحث، بدون محتوى مكرر مخفي، بدون تبعيات خارجية.
Author: Itqan
Author URI: https://virtualcc.site/
Version: 1.1.0
Text Domain: itqan-clean
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =====================================================
   1) الخطوط — Cairo مستضاف ذاتيًا على مجلد القالب القديم
   ===================================================== */
@font-face {
  font-family: 'Cairo';
  src: url('https://virtualcc.site/wp-content/themes/itqan-theme/fonts/cairo-arabic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('https://virtualcc.site/wp-content/themes/itqan-theme/fonts/cairo-arabic.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('https://virtualcc.site/wp-content/themes/itqan-theme/fonts/cairo-arabic.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =====================================================
   2) متغيرات التصميم وتهيئة أساسية (Reset-lite)
   ===================================================== */
:root {
  --teal: #0F766E;
  --teal-dark: #0D5F59;
  --teal-soft: #E6F4F2;
  --navy: #0F172A;
  --navy-2: #16223B;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --ink: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --amber: #D97706;
  --wa: #25D366;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
  --container: 1200px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Cairo', 'Segoe UI', Tahoma, 'Noto Kufi Arabic', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* منطقة المحتوى الرئيسية تتمدد لدفع الفوتر إلى أسفل الشاشة (Sticky Footer) */
.site-main {
  flex: 1 0 auto;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

p { margin: 0 0 1em; }

figure { margin: 0 0 1.5em; }

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

/* إتاحة الوصول: روابط وعناصر مخفية بصريًا */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

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

/* =====================================================
   3) الأزرار
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; box-shadow: 0 8px 20px rgba(15, 118, 110, 0.30); }

.btn-secondary { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-soft); color: var(--teal-dark); border-color: var(--teal-dark); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1FB855; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.30); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.10); color: #fff; border-color: #fff; }

.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: var(--teal-soft); color: var(--teal-dark); }

.btn-sm { padding: 8px 18px; min-height: 40px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 17px; }

/* =====================================================
   4) الهيدر
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--border), 0 6px 18px rgba(15, 23, 42, 0.06);
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

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

.brand { flex: none; }
.brand-logo,
.custom-logo-link { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { color: var(--ink); }
.brand-logo:hover { color: var(--teal); }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 20px; font-weight: 700; color: var(--navy); }
.brand-text small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.custom-logo { max-height: 52px; width: auto; }

.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  color: var(--teal);
  background: var(--teal-soft);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone:hover { color: var(--teal); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* قائمة الجوال (لوحة منسدلة تحت الهيدر) */
.itqan-mobile-menu {
  position: fixed;
  inset-inline: 0;
  top: var(--header-h);
  z-index: 45;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 18px 20px 26px;
}
body.admin-bar .itqan-mobile-menu { top: calc(32px + var(--header-h)); }
@media screen and (max-width: 782px) {
  body.admin-bar .itqan-mobile-menu { top: calc(46px + var(--header-h)); }
}
.itqan-mobile-menu[hidden] { display: none; }
.itqan-mobile-menu nav + .mobile-menu-actions { margin-top: 16px; }

.mobile-nav-list li + li { border-top: 1px solid var(--bg-alt); }
.mobile-nav-list a {
  display: block;
  padding: 13px 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.mobile-nav-list a:hover { color: var(--teal); }

.mobile-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* =====================================================
   5) الهيرو (الصفحة الرئيسية)
   ===================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 85% at 82% 15%, rgba(15, 118, 110, 0.38), transparent 62%),
    radial-gradient(42% 55% at 8% 95%, rgba(15, 118, 110, 0.22), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
  padding-block: 84px 56px;
}
.hero h1 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 40px;
  line-height: 1.4;
}
.hero-sub {
  max-width: 580px;
  margin-bottom: 30px;
  color: #CBD5E1;
  font-size: 18px;
  font-weight: 400;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.38);
}

.trust-badges {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 64px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #E2E8F0;
  font-size: 14px;
  font-weight: 600;
}
.trust-badge svg { color: #5EEAD4; flex: none; }

/* =====================================================
   6) الأقسام العامة
   ===================================================== */
.section { padding-block: 76px; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head h2 { font-size: 30px; }
.section-head p { color: var(--muted); font-size: 17px; }

.section-empty {
  padding: 28px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* =====================================================
   7) بطاقات الخدمات والمقالات
   ===================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card,
.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover,
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 23px;
  font-weight: 700;
}
.service-card-title { font-size: 18px; margin-bottom: 8px; }
.service-card-title a { color: var(--ink); }
.service-card-title a:hover { color: var(--teal); }
.service-card-excerpt {
  flex: 1;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
}
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}
.card-more:hover { color: var(--teal-dark); }

.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card-media { display: block; }
.post-card-media img,
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-soft), #F1F5F9);
  color: var(--teal);
  font-size: 26px;
  font-weight: 700;
}
.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}
.post-card-date {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.post-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.post-card-body h3 a { color: var(--ink); }
.post-card-body h3 a:hover { color: var(--teal); }
.post-card-body p {
  flex: 1;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
}

/* =====================================================
   8) لماذا نختار إتقان (الميزات)
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--teal-soft);
  color: var(--teal);
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* =====================================================
   9) خطوات العمل
   ===================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.step-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* =====================================================
   10) الأسئلة الشائعة (Accordion)
   ===================================================== */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq-q { margin: 0; }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 17px 20px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: start;
  transition: color 0.2s ease;
}
.faq-btn:hover { color: var(--teal); }
.faq-icon { flex: none; color: var(--teal); transition: transform 0.25s ease; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s ease, visibility 0.3s ease;
}
.faq-item.is-open .faq-a { max-height: 980px; visibility: visible; }
.faq-a-inner {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15.5px;
}
.faq-a-inner p:last-child { margin-bottom: 0; }

/* =====================================================
   11) شريط الدعوة لاتخاذ إجراء (CTA)
   ===================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal), #0B5B55);
  color: #fff;
  padding-block: 60px;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 85% 20%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 0; }
.cta-band p {
  max-width: 640px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =====================================================
   12) مسار التنقل (Breadcrumb)
   ===================================================== */
.breadcrumb-wrap { margin-bottom: 14px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94A3B8;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "/";
  color: #64748B;
}
.breadcrumb a { color: #E2E8F0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .is-current span { color: #CBD5E1; }

/* داخل سياق فاتح (احتياطي) */
.section .breadcrumb-wrap { margin-bottom: 22px; }
.section .breadcrumb,
.section .breadcrumb a,
.section .breadcrumb .is-current span { color: var(--muted); }
.section .breadcrumb a { color: var(--teal); }
.section .breadcrumb li + li::before { color: #CBD5E1; }

/* =====================================================
   13) ترويسة الصفحات الداخلية (Page Hero)
   ===================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding-block: 52px 46px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 90% at 85% 10%, rgba(15, 118, 110, 0.30), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 33px;
  line-height: 1.4;
}
.page-hero-lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: #CBD5E1;
  font-size: 17.5px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #94A3B8;
  font-size: 14px;
  font-weight: 600;
}
.post-meta time { color: #E2E8F0; }
.post-meta .dot { color: #64748B; }

/* =====================================================
   14) صفحات المحتوى المفرد + الشريط الجانبي
   ===================================================== */
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
  padding-block: 48px 76px;
}
.single-content { min-width: 0; }

.single-thumb { margin-bottom: 28px; }
.single-thumb img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.prose {
  font-size: 17px;
  color: #1E293B;
  overflow-wrap: break-word;
}
.prose h2 { font-size: 26px; margin-top: 1.7em; }
.prose h3 { font-size: 21px; margin-top: 1.5em; }
.prose h4 { font-size: 18px; margin-top: 1.3em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-inline-start: 26px; margin: 0 0 1em; }
.prose ol { list-style: decimal; padding-inline-start: 26px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  margin: 0 0 1em;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-inline-start: 4px solid var(--teal);
  border-radius: 10px;
  color: var(--muted);
}
.prose img { border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.prose th,
.prose td { padding: 9px 12px; border: 1px solid var(--border); text-align: start; }
.prose th { background: var(--bg-alt); }

.info-box {
  margin-block: 34px;
  padding: 22px 24px;
  background: var(--teal-soft);
  border: 1px solid rgba(15, 118, 110, 0.25);
  border-radius: 13px;
}
.info-box h2 { font-size: 19px; margin-bottom: 8px; color: var(--teal-dark); }
.info-box p { color: var(--muted); font-size: 15.5px; }
.info-box .btn { margin-top: 6px; }

.single-aside { position: sticky; top: calc(var(--header-h) + 24px); }
body.admin-bar .single-aside { top: calc(32px + var(--header-h) + 24px); }
.aside-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.aside-title { font-size: 19px; margin-bottom: 0; }
.aside-text { margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.aside-hours {
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--bg-alt);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.related-section { margin-top: 44px; }
.related-section h2 { font-size: 24px; margin-bottom: 20px; }
.related-grid { grid-template-columns: repeat(2, 1fr); }

/* صندوق الكاتب */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 44px;
  padding: 20px 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.author-box h2 { font-size: 17px; margin-bottom: 4px; }
.author-box p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* أزرار المشاركة */
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.share-label { font-weight: 700; color: var(--muted); font-size: 15px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.share-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-soft); }

/* =====================================================
   15) صفحة اتصل بنا والنماذج
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}
.contact-card,
.form-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-card h2,
.form-card h2 { font-size: 20px; margin-bottom: 18px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-list li:last-child { margin-bottom: 0; }
.contact-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
}
.contact-list strong { display: block; font-size: 14px; color: var(--ink); }
.contact-list a,
.contact-list span { color: var(--muted); font-size: 15px; }
.contact-list a:hover { color: var(--teal); }

.form-grid { display: grid; gap: 16px; }
.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}
.form-field .req { color: var(--amber); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
  outline: none;
}
.form-note { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* نموذج البحث */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin-inline: auto;
}
.search-form input[type="search"] {
  flex: 1;
  min-height: 48px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.search-form input[type="search"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16);
  outline: none;
}
.search-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  background: var(--teal);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.search-form button:hover { background: var(--teal-dark); }

/* =====================================================
   16) الفوتر
   ===================================================== */
.site-footer {
  margin-top: auto;
  background: var(--navy);
  color: #CBD5E1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 1fr 1.2fr;
  gap: 34px;
  padding-block: 58px 42px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #94A3B8; }
.footer-desc {
  margin: 16px 0 18px;
  color: #94A3B8;
  font-size: 14.5px;
  max-width: 340px;
}
.site-footer h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 17px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #CBD5E1;
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.social-btn:hover { background: var(--teal); color: #fff; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14.5px;
}
.footer-contact svg { flex: none; margin-top: 4px; color: #5EEAD4; }
.footer-contact a { color: #CBD5E1; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 18px;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: #94A3B8;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #94A3B8; }
.footer-legal a:hover { color: #fff; }

/* =====================================================
   17) الأزرار العائمة (واتساب + اتصال)
   ===================================================== */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-btn:hover { transform: translateY(-3px); color: #fff; }
.fb-wa { background: var(--wa); }
.fb-wa:hover { background: #1FB855; }
.fb-phone { background: var(--teal); }
.fb-phone:hover { background: var(--teal-dark); }

/* =====================================================
   18) الترقيم (Pagination) وصفحة 404
   ===================================================== */
.pagination-wrap { margin-top: 44px; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pagination .page-numbers:hover { border-color: var(--teal); color: var(--teal); }
.pagination .page-numbers.current,
.pagination .page-numbers.dots { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination .page-numbers.dots { border-color: var(--teal); }

.error-404 {
  padding-block: 76px;
  text-align: center;
}
.error-404-code {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}
.error-404 p { max-width: 560px; margin: 0 auto 24px; color: var(--muted); font-size: 17px; }
.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

/* =====================================================
   19) حركات الظهور عند التمرير (تُفعَّل فقط مع الجافاسكربت)
   ===================================================== */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .faq-a { transition: none; }
  .btn, .service-card, .post-card, .floating-btn { transition: none; }
}

/* =====================================================
   20) التجاوب (Mobile-first breakpoints)
   ===================================================== */
@media (max-width: 1100px) {
  .hero h1 { font-size: 35px; }
  .cards-grid { gap: 20px; }
}

@media (max-width: 992px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 60px 44px; }
  .hero-media { max-width: 560px; }
  .hero h1 { font-size: 32px; }
  .single-layout { grid-template-columns: 1fr; padding-block: 36px 60px; }
  .single-aside { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding-block: 60px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; margin-inline-start: auto; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding-inline: 16px; }
  .cards-grid,
  .features-grid,
  .steps-grid,
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 34px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 16px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); padding-bottom: 44px; }
  .trust-badge { font-size: 13px; padding: 11px 12px; }
  .section { padding-block: 48px; }
  .section-head h2 { font-size: 24px; }
  .cta-band h2 { font-size: 24px; }
  .page-hero { padding-block: 40px 36px; }
  .page-hero h1 { font-size: 26px; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .mobile-menu-actions { grid-template-columns: 1fr; }
  .floating-buttons { bottom: 14px; left: 14px; }
  .floating-btn { width: 52px; height: 52px; }
  .pagination .page-numbers { padding: 6px 12px; }
}

/* =====================================================
   21) شريط تمرير أنيق للوحات القابلة للتمرير
   ===================================================== */
.itqan-mobile-menu::-webkit-scrollbar { width: 8px; }
.itqan-mobile-menu::-webkit-scrollbar-track { background: var(--bg-alt); }
.itqan-mobile-menu::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 8px; }
.itqan-mobile-menu::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* =====================================================
   22) الطباعة (Print-friendly)
   ===================================================== */
@media print {
  .site-header,
  .itqan-mobile-menu,
  .floating-buttons,
  .cta-band,
  .share-row,
  .single-aside,
  .footer-social,
  .pagination-wrap,
  .skip-link { display: none !important; }
  body { color: #000; background: #fff; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #000; }
  .site-footer h2, .footer-brand .brand-text strong { color: #000; }
  .hero, .page-hero { background: #fff !important; color: #000; }
  .hero h1, .page-hero h1, .hero-sub, .page-hero-lead { color: #000 !important; }
  .hero::before, .page-hero::before { display: none; }
  .btn { border: 1px solid #000; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .prose { font-size: 12pt; }
}
