﻿/*!
Theme Name: رواد النخبة
Theme URI: https://alnokhba.example
Author: رواد النخبة
Author URI: https://alnokhba.example
Description: قالب ووردبريس لشركة رواد النخبة للخدمات المنزلية - عزل أسطح، عزل خزانات، كشف تسربات، تسليك مجاري، ترميم. متجاوب بالكامل ودعم RTL.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alnokhba
*!

/* ============================================================
   Ø±ÙˆØ§Ø¯ Ø§Ù„Ù†Ø®Ø¨Ø© | Ù‡ÙŠÙƒÙ„ Ø´Ø±ÙƒØ§Øª â€” Ø£Ø¨ÙŠØ¶ Ù†Ù‚ÙŠ + Ø£Ø²Ø±Ù‚ ÙƒØ­Ù„ÙŠ
   ============================================================ */

:root {
    --navy-900: #0d2445;
    --navy-800: #112c54;
    --navy-700: #173a6e;
    --navy-600: #1d4688;
    --blue-500: #2b6cb0;
    --blue-400: #4a8fd6;
    --blue-300: #7fb0e3;
    --sky: #eaf2fb;
    --white: #ffffff;
    --gray-50: #f7f9fc;
    --gray-100: #eef2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-600: #55627a;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --green: #1a9c4f;
    --red: #dc2626;
    --radius: 14px;
    --shadow-sm: 0 3px 12px rgba(13, 36, 69, 0.06);
    --shadow: 0 10px 30px rgba(13, 36, 69, 0.10);
    --shadow-lg: 0 22px 55px rgba(13, 36, 69, 0.14);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --font-head: 'Cairo', sans-serif;
    --font-body: 'Almarai', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

/* Ø±Ø£Ø³ Ù‚Ø³Ù… Ø§Ù„Ù…Ø¯ÙˆÙ†Ø© Ù…Ø¹ Ø²Ø± Ø¹Ø±Ø¶ Ø§Ù„ÙƒÙ„ */
.cat-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.cat-head .section-head { margin-bottom: 0; }
.cat-head .section-tag { background: var(--navy-800); color: #fff; }
.cat-head .section-title { font-size: var(--fs-30, 30px); }
.cat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--navy-700);
    background: var(--sky);
    border: 1.5px solid var(--blue-300);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    transition: all var(--ease);
    white-space: nowrap;
}
.cat-link i { font-size: 12px; transition: transform var(--ease); }
.cat-link:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.cat-link:hover i { transform: translateX(-4px); }
.blog-more { text-align: center; margin-top: 44px; }

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
}

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

/* الصور داخل محتوى المقال */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

/* الصورة البارزة في صفحة المقال */
.article-hero-img {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--shadow-lg);
}

.article-hero-img img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ============ Ø£Ø²Ø±Ø§Ø± ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-navy {
    background: var(--navy-700);
    color: #fff;
    box-shadow: 0 10px 26px rgba(23, 58, 110, 0.28);
}

.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(13,36,69,0.35); }

.btn-outline {
    border-color: var(--navy-700);
    color: var(--navy-700);
    background: transparent;
}

.btn-outline:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

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

.btn-ghost { background: var(--sky); color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-700); color: #fff; }

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

/* ============ Ø§Ù„Ø´Ø±ÙŠØ· Ø§Ù„Ø¹Ù„ÙˆÙŠ ============ */
.topbar {
    background: var(--navy-900);
    color: rgba(255,255,255,0.85);
    font-size: 0.83rem;
    padding: 9px 0;
}

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

.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }

.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; }
.topbar-info a:hover { color: var(--blue-300); }
.topbar-info i { color: var(--blue-300); }

.topbar-social { display: flex; gap: 8px; }

.topbar-social a {
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    font-size: 0.76rem;
    transition: all 0.3s var(--ease);
}

.topbar-social a:hover { background: var(--blue-400); color: #fff; }

/* ============ Ø§Ù„Ù‡ÙŠØ¯Ø± ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.35s var(--ease);
}

.header.scrolled { box-shadow: var(--shadow); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; }

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

.logo-mark {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
    display: grid; place-items: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-head); font-size: 1.28rem; font-weight: 900; color: var(--navy-800); }
.logo-name b { color: var(--navy-600); }
.logo-sub { font-size: 0.7rem; color: var(--gray-500); font-weight: 700; letter-spacing: 0.5px; }

.nav ul { display: flex; gap: 4px; }

.nav ul li {
    position: relative;
}

.nav ul a {
    padding: 9px 16px;
    border-radius: 9px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: all 0.3s var(--ease);
    position: relative;
    display: block;
}

.nav ul a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    right: 16px;
    left: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy-600);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease);
}

.nav ul a:hover, .nav ul a.active { color: var(--navy-700); }
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); }
.nav ul a.active { background: var(--sky); }

/* القوائم المنسدلة (Dropdown) */
.nav ul li:hover > .sub-menu,
.nav ul li.focus > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
    z-index: 1000;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
}

