/* الخطوط على نفس السيرفر (أسرع من Google Fonts): عربي ولاتيني بس */
/* latin */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/jetbrainsmono-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF; }
/* arabic */
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/almarai-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/almarai-400-latin.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;
}
/* arabic */
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/almarai-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/almarai-700-latin.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;
}
/* arabic */
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/almarai-800-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/almarai-800-latin.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;
}
/* arabic */
@font-face {
  font-family: 'Lalezar';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lalezar-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Lalezar';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lalezar-400-latin.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;
}

/* =========================================================
   📌 دبابيس ويب — نفس هوية دبابيس («لوحة الحي»)
   ورق فاتح بنقط خفيفة، كتابة كحلي، وأحمر واحد للفعل (زي الدبوس).
   غيّر الألوان من هنا وهتتغير في الموقع كله.
   ========================================================= */
:root {
  /* أحمر الدبوس: اللون الوحيد للفعل الأساسي والروابط */
  --brand: #C23A1E;
  --brand-hover: #8F2A15;
  --brand-soft: #F8DFD7;
  --brand-tint: #EFE6D6;
  --brand-deep: #8F2A15;
  --brand-line: #D9CDB6;

  /* الحبر: الشرايط والمساحات الغامقة */
  --ink: #1F2A44;
  --on-ink: #F4EEE3;
  --on-ink-muted: #B8BCCB;
  --highlight: #F6D776;

  /* الورق اللاصق */
  --note-yellow: #F6D776;
  --note-mint: #CDE7D4;
  --note-sky: #D3E2F4;
  --note-pink: #F6D3CB;
  --note-paper: #FFFFFF;
  --note-ink: #1F2A44;
  --note-ink-muted: #3E4860;
  --note-accent: #B3341A;
  --pin-shadow: rgba(31, 42, 68, 0.14);

  /* الورق */
  --page: #F4EEE3;
  --page-dot: #E2D8C6;
  --surface: #FFFFFF;
  --surface-muted: #EDE5D6;

  /* الكتابة */
  --text: #1F2A44;
  --text-muted: #4E586E;
  --text-subtle: #687084;
  --text-on-brand: #FFFFFF;

  --border: #E2D8C6;
  --border-strong: #CDBFA6;
  --danger: #B3261E;

  --font-display: "Lalezar", "Almarai", system-ui, sans-serif;
  --font-body: "Almarai", system-ui, sans-serif;
  --font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .8, .25, 1);
}

