/* ---------- الخط: IBM Plex Sans Arabic مستضاف محلياً (رخصة OFL في assets/fonts) ---------- */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-arabic-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,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; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-arabic-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-arabic-arabic-500.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,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; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-arabic-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-arabic-arabic-600.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; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-arabic-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-arabic-arabic-700.woff2) format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,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; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plex-arabic-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ==========================================================================
   أثر للاستشارات - الأنماط الرئيسية
   Athar Consulting - Main Stylesheet
   الاتجاه: من اليمين إلى اليسار (RTL)
   الخط: IBM Plex Sans Arabic
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. المتغيرات (Design Tokens)
   لتغيير ألوان العلامة، عدّل هذي القيم فقط.
   -------------------------------------------------------------------------- */
:root {
  /* ---- ألوان العلامة، من البراند بوك ----
     Navy Ink    #341E5D
     Pastel Lime #D8E2A2
     Chalk White #FAF6F2
     Warm Linen  #E8E2DD                       */
  --ink:            #1B1230;
  --ink-soft:       #3C3352;
  --primary:        #341E5D;   /* Navy Ink */
  --primary-700:    #241442;
  --primary-500:    #4B2E85;
  --primary-300:    #7E62B8;

  --accent:         #D8E2A2;   /* Pastel Lime، للتعبئة */
  --accent-600:     #5E6E22;   /* نسخة داكنة للنصوص والخطوط */
  --accent-100:     #EEF3D8;
  --accent-200:     #C6D488;

  /* المحايدة */
  --bg:             #FAF6F2;   /* Chalk White */
  --bg-alt:         #E8E2DD;   /* Warm Linen */
  --surface:        #FFFFFF;
  --line:           #DED6CE;
  --line-strong:    #C7BCB2;
  --muted:          #6B6379;
  --muted-2:        #948CA3;

  /* الحالات */
  --ok:             #3C7D57;
  --warn:           #A8791F;
  --bad:            #A84A4A;

  /* الخطوط */
  --font: "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* المقاسات */
  --container: 1200px;
  --container-narrow: 820px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --arch: 240px;            /* انحناء القوس، من جماليات العلامة */

  /* الظلال */
  --shadow-sm: 0 1px 2px rgba(27,18,48,.05), 0 2px 8px rgba(27,18,48,.04);
  --shadow:    0 2px 6px rgba(27,18,48,.06), 0 12px 32px rgba(27,18,48,.08);
  --shadow-lg: 0 8px 20px rgba(27,18,48,.09), 0 28px 60px rgba(27,18,48,.12);

  /* الحركة */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t: .34s var(--ease);
}

/* --------------------------------------------------------------------------
   2. إعادة الضبط
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-soft);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 1.3rem + 3.1vw, 3.5rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.8vw, 2.5rem); line-height: 1.26; }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary-500); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-600); }

ul, ol { margin: 0 0 1.2em; padding-right: 1.3em; }
li { margin-bottom: .5em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

::selection { background: var(--accent); color: var(--primary-700); }

:focus-visible {
  outline: 3px solid var(--primary-300);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. التخطيط
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--primary); color: #D8D0E8; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. العناوين المساعدة
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent-600);
  margin-bottom: 14px;
  text-transform: none;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-600);
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--accent-100); }
.section--ink .eyebrow::before { background: var(--accent-100); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead {
  font-size: clamp(1.02rem, .97rem + .28vw, 1.2rem);
  color: var(--muted);
  line-height: 1.85;
}
.section--ink .lead { color: #BFB3D6; }

/* --------------------------------------------------------------------------
   5. الأزرار
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: transform .22s var(--ease), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-700); color: #fff; box-shadow: var(--shadow); }

.btn--accent { background: var(--accent); color: var(--primary-700); }
.btn--accent:hover { background: var(--accent-200); color: var(--primary-700); }

.btn--ghost { background: transparent; color: var(--primary); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--primary-300); color: var(--primary); }

.btn--light { background: #fff; color: var(--primary-700); }
.btn--light:hover { background: var(--accent-100); color: var(--primary-700); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }

.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--lg { padding: 17px 36px; font-size: 1.04rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row.center { justify-content: center; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }

/* رابط نصّي بسهم */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--primary-500);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(-4px); }