.nav .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.nav .sub-menu a {
    padding: 10px 16px;
    display: block;
    color: var(--gray-700);
    border-radius: 8px;
    transition: all 0.3s var(--ease);
    width: 100%;
}

.nav .sub-menu a:hover {
    background: var(--sky);
    color: var(--navy-700);
    padding-right: 20px;
}

.nav .sub-menu a::after {
    display: none;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { padding: 11px 22px; font-size: 0.92rem; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 46px; height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: none;
    background: var(--navy-700);
}

.burger span { width: 20px; height: 2.5px; background: #fff; border-radius: 3px; transition: all 0.35s var(--ease); }

.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Ø¹Ù†Ø§ÙˆÙŠÙ† Ø§Ù„Ø£Ù‚Ø³Ø§Ù… ============ */
.section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-50); }
.section-sky { background: var(--sky); }
.section-navy { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sky);
    color: var(--navy-700);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-navy .section-tag { background: rgba(255,255,255,0.1); color: var(--blue-300); }
.section-navy .section-title { color: #fff; }
.section-navy .section-desc { color: rgba(255,255,255,0.75); }

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--navy-800);
    line-height: 1.35;
    margin-bottom: 14px;
}

.section-desc { color: var(--gray-500); font-size: 1.03rem; }

.text-navy { color: var(--navy-700); }

/* ============ Ø§Ù„Ù‡ÙŠØ±Ùˆ (Ø§Ù„Ø±Ø¦ÙŠØ³ÙŠØ©) ============ */
.hero {
    position: relative;
    background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
    color: #fff;
    overflow: hidden;
    padding: 96px 0 130px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75,140,220,0.25), transparent 65%);
    top: -160px; left: -120px;
    filter: blur(40px);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 7px 16px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 26px;
    animation: fadeUp 0.8s var(--ease) both;
}

.hero-badge i { color: var(--blue-300); }

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.3rem, 4.8vw, 3.5rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 22px;
    animation: fadeUp 0.8s var(--ease) 0.12s both;
}

.hero h1 .hl {
    color: var(--blue-300);
    position: relative;
}

.hero-desc {
    max-width: 560px;
    font-size: 1.07rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 34px;
    animation: fadeUp 0.8s var(--ease) 0.24s both;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; animation: fadeUp 0.8s var(--ease) 0.36s both; }

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s var(--ease) 0.48s both;
}

.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 700; }
.hero-trust-item i { color: var(--blue-300); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ø¨Ø·Ø§Ù‚Ø© Ø§Ù„Ù‡ÙŠØ±Ùˆ */
.hero-visual { position: relative; animation: fadeUp 0.9s var(--ease) 0.3s both; }

.hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.hero-card h3 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 18px; color: #fff; display: flex; align-items: center; gap: 10px; }
.hero-card h3 i { color: var(--blue-300); }

.hero-svc-list { display: grid; gap: 12px; margin-bottom: 22px; }

.hero-svc {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 13px 16px;
    transition: all 0.3s var(--ease);
}

.hero-svc:hover { background: rgba(255,255,255,0.12); transform: translateX(-4px); }

.hero-svc .svc-ic {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--blue-400);
    color: #fff;
    display: grid; place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-svc b { display: block; font-family: var(--font-head); font-size: 0.94rem; line-height: 1.2; color: #fff; }
.hero-svc span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

.hero-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-rate { display: flex; align-items: center; gap: 10px; }
.hero-rate .stars { color: #f5b83d; font-size: 0.8rem; }
.hero-rate b { font-family: var(--font-head); color: #fff; font-size: 1.05rem; display: block; line-height: 1; }
.hero-rate span { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* Ø¥Ø­ØµØ§Ø¦ÙŠØ§Øª Ø§Ù„Ù‡ÙŠØ±Ùˆ */
.hero-stats {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin-top: -80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.hstat { padding: 30px 16px; text-align: center; position: relative; }

.hstat:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0; top: 24%; bottom: 24%;
    width: 1px;
    background: var(--gray-200);
}

.hstat b {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--navy-700);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.hstat b span { font-size: 1.1rem; color: var(--navy-600); }

.hstat p { font-size: 0.9rem; color: var(--gray-500); font-weight: 600; }

/* ============ Ø¨Ø·Ø§Ù‚Ø§Øª Ø¹Ø§Ù…Ø© ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* شبكة المدونة */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* بطاقات المقالات */
.post-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.post-thumb {
    position: relative;
    overflow: hidden;
    height: 220px;
    display: block;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.post-card:hover .post-thumb img {
    transform: scale(1.08);
}

.post-cat {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--navy-700);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 2;
}

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

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 600;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    color: var(--navy-600);
}

.post-body h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 10px;
    line-height: 1.5;
}

.post-body h3 a {
    color: inherit;
    transition: color 0.3s;
}

.post-body h3 a:hover {
    color: var(--navy-600);
}

.post-body > p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 18px;
    flex: 1;
    line-height: 1.7;
}

.post-link {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--navy-700);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s var(--ease);
    align-self: flex-start;
}

.post-link:hover {
    gap: 14px;
    color: var(--navy-900);
}

/* ============ Ø¨Ø·Ø§Ù‚Ø§Øª Ø§Ù„Ø®Ø¯Ù…Ø© (Ø§Ù„Ø±Ø¦ÙŠØ³ÙŠØ©) ============ */
.svc-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: all 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: "";
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 3px;
    background: var(--navy-600);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }

.svc-card .svc-ic {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--sky);
    color: var(--navy-700);
    display: grid; place-items: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.35s var(--ease);
}

.svc-card:hover .svc-ic { background: var(--navy-700); color: #fff; }

.svc-card h3 { font-family: var(--font-head); font-size: 1.18rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }

.svc-card > p { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 16px; flex: 1; }

.svc-card ul { display: grid; gap: 8px; margin-bottom: 20px; }

.svc-card ul li { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--gray-700); font-weight: 600; }
.svc-card ul li i { color: var(--navy-600); flex-shrink: 0; }

.svc-link {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--navy-700);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s var(--ease);
}

.svc-link:hover { gap: 14px; color: var(--navy-900); }

/* ============ Ø¨Ø·Ø§Ù‚Ø§Øª Ø§Ù„Ù…Ø²Ø§ÙŠØ§ ============ */
.feat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.35s var(--ease);
}

.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-300); }

.feat-card .feat-ic {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--navy-700);
    display: grid; place-items: center;
    font-size: 1.25rem;
    transition: all 0.35s var(--ease);
}

.feat-card:hover .feat-ic { background: var(--navy-700); color: #fff; }

.feat-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--navy-800); margin-bottom: 8px; }
.feat-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ============ Ù‚Ø³Ù… Ù…Ù† Ù†Ø­Ù† (Ø§Ù„Ø±Ø¦ÙŠØ³ÙŠØ©) ============ */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }

.about-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img { height: 480px; width: 100%; object-fit: cover; }

.about-img .about-badge {
    position: absolute;
    bottom: 22px; right: 22px;
    background: var(--navy-700);
    color: #fff;
    border-radius: 14px;
    padding: 16px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-badge b { font-family: var(--font-head); font-size: 1.6rem; line-height: 1; display: block; }
.about-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

.about-content .section-tag { margin-bottom: 14px; }
.about-content .section-title { margin-bottom: 16px; }
.about-content .section-desc { margin-bottom: 24px; }

.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }

.about-feats li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--gray-700);
}

.about-feats li i {
    width: 32px; height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--sky);
    color: var(--navy-700);
    display: grid; place-items: center;
    font-size: 0.85rem;
}

/* ============ Ø®Ø·ÙˆØ§Øª Ø§Ù„Ø¹Ù…Ù„ ============ */
.step-card { text-align: center; padding: 30px 20px; position: relative; }

.step-num {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 3rem;
    color: var(--gray-200);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.step-card:hover .step-num { color: var(--blue-300); }

.step-ic {
    width: 64px; height: 64px;
    margin: 8px auto 16px;
    border-radius: 50%;
    background: var(--navy-700);
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.3rem;
    box-shadow: 0 10px 24px rgba(23,58,110,0.3);
}

.step-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--navy-800); margin-bottom: 6px; }
.step-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ============ Ø¢Ø±Ø§Ø¡ Ø§Ù„Ø¹Ù…Ù„Ø§Ø¡ ============ */
.testi-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 30px;
    transition: all 0.35s var(--ease);
}

.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.testi-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.testi-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--navy-700);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testi-top b { font-family: var(--font-head); color: var(--navy-800); display: block; line-height: 1.2; }
.testi-top span { font-size: 0.8rem; color: var(--gray-500); }

.testi-stars { margin-right: auto; color: #f5a623; font-size: 0.8rem; }

.testi-card > p { font-size: 0.94rem; color: var(--gray-600); line-height: 2; }

.testi-service {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sky);
    color: var(--navy-700);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 50px;
}

