/* ==========================================================================
   خامة KHAMAH — ملف التصميم الوحيد
   الترتيب: المتغيّرات ← الأساسيات ← الهيدر ← الأزرار ← البيرو ← الأقسام
            ← الكروت ← الفورمات ← المودال ← الفوتر ← الاستجابة
   الهوية: أبيض #FFFFFF · كريمي #F6F4EE · زيتوني #3F5A2E · ذهبي #F5C46B
   ممنوع: تدرجات لونية، زجاج/blur، ظلال غير ظل كارت البيرو، تركواز.
   ========================================================================== */

/* ---------- 1) المتغيّرات ---------- */
:root {
  /* الألوان */
  --white: #FFFFFF;
  --cream: #F6F4EE;
  --olive: #3F5A2E;
  --olive-deep: #26361B;
  --gold: #F5C46B;
  --gold-ink: #3A2400;
  --ink: #1F1D1A;
  --ink-2: #4A4741;
  --ink-3: #6B675F;
  --line: #E8E3D6;

  /* لون وظيفي للأخطاء في الفورمات — مش جزء من الهوية */
  --error: #8A2E1E;

  /* الخط */
  --font: "Cairo", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;

  /* الأشكال */
  --r-card: 20px;
  --r-lg: 20px;
  --r-field: 14px;
  --r-pill: 999px;

  /* المسافات */
  --gap: 16px;
  --sec-y: clamp(56px, 8vw, 96px);
  --wrap: 1140px;

  /* الظل الوحيد المسموح: كارت البيرو */
  --shadow-hero: 0 24px 48px -28px rgba(38, 54, 27, 0.45);
}

/* ---------- 2) الأساسيات ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(31px, 7.4vw, 52px); }
h2 { font-size: clamp(24px, 4.6vw, 36px); }
h3 { font-size: clamp(18.5px, 2.6vw, 21px); }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--olive-deep); }

strong, b { font-weight: 700; color: var(--ink); }

ul, ol { margin: 0 0 1em; padding-inline-start: 1.2em; }
li { margin-bottom: .35em; }
li:last-child { margin-bottom: 0; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

/* الأرقام لاتينية دايمًا */
.num, .num * { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1; }

:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--gold-ink); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 32px; }
}

.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%;
  transform: translate(50%, -150%);
  z-index: 200;
  background: var(--olive);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 14px 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(50%, 0); color: var(--white); }

/* ---------- 3) شريط النسخة التجريبية ---------- */
.beta {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  color: var(--olive);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.5;
}
.beta span { display: inline-flex; align-items: center; gap: 8px; }
.beta .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---------- 4) الهيدر ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 32px; width: auto; }
@media (min-width: 768px) { .logo img { height: 38px; } }

.nav { display: none; }

.head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}
.head-actions .btn,
.head-actions .icon-link { display: none; }
@media (min-width: 640px) {
  .head-actions .btn { display: inline-flex; }
}
@media (min-width: 700px) {
  .head-actions .icon-link { display: inline-flex; }
}
/* على الشاشات الوسطى بنخفي الأزرار الكبيرة ونعتمد على النافيجيشن */
@media (min-width: 1040px) {
  .head-actions .btn { display: none; }
}
@media (min-width: 1200px) {
  .head-actions .btn { display: inline-flex; }
}

/* أيقونات الهيدر (واتساب / ميل) */
.icon-link {
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--olive);
  background: var(--white);
  text-decoration: none;
}
.icon-link:hover { background: var(--cream); color: var(--olive-deep); }
.icon-link svg { width: 21px; height: 21px; }

/* زر القائمة (موبايل) */
.nav-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
}
.nav-btn span {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* لوحة القائمة المنسدلة */
.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 10px 0 20px;
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-panel.is-open { display: block; }
.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-panel a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 4px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-panel a:hover { color: var(--olive); }
.nav-panel li:last-child a { border-bottom: 0; }
.nav-panel a[aria-current="page"] { color: var(--olive); font-weight: 700; }
.nav-panel .panel-cta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.nav-panel .btn { width: 100%; }

@media (min-width: 1040px) {
  .head-in { min-height: 78px; gap: 26px; }
  .nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: 10px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding-inline: 10px;
    border-radius: 12px;
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }
  .nav a:hover { color: var(--olive); background: var(--cream); }
  .nav a[aria-current="page"] { color: var(--olive); font-weight: 700; }
  .nav-btn, .nav-panel { display: none !important; }
}

/* ---------- 5) الأزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn + .btn { margin-inline-start: 0; }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover, .btn-primary:active { background: var(--olive-deep); color: var(--white); }

.btn-outline {
  background: var(--white);
  color: var(--olive);
  border-color: var(--olive);
}
.btn-outline:hover { background: var(--cream); color: var(--olive-deep); }

.btn-cream {
  background: var(--cream);
  color: var(--olive);
  border-color: transparent;
}
.btn-cream:hover { background: var(--white); color: var(--olive-deep); }

.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold); color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 10px;
  min-height: 44px;
}
.btn-ghost:hover { color: var(--olive); }

.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- 6) البيرو ---------- */
.hero {
  padding-block: clamp(32px, 6vw, 56px) clamp(28px, 4vw, 44px);
  background: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
}