/* 🌙 الوضع الغامق: اللوحة بالليل، والورق اللاصق فاضل منوّر */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand: #FF7D5E;
    --brand-hover: #FF9A80;
    --brand-soft: #3A2620;
    --brand-tint: #1C2235;
    --brand-deep: #B8452B;
    --brand-line: #3A4359;
    --ink: #0E1220;
    --on-ink: #F1EADB;
    --on-ink-muted: #A9AFC0;
    --highlight: #F2CF63;
    --note-yellow: #E9CC6C;
    --note-mint: #B7D6C0;
    --note-sky: #BCD0EA;
    --note-pink: #E8BEB3;
    --note-paper: #F1EADB;
    --pin-shadow: rgba(0, 0, 0, 0.45);
    --page: #151A28;
    --page-dot: #222A3D;
    --surface: #1E2436;
    --surface-muted: #262D42;
    --text: #F1EADB;
    --text-muted: #B4B9C8;
    --text-subtle: #8F96A9;
    --text-on-brand: #1A0E0A;
    --border: #2C3447;
    --border-strong: #3B4459;
    --danger: #FF8A78;
  }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --brand: #FF7D5E;
    --brand-hover: #FF9A80;
    --brand-soft: #3A2620;
    --brand-tint: #1C2235;
    --brand-deep: #B8452B;
    --brand-line: #3A4359;
    --ink: #0E1220;
    --on-ink: #F1EADB;
    --on-ink-muted: #A9AFC0;
    --highlight: #F2CF63;
    --note-yellow: #E9CC6C;
    --note-mint: #B7D6C0;
    --note-sky: #BCD0EA;
    --note-pink: #E8BEB3;
    --note-paper: #F1EADB;
    --pin-shadow: rgba(0, 0, 0, 0.45);
    --page: #151A28;
    --page-dot: #222A3D;
    --surface: #1E2436;
    --surface-muted: #262D42;
    --text: #F1EADB;
    --text-muted: #B4B9C8;
    --text-subtle: #8F96A9;
    --text-on-brand: #1A0E0A;
    --border: #2C3447;
    --border-strong: #3B4459;
    --danger: #FF8A78;
  }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--page);
  background-image: radial-gradient(var(--page-dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.3; margin: 0; }
p { margin: 0; }
b, strong { font-weight: 700; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; right: 16px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* =========================================================
   الدبوس والورق
   ========================================================= */
.note {
  position: relative;
  color: var(--note-ink);
  background: var(--note-paper);
  box-shadow: 0 10px 22px var(--pin-shadow);
  transform: rotate(var(--r, 0deg));
  transition: box-shadow .25s, transform .35s var(--ease);
}
a.note:hover, .note-lift:hover { box-shadow: 0 16px 30px var(--pin-shadow); transform: rotate(var(--r, 0deg)) translateY(-4px); }
.note--yellow { background: var(--note-yellow); }
.note--mint { background: var(--note-mint); }
.note--sky { background: var(--note-sky); }
.note--pink { background: var(--note-pink); }

.pin {
  position: absolute; top: 10px; right: 50%; transform: translateX(50%);
  width: 16px; height: 16px; border-radius: 50%; z-index: 3;
  background: var(--brand);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .3), inset -2px -2px 0 rgba(0, 0, 0, .15);
}
.pin::after { content: ""; position: absolute; top: 3px; right: 4px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.55); }
.pin--ink { background: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pin--ink { background: #4A5578; }
}
:root[data-theme="dark"] .pin--ink { background: #4A5578; }
.tape {
  position: absolute; top: -10px; right: 38%; width: 90px; height: 24px; z-index: 3;
  background: color-mix(in srgb, var(--note-yellow) 80%, transparent);
  transform: rotate(-4deg);
}
.stamp {
  display: inline-block; padding: 0 12px;
  border: 3px solid var(--note-accent); border-radius: 8px;
  color: var(--note-accent); font-family: var(--font-display); line-height: 1.6;
  transform: rotate(-14deg);
}
.js .stamp.is-in { animation: stamp .7s var(--ease) both .3s; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
  60% { opacity: 1; transform: rotate(-14deg) scale(.92); }
  100% { opacity: 1; transform: rotate(-14deg) scale(1); }
}
.scribble-word { position: relative; display: inline-block; color: var(--brand); }
.scribble-word svg { position: absolute; inset-inline-start: -4%; bottom: -6px; width: 108%; height: 18px; overflow: visible; }
.scribble { stroke-dasharray: 420; animation: scribble 1.4s ease-out both .6s; }
@keyframes scribble { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }

@keyframes note-drop {
  0% { opacity: 0; transform: translateY(-48px) rotate(var(--r, 0deg)); }
  70% { opacity: 1; transform: translateY(5px) rotate(var(--r, 0deg)); }
  100% { opacity: 1; transform: rotate(var(--r, 0deg)); }
}
@keyframes note-sway {
  0%, 100% { transform: rotate(var(--r, 0deg)); }
  50% { transform: rotate(calc(var(--r, 0deg) + 1.2deg)); }
}
.note-drop { animation: note-drop .9s var(--ease) both; }
.note-sway { animation: note-drop .9s var(--ease) both, note-sway 6s ease-in-out .9s infinite; }
.js .drop-in { opacity: 0; }
.js .drop-in.is-in { animation: note-drop .9s var(--ease) both; animation-delay: var(--d, 0s); }

.lined {
  background-color: var(--note-paper);
  background-image: repeating-linear-gradient(var(--note-paper) 0 35px, #D7E2EE 35px 36px);
}

/* =========================================================
   الأزرار والروابط
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 16px; border: 0; cursor: pointer;
  background: var(--brand); color: var(--text-on-brand);
  font-size: 17px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 0 var(--brand-deep);
  transition: background .2s, transform .1s, box-shadow .1s;
}
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-deep); }
.btn svg { width: 18px; height: 18px; }
.btn--ink { background: var(--ink); color: var(--on-ink); box-shadow: 0 4px 0 #0c1222; }
.btn--ink:hover { background: #2b3757; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn--ink { background: var(--on-ink); color: #1F2A44; box-shadow: 0 4px 0 #b9b1a3; }
  :root:not([data-theme="light"]) .btn--ink:hover { background: #fff; }
}
:root[data-theme="dark"] .btn--ink { background: var(--on-ink); color: #1F2A44; box-shadow: 0 4px 0 #b9b1a3; }
:root[data-theme="dark"] .btn--ink:hover { background: #fff; }
.btn--paper { background: var(--note-paper); color: var(--note-ink); box-shadow: 0 4px 0 #c9bfae; }
.btn--paper:hover { background: var(--note-yellow); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.link-line { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; transition: color .2s; }
.link-line:hover { color: var(--brand); }
.link-line--light { color: var(--on-ink); }

/* =========================================================
   الهيدر
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 6px; }
.brand-pin { width: 28px; height: 28px; flex: none; }
.brand-name { font-family: var(--font-display); color: var(--brand); font-size: 34px; line-height: 1; }
.brand-word { display: inline-flex; align-items: center; gap: 5px; }
.brand-word .brand-name { letter-spacing: .3px; }
.brand-sub { align-self: center; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--on-ink); background: var(--ink); padding: 1px 9px 2px; border-radius: 7px; transform: rotate(-3deg); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav-links a { color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 3px; text-underline-offset: 10px; }
.nav-cta { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 14px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .menu-open { background: var(--page); }
  .menu-open .nav-links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 80px; inset-inline: 0;
    background: var(--page); padding: 8px var(--gutter) 24px; box-shadow: 0 12px 20px -12px var(--pin-shadow);
  }
  .menu-open .nav-links a { font-size: 1.15rem; padding: 10px 0; display: block; }
}

/* =========================================================
   الهيرو: «علّق موقعك جنب الكبار»
   ========================================================= */
.hero { padding: clamp(28px, 5vw, 60px) 0 clamp(60px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.25; }
.hero-lead { margin-top: 20px; font-size: 1.15rem; color: var(--text-muted); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.hero-proof { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--text-muted); font-size: .95rem; }
.hero-proof .stars { color: #E2A100; letter-spacing: 2px; font-size: 1.1rem; }
.hero-proof strong { color: var(--text); }
.hero-proof:hover strong { color: var(--brand); }

/* اللوحة اللي عليها المواقع */
.wall { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; padding: 18px 6px 0; align-items: start; }
.wall .shot { --r: -3deg; }
.wall .shot:nth-child(1) { --r: -3.5deg; }
.wall .shot:nth-child(2) { --r: 2.6deg; margin-top: 34px; }
.wall .shot:nth-child(3) { --r: 1.8deg; margin-top: -10px; }
.wall .slot { --r: -2.2deg; margin-top: 24px; }
.shot { display: block; padding: 10px 10px 14px; background: var(--note-paper); }
.shot-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-muted); border: 1px solid rgba(31, 42, 68, .08); }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; margin-top: 10px; }
.shot-cap b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.1; direction: ltr; unicode-bidi: isolate; }
.shot-cap span { font-size: .78rem; color: var(--note-ink-muted); }
.shot .cover-mini { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--c-bg, #f4f4f2); color: var(--c-ink, #111); font-family: var(--font-display); font-size: 2.4rem; direction: ltr; }

/* الدبوس الفاضي: مكان موقع العميل */
.slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  padding: 34px 18px 22px; min-height: 100%;
  background: transparent; color: var(--text);
  border: 2.5px dashed var(--border-strong); border-radius: 4px;
  box-shadow: none;
  transition: border-color .25s, background .25s, transform .35s var(--ease);
}
.slot:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand-soft) 45%, transparent); transform: rotate(var(--r, 0deg)) translateY(-4px); }
.slot b { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.2; color: var(--brand); }
.slot span { font-size: .9rem; color: var(--text-muted); }
.slot .slot-plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--text-on-brand); box-shadow: 0 3px 0 var(--brand-deep); margin-bottom: 6px; }
.slot .slot-plus svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .wall { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 420px) {
  .wall { gap: 18px 12px; }
  .shot { padding: 7px 7px 10px; }
  .shot-cap b { font-size: 1.05rem; }
  .shot-cap span { display: none; }
  .slot b { font-size: 1.2rem; }
}