/* ============ ØµÙØ­Ø© Ø¯Ø§Ø®Ù„ÙŠØ©: Ø±Ø£Ø³ Ø§Ù„ØµÙØ­Ø© ============ */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff;
    padding: 72px 0;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.page-hero .container { position: relative; z-index: 2; text-align: center; }

.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 12px; }

.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: var(--blue-300); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.7rem; color: rgba(255,255,255,0.5); align-self: center; }

/* ============ ØªÙØ§ØµÙŠÙ„ Ø§Ù„Ø®Ø¯Ù…Ø© ============ */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 70px 0; }
.service-block:not(:last-child) { border-bottom: 1px solid var(--gray-100); }

.service-block.alt .service-text { order: 2; }

.service-media {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.service-media img { height: 380px; width: 100%; object-fit: cover; }

.service-media .media-tag {
    position: absolute;
    top: 18px; right: 18px;
    background: var(--navy-700);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 6px 16px;
    border-radius: 50px;
}

.service-text .section-tag { margin-bottom: 12px; }
.service-text h2 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--navy-800); margin-bottom: 14px; }
.service-text > p { color: var(--gray-500); margin-bottom: 20px; }

.service-text ul { display: grid; gap: 10px; margin-bottom: 24px; }
.service-text ul li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; color: var(--gray-700); font-size: 0.95rem; }
.service-text ul li i { color: var(--navy-600); margin-top: 5px; }

.price-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sky);
    border: 1px dashed var(--navy-600);
    color: var(--navy-700);
    font-family: var(--font-head);
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.price-tag b { font-size: 1.15rem; }

/* ============ Ø¨Ø·Ø§Ù‚Ø© ÙØ±ÙŠÙ‚ / Ø§Ø¹ØªÙ…Ø§Ø¯ ============ */
.team-card { text-align: center; }

.team-photo {
    width: 150px; height: 150px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(23,58,110,0.25);
    border: 4px solid #fff;
    outline: 1px solid var(--gray-200);
}

.team-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--navy-800); }
.team-card span { font-size: 0.85rem; color: var(--gray-500); font-weight: 700; }

.cert-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s var(--ease);
}

.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.cert-card i { font-size: 2rem; color: var(--navy-600); margin-bottom: 14px; display: block; }
.cert-card h3 { font-family: var(--font-head); font-size: 1.02rem; font-weight: 800; color: var(--navy-800); margin-bottom: 6px; }
.cert-card p { font-size: 0.85rem; color: var(--gray-500); }

/* ============ ØªÙˆØ§ØµÙ„ Ù…Ø¹Ù†Ø§ ============ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: all 0.3s var(--ease);
}

.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-300); }

.contact-card .cc-ic {
    width: 50px; height: 50px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--sky);
    color: var(--navy-700);
    display: grid; place-items: center;
    font-size: 1.1rem;
}

.contact-card b { font-family: var(--font-head); color: var(--navy-800); display: block; font-size: 0.98rem; }
.contact-card span { font-size: 0.86rem; color: var(--gray-500); }

.contact-cards { display: grid; gap: 14px; margin-top: 26px; }

.contact-info .section-title { margin-bottom: 14px; }
.contact-info .section-desc { margin-bottom: 6px; }

/* Ù†Ù…ÙˆØ°Ø¬ */
.form-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.form-box h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; color: var(--navy-800); margin-bottom: 6px; }
.form-box > span { font-size: 0.88rem; color: var(--gray-500); display: block; margin-bottom: 24px; }

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

.form-group { margin-bottom: 16px; }

.form-group label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--gray-700); margin-bottom: 7px; }
.form-group label span { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all 0.3s var(--ease);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy-600);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(43,108,176,0.12);
}

.form-group input.error, .form-group select.error { border-color: var(--red); }

.form-note { text-align: center; font-weight: 700; margin-top: 14px; min-height: 22px; }
.form-note.success { color: var(--green); }
.form-note.failed { color: var(--red); }

.map-box {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    line-height: 0;
}

.map-box iframe { width: 100%; height: 420px; border: 0; }

/* ============ CTA ============ */
.cta-band { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: 20px; padding: 52px 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }

.cta-band h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 520px; }

.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Ø§Ù„ÙÙˆØªØ± ============ */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: 70px 0 0; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }

