/* الخطوط مستضافة محلياً (Tajawal + Cairo) — بدل Google Fonts */
/* Cairo 600 arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/cairo-arabic-93eb79.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Cairo 600 latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-ext-39475a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cairo 600 latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-e06377.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;
}
/* Cairo 700 arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/cairo-arabic-93eb79.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Cairo 700 latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-ext-39475a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cairo 700 latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-e06377.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;
}
/* Cairo 800 arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/cairo-arabic-93eb79.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Cairo 800 latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-ext-39475a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cairo 800 latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-e06377.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;
}
/* Cairo 900 arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/cairo-arabic-93eb79.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Cairo 900 latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-ext-39475a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cairo 900 latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/cairo-latin-e06377.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;
}
/* Tajawal 400 arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/tajawal-arabic-3a7b8d.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Tajawal 400 latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/tajawal-latin-81dd27.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;
}
/* Tajawal 500 arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/tajawal-arabic-6bda0a.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Tajawal 500 latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/tajawal-latin-96bd64.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;
}
/* Tajawal 700 arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/tajawal-arabic-37b920.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Tajawal 700 latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/tajawal-latin-b9affe.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;
}
/* Tajawal 800 arabic */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/tajawal-arabic-a7fcd2.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-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;
}
/* Tajawal 800 latin */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/tajawal-latin-6eb131.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;
}

/* ============================================================
   ZAJEL Smart IT — هوية زاجل الذكية لتقنية المعلومات
   ============================================================ */