/* --------------------------------------------------------------------------
   6. الترويسة
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,247,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(14,26,31,.05);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand__fallback {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.02em;
}

.nav { margin-inline-start: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background var(--t), color var(--t);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--bg-alt); color: var(--primary); }
.nav__link.is-active { color: var(--primary); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--accent-600);
  border-radius: 2px;
}
.nav__caret { transition: transform .22s var(--ease); }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 290px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  transition: background var(--t), color var(--t);
}
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }
.dropdown a small { display: block; font-size: .79rem; color: var(--muted-2); font-weight: 400; margin-top: 1px; }

.header__cta { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block; position: relative;
  width: 19px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: background .2s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0;
  width: 19px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .28s var(--ease), top .2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta .btn--ghost { display: none; }
  .header__inner { gap: 12px; }
  .header__cta { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .header__cta .btn { display: none; }
}

/* قائمة الجوال */
.mobile-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 99;
  overflow-y: auto;
  padding: 24px 0 60px;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav__group { border-bottom: 1px solid var(--line); padding: 4px 0; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 15px 4px;
  font-family: var(--font);
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-align: start;
}
.mobile-nav__sub { list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.mobile-nav__group.is-open .mobile-nav__sub { display: block; }
.mobile-nav__group.is-open .nav__caret { transform: rotate(180deg); }
.mobile-nav__sub a {
  display: block; padding: 10px 16px; color: var(--muted);
  font-size: .96rem; border-inline-start: 2px solid var(--line);
}
.mobile-nav__sub a:hover { color: var(--primary); border-inline-start-color: var(--accent-600); }
.mobile-nav .btn { width: 100%; margin-top: 22px; }
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. القسم الافتتاحي
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(54px, 7vw, 100px) 0 clamp(48px, 6vw, 84px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -320px; inset-inline-start: -260px;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(52,30,93,.10) 0%, rgba(52,30,93,0) 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -400px; inset-inline-end: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(216,226,162,.55) 0%, rgba(216,226,162,0) 68%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: .45em; }
.hero__lead {
  font-size: clamp(1.04rem, .98rem + .4vw, 1.24rem);
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 30px; padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .89rem; color: var(--muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { color: var(--accent-600); flex-shrink: 0; }

.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset-inline-end: 26px; top: -1px;
  width: 64px; height: 3px;
  background: var(--accent-600);
  border-radius: 0 0 3px 3px;
}
.hero__panel h3, .hero__panel-title { font-size: 1.14rem; margin-bottom: 6px; }
.hero__panel p { font-size: .93rem; color: var(--muted); margin-bottom: 20px; }
.hero__meter { display: grid; gap: 14px; margin-bottom: 22px; }
.hero__meter-row { display: grid; gap: 6px; }
.hero__meter-row > div { display: flex; justify-content: space-between; font-size: .86rem; color: var(--muted); }
.bar { height: 7px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.bar > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--primary-300), var(--primary));
  border-radius: 99px;
  width: 0;
  transition: width 1.1s var(--ease);
}
.hero__panel .btn { width: 100%; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: 2; }
}

/* الصفحات الداخلية: ترويسة الصفحة */
.pagehead {
  position: relative;
  padding: clamp(44px, 5.5vw, 78px) 0 clamp(36px, 4.5vw, 60px);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  top: -180px; inset-inline-start: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(216,226,162,.5) 0%, rgba(216,226,162,0) 70%);
  pointer-events: none;
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 { max-width: 20ch; }
.pagehead .lead { max-width: 62ch; }
.pagehead .btn-row { margin-top: 26px; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0 0 18px; padding: 0;
  font-size: .84rem; color: var(--muted-2);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }

/* --------------------------------------------------------------------------
   8. البطاقات
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}
.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: .5em; }
.card__title { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); margin-bottom: .5em; }
.card p { color: var(--muted); font-size: .95rem; }
.card .link-arrow { margin-top: auto; padding-top: 18px; }

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent-600);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card__num {
  font-size: .8rem; font-weight: 700; color: var(--accent-600);
  letter-spacing: .06em; margin-bottom: 12px;
}

/* بطاقة العَرَض (المشكلة) */
.symptom {
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent-600);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.symptom:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.symptom__quote {
  font-size: 1.1rem; font-weight: 600; color: var(--ink);
  line-height: 1.5; margin-bottom: 12px;
}
.symptom p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.symptom .link-arrow { margin-top: auto; padding-top: 18px; }

/* --------------------------------------------------------------------------
   9. شريط الثقة والأرقام
   -------------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
}
.stat__num {
  font-size: clamp(2rem, 1.5rem + 1.9vw, 3rem);
  font-weight: 700; color: #fff; line-height: 1.1;
  display: block; margin-bottom: 6px;
  font-feature-settings: "tnum";
}
.stat__label { font-size: .92rem; color: #B4A8CC; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   10. المراحل / المنهجية
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step {
  position: relative;
  padding: 0 22px;
  border-inline-end: 1px solid var(--line);
}
.step:last-child { border-inline-end: 0; }
.step__badge {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700; font-size: 1.02rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.16rem; margin-bottom: .45em; }
.step p { font-size: .93rem; color: var(--muted); margin-bottom: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { border-inline-end: 0; border-inline-start: 2px solid var(--line); padding: 0 24px 0 0; }
}

/* المنهجية التفصيلية */
.phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.phase:last-of-type { border-bottom: 1px solid var(--line); }
.phase__meta .eyebrow { margin-bottom: 8px; }
.phase__meta h3 { font-size: 1.5rem; margin-bottom: 4px; }
.phase__meta span { font-size: .87rem; color: var(--muted-2); }
.phase__out {
  margin-top: 18px; padding: 16px 18px;
  background: var(--accent-100);
  border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--primary-700);
}
.phase__out strong { color: var(--primary-700); }
@media (max-width: 800px) { .phase { grid-template-columns: 1fr; gap: 18px; } }