.footer-logo .logo-mark { background: rgba(255,255,255,0.1); color: #fff; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); }

.footer-brand p { margin: 18px 0; font-size: 0.92rem; color: rgba(255,255,255,0.62); max-width: 320px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid; place-items: center;
    transition: all 0.3s var(--ease);
}

.footer-social a:hover { background: var(--blue-400); color: #fff; transform: translateY(-3px); }

.footer-col h4 {
    font-family: var(--font-head);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 11px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 36px; height: 2px;
    background: var(--blue-400);
}

.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a { transition: all 0.3s var(--ease); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--blue-300); padding-right: 6px; }

.footer-contact li { display: flex; align-items: center; gap: 11px; font-size: 0.9rem; }
.footer-contact i { color: var(--blue-300); width: 18px; flex-shrink: 0; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 22px 0;
    font-size: 0.85rem;
}

.footer-bottom span { color: var(--blue-300); font-weight: 700; }

/* ============ Ø¹Ù†Ø§ØµØ± Ø¹Ø§Ø¦Ù…Ø© ============ */
.whatsapp-float {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #1faf57;
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(31,175,87,0.45);
    z-index: 900;
    transition: all 0.3s var(--ease);
}

.whatsapp-float:hover { transform: scale(1.1); }

.scroll-top {
    position: fixed;
    bottom: 94px; left: 30px;
    width: 46px; height: 46px;
    border-radius: 12px;
    border: none;
    background: var(--navy-700);
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all 0.3s var(--ease);
    z-index: 900;
    box-shadow: var(--shadow);
}

.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--navy-900); }

/* ============ Ø­Ø±ÙƒØ© Ø§Ù„Ø¸Ù‡ÙˆØ± ============ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Ø§Ù„Ù…Ø¯ÙˆÙ†Ø© ÙˆØµÙØ­Ø© Ø§Ù„Ù…Ù‚Ø§Ù„ â€” Ø´Ø¨ÙƒØ§Øª Ù…ØªØ¬Ø§ÙˆØ¨Ø© ØªÙ„Ù‚Ø§Ø¦ÙŠØ§Ù‹
   ============================================================ */

/* --- ØµÙØ­Ø© Ø§Ù„Ù…Ø¯ÙˆÙ†Ø© --- */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 20px;
    border-radius: 50px;
    transition: all 0.3s var(--ease);
}

.filter-btn:hover { border-color: var(--navy-600); color: var(--navy-700); }

.filter-btn.active {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #fff;
    box-shadow: 0 8px 20px rgba(23,58,110,0.25);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.post-card.hidden { display: none; }

.blog-empty { text-align: center; color: var(--gray-500); font-size: 1.05rem; padding: 40px 0; display: none; }
.blog-empty.show { display: block; }

.post-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s var(--ease);
}

.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.post-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.post-card:hover .post-thumb img { transform: scale(1.08); }

.post-cat {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--navy-700);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 50px;
}

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

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--blue-500); }

.post-body h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-800);
    line-height: 1.6;
    margin-bottom: 10px;
}

.post-body h3 a { transition: color 0.3s; }
.post-body h3 a:hover { color: var(--navy-600); }

.post-body > p { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 18px; flex: 1; }

.post-link {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--navy-700);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s var(--ease);
}

.post-link:hover { gap: 14px; color: var(--navy-900); }

/* Ù…Ù‚Ø§Ù„ Ù…Ù…ÙŠØ² */
.post-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }

.post-featured .post-thumb { aspect-ratio: 16 / 10; height: 100%; }

.post-featured .post-body { padding: 34px; justify-content: center; }

.post-featured .post-body h3 { font-size: 1.5rem; }

.post-featured .post-cat { font-size: 0.82rem; }

/* --- ØµÙØ­Ø© Ø§Ù„Ù…Ù‚Ø§Ù„ --- */
.article-wrap { max-width: 860px; margin: 0 auto; }

.article-header { text-align: center; margin-bottom: 36px; }

.article-header .post-cat { position: static; display: inline-block; margin-bottom: 16px; }

.article-header h1 {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--navy-800);
    line-height: 1.5;
    margin-bottom: 18px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--gray-500);
}

.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta i { color: var(--navy-600); }

.article-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--gray-700);
}

.article-author .author-av {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--navy-700);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-head);
    font-weight: 900;
}

.article-hero-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 36px;
}

.article-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article-body { font-size: 1.06rem; color: var(--gray-600); line-height: 2.1; }

.article-body p { margin-bottom: 22px; }

.article-body h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy-800);
    margin: 34px 0 16px;
}

.article-body h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy-800);
    margin: 28px 0 12px;
}

.article-body ul, .article-body ol { margin: 0 0 22px 18px; }

.article-body ul li, .article-body ol li { margin-bottom: 10px; }

.article-body ul li::marker { color: var(--navy-600); }

.article-body blockquote {
    border-right: 4px solid var(--navy-600);
    background: var(--sky);
    padding: 22px 24px;
    border-radius: 0 14px 14px 0;
    font-weight: 700;
    color: var(--navy-800);
    margin: 26px 0;
    font-size: 1.05rem;
}

.article-body img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 24px 0;
    max-width: 100%;
    height: auto !important;
    width: auto;
    display: block;
    margin-inline: auto;
}