/* =========================================================
   شريط الحبر (التقنيات)
   ========================================================= */
.ticker { background: var(--ink); color: var(--on-ink); overflow: hidden; direction: ltr; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; white-space: nowrap; font-size: .98rem; }
.ticker-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); }
.ticker-item b { color: var(--highlight); font-weight: 700; }
@keyframes ticker { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =========================================================
   الأرقام: ورق لاصق
   ========================================================= */
.stats { padding: clamp(60px, 8vw, 90px) 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { padding: 34px 20px 20px; text-align: center; }
.stat:nth-child(1) { --r: -2deg; }
.stat:nth-child(2) { --r: 1.5deg; }
.stat:nth-child(3) { --r: -1deg; }
.stat:nth-child(4) { --r: 2deg; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.3rem); line-height: 1.1; color: var(--note-accent); direction: ltr; }
.stat-label { font-size: .95rem; font-weight: 700; color: var(--note-ink-muted); margin-top: 4px; line-height: 1.5; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; } }

/* =========================================================
   السكاشن
   ========================================================= */
.section { padding: clamp(80px, 10vw, 120px) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 54px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 2.9rem); line-height: 1.25; max-width: 16em; }
.section-head p { color: var(--text-muted); margin-top: 6px; max-width: 34em; }
main > :last-child { padding-bottom: clamp(70px, 9vw, 110px); }

/* =========================================================
   كروت المشاريع: صور متدبّسة على اللوحة
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 44px; padding-top: 10px; }
.work-card { display: flex; flex-direction: column; padding: 12px 12px 22px; }
.work-card:nth-child(4n+1) { --r: -1.4deg; }
.work-card:nth-child(4n+2) { --r: 1.1deg; }
.work-card:nth-child(4n+3) { --r: .8deg; }
.work-card:nth-child(4n+4) { --r: -1deg; }
.work-screen { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--surface-muted); border: 1px solid rgba(31, 42, 68, .1); }
.work-scroll { position: absolute; inset: 0 0 auto 0; transition-property: transform; transition-timing-function: cubic-bezier(.45,.05,.3,1); }
.work-scroll img { width: 100%; min-height: 100%; object-fit: cover; object-position: top; }
.work-card:hover .can-scroll .work-scroll, .work-card:focus-visible .can-scroll .work-scroll { transform: translateY(var(--shift, 0)); }
.scroll-hint {
  position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(31, 42, 68, .88); color: #F4EEE3;
  font-size: .78rem; font-weight: 700; opacity: 0; transition: opacity .3s; pointer-events: none;
}
.scroll-hint svg { width: 14px; height: 14px; }
.can-scroll .scroll-hint { opacity: 1; }
.work-card:hover .scroll-hint { opacity: 0; }

.work-meta { padding: 16px 6px 0; }
.work-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.work-brand h3 { font-size: 1.8rem; line-height: 1.15; direction: ltr; unicode-bidi: isolate; }
.work-tag { font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--note-yellow); color: var(--note-ink); transform: rotate(-2deg); }
.work-title { color: var(--note-ink-muted); margin-top: 4px; line-height: 1.6; }
.work-results { display: flex; gap: 26px; padding: 14px 6px 0; }
.work-results div { font-size: .85rem; color: var(--note-ink-muted); line-height: 1.45; }
.work-results b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; color: var(--note-accent); direction: ltr; text-align: right; }
.work-stack { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 6px 0; direction: ltr; justify-content: flex-end; }
.work-stack span { font-family: var(--font-code); font-size: .72rem; color: var(--note-ink-muted); padding: 2px 9px; border-radius: 6px; background: #F1EBDF; }

/* أول مشروع في الرئيسية بعرض كامل */
.work-grid--feature .work-card:first-child { grid-column: 1 / -1; --r: -.6deg; }
.work-grid--feature .work-card:first-child .work-screen { aspect-ratio: 16 / 7.4; }
.work-grid--feature .work-card:first-child .work-brand h3 { font-size: 2.3rem; }

/* مكان موقعك في آخر اللوحة */
.work-grid .slot { min-height: 340px; --r: 1.6deg; }
.work-grid .slot b { font-size: 2rem; }

@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; gap: 44px; }
  .work-grid--feature .work-card:first-child .work-screen { aspect-ratio: 16 / 10.5; }
  .work-card:nth-child(odd) { --r: -.8deg; }
  .work-card:nth-child(even) { --r: .8deg; }
  .work-grid .slot { min-height: 220px; }
}

