@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/plex-ar-400.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/plex-lat-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-display:swap;font-weight:500;src:url(/assets/fonts/plex-ar-500.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-display:swap;font-weight:500;src:url(/assets/fonts/plex-lat-500.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/plex-ar-700.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/plex-lat-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* ==========================================================================
   Sultation Consulting — style.css
   اتجاه التصميم: سبورة بيضاء على ورق شبكي خفيف. كحلي للنص والبنية، كهرماني
   للتأكيد فقط. خط IBM Plex Sans Arabic. الموبايل أولًا، RTL أصلي.
   ========================================================================== */

:root {
  /* ألوان أساسية */
  --ink: #0e2647;          /* كحلي الهوية (مطابق لشعار Sultation) */
  --ink-deep: #0a1b33;     /* خلفية الأقسام الداكنة */
  --amber: #f2a81d;        /* كهرماني للتأكيد والأزرار */
  --amber-soft: #fde9bd;   /* تظليل خفيف (مثل قلم هايلايتر) */
  --amber-text: #8a5a00;   /* كهرماني للنص على خلفية فاتحة (تباين ≥ 6:1) */
  --paper: #f6f8fb;        /* ورق بارد خفيف */
  --surface: #ffffff;
  --line: #d3dbe8;
  --text: #1c2a44;
  --muted: #4a5873;
  --ok: #17724a;
  --ok-bg: #e3f4ea;
  --bad: #a82a22;
  --bad-bg: #fbe7e5;
  --wait: #7a5200;
  --wait-bg: #fff1cf;
  --focus: #0e2647;

  --font: "IBM Plex Sans Arabic", "Cairo", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;

  --radius: 6px;
  --container: 1120px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --section-y: clamp(3rem, 7vw, 5.5rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text);
  background-color: var(--paper);
  /* ملمس ورقي: شبكة خفيفة جدًا */
  background-image:
    linear-gradient(rgba(15, 39, 71, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 71, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
.ico { display: inline-block; width: 1.5rem; height: 1.5rem; flex: none; vertical-align: -0.3em; }
.page-head .ico { display: block; width: 56px; height: 56px; margin-bottom: 0.75rem; color: var(--ink); }

a { color: var(--ink); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--amber); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.on-ink :focus-visible { outline-color: var(--amber); }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* ---------- عناوين ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; color: var(--ink); margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); line-height: 1.25; letter-spacing: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.prose { max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }

/* خط يدوي تحت عناوين الأقسام: علامة ثابتة للهوية */
.section-title { position: relative; display: inline-block; padding-bottom: 0.55rem; margin-bottom: 0.9rem; }
.section-title::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 10px;
  background: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 34 9, 52 5 S 86 2, 104 6 S 150 9, 170 4 S 192 5, 198 4' fill='none' stroke='%23f2a81d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.on-ink .section-title { color: #fff; }

.section { padding-block: var(--section-y); }
.section--ink { background: var(--ink-deep); color: #e6ecf6; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 62ch; margin-bottom: 2rem; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.55rem 1.4rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.4;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--amber); border-color: var(--ink); color: var(--ink); box-shadow: -4px 4px 0 var(--ink); }
.btn--primary:hover { background: #ffbd3f; color: var(--ink); box-shadow: -2px 2px 0 var(--ink); transform: translate(-2px, 2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1b3d6e; }
.btn--sm { min-height: 40px; padding: 0.3rem 1rem; font-size: 0.95rem; }
.btn[disabled], .btn[aria-disabled="true"] {
  background: #e9edf4; color: #5b6880; border-color: #aab5c7; border-style: dashed;
  box-shadow: none; cursor: not-allowed; transform: none;
}
.on-ink .btn { border-color: #fff; color: #fff; }
.on-ink .btn:hover { background: #fff; color: var(--ink); }
.on-ink .btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); box-shadow: -4px 4px 0 #fff; }
.on-ink .btn--primary:hover { background: #ffbd3f; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- شريط تجريبي ---------- */
.demo-banner {
  background: var(--amber); color: var(--ink); font-weight: 700; font-size: 0.95rem;
  text-align: center; padding: 0.5rem 1rem; line-height: 1.6;
}

/* ---------- الهيدر ---------- */
.site-header { background: var(--surface); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.logo img { height: 38px; width: auto; }
@media (min-width: 640px) { .logo img { height: 44px; } }
.logo-text { direction: ltr; }
.nav-toggle {
  margin-inline-start: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 2px solid var(--ink); padding: 0.5rem 1rem 1rem; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 0.7rem 0.25rem; text-decoration: none; font-weight: 500; border-bottom: 1px dashed var(--line); }
.site-nav a[aria-current="page"], .site-nav a.is-active { font-weight: 700; background: linear-gradient(transparent 62%, var(--amber-soft) 62%); }
.header-cta { display: none; }
.site-nav .nav-cta { margin-top: 0.75rem; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; border: 0; padding: 0; background: transparent; margin-inline-start: auto; }
  .site-nav ul { display: flex; gap: 0.25rem; }
  .site-nav a { border: 0; padding: 0.4rem 0.7rem; border-radius: 4px; font-size: 0.97rem; }
  .site-nav a:hover { background: var(--amber-soft); }
  .site-nav .nav-cta { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-y); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: 0.25em; }
.hero-en { direction: ltr; text-align: start; unicode-bidi: plaintext; font-size: 1.15rem; color: var(--amber-text); font-weight: 500; margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 1.75rem; }
.sketch { width: 100%; height: auto; color: var(--ink); }
.sketch .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1.05; animation: draw 1.1s ease forwards; animation-delay: var(--delay, 0s); }
.sketch .fade { opacity: 0; animation: fadein 0.5s ease forwards; animation-delay: var(--delay, 1s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .sketch .draw { stroke-dashoffset: 0; }
  .sketch .fade { opacity: 1; }
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* ---------- شريط المجالات ---------- */
.fields { border-block: 2px solid var(--ink); background: var(--surface); }
.fields ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.fields li { padding: 1rem; border-inline-start: 1px dashed var(--line); display: flex; flex-direction: column; line-height: 1.5; }
.fields li:nth-child(odd) { border-inline-start: 0; }
.fields .code { font-weight: 700; font-size: 1.1rem; color: var(--ink); direction: ltr; text-align: start; }
.fields .label { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 760px) {
  .fields ul { grid-template-columns: repeat(4, 1fr); }
  .fields li:nth-child(odd) { border-inline-start: 1px dashed var(--line); }
  .fields li:first-child { border-inline-start: 0; }
}

/* ---------- الخدمات ---------- */
.services-grid { display: grid; gap: 2rem; }
.service-list { display: grid; gap: 0; border-top: 2px solid var(--ink); align-self: start; }
.service-row { display: grid; grid-template-columns: 56px 1fr; gap: 1rem 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.service-row .ico { width: 56px; height: 56px; color: var(--ink); }
.service-row h3 { margin-bottom: 0.3em; }
.service-row p { color: var(--muted); margin-bottom: 0.6em; }
.service-row ul { margin: 0 0 0.5rem; padding-inline-start: 1.2rem; }
.service-row li::marker { color: var(--amber); }
.service-row .note { font-size: 0.95rem; color: var(--amber-text); font-weight: 500; margin: 0.4rem 0 0; }
@media (min-width: 900px) { .services-grid.has-image { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; } }

/* الخدمة المتخصصة: شريط داكن بعرض كامل */
.featured {
  display: grid; gap: 1.75rem; align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--ink); color: #e6ecf6; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: -10px 10px 0 var(--amber);
}
.featured h3 { color: #fff; font-size: 1.6rem; }
.featured p { max-width: 52ch; }
.featured .ico { width: 64px; height: 64px; color: var(--amber); margin-bottom: 0.75rem; }
@media (min-width: 800px) { .featured.has-image { grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; } }
.badge {
  display: inline-block; background: var(--amber); color: var(--ink); font-weight: 700;
  font-size: 0.9rem; padding: 0.1rem 0.7rem; border-radius: 3px; margin-bottom: 0.9rem; line-height: 1.7;
}

/* ---------- الصور التوضيحية ---------- */
.photo { margin: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--surface); position: relative; }
.photo img { width: 100%; height: auto; display: block; object-fit: cover; }
.photo figcaption {
  position: absolute; inset-inline-start: 0.6rem; bottom: 0.6rem;
  background: rgba(14, 38, 71, 0.88); color: #fff; font-size: 0.82rem; line-height: 1.6;
  padding: 0.05rem 0.65rem; border-radius: 3px;
}
.photo--tall { align-self: start; }
.photo--tall img { aspect-ratio: 2 / 3; max-height: 720px; }
.photo--square img { aspect-ratio: 1 / 1; }
.photo--wide img { aspect-ratio: 4 / 3; }
.photo--small { max-width: 360px; }
.photo--on-ink { border-color: rgba(255, 255, 255, 0.85); }
.head-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .head-grid.has-image { grid-template-columns: 1.25fr 0.75fr; gap: 3rem; } }
.cta-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-grid.has-image { grid-template-columns: 1.3fr 0.7fr; gap: 3rem; } }
.footer-logo { margin-bottom: 0.75rem; }
.footer-logo .logo img { height: 40px; }

/* ---------- بطاقات المنتجات ---------- */
.product-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.product-card {
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.product-card .ico { width: 44px; height: 44px; color: var(--ink); }
.product-card h3 { margin: 0.25rem 0 0; font-size: 1.15rem; }
.product-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.8; flex: 1; margin: 0; }
.product-card .row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--ink); }
.price-unset { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 700;
  padding: 0.1rem 0.7rem; border-radius: 999px; border: 1.5px solid currentColor; line-height: 1.7; width: fit-content;
}
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.s-available, .s-paid { color: var(--ok); background: var(--ok-bg); }
.s-in_development, .s-awaiting_payment, .s-awaiting_verification { color: var(--wait); background: var(--wait-bg); }
.s-rejected, .s-expired { color: var(--bad); background: var(--bad-bg); }

/* ---------- الفيديوهات ---------- */
.video-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.video-card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; background: var(--paper);
  background-image: repeating-linear-gradient(45deg, rgba(15,39,71,0.06) 0 2px, transparent 2px 12px);
  border-bottom: 1.5px solid var(--ink); display: grid; place-items: center; width: 100%; padding: 0; border-inline: 0; border-top: 0; font: inherit; color: var(--ink);
}
button.video-frame { cursor: pointer; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .play { width: 64px; height: 64px; }
.video-frame .soon { font-weight: 700; color: var(--muted); }
.video-card .body { padding: 1rem 1.1rem 1.2rem; }
.video-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.video-card p { color: var(--muted); font-size: 0.95rem; margin: 0; line-height: 1.8; }

/* ---------- من نحن ---------- */
.about-grid { display: grid; gap: 2rem; }
.facts { margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.facts div { border-inline-start: 4px solid var(--amber); padding-inline-start: 1rem; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .about-grid.has-photo { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; } }

/* ---------- النماذج ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field .label { font-weight: 700; color: var(--ink); }
.field .help { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--text); background: var(--surface); width: 100%;
  border: 1.5px solid #7f8da6; border-radius: var(--radius); padding: 0.6rem 0.8rem; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--bad); background: var(--bad-bg); }
.field .error { color: var(--bad); font-weight: 500; font-size: 0.93rem; }
.field input[dir="ltr"] { text-align: start; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 500; }
.form-status.is-error { color: var(--bad); }

.contact-grid { display: grid; gap: 2.25rem; }
.contact-card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.5rem; }
.contact-lines { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.contact-lines li { display: flex; gap: 0.6rem; align-items: center; }
.contact-lines svg { width: 22px; height: 22px; flex: none; color: var(--amber-text); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--ink-deep); color: #cfd8e8; padding-block: 3rem 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 0.75rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-brand .tag { color: #fff; font-weight: 700; margin-bottom: 0.1rem; }
.footer-brand .tag-en { direction: ltr; text-align: start; unicode-bidi: plaintext; color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 2rem; padding-top: 1rem; font-size: 0.92rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- صفحات داخلية ---------- */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.breadcrumb { font-size: 0.93rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "‹"; margin-inline-end: 0.4rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.3fr 0.7fr; align-items: start; } }

.panel { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.4rem; }
.panel + .panel { margin-top: 1.25rem; }
.panel h2, .panel h3 { font-size: 1.15rem; }
.buy-box { position: sticky; top: 90px; box-shadow: -6px 6px 0 var(--amber); }
.buy-box .price { font-size: 1.6rem; display: block; margin-bottom: 0.4rem; }
.checks { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.5rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; }
.checks svg { width: 22px; height: 22px; margin-top: 0.35rem; color: var(--ok); }
.checks.limits svg { color: var(--bad); }
.meta-list { margin: 0; display: grid; gap: 0.5rem; }
.meta-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.4rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 500; text-align: end; }

/* خطوات (تسلسل فعلي) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; border-inline-start: 3px solid var(--ink); }
.steps li { counter-increment: step; position: relative; padding: 0.2rem 1.6rem 1.5rem 0; padding-inline: 1.6rem 0; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: -17px; top: 0.15rem; width: 31px; height: 31px;
  border-radius: 50%; background: var(--amber); color: var(--ink); border: 2px solid var(--ink);
  font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.steps h3 { margin-bottom: 0.1rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }
.section--ink .steps { border-color: #fff; }
.section--ink .steps p { color: #cfd8e8; }
.how-list { margin: 0; padding-inline-start: 1.4rem; display: grid; gap: 0.3rem; }
.how-list li::marker { color: var(--amber-text); font-weight: 700; }

.empty-box { border: 2px dashed #8a97b0; border-radius: var(--radius); padding: 1.25rem; color: var(--muted); background: rgba(255,255,255,0.6); }

/* ---------- صفحة الطلب ---------- */
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-bottom: 1rem; }
.order-no { font-family: var(--font); direction: ltr; unicode-bidi: plaintext; font-weight: 700; font-size: 1.6rem; letter-spacing: 0.04em; color: var(--ink); }
.summary { margin: 0; display: grid; gap: 0.5rem; }
.summary div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.45rem; flex-wrap: wrap; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; }
.amount { font-size: 1.5rem; color: var(--ink); }
.method-card { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--surface); }
.method-card + .method-card { margin-top: 0.9rem; }
.method-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; margin-bottom: 0.6rem; }
.method-card h3 svg { width: 26px; height: 26px; }
.kv { display: grid; gap: 0.4rem; margin: 0; }
.kv div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.kv dd .val { direction: ltr; unicode-bidi: plaintext; }
.kv dd.is-ph .val { color: var(--amber-text); direction: rtl; unicode-bidi: isolate; }
.notice { border-radius: var(--radius); padding: 0.85rem 1rem; font-weight: 500; border: 1.5px solid; }
.notice--warn { background: var(--wait-bg); border-color: var(--wait); color: #4a3200; }
.notice--bad { background: var(--bad-bg); border-color: var(--bad); color: #6e1a15; }
.notice--ok { background: var(--ok-bg); border-color: var(--ok); color: #0d4a2e; }
.stack > * + * { margin-top: 1.25rem; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-box { direction: ltr; unicode-bidi: plaintext; word-break: break-all; font-size: 0.9rem; background: var(--paper); border: 1px dashed #8a97b0; padding: 0.5rem 0.7rem; border-radius: 4px; }
.loading { color: var(--muted); padding: 2rem 0; }

/* ---------- لوحة المالك ---------- */
.admin-wrap { padding-block: 2rem 4rem; }
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 700; padding: 0.45rem 1.1rem; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: var(--radius); cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.order-card { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
.order-card .top { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.order-card .grid { display: grid; gap: 0.35rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 0; }
.order-card dt { color: var(--muted); font-size: 0.9rem; }
.order-card dd { margin: 0 0 0.4rem; font-weight: 500; word-break: break-word; }
.order-card .ltr { direction: ltr; unicode-bidi: plaintext; }
.dup-flag { background: var(--bad-bg); color: var(--bad); border: 1.5px solid var(--bad); border-radius: 4px; padding: 0.15rem 0.6rem; font-weight: 700; font-size: 0.9rem; }
.decision { border-top: 1px dashed var(--line); margin-top: 0.8rem; padding-top: 0.8rem; display: grid; gap: 0.75rem; }
.check-row { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-row input { width: 22px; height: 22px; margin-top: 0.4rem; accent-color: var(--ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 200; display: grid; place-items: center; pointer-events: none; }
.toast span { background: var(--ink); color: #fff; padding: 0.6rem 1.2rem; border-radius: var(--radius); font-weight: 700; box-shadow: -4px 4px 0 var(--amber); }

@media print {
  .site-header, .site-footer, .demo-banner, .btn { display: none !important; }
  body { background: #fff; }
}

/* ---------- المقالات والمشروعات (تُرسم على الخادم) ---------- */
.post-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.post-card .post-img { display: block; aspect-ratio: 16 / 9; background: var(--paper); border-bottom: 2px solid var(--ink); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 1rem 1.1rem 1.25rem; }
.post-body h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.post-body h2 a { text-decoration: none; }
.post-body h2 a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.post-body p { color: var(--muted); margin: 0; }
.post-meta { color: var(--amber-text); font-weight: 500; font-size: 0.92rem; margin: 0 0 0.35rem; }
.article { max-width: 760px; }
.article h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.article .crumb { margin: 0 0 1rem; font-size: 0.95rem; }
.article-cover { margin: 1.25rem 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body { max-width: none; font-size: 1.08rem; line-height: 1.95; }
.article-body h2 { margin-top: 2rem; font-size: 1.45rem; }
.article-body h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.article-body ul, .article-body ol { padding-inline-start: 1.4rem; }
.article-body li { margin-bottom: 0.35rem; }
.article-body blockquote { margin: 1.25rem 0; padding: 0.4rem 1rem; border-inline-start: 4px solid var(--amber); background: var(--amber-soft); }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.facts { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 1.25rem 0; padding: 1rem; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); }
.facts dt { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.facts dd { margin: 0.1rem 0 0; color: var(--muted); }