/* الصورة الأولى الكبيرة أعلى المقال فقط لها نسبة ثابتة */
.article-hero-img img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

/* الصور المُحاذاة يمين/يسار داخل المحتوى */
.article-body img.alignright,
.article-body img.alignleft {
    max-width: 45%;
    height: auto !important;
    margin-top: 8px;
}

.article-body img.alignright { margin-left: 20px; float: left; }
.article-body img.alignleft  { margin-right: 20px; float: right; }

.article-body img.aligncenter {
    margin-inline: auto;
    float: none;
}
}

/* صورة عريضة (full-width / alignwide) */
.article-body img.alignwide,
.article-body .wp-block-image.alignwide img {
    width: 100%;
}

.article-body .wp-caption {
    max-width: 100%;
    text-align: center;
}

.article-body .wp-caption-text,
.article-body figcaption {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
    text-align: center;
}

.article-body figure {
    margin: 24px 0;
}

.article-body .wp-block-image img,
.article-body figure img {
    max-width: 100%;
    height: auto;
    width: auto;
    margin-inline: auto;
}

.article-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin: 40px 0;
}

.article-share b { font-family: var(--font-head); color: var(--navy-800); display: flex; align-items: center; gap: 8px; }

.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    transition: all 0.3s var(--ease);
}

.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.share-wa { background: #25d366; }
.share-tw { background: var(--navy-900); }
.share-fb { background: #1877f2; }

/* Ù„ÙˆØ­Ø© ØªÙˆØ§ØµÙ„ Ø®Ø§ØµØ© Ø¨Ø§Ù„Ù…Ù‚Ø§Ù„ */
.article-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border-radius: var(--radius);
    padding: 26px 30px;
    margin: 36px 0 0;
    color: #fff;
}
.art-c-head { display: flex; align-items: center; gap: 14px; }
.art-c-head i {
    width: 54px; height: 54px; flex: 0 0 54px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    font-size: 1.4rem;
    color: #fff;
}
.art-c-head b { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 4px; }
.art-c-head span { display: block; color: rgba(255,255,255,.85); font-size: .92rem; }
.art-c-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.art-c-actions .btn-primary { background: #25d366; color: #fff; }
.art-c-actions .btn-primary:hover { background: #1fb95a; }
.art-c-actions .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.art-c-actions .btn-outline:hover { background: #fff; color: var(--navy-800); }
@media (max-width: 640px) {
    .article-contact { padding: 20px; flex-direction: column; align-items: flex-start; }
    .art-c-actions .btn { width: 100%; justify-content: center; }
}

/* ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„ÙƒØ§ØªØ¨ */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.author-box .author-av {
    width: 76px; height: 76px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--navy-700);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 900;
}

.author-box h4 { font-family: var(--font-head); color: var(--navy-800); font-size: 1.05rem; margin-bottom: 6px; }
.author-box p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 10px; }
.author-box span { font-size: 0.82rem; color: var(--gray-500); font-weight: 700; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ============================================================
   ØµÙØ­Ø© Ù…Ù†Ø§Ø·Ù‚ Ø§Ù„Ø®Ø¯Ù…Ø© â€” Ù…ØªØ¬Ø§ÙˆØ¨Ø© ØªÙ„Ù‚Ø§Ø¦ÙŠØ§Ù‹
   ============================================================ */

.areas-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.area-stat {
    background: var(--sky);
    border: 1px solid var(--blue-300);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
}

.area-stat i { font-size: 1.8rem; color: var(--navy-700); margin-bottom: 10px; display: block; }
.area-stat b { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--navy-800); display: block; line-height: 1.2; }
.area-stat span { font-size: 0.85rem; color: var(--gray-500); font-weight: 700; }

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 26px;
}

.region-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}

.region-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.region-head {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    color: #fff;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.region-ic {
    width: 54px; height: 54px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    display: grid; place-items: center;
    font-size: 1.4rem;
    color: var(--blue-300);
}

.region-head h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; flex: 1; }
.region-count {
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255,255,255,0.14);
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.region-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }

.region-body h4 {
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.city-chip {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-700);
    transition: all 0.3s var(--ease);
}

.city-chip:hover { background: var(--sky); border-color: var(--blue-300); color: var(--navy-700); }

.region-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--gray-200); }

.region-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--navy-700);
    transition: gap 0.3s var(--ease);
}

.region-link:hover { gap: 14px; color: var(--navy-900); }

/* --- Ø£Ø¨Ø±Ø² Ø§Ù„Ù…Ø¯Ù† ÙÙŠ Ø§Ù„Ø±Ø¦ÙŠØ³ÙŠØ© --- */
.cities-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.city-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px 18px;
    text-align: center;
    transition: all 0.35s var(--ease);
}