/* غلاف المشروع اللي مالوش سكرين شوت */
.cover { position: relative; aspect-ratio: 16 / 10.5; background: var(--c-bg); color: var(--c-ink); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 8% 7%; }
.work-grid--feature .work-card:first-child .cover { aspect-ratio: 16 / 7.4; }
.cover-mark { position: absolute; inset-inline-end: -4%; bottom: -16%; font-family: var(--font-display); font-size: clamp(8rem, 22vw, 15rem); line-height: 1; color: var(--c-accent); opacity: .1; direction: ltr; }
.cover-body { position: relative; z-index: 1; }
.cover-body b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; direction: ltr; text-align: right; }
.cover-body p { margin-top: 8px; opacity: .7; font-size: .95rem; }
.cover-ui { position: relative; z-index: 1; justify-self: start; width: 80%; background: #fff; border-radius: 12px; padding: 14px; display: grid; gap: 8px; box-shadow: 0 24px 40px -22px rgba(0,0,0,.35); transform: rotate(-4deg); }
.cover-ui i { height: 8px; border-radius: 4px; background: var(--c-soft); }
.cover-ui i:first-child { width: 45%; background: var(--c-ink); }
.cover-ui i:nth-child(3) { width: 70%; }
.cover-ui span { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-items: end; height: 60px; margin-top: 4px; }
.cover-ui em { display: block; border-radius: 4px 4px 0 0; background: var(--c-accent); }
.cover-ui em:nth-child(1) { height: 45%; opacity: .5; }
.cover-ui em:nth-child(2) { height: 70%; opacity: .7; }
.cover-ui em:nth-child(3) { height: 55%; opacity: .6; }
.cover-ui em:nth-child(4) { height: 95%; }
@media (max-width: 520px) { .cover { grid-template-columns: 1fr; } .cover-ui { display: none; } }

/* =========================================================
   الخدمات
   ========================================================= */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.service { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: box-shadow .3s, border-color .3s; }
.service.open { border-color: var(--border-strong); box-shadow: 0 12px 26px -16px var(--pin-shadow); }
.service-btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: none; border: 0; padding: 20px 22px; text-align: start; cursor: pointer; }
.service-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-muted); color: var(--text); transition: background .3s, color .3s, transform .4s var(--ease); }
.service-ic svg { width: 24px; height: 24px; }
.service.open .service-ic { background: var(--note-yellow); color: var(--note-ink); transform: rotate(-6deg); }
.service-btn h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.3; }
.service-btn p { color: var(--text-muted); font-size: .98rem; }
.service-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-strong); transition: background .3s, border-color .3s, transform .4s var(--ease), color .3s; }
.service-toggle svg { width: 16px; height: 16px; }
.service.open .service-toggle { background: var(--brand); border-color: var(--brand); color: var(--text-on-brand); transform: rotate(45deg); }
.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.service.open .service-body { grid-template-rows: 1fr; }
.service-inner { overflow: hidden; }
.service-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; padding: 4px 22px 26px; padding-inline-start: 92px; }
.service-detail ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.service-detail li { position: relative; padding-inline-start: 22px; color: var(--text-muted); }
.service-detail li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: inset -2px -2px 0 rgba(0,0,0,.15); }
.service-facts { padding: 16px 18px 14px; display: grid; gap: 8px; align-self: start; --r: 1.5deg; }
.service-facts div { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.service-facts span { color: var(--note-ink-muted); }
@media (max-width: 760px) {
  .service-btn { gap: 12px; padding: 16px; }
  .service-ic { width: 44px; height: 44px; }
  .service-detail { grid-template-columns: 1fr; padding: 0 16px 20px; }
  .service-detail ul { grid-template-columns: 1fr; }
}

/* =========================================================
   ليه إحنا: اللوحة بالليل
   ========================================================= */
.board-night { background: var(--ink); color: var(--on-ink); padding: clamp(80px, 10vw, 120px) 0; margin-top: clamp(80px, 10vw, 120px); }
.board-night .section-head p { color: var(--on-ink-muted); }
.board-night h2 .hl { color: var(--highlight); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.promise { padding: 36px 26px 24px; }
.promise:nth-child(1) { --r: -1.6deg; }
.promise:nth-child(2) { --r: 1.2deg; }
.promise:nth-child(3) { --r: -.6deg; }
.promise:nth-child(4) { --r: 1.8deg; }
.promise:nth-child(5) { --r: -1.2deg; }
.promise h3 { font-size: 1.55rem; line-height: 1.3; }
.promise p { color: var(--note-ink-muted); margin-top: 6px; font-size: .98rem; }
.promise .stamp { position: absolute; top: -14px; inset-inline-end: 22px; font-size: 1.05rem; background: var(--note-yellow); }
.promise.wide { grid-column: span 2; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } .promise.wide { grid-column: auto; } }

/* =========================================================
   خطوات الشغل
   ========================================================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.step { padding: 36px 22px 22px; }
.step:nth-child(1) { --r: -1.2deg; }
.step:nth-child(2) { --r: 1deg; }
.step:nth-child(3) { --r: -.8deg; }
.step:nth-child(4) { --r: 1.4deg; }
.step-num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--note-accent); }
.step h3 { font-size: 1.4rem; margin-top: 8px; }
.step p { color: var(--note-ink-muted); font-size: .96rem; margin-top: 4px; }
.step-out { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed rgba(31, 42, 68, .2); font-size: .9rem; color: var(--note-ink-muted); }
.step-out b { color: var(--note-ink); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================
   آراء العملاء
   ========================================================= */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; }
.quote { margin: 0; padding: 40px 34px 30px; --r: -.8deg; }
.quote blockquote { margin: 0; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 2.15; font-weight: 700; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-who .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; }
.quote-who b { display: block; }
.quote-who span { color: var(--note-ink-muted); font-size: .9rem; }
.quote-stack { display: grid; gap: 30px; }
.upwork-card { display: block; padding: 34px 26px 24px; --r: 2deg; }
.upwork-score { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; direction: ltr; text-align: right; color: var(--note-accent); }
.upwork-score span { font-size: 1.1rem; color: #B07D00; letter-spacing: 2px; vertical-align: middle; }
.upwork-card p { color: var(--note-ink-muted); margin-top: 8px; }
.upwork-card .link-line { display: inline-block; margin-top: 12px; color: var(--note-ink); font-weight: 700; }
.small-note { padding: 34px 24px 22px; --r: -1.6deg; }
.small-note p { font-weight: 700; line-height: 1.9; }
.small-note span { display: block; margin-top: 10px; color: var(--note-ink-muted); font-size: .9rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* =========================================================
   الأسئلة الشائعة
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 70px); }
.faq-grid h2 { font-size: clamp(2.1rem, 4.2vw, 2.9rem); }
.faq-grid > div > p { color: var(--text-muted); margin-top: 10px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; transition: border-color .25s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-muted); color: var(--brand); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--text-muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* =========================================================
   الدعوة الأخيرة: دبوس فاضي مستنيك
   ========================================================= */