/* --------------------------------------------------------------------------
   11. قوائم المزايا
   -------------------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.checklist li {
  position: relative;
  padding-inline-start: 32px;
  margin: 0;
  font-size: .97rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: .52em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235E6E22' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checklist--dash li::before {
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6379' stroke-width='3.2' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--ink .checklist li { color: #CFC5E2; }

/* كتلة الخدمة: ما نعمله */
.do-block {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.do-block h4, .do-block h3 { margin-bottom: .4em; color: var(--primary); font-size: 1.04rem; }
.do-block p { margin: 0; font-size: .94rem; color: var(--muted); }

/* صندوق المخرجات */
.deliverables {
  background: var(--primary);
  color: #CFC5E2;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.deliverables h3 { color: #fff; margin-bottom: .2em; }
.deliverables .lead { color: #BFB3D6; margin-bottom: 26px; }
.deliverables { container-type: inline-size; }
.deliverables .checklist { grid-template-columns: 1fr; gap: 13px 32px; }
@container (min-width: 640px) {
  .deliverables .checklist { grid-template-columns: repeat(2, 1fr); }
}
.deliverables .checklist li::before {
  background: rgba(216,226,162,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23EEF3D8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.duration {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; gap: 12px;
  font-size: .96rem; color: #BFB3D6;
}
.duration svg { color: var(--accent); flex-shrink: 0; }


/* --------------------------------------------------------------------------
   12. الأسئلة الشائعة
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  width: 100%;
  padding: 22px 2px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font);
  font-size: 1.04rem; font-weight: 600; color: var(--ink);
  text-align: start; line-height: 1.5;
  transition: color var(--t);
}
.faq__q:hover { color: var(--primary); }
.faq__icon {
  flex-shrink: 0; width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--bg-alt);
  color: var(--primary); margin-top: 2px;
  transition: transform .3s var(--ease), background var(--t);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--accent-100); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s var(--ease);
}
.faq__a > div { padding: 0 2px 24px; color: var(--muted); font-size: .97rem; max-width: 74ch; }

/* --------------------------------------------------------------------------
   13. القطاعات
   -------------------------------------------------------------------------- */
.sector-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.sector-card::after {
  content: "";
  position: absolute; inset-inline-start: 0; top: 0; bottom: 0;
  width: 3px; background: var(--primary-300);
  transform: scaleY(0); transform-origin: top;
  transition: transform .32s var(--ease);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.sector-card:hover::after { transform: scaleY(1); }
.sector-card h3 { font-size: 1.18rem; margin-bottom: .4em; }
.sector-card p { font-size: .93rem; color: var(--muted); }
.sector-card .link-arrow { margin-top: auto; padding-top: 16px; }
.sector-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: .76rem; color: var(--muted);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 99px;
}

/* --------------------------------------------------------------------------
   14. قصص الأثر
   -------------------------------------------------------------------------- */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.case__body { padding: clamp(28px, 4vw, 44px); }
.case__result {
  background: var(--primary);
  color: #CFC5E2;
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; justify-content: center;
}
.case__big {
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem);
  font-weight: 700; color: #fff; line-height: 1.05;
  margin-bottom: 8px; font-feature-settings: "tnum";
}
.case__big--text {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem);
  line-height: 1.35; margin-bottom: 12px;
}
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag--pending {
  color: var(--accent-600); background: var(--accent-100);
  border-color: var(--accent-200);
}
.case blockquote {
  margin: 22px 0 0; padding: 18px 20px;
  background: var(--bg-alt); border-radius: var(--radius-sm);
  font-size: .95rem; color: var(--ink-soft); font-style: normal;
}
.case blockquote footer { margin-top: 10px; font-size: .86rem; color: var(--muted-2); }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; } }

.placeholder-note {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px;
  background: var(--accent-100);
  border: 1px dashed var(--accent-600);
  border-radius: var(--radius);
  color: var(--primary-700);
  font-size: .93rem;
}
.placeholder-note svg { flex-shrink: 0; color: var(--accent-600); margin-top: 3px; }
.placeholder-note strong { display: block; margin-bottom: 4px; color: var(--primary-700); }

/* --------------------------------------------------------------------------
   15. آراء العملاء
   -------------------------------------------------------------------------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.quote__mark { font-size: 2.6rem; line-height: 1; color: var(--accent-600); margin-bottom: 4px; font-family: Georgia, serif; }
.quote p { font-size: 1rem; color: var(--ink-soft); flex: 1; }
.quote footer {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .89rem; color: var(--muted);
}
.quote footer strong { display: block; color: var(--ink); font-size: .95rem; }

/* --------------------------------------------------------------------------
   16. التشخيص السريع
   -------------------------------------------------------------------------- */
.quiz {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quiz__top {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.quiz__progress-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .87rem; color: var(--muted); margin-bottom: 10px;
}
.quiz__progress-meta b { color: var(--primary); font-weight: 600; }
.quiz__track { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.quiz__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent-200), var(--primary));
  border-radius: 99px;
  transition: width .4s var(--ease);
}
.quiz__body { padding: clamp(26px, 4vw, 42px); }
.quiz__axis {
  display: inline-block;
  font-size: .8rem; font-weight: 600; color: var(--accent-600);
  background: var(--accent-100); padding: 4px 13px; border-radius: 99px;
  margin-bottom: 16px;
}
.quiz__q { font-size: clamp(1.14rem, 1.02rem + .5vw, 1.45rem); font-weight: 600; color: var(--ink); margin-bottom: 24px; line-height: 1.45; }
.quiz__options { display: grid; gap: 11px; }
.quiz__opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font); font-size: .98rem; color: var(--ink-soft);
  text-align: start; cursor: pointer; line-height: 1.5;
  transition: border-color var(--t), background var(--t), transform .18s var(--ease);
}
.quiz__opt:hover { border-color: var(--primary-300); background: var(--surface); transform: translateX(-3px); }
.quiz__opt.is-selected { border-color: var(--primary); background: var(--accent-100); }
.quiz__dot {
  flex-shrink: 0; width: 20px; height: 20px;
  border: 2px solid var(--line-strong); border-radius: 50%;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.quiz__opt.is-selected .quiz__dot { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px #fff; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

/* شاشة النتيجة */
.result__score {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  padding-bottom: 30px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.gauge { position: relative; width: 168px; height: 168px; flex-shrink: 0; }
.gauge svg { transform: rotate(-90deg); }
.gauge__bg { fill: none; stroke: var(--bg-alt); stroke-width: 13; }
.gauge__fg {
  fill: none; stroke: var(--primary); stroke-width: 13; stroke-linecap: round;
  transition: stroke-dashoffset 1.2s var(--ease);
}
.gauge__val {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center;
  text-align: center;
}
.gauge__val b { font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1; font-feature-settings: "tnum"; }
.gauge__val span { font-size: .78rem; color: var(--muted-2); }
.result__stage { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: .35em; }
.result__axes { display: grid; gap: 16px; margin-bottom: 30px; }
.result__axis-row > div { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.result__axis-row b { font-feature-settings: "tnum"; color: var(--ink); }
.result__weak {
  padding: 24px;
  background: var(--accent-100);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.result__weak h4 { color: var(--primary-700); margin-bottom: .5em; }
.result__weak .checklist li { color: var(--primary-700); }
@media (max-width: 640px) {
  .result__score { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
}

/* --------------------------------------------------------------------------
   17. النماذج
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--bad); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font); font-size: .97rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary-300);
  box-shadow: 0 0 0 3px rgba(126,98,184,.18);
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.7; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6379' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-inline-start: 44px;
}
.field__hint { font-size: .82rem; color: var(--muted-2); }
.checks { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.check {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: .93rem; cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.check:hover { border-color: var(--primary-300); }
.check input { width: 17px; height: 17px; accent-color: var(--primary); margin: 0; }
.form__note { font-size: .85rem; color: var(--muted-2); }
.form-success {
  display: none;
  padding: 26px;
  background: #EEF3D8;
  border: 1px solid #C6D488;
  border-radius: var(--radius);
  color: #3F4C13;
}
.form-success.is-visible { display: block; }

/* --------------------------------------------------------------------------
   18. الدعوة الختامية
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset-inline-end: -120px; top: -140px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(216,226,162,.30) 0%, rgba(216,226,162,0) 68%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { color: #C6BBDD; max-width: 60ch; margin-inline: auto; margin-bottom: 28px; font-size: 1.04rem; }

/* شريط سفلي ثابت */
.ribbon {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  background: var(--ink);
  color: #D8D0E8;
  padding: 12px 0;
  transform: translateY(105%);
  transition: transform .4s var(--ease);
}
.ribbon.is-visible { transform: translateY(0); }
.ribbon__inner { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: .93rem; }
.ribbon__close {
  position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #8C82A3; cursor: pointer; padding: 6px;
}
.ribbon__close:hover { color: #fff; }
@media (max-width: 680px) { .ribbon { display: none; } }

/* زر واتساب عائم */
.wa {
  position: fixed;
  inset-inline-start: 20px; bottom: 20px;
  z-index: 95;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform var(--t);
}
.wa:hover { transform: scale(1.08); color: #fff; }

/* --------------------------------------------------------------------------
   19. التذييل
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: #A79DBC;
  padding: clamp(48px, 6vw, 76px) 0 0;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr 1fr .8fr 1.1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer h4, .footer__title { color: #fff; font-size: .98rem; margin-bottom: 18px; }
.footer p { font-size: .92rem; line-height: 1.8; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: #A79DBC; font-size: .92rem; }
.footer a:hover { color: var(--accent-100); }
.footer .brand__fallback { color: #fff; }
.footer .brand { margin-bottom: 16px; }
.footer .brand img { opacity: .95; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact svg { color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .86rem;
}
.footer__bottom ul { display: flex; gap: 20px; }
.footer__bottom li { margin: 0; }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
@media (max-width: 760px)  { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   20. الحركة عند التمرير
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* --------------------------------------------------------------------------
   22. الصور والوسائط
   كل صورة موضوعة داخل <figure class="media">. قبل إضافة الصورة الحقيقية
   يظهر إطار مؤقت أنيق يحمل وصف الصورة المطلوبة، وبمجرد تحميل الصورة
   يختفي الإطار المؤقت تلقائياً.
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, var(--primary) 0%, var(--primary-500) 55%, var(--primary-300) 100%);
  isolation: isolate;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(216,226,162,.32) 0%, rgba(216,226,162,0) 52%),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 46%);
  z-index: 0;
}
.media > picture { display: contents; }
.media > img, .media > picture > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.media.is-loaded > img, .media.is-loaded > picture > img { opacity: 1; }
.media.is-loaded > figcaption { display: none; }

.media > figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 26px;
  text-align: center;
  color: rgba(255,255,255,.86);
  font-size: .86rem;
  line-height: 1.7;
}
.media > figcaption b {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.media__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .74rem;
  letter-spacing: .04em;
  color: #fff;
}

/* النِسَب */
.media--wide   { aspect-ratio: 16 / 9; }
.media--photo  { aspect-ratio: 4 / 3; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall   { aspect-ratio: 3 / 4; }
.media--portrait { aspect-ratio: 5 / 6; }
.media--band   { aspect-ratio: 21 / 9; }

/* القوس النحتي، من جماليات العلامة */
.media--arch {
  border-radius: var(--arch) var(--arch) var(--radius) var(--radius);
}
.media--arch-soft {
  border-radius: 140px 140px var(--radius) var(--radius);
}
/* كبسولة ناعمة */
.media--capsule { border-radius: 999px; }

@media (max-width: 620px) {
  .media--arch { border-radius: 150px 150px var(--radius) var(--radius); }
  .media--tall, .media--portrait { aspect-ratio: 4 / 3; }
}

/* قسم صورة + نص */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split--narrow-media { grid-template-columns: .85fr 1.15fr; }
.split--wide-media { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 880px) {
  .split, .split--narrow-media, .split--wide-media { grid-template-columns: 1fr; }
}

/* شريط صور أفقي */
.media-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-strip .media:nth-child(2) { margin-top: 28px; }
@media (max-width: 760px) { .media-strip { grid-template-columns: 1fr 1fr; } .media-strip .media:nth-child(2){margin-top:0} .media-strip .media:nth-child(3){display:none} }

/* صورة داخل البطاقة */
.card .media, .sector-card .media {
  margin: -28px -28px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 10;
}
.card--media { padding-top: 0; overflow: hidden; }
.card--media .media { margin-top: 0; }

/* بطاقة عضو الفريق */
.person .media { aspect-ratio: 1 / 1; border-radius: 999px; width: 108px; margin: 0 0 18px; }
/* شريط شعارات العملاء: مخفي حتى يُحمَّل شعار واحد على الأقل */


/* شبكة الفريق: تتكيف مع أي عدد من الأعضاء */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}
.person__role {
  color: var(--accent-600); font-weight: 600; font-size: .9rem; margin-bottom: .8em;
}
.person .link-arrow { margin-top: auto; padding-top: 16px; }

/* صورة ترويسة الصفحة */
.pagehead--media .split { align-items: center; }

/* --------------------------------------------------------------------------
   23. مساعدات
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 50%; top: -60px;
  transform: translateX(50%);
  z-index: 999;
  background: var(--primary); color: #fff;
  padding: 12px 24px; border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }

.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.text-center { text-align: center; }
.prose { max-width: 72ch; }
.prose h3 { margin-top: 2em; }
.prose h3:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   23ب. صفحات المقالات
   -------------------------------------------------------------------------- */
.pagehead--article h1 { max-width: 20ch; }
.article__meta {
  margin-top: 18px; color: var(--muted); font-size: .92rem;
}
.prose--article { max-width: none; }
.prose--article > .lead {
  font-size: 1.16rem; line-height: 1.95; color: var(--ink-soft);
  padding-inline-start: 18px;
  border-inline-start: 3px solid var(--accent);
  margin-bottom: 1.6em;
}
.prose--article h2 {
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem);
  margin-top: 2.2em; margin-bottom: .6em;
}
.prose--article h2:first-child { margin-top: 0; }
.prose--article h3 { font-size: 1.08rem; margin-top: 1.8em; margin-bottom: .4em; }
.prose--article p { margin-bottom: 1.15em; line-height: 2; }
.prose--article ul,
.prose--article ol { margin: 0 0 1.5em; padding-inline-start: 1.4em; }
.prose--article li { margin-bottom: .6em; line-height: 1.95; }
.prose--article a { color: var(--primary-500); text-decoration: underline; text-underline-offset: 4px; }
.prose--article a:hover { color: var(--primary); }
.prose--article .faq { margin-top: 1em; }

.callout {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent-200);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 2.2em 0;
}
.callout h3 { margin: 0 0 .6em; font-size: 1.05rem; }
.callout ul { margin: 0; padding-inline-start: 1.2em; }
.callout li:last-child { margin-bottom: 0; }

/* شبكة صفحة تواصل معنا: النموذج أولاً، ثم بطاقتا التواصل */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.article__foot {
  margin-top: 56px; padding-top: 36px;
  border-top: 1px solid var(--line);
}
.card__meta {
  color: var(--muted-2); font-size: .85rem; margin-bottom: 10px;
}

/* الطباعة */
@media print {
  .header, .footer, .ribbon, .wa, .btn { display: none !important; }
  body { background: #fff; }
}

/* --------------------------------------------------------------------------
   24. تنويع الإطارات المؤقتة: رمل دافئ بالتناوب مع النيلي
   (يختفي كله بمجرد وضع الصور الحقيقية)
   -------------------------------------------------------------------------- */
.media--sand,
.grid > *:nth-child(2n) .media,
.media-strip .media:nth-child(2),
.split:nth-of-type(2n) > .reveal .media {
  background: linear-gradient(140deg, #EFE7DD 0%, #E3D8CA 55%, var(--accent-100) 100%);
}
.media--sand::before,
.grid > *:nth-child(2n) .media::before,
.media-strip .media:nth-child(2)::before,
.split:nth-of-type(2n) > .reveal .media::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(52,30,93,.10) 0%, rgba(52,30,93,0) 52%),
    radial-gradient(circle at 12% 88%, rgba(216,226,162,.45) 0%, rgba(216,226,162,0) 46%);
}
.media--sand > figcaption,
.grid > *:nth-child(2n) .media > figcaption,
.media-strip .media:nth-child(2) > figcaption,
.split:nth-of-type(2n) > .reveal .media > figcaption { color: var(--muted); }

.media--sand > figcaption b,
.grid > *:nth-child(2n) .media > figcaption b,
.media-strip .media:nth-child(2) > figcaption b,
.split:nth-of-type(2n) > .reveal .media > figcaption b { color: var(--ink); }

.media--sand .media__badge,
.grid > *:nth-child(2n) .media .media__badge,
.media-strip .media:nth-child(2) .media__badge,
.split:nth-of-type(2n) > .reveal .media .media__badge {
  background: rgba(52,30,93,.07);
  border-color: rgba(52,30,93,.16);
  color: var(--primary);
}

/* البطاقات: صورة تملأ العرض بلا حواف مزدوجة */
.card--media { padding-top: 0; }
.card--media > .media:first-child {
  margin: 0 -28px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  aspect-ratio: 16 / 10;
}
.sector-card.card--media > .media:first-child { margin: -26px -26px 20px; }
.person > .media:first-child { margin: 0 0 18px !important; width: 108px; border-radius: 999px !important; aspect-ratio: 1/1 !important; }

/* الإطار المؤقت داخل البطاقات: اكتفِ بالشارة والوصف القصير */
.card--media > .media:first-child figcaption { padding: 18px; gap: 8px; }
.card--media > .media:first-child figcaption > span:last-child { display: none; }
.card--media > .media:first-child figcaption b { font-size: .88rem; }
.person > .media:first-child figcaption { display: none; }
.person > .media:first-child::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center no-repeat;
}
.person > .media.is-loaded::after { display: none; }
.media--band > figcaption { padding: 18px; }

/* --------------------------------------------------------------------------
   25. بطاقة بشريط لوني صلب (بديل الصورة في بطاقات الخدمات)
   -------------------------------------------------------------------------- */
.card--band { padding-top: 0; overflow: hidden; }
.card__band {
  position: relative;
  margin: 0 -28px 22px;
  height: 104px;
  background: var(--band, var(--primary));
  color: var(--band-ink, #fff);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* قوس خفيف، من جماليات العلامة، بلا صورة */
.card__band::after {
  content: "";
  position: absolute;
  inset-inline-start: -34px;
  bottom: -62px;
  width: 132px; height: 132px;
  border-radius: 999px;
  background: currentColor;
  opacity: .12;
}
.card__band span {
  position: relative;
  z-index: 1;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .1em;
  font-feature-settings: "tnum";
}
@media (max-width: 620px) { .card__band { height: 88px; } }

/* شريط لوني لبطاقات القطاعات في الصفحة الرئيسية */
.sector-card.card--band { padding-top: 0; }
.sector-card.card--band > .card__band:first-child { margin: 0 -26px 20px; }
.card__band--short { height: 76px; }
@media (max-width: 620px) { .card__band--short { height: 66px; } }

/* --------------------------------------------------------------------------
   26. إنفوغرافيك مسار المنهجية
   خمس مراحل متتابعة، كل واحدة تنتهي بمخرج معتمد.
   أفقي على الشاشات الكبيرة، ورأسي على الجوال حتى يبقى النص مقروءاً.
   -------------------------------------------------------------------------- */
.flow {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}

.flow__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.flow__step {
  position: relative;
  margin: 0;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* الخط الواصل بين المراحل */
.flow__step::before {
  content: "";
  position: absolute;
  top: 25px;
  inset-inline-start: 50%;
  inset-inline-end: -50%;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}
.flow__step:last-child::before { display: none; }

.flow__node {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--dot, var(--primary));
  color: var(--dot-ink, #fff);
  font-weight: 700;
  font-size: 1.12rem;
  font-feature-settings: "tnum";
  box-shadow: 0 0 0 7px var(--surface);
}

.flow__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.flow__title { font-size: 1.04rem; margin: 0; color: var(--ink); }
.flow__when  { font-size: .8rem; color: var(--muted-2); }
.flow__out {
  margin-top: 6px;
  font-size: .84rem;
  line-height: 1.65;
  color: var(--primary-700);
  background: var(--accent-100);
  border: 1px solid var(--accent-200);
  border-radius: 10px;
  padding: 8px 11px;
}

.flow__cap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--muted);
  max-width: 68ch;
  margin-inline: auto;
}
.flow__cap svg { color: var(--accent-600); flex-shrink: 0; margin-top: 5px; }

@media (max-width: 900px) {
  .flow__track { grid-template-columns: 1fr; }
  .flow__step {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 0 0 28px;
  }
  .flow__step::before {
    top: 58px;
    bottom: -4px;
    inset-inline-start: 25px;
    inset-inline-end: auto;
    width: 2px;
    height: auto;
  }
  .flow__step:last-child { padding-bottom: 0; }
  .flow__body { align-items: flex-start; text-align: start; }
  .flow__out { align-self: flex-start; }
  .flow__cap { justify-content: flex-start; text-align: start; }
}

/* نصوص بيضاء منتظمة في كل الصناديق الداكنة: تستلم منا، نتائج نموذجية، لماذا الأثر */
.deliverables .checklist li {
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.9;
}
.deliverables .checklist li strong { font-weight: 600; color: #fff; }

/* --------------------------------------------------------------------------
   27. زخارف صفحات الخدمات
   أربعة أشكال مبنية بـ CSS فقط، بلا أي ملف صورة.
   كل شكل مختلف عن الآخر في الحدود الخارجية وفي النقش الداخلي.
   -------------------------------------------------------------------------- */
.orn-wrap { display: grid; place-items: center; }

.orn {
  position: relative;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  isolation: isolate;
  background: var(--primary);
}
.orn::before,
.orn::after { content: ""; position: absolute; }
.orn::before { inset: 0; }
.orn > i { position: absolute; display: block; }

/* ---- 1. الاستراتيجية: هرم من ثلاث طبقات تحت قوس ----
   كل الأبعاد بالنسب المئوية، فالشكل يتمدد سليماً على أي عرض. */
.orn--arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: linear-gradient(168deg, #4B2E85 0%, #2B1750 78%);
}
/* أقواس خافتة تتبع انحناء الترويسة */
.orn--arch::before {
  background: repeating-radial-gradient(circle at 50% 4%,
    transparent 0 7.5%,
    rgba(232,226,221,.10) 7.5% 7.9%);
}
/* الهرم: ثلاث طبقات مفصولة بفراغ، الرأس بلون العلامة الفاتح */
.orn--arch::after {
  inset: 26% 16% 16%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom,
    var(--accent)     0    27%,
    transparent       27%  33%,
    #A9BC63           33%  61%,
    transparent       61%  67%,
    #7E62B8           67%  100%);
}
/* خط رفيع ينزل من رأس الهرم إلى قمة القوس: الاتجاه الواحد */
.orn--arch .orn__a {
  top: 10%; bottom: 76%;
  inset-inline: 0; width: 1.5px; margin-inline: auto;
  background: linear-gradient(to bottom, rgba(216,226,162,0), rgba(216,226,162,.9));
}
.orn--arch .orn__b {
  top: 8%; inset-inline: 0; margin-inline: auto;
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(216,226,162,.18);
}

/* ---- 2. العمليات: شبكة منتظمة وخلية واحدة مطبَّقة ---- */
.orn--grid {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: #341E5D;
}
.orn--grid::before {
  inset: 32px;
  border: 1px solid rgba(232,226,221,.22);
  border-radius: 12px;
  background:
    linear-gradient(rgba(232,226,221,.16) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(232,226,221,.16) 1px, transparent 1px) 0 0 / 44px 100%;
}
.orn--grid::after {
  top: 121px;
  inset-inline-start: 77px;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: rgba(216,226,162,.85);
}

/* ---- 3. التسويق والنمو: أعمدة متدرجة يعلوها منحنى صاعد ----
   الأعمدة ترتفع مع اتجاه القراءة (من اليمين إلى اليسار). */
.orn--rings {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle at 68% 78%, #56348F 0%, #3A2168 68%);
}
/* خطوط قياس أفقية خافتة */
.orn--rings::before {
  inset: 30% 20% 26%;
  background: linear-gradient(to bottom,
    rgba(232,226,221,.16) 0 1px, transparent 1px 25%) 0 0 / 100% 25%;
}
/* الأعمدة: أربعة، ترتفع صعوداً حتى العمود الأخير */
.orn--rings::after {
  inset: 26% 20% 26%;
  background:
    linear-gradient(rgba(232,226,221,.3), rgba(232,226,221,.3))   0%  100% / 15% 27%  no-repeat,
    linear-gradient(rgba(232,226,221,.55), rgba(232,226,221,.55)) 33% 100% / 15% 48%  no-repeat,
    linear-gradient(#A9BC63, #A9BC63)                             66% 100% / 15% 72%  no-repeat,
    linear-gradient(var(--accent), var(--accent))                100% 100% / 15% 100% no-repeat;
}
/* خط الاتجاه الصاعد: يمر برؤوس الأعمدة من أقصرها إلى أطولها.
   الحاوية مربعة، فالنسب تتمدد بالتساوي وتبقى الزاوية مطابقة على أي عرض. */
.orn--rings .orn__a {
  top: 60.5%; left: 24.5%;
  width: 63%; height: 2px;
  transform-origin: left center;
  transform: rotate(-36deg);
  background: linear-gradient(to right, rgba(216,226,162,.25), var(--accent));
}
.orn--rings .orn__b {
  top: calc(23.5% - 6px); left: calc(75.5% - 6px);
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(216,226,162,.2);
}

/* ---- 4. التحول الرقمي: طبقات متداخلة تلتقي عند نواة ---- */
.orn--nodes {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg) 30% var(--radius-lg) 30%;
  background: linear-gradient(200deg, #2E1A56 0%, #1E1039 100%);
}
/* شبكة نقطية خافتة في الخلفية */
.orn--nodes::before {
  background: radial-gradient(circle, rgba(232,226,221,.28) 1.6px, transparent 2px) 0 0 / 7% 8.75%;
}
/* النواة المضيئة في المركز */
.orn--nodes::after {
  inset: 42% 44%;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(216,226,162,.22), 0 0 34px 6px rgba(216,226,162,.3);
}
/* طبقتان متداخلتان حول النواة */
.orn--nodes .orn__a {
  inset: 16% 18%;
  border: 1.5px solid rgba(232,226,221,.30);
  border-radius: 22px;
}
/* الطبقة الوسطى، ومنها أربعة موصلات تصل إلى النواة */
.orn--nodes .orn__b {
  inset: 29% 31%;
  border: 1.5px solid rgba(216,226,162,.7);
  border-radius: 14px;
  background:
    linear-gradient(var(--accent), var(--accent))  50%   0% / 1.5px 30% no-repeat,
    linear-gradient(var(--accent), var(--accent))  50% 100% / 1.5px 30% no-repeat,
    linear-gradient(var(--accent), var(--accent))   0%  50% / 33% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 100%  50% / 33% 1.5px no-repeat;
}

/* على الجوال تُخفى الزخارف تماماً: المساحة ضيقة، والزخرفة تدفع المحتوى
   الفعلي إلى أسفل الشاشة بلا فائدة. */
@media (max-width: 880px) {
  .orn-wrap { display: none; }
}

.btn--sm { padding: 8px 18px; font-size: .9rem; }
.btn--ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--bg-alt); }

/* ---------- مؤشر خطوات الحجز (إنفوغرافيك) ---------- */
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: none; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; font-size: .93rem; color: var(--muted); }
/* الخط الواصل بين الدوائر: يبدأ من مركز الدائرة السابقة (يمين في RTL) إلى مركز الدائرة الحالية */
.steps li + li::before { content: ""; position: absolute; top: 22px; inset-inline-end: 50%; width: 100%; height: 3px;
  background: var(--line); border-radius: 3px; z-index: 0; transition: background var(--t, .3s); }
.steps b { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.05rem; font-weight: 700; background: var(--surface); color: var(--muted);
  border: 2px solid var(--line-strong); transition: all var(--t, .3s); }
.steps li.is-current { color: var(--primary); font-weight: 600; }
.steps li.is-current b { background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 0 0 6px rgba(52, 30, 93, .12); }
.steps li.is-done { color: var(--ink-soft); }
.steps li.is-done b { background: var(--accent); border-color: var(--accent-200); color: transparent; }
.steps li.is-done b::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--primary); font-size: 1.15rem; }
.steps li.is-done + li::before, .steps li.is-current + li::before { background: var(--line); }
.steps li.is-done + li.is-current::before, .steps li.is-done + li.is-done::before { background: var(--accent-200); }
@media (max-width: 480px) { .steps b { width: 40px; height: 40px; font-size: .95rem; } .steps li + li::before { top: 19px; } .steps li { font-size: .85rem; } }

/* ---------- زر نصي ثانوي ---------- */
.btn--link { background: none; border: 0; padding: 8px 4px; color: var(--primary); text-decoration: underline;
  text-underline-offset: 4px; font: inherit; font-size: .95rem; cursor: pointer; }
.btn--link:hover { color: var(--primary-500); }

/* ---------- تقويم الحجز ---------- */
.booking[hidden] { display: none; }
.booking__head { padding: 22px 24px; background: var(--accent-100); border: 1px solid var(--accent-200);
  border-radius: var(--radius) var(--radius) 0 0; }
.booking__head h3 { margin: 0 0 .35em; }
.booking__head p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.booking__head [data-booking-email] { font-weight: 600; }
.booking__frame { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden; background: #fff; }
.booking__frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.booking__mobile { display: none; padding: 28px 24px; text-align: center; background: #fff;
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.booking__mobile .btn { width: 100%; justify-content: center; }
.booking__mobile p { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
/* على الجوال: زر يفتح صفحة الحجز كاملة بدل الإطار، لأن متصفحات الجوال كثيراً ما تحجب تقويم Google داخل الإطار */
@media (max-width: 768px), (pointer: coarse) {
  .booking__frame { display: none; }
  .booking__mobile { display: block; }
  .booking__desk-only { display: none; }
}
.booking__fallback { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
 
/* دراسات الحالة: وسوم العناوين صُححت (h2/h3) مع الحفاظ على المقاس البصري السابق (h3/h4) */
.case__title { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); }
.case__sub { font-size: 1.08rem; }

/* مقاسات بصرية مستقلة عن وسم العنوان، لتصحيح ترتيب العناوين دون تغيير الشكل */
.h3-size { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); }
.h4-size { font-size: 1.08rem; }
.do-block h2.h4-size { margin-bottom: .4em; color: var(--primary); font-size: 1.04rem; }
.booking__head h2 { margin: 0 0 .35em; }