.hero h1 { margin-bottom: 18px; max-width: 20ch; }
.hero h1 .hl { color: var(--olive); }

.hero-lead {
  font-size: clamp(16px, 4.2vw, 18.5px);
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 54ch;
  margin-bottom: 26px;
}

/* كارت الاختيار — الظل الوحيد في الموقع */
.choose {
  margin-top: clamp(30px, 5vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}

.choose-grid { display: grid; }

.choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 4.4vw, 32px);
}
.choice + .choice { border-top: 1px solid var(--line); }

.choice-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.choice-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--olive);
  flex: none;
}

.choice h2, .choice h3 {
  margin: 0;
  font-size: clamp(20px, 3vw, 24px);
}
.choice p {
  margin: 0 0 6px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.75;
}
.choice .mini {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.choice .mini li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}
.choice .mini svg {
  width: 16px; height: 16px;
  flex: none;
  margin-top: 5px;
  color: var(--olive);
}
.choice .btn { margin-top: auto; width: 100%; }

@media (min-width: 860px) {
  .choose-grid { grid-template-columns: 1fr 1fr; }
  .choice + .choice {
    border-top: 0;
    border-inline-start: 1px solid var(--line);
  }
}

/* ---------- 7) الأقسام ---------- */
.sec { padding-block: var(--sec-y); }
.sec--cream { background: var(--cream); }
.sec--olive { background: var(--olive); color: var(--cream); }
.sec--olive h2, .sec--olive h3, .sec--olive strong, .sec--olive b { color: var(--cream); }
.sec--olive .eyebrow { color: var(--cream); }
.sec--olive a { color: var(--gold); }

.sec-head { max-width: 62ch; margin-bottom: clamp(26px, 4vw, 40px); }
.sec-head p { color: var(--ink-2); font-size: 16.5px; }
.sec--olive .sec-head p { color: var(--cream); }
.sec-head--center { margin-inline: auto; text-align: center; }

/* شرائح علوية/سفلية رفيعة */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* إحصاء صغير للنطاق */
.scope {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 600;
}
.scope .sep { color: var(--ink-3); opacity: .45; }

/* ---------- 8) الكروت ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3.4vw, 26px);
}
.card--cream { background: var(--cream); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }

.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--olive);
}
.card-ico svg { width: 22px; height: 22px; }

/* خطوات مرقّمة */
.steps { display: grid; gap: var(--gap); counter-reset: step; }
@media (min-width: 780px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 780px) { .steps-2 { grid-template-columns: repeat(2, 1fr); } }

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(20px, 3.4vw, 26px);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid var(--olive);
  color: var(--olive);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; line-height: 1.8; margin: 0; }

/* قوائم بعلامات صح */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
}
.ticks svg {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 5px;
  color: var(--olive);
}
.ticks--light li { color: var(--cream); }
.ticks--light svg { color: var(--gold); }

/* بنود/مواصفات */
.spec {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--white);
}
.spec-row {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt {
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 700;
}
.spec-row dd {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.75;
}
@media (min-width: 620px) {
  .spec-row { grid-template-columns: 190px 1fr; gap: 18px; align-items: baseline; }
}

/* ---------- 9) بانر عرض المؤسسين ---------- */
.banner {
  background: var(--olive);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(24px, 5vw, 40px);
  display: grid;
  gap: 18px;
}
.banner h2 { color: var(--cream); font-size: clamp(21px, 3.6vw, 27px); margin-bottom: 0; }
.banner p { color: var(--cream); margin: 0; font-size: 16px; max-width: 60ch; }
.banner .btn { justify-self: start; }
@media (min-width: 800px) {
  .banner { grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
  .banner .banner-copy { grid-column: 1; grid-row: 1 / span 2; }
  .banner .btn { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- 10) صور الخامات ---------- */
.shots {
  display: grid;
  gap: 14px;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.shots > figure { scroll-snap-align: start; margin: 0; }
@media (min-width: 760px) {
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: var(--gap);
  }
}
.shot {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--cream);
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--cream);
}
.shots figcaption {
  padding: 12px 16px 14px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* ---------- 11) الأسئلة الشائعة ---------- */
.qa {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin-bottom: 12px;
  overflow: hidden;
}
.qa summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-inline-start: auto;
  flex: none;
  border-inline-end: 2px solid var(--olive);
  border-block-end: 2px solid var(--olive);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(-135deg); }
.qa[open] summary { border-bottom: 1px solid var(--line); }
.qa .qa-body { padding: 16px 20px 20px; }
.qa .qa-body p { color: var(--ink-2); font-size: 15.5px; }
.qa summary:hover { background: var(--cream); }