.city-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-300); }

.city-card i { font-size: 1.5rem; color: var(--navy-600); margin-bottom: 10px; display: block; }
.city-card b { font-family: var(--font-head); font-size: 1.02rem; font-weight: 800; color: var(--navy-800); display: block; }
.city-card span { font-size: 0.8rem; color: var(--gray-500); }

.areas-cta-center { text-align: center; margin-top: 40px; }

/* ============ Ø§Ø³ØªØ¬Ø§Ø¨Ø© ============ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-block { grid-template-columns: 1fr; gap: 36px; }
    .service-block.alt .service-text { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .nav {
        position: fixed;
        top: 0; right: -310px;
        width: 310px;
        height: 100vh;
        background: var(--white);
        box-shadow: -20px 0 60px rgba(13,36,69,0.25);
        padding: 88px 24px 30px;
        transition: right 0.45s var(--ease);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.open { right: 0; }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav ul a { display: block; padding: 13px 16px; font-size: 1rem; }
    .nav ul a::after { display: none; }
    .nav ul a.active { background: var(--sky); }

    .burger { display: flex; }
    .header-cta { display: none; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hstat:nth-child(2)::after { display: none; }
    .hstat:nth-child(-n+2) { border-bottom: 1px solid var(--gray-200); }

    .section { padding: 70px 0; }
    .cta-band { padding: 36px 28px; }
    .post-featured { grid-template-columns: 1fr; }
    .post-featured .post-thumb { aspect-ratio: 16 / 9; height: auto; }
    .post-featured .post-body { padding: 26px; }
    .post-featured .post-body h3 { font-size: 1.3rem; }
}

@media (max-width: 600px) {
    .grid-3, .grid-4, .grid-2, .form-row, .about-feats { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .topbar-info span:last-child { display: none; }
    .form-box { padding: 24px 18px; }
    .cta-band { text-align: center; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .section-title { font-size: 1.6rem; }
    .service-media img { height: 280px; }
    .about-img img { height: 340px; }
    .blog-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Ø£Ù†Ù…Ø§Ø· Ø¥Ø¶Ø§ÙÙŠØ© Ù„ØµÙØ­Ø© Ø§Ù„Ù…Ù‚Ø§Ù„ ÙˆØ§Ù„Ù…Ø¯ÙˆÙ†Ø© ÙˆØ§Ù„ØªØ±Ù‚ÙŠÙ…
   ============================================================ */
.article-author img {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.share-links { display: flex; gap: 10px; flex-wrap: wrap; }

.share-links a {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--navy-700);
    font-size: 1rem;
    transition: all 0.3s var(--ease);
    border: 1px solid var(--gray-200);
}
.share-links a:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; transform: translateY(-2px); }

.related-post {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: all 0.3s var(--ease);
}
.related-post:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.related-post img { width: 100%; height: 160px; object-fit: cover; display: block; }

/* Ø£Ø¯Ø§Ø¡: Ù†Ø³Ø¨ Ø£Ø¨Ø¹Ø§Ø¯ Ø«Ø§Ø¨ØªØ© Ù„Ù„ØµÙˆØ± Ù„Ù…Ù†Ø¹ Ø§Ø²Ø§Ø­Ø© Ø§Ù„ØªØµÙ…ÙŠÙ… (CLS) */
.about-img { position: relative; overflow: hidden; border-radius: var(--radius); }
.article-hero-img, .related-post { overflow: hidden; }
.article-hero-img img { aspect-ratio: 16 / 9; height: auto; }
.related-post { border-radius: 12px; display: block; }
@media (max-width: 768px) {
    .about-img img { aspect-ratio: 4 / 3; height: auto; }
}
.related-post span { display: block; padding: 16px 18px; font-family: var(--font-head); font-weight: 700; color: var(--gray-800); font-size: 0.95rem; line-height: 1.7; }

.copy-link { cursor: pointer; }

/* Ø´Ø¹Ø§Ø± Ù…Ø®ØµØµ */
.logo .custom-logo-img { width: auto; height: 52px; object-fit: contain; }
.footer-logo .custom-logo-img { height: 46px; }
@media (max-width: 600px) {
    .logo .custom-logo-img { height: 44px; }
}

/* Ø§Ù„ØªØ±Ù‚ÙŠÙ… */
.pagination { margin-top: 44px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 44px; height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--navy-700);
    font-family: var(--font-head);
    font-weight: 700;
    transition: all 0.3s var(--ease);
}
.pagination a.page-numbers:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pagination .page-numbers.current { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }



/* ============================================================
   RESPONSIVE: التصميم المتجاوب
   ============================================================ */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 560px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-block { grid-template-columns: 1fr; gap: 36px; }
    .service-block.alt .service-text { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hstat:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
    /* الهيدر والقائمة */
    .topbar { display: none; }
    .burger { display: flex; }
    
    .nav {
        position: fixed;
        top: 78px; right: 0; left: 0;
        background: #fff;
        padding: 20px 0;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav.open { transform: translateX(0); }
    
    .nav ul { flex-direction: column; gap: 8px; padding: 0 20px; }
    
    .nav ul li { width: 100%; }
    
    .nav ul a { 
        width: 100%; 
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    /* القوائم المنسدلة على الموبايل */
    .nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 8px;
        padding-right: 20px;
        background: var(--gray-50);
        display: none;
        border-radius: 8px;
        margin-right: 10px;
    }
    
    .nav ul li.open > .sub-menu {
        display: block;
    }
    
    .nav ul li.has-dropdown > a .dropdown-arrow {
        display: inline-block;
    }
    
    .header-cta { display: none; }
    
    /* الشبكات */
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    
    /* الأقسام */
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }
    
    /* الهيرو */
    .hero { padding: 60px 0 80px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 14px; }
    
    /* CTA */
    .cta-band { padding: 36px 28px; flex-direction: column; text-align: center; }
    .cta-btns { flex-direction: column; width: 100%; }
    .cta-btns .btn { width: 100%; }
    
    /* الفوتر */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    
    /* المدن */
    .cities-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    
    /* المقالات */
    .article-wrap { padding: 0 16px; }
    .article-meta { flex-wrap: wrap; gap: 12px; font-size: 0.78rem; }
    .article-share { flex-direction: column; align-items: flex-start; gap: 14px; }
    .article-contact { flex-direction: column; gap: 20px; }
    .art-c-actions { flex-direction: column; width: 100%; }
    .art-c-actions .btn { width: 100%; }
    
    /* القسم head */
    .cat-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
    .btn-lg { padding: 13px 26px; font-size: 0.95rem; }
    .grid-4 { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    .hstat::after { display: none; }
    .cities-strip { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .post-thumb { height: 200px; }
}

/* ============================================================
   SIDEBAR: السايدبار الجانبي للمقالات
   ============================================================ */

.article-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow);
}

.widget-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.widget-head i {
    color: var(--navy-700);
    font-size: 1.2rem;
}

.widget-head h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-800);
    margin: 0;
}

.widget-body {
    padding: 20px;
}

/* بطاقة التواصل */
.widget-contact .widget-head {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    border: none;
}

.widget-contact .widget-head i,
.widget-contact .widget-head h3 {
    color: #fff;
}

.widget-contact p {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    text-align: center;
}

.widget-contact .btn {
    margin-bottom: 10px;
}

.widget-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-100);
}

.widget-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.widget-features i {
    color: var(--green);
    font-size: 0.9rem;
}

/* قائمة الخدمات */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.services-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
}

.services-list li a:hover {
    background: var(--sky);
    border-color: var(--blue-300);
    transform: translateX(-4px);
}

.services-list li a i:first-child {
    color: var(--navy-700);
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

.services-list li a span {
    flex: 1;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gray-800);
}

.services-list li a i:last-child {
    color: var(--navy-600);
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.services-list li a:hover i:last-child {
    opacity: 1;
}

/* قائمة المقالات ذات الصلة */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.3s var(--ease);
}

.related-item:hover {
    background: var(--sky);
    border-color: var(--blue-300);
    transform: translateX(-4px);
}

.related-item img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-content h4 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.4;
    margin: 0;
}

.related-date {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-date i {
    color: var(--navy-600);
}

/* بطاقة الضمان */
.widget-guarantee {
    background: linear-gradient(135deg, var(--sky), var(--gray-50));
    border-color: var(--blue-300);
}

.widget-guarantee .widget-body {
    text-align: center;
}

.guarantee-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--navy-700);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 10px 24px rgba(23,58,110,0.3);
}

.widget-guarantee h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 10px;
}

.widget-guarantee p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.guarantee-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.guarantee-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
}

.guarantee-features i {
    color: var(--green);
}

/* قائمة المناطق */
.widget-areas .areas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.widget-areas .areas-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
}

.widget-areas .areas-list i {
    color: var(--navy-700);
    font-size: 0.9rem;
}

.widget-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy-700);
    transition: gap 0.3s;
}

.widget-link:hover {
    gap: 14px;
    color: var(--navy-900);
}

/* متجاوب للسايدبار */
@media (max-width: 1024px) {
    .article-with-sidebar {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar {
        position: static;
    }
    
    .widget-areas .areas-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .widget-areas .areas-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .widget-areas .areas-list {
        grid-template-columns: 1fr;
    }
}