.cta { position: relative; background: var(--ink); color: var(--on-ink); border-radius: 26px; padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 22px 22px; pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.3; }
.cta h2 .hl { color: var(--highlight); }
.cta p { color: var(--on-ink-muted); margin-top: 10px; }
.cta .hero-actions { margin-top: 26px; }
.cta .slot { border-color: rgba(244, 238, 227, .35); color: var(--on-ink); min-height: 220px; --r: 2deg; }
.cta .slot b { color: var(--highlight); }
.cta .slot span { color: var(--on-ink-muted); }
.cta .slot:hover { border-color: var(--highlight); background: rgba(246, 215, 118, .06); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* =========================================================
   الفوتر
   ========================================================= */
.site-footer { padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.footer-grid h4 { font-size: 1.3rem; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--brand); }
.footer-about p { color: var(--text-muted); margin-top: 12px; max-width: 26em; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1.5px dashed var(--border-strong); display: flex; justify-content: space-between; gap: 16px; color: var(--text-subtle); font-size: .9rem; flex-wrap: wrap; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

.wa-float { position: fixed; bottom: 20px; left: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 0 #1a9c4b, 0 12px 24px -10px rgba(0,0,0,.35); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================
   صفحة الأعمال
   ========================================================= */
.page-hero { padding: clamp(36px, 6vw, 70px) 0 clamp(30px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4rem); line-height: 1.25; max-width: 14em; }
.page-hero p { color: var(--text-muted); margin-top: 14px; max-width: 34em; font-size: 1.12rem; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter { height: 42px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--border-strong); background: var(--surface); cursor: pointer; font-weight: 700; color: var(--text-muted); transition: all .2s; }
.filter:hover { color: var(--text); border-color: var(--text-subtle); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .filter[aria-pressed="true"] { background: var(--on-ink); color: #1F2A44; border-color: var(--on-ink); }
}
:root[data-theme="dark"] .filter[aria-pressed="true"] { background: var(--on-ink); color: #1F2A44; border-color: var(--on-ink); }
.filter span { opacity: .6; margin-inline-start: 6px; font-size: .85em; }
.work-card[hidden] { display: none; }

/* =========================================================
   دراسة الحالة
   ========================================================= */
.case-hero { padding: clamp(30px, 5vw, 60px) 0 30px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--text-muted); margin-bottom: 22px; }
.back-link svg { width: 16px; height: 16px; transform: scaleX(-1); }
.back-link:hover { color: var(--brand); }
.case-hero h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1.15; }
.case-hero h1 .case-brand { display: block; direction: ltr; text-align: right; unicode-bidi: isolate; }
.case-hero h1 .case-sub { display: block; font-family: var(--font-body); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.case-hero .wrap > p { color: var(--text); font-size: 1.12rem; margin-top: 14px; max-width: 40em; }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.case-facts div { padding: 26px 16px 14px; }
.case-facts div:nth-child(1) { --r: -1.2deg; background: var(--note-yellow); }
.case-facts div:nth-child(2) { --r: 1deg; background: var(--note-mint); }
.case-facts div:nth-child(3) { --r: -.6deg; background: var(--note-sky); }
.case-facts div:nth-child(4) { --r: 1.4deg; background: var(--note-pink); }
.case-facts span { display: block; color: var(--note-ink-muted); font-size: .85rem; }
.case-facts b { font-weight: 700; }
.case-shot { padding-top: 26px; }
.case-shot .work-card { --r: -.6deg; }
.case-shot .work-screen, .case-shot .cover { aspect-ratio: 16 / 8.5; }
.case-body { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(26px, 6vw, 80px); }
.case-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.case-body p { color: var(--text-muted); font-size: 1.08rem; }
.case-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; }
.case-results div { padding: 30px 20px 18px; background: var(--note-paper); color: var(--note-ink); box-shadow: 0 10px 22px var(--pin-shadow); position: relative; }
.case-results div::before { content: ""; position: absolute; top: 10px; right: 50%; transform: translateX(50%); width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 2px 3px rgba(0,0,0,.3); }
.case-results div:nth-child(odd) { transform: rotate(-1.2deg); }
.case-results div:nth-child(even) { transform: rotate(1deg); }
.case-results b { display: block; white-space: nowrap; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.4rem); color: var(--note-accent); line-height: 1.2; direction: ltr; text-align: right; }
.case-results span { color: var(--note-ink-muted); font-size: .95rem; }
.stack-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-code); font-size: .85rem; direction: ltr; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
@media (max-width: 860px) { .case-facts { grid-template-columns: 1fr 1fr; } .case-body { grid-template-columns: 1fr; } .case-results { grid-template-columns: 1fr; } }

/* =========================================================
   طلب عرض السعر
   ========================================================= */
.quote-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 6vw, 70px); align-items: start; }
.quote-aside h1 { font-size: clamp(2.6rem, 5.4vw, 3.8rem); line-height: 1.25; }
.quote-aside > p { color: var(--text-muted); margin-top: 14px; font-size: 1.1rem; }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; transition: border-color .2s, transform .3s var(--ease); }
.contact-list a:hover { border-color: var(--border-strong); transform: translateX(-4px); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-muted); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 21px; height: 21px; }
.contact-list small { display: block; color: var(--text-muted); }
.contact-list b { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.qform { padding: clamp(36px, 5vw, 50px) clamp(22px, 4vw, 40px) clamp(24px, 4vw, 36px); --r: -.5deg; }
.qprogress { display: flex; gap: 6px; margin-bottom: 26px; }
.qprogress i { flex: 1; height: 6px; border-radius: 3px; background: #EFE6D6; overflow: hidden; position: relative; }
.qprogress i::after { content: ""; position: absolute; inset: 0; background: var(--note-accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.qprogress i.done::after { transform: scaleX(1); }
.qstep { display: none; }
.qstep.active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
.qstep h2 { font-size: 2rem; }
.qstep > p { color: var(--note-ink-muted); }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label { display: block; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #E2D8C6; background: #FBF8F2; cursor: pointer; line-height: 1.5; transition: border-color .2s, background .2s, transform .25s var(--ease); }
.option label b { display: block; }
.option label small { color: var(--note-ink-muted); }
.option label:hover { border-color: #CDBFA6; }
.option input:checked + label { border-color: var(--note-accent); background: #FCEAE4; transform: rotate(-1deg); }
.option input:focus-visible + label { outline: 3px solid var(--note-accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #E2D8C6; background: #FBF8F2; color: var(--note-ink); width: 100%; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--note-accent); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: right; }
.field .err { color: #B3261E; font-size: .85rem; min-height: 1.2em; }
.qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.qnav .btn[disabled] { opacity: .45; pointer-events: none; }
.qback { background: none; border: 0; color: var(--note-ink-muted); cursor: pointer; font-weight: 700; padding: 10px 4px; }
.qback:hover { color: var(--note-ink); }
.qback[hidden] { visibility: hidden; display: inline-block; }
.qmsg { margin-top: 14px; color: #B3261E; }
.qdone { text-align: center; padding: 20px 0; }
.qdone .stamp { font-size: 2rem; margin: 10px auto 18px; animation: stamp .7s var(--ease) both .2s; }
.qdone p { color: var(--note-ink-muted); margin-top: 8px; }
.qdone .hero-actions { justify-content: center; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
@media (max-width: 860px) { .quote-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .options, .fields { grid-template-columns: 1fr; } }

/* =========================================================
   404
   ========================================================= */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 50px 0; }
.notfound .note { display: inline-block; padding: 44px 46px 30px; --r: -2deg; }
.notfound h1 { font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--note-accent); direction: ltr; }
.notfound p { color: var(--note-ink-muted); margin: 8px 0 22px; font-size: 1.1rem; }
.notfound .hero-actions { justify-content: center; margin-top: 0; }

/* =========================================================
   اللي مش عايز حركة: نوقفها كلها
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .drop-in { opacity: 1; }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* =========================================================
   نسخة Laravel: الفورم من غير جافاسكريبت + أخطاء السيرفر
   ========================================================= */
html:not(.js) .qstep { display: block; margin-bottom: 26px; }
html:not(.js) .qstep[data-step="done"], html:not(.js) .qprogress, html:not(.js) .qback { display: none; }
.js .qsubmit-nojs { display: none; }
.field input[aria-invalid="true"] { border-color: #B3261E; }

/* =========================================================
   حيطة الكبار في الهيرو
   ========================================================= */
.wall-wrap { min-width: 0; }
.giant { cursor: default; }
.giant-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; grid-template-rows: auto 1fr; gap: 8%; padding: 8%; border: 1px solid rgba(31, 42, 68, .08); }
.giant-art--yellow { background: var(--note-yellow); }
.giant-art--sky { background: var(--note-sky); }
.giant-art--mint { background: var(--note-mint); }
.giant-art--pink { background: var(--note-pink); }
.giant-art--white { background: #F1EBDF; }
.giant-art .g-bar { display: flex; gap: 6%; align-items: center; }
.giant-art .g-bar i { flex: 1; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .85); }
.giant-art .g-bar b { width: 14%; height: 12px; border-radius: 6px; background: var(--note-ink); }
.giant-art .g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; opacity: .55; }
.giant-art .g-grid i { border-radius: 6px; background: rgba(255, 255, 255, .9); }
.giant-art strong {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3rem);
  color: var(--note-ink); direction: ltr; letter-spacing: -.01em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .6);
}
.wall-note { margin-top: 26px; text-align: center; color: var(--text-muted); font-size: .95rem; }
.wall-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 420px) { .giant-art strong { font-size: 1.6rem; } }

/* =========================================================
   لوحة المواقع المشهورة في الهيرو (44 ورقة صغيرة + «إنت المفروض تكون هنا»)
   ========================================================= */
.hero-grid { grid-template-columns: 1fr 1.2fr; }
.board-wrap { min-width: 0; }
.board {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 64px; grid-auto-flow: dense;
  gap: 10px 9px; padding: 10px 4px 4px;
}
.mini {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px 4px 4px; line-height: 1.15;
  font-weight: 800; font-size: .76rem; letter-spacing: -.01em; color: var(--note-ink);
  box-shadow: 0 5px 10px var(--pin-shadow);
  overflow: hidden; overflow-wrap: anywhere;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.mini:hover { transform: rotate(0deg) scale(1.12); z-index: 2; box-shadow: 0 10px 18px var(--pin-shadow); }
.mini--yellow { background: var(--note-yellow); }
.mini--mint { background: var(--note-mint); }
.mini--sky { background: var(--note-sky); }
.mini--pink { background: var(--note-pink); }
.mini--paper { background: var(--note-paper); }
.mini-pin {
  position: absolute; top: 4px; right: 50%; transform: translateX(50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset -1px -1px 0 rgba(0, 0, 0, .15);
}
.mini-pin--ink { background: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mini-pin--ink { background: #4A5578; }
}
:root[data-theme="dark"] .mini-pin--ink { background: #4A5578; }

/* الورقة المميزة: «إنت المفروض تكون هنا» */
.mini-you {
  grid-column: 3 / span 2; grid-row: 3 / span 2; --r: -3deg; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  background: var(--brand); color: var(--text-on-brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent), 0 16px 28px -8px var(--pin-shadow);
  padding: 18px 8px 10px;
}
.mini-you .pin { background: var(--note-yellow); }
.mini-you b { font-family: var(--font-display); font-weight: 400; font-size: 3.6rem; line-height: .9; display: block; transform-origin: 50% 80%; }
.mini-you span:last-child { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.js .mini-you.is-in b { animation: wonder 2.6s ease-in-out 1.6s infinite; }
@keyframes wonder { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg) scale(1.08); } 40% { transform: rotate(9deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(0) scale(1); } }
.mini-you:hover { transform: rotate(-1deg) scale(1.04); background: var(--brand-hover); }

.wall-note { margin-top: 20px; text-align: center; color: var(--text-muted); font-size: .9rem; }
.wall-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 960px) {
  .board { max-width: 640px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .board { grid-template-columns: repeat(5, 1fr); grid-auto-rows: 56px; gap: 8px 7px; }
  .mini { font-size: .68rem; }
  .mini:nth-of-type(n+32) { display: none; }   /* على الموبايل: 31 موقع بس عشان اللوحة متطولش */
  .mini-you { grid-column: 2 / span 2; }
  .mini-you b { font-size: 3rem; }
  .mini-you span:last-child { font-size: .95rem; }
}
/* بعد ما الورقة تقع، الحركة تسيبها عشان الـ hover يشتغل */
.js .board .drop-in.is-in { opacity: 1; animation-fill-mode: backwards; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* =========================================================
   «اللي متعلّق على لوحتنا»: أنواع الشغل + كولاج عينات
   ========================================================= */
.kinds { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: -14px 0 40px; }
.kind { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px 8px; font-weight: 700; font-size: .95rem; box-shadow: 0 6px 12px var(--pin-shadow); }
.kind:nth-child(5n+1) { background: var(--note-yellow); --r: -2deg; }
.kind:nth-child(5n+2) { background: var(--note-mint); --r: 1.5deg; }
.kind:nth-child(5n+3) { background: var(--note-sky); --r: -1deg; }
.kind:nth-child(5n+4) { background: var(--note-pink); --r: 2deg; }
.kind:nth-child(5n+5) { --r: -1.5deg; }
.kind b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--note-accent); }

.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; align-items: start; }
.collage-lead { grid-column: span 2; grid-row: span 2; }
.collage-lead .work-card { --r: -1deg; }
.collage-lead .work-screen { aspect-ratio: 16 / 11; }

.pinned { display: block; padding: 9px 9px 12px; }
.pinned .work-screen { aspect-ratio: 4 / 3.4; }
.pinned .scroll-hint { display: none; }
.pinned-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 10px 2px 0; flex-wrap: wrap; }
.pinned-cap b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.1; direction: ltr; unicode-bidi: isolate; }
.pinned-cap span { font-size: .74rem; font-weight: 700; color: var(--note-ink-muted); }

/* كومة الورق: «وفيه أكتر» */
.pile { position: relative; display: block; min-height: 100%; }
.pile-paper { position: absolute; inset: 6px 4px 0; background: var(--note-paper); box-shadow: 0 6px 14px var(--pin-shadow); }
.pile-paper:nth-child(1) { transform: rotate(5deg); background: var(--note-sky); }
.pile-paper:nth-child(2) { transform: rotate(-4deg); background: var(--note-mint); }
.pile-top { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px; min-height: 100%; aspect-ratio: 4 / 4.2; padding: 30px 16px 18px; background: var(--note-yellow); --r: 1.5deg; transition: transform .35s var(--ease); }
.pile:hover .pile-top { transform: rotate(-2deg) translateY(-6px); }
.pile-top b { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--note-accent); }
.pile-top > span:not(.pin) { font-weight: 700; }
.pile-top small { margin-top: 6px; font-size: .78rem; line-height: 1.6; color: var(--note-ink-muted); }

@media (max-width: 960px) {
  .collage { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .collage { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .collage-lead { grid-row: auto; }
  .pinned-cap b { font-size: 1.05rem; }
  .pinned-cap span { display: none; }
  .pile-top b { font-size: 2.4rem; }
}
.kind { padding: 10px 18px 8px; }
.pile-top b { font-size: 2.3rem; line-height: 1.2; }
@media (max-width: 640px) { .pile-top b { font-size: 1.8rem; } }

/* أزرار المتاجر في صفحة المشروع */
.store-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.store-links .btn { height: 50px; padding: 0 22px; font-size: 16px; }

/* =========================================================
   الهيرو: «نبني موقعك»
   ========================================================= */
.hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; max-width: 30em; }
.hero-points li { position: relative; padding-inline-start: 26px; font-weight: 700; color: var(--text); font-size: 1rem; }
.hero-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 2px 2px rgba(0,0,0,.25), inset -2px -2px 0 rgba(0,0,0,.15); }
.hero-actions { margin-top: 28px; }
.mini-you span { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.mini-you small { display: block; font-size: .8rem; font-weight: 700; opacity: .9; margin-top: 2px; }
@media (max-width: 560px) {
  .hero-points { grid-template-columns: 1fr; }
  .mini-you span { font-size: 1.05rem; }
  .mini-you small { font-size: .7rem; }
}

/* =========================================================
   لوحة الهيرو بمشاريعنا (صورة صغيرة + اسم)
   ========================================================= */
.board { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 16px 14px; }
.mini--proj { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 8px 8px 9px; background: var(--note-paper); font-size: .78rem; }
.mini--proj .mini-pin { top: 3px; z-index: 2; }
.mini-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg, #EDE5D6); border: 1px solid rgba(31, 42, 68, .1); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini-thumb em { display: grid; place-items: center; height: 100%; font-style: normal; font-family: var(--font-display); font-size: 1.6rem; color: var(--c-ink, #1F2A44); direction: ltr; }
.mini--proj b { display: block; font-weight: 800; line-height: 1.2; direction: ltr; unicode-bidi: isolate; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mini-you { grid-column: 2 / span 2; grid-row: 3; flex-direction: row; gap: 14px; padding: 18px 16px 14px; min-height: 100%; }
.mini-you b { font-size: 4rem; }
.mini-you .you-text { display: flex; flex-direction: column; align-items: flex-start; text-align: start; }
.mini-you .you-text span { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.mini-you .you-text small { font-size: .85rem; font-weight: 700; opacity: .9; }
@media (max-width: 560px) {
  .board { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
  .mini--proj { font-size: .7rem; padding: 6px 6px 7px; }
  .mini--proj:nth-of-type(n+17) { display: none; }   /* على الموبايل: 16 مشروع بس */
  .mini-you { grid-column: 1 / -1; grid-row: 3; justify-content: center; }
  .mini-you b { font-size: 3rem; }
  .mini-you .you-text span { font-size: 1.2rem; }
}
.mini--proj b { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; }

/* ===== آراء العملاء (من لوحة التحكم) ===== */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; align-items: start; }
.tnote { margin: 0; padding: 34px 28px 24px; position: relative; display: block; }
.tnote > .pin { top: 10px; }
.tnote blockquote { margin: 0; font-size: 1.04rem; line-height: 2; font-weight: 700; }
.tstars { color: var(--brand); letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; }
.tstars span { opacity: .25; }
.tproj { display: block; font-size: .85rem; color: var(--brand); font-weight: 700; margin-top: 2px; }
.tsrc { display: block; font-size: .78rem; color: var(--note-ink-muted); margin-top: 2px; }
.tmore { text-align: center; margin-top: 6px; }
@media (max-width: 960px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tgrid { grid-template-columns: 1fr; } }

/* عرض المزيد: أول 3 كاملين، والـ 3 اللي بعدهم نصهم باين وعليهم طبقة */
.tgrid-wrap { position: relative; }
.tgrid-wrap.is-collapsed .tnote:nth-child(n+4) { max-height: 190px; overflow: hidden; }
.tgrid-wrap.is-collapsed .tnote:nth-child(n+7) { display: none; }
.tmore-fade { display: none; }
.tgrid-wrap.is-collapsed .tmore-fade {
  display: flex; align-items: center; justify-content: center;
  position: absolute; inset-inline: -20px; bottom: -10px; height: 230px; z-index: 5;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in srgb, var(--page) 75%, transparent) 35%, var(--page) 80%);
  -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px);
}
.tmore-btn { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
/* تابلت: صفين في الأول وبعدين صف مقصوص */
@media (max-width: 960px) {
  .tgrid-wrap.is-collapsed .tnote:nth-child(n+3) { max-height: 190px; overflow: hidden; }
  .tgrid-wrap.is-collapsed .tnote:nth-child(n+5) { display: none; }
}
/* موبايل: 3 كاملين وواحد مقصوص */
@media (max-width: 640px) {
  .tgrid-wrap.is-collapsed .tnote:nth-child(3) { max-height: none; overflow: visible; }
  .tgrid-wrap.is-collapsed .tnote:nth-child(n+4) { max-height: 190px; overflow: hidden; }
  .tgrid-wrap.is-collapsed .tnote:nth-child(n+5) { display: none; }
}
.tsrc--link { color: var(--note-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-top: 6px; }
.tsrc--link:hover { color: var(--brand); }

/* ===== فورم «اكتب رأيك» ===== */
.review-wrap { max-width: 640px; }
.review-card { display: block; padding: clamp(30px, 5vw, 46px) clamp(22px, 5vw, 40px); position: relative; --r: -.4deg; }
.review-card h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 8px; }
.review-card p { color: var(--note-ink-muted); margin: 0; }
.review-card .btn { margin-top: 22px; }
.review-card .stamp { position: absolute; top: 24px; inset-inline-end: 24px; }
.field select { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #E2D8C6; background: #FBF8F2; color: var(--note-ink); width: 100%; }
.field label small { color: var(--note-ink-muted); font-weight: 400; }
.stars-input { border: 0; padding: 0; margin: 22px 0 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input legend { font-weight: 700; font-size: .95rem; margin-bottom: 6px; width: 100%; }
.stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input label { font-size: 2rem; line-height: 1; cursor: pointer; color: #D9CDB8; transition: color .15s, transform .15s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--brand); }
.stars-input label:hover { transform: scale(1.15); }
.stars-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 560px) { .review-card .fields { grid-template-columns: 1fr; } }


/* ===== زرار الوضع الليلي / النهاري ===== */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none;
  transition: background .2s, border-color .2s, transform .2s;
}
@media (hover: hover) { .theme-toggle:hover { border-color: var(--border-strong); transform: rotate(-12deg); } }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; }
}
.nav-tools { display: flex; align-items: center; gap: 10px; }
:root[data-theme="light"] { color-scheme: light; }

/* زرار واتساب في رسالة «وصلنا طلبك» */
.btn--wa { background: #1FA855; color: #fff; box-shadow: 0 4px 0 #157A3D; display: inline-flex; align-items: center; gap: 8px; }
.btn--wa:hover { background: #22B95E; }
.btn--wa svg { width: 20px; height: 20px; }
.qdone .hero-actions { flex-wrap: wrap; justify-content: center; }

/* «re» في اللوجو باينة في الوضع الليلي */
:root[data-theme="dark"] .brand-sub { background: var(--text); color: var(--page); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-sub { background: var(--text); color: var(--page); } }

/* ===== اطلب عرض سعر: الشكل الجديد ===== */
.next-steps { list-style: none; counter-reset: ns; margin: 26px 0 28px; padding: 0; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--border); color: var(--brand); font-weight: 800; }
.next-steps b { font-size: 1rem; }
.next-steps span { color: var(--text-muted); font-size: .92rem; }

.qhead { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.qhead .qprogress { flex: 1; margin: 0; }
.qcount { font-size: .85rem; color: var(--note-ink-muted); white-space: nowrap; }
.qcount b { color: var(--note-accent); }
.qsub { font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin: 22px 0 -10px; color: var(--note-ink); }
.options--compact label { padding: 12px 14px; }
.options--compact label b { font-weight: 700; font-size: .95rem; }
/* علامة صح للاختيارات المتعددة */
.option--check label { position: relative; padding-inline-start: 42px; }
.option--check label::before { content: ""; position: absolute; inset-inline-start: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 5px; border: 1.5px solid #CDBFA6; background: #fff; transition: background .2s, border-color .2s; }
.option--check input:checked + label::before { background: var(--note-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--note-accent); }
.option--check input:checked + label { transform: none; }
.field .opt { color: var(--note-ink-muted); font-weight: 400; }
.field-label { font-weight: 700; font-size: .95rem; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { padding: 9px 16px; border-radius: 999px; border: 1.5px solid #E2D8C6; background: #FBF8F2; cursor: pointer; font-size: .92rem; font-weight: 700; transition: border-color .2s, background .2s; }
.segmented input:checked + label { border-color: var(--note-accent); background: #FCEAE4; color: var(--note-accent); }
.segmented input:focus-visible + label { outline: 3px solid var(--note-accent); outline-offset: 2px; }
#f-ref { direction: ltr; text-align: right; }
@media (max-width: 560px) {
  .options--compact { grid-template-columns: 1fr; }
  .qhead { flex-direction: column; align-items: stretch; gap: 8px; }
  .qcount { text-align: start; }
}
fieldset.qstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.qform { scroll-margin-top: 96px; }
.qmsg a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }


/* ===== اللوجو المعتمد: Terminal ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; flex: none; }
.brand-icon-bg { fill: #0F172A; }
.brand-word { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 800; font-size: 25px; letter-spacing: -1.2px; line-height: 1; color: #0F172A; display: inline-flex; align-items: center; }
.brand-caret { display: inline-block; width: 11px; height: 20px; margin-left: 3px; background: #10B981; border-radius: 2px; animation: caretBlink 1.1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brand-caret { animation: none; } }
:root[data-theme="dark"] .brand-word { color: #E2E8F0; }
:root[data-theme="dark"] .brand-icon-bg { fill: #1E293B; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-word { color: #E2E8F0; }
  :root:not([data-theme="light"]) .brand-icon-bg { fill: #1E293B; }
}
.site-footer .brand-word { font-size: 23px; }
