/* ===== قسورة ERP — v2-shell: المتغيرات والأزرار والهيدر والفوتر لكل الصفحات + كسوة الصفحات الداخلية (فوق site.css) ===== */
:root {
  --o: #F27A1A; --o6: #DC6408; --o7: #B44F05; --o-soft: #FFF1E3; --o-line: #FFD9B5;
  --ink: #17110D; --ink2: #4A3F37; --mut: #7A6E65; --line: #ECE3DA;
  --bg: #FFFCF8; --card: #FFFFFF; --alt: #F8F2EB;
  --night: #120C08; --night2: #1D1510; --nline: rgba(255, 255, 255, .09); --ntext: #CDBFB3;
  --ok: #1E9E62;
  --r: 20px; --r-sm: 12px; --wrap: 1200px;
  --ov: clamp(70px, 15vw, 230px);
  --sh: 0 1px 2px rgba(23, 17, 13, .04), 0 18px 40px -22px rgba(23, 17, 13, .22);
  --sh-lg: 0 50px 100px -40px rgba(0, 0, 0, .65), 0 30px 60px -30px rgba(242, 122, 26, .25);
  --f: 'Zain', 'Segoe UI', Tahoma, sans-serif;
}
.v-wrap { width: calc(100% - 40px); max-width: 1200px; margin-left: auto; margin-right: auto; width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.v-hd [data-icon], .v-ft [data-icon], .v-btn [data-icon] { display: inline-grid; place-items: center; }
.v-hd [data-icon] svg, .v-ft [data-icon] svg, .v-btn [data-icon] svg { width: 1em; height: 1em; }
.v-ft ul, .v-hd ul { list-style: none; margin: 0; padding: 0; }
/* ---------- الأزرار ---------- */
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1.05rem var(--f); padding: 13px 28px; border-radius: 14px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; line-height: 1.4; }
.v-btn:hover { transform: translateY(-2px); }
.v-btn [data-icon] { font-size: 1.15em; }
.v-btn-p { background: linear-gradient(135deg, #FF9A45, var(--o6)); color: #fff; box-shadow: 0 14px 30px -12px rgba(242, 122, 26, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.v-btn-p:hover { color: #fff; box-shadow: 0 20px 38px -14px rgba(242, 122, 26, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.v-btn-g { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.v-btn-g:hover { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.v-btn-l { background: var(--card); color: var(--ink); border-color: var(--line); }
.v-btn-l:hover { color: var(--ink); border-color: var(--o); }
.v-btn-sm { padding: 9px 20px; font-size: .98rem; border-radius: 12px; }
.v-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- الهيدر ---------- */
.v-hd { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.v-hd.on { background: rgba(18, 12, 8, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--nline), 0 18px 40px -28px #000; }
.v-hd-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.v-logo { flex: none; display: flex; }
.v-logo img { height: 44px; width: auto; }
.v-nav { display: flex; gap: 2px; margin-inline-start: 6px; }
.v-nav a, .v-dd > button { font: 700 1rem var(--f); color: #D9CDC2; padding: 8px 14px; border-radius: 10px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s; white-space: nowrap; }
.v-nav a:hover, .v-dd > button:hover, .v-dd:focus-within > button { color: #fff; background: rgba(255, 255, 255, .08); }
.v-nav a[aria-current="page"] { color: #fff; }
.v-nav a[aria-current="page"]::after { content: ''; position: absolute; }
.v-dd { position: relative; display: flex; }
.v-dd > button::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.v-dd-m { position: absolute; top: calc(100% + 8px); inset-inline-start: -12px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #1B130E; border: 1px solid var(--nline); border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px -20px #000; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; }
.v-dd:hover .v-dd-m, .v-dd:focus-within .v-dd-m { opacity: 1; visibility: visible; transform: none; }
.v-dd-m::before { content: ''; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.v-dd-m a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: #EADFD5; font-weight: 400; font-size: .98rem; white-space: normal; line-height: 1.35; }
.v-dd-m a:hover { background: rgba(242, 122, 26, .18); color: #fff; }
.v-dd-m [data-icon] { color: #FFB06B; font-size: 1.15rem; flex: none; }
.v-act { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.v-lang { appearance: none; -webkit-appearance: none; font: 700 .95rem var(--f); color: #EADFD5; background: transparent; border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 12px; padding: 8px 14px; cursor: pointer; min-height: 42px; }
.v-lang:hover { border-color: rgba(255, 255, 255, .5); }
.v-lang option { color: #17110D; background: #fff; }
.v-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer; font-size: 1.3rem; place-items: center; }
.v-mnav { display: none; }

/* ---------- الفوتر ---------- */
.v-ft { background: var(--night); color: #A99C91; padding: 72px 0 28px; margin-top: clamp(72px, 9vw, 128px); }
.v-ft-c { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.v-ft img { height: 50px; width: auto; margin-bottom: 16px; }
.v-ft h4 { color: #fff; font-size: 1.08rem; margin-bottom: 16px; }
.v-ft ul { display: grid; gap: 9px; }
.v-ft a { color: #A99C91; transition: color .15s; }
.v-ft a:hover { color: #FFB06B; }
.v-ft-b { border-top: 1px solid var(--nline); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .92rem; }
.v-soc { display: flex; gap: 8px; margin-top: 16px; }
.v-soc a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; font-size: 1.1rem; }
.v-fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .2s; }
.v-fab:hover { transform: scale(1.08); color: #fff; }

/* زر واتساب العائم (يضيفه site.js) */
.fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; }
.fab .call { display: none; }
.fab .wa { width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .2s; }
.fab .wa:hover { transform: scale(1.08); }
.fab .wa svg { width: 28px; height: 28px; }

/* MOBILE-HDR-BEGIN */
/* ---------- استجابة الهيدر والفوتر ---------- */
.v-bg-x, .v-mcta, .m-actnav { display: none; }
.v-hd { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
@media (max-width: 1080px) {
  .v-nav { display: none; }
  .v-burger { display: grid; flex: none; padding: 0; transition: background .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent; }
  .v-burger > span { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .2s ease, transform .28s cubic-bezier(.2, .8, .2, 1); }
  .v-bg-x { display: grid; opacity: 0; transform: rotate(-90deg) scale(.6); }
  .v-burger[aria-expanded="true"] { background: rgba(242, 122, 26, .2); border-color: rgba(242, 122, 26, .6); }
  .v-burger[aria-expanded="true"] .v-bg-o { opacity: 0; transform: rotate(90deg) scale(.6); }
  .v-burger[aria-expanded="true"] .v-bg-x { opacity: 1; transform: none; }
  html.v-menu-open, html.v-menu-open body { overflow: hidden; }
  /* القائمة: تنزلق بنعومة (opacity + transform) بدل display، وتُحبس التمريرة داخلها */
  .v-mnav { display: block; position: fixed; z-index: 99; inset: 76px 0 0 0; background: rgba(18, 12, 8, .98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s; }
  .v-mnav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .v-mnav-in { display: flex; flex-direction: column; width: min(100% - 32px, 560px); margin-inline: auto; padding: 8px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
  .v-mnav .v-ml { flex: 1; display: flex; align-items: center; min-height: 56px; padding: 8px 6px; color: #EADFD5; font-weight: 700; font-size: 1.2rem; line-height: 1.3; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
  .v-mnav .v-ml:active { background: rgba(255, 255, 255, .06); }
  .v-mnav .v-ml[aria-current="page"] { color: #FFB06B; }
  .v-mnav-in > .v-ml, .v-mg { border-bottom: 1px solid var(--nline); }
  .v-mnav-in > .v-ml, .v-mg .v-ml { border-radius: 0; }
  html.v-menu-open .q-pill, html.v-menu-open .q-top { opacity: 0 !important; pointer-events: none !important; }
  .v-mg-h { display: flex; align-items: center; gap: 8px; }
  .v-mg-t { flex: none; width: 52px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid var(--nline); background: rgba(255, 255, 255, .05); color: #EADFD5; cursor: pointer; display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent; }
  .v-mg-t::before { content: ''; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .22s ease; }
  .v-mg-t[aria-expanded="true"] { background: rgba(242, 122, 26, .2); border-color: rgba(242, 122, 26, .6); color: #fff; }
  .v-mg-t[aria-expanded="true"]::before { transform: translateY(3px) rotate(-135deg); }
  .v-mg-l { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px 0 14px; }
  .v-mg-l[hidden] { display: none; }
  .v-mg-l a { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .045); color: #EADFD5; font-size: .98rem; font-weight: 400; line-height: 1.3; }
  .v-mg-l a:active { background: rgba(242, 122, 26, .2); }
  .v-mg-l [data-icon] { color: #FFB06B; font-size: 1.15rem; flex: none; }
  .v-mnav-cta { display: grid; gap: 10px; margin-top: 20px; }
  .v-mnav-cta .v-btn { width: 100%; min-height: 52px; white-space: normal; }
  .v-mlang { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
  .v-mlang button { min-height: 46px; padding: 4px 2px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .18); background: transparent; color: #EADFD5; font: 700 .95rem var(--f); cursor: pointer; }
  .v-mlang button[aria-pressed="true"] { background: rgba(242, 122, 26, .2); border-color: var(--o); color: #fff; }
  .v-ft-c { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .v-wrap { width: min(100% - 32px, var(--wrap)); }
  .v-hd-in { height: 66px; gap: 10px; }
  .v-mnav { inset-block-start: 66px; }
  .v-logo { min-height: 44px; align-items: center; }
  .v-logo img { height: 38px; }
  .v-act { gap: 8px; min-width: 0; }
  .v-act > .v-btn { display: none; }
  /* 16px تمنع تكبير iOS عند فتح القائمة المنسدلة */
  html.v2 .v-lang { font-size: 16px; min-height: 44px; padding: 6px 10px; max-width: 104px; text-overflow: ellipsis; }
  html.v2 .v-hd .q-tools { gap: 6px; }
  html.v2 .v-hd .q-tools .q-in, html.v2 .v-hd .q-tools .q-th.q-in, html.v2 .v-hd .q-tools .q-ac.q-in, html.v2 .v-hd .q-tools .q-pill.q-in { width: 44px; height: 44px; }
  /* الفوتر: الهوية سطر كامل، «الموقع» و«ابدأ الآن» متجاوران، ثم التواصل — وكل رابط بارتفاع لمس مريح */
  .v-ft { padding: 52px 0 calc(24px + env(safe-area-inset-bottom, 0px)); margin-top: 64px; }
  .v-ft-c { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 16px; }
  .v-ft-c > div:first-child, .v-ft-c > div:last-child { grid-column: 1 / -1; }
  .v-ft h4 { margin-bottom: 6px; }
  .v-ft ul { gap: 0; }
  .v-ft li a { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 44px; padding: 4px 0; line-height: 1.4; overflow-wrap: anywhere; }
  .v-soc { gap: 10px; }
  .v-soc a { width: 46px; height: 46px; }
  .v-ft-b { flex-direction: column; margin-top: 30px; gap: 4px; }
  /* زر «اطلب تجربة» الثابت أسفل الشاشة */
  .v-mcta { display: block; position: fixed; z-index: 95; inset: auto 0 0 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(18, 12, 8, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--nline); transform: translateY(105%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s; }
  .v-mcta.on { transform: none; visibility: visible; transition-delay: 0s; }
  html.v-menu-open .v-mcta { transform: translateY(105%); visibility: hidden; }
  .v-mcta .v-btn { width: 100%; min-height: 48px; padding-block: 10px; }
  html.v2 .q-pill, html.v2 .q-top { transition: bottom .3s ease, opacity .2s ease, transform .2s ease; }
  html.v-mcta-on .q-pill, html.v-mcta-on .q-top { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 366px) {
  html.v2 .v-lang { max-width: 92px; padding-inline: 8px; }
  html.v2 .v-hd .q-tools .q-in, html.v2 .v-hd .q-tools .q-th.q-in, html.v2 .v-hd .q-tools .q-ac.q-in, html.v2 .v-hd .q-tools .q-pill.q-in { width: 38px; height: 38px; }
  .v-logo img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .v-mnav, .v-mcta, .v-burger > span, .v-mg-t::before { transition: none !important; } }
/* MOBILE-HDR-END */

/* ---------- الوضع الافتراضي = هوية الموقع الكريمية؛ والوضع الداكن يبدّل المتغيرات فقط ---------- */
html.v2[data-q-theme="gray"], html.v2[data-q-theme="light"] { --bg: #FFFCF8; --ink: #17110D; --ink-2: #4A3F37; --muted: #7A6E65; --line: #ECE3DA; --brand-50: #FFF4E9; --brand-100: #FFE4C8; --night: #120C08; }
html.v2[data-q-theme="gray"] body { background: var(--bg); color: var(--ink); }
html.v2[data-q-theme="gray"] .section.alt, html.v2[data-q-theme="gray"] .alt { background: var(--alt) !important; }
html.v2[data-q-theme="gray"] :is(.card, .site-card, .plan, .kpi, .box, .note, .form-card, .chart-card, .feature-row, .pain, .special-card, .faq, .feat, .demo, .panel) { background-color: #fff !important; border-color: var(--line); }
html.v2 .v-steps .step { background: transparent !important; border: 0; }
html.v2[data-q-theme="dark"] { --bg: #120C08; --card: #1D1510; --alt: #17100B; --ink: #F1E8DF; --ink2: #CDBFB3; --mut: #9C8F84; --line: #33271F; --o-soft: rgba(242, 122, 26, .14); --o-line: rgba(242, 122, 26, .4); --o7: #FFB06B; }
html.v2[data-q-theme="dark"] body { background: var(--bg); color: var(--ink); }
html.v2[data-q-theme="dark"] .v-acts button[aria-selected="true"], html.v2[data-q-theme="dark"] .v-steps .step::before, html.v2[data-q-theme="dark"] .v-c-h i { background: var(--o6); color: #fff; }
html.v2[data-q-theme="dark"] .v-acts button[aria-selected="true"] [data-icon] { color: #fff; }
html.v2[data-q-theme="dark"] .v-g3 > .card .btn-primary { background: var(--o6); border-color: var(--o6); }
html.v2[data-q-theme="dark"] .v-nums, html.v2[data-q-theme="dark"] .v-b, html.v2[data-q-theme="dark"] .v-ap { background: var(--card) !important; }
html.v2[data-q-theme="dark"] .v-steps .step::before { box-shadow: 0 0 0 8px var(--bg); }

/* أدوات الطبقة المشتركة (البحث/الوضع/الحساب) داخل الهيدر الجديد */
.v-hd .q-tools { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- كسوة الصفحات الداخلية (ما زالت مبنية على site.css) ---------- */
html.v2 .page-hero { position: relative; overflow: hidden; background: var(--night) !important; color: #fff; padding: clamp(124px, 14vw, 176px) 0 clamp(52px, 6vw, 84px); }
html.v2 .page-hero::before { content: ''; position: absolute; inset: 0; width: auto; height: auto; background: radial-gradient(60% 80% at 50% 0%, rgba(242, 122, 26, .32), transparent 70%), radial-gradient(30% 50% at 88% 60%, rgba(255, 154, 69, .12), transparent 70%); -webkit-mask-image: none; mask-image: none; pointer-events: none; }
html.v2 .page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 80% at 50% 10%, #000 20%, transparent 78%); mask-image: radial-gradient(70% 80% at 50% 10%, #000 20%, transparent 78%); pointer-events: none; }
html.v2 .page-hero > * { position: relative; z-index: 1; }
html.v2 .page-hero h1 { color: #fff !important; font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.2; font-weight: 800; text-wrap: balance; }
html.v2 .page-hero p, html.v2 .page-hero .lead { color: #CDBFB3 !important; font-size: 1.16rem; font-weight: 300; }
html.v2 .page-hero .crumbs, html.v2 .page-hero .crumbs a { color: #A99C91 !important; }
html.v2 .page-hero .eyebrow { background: rgba(242, 122, 26, .14); color: #FFD3AB; border: 1px solid rgba(242, 122, 26, .35); }
html.v2 .page-hero .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
html.v2 main > section:first-child:not(.page-hero):not(.v-hero) { padding-top: clamp(124px, 14vw, 160px); }
html.v2 .section-head h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.22; text-wrap: balance; }
html.v2 .eyebrow { background: none; padding: 0; color: var(--o7); }
html.v2 .eyebrow::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--o); border-radius: 2px; box-shadow: none; }
html.v2 .page-hero .eyebrow { padding: 4px 14px; }
html.v2 .page-hero .eyebrow::before { display: none; }
html.v2 :is(.card, .plan, .form-card, .site-card) { border-radius: 20px; }
html.v2 .card:hover { border-color: var(--o-line); }
html.v2 .btn { border-radius: 14px; border-width: 1.5px; }
html.v2 .btn-primary { background: linear-gradient(135deg, #FF9A45, var(--o6)); box-shadow: 0 14px 30px -12px rgba(242, 122, 26, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
html.v2 .section.dark, html.v2 .cta-band { background-color: var(--night); background-image: radial-gradient(60% 80% at 50% 110%, rgba(242, 122, 26, .4), transparent 70%); }
html.v2 .cta-band { border-radius: 32px; }
html.v2 .footer { display: none; }
html.v2 .v-lang, html.v2[data-q-theme] .v-lang { background-color: transparent !important; color: #EADFD5 !important; border-color: rgba(255, 255, 255, .2) !important; }
html.v2 .v-lang option { color: #17110D !important; background: #fff !important; }

/* ذيل الصفحة من الطبقة المشتركة (هل الصفحة مفيدة / شارك / اقرأ أيضًا): بعرض محتوى الموقع، في المنتصف، وكروت متساوية */
html.v2 main > .q-fb, html.v2 main > .q-share, html.v2 main > .q-rel { width: min(100% - 40px, var(--wrap)); margin-inline: auto; box-sizing: border-box; }
html.v2 main > .q-fb { max-width: 760px; justify-content: center; margin-top: 48px; padding: 14px 20px; border: 1px solid var(--line) !important; border-style: solid !important; border-radius: 16px; background: var(--card) !important; }
html.v2 main > .q-share { justify-content: center; margin-top: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
html.v2 main > .q-rel { margin-top: 30px; margin-bottom: 72px; }
html.v2 .q-rel h3 { font-size: 1.35rem; font-weight: 800; text-align: center; margin: 0 0 18px; }
html.v2 .q-relg { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
html.v2 .q-reli { flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; min-height: 150px; box-shadow: 0 1px 0 rgba(23, 17, 13, .03); }
html.v2 .q-reli:hover { border-color: var(--o) !important; transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(180, 79, 5, .45); }
html.v2 .q-reli i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--o-soft); }
html.v2 .q-reli i .q-lion { width: 26px; height: 26px; }
html.v2 .q-reli b { font-size: 1.05rem; font-weight: 800; }
html.v2 .q-reli small { font-size: .85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1080px) { html.v2 .q-relg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { html.v2 .q-relg { grid-template-columns: 1fr; } html.v2 .q-reli { min-height: 0; flex-direction: row; padding: 14px; } html.v2 .q-reli i { flex: none; } html.v2 main > .q-fb, html.v2 main > .q-share, html.v2 main > .q-rel { width: calc(100% - 32px); } }

/* الوضع المظلم: الزر الشفاف كان أبيض بنص فاتح، ومربع الأيقونة كان ينتهي بلون فاتح */
html.v2[data-q-theme="dark"] { --surface: var(--card); }
html.v2[data-q-theme="dark"] .btn-ghost { background: rgba(255, 255, 255, .06); color: #F1E8DF; border-color: rgba(255, 255, 255, .22); }
html.v2[data-q-theme="dark"] .btn-ghost:hover { background: var(--o); color: #fff; border-color: var(--o); }
html.v2[data-q-theme="dark"] .icon { background: rgba(242, 122, 26, .14); color: #FFB06B; box-shadow: inset 0 0 0 1px rgba(242, 122, 26, .35); }

/* الوضع المظلم — كل المكوّنات التي كان لونها أبيض ثابتًا في site.css (مراجعة 2026-11-17) */
html.v2[data-q-theme="dark"] :is(.kpi, .chart-card, .rows, .float-card, .pos .item, .phone .in, .pain .before, .step, .faq details, .feature-nav a, .feature-row, .plan, .form-card, .contact-list li, .about-logo, .act-tabs button, .act-chips a, .shot-frame, .plain, .site-card, .act-tile, .app-logo, .special-card, .sites-ribbon) { background-color: var(--card); border-color: var(--line); color: var(--ink); }
html.v2[data-q-theme="dark"] :is(.contact-list li, .app-logo, .act-chips a, .act-tabs button, .feature-nav a) :is(small, b, span) { color: inherit; }
html.v2[data-q-theme="dark"] .contact-list li small { color: var(--mut); }
html.v2[data-q-theme="dark"] :is(.act-chips a, .act-tabs button, .feature-nav a):hover { border-color: var(--o); color: #FFB06B; }
html.v2[data-q-theme="dark"] .about-logo img { content: url("../img/logo-light.png?v=11"); }
html.v2[data-q-theme="dark"] .badge-soon { background: rgba(255, 196, 0, .14); color: #FFD36B; }
html.v2[data-q-theme="dark"] .btn-light { background: rgba(255, 255, 255, .92); }

/* MOBILE-PAGE-BEGIN */
/* ---------- الجوال: راحة القراءة واللمس في كل الصفحات (≤760px فقط، سطح المكتب لا يتغير) ---------- */
@media (max-width: 760px) {
  html.v2 { scroll-padding-top: 82px; }
  html.v2 body { overflow-wrap: break-word; }
  /* أهداف اللمس ≥44px */
  .v-tabs button, .v-acts button { min-height: 44px; }
  html.v2 .crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }
  html.v2 .crumbs { margin-bottom: 2px; }
  html.v2 .act-chips a { min-height: 44px; }
  html.v2 .contact-list a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
  html.v2 .contact-list li { padding-block: 8px; align-items: flex-start; }
  html.v2 .contact-list .icon { margin-top: 6px; flex: none; }
  html.v2 main > .q-fb button, html.v2 main > .q-share a, html.v2 main > .q-share button { min-height: 44px; }
  html.v2 .faq summary, .v-faq summary { min-height: 52px; }
  /* النماذج: عمود واحد وخط 16px (بدون تكبير iOS) */
  html.v2 .form-card :is(input, select, textarea) { font-size: 16px; min-height: 48px; }
  html.v2 .form-card textarea { min-height: 120px; }
  html.v2 .form-card { padding: 22px 16px; }
  /* صفحة التجربة: النموذج أولًا ثم «ماذا يحدث بعد الطلب» */
  html.v2 .form-wrap > form[data-lead="trial"] { order: -1; }
  html.v2 .form-card .btn[type="submit"], html.v2 .form-card button.btn { width: 100%; min-height: 52px; }
  /* أزرار الدعوة بعرض كامل ومتراصّة */
  html.v2 .page-hero .btn-row .btn, html.v2 .cta-band .btn-row .btn, html.v2 .offer .btn, html.v2 .special .btn { width: 100%; justify-content: center; }
  html.v2 .cta-band .btn-row { width: 100%; }
  html.v2 .btn { min-height: 46px; white-space: normal; text-align: center; }
  html.v2 .cta-band { border-radius: 24px; padding: 32px 20px; text-align: center; }
  html.v2 .page-hero { padding: 96px 0 40px; }
  html.v2 .page-hero p, html.v2 .page-hero .lead { font-size: 1.06rem; }
  html.v2 .section { padding: 52px 0; }
  html.v2 :is(.card, .plan, .site-card) { border-radius: 18px; }
  html.v2 img, html.v2 video, html.v2 iframe { max-width: 100%; }
  html.v2 table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  html.v2 main > section:first-child:not(.page-hero):not(.v-hero) { padding-top: 96px; }
  /* صفحة الأنشطة: شريط تنقل ثابت تحت الهيدر + طيّ مميزات كل نشاط */
  .m-actnav { display: flex; position: sticky; top: 66px; z-index: 40; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 9px 16px; background: rgba(18, 12, 8, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 24px -18px #000; }
  .m-actnav::-webkit-scrollbar { display: none; }
  .m-actnav a { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #EADFD5; font-weight: 700; font-size: .95rem; white-space: nowrap; }
  .m-actnav a svg { width: 18px; height: 18px; color: #FFB06B; }
  .m-actnav a[aria-current="true"] { background: linear-gradient(135deg, #FF9A45, var(--o6)); border-color: transparent; color: #fff; }
  .m-actnav a[aria-current="true"] svg { color: #fff; }
  [data-render="activities-full"] > section { scroll-margin-top: 126px; padding: 40px 0 !important; }
  .act-feats.m-fold { margin-top: 20px !important; padding-top: 0; border-top: 0; }
  .act-feats.m-fold > h4 { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin: 0; padding: 8px 16px; border: 1.5px solid var(--o-line); border-radius: 14px; background: var(--o-soft); color: var(--o7); font-size: 1.05rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .act-feats.m-fold > h4::after { content: ''; flex: none; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .22s ease; }
  .act-feats.m-fold.open > h4::after { transform: translateY(3px) rotate(-135deg); }
  .act-feats.m-fold > h4 .q-anc { display: none; }
  .act-feats.m-fold:not(.open) > .feat-grid { display: none; }
  .act-feats.m-fold.open > .feat-grid { margin-top: 12px; }
}