/* ---------- 12) الفورمات ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(22px, 4vw, 32px);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
}
.field .hint {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color .16s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(63, 90, 46, 0.35);
  outline-offset: 1px;
  border-color: var(--olive);
}

.field .error {
  margin: 6px 0 0;
  color: var(--error);
  font-size: 13.5px;
  font-weight: 600;
  min-height: 0;
}
.field.has-error input,
.field.has-error textarea { border-color: var(--error); }

.form-status {
  margin: 14px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--olive);
  line-height: 1.7;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.75;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--olive);
}

/* ---------- 13) المودال (فورمات Tally) ---------- */
.modal {
  width: min(720px, 94vw);
  max-height: 92dvh;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.modal::backdrop { background: rgba(31, 29, 26, .55); }
.modal-in { display: flex; flex-direction: column; max-height: 92dvh; }
.modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.modal-head h2 { margin: 0; font-size: 17px; }
.modal-close {
  margin-inline-start: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--cream); }
.modal-body {
  flex: 1;
  min-height: 380px;
  overflow: auto;
  background: var(--white);
}
.modal-body iframe {
  display: block;
  width: 100%;
  height: min(70dvh, 720px);
  border: 0;
}
.modal-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  background: var(--white);
}
.modal-foot a { font-weight: 700; }

/* ---------- 14) الفوتر ---------- */
.site-foot {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding-block: clamp(36px, 6vw, 56px) 24px;
  color: var(--ink-2);
}
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}
.foot-brand .logo img { height: 40px; }
.foot-brand p {
  margin: 14px 0 0;
  max-width: 34ch;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.8;
}
.foot-col h2 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.foot-col a:hover { color: var(--olive); text-decoration: underline; }
.foot-col a[aria-current="page"] { color: var(--olive); }

.foot-bottom {
  margin-top: clamp(28px, 5vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 13.5px;
}
.foot-bottom p { margin: 0; }
.foot-bottom .social { display: flex; gap: 8px; }

/* ---------- 15) أدوات مساعدة ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; line-height: 1.75; }
.divider { height: 1px; background: var(--line); border: 0; margin: 32px 0; }
.stack { display: grid; gap: var(--gap); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  color: var(--olive);
}
.link-arrow svg { width: 17px; height: 17px; }
.link-arrow:hover { text-decoration: underline; }

/* محتوى نصي طويل (الشروط) */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 40px; font-size: clamp(20px, 3vw, 25px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 26px; }
.prose ul { padding-inline-start: 1.15em; }
.prose li { color: var(--ink-2); }
.prose .num-list { font-variant-numeric: lining-nums tabular-nums; }
.prose .note {
  margin: 22px 0;
  padding: 16px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  font-size: 14.5px;
  color: var(--ink-2);
}

/* حركة الظهور */
.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 16) مكوّنات إضافية ---------- */

/* أرقام سريعة (facts) */
.facts {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 620px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
}
.fact {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 14px 16px;
}
.fact b {
  display: block;
  margin-bottom: 2px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
}
.fact span { display: block; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }

/* مسار مرقّم (flow) */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.flow li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
}
.flow .n {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--olive);
  border-radius: 50%;
  color: var(--olive);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  background: var(--white);
}
.flow b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.flow p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
@media (min-width: 760px) {
  .flow-2 { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}

/* شريط دعوة على الزيتوني */
.cta {
  display: grid;
  gap: 14px;
  max-width: 70ch;
}
.cta h2 { margin-bottom: 0; }
.cta p { margin: 0; color: var(--cream); font-size: 16.5px; }
.cta .btn-row { margin-top: 8px; }
.sec--olive .btn-cream { background: var(--cream); color: var(--olive); }
.sec--olive .btn-cream:hover { background: var(--white); color: var(--olive-deep); }


/* كروت التواصل */
.contact-list { display: grid; gap: 12px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .16s ease;
}
.contact-card:hover { border-color: var(--olive); color: var(--ink); }
.contact-card .ci {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--olive);
}
.contact-card .ci svg { width: 21px; height: 21px; }
.contact-card small {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.contact-card b { font-size: 16px; font-weight: 700; color: var(--ink); }

/* تفاصيل: تنسيق جوه الشبكة */
.grid .qa, .grid-2 .qa, .grid-3 .qa { margin-bottom: 0; }
.faq-list { max-width: 860px; }

/* نص التواصل في قائمة الموبايل */
.nav-panel .panel-contact {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  line-height: 1.9;
}
.nav-panel .panel-contact a { font-weight: 700; }

/* تفاصيل صغيرة */
.modal { margin: auto; }
html.is-locked, html.is-locked body { overflow: hidden; }
.field input[dir="ltr"],
.field textarea[dir="ltr"] { text-align: left; }
.prose .form-card h2,
.form-card h2 { font-size: clamp(20px, 3vw, 24px); }
.form-card > p:first-of-type { margin-top: 6px; }
.form-card .btn-block { margin-top: 4px; }
.card .ticks { margin-top: 12px; }
.shot figcaption { text-align: start; }

/* ---------- 17) الطباعة ---------- */
@media print {
  .beta, .site-head, .site-foot, .btn, .modal, .nav-btn { display: none !important; }
  body { background: var(--white); color: #000; font-size: 12pt; }
  .sec { padding-block: 12pt; }
  a { color: #000; }
}