:root {
  --purple: #7B4B9E;
  --navy: #2D2A6E;
  --blue: #1F87C4;
  --teal: #1AAFA7;
  --gray: #6D6E71;
  --dark: #17163a;
  --light: #f6f8fb;
  --white: #ffffff;
  --grad: linear-gradient(100deg, var(--purple), var(--blue) 55%, var(--teal));
  --radius: 18px;
  --shadow: 0 10px 34px rgba(23, 22, 58, .12);
  --shadow-lg: 0 22px 60px rgba(23, 22, 58, .2);
  /* الثيم الافتراضي */
  --accent: var(--teal);
  --accent-2: var(--blue);
  --hero-grad: var(--grad);
  --font: 'Tajawal', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- ثيمات القطاعات ---------- */
body[data-sector="industrial"] {
  --accent: #2D2A6E;
  --accent-2: #5a55c4;
  --hero-grad: linear-gradient(115deg, #17163a, #2D2A6E 45%, #4744a8 80%, #1F87C4);
}
body[data-sector="agriculture"] {
  --accent: #169e75;
  --accent-2: #1AAFA7;
  --hero-grad: linear-gradient(115deg, #0d4d3d, #169e75 45%, #1AAFA7 80%, #59c9a5);
}
body[data-sector="realestate"] {
  --accent: #7B4B9E;
  --accent-2: #a76fd1;
  --hero-grad: linear-gradient(115deg, #3a1f52, #7B4B9E 45%, #9b5fc4 80%, #1F87C4);
}
body[data-sector="logistics"] {
  --accent: #1F87C4;
  --accent-2: #16aee0;
  --hero-grad: linear-gradient(115deg, #0d3550, #1F87C4 45%, #16aee0 80%, #1AAFA7);
}
body[data-sector="environment"] {
  --accent: #1e8e4d;
  --accent-2: #66bb4e;
  --hero-grad: linear-gradient(115deg, #0c2e18, #1e8e4d 45%, #3fae5f 80%, #a3d34f);
}
body[data-sector="facilities"] {
  --accent: #b5761a;
  --accent-2: #e2a63e;
  --hero-grad: linear-gradient(115deg, #33230a, #b5761a 45%, #d99b32 80%, #f0c46a);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--light);
  color: var(--dark);
  line-height: 1.75;
  transition: background .4s;
}
a { text-decoration: none; color: inherit; }
img, svg { vertical-align: middle; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- الترويسة ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 22, 58, .07);
}
header.site .bar {
  display: flex; align-items: center; gap: 26px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand .mark { width: 46px; height: 44px; color: var(--teal); }
.brand .txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand .txt b { font-size: 1.15rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .txt span { font-size: .68rem; color: var(--gray); letter-spacing: .5px; }
.brandwrap { display: flex; flex-direction: column; line-height: 1.05; }
.brandrow { display: flex; align-items: center; gap: 9px; }
.b-ar { font-size: 1.5rem; font-weight: 800; color: #2D2A6E; }
.b-en { font-size: 1.08rem; font-weight: 800; color: #1AAFA7; letter-spacing: .32em; }
.b-div { width: 2px; height: 24px; background: var(--grad); border-radius: 2px; }
.b-tag { font-size: .66rem; color: var(--gray); letter-spacing: .4px; margin-top: 3px; }
.brand.ondark .b-ar, .brand.ondark .b-en { color: #fff; }
.brand.ondark .b-tag { color: rgba(255,255,255,.75); }

nav.main { display: flex; gap: 4px; margin-inline-start: auto; flex-wrap: wrap; }
nav.main a {
  padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem;
  color: #3c3b60; transition: .25s;
}
nav.main a:hover, nav.main a.active { background: var(--accent); color: #fff; }

.lang-btn, .btn {
  cursor: pointer; border: none; font-family: inherit; font-weight: 700;
  border-radius: 12px; transition: .25s;
}
.lang-btn {
  padding: 8px 16px; background: transparent; color: var(--accent);
  border: 2px solid var(--accent); font-size: .9rem;
}
.lang-btn:hover { background: var(--accent); color: #fff; }

.btn { display: inline-block; padding: 13px 30px; font-size: 1rem; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- البطل (Hero) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--hero-grad);
  background-size: 220% 220%;
  animation: gradShift 14s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.hero .inner { position: relative; padding: 90px 0 100px; max-width: 780px; }
.hero.compact .inner { padding: 58px 0 64px; }
.hero h1 { font-size: clamp(1.8rem, 4.2vw, 3.1rem); font-weight: 800; line-height: 1.35; }
.hero p.sub { font-size: clamp(1rem, 1.6vw, 1.25rem); opacity: .92; margin: 18px 0 30px; max-width: 640px; }
.hero .chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  padding: 6px 16px; border-radius: 100px; font-size: .85rem; font-weight: 500;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
}
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .big-mark {
  position: absolute; inset-inline-end: -40px; top: 50%; transform: translateY(-50%) rotate(8deg);
  width: 380px; height: 380px; color: rgba(255,255,255,.10); pointer-events: none;
}

/* ---------- شريط إحصائيات ---------- */
.stats { background: #fff; box-shadow: var(--shadow); border-radius: var(--radius);
  margin-top: -46px; position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 26px 10px; text-align: center; gap: 8px;
}
.stats b { display: block; font-size: 1.9rem; color: var(--accent); font-weight: 800; }
.stats span { color: var(--gray); font-size: .9rem; }

/* ---------- الأقسام ---------- */
section.block { padding: 74px 0 30px; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head .kicker {
  display: inline-block; padding: 5px 18px; border-radius: 100px; font-size: .82rem; font-weight: 700;
  background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.sec-head p { color: var(--gray); margin-top: 10px; }

/* ---------- بطاقات القطاعات ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.sector-card {
  position: relative; overflow: hidden; border-radius: var(--radius); color: #fff;
  padding: 34px 26px 28px; min-height: 250px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: .35s; isolation: isolate;
}
.sector-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sector-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: .35s;
  background: rgba(255,255,255,.09);
}
.sector-card:hover::after { opacity: 1; }
.sector-card .icon { width: 54px; height: 54px; margin-bottom: 16px; opacity: .95; }
.sector-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.sector-card p { font-size: .92rem; opacity: .9; flex: 1; }
.sector-card .go { margin-top: 16px; font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.sector-card.industrial  { background: linear-gradient(140deg, #17163a, #2D2A6E 60%, #4744a8); }
.sector-card.agriculture { background: linear-gradient(140deg, #0d4d3d, #169e75 60%, #1AAFA7); }
.sector-card.realestate  { background: linear-gradient(140deg, #3a1f52, #7B4B9E 60%, #a76fd1); }
.sector-card.logistics   { background: linear-gradient(140deg, #0d3550, #1F87C4 60%, #16aee0); }
.sector-card.environment { background: linear-gradient(140deg, #0c2e18, #1e8e4d 60%, #66bb4e); }
.sector-card.facilities  { background: linear-gradient(140deg, #33230a, #b5761a 60%, #e2a63e); }

/* ---------- بطاقات الخدمات ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); transition: .3s; border-top: 4px solid transparent;
}
.service:hover { transform: translateY(-6px); border-top-color: var(--accent); }
.service .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, white); color: var(--accent); margin-bottom: 16px;
}
.service .icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.service p { font-size: .9rem; color: var(--gray); }

/* ---------- تبويبات التصنيف ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.tab {
  padding: 9px 22px; border-radius: 100px; cursor: pointer; font-weight: 700; font-size: .92rem;
  background: #fff; color: var(--gray); border: 1.5px solid rgba(23,22,58,.1); transition: .25s;
  font-family: inherit;
}
.tab.active, .tab:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- بطاقات المحتوى ---------- */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.item-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column;
}
.item-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.item-card .thumb {
  height: 150px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.item-card .thumb svg { width: 56px; height: 56px; opacity: .92; }
.item-card .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.item-card .cat {
  align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 3px 12px;
  border-radius: 100px; background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent); margin-bottom: 10px;
}
.item-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.item-card p { font-size: .87rem; color: var(--gray); flex: 1; }
.item-card .open {
  margin-top: 14px; font-weight: 700; color: var(--accent); font-size: .9rem;
  display: flex; align-items: center; gap: 6px;
}
.empty {
  text-align: center; padding: 60px 20px; color: var(--gray);
  background: #fff; border-radius: var(--radius); border: 2px dashed rgba(23,22,58,.12);
}
.empty svg { width: 60px; height: 60px; opacity: .3; margin-bottom: 12px; }

/* ---------- من نحن / تواصل ---------- */
.about-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-visual {
  border-radius: var(--radius); background: var(--grad); min-height: 320px;
  display: grid; place-items: center; color: rgba(255,255,255,.9); box-shadow: var(--shadow-lg);
}
.about-visual svg { width: 150px; height: 150px; }
.about-txt h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.about-txt p { color: #444; margin-bottom: 12px; }
.feature-list { list-style: none; margin-top: 16px; }
.feature-list li { display: flex; gap: 10px; align-items: start; margin-bottom: 10px; font-size: .95rem; }
.feature-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .75rem; margin-top: 3px;
}

.contact-band {
  background: var(--grad); border-radius: var(--radius); color: #fff; text-align: center;
  padding: 54px 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.contact-band h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.contact-band p { opacity: .92; margin-bottom: 24px; }

/* ---------- التذييل ---------- */
footer.site {
  margin-top: 80px; background: var(--dark); color: rgba(255,255,255,.75);
  padding: 46px 0 28px; font-size: .9rem;
}
footer.site .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; margin-bottom: 30px; }
footer.site h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
footer.site a { display: block; padding: 3px 0; opacity: .8; }
footer.site a:hover { opacity: 1; color: var(--teal); }
footer.site .copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; text-align: center; font-size: .8rem; opacity: .65; }

/* ---------- العارض ---------- */
.viewer-page { display: flex; flex-direction: column; min-height: 100vh; }
.viewer-head {
  background: var(--hero-grad); color: #fff; padding: 14px 0;
}
.viewer-head .bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.viewer-head h1 { font-size: 1.1rem; font-weight: 800; flex: 1; min-width: 200px; }
.viewer-head .btn { padding: 8px 18px; font-size: .85rem; }
.viewer-frame { flex: 1; border: none; width: 100%; min-height: calc(100vh - 76px); background: #fff; }
.viewer-note { text-align: center; padding: 50px 20px; color: var(--gray); }

/* ---------- لوحة التحكم ---------- */
.admin-body { background: #eef1f7; min-height: 100vh; }
.login-card {
  max-width: 400px; margin: 12vh auto; background: #fff; border-radius: var(--radius);
  padding: 40px 34px; box-shadow: var(--shadow-lg); text-align: center;
}
.login-card .mark { width: 56px; height: 56px; color: var(--teal); margin-bottom: 10px; }
.field { margin-bottom: 16px; text-align: start; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px; border: 1.5px solid rgba(23,22,58,.15);
  font-family: inherit; font-size: .95rem; background: #fafbfe; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; padding: 30px 0 60px; }
.panel { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.item-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px;
  border: 1px solid rgba(23,22,58,.08); margin-bottom: 10px; background: #fafbfe;
}
.item-row .t { flex: 1; }
.item-row .t b { display: block; font-size: .95rem; }
.item-row .t span { font-size: .78rem; color: var(--gray); }
.badge { font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; color: #fff; }
.badge.pdf { background: var(--purple); } .badge.html { background: var(--teal); } .badge.link { background: var(--blue); }
.del-btn {
  border: none; background: #fde8e8; color: #c0392b; width: 34px; height: 34px;
  border-radius: 10px; cursor: pointer; font-size: 1rem; transition: .2s;
}
.del-btn:hover { background: #c0392b; color: #fff; }
.msg { padding: 11px 16px; border-radius: 11px; font-size: .88rem; margin-bottom: 14px; display: none; }
.msg.ok { background: #e2f7ef; color: #14795c; display: block; }
.msg.err { background: #fde8e8; color: #c0392b; display: block; }

/* ---------- حركة الظهور ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: .7s cubic-bezier(.2,.7,.3,1); }
.reveal.on { opacity: 1; transform: none; }

/* ---------- استجابة ---------- */
@media (max-width: 900px) {
  .about-wrap, .admin-grid { grid-template-columns: 1fr; }
  .hero .big-mark { display: none; }
}
@media (max-width: 640px) {
  header.site .bar { flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  nav.main { order: 3; width: 100%; justify-content: center; margin: 0; }
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- أيقونات حيوية ---------- */
@keyframes iconFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
@keyframes iconPop { 0% { transform: scale(1) rotate(0) } 40% { transform: scale(1.22) rotate(-6deg) } 70% { transform: scale(1.12) rotate(4deg) } 100% { transform: scale(1.15) rotate(0) } }
.sector-card .icon { animation: iconFloat 3.2s ease-in-out infinite; transition: .3s; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.sector-card:nth-child(2) .icon { animation-delay: .5s } .sector-card:nth-child(3) .icon { animation-delay: 1s }
.sector-card:nth-child(4) .icon { animation-delay: 1.5s } .sector-card:nth-child(5) .icon { animation-delay: 2s }
.sector-card:nth-child(6) .icon { animation-delay: 2.5s } .sector-card:nth-child(7) .icon { animation-delay: 3s }
.sector-card:hover .icon { animation: iconPop .55s ease forwards; filter: drop-shadow(0 0 18px rgba(255,255,255,.65)); }
.sector-card { position: relative; }
.sector-card::before {
  content: ""; position: absolute; top: 0; height: 100%; width: 55%; z-index: 0;
  inset-inline-start: -80%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transition: inset-inline-start .7s ease;
}
.sector-card:hover::before { inset-inline-start: 130%; }
.service:hover .icon { transform: rotate(-8deg) scale(1.12); }
.service .icon { transition: .35s cubic-bezier(.3,1.6,.4,1); }
.item-card:hover .thumb svg { transform: scale(1.18); }
.item-card .thumb svg { transition: .35s cubic-bezier(.3,1.6,.4,1); }

/* ---------- الأخبار ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.news-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border-inline-start: 4px solid var(--teal);
  transition: .3s; display: flex; flex-direction: column; gap: 8px;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card .date { font-size: .76rem; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.news-card h3 { font-size: 1.05rem; font-weight: 800; }
.news-card p { font-size: .9rem; color: #555; }

/* ---------- التواصل الاجتماعي ---------- */
.social-row { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.social-row a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff;
  transition: .3s;
}
.social-row a svg { width: 20px; height: 20px; }
.social-row a:hover { transform: translateY(-4px) scale(1.08); background: var(--teal); border-color: var(--teal); }
.social-row.on-light a { background: color-mix(in srgb, var(--accent) 10%, white); border-color: rgba(23,22,58,.12); color: var(--accent); }
.social-row.on-light a:hover { background: var(--accent); color: #fff; }

/* ---------- المشاريع ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.project-card {
  background: #fff; border-radius: var(--radius); padding: 24px; display: flex; gap: 16px;
  box-shadow: var(--shadow); transition: .3s; align-items: flex-start;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-card .p-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
}
.project-card .p-icon svg { width: 26px; height: 26px; }
.project-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 5px; }
.project-card p { font-size: .87rem; color: var(--gray); }
.project-card .p-tag {
  display: inline-block; margin-top: 10px; font-size: .72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 100px; background: color-mix(in srgb, var(--teal) 13%, white); color: #0f6e56;
}

/* ---------- الشركاء والعملاء ---------- */
.partners-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.partner-card {
  background: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center;
  box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.partner-card svg { width: 34px; height: 34px; color: var(--blue); opacity: .85; }
.partner-card:hover svg { color: var(--teal); transform: scale(1.1); transition: .3s; }
.partner-card b { font-size: .95rem; font-weight: 800; color: var(--dark); }
.partner-card span { font-size: .76rem; color: var(--gray); }
.tp-head { font-family: var(--font-head); font-size: 1.2rem; color: var(--dark); text-align: center; margin: 6px 0 6px; }
.tp-sub { text-align: center; color: var(--gray); font-size: .92rem; margin: 0 auto 20px; max-width: 640px; line-height: 1.8; }
.tp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 44px; }
.tp-card { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 16px 20px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--teal); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .3s; color: inherit; text-decoration: none; }
.tp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tp-card b { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--dark); letter-spacing: .02em; }
.tp-card i { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--teal); }
.tp-card span { font-size: .8rem; color: var(--gray); line-height: 1.7; }
.tp-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .7rem; font-weight: 800; padding: 3px 12px; border-radius: 100px; background: var(--grad); color: #fff; }
.tp-badge.tp-local { background: #2D2A6E; }
.tp-card .tp-badge { color: #fff; font-size: .7rem; line-height: 1.6; }
body.dark .tp-card { background: #1d1c45; } body.dark .tp-card b, body.dark .tp-head { color: #fff; } body.dark .tp-card span { color: #c8cce8; }
@media (max-width: 1000px) { .tp-row { grid-template-columns: repeat(3, 1fr); row-gap: 26px; } }
@media (max-width: 600px) { .tp-row { grid-template-columns: repeat(2, 1fr); gap: 12px; row-gap: 24px; } .tp-card { padding: 26px 10px 16px; } .tp-card b { font-size: 1rem; } .tp-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); } }

/* ---------- استبيان الزوار ---------- */
#svFab {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 300;
  display: flex; align-items: center; gap: 8px; padding: 11px 18px;
  background: var(--grad); color: #fff; border: none; border-radius: 100px;
  font-family: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  box-shadow: 0 10px 30px rgba(23,22,58,.35); transition: .3s;
}
#svFab:hover { transform: translateY(-3px) scale(1.04); }
@keyframes nudge { 0%,100% { transform: translateY(0) } 20% { transform: translateY(-10px) } 40% { transform: translateY(0) } 60% { transform: translateY(-6px) } 80% { transform: translateY(0) } }
#svFab.nudge { animation: nudge 1.1s ease 3; }
#svPanel {
  position: fixed; bottom: 84px; inset-inline-start: 22px; z-index: 300;
  width: min(360px, calc(100vw - 44px)); background: #fff; border-radius: 18px;
  box-shadow: 0 24px 70px rgba(23,22,58,.35); padding: 22px;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transition: .3s;
}
#svPanel.open { opacity: 1; visibility: visible; transform: none; }
#svPanel.shake { animation: nudge .5s ease 1; }
#svPanel h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 4px; padding-inline-end: 26px; }
#svPanel .sv-q { font-size: .84rem; font-weight: 700; color: #3c3b60; margin-top: 12px; margin-bottom: 6px; }
#svClose {
  position: absolute; top: 14px; inset-inline-end: 14px; border: none; background: #f0f1f6;
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer; color: var(--gray); font-size: .8rem;
}
.sv-star { background: none; border: none; font-size: 1.7rem; color: #d5d8e2; cursor: pointer; transition: .2s; padding: 0 3px; }
.sv-star.on { color: #f5a623; transform: scale(1.15); }
#svChips { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-chip {
  border: 1.5px solid rgba(23,22,58,.14); background: #fafbfe; border-radius: 100px;
  padding: 5px 13px; font-size: .78rem; font-family: inherit; font-weight: 700; color: #3c3b60; cursor: pointer; transition: .2s;
}
.sv-chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }
#svPanel textarea, #svPanel input {
  width: 100%; padding: 9px 12px; border-radius: 10px; border: 1.5px solid rgba(23,22,58,.13);
  font-family: inherit; font-size: .85rem; background: #fafbfe; margin-bottom: 8px;
}
#svPanel textarea:focus, #svPanel input:focus { outline: none; border-color: var(--blue); background: #fff; }
#svSend { width: 100%; padding: 11px; font-size: .92rem; }
#svThanks { background: #e2f7ef; color: #14795c; border-radius: 12px; padding: 14px; font-size: .9rem; font-weight: 700; margin-top: 8px; }

/* ---------- الوضع الليلي ---------- */
body.dark {
  --light: #10102a;
  --dark: #eef0fa;
  --gray: #9aa0c0;
  background: #10102a;
  color: #eef0fa;
}
body.dark header.site { background: rgba(16,16,42,.85); border-bottom-color: rgba(255,255,255,.08); }
body.dark nav.main a { color: #c8ccE8; }
body.dark .stats, body.dark .service, body.dark .item-card, body.dark .news-card,
body.dark .project-card, body.dark .partner-card, body.dark .sec-head ~ * .empty,
body.dark .empty, body.dark #svPanel, body.dark .calc-box, body.dark #zbPanel, body.dark #searchOverlay .s-box {
  background: #191938; color: #eef0fa; border-color: rgba(255,255,255,.08);
}
body.dark .item-card .body h3, body.dark .news-card h3, body.dark .project-card h3,
body.dark .partner-card b, body.dark .service h3, body.dark .about-txt h2, body.dark #svPanel h3 { color: #fff; }
body.dark .item-card p, body.dark .service p, body.dark .news-card p, body.dark .project-card p { color: #9aa0c0; }
body.dark .tab { background: #191938; color: #9aa0c0; border-color: rgba(255,255,255,.12); }
body.dark .b-ar { color: #fff; }
body.dark .b-tag { color: #9aa0c0; }
body.dark #svPanel textarea, body.dark #svPanel input, body.dark .calc-box select, body.dark .calc-box input,
body.dark #zbPanel input, body.dark #searchOverlay input {
  background: #10102a; color: #fff; border-color: rgba(255,255,255,.15);
}
body.dark #svClose { background: #262650; color: #ccc; }
.mode-btn {
  cursor: pointer; border: 2px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: 12px; width: 38px; height: 38px; display: grid; place-items: center; transition: .25s;
}
.mode-btn:hover { background: var(--accent); color: #fff; }

/* ---------- معاينة الفيديو عند التمرير ---------- */
.item-card .thumb { position: relative; overflow: hidden; }
.item-card .thumb video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: .3s;
}
.item-card .thumb video.on { opacity: 1; }

/* ---------- حاسبة التحول الرقمي ---------- */
.calc-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start;
}
.calc-box label { display: block; font-weight: 700; font-size: .88rem; margin: 14px 0 6px; }
.calc-box select, .calc-box input[type=range] { width: 100%; }
.calc-box select {
  padding: 10px 14px; border-radius: 11px; border: 1.5px solid rgba(23,22,58,.15);
  font-family: inherit; font-size: .95rem; background: #fafbfe;
}
.calc-out { background: var(--grad); border-radius: 14px; color: #fff; padding: 26px; text-align: center; }
.calc-out .big { font-size: 2.3rem; font-weight: 800; }
.calc-out .row { display: flex; justify-content: space-around; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.calc-out .cell b { display: block; font-size: 1.5rem; }
.calc-out .cell span { font-size: .78rem; opacity: .9; }
.calc-note { font-size: .72rem; opacity: .8; margin-top: 10px; }
.range-val { font-weight: 800; color: var(--blue); }

/* ---------- مساعد زاجل ---------- */
#zbFab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(23,22,58,.35); transition: .3s;
}
#zbFab:hover { transform: translateY(-3px) scale(1.06); }
#zbPanel {
  position: fixed; bottom: 90px; inset-inline-end: 22px; z-index: 300;
  width: min(370px, calc(100vw - 44px)); height: 480px; background: #fff; border-radius: 18px;
  box-shadow: 0 24px 70px rgba(23,22,58,.4); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s;
}
#zbPanel.open { opacity: 1; visibility: visible; transform: none; }
#zbHead { background: var(--grad); color: #fff; padding: 14px 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
#zbMsgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.zb-m { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: .86rem; line-height: 1.6; }
.zb-bot { background: #f0f2fa; color: #23224a; align-self: flex-start; border-start-start-radius: 4px; }
body.dark .zb-bot { background: #262650; color: #eef0fa; }
.zb-user { background: var(--blue); color: #fff; align-self: flex-end; border-start-end-radius: 4px; }
.zb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.zb-chip {
  border: 1.5px solid var(--teal); color: var(--teal); background: transparent; border-radius: 100px;
  padding: 5px 13px; font-size: .78rem; font-family: inherit; font-weight: 700; cursor: pointer; transition: .2s;
}
.zb-chip:hover { background: var(--teal); color: #fff; }
#zbInputRow { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(23,22,58,.08); }
#zbInput { flex: 1; padding: 10px 13px; border-radius: 11px; border: 1.5px solid rgba(23,22,58,.13); font-family: inherit; font-size: .88rem; }
#zbSend { border: none; background: var(--grad); color: #fff; border-radius: 11px; width: 44px; cursor: pointer; }
@media (max-width: 640px) { #svFab span { display: none; } #svFab { border-radius: 50%; width: 52px; height: 52px; padding: 0; justify-content: center; } }

/* ---------- البحث الفوري ---------- */
#searchOverlay {
  position: fixed; inset: 0; z-index: 400; background: rgba(12,11,34,.6); backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center; padding: 10vh 20px 20px;
}
#searchOverlay.open { display: flex; }
#searchOverlay .s-box { background: #fff; border-radius: 18px; width: min(680px, 100%); max-height: 75vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
#searchOverlay input { border: none; outline: none; padding: 18px 22px; font-size: 1.05rem; font-family: inherit; border-bottom: 1px solid rgba(23,22,58,.1); background: transparent; color: inherit; }
#searchResults { overflow-y: auto; padding: 10px; }
.s-item { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; cursor: pointer; transition: .15s; }
.s-item:hover { background: rgba(31,135,196,.09); }
.s-item svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.s-item b { font-size: .92rem; display: block; }
.s-item span { font-size: .74rem; color: var(--gray); }
.search-btn {
  cursor: pointer; border: 2px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: 12px; width: 38px; height: 38px; display: grid; place-items: center; transition: .25s;
}
.search-btn:hover { background: var(--accent); color: #fff; }

/* ---------- مشاركة وQR في العارض ---------- */
.share-row { display: flex; gap: 8px; align-items: center; }
.share-row button, .share-row a {
  width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .25s;
}
.share-row button:hover, .share-row a:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }
.share-row svg { width: 17px; height: 17px; }
#qrModal {
  position: fixed; inset: 0; z-index: 500; background: rgba(12,11,34,.7); display: none;
  align-items: center; justify-content: center;
}
#qrModal.open { display: flex; }
#qrModal .qr-card { background: #fff; border-radius: 18px; padding: 26px; text-align: center; color: #17163a; }
#qrModal .qr-card img { width: 220px; height: 220px; }

/* ---------- مقارنة قبل/بعد ---------- */
.ba-wrap { max-width: 900px; margin: 0 auto; }
.ba { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; height: 300px; }
.ba .pane { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; text-align: center; color: #fff; }
.ba .before { background: linear-gradient(135deg, #45464b, #6D6E71); }
.ba .after { background: var(--grad); clip-path: inset(0 0 0 50%); }
.ba .pane .tag { font-size: .8rem; font-weight: 700; padding: 5px 16px; border-radius: 100px; background: rgba(0,0,0,.25); }
.ba .pane h4 { font-size: 1.15rem; font-weight: 800; }
.ba .pane p { font-size: .9rem; opacity: .92; max-width: 340px; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; cursor: ew-resize; z-index: 3; }
.ba .handle::after { content: "⇄"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 1.1rem; font-weight: 800; box-shadow: var(--shadow); }
.ba-range { width: 100%; margin-top: 14px; }

/* ---------- عرض السعر المبدئي ---------- */
.quote-box { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px; }
.quote-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.q-opt { border: 1.5px solid rgba(23,22,58,.14); background: #fafbfe; border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; font-family: inherit; font-weight: 700; font-size: .85rem; transition: .2s; color: #3c3b60; }
.q-opt.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.quote-result { background: var(--grad); border-radius: 14px; color: #fff; padding: 24px; text-align: center; margin-top: 16px; }
.quote-result .amount { font-size: 2rem; font-weight: 800; }
.quote-result .time { font-size: .95rem; opacity: .92; margin-top: 4px; }

/* ---------- خط زمني للتحول ---------- */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-inline-start: 30px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--purple), var(--teal)); }
.tl-step { position: relative; padding: 0 0 26px 0; }
.tl-step::before { content: ""; position: absolute; inset-inline-start: -30px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.tl-step h4 { font-size: 1.05rem; font-weight: 800; }
.tl-step p { font-size: .9rem; color: var(--gray); margin-top: 3px; }
.tl-step .n { font-size: .72rem; color: var(--accent); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 16px 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .96rem; }
.faq-q .ic { transition: .3s; color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 20px; color: var(--gray); font-size: .9rem; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }
body.dark .faq-item, body.dark .quote-box, body.dark .article-card { background: #191938; }

/* ---------- المدونة ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.article-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: .3s; cursor: pointer; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-card .a-top { height: 8px; background: var(--grad); }
.article-card .a-body { padding: 20px; flex: 1; }
.article-card .a-sec { font-size: .72rem; font-weight: 700; color: var(--accent); }
.article-card h3 { font-size: 1.05rem; font-weight: 800; margin: 6px 0; }
.article-card p { font-size: .87rem; color: var(--gray); }
.article-card .a-date { font-size: .74rem; color: var(--gray); margin-top: 10px; }

/* ---------- شهادات فيديو ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testi-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; position: relative; }
body.dark .testi-card { background: #191938; }
.testi-card .quote-mark { font-size: 3rem; color: var(--teal); opacity: .3; line-height: .6; font-family: Georgia, serif; }
.testi-card p { font-size: .92rem; color: #444; margin: 6px 0 14px; }
body.dark .testi-card p { color: #c8ccE8; }
.testi-card .who { display: flex; align-items: center; gap: 10px; }
.testi-card .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; }
.testi-card .who b { font-size: .9rem; }
.testi-card .who span { font-size: .76rem; color: var(--gray); }
.testi-card .watch { margin-top: 12px; color: var(--accent); font-weight: 700; font-size: .85rem; cursor: pointer; }

/* ---------- عرض التوائم الدوّار ---------- */
.tw-carousel { max-width: 900px; margin: 0 auto; position: relative; }
.tw-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.tw-slide { min-width: 100%; padding: 8px; }
.tw-inner { background: linear-gradient(135deg, var(--dark), #2b2960); border-radius: var(--radius); color: #fff; padding: 40px; display: flex; align-items: center; gap: 30px; box-shadow: var(--shadow-lg); }
.tw-inner .tw-icon { flex-shrink: 0; width: 96px; height: 96px; color: var(--teal); }
.tw-inner h3 { font-size: 1.4rem; font-weight: 800; }
.tw-inner p { opacity: .85; margin: 8px 0 16px; }
.tw-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.tw-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(23,22,58,.2); cursor: pointer; transition: .2s; }
.tw-dot.on { background: var(--accent); width: 24px; border-radius: 5px; }
.tw-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: none; background: #fff; box-shadow: var(--shadow); cursor: pointer; color: var(--dark); font-size: 1.2rem; z-index: 2; }
.tw-nav.prev { inset-inline-start: -12px; } .tw-nav.next { inset-inline-end: -12px; }
@media (max-width: 640px) { .tw-inner { flex-direction: column; text-align: center; padding: 28px; } .ba { height: 340px; } }

/* ---------- تفاصيل المشروع القابلة للتوسيع ---------- */
.project-card { cursor: pointer; flex-wrap: wrap; }
.project-card .p-more { display: none; width: 100%; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(23,22,58,.15); font-size: .84rem; color: var(--gray); }
.project-card.open .p-more { display: block; }
.p-more ul { margin: 8px 0 0 0; padding-inline-start: 18px; }
.p-more li { margin-bottom: 4px; }
/* ===== Logo prominence + hero brand lockup + specialties note (v14) ===== */
.brand .mark { width: 52px; height: 50px; }
.brand .b-ar { font-size: 1.68rem; }
.brand .b-en { font-size: 1.16rem; }
.hero-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.hero-brand .hb-mark { width: 56px; height: 52px; flex: none; filter: drop-shadow(0 3px 12px rgba(0,0,0,.28)); }
.hero-brand .hb-text { display: flex; align-items: center; gap: 11px; }
.hero-brand .hb-text b { font-weight: 800; line-height: 1; }
.hero-brand .b-ar { font-size: 2.15rem; color: #fff; }
.hero-brand .b-en { font-size: 1.42rem; color: #fff; letter-spacing: .3em; opacity: .95; }
.hero-brand .b-div { width: 2px; height: 1.7rem; background: rgba(255,255,255,.45); border-radius: 2px; display: inline-block; }
.services-note { max-width: 760px; margin: 14px auto 0; color: var(--gray); font-size: 1.02rem; line-height: 1.9; }
body.dark .services-note { color: #aab; }
@media (max-width: 640px) {
  .hero-brand .b-ar { font-size: 1.7rem; }
  .hero-brand .b-en { font-size: 1.12rem; }
  .hero-brand .hb-mark { width: 44px; height: 41px; }
  .brand .mark { width: 46px; height: 44px; }
  .brand .b-ar { font-size: 1.5rem; }
}
/* ===== مِرآة التجربة - Evaluation CTA band ===== */
.eval-band { background: var(--grad); border-radius: var(--radius); padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.eval-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 88% 15%, rgba(255,255,255,.18), transparent 60%); }
.eval-band > * { position: relative; z-index: 2; }
.eval-band .eval-kicker { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .5px; color: #fff; opacity: .92; margin-bottom: 8px; }
.eval-band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 800; margin-bottom: 8px; }
.eval-band p { color: rgba(255,255,255,.92); max-width: 560px; font-size: 1rem; line-height: 1.8; }
.eval-band .btn { background: #fff; color: var(--navy); font-weight: 800; padding: 14px 30px; border-radius: 13px; white-space: nowrap; font-size: 1rem; border: 0; }
.eval-band .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.28); }
@media (max-width: 640px) { .eval-band { padding: 28px 24px; } }


/* ===== لمسة هوية زاجل: خط عناوين مميّز (Reem Kufi) + طابع أيقونات خاص + شريك استراتيجي ===== */
:root { --font-head: 'Reem Kufi', 'Tajawal', 'Segoe UI', system-ui, sans-serif; }
.hero h1, .sec-head h2, .block h2, .eval-band h2, .about-txt h2, .spec h3,
.kicker, .sec-head .kicker, .eval-kicker { font-family: var(--font-head); }

/* طابع أيقونات مميّز: أطراف مستديرة، سماكة أوضح، وهج ثنائي اللون بلون الهوية */
.sector-card .icon svg, .service .icon svg, .partner-card svg, .spec .ic svg,
.sec-card .d svg, .eval-band svg { stroke-linecap: round; stroke-linejoin: round; }
.service .icon svg, .partner-card svg { stroke-width: 1.85; }
.service .icon svg { filter: drop-shadow(0 2px 6px rgba(31,135,196,.30)); }
.sector-card .icon { filter: drop-shadow(0 5px 12px rgba(0,0,0,.28)); }
.spec .ic { box-shadow: 0 8px 20px rgba(31,135,196,.28); }

/* الشريك الاستراتيجي الإقليمي */
.partner-card.strategic { border: 2px solid var(--teal); box-shadow: 0 12px 30px rgba(26,175,167,.22); }
.partner-card.strategic svg { color: var(--teal); }
.partner-card .p-badge { display: inline-block; background: var(--grad); color: #fff; font-size: .66rem; font-weight: 800; padding: 3px 11px; border-radius: 20px; margin-bottom: 9px; letter-spacing: .2px; }

/* logo-portrait */
.brand .mark { width: 38px; height: 54px; }

/* real-logo-img */
.brand .mark { width: 46px; height: 46px; object-fit: contain; }
.hero-brand .hb-mark { width: 58px; height: 58px; object-fit: contain; }
/* ==========================================================================
   ZAJEL — UI/UX polish layer (design language + listed fixes only)
   لا تغيير للألوان أو البنية أو الوظائف
   ========================================================================== */

/* ---------- 1) Fonts, headings, kicker ---------- */
:root { --font-head: 'Cairo', 'Tajawal', 'Segoe UI', system-ui, sans-serif; }
.hero h1, .sec-head h2, .block h2, .eval-band h2, .about-txt h2, .spec h3,
.kicker, .sec-head .kicker, .eval-kicker,
.brand .b-ar, .brand .b-en, .hero-brand .b-ar, .hero-brand .b-en { font-family: var(--font-head); }

.kicker::before, .eval-kicker::before {
  content:""; display:inline-block; width:8px; height:8px; border-radius:50%;
  background: var(--grad); margin-inline-end:8px; vertical-align:middle; transform:translateY(-1px);
}
.sec-head h2 { position: relative; }
.sec-head h2::after {
  content:""; display:block; width:94px; height:14px; margin:12px auto 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 94 14'><path d='M4 9 C20 3 33 3 47 6 S72 12 90 5' fill='none' stroke='%231AAFA7' stroke-width='5' stroke-linecap='round'/></svg>") no-repeat center/contain;
}

/* ---------- 4) Premium shadows + spacing ---------- */
:root { --shadow: 0 8px 30px rgba(23,22,58,.07); --shadow-lg: 0 18px 48px rgba(23,22,58,.12); }
.block { padding-top: 72px; padding-bottom: 72px; }
.sec-head { margin-bottom: 42px; }

/* ---------- 2) Icon containers: filled + varied shapes ---------- */
.spec .ic, .service .icon { background: var(--grad); }
.service .icon { width:56px; height:56px; border-radius:18px; display:flex; align-items:center; justify-content:center; margin-bottom:15px; }
.service .icon svg { width:27px; height:27px; stroke:#fff; }
.sector-card .icon svg, .service .icon svg, .spec .ic svg, .partner-card svg, .sec-card .d svg { stroke-linecap:round; stroke-linejoin:round; }
/* cycle: blob -> oval -> diamond */
.spec-grid .spec:nth-child(3n+1) .ic,  .services-grid .service:nth-child(3n+1) .icon { border-radius:58% 42% 55% 45% / 52% 48% 52% 48%; }
.spec-grid .spec:nth-child(3n+2) .ic,  .services-grid .service:nth-child(3n+2) .icon { border-radius:50%; }
.spec-grid .spec:nth-child(3n)   .ic,  .services-grid .service:nth-child(3n)   .icon { border-radius:6px; clip-path:polygon(50% 2%,98% 50%,50% 98%,2% 50%); }

/* feature-list bullets -> hexagons */
.feature-list { list-style:none; padding-inline-start:0; }
.feature-list li { position:relative; list-style:none; padding-inline-start:27px; margin-bottom:12px; }
.feature-list li::before {
  content:""; position:absolute; inset-inline-start:0; top:.42em; width:14px; height:14px;
  background: var(--grad); clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);
}

/* ---------- 3) Large cards: organic varied corners ---------- */
.sectors-grid .sector-card:nth-child(3n+1) { border-radius:26px 26px 26px 60px; }
.sectors-grid .sector-card:nth-child(3n+2) { border-radius:26px 60px 26px 26px; }
.sectors-grid .sector-card:nth-child(3n)   { border-radius:60px 26px 26px 26px; }
.item-card:nth-child(4n+1) { border-radius:22px 22px 22px 48px; }
.item-card:nth-child(4n+2) { border-radius:22px 48px 22px 22px; }
.item-card:nth-child(4n+3) { border-radius:48px 22px 22px 22px; }
.item-card:nth-child(4n)   { border-radius:22px 22px 48px 22px; }
.partner-card:nth-child(3n+1) { border-radius:20px 20px 20px 44px; }
.partner-card:nth-child(3n+2) { border-radius:20px 44px 20px 20px; }
.partner-card:nth-child(3n)   { border-radius:44px 20px 20px 20px; }
.project-card:nth-child(2n+1) { border-radius:24px 24px 24px 50px; }
.project-card:nth-child(2n)   { border-radius:24px 50px 24px 24px; }
.spec:nth-child(2n+1) { border-radius:22px 22px 22px 46px; }
.spec:nth-child(2n)   { border-radius:22px 46px 22px 22px; }

/* ---------- 5) Micro-animations ---------- */
.reveal { transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.sector-card, .service, .item-card, .partner-card, .project-card, .spec { transition: transform .38s cubic-bezier(.22,.61,.36,1), box-shadow .38s, border-color .38s; }
.sector-card .icon svg, .service .icon svg, .spec .ic svg { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.sector-card:hover .icon svg, .service:hover .icon svg, .spec:hover .ic svg { transform: rotate(-7deg) scale(1.08); }
.main a { position: relative; }
.main a::after { content:""; position:absolute; bottom:-5px; inset-inline-end:0; width:0; height:2.5px; border-radius:2px; background: var(--grad); transition: width .3s ease; }
.main a:hover::after, .main a.active::after { width:100%; }

/* ---------- 6) Subtle circuit / dotted background ---------- */
body::before {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.55;
  background-image:
    radial-gradient(circle, rgba(31,135,196,.05) 1.3px, transparent 1.5px),
    radial-gradient(circle, rgba(26,175,167,.045) 1.3px, transparent 1.5px);
  background-size: 48px 48px, 48px 48px;
  background-position: 0 0, 24px 24px;
}
body.dark::before { opacity:.32; }

/* ---------- أداء: إيقاف الحركة خارج الشاشة وطبقات مركّبة ---------- */
.hero.anim-paused { animation-play-state: paused; }
.sector-card .icon { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .hero, .sector-card .icon { animation: none !important; }
}

/* ---------- رأس الصفحة الذكي ---------- */
header.site { transition: transform .32s ease, box-shadow .25s ease; will-change: transform; }
header.site.hdr-hide { transform: translateY(-100%); }
header.site.hdr-compact { box-shadow: 0 6px 22px rgba(23,22,58,.08); }
header.site .bar { transition: min-height .25s ease; }
.menu-btn {
  display: none; cursor: pointer; border: 2px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: 12px; width: 38px; height: 38px; place-items: center; transition: .25s; flex: none;
}
.menu-btn:hover, header.site.nav-open .menu-btn { background: var(--accent); color: #fff; }
/* الوضع المضغوط (بعد النزول) والشاشات الصغيرة: شعار + أزرار + ☰ */
header.site.hdr-compact .bar { min-height: 58px; flex-wrap: nowrap; }
header.site.hdr-compact .b-tag { display: none; }
header.site.hdr-compact .brand .mark { width: 36px; height: 36px; }
header.site.hdr-compact .menu-btn { display: grid; }
header.site.hdr-compact nav.main { display: none; }
@media (max-width: 1100px) {
  header.site .bar { min-height: 60px; flex-wrap: nowrap; gap: 10px; padding: 8px 0; }
  header.site .b-tag { display: none; }
  header.site .brand .mark { width: 38px; height: 38px; }
  .menu-btn { display: grid; }
  nav.main { display: none; }
  header.site .brand { margin-inline-end: auto; }
}
@media (max-width: 420px) {
  header.site .b-en, header.site .b-div { display: none; }
  header.site .lang-btn { padding: 7px 10px; font-size: .8rem; }
}
/* القائمة المنسدلة */
header.site.nav-open nav.main {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px;
  position: absolute; top: 100%; inset-inline: 0; margin: 0; padding: 14px max(16px, calc((100% - 1200px) / 2));
  background: #fff; border-bottom: 1px solid rgba(23,22,58,.08);
  box-shadow: 0 18px 30px rgba(23,22,58,.12); max-height: calc(100vh - 70px); overflow-y: auto;
}
header.site.nav-open nav.main a { text-align: center; padding: 11px 12px; background: rgba(31,135,196,.06); }
header.site.nav-open nav.main a.active, header.site.nav-open nav.main a:hover { background: var(--accent); color: #fff; }
header.site.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
body.dark header.site.nav-open { background: #10102a; }
body.dark header.site.nav-open nav.main { background: #10102a; border-bottom-color: rgba(255,255,255,.08); }
body.dark header.site.nav-open nav.main a { background: rgba(255,255,255,.05); }
body.dark header.site.nav-open nav.main a.active { background: var(--accent); color: #fff; }
@media (prefers-reduced-motion: reduce) { header.site { transition: none; } }

/* ---------- بطاقة الشركة في «من نحن» ---------- */
.about-card { background: #fff; border: 1px solid rgba(23,22,58,.08); border-radius: 22px; padding: 26px 28px; box-shadow: 0 18px 40px rgba(23,22,58,.07); }
.about-card h3 { font-family: var(--font-head); color: #2D2A6E; font-size: 1.15rem; margin-bottom: 14px; }
.about-card dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 0; font-size: .92rem; }
.about-card dt { color: var(--gray); white-space: nowrap; }
.about-card dd { margin: 0; font-weight: 600; color: #2a2950; }
.about-card dd a { color: var(--blue); text-decoration: underline; }
.about-card .co-group { margin-top: 16px; font-size: .84rem; color: var(--gray); line-height: 1.9; border-top: 1px dashed rgba(23,22,58,.12); padding-top: 12px; }
body.dark .about-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
body.dark .about-card h3, body.dark .about-card dd { color: #e6e8ff; }
@media (max-width: 520px) { .about-card dl { grid-template-columns: 1fr; gap: 2px; } .about-card dd { margin-bottom: 8px; } }
/* ---------- إصلاح الهامش الجانبي على الجوال (الرأس والبطل) ---------- */
@media (max-width: 1100px) { header.site .bar { padding: 8px 22px; } }
@media (max-width: 640px) { header.site .bar { padding: 8px 16px; } }
.hero .inner { padding-inline: 22px; }
@media (max-width: 640px) { .hero .inner { padding-inline: 16px; padding-top: 48px; padding-bottom: 64px; } .hero .hero-brand { display: none; } }
/* ---------- ثبات الرأس على الكمبيوتر (منع الاهتزاز عند تحميل الخطوط) ---------- */
@media (min-width: 1101px) { header.site .bar { min-height: 76px; flex-wrap: nowrap; } nav.main { flex-wrap: nowrap; } nav.main a { padding: 8px 11px; white-space: nowrap; } }
.nav-blog[hidden] { display: none !important; }

/* ---------- صور مصغّرة حقيقية للمنظومات ---------- */
.item-card .thumb.has-img { height: auto; aspect-ratio: 16/10; background: #e9eef3; }
.item-card .thumb.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.item-card:hover .thumb.has-img img { transform: scale(1.04); }
.item-card .thumb .thumb-ico { position: absolute; top: 10px; inset-inline-start: 10px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 4px 12px rgba(0,0,0,.18); z-index: 1; }
.item-card .thumb .thumb-ico svg { width: 18px; height: 18px; opacity: 1; }
.item-card:hover .thumb .thumb-ico svg { transform: none; }
.item-card .thumb video { z-index: 2; }
/* صفحة القطاع: روابط القطاعات كثيرة — يُسمح بالتفاف القائمة على الشاشات الكبيرة */
@media (min-width:1101px){ header.site .bar:has(#sectorNav){ flex-wrap:wrap; } #sectorNav{ flex-wrap:wrap; } #sectorNav a{ padding:8px 10px; } }

/* مسافة أسطر كافية للعناوين العربية بخط Cairo الثقيل: تمنع تلامس نقاط السطر الأول (نبني) بنقاط السطر الثاني (الأشياء) */
.hero h1 { line-height: 1.6; }
.sec-head h2, .block h2, .eval-band h2, .about-txt h2 { line-height: 1.5; }

/* ---------- فريق الإدارة ---------- */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.tm-grid.tm-top { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; margin-bottom: 18px; }
.tm-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 24px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .3s; }
.tm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tm-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; margin-bottom: 6px; }
.tm-card b { font-family: var(--font-head); font-size: 1.05rem; color: #2D2A6E; }
.tm-card span { color: var(--gray); font-size: .9rem; line-height: 1.7; }
.tm-lead { border-top: 4px solid var(--teal); padding: 28px 20px; }
.tm-lead .tm-av { width: 76px; height: 76px; font-size: 1.9rem; }
.tm-lead b { font-size: 1.15rem; }
body.dark .tm-card { background: #1d1c45; } body.dark .tm-card b { color: #e6e8ff; }
@media (max-width: 560px) { .tm-grid.tm-top { grid-template-columns: 1fr; } .tm-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .tm-card { padding: 18px 10px; } .tm-card span { font-size: .82rem; } }
@media (min-width: 900px) { #team .tm-grid:not(.tm-top) { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; } }

/* ---------- إطار هوية زاجل الموحّد لشعارات الشركاء ---------- */
.pl-frame { position: relative; display: grid; place-items: center; width: 100%; height: 92px; padding: 12px 14px; border-radius: 16px; background: #fff;
  border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #7B4FA0, #2a7fc4 55%, #1AAFA7);
  background-origin: border-box; background-clip: padding-box, border-box; margin-bottom: 6px; }
.pl-frame img { max-width: 100%; max-height: 64px; object-fit: contain; display: block; }
.pl-frame svg { width: 38px; height: 38px; color: var(--blue); }
.tp-card .pl-frame { height: 96px; margin-top: 4px; }
.tp-card .pl-frame img { max-height: 60px; }
.partner-card { padding: 16px 14px 18px; }
.partner-card .pl-frame { height: 104px; }
.partner-card .pl-frame img { max-height: 80px; }
.partner-card:hover .pl-frame svg { color: var(--teal); }
body.dark .pl-frame { background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #7B4FA0, #2a7fc4 55%, #1AAFA7); }
@media (max-width: 600px) { .pl-frame { height: 80px; padding: 10px; } .partner-card .pl-frame { height: 88px; } .partner-card .pl-frame img { max-height: 66px; } .tp-card .pl-frame img { max-height: 50px; } }

.partner-card { color: inherit; text-decoration: none; }
.partner-card .p-more-link { font-style: normal; font-size: .76rem; font-weight: 800; color: var(--teal); margin-top: 2px; }

/* ===== Odoo partnership ===== */
.odoo-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 7px 16px 7px 8px; border-radius: 100px; background: rgba(255,255,255,.96); color: #2D2A6E; font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: .25s; }
.odoo-pill:hover { transform: translateY(-2px); }
.op-word, .ob-word { font-family: 'Segoe UI', Arial, sans-serif; font-weight: 800; letter-spacing: -.02em; color: #714B67; direction: ltr; }
.op-word { background: #f3eef2; padding: 2px 10px; border-radius: 100px; font-size: .95rem; }
.odoo-band { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 38px; border-top: 5px solid #714B67; }
.ob-id { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 14px; border-radius: 16px; background: linear-gradient(160deg, #f6f0f4, #eef4fb); text-align: center; }
.ob-id .ob-word { font-size: 3.4rem; line-height: 1; }
.ob-tag { background: #714B67; color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 14px; border-radius: 100px; }
.ob-x { color: var(--gray); font-weight: 700; }
.ob-id img { height: 46px; width: auto; }
.ob-body .kicker { color: #714B67; font-weight: 800; font-size: .9rem; }
.ob-body h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--dark); margin: 4px 0 10px; }
.ob-body p { color: var(--gray); line-height: 1.9; margin: 0 0 14px; }
.ob-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.ob-list li { position: relative; padding-inline-start: 24px; color: var(--dark); font-size: .95rem; }
.ob-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #fff; background: var(--teal); width: 17px; height: 17px; border-radius: 50%; font-size: .7rem; display: grid; place-items: center; top: 4px; }
.ob-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-line { border: 1.5px solid #714B67; color: #714B67; background: #fff; }
.tp-row { grid-template-columns: repeat(6, 1fr); }
.tp-card.tp-odoo { border-top-color: #714B67; }
.tp-card .pl-frame .ob-word { font-size: 2.1rem; }
.tp-badge.tp-official { background: #714B67; }
body.dark .odoo-band { background: #1d1c45; } body.dark .ob-body h2, body.dark .ob-list li { color: #fff; } body.dark .ob-body p { color: #c8cce8; }
body.dark .ob-id { background: linear-gradient(160deg, #2a2850, #22305a); } body.dark .ob-id .ob-word { color: #c9a3bf; } body.dark .ob-line { background: transparent; color: #e3c6da; border-color: #c9a3bf; }
@media (max-width: 1000px) { .tp-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .odoo-band { grid-template-columns: 1fr; padding: 24px 18px; gap: 20px; } .ob-id { flex-direction: row; justify-content: center; padding: 16px; flex-wrap: wrap; } .ob-id .ob-word { font-size: 2.4rem; } .ob-id img { height: 36px; } }
@media (max-width: 600px) { .tp-row { grid-template-columns: repeat(2, 1fr); } .ob-list { grid-template-columns: 1fr; } .ob-cta .btn { width: 100%; text-align: center; } }
/* ===== Live applications ===== */
.la-card { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.la-video { background: #0d1022; display: flex; align-items: center; }
.la-video video { width: 100%; height: auto; display: block; aspect-ratio: 1280 / 670; background: #0d1022; }
.la-info { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.la-live { align-self: flex-start; font-size: .78rem; font-weight: 800; color: #d33; background: #fdecec; padding: 3px 12px; border-radius: 100px; }
.la-info h3 { font-family: var(--font-head); font-size: 1.3rem; color: var(--dark); margin: 0; }
.la-info p { color: var(--gray); line-height: 1.85; margin: 0; font-size: .95rem; }
.la-info ul { margin: 0; padding-inline-start: 18px; color: var(--dark); font-size: .9rem; line-height: 1.9; }
.la-tags { display: flex; flex-wrap: wrap; gap: 6px; direction: ltr; justify-content: flex-end; }
.la-tags span { font-size: .72rem; font-weight: 700; color: var(--blue); background: #eaf4fb; padding: 3px 10px; border-radius: 100px; }
.la-info .btn { align-self: flex-start; margin-top: 4px; }
body.dark .la-card { background: #1d1c45; } body.dark .la-info h3, body.dark .la-info ul { color: #fff; } body.dark .la-info p { color: #c8cce8; } body.dark .la-tags span { background: #24234f; }
@media (max-width: 900px) { .la-card { grid-template-columns: 1fr; } .la-info { padding: 20px 18px 22px; } .la-info .btn { align-self: stretch; text-align: center; } }
.tp-row .tp-card .pl-frame span.ob-word { color: #714B67; font-size: 2.1rem; }
body.dark .tp-row .tp-card .pl-frame span.ob-word { color: #714B67; }
.ob-id img { height: 60px; border-radius: 10px; }

/* ===== SIRI accreditation ===== */
.siri-pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; margin-inline-end: 8px; padding: 7px 8px 7px 16px; border-radius: 100px; background: #0f5e3a; color: #fff; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 20px rgba(0,0,0,.18); vertical-align: top; }
.siri-pill .sp-ico { display: grid; place-items: center; color: #c8f5dc; }
.siri-pill b { background: #fff; color: #0f5e3a; font-family: 'Segoe UI', Arial, sans-serif; font-weight: 900; letter-spacing: .04em; padding: 2px 10px; border-radius: 100px; font-size: .85rem; direction: ltr; }
.cred-ribbon { display: flex; align-items: center; gap: 14px; margin: 14px auto 0; max-width: 980px; padding: 12px 18px; border-radius: 14px; background: linear-gradient(90deg, #eaf7f0, #f3faf6); border: 1px solid #cfe9db; }
.cr-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #0f5e3a; color: #fff; }
.cr-ico svg { width: 22px; height: 22px; }
.cr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cr-txt b { color: #0f5e3a; font-size: .98rem; } .cr-txt span { color: var(--gray); font-size: .85rem; }
.cr-chip { flex: none; display: flex; flex-direction: column; align-items: center; padding: 6px 14px; border-radius: 12px; background: #fff; border: 1px solid #cfe9db; }
.cr-chip b { font-family: 'Segoe UI', Arial, sans-serif; font-weight: 900; color: #0f5e3a; letter-spacing: .06em; font-size: 1.05rem; direction: ltr; } .cr-chip i { font-style: normal; font-size: .7rem; color: var(--gray); white-space: nowrap; }
body.dark .cred-ribbon { background: #1d1c45; border-color: #2f5a48; } body.dark .cr-txt b { color: #7fe0ae; } body.dark .cr-txt span { color: #c8cce8; } body.dark .cr-chip { background: #24234f; border-color: #2f5a48; } body.dark .cr-chip b { color: #7fe0ae; }
@media (max-width: 600px) { .cred-ribbon { flex-wrap: wrap; padding: 12px; gap: 10px; } .cr-chip { flex-direction: row; gap: 8px; width: 100%; justify-content: center; } .siri-pill { font-size: .8rem; padding-inline-start: 12px; } }

/* ===== hero title extension + 7 tech partners ===== */
.hero h1 .h1-plus { display: block; margin-top: 6px; font-size: .58em; line-height: 1.5; font-weight: 700; color: #d9f6f2; }
.tp-row { display: flex; flex-wrap: wrap; justify-content: center; }
.tp-row > .tp-card { flex: 0 0 calc((100% - 48px) / 4); }
@media (max-width: 1000px) { .tp-row > .tp-card { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 600px) { .tp-row > .tp-card { flex-basis: calc((100% - 12px) / 2); } .tp-row > .tp-card:last-child:nth-child(odd) { width: auto; } }
/* 7 hero chips: keep them on one row on desktop */
.hero .chips { gap: 6px; }
.hero .chips .chip { padding: 5px 11px; font-size: .78rem; }
@media (max-width: 600px) { .hero .chips { gap: 6px; } .hero .chips .chip { padding: 5px 11px; font-size: .76rem; } }
