/* =========================================================
   برو تيك Pro Tech — ملف التنسيق المشترك
   هوية: أزرق + برتقالي (نسخة عصرية راقية) | RTL | خط Cairo
   ========================================================= */

:root {
  /* الألوان الأساسية */
  --ink:        #0c2237;
  --navy:       #0c2440;
  --navy-2:     #143864;
  --blue:       #1862cf;
  --blue-2:     #3a86ee;
  --blue-dark:  #0f4aa3;
  --blue-soft:  #eaf2fd;
  --blue-tint:  #f4f8ff;
  --orange:     #f07d18;
  --orange-2:   #ff9c3c;
  --orange-dark:#bd6209;
  --amber-soft: #fff5ea;
  --amber-line: #ffe4c7;

  /* المحايدة */
  --bg:         #ffffff;
  --bg-soft:    #f5f8fc;
  --bg-soft-2:  #eef4fb;
  --text:       #1b2c40;
  --muted:      #5d6e82;
  --faint:      #8595a8;
  --border:     #e8edf4;
  --border-soft:#eef2f8;
  --green:      #1a9d5e;

  /* الزوايا */
  --radius-xs: 9px;
  --radius-sm: 12px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* الظلال — ناعمة ومتدرّجة */
  --shadow-xs: 0 1px 2px rgba(12,36,64,.06);
  --shadow-sm: 0 2px 8px rgba(12,36,64,.05), 0 10px 22px -14px rgba(12,36,64,.18);
  --shadow:    0 6px 16px rgba(12,36,64,.06), 0 22px 44px -22px rgba(12,36,64,.26);
  --shadow-lg: 0 12px 26px rgba(12,36,64,.09), 0 40px 70px -30px rgba(12,36,64,.34);
  --ring:      0 0 0 4px rgba(24,98,207,.18);

  --max: 1180px;
  --font: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --grad-blue:   linear-gradient(135deg, #1f6fda, #0d2a4e);
  --grad-orange: linear-gradient(135deg, #ff9c3c, #f07d18);
  --ease: cubic-bezier(.22,.72,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: rgba(24,98,207,.16); }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
:where([id]) { scroll-margin-top: 96px; }
.tb-hot .num, .nav-call .n, .hero-phone b, .cta-phone, .footer-call b { font-variant-numeric: tabular-nums; }

h1, h2, h3, h4 { line-height: 1.34; font-weight: 800; }
h1 { line-height: 1.22; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(58px, 7.5vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #d8e3f1; position: relative; overflow: hidden; }

/* ---------- العناوين ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange-dark);
  font-weight: 700; font-size: 13px; letter-spacing: .2px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-line);
  padding: 7px 15px; border-radius: 999px;
  margin-bottom: 18px;
}
.section-navy .eyebrow { background: rgba(255,156,60,.12); border-color: rgba(255,156,60,.28); color: #ffb877; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(38px, 5vw, 56px); }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); letter-spacing: -.2px; }
.section-head h2::after { content: ""; display: block; width: 52px; height: 3px; border-radius: 4px; background: var(--grad-orange); margin: 18px auto 0; }
.section-navy .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 17px; line-height: 1.8; }
.section-navy .section-head p { color: #aebfd4; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-orange { background: var(--grad-orange); color: #fff; box-shadow: 0 6px 16px rgba(240,125,24,.28); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(240,125,24,.34); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(24,98,207,.24); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(24,98,207,.3); }
.btn-white { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--blue); border-color: #cfe0f4; }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-lg { font-size: 17.5px; padding: 16px 32px; }
.btn:active, .nav-call:active, .cta-phone:active, .float-call:active { transform: translateY(0) scale(.98); }

/* ---------- الشريط العلوي ---------- */
.topbar { background: var(--ink); color: #b9cae0; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 44px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #b9cae0; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-hot { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-hot .num { color: var(--orange-2); font-size: 15px; letter-spacing: 1px; font-weight: 800; }
.topbar .tb-left { display: inline-flex; align-items: center; gap: 20px; }
.topbar svg { width: 15px; height: 15px; vertical-align: middle; opacity: .9; }

/* ---------- الهيدر ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border-soft); transition: box-shadow .3s, background .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px -10px rgba(12,36,64,.18); background: rgba(255,255,255,.95); border-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 11px; transition: transform .2s var(--ease); }
.logo:hover { transform: translateY(-1px); }
.logo .logo-img { height: 50px; width: auto; display: block; }
.logo .mark { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-blue); display: grid; place-items: center; color: #fff; box-shadow: 0 8px 18px -6px rgba(12,36,64,.4); position: relative; }
.logo .mark::after { content: ""; position: absolute; inset: 0; border-radius: 13px; border: 1px solid rgba(255,255,255,.22); }
.logo .mark svg { width: 25px; height: 25px; }
.logo .txt b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.05; }
.logo .txt span { font-size: 11px; color: var(--orange-dark); font-weight: 700; letter-spacing: 3px; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu > li > a { position: relative; display: inline-flex; align-items: center; padding: 10px 13px; font-weight: 600; font-size: 14.5px; color: var(--text); border-radius: 10px; transition: color .2s; }
.menu > li > a:hover, .menu > li > a.active { color: var(--blue); background: transparent; }

.has-drop { position: relative; }
.has-drop > a .chev { width: 13px; height: 13px; margin-right: 3px; transition: transform .25s var(--ease); }
.has-drop:hover > a .chev { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 4px); right: 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 256px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; }
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--text); transition: background .16s, color .16s; }
.drop a:hover, .drop a.active { background: var(--blue-soft); color: var(--blue); }
.drop a .di { width: 38px; height: 38px; border-radius: 11px; background: var(--bg-soft); display: grid; place-items: center; flex: none; transition: background .18s, transform .18s var(--ease); }
.drop a:hover .di, .drop a.active .di { background: #fff; transform: translateX(-2px); }
.drop a .di svg { width: 22px; height: 22px; color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-call { display: inline-flex; align-items: center; gap: 9px; background: var(--grad-orange); color: #fff; font-weight: 700; padding: 11px 20px; border-radius: 999px; box-shadow: 0 6px 16px rgba(240,125,24,.3); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.nav-call:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(240,125,24,.4); }
.nav-call svg { width: 19px; height: 19px; }
.nav-call .n { letter-spacing: 1px; font-weight: 800; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 9px; border-radius: 10px; transition: background .2s; }
.burger:hover { background: var(--blue-soft); }
.burger span { display: block; width: 25px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s var(--ease); }

/* ---------- الهيرو الرئيسي ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(820px 380px at 86% -14%, rgba(58,134,238,.34), transparent 60%),
    radial-gradient(620px 440px at 4% 116%, rgba(240,125,24,.16), transparent 58%),
    linear-gradient(158deg, #0a2140 0%, #102f56 54%, #16467f 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(125% 95% at 82% 0%, #000 22%, transparent 72%);
  mask-image: radial-gradient(125% 95% at 82% 0%, #000 22%, transparent 72%);
  opacity: .55;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; padding-top: clamp(56px, 7vw, 84px); padding-bottom: clamp(56px, 7vw, 84px); }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(4px); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fd98a; box-shadow: 0 0 0 4px rgba(63,217,138,.22); }
.hero h1 { font-size: clamp(30px, 4.7vw, 50px); letter-spacing: -.4px; }
.hero h1 .hi { color: var(--orange-2); position: relative; white-space: nowrap; }
.hero h1 .hi::after { content: ""; position: absolute; right: 0; left: 0; bottom: .06em; height: .14em; border-radius: 4px; background: linear-gradient(90deg, rgba(255,156,60,.6), rgba(255,156,60,.08)); }
.hero p.lead { font-size: 18.5px; color: #cdddf2; margin: 22px 0 32px; max-width: 545px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-phone { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; }
.hero-phone .ring { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.hero-phone .ring svg { width: 24px; height: 24px; color: var(--orange-2); }
.hero-phone small { display: block; color: #a6b9d2; font-size: 12.5px; }
.hero-phone b { font-size: 26px; letter-spacing: 2px; }
.hero-trust { display: flex; gap: 12px 24px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust div { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #cfdcef; font-weight: 500; }
.hero-trust svg { width: 19px; height: 19px; color: var(--orange-2); }
.hero-visual { position: relative; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; border: 1px solid rgba(255,255,255,.14); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.16); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-repeat: no-repeat; transition: transform .4s var(--ease); }
.split-img:hover { transform: translateY(-3px); }
.hero-rating { position: absolute; bottom: 18px; right: -12px; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; z-index: 3; }
.hero-rating .stars { display: flex; gap: 2px; }
.hero-rating .stars svg { width: 16px; height: 16px; color: #ffb400; }
.hero-rating b { font-size: 19px; color: var(--ink); line-height: 1; font-weight: 800; }
.hero-rating small { color: var(--muted); font-size: 12px; }

/* ---------- أماكن الصور (Placeholders) ---------- */
.img-ph { position: relative; background: linear-gradient(160deg, #eef4fc, #e0ebf8); border: 2px dashed #adc4df; border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: #7d93ae; padding: 24px; min-height: 230px; overflow: hidden; }
.img-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.6), transparent 55%); pointer-events: none; }
.img-ph .ph-ic { width: 58px; height: 58px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; margin-bottom: 12px; }
.img-ph .ph-ic svg { width: 30px; height: 30px; color: var(--blue); }
.img-ph .t { font-weight: 800; color: #46627f; font-size: 15px; position: relative; }
.img-ph .s { font-size: 12.5px; color: #849bb6; margin-top: 4px; max-width: 260px; position: relative; }
.hero .img-ph, .page-hero .img-ph { background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.05)); border-color: rgba(255,255,255,.34); color: #cdddf0; min-height: 360px; }
.page-hero .img-ph { min-height: 320px; }
.hero .img-ph::after, .page-hero .img-ph::after { background: radial-gradient(circle at 70% 15%, rgba(255,255,255,.14), transparent 55%); }
.hero .img-ph .ph-ic, .page-hero .img-ph .ph-ic { background: rgba(255,255,255,.16); box-shadow: none; }
.hero .img-ph .ph-ic svg, .page-hero .img-ph .ph-ic svg { color: #fff; }
.hero .img-ph .t, .page-hero .img-ph .t { color: #fff; }
.hero .img-ph .s, .page-hero .img-ph .s { color: #b9c8da; }

/* ---------- شبكة الخدمات ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--grad-orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d7e5f6; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ic { width: 74px; height: 74px; border-radius: 20px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s var(--ease), color .3s, transform .3s var(--ease); }
.service-card:hover .ic { background: var(--grad-blue); color: #fff; transform: translateY(-2px); }
.service-card .ic svg { width: 40px; height: 40px; }
.service-card h3 { font-size: 19.5px; color: var(--ink); }
.service-card p { color: var(--muted); font-size: 15px; margin: 11px 0 18px; flex: 1; line-height: 1.75; }
.service-card .more { color: var(--orange-dark); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; }
.service-card .more svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.service-card:hover .more svg { transform: translateX(-5px); }

/* ---------- المميزات ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #d7e5f6; }
.feature .fic { flex: none; width: 54px; height: 54px; border-radius: 15px; background: var(--amber-soft); border: 1px solid var(--amber-line); color: var(--orange-dark); display: grid; place-items: center; transition: transform .25s var(--ease); }
.feature:hover .fic { transform: translateY(-2px) rotate(-3deg); }
.feature .fic svg { width: 27px; height: 27px; }
.feature h3 { font-size: 17.5px; color: var(--ink); }
.feature p { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.7; }

/* ---------- خطوات الخدمة ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 63px; right: 12.5%; left: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 34px 20px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step .num { position: relative; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-blue); color: #fff; font-size: 22px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 10px 20px -6px rgba(12,36,64,.4), 0 0 0 6px var(--blue-soft); }
.step h3 { font-size: 17.5px; color: var(--ink); }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 7px; line-height: 1.7; }

/* ---------- شريط الأرقام ---------- */
.section-navy::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.045) 1.2px, transparent 1.2px); background-size: 26px 26px; opacity: .8; }
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat { padding: 8px 14px; position: relative; }
.stat + .stat::after { content: ""; position: absolute; top: 14%; right: 0; height: 72%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.14), transparent); }
.stat .si { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 15px; background: rgba(255,156,60,.14); border: 1px solid rgba(255,156,60,.2); display: grid; place-items: center; }
.stat .si svg { width: 26px; height: 26px; color: var(--orange-2); }
.stat b { display: block; font-size: 38px; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.5px; }
.stat span { color: #aec0d6; font-size: 14.5px; }

/* ---------- قائمة المزايا / الأعطال ---------- */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-xs); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.check-list li:hover { border-color: #cfe6da; transform: translateX(-3px); box-shadow: var(--shadow-sm); }
.check-list li svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 3px; }

/* ---------- شريط CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(680px 300px at 88% -10%, #2070cf, transparent 62%), linear-gradient(125deg, var(--blue), #0c2547); color: #fff; border-radius: var(--radius-xl); padding: clamp(34px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta-band::after { content: ""; position: absolute; left: -90px; bottom: -110px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(240,125,24,.26), transparent 70%); }
.cta-band .t { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(23px, 3.3vw, 33px); }
.cta-band p { color: #cfdef2; margin-top: 10px; font-size: 16.5px; }
.cta-band .act { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 29px; font-weight: 800; letter-spacing: 2px; }
.cta-phone svg { width: 27px; height: 27px; color: var(--orange-2); }

/* ---------- الأسئلة الشائعة ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: #cfe0f4; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: right; background: none; border: none; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 16.5px; color: var(--ink); padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: color .2s; }
.faq-q:hover { color: var(--blue); }
.faq-q .ic { flex: none; width: 31px; height: 31px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 20px; transition: transform .3s var(--ease), background .25s, color .25s; }
.faq-item.open .faq-q .ic { background: var(--grad-blue); color: #fff; transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }

/* ---------- مسار التنقل ---------- */
.crumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 15px 0; }
.crumb ul { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--blue); font-weight: 600; }
.crumb a:hover { color: var(--blue-dark); }
.crumb .sep { color: #b6c4d6; }

/* ---------- هيرو صفحة الجهاز ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background-color: #0a2140;
  background-image:
    linear-gradient(to left, rgba(7,22,43,.93) 0%, rgba(8,26,50,.78) 46%, rgba(10,34,66,.52) 100%),
    var(--page-hero-bg, linear-gradient(150deg, #0a2140, #16467f));
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 130% at 84% 4%, transparent 38%, rgba(3,14,30,.55)); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(330px, 42vw, 480px); padding: clamp(56px, 7vw, 88px) 22px; }
.page-hero .container > div { max-width: 650px; }
.page-hero .ic-big { width: 66px; height: 66px; border-radius: 19px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: grid; place-items: center; margin-bottom: 22px; }
.page-hero .ic-big svg { width: 36px; height: 36px; color: var(--orange-2); }
.page-hero h1 { font-size: clamp(27px, 4.3vw, 42px); letter-spacing: -.3px; text-shadow: 0 2px 20px rgba(2,11,26,.42); }
.page-hero p { color: #e4edf8; font-size: 17.5px; margin: 18px 0 30px; max-width: 560px; line-height: 1.85; text-shadow: 0 1px 14px rgba(2,11,26,.36); }

/* ---------- لوحة محتوى ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { font-size: clamp(23px, 3.3vw, 31px); color: var(--ink); margin-bottom: 16px; letter-spacing: -.2px; }
.split p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.prose p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; line-height: 1.85; }
.prose h2 { color: var(--ink); font-size: 26px; margin: 30px 0 12px; }
.prose h3 { color: var(--ink); font-size: 19.5px; margin: 24px 0 12px; }
.prose ul.dotted { margin: 14px 0 24px; }
.prose ul.dotted li { position: relative; padding-right: 30px; margin-bottom: 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose ul.dotted li::before { content: ""; position: absolute; right: 2px; top: 8px; width: 18px; height: 18px; border-radius: 7px; background: var(--blue-soft); }
.prose ul.dotted li::after { content: ""; position: absolute; right: 7px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- معرض الصور ---------- */
.gallery { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery-img { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.gallery-img.feat { grid-row: span 2; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery-img:hover img { transform: scale(1.05); }
.gallery-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,33,64,.78) 0%, rgba(10,33,64,.16) 40%, transparent 62%); pointer-events: none; }
.gallery-img figcaption { position: absolute; right: 16px; bottom: 15px; left: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.gallery-img.feat figcaption { font-size: 16.5px; }
.gallery-img .cap-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--grad-orange); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(240,125,24,.4); }
.gallery-img .cap-ic svg { width: 18px; height: 18px; color: #fff; }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--navy); color: #a6b9d0; padding: clamp(48px, 6vw, 66px) 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-orange); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 700; }
.site-footer .logo .txt b { color: #fff; }
.footer-about p { font-size: 14.5px; margin: 18px 0; line-height: 1.95; color: #9fb2c9; max-width: 340px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14.5px; transition: color .2s, transform .2s var(--ease); display: inline-block; }
.footer-links a:hover { color: var(--orange-2); transform: translateX(-4px); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: 14.5px; }
.footer-contact svg { width: 19px; height: 19px; color: var(--orange-2); flex: none; margin-top: 3px; }
.footer-call { display: block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; text-align: center; transition: background .2s, border-color .2s, transform .2s var(--ease); margin-top: 4px; }
.footer-call:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.footer-call small { color: #a6b9d0; font-size: 13px; }
.footer-call b { display: block; color: #fff; font-size: 27px; letter-spacing: 2px; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0; text-align: center; font-size: 13.5px; color: #8499b2; }
.footer-bottom .disc { max-width: 900px; margin: 0 auto 10px; font-size: 12.5px; color: #788ca6; line-height: 1.85; }

/* ---------- صفحة السياسات ---------- */
.policy-wrap { max-width: 880px; margin: 0 auto; }
.policy-toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px 28px; margin-bottom: 34px; }
.policy-toc h4 { color: var(--ink); margin-bottom: 16px; font-size: 16px; font-weight: 700; }
.policy-toc ul { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.policy-toc a { color: var(--blue); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.policy-toc a:hover { color: var(--blue-dark); }
.policy-toc a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.policy-card { background: #fff; border: 1px solid var(--border); border-right: 4px solid var(--orange); border-radius: var(--radius); box-shadow: var(--shadow-xs); padding: 32px; margin-bottom: 20px; scroll-margin-top: 110px; transition: box-shadow .25s; }
.policy-card:hover { box-shadow: var(--shadow-sm); }
.policy-card h2 { color: var(--ink); font-size: 22px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.policy-card h2 .n { width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-size: 16px; }
.policy-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; line-height: 1.85; }
.policy-card ul.dotted li { position: relative; padding-right: 24px; margin-bottom: 10px; color: var(--muted); font-size: 15.5px; }
.policy-card ul.dotted li::before { content: ""; position: absolute; right: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.policy-card.highlight { border-right-color: var(--blue); background: linear-gradient(180deg, #f3f8ff, #fff); }

/* ---------- زر اتصال عائم ---------- */
.float-call { position: fixed; bottom: 22px; left: 22px; z-index: 60; background: var(--grad-orange); color: #fff; display: inline-flex; align-items: center; gap: 10px; padding: 7px 20px 7px 8px; border-radius: 999px; box-shadow: 0 14px 30px rgba(240,125,24,.45); transition: transform .25s var(--ease), box-shadow .25s; }
.float-call::before { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(240,125,24,.5); animation: fc-ring 2.4s infinite; pointer-events: none; }
.float-call:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px rgba(240,125,24,.55); }
.float-call .fc-ic { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.float-call .fc-ic svg { width: 22px; height: 22px; color: var(--orange); transform-origin: center; animation: fc-shake 2.4s infinite; }
.float-call .fc-txt { display: flex; flex-direction: column; line-height: 1.15; }
.float-call .fc-txt small { font-size: 11px; font-weight: 600; opacity: .92; }
.float-call .fc-txt b { font-size: 17px; font-weight: 800; letter-spacing: 1px; }
@keyframes fc-ring {
  0% { box-shadow: 0 0 0 0 rgba(240,125,24,.5); }
  70% { box-shadow: 0 0 0 16px rgba(240,125,24,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,125,24,0); }
}
@keyframes fc-shake {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-12deg); }
  93% { transform: rotate(12deg); }
  96% { transform: rotate(-9deg); }
  98% { transform: rotate(6deg); }
}

/* ---------- زر واتساب عائم ---------- */
.float-wa { position: fixed; left: 22px; bottom: 84px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #25d366, #1faf54); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .25s var(--ease), box-shadow .25s; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-ring 2.6s infinite; pointer-events: none; }
.float-wa svg { width: 32px; height: 32px; }
.float-wa:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 38px rgba(37,211,102,.55); }
@keyframes wa-ring {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- ظهور عند التمرير ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .65s var(--ease), transform .65s var(--ease); }

/* ---------- القائمة الجانبية الحديثة (Sidebar) ---------- */
.mobile-menu { position: fixed; inset: 0; background: rgba(10,33,64,.5); backdrop-filter: blur(5px); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0;
  width: 88%; max-width: 350px; height: 100%;
  background: linear-gradient(185deg, #ffffff 0%, #f4f8fe 100%);
  padding: 22px 18px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
  box-shadow: -26px 0 64px -28px rgba(10,33,64,.55);
  border-radius: 26px 0 0 26px;
  display: flex; flex-direction: column;
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }

/* رأس القائمة */
.mobile-panel .mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.mobile-panel .mhead .logo-img { height: 40px; width: auto; }
.mobile-panel .mclose { background: var(--bg-soft); border: none; width: 42px; height: 42px; border-radius: 13px; font-size: 24px; color: var(--ink); cursor: pointer; line-height: 1; display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s; }
.mobile-panel .mclose:hover { background: var(--blue-soft); color: var(--blue); transform: rotate(90deg); }

/* الروابط الرئيسية */
.mobile-panel > a:not(.mcall) { position: relative; display: flex; align-items: center; padding: 14px 16px; margin-bottom: 3px; font-weight: 700; font-size: 15.5px; color: var(--text); border-radius: 13px; transition: background .2s, color .2s, padding .22s var(--ease); }
.mobile-panel > a:not(.mcall)::before { content: ""; position: absolute; right: 6px; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--grad-orange); transform: translateY(-50%); transition: height .26s var(--ease); }
.mobile-panel > a:not(.mcall):hover, .mobile-panel > a:not(.mcall).active { background: var(--blue-soft); color: var(--blue); padding-right: 22px; }
.mobile-panel > a:not(.mcall):hover::before, .mobile-panel > a:not(.mcall).active::before { height: 58%; }

/* مجموعة الخدمات كبطاقة */
.mobile-panel .sub { margin: 6px 0 10px; padding: 8px; background: var(--bg-soft); border-radius: 16px; }
.mobile-panel .sub a { display: flex; align-items: center; padding: 11px 14px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 11px; transition: background .18s, color .18s, box-shadow .18s; }
.mobile-panel .sub a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c2d3ea; margin-left: 11px; flex: none; transition: background .18s, transform .18s; }
.mobile-panel .sub a:hover, .mobile-panel .sub a.active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.mobile-panel .sub a:hover::before, .mobile-panel .sub a.active::before { background: var(--orange); transform: scale(1.35); }

/* زر الاتصال */
.mobile-panel .mcall { margin-top: auto; padding-top: 18px; }
.mobile-panel .mcall.btn { display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; padding: 15px; box-shadow: 0 12px 26px rgba(240,125,24,.4); }

/* دخول العناصر بتتابع لطيف */
@keyframes side-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.mobile-menu.open .mobile-panel > :nth-child(n+2) { animation: side-in .42s var(--ease) backwards; }
.mobile-menu.open .mobile-panel > :nth-child(2) { animation-delay: .08s; }
.mobile-menu.open .mobile-panel > :nth-child(3) { animation-delay: .14s; }
.mobile-menu.open .mobile-panel > :nth-child(4) { animation-delay: .20s; }
.mobile-menu.open .mobile-panel > :nth-child(5) { animation-delay: .26s; }
.mobile-menu.open .mobile-panel > :nth-child(6) { animation-delay: .32s; }

/* ---------- تجاوب الموبايل ---------- */
@media (max-width: 960px) {
  .hero .container, .page-hero .container, .split { grid-template-columns: 1fr; }
  .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stat:nth-child(2n)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu, .nav-call .n-txt { display: none; }
  .logo .logo-img { height: 44px; }
  .burger { display: block; }
  .hero-visual { order: -1; }
  .hero-rating { right: auto; left: 10px; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-img { aspect-ratio: 16 / 10; }
  .gallery-img.feat { grid-row: auto; }
}
@media (max-width: 620px) {
  .services-grid, .features-grid, .gallery, .steps, .stats, .check-list { grid-template-columns: 1fr; }
  .stat + .stat::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; text-align: center; align-items: stretch; }
  .topbar .tb-left { display: none; }
  .hero-trust { gap: 10px 18px; }
  .float-call .fc-txt { display: none; }
  .float-call { padding: 7px; }
  .policy-card { padding: 24px 20px; }
  .hero-rating { display: none; }
}

/* ---------- احترام تفضيل تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .float-call::before, .float-call .fc-ic svg, .float-wa::before { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
