/* ==========================================================================
   الأولى لتحصيل الديون | ملف التصميم الوحيد للموقع
   RTL · حاوية 1200px · نقاط التحول مطابقة لـ Elementor: 1024 (تابلت) و 767 (موبايل)

   الأقسام 1–19 منقولة من aloula-html/assets/css/style.css كما هي، فالأصناف
   نفسها تعمل على الاختصارات وعلى حاويات Elementor.
   القسم 21 في الآخر هو «الجسر»: يكيّف ترميز Elementor (الحاويات والعناصر)
   مع أصناف التصميم. كل قواعده تبدأ بـ .aloula (صنف على <body>) حتى تتغلب
   على قيم Elementor الافتراضية، وتبقى تعديلات العميل لكل عنصر أعلى منها.
   ========================================================================== */

/* 1) Tokens: نفس القيم مكتوبة في Site Settings بـ Elementor (زر «تهيئة Elementor»)
   ------------------------------------------------------------------------ */
:root {
  /* Global Colors */
  --c-primary: #8A1230;      /* Primary */
  --c-secondary: #28282C;    /* Secondary: العناوين والأزرار الثانوية */
  --c-text: #4A4A50;         /* Text */
  --c-accent: #560A1C;       /* Accent: الهيرو وشريط الدعوة للإجراء */

  /* Custom Colors */
  --c-hover: #6E0D25;
  --c-tint: #F7EDEF;
  --c-tint-line: #EAD3D9;
  --c-muted: #66666D;
  --c-muted-strong: #5A5A61;
  --c-surface: #F5F4F4;
  --c-line: #E5E2E3;
  --c-line-soft: #EEEBEC;
  --c-field: #D9D5D7;
  --c-dark: #2B2B2F;
  --c-footer: #242427;
  --c-footer-bar: #1C1C1F;
  --c-on-dark: #C4C4CA;
  --c-on-dark-muted: #A3A3AA;
  --c-icon-on-dark: #E3AEBB;
  --c-on-accent: #F0D5DC;
  --c-error: #B3261E;

  /* Global Fonts */
  --f-head: 'Noto Kufi Arabic', Tahoma, sans-serif;   /* Primary: العناوين */
  --f-body: 'IBM Plex Sans Arabic', Tahoma, sans-serif; /* Text: النصوص والواجهة */

  /* Layout */
  --container: 1200px;
  --pad-x: 24px;
  --section-y: 104px;
  --header-h: 88px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
}

/* 2) Base
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: #fff;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 700; color: var(--c-secondary); text-wrap: balance; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-hover); }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid rgba(138, 18, 48, .45); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; top: -100px; inset-inline-start: 16px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm); background: var(--c-primary); color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }
.ltr { direction: ltr; unicode-bidi: isolate; text-align: right; white-space: nowrap; }
.container { width: min(var(--container), 100% - var(--pad-x) * 2); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

/* 3) Typography
   ------------------------------------------------------------------------ */
.h1 { font-size: 50px; line-height: 1.45; }
.h2 { font-size: 38px; line-height: 1.45; }
.lead { font-size: 18px; line-height: 1.85; }
.lead--lg { font-size: 19px; line-height: 1.9; }

/* 4) Buttons
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { height: 48px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-hover); color: #fff; }
.btn--outline { border-color: var(--c-secondary); color: var(--c-secondary); background: transparent; }
.btn--outline:hover { background: var(--c-secondary); color: #fff; }
.btn--dark { background: var(--c-secondary); color: #fff; }
.btn--dark:hover { background: #3C3C41; color: #fff; }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-tint); color: var(--c-primary); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--c-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }

/* 5) Top bar & header
   ------------------------------------------------------------------------ */
.topbar { background: var(--c-dark); color: #D6D6DA; font-size: 13px; line-height: 1.5; }
.topbar .container { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__group { display: flex; align-items: center; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #D6D6DA; }
.topbar a:hover { color: #fff; }
.sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .22); }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #ECE8E9; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 500; }
.nav a { padding: 10px 0; border-bottom: 2px solid transparent; color: var(--c-secondary); }
.nav a:hover { color: var(--c-primary); }
.nav a[aria-current="page"] { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-field); border-radius: var(--r-sm); background: #fff; color: var(--c-secondary);
}
.icon-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-nav {
  position: absolute; inset-inline: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: 0 18px 32px rgba(0, 0, 0, .12);
}
.mobile-nav .container { display: flex; flex-direction: column; padding-block: 8px 24px; }
.mobile-nav a:not(.btn) { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--c-line-soft); color: var(--c-secondary); font-size: 16px; font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: var(--c-primary); font-weight: 600; }
.mobile-nav .btn { margin-top: 16px; }

/* 6) Sections & layout helpers
   ------------------------------------------------------------------------ */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--c-surface); }
.section--tint { background: var(--c-tint); }
.section--dark { background: var(--c-dark); }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 52px; }
.section-head--split { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head--split > div { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.section-head--split .btn { flex-shrink: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.split--center { align-items: center; }
.icon-box { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r-md); background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; }
.icon-box--sm { width: 44px; height: 44px; }
.icon-box--surface { background: var(--c-surface); }
.round-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--c-primary); display: grid; place-items: center; }
.round-icon .icon { width: 28px; height: 28px; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #F2F1F1; color: var(--c-muted-strong); font-size: 12.5px; line-height: 1.4; }

/* 7) Hero
   ------------------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: minmax(var(--pad-x), 1fr) minmax(0, 608px) 72px minmax(0, 520px) minmax(0, 1fr);
  min-height: 760px;
}
.hero__content { grid-column: 2; align-self: center; padding-block: 96px; }
.hero__lead { margin-top: 24px; max-width: 590px; }
.hero__actions { margin-top: 40px; }
.hero__debtor { margin-top: 32px; font-size: 15px; line-height: 1.7; color: var(--c-muted-strong); }
.hero__debtor a { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.hero__visual { grid-column: 4 / -1; position: relative; overflow: hidden; background: var(--c-accent); display: grid; place-items: center; padding: 72px 40px; }
.hero__stage { position: relative; width: 100%; display: grid; place-items: center; }
.hero__arc { position: absolute; left: 50%; top: 50%; width: 640px; height: 760px; transform: translate(-50%, -50%); pointer-events: none; }

/* Report card (مثال توضيحي لتقرير دوري) */
.report {
  position: relative; width: min(452px, 100%); padding: 28px;
  background: #fff; border-radius: var(--r-lg); box-shadow: 0 32px 64px rgba(20, 2, 8, .38);
  display: flex; flex-direction: column; gap: 20px; line-height: 1.6;
}
.report__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report__title { font-size: 17px; font-weight: 600; line-height: 1.5; }
.report__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.report__grid > div { background: #fff; }
.report__grid dt { padding: 5px 12px; background: var(--c-tint); color: var(--c-primary); font-size: 12.5px; }
.report__grid dd { padding: 8px 12px; color: var(--c-secondary); font-size: 15.5px; font-weight: 600; }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--c-muted-strong); }
.progress__meta strong { color: var(--c-primary); }
.progress__track { height: 8px; border-radius: 999px; background: #F1E4E7; overflow: hidden; }
.progress__bar { width: 40%; height: 100%; border-radius: 999px; background: var(--c-primary); }
.timeline { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--c-line-soft); }
.timeline li { position: relative; display: flex; gap: 12px; padding-bottom: 10px; font-size: 14.5px; line-height: 22px; color: var(--c-secondary); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 10px; top: 22px; bottom: 0; width: 2px; background: var(--c-primary); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: relative; z-index: 1; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; }
.timeline .dot .icon { width: 12px; height: 12px; stroke-width: 3; }
.timeline .is-done .dot { background: var(--c-primary); color: #fff; }
.timeline .is-current { color: var(--c-primary); font-weight: 600; }
.timeline .is-current::before { background: var(--c-line); }
.timeline .is-current .dot { border: 2px solid var(--c-primary); background: #fff; }
.timeline .is-current .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); }
.timeline .is-next { color: #76767D; }
.timeline .is-next .dot { border: 2px solid #D5D1D3; background: #fff; }
.report__foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--c-line-soft); font-size: 12.5px; color: var(--c-muted); }

/* 8) Registry strip (بيانات السجل التجاري)
   ------------------------------------------------------------------------ */
.registry { border-bottom: 1px solid var(--c-line); }
.registry__inner { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 36px; }
.registry__intro h2 { font-size: 19px; font-weight: 600; line-height: 1.5; }
.registry__intro p { margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--c-muted); }
.records { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 150px; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; line-height: 1.6; }
.record { display: flex; flex-direction: column; background: #fff; }
.record dt { padding: 6px 14px; background: var(--c-primary); color: #fff; font-size: 13px; }
.record dd { padding: 12px 14px; color: var(--c-secondary); font-size: 15.5px; font-weight: 600; }
.record dd.is-num { font-size: 17px; font-weight: 700; }
.record--link { justify-content: center; gap: 4px; padding: 14px; color: var(--c-primary); }
.record--link strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.record--link small { font-size: 13px; color: var(--c-muted); }

/* 9) Services (home list)
   ------------------------------------------------------------------------ */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.service-row { display: flex; align-items: flex-start; gap: 20px; padding: 28px 30px; background: #fff; color: inherit; }
.service-row:hover { background: #FCFAFA; color: inherit; }
.service-row__text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.service-row h3 { font-size: 19px; font-weight: 600; line-height: 1.5; }
.service-row p { font-size: 15.5px; line-height: 1.8; color: var(--c-muted-strong); }
.service-row__chev { align-self: center; width: 20px; height: 20px; color: var(--c-primary); stroke-width: 2; transition: transform .15s; }
.service-row:hover .service-row__chev { transform: translateX(-4px); }

/* 10) Process
   ------------------------------------------------------------------------ */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.steps::before { content: ""; position: absolute; top: 23px; height: 2px; background: var(--c-tint-line); inset-inline-start: 24px; inset-inline-end: calc((100% - 120px) / 6 - 24px); }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step__num { width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-size: 18px; font-weight: 600; }
.step h3 { font-size: 17px; font-weight: 600; line-height: 1.55; }
.step p { font-size: 14.5px; line-height: 1.75; color: var(--c-muted-strong); }
.branch-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.branch { grid-column: 4 / span 3; position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border: 1.5px dashed var(--c-primary); border-radius: var(--r-md); background: #fff; }
.branch::before { content: ""; position: absolute; top: -38px; inset-inline-start: 23px; height: 36px; border-inline-start: 1.5px dashed var(--c-primary); }
.branch > .icon { width: 26px; height: 26px; color: var(--c-primary); }
.branch h3 { font-size: 16px; font-weight: 600; line-height: 1.55; }
.branch p { margin-top: 4px; font-size: 14.5px; line-height: 1.75; color: var(--c-muted-strong); }

/* 11) Sectors
   ------------------------------------------------------------------------ */
.sectors { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.sectors__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sectors__intro h2 { color: #fff; }
.sectors__intro p { font-size: 18px; color: var(--c-on-dark); }
.sectors__intro .btn { margin-top: 10px; }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sector-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; }
.sector-grid .icon { color: var(--c-icon-on-dark); }

/* 12) Commitments
   ------------------------------------------------------------------------ */
.commit-intro { display: flex; flex-direction: column; gap: 18px; }
.pledge { margin-top: 18px; padding-top: 26px; border-top: 2px solid var(--c-primary); font-family: var(--f-head); font-size: 24px; font-weight: 600; line-height: 1.6; color: var(--c-primary); }
.charter { border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.charter__head { padding: 16px 28px; background: var(--c-primary); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.6; }
.charter ul { padding-inline: 28px; }
.charter li { display: flex; align-items: flex-start; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--c-line-soft); font-size: 16.5px; line-height: 1.75; color: var(--c-secondary); }
.charter li:last-child { border-bottom: 0; }
.check-dot { flex-shrink: 0; margin-top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; }
.check-dot .icon { width: 14px; height: 14px; stroke-width: 2.6; }

/* 13) Debtors band
   ------------------------------------------------------------------------ */
.section--debtors { padding-block: 88px; }
.debtors { display: flex; align-items: center; gap: 64px; }
.debtors__main { flex: 1; display: flex; align-items: flex-start; gap: 24px; }
.debtors__text { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.debtors__text h2 { font-size: 30px; line-height: 1.5; }
.debtors__actions { flex-shrink: 0; width: 300px; display: flex; flex-direction: column; gap: 12px; }
.note { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.7; color: var(--c-muted-strong); }
.note > .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--c-primary); }

/* 14) Forms
   ------------------------------------------------------------------------ */
.info-list { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; align-items: flex-start; gap: 16px; }
.info-list__label { display: block; font-size: 13px; line-height: 1.6; color: var(--c-muted); }
.info-list__value { display: block; font-size: 16px; font-weight: 600; line-height: 1.7; color: var(--c-secondary); }
.info-list__value a { color: inherit; }
.form-card { padding: 40px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; display: flex; flex-direction: column; gap: 20px; line-height: 1.6; }
.form-card__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-card__head h2 { font-size: 22px; font-weight: 600; line-height: 1.5; }
.form-card__head p { font-size: 14px; color: var(--c-muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label, legend { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--c-secondary); }
legend { margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--c-muted); }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid var(--c-field); border-radius: var(--r-sm); background: #fff;
  color: var(--c-secondary); font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #76767D; }
.input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(138, 18, 48, .12); }
.input[dir="ltr"] { text-align: right; }
.input[aria-invalid="true"] { border-color: var(--c-error); }
textarea.input { height: 120px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
select.input {
  padding-inline: 14px 40px; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328282C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 16px;
}
.field__error { display: flex; align-items: center; gap: 6px; font-size: 13.5px; line-height: 1.6; color: var(--c-error); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.7; color: var(--c-text); cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--c-primary); }
.form-note { font-size: 14px; line-height: 1.7; color: var(--c-muted-strong); }
.form-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--c-muted-strong); }
.form-success { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--c-tint); color: var(--c-secondary); font-size: 15px; line-height: 1.7; }
.form-success .icon { width: 22px; height: 22px; color: var(--c-primary); margin-top: 2px; }
.form-success:focus { outline: none; }
.segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: var(--r-md); background: var(--c-surface); }
.segmented button { height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--c-muted-strong); font-size: 15px; font-weight: 600; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--c-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px;
  border: 1.5px dashed #CDBFC3; border-radius: var(--r-md); background: #FBF8F9; text-align: center;
  transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--c-primary); background: var(--c-tint); }
.dropzone:focus-within { outline: 3px solid rgba(138, 18, 48, .45); outline-offset: 3px; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; }
.dropzone__title { font-size: 16px; font-weight: 600; color: var(--c-secondary); }
.dropzone__hint { font-size: 13.5px; color: var(--c-muted); }
.dropzone__btn { margin-top: 4px; height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border: 1.5px solid var(--c-secondary); border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; color: var(--c-secondary); }
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-list:empty { display: none; }
.file-chip { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 14px 4px; border: 1px solid var(--c-line); border-radius: var(--r-sm); font-size: 14.5px; color: var(--c-secondary); }
.file-chip__name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.file-chip__name .icon { color: var(--c-primary); }
.file-chip__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip__size { flex-shrink: 0; font-size: 13px; color: var(--c-muted); }
.file-chip button { width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: none; color: var(--c-muted-strong); cursor: pointer; display: grid; place-items: center; }
.file-chip button:hover { background: var(--c-surface); }

/* 15) Inner pages
   ------------------------------------------------------------------------ */
.page-hero { padding-block: 72px 80px; background: var(--c-surface); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; line-height: 1.7; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb [aria-current="page"] { color: var(--c-secondary); }
.page-hero h1 { margin-top: 16px; max-width: 760px; font-size: 44px; line-height: 1.45; }
.page-hero .lead--lg { margin-top: 20px; max-width: 700px; }
.page-hero .lead--lg + .lead--lg { margin-top: 14px; }
.side-card { padding: 32px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-size: 20px; font-weight: 600; line-height: 1.55; }
.side-card p { font-size: 16px; line-height: 1.8; }
.side-card .btn { margin-top: 12px; }
.side-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--c-secondary); font-size: 15px; font-weight: 500; }
.side-card__phone .icon { color: var(--c-primary); }

.record-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; line-height: 1.6; }
.record-card__head { padding: 16px 20px; background: var(--c-primary); color: #fff; font-size: 17px; font-weight: 600; }
.record-card__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-bottom: 1px solid var(--c-line-soft); }
.record-card__row dt { padding: 12px 20px; background: var(--c-tint); color: var(--c-primary); font-size: 14px; }
.record-card__row dd { padding: 12px 20px; color: var(--c-secondary); font-size: 15.5px; font-weight: 600; }
.record-card__row dd small { display: block; font-size: 13.5px; font-weight: 400; color: var(--c-muted); }
.record-card__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; font-size: 14.5px; font-weight: 600; }

.statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.statement { border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.statement h2 { padding: 14px 28px; background: var(--c-primary); color: #fff; font-size: 18px; font-weight: 600; line-height: 1.6; }
.statement p { padding: 28px; font-size: 20px; font-weight: 500; line-height: 1.9; color: var(--c-secondary); }
.goals-block { margin-top: 72px; }
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 32px; }
.goals li { padding-top: 18px; border-top: 2px solid var(--c-primary); font-size: 17px; font-weight: 500; line-height: 1.75; color: var(--c-secondary); }

.cell-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.cell { padding: 32px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.cell .icon-box { width: 48px; height: 48px; margin-bottom: 8px; }
.cell h3 { font-size: 18px; font-weight: 600; line-height: 1.5; }
.cell p { font-size: 15.5px; line-height: 1.8; color: var(--c-muted-strong); }

.org { display: flex; flex-direction: column; align-items: center; }
.org__root { width: 260px; height: 64px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-primary); color: #fff; font-family: var(--f-head); font-size: 17px; font-weight: 600; }
.org__stem { width: 2px; height: 32px; background: #D9C3C9; }
.org__children { position: relative; width: 100%; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.org__children::before { content: ""; position: absolute; top: 0; height: 2px; background: #D9C3C9; inset-inline: calc((100% - 96px) / 14); }
.org__node { display: flex; flex-direction: column; align-items: center; }
.org__node::before { content: ""; width: 2px; height: 24px; background: #D9C3C9; }
.org__card { width: 100%; min-height: 114px; padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 1px solid var(--c-line); border-radius: var(--r-md); text-align: center; font-family: var(--f-head); font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--c-secondary); }
.org__card .icon { width: 22px; height: 22px; color: var(--c-primary); }

.groups { border-bottom: 1px solid var(--c-line); }
.group { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; padding-block: 40px; border-top: 1px solid var(--c-line); }
.group__head { display: flex; flex-direction: column; gap: 10px; }
.group__head h2 { font-size: 24px; line-height: 1.5; }
.group__head p { font-size: 15.5px; line-height: 1.8; color: var(--c-muted-strong); }
.group__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.svc { display: flex; flex-direction: column; gap: 8px; }
.svc .icon-box { margin-bottom: 6px; }
.svc h3 { font-size: 19px; font-weight: 600; line-height: 1.5; }
.svc p { font-size: 16px; line-height: 1.8; color: var(--c-muted-strong); }

.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.model { background: #fff; }
.model h3 { padding: 14px 24px; background: var(--c-primary); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.6; }
.model p { padding: 24px; font-size: 16px; line-height: 1.8; }

.faq-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.faq-intro .text-link { margin-top: 6px; font-size: 16px; }
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; cursor: pointer; list-style: none; font-family: var(--f-head); font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--c-secondary); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; transition: background-color .15s, color .15s; }
.faq__icon .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.faq__icon .i-minus { display: none; }
.faq details[open] .faq__icon { background: var(--c-primary); color: #fff; }
.faq details[open] .i-minus { display: block; }
.faq details[open] .i-plus { display: none; }
.faq details p { max-width: 640px; margin-top: -6px; padding-bottom: 22px; font-size: 16px; line-height: 1.85; }

.cta-band { padding-block: 72px; background: var(--c-accent); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-band__text { max-width: 680px; }
.cta-band h2 { font-size: 30px; line-height: 1.5; color: #fff; }
.cta-band p { margin-top: 12px; font-size: 18px; color: var(--c-on-accent); }
.cta-band .btn-row { flex-shrink: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 24px; }
.channels { padding-inline: 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); line-height: 1.6; }
.channel { display: flex; align-items: flex-start; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--c-line-soft); }
.channel:last-child { border-bottom: 0; }
.channel__label { display: block; font-size: 13px; color: var(--c-muted); }
.channel__value { display: block; font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--c-secondary); }
.channel__value--text { font-size: 16px; line-height: 1.8; }
.map { height: 260px; border-radius: var(--r-lg); background: #EFEDEE; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--c-muted-strong); font-size: 15px; }
.map .icon { width: 32px; height: 32px; color: var(--c-primary); }

/* 16) Footer, floating WhatsApp, mobile action bar
   ------------------------------------------------------------------------ */
.site-footer { background: var(--c-footer); color: var(--c-on-dark); border-top: 4px solid var(--c-primary); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 72px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 22px; }
.footer-brand img { height: 50px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 15px; line-height: 1.9; }
.mini-record { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-sm); overflow: hidden; font-size: 13.5px; line-height: 1.6; }
.mini-record div { display: flex; }
.mini-record div + div { border-top: 1px solid rgba(255, 255, 255, .14); }
.mini-record dt { width: 118px; flex-shrink: 0; padding: 9px 12px; background: var(--c-primary); color: #fff; }
.mini-record dd { padding: 9px 12px; color: #fff; }
.mini-record dd.is-num { font-weight: 600; }
.footer-col h2 { margin-bottom: 20px; font-size: 16px; font-weight: 600; line-height: 1.6; color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.8; }
.footer-links a { color: var(--c-on-dark); }
.footer-links a:hover { color: #fff; }
.contact-list { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.8; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list .icon { width: 18px; height: 18px; margin-top: 5px; color: var(--c-icon-on-dark); }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--c-icon-on-dark); }
.contact-list__phones { display: flex; flex-direction: column; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #fff; }
.social a:hover { background: #fff; color: var(--c-primary); }
.social .icon { width: 18px; height: 18px; }
.footer-bar { background: var(--c-footer-bar); color: var(--c-on-dark-muted); font-size: 13.5px; }
.footer-bar .container { min-height: 64px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 12px; }
.footer-bar nav { display: flex; gap: 24px; }
.footer-bar a { color: var(--c-on-dark-muted); }
.footer-bar a:hover { color: #fff; }

.fab-wa {
  position: fixed; left: 24px; bottom: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--c-primary); border: 1px solid var(--c-line); box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}
.fab-wa .icon { width: 26px; height: 26px; }
.action-bar { display: none; }
.action-bar a { height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--c-field); border-radius: var(--r-sm); color: var(--c-secondary); font-size: 14.5px; font-weight: 600; }
.action-bar a.is-primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* 17) Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 1200px) {
  .nav { gap: 24px; }
  .brand img { height: 44px; }
  .header-wa { display: none; }
  .h1 { font-size: 44px; }
}

@media (max-width: 1024px) {
  :root { --section-y: 72px; --header-h: 72px; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .topbar__hide-md { display: none; }
  .nav, .header-cta { display: none; }
  .header-wa { display: inline-flex; width: 44px; height: 44px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: var(--c-primary); color: #fff; cursor: pointer; }
  .brand img { height: 40px; }
  .section-head { margin-bottom: 40px; }
  .split, .sectors, .page-hero__grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { grid-column: 1; width: min(760px, 100% - var(--pad-x) * 2); margin-inline: auto; padding-block: 56px 48px; }
  .hero__visual { grid-column: 1; padding: 56px var(--pad-x); }

  .registry__inner { grid-template-columns: 1fr; gap: 18px; }
  .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record--link { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }

  .service-list { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding-bottom: 24px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { grid-row: 1 / span 2; width: 40px; height: 40px; font-size: 16px; }
  .step h3, .step p { grid-column: 2; }
  .step h3 { padding-top: 6px; font-size: 16px; }
  .step::after { content: ""; position: absolute; inset-inline-start: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--c-tint-line); }
  .step:last-child::after { display: none; }
  .branch-row { display: block; margin-top: 24px; }
  .branch::before { display: none; }

  .debtors { flex-direction: column; align-items: stretch; gap: 28px; }
  .debtors__actions { width: auto; flex-direction: row; }
  .debtors__actions .btn { flex: 1 1 auto; }

  .statements { grid-template-columns: 1fr; }
  .goals, .cell-grid, .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .org__children { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
  .org__children::before, .org__node::before, .org__stem { display: none; }
  .group { grid-template-columns: 1fr; gap: 24px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; gap: 28px; }
  .contact-grid .form-card { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .page-hero h1 { font-size: 38px; }
}

@media (max-width: 767px) {
  :root { --section-y: 48px; --header-h: 64px; --pad-x: 20px; }
  body { font-size: 16px; }
  .h1 { font-size: 30px; line-height: 1.5; }
  .h2 { font-size: 26px; line-height: 1.5; }
  .lead, .lead--lg { font-size: 16px; line-height: 1.85; }
  .topbar { display: none; }
  .brand img { height: 36px; }
  .section-head { margin-bottom: 28px; gap: 12px; }
  .section-head--split { flex-direction: column; align-items: stretch; gap: 16px; }

  .hero__content { padding-block: 32px 40px; }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 28px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__debtor { margin-top: 22px; font-size: 14.5px; }
  .hero__visual { padding: 32px 16px; }
  .report { padding: 20px; gap: 16px; }
  .report__grid dd { font-size: 15px; }

  .registry__inner { padding-block: 32px; }
  .records { grid-template-columns: 1fr; }
  .record { flex-direction: row; }
  .record dt { width: 128px; flex-shrink: 0; padding: 10px 12px; }
  .record dd { padding: 10px 12px; font-size: 15px; }

  .service-row { align-items: center; gap: 14px; padding: 14px 16px; }
  .service-row .icon-box { width: 44px; height: 44px; }
  .service-row h3 { font-size: 16px; }
  .service-row p { display: none; }
  .service-row__chev { width: 18px; height: 18px; }

  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sector-grid li { gap: 10px; padding: 14px; font-size: 15px; }
  .sector-grid .icon { width: 22px; height: 22px; }
  .sectors__intro .btn { align-self: stretch; }

  .pledge { font-size: 20px; padding-top: 20px; }
  .charter__head { padding: 14px 18px; font-size: 16px; }
  .charter ul { padding-inline: 18px; }
  .charter li { gap: 12px; padding-block: 14px; font-size: 15.5px; }

  .section--debtors { padding-block: 40px; }
  .debtors__main { flex-direction: column; gap: 16px; }
  .round-icon { width: 56px; height: 56px; }
  .debtors__text h2 { font-size: 22px; }
  .note { font-size: 14.5px; }
  .debtors__actions { flex-direction: column; }

  .info-list { display: none; }
  .form-card { padding: 20px; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  textarea.input { height: 110px; }

  .page-hero { padding-block: 40px 48px; }
  .page-hero h1 { font-size: 28px; line-height: 1.5; }
  .side-card { padding: 24px; }
  .statement h2 { padding: 12px 20px; }
  .statement p { padding: 20px; font-size: 17px; }
  .goals-block { margin-top: 48px; }
  .goals, .cell-grid, .models { grid-template-columns: 1fr; }
  .goals { gap: 20px; margin-top: 24px; }
  .cell { padding: 24px; }
  .org__children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group__items { grid-template-columns: 1fr; gap: 24px; }
  .faq summary { font-size: 16px; padding-block: 18px; }
  .cta-band { padding-block: 48px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .btn-row { flex-direction: column; align-self: stretch; }
  .channels { padding-inline: 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 28px; }
  .footer-col--links { display: none; }
  .footer-brand img { height: 38px; }
  .footer-brand p { font-size: 14.5px; }
  .footer-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .footer-bar .container { flex-direction: column; align-items: flex-start; padding-block: 16px; }

  .fab-wa { display: none; }
  .action-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
  }
}

@media (min-width: 1025px) {
  .mobile-nav { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* 18) Modifiers
   ------------------------------------------------------------------------ */
.section--start { padding-top: 64px; }
.section--compact { padding-block: 64px; }
.debtors--compact .debtors__text h2 { font-size: 24px; }
.submit-intro .lead { margin-top: 16px; }
.field .check { font-size: 14.5px; font-weight: 400; line-height: 1.7; color: var(--c-text); }
.contact-list__phones { align-items: flex-start; }

@media (max-width: 767px) {
  .section--start { padding-top: 32px; }
  .section--compact { padding-block: 40px; }
  .debtors--compact .debtors__text h2 { font-size: 20px; }
}

/* 19) الصور والرسوم المضافة
   ------------------------------------------------------------------------ */
.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--c-surface); }
.photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo--wide img { aspect-ratio: 16 / 9; }
.photo__label { position: absolute; inset-inline-start: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(40, 40, 44, .85); color: #fff; font-size: 13px; line-height: 1.5; }
.photo__label .icon { width: 15px; height: 15px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.photo-grid .photo--span { grid-column: 1 / -1; }
.intro-block .lead { margin-top: 16px; }
.facts { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.75; color: var(--c-secondary); }
.facts .check-dot { margin-top: 2px; }
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 160px; background: url("../img/skyline.svg") repeat-x bottom center; opacity: .09; pointer-events: none; }

@media (max-width: 767px) {
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .photo__label { inset-inline-start: 10px; bottom: 10px; padding: 6px 12px; font-size: 12px; }
  .facts li { font-size: 15.5px; }
}

/* 21) الجسر: ترميز Elementor ← أصناف التصميم
   ------------------------------------------------------------------------
   القاعدة: أصناف التصميم توضع على الحاويات (Container) وعلى غلاف العنصر
   (Advanced › CSS Classes)، والجسر ينقل أثرها إلى العنصر الداخلي.
   ------------------------------------------------------------------------ */

/* 21.1 قالب Hello: المحتوى بعرض الصفحة كاملاً */
.aloula .site-main,
.aloula .page-content { max-width: none; margin: 0; padding: 0; }
.aloula .page-content > .elementor { width: 100%; }

/* 21.2 الحاويات: لا حشو ولا فراغات افتراضية — المسافات تأتي من أصناف التصميم */
.aloula .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
}
.aloula .elementor-widget:not(:last-child) { margin-block-end: 0; }
.aloula .e-con > .elementor-widget { max-width: 100%; }

/* 21.3 العنوان: العنصر الداخلي يرث المقاس من الغلاف الذي يحمل .h1/.h2.
   :where() يصفّر الأولوية حتى تتغلب قواعد التصميم مثل «.cell h3» */
:where(.elementor-widget-heading) .elementor-heading-title { font-size: inherit; line-height: inherit; }
.aloula .elementor-widget-heading .elementor-heading-title a { color: inherit; }

/* 21.4 محرر النصوص: الفقرات بلا هوامش، والمسافة بين فقرتين داخل نفس العنصر */
.aloula .elementor-widget-text-editor p { margin: 0; }
.aloula .elementor-widget-text-editor p + p { margin-top: 14px; }

/* 21.5 الأزرار: صنف a-btn على غلاف عنصر Button يمنح الرابط الداخلي شكل .btn */
.aloula .a-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; min-height: 0; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  background: transparent; color: var(--c-secondary);
  font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
  fill: currentColor;
}
.aloula .a-btn .elementor-button-content-wrapper { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.aloula .a-btn .elementor-button-icon { display: inline-flex; font-size: 18px; }
.aloula .a-btn .elementor-button-icon svg { width: 18px; height: 18px; }
.aloula .a-btn--sm .elementor-button { height: 48px; padding: 0 22px; font-size: 15px; }
.aloula .a-btn--block .elementor-button { width: 100%; }
.aloula .a-btn--primary .elementor-button { background: var(--c-primary); color: #fff; }
.aloula .a-btn--primary .elementor-button:hover { background: var(--c-hover); color: #fff; }
.aloula .a-btn--outline .elementor-button { border-color: var(--c-secondary); color: var(--c-secondary); }
.aloula .a-btn--outline .elementor-button:hover { background: var(--c-secondary); color: #fff; }
.aloula .a-btn--dark .elementor-button { background: var(--c-secondary); color: #fff; }
.aloula .a-btn--dark .elementor-button:hover { background: #3C3C41; color: #fff; }
.aloula .a-btn--light .elementor-button { background: #fff; color: var(--c-primary); }
.aloula .a-btn--light .elementor-button:hover { background: var(--c-tint); color: var(--c-primary); }
.aloula .a-btn--ghost-light .elementor-button { border-color: rgba(255, 255, 255, .7); color: #fff; }
.aloula .a-btn--ghost-light .elementor-button:hover { background: #fff; color: var(--c-primary); }

/* 21.7 الأيقونات من تبويب «أيقونات الأولى» داخل عناصر Elementor */
.aloula .elementor-icon .ai,
.aloula .elementor-icon-list-icon .ai,
.aloula .elementor-button-icon .ai { width: 1em; height: 1em; }

/* 21.8 الصور */
.aloula .elementor-widget-image img { display: block; }

/* 21.9 عنصر الاختصار: بلا غلاف إضافي يكسر الشبكات */
.aloula .elementor-shortcode { display: contents; }

/* 21.10 اتجاه الحاويات: Elementor يجعل كل حاوية عمودية افتراضياً، والتصميم
   يفترض الصف لكل display:flex. صنف a-row يغيّر متغير Elementor فقط، فتبقى
   قواعد التصميم في الموبايل (flex-direction: column) هي الغالبة. */
.aloula .e-con.a-row { --flex-direction: row; --flex-wrap: wrap; --container-widget-width: initial; --container-widget-flex-grow: 0; }
.aloula .e-con.a-row > .e-con { --width: auto; }
.aloula .e-con.a-grow { --flex-grow: 1; --flex-shrink: 1; }

/* 21.11 الهيدر: القالب كله sticky بإزاحة سالبة بارتفاع الشريط العلوي، فيخرج
   الشريط من الشاشة مع التمرير ويبقى شريط الشعار والقائمة ثابتاً، كما في التصميم. */
.aloula { --topbar-h: 40px; }
.aloula .elementor-location-header { position: sticky; top: calc(var(--topbar-h) * -1); z-index: 50; }
.admin-bar.aloula .elementor-location-header { top: calc(var(--wp-admin--admin-bar--height, 32px) - var(--topbar-h)); }
.aloula .site-header { position: relative; top: auto; }
/* لوحة الموبايل (position:absolute) تتموضع على .site-header لا على الحاويات الداخلية */
.aloula .site-header__inner,
.aloula .site-header .elementor-element { position: static; --position: static; }
.aloula .e-con.site-header__inner { --flex-wrap: nowrap; }
.aloula .nav a { white-space: nowrap; }

/* زر أيقونة (Icon) بشكل .icon-btn */
.aloula .a-icon-btn .elementor-icon-wrapper { display: flex; line-height: 1; }
.aloula .a-icon-btn .elementor-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-field); border-radius: var(--r-sm); background: #fff;
  color: var(--c-secondary); font-size: 24px;
}
.aloula .a-icon-btn .elementor-icon:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* 21.12 الفوتر */
.aloula .footer-brand .elementor-widget-image { align-self: flex-start; }
.aloula--no-action-bar .footer-bar { padding-bottom: 0; }

@media (max-width: 1024px) {
  .aloula .a-icon-btn .elementor-icon { width: 44px; height: 44px; }
}
@media (max-width: 767px) {
  .aloula { --topbar-h: 0px; }
  .aloula--no-action-bar .footer-bar { padding-bottom: env(safe-area-inset-bottom); }
}

/* 21.13 الصفحات: أيقونات Elementor بأحجام التصميم وألوانه
   غلاف العنصر يحمل صنف التصميم (.icon-box / .round-icon…)، والأيقونة داخله */
.aloula :is(.icon-box, .round-icon, .branch__icon, .org__icon) .elementor-icon-wrapper { display: flex; line-height: 1; }
.aloula :is(.icon-box, .round-icon, .branch__icon, .org__icon) .elementor-icon { display: flex; color: inherit; font-size: 24px; padding: 0; background: none; border: 0; }
.aloula .round-icon .elementor-icon { font-size: 28px; }
.aloula .branch__icon { color: var(--c-primary); flex-shrink: 0; }
.aloula .branch__icon .elementor-icon { font-size: 26px; }
.aloula .org__icon { color: var(--c-primary); }
.aloula .org__icon .elementor-icon { font-size: 22px; }
.aloula .branch__body { display: flex; flex-direction: column; }

/* 21.14 عناوين يحمل غلافها لونها (التصميم كان يلوّن الوسم نفسه) */
:where(.charter__head) .elementor-heading-title { color: inherit; font-weight: inherit; }

/* 21.15 قوائم الأيقونات: :where() يجعل قواعد الجسر أضعف من قواعد التصميم
   مثل «.charter li» و«.facts li» فتبقى قياسات التصميم هي الغالبة */
:where(.a-checklist) .elementor-icon-list-items { display: flex; flex-direction: column; }
:where(.a-checklist) .elementor-icon-list-item { display: flex; align-items: flex-start; gap: 12px; }
:where(.a-checklist) .elementor-icon-list-icon {
  flex-shrink: 0; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center;
}
:where(.a-checklist) .elementor-icon-list-icon .ai { width: 14px; height: 14px; }
:where(.a-checklist) .elementor-icon-list-text { padding: 0; color: inherit; }
.aloula .facts .elementor-icon-list-items { gap: 12px; }
.aloula .facts .elementor-icon-list-icon { margin-top: 2px; }

/* أهدافنا: نفس عنصر القائمة بلا أيقونات، كشبكة */
.aloula .goals .elementor-icon-list-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.aloula .goals .elementor-icon-list-text { padding: 0; color: inherit; }

/* 21.16 فقرات بأيقونة قبلها (.note و .form-privacy): الأيقونة من متغير ‎--ai‎
   الذي يعرّفه صنف ai-shield / ai-lock على الغلاف */
.aloula .note::before,
.aloula .form-privacy::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px;
  background: var(--c-primary);
  -webkit-mask: var(--ai) center / contain no-repeat; mask: var(--ai) center / contain no-repeat;
}
.aloula .form-privacy::before { width: 16px; height: 16px; margin-top: 0; background: currentColor; }

/* 21.17 روابط وأزرار داخل الأقسام */
.aloula .faq-link .elementor-heading-title a { font-weight: 600; font-size: 16px; color: var(--c-primary); text-decoration: underline; text-underline-offset: 5px; }
.aloula .faq-link { margin-top: 6px; }
.aloula .sectors__intro .a-btn { margin-top: 10px; }
.aloula .section-head--split > .elementor-widget-button { flex-shrink: 0; }

/* 21.18 الصور: غلاف عنصر Image يحمل .photo، والوصف المؤقت بشكل .photo__label */
.aloula .photo { display: block; }
.aloula .photo figure { margin: 0; height: 100%; }
.aloula .photo .widget-image-caption {
  position: absolute; inset-inline-start: 14px; bottom: 14px; margin: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(40, 40, 44, .85); color: #fff; font-size: 13px; line-height: 1.5; font-style: normal;
}
.aloula .photo .widget-image-caption::before {
  content: ""; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: var(--ai) center / contain no-repeat; mask: var(--ai) center / contain no-repeat;
}

/* 21.19 الهيرو: عنصر HTML الذي يحمل البطاقة والزخارف يمتد على كامل اللوحة،
   والزخارف (position:absolute) تتموضع على .hero__visual لا على غلاف العنصر */
.aloula .hero__visual > .hero__art { position: static; width: 100%; display: grid; place-items: center; }

/* 21.20 الخريطة المضمّنة */
.aloula .map--embed { display: block; padding: 0; overflow: hidden; }
.aloula .map--embed iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 1024px) {
  .aloula .step > .step__title,
  .aloula .step > .step__text { grid-column: 2; }
  .aloula .goals .elementor-icon-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aloula .debtors__actions > .elementor-widget-button { flex: 1 1 auto; }
}
@media (max-width: 767px) {
  .aloula .goals .elementor-icon-list-items { grid-template-columns: 1fr; gap: 20px; }
  .aloula .photo .widget-image-caption { inset-inline-start: 10px; bottom: 10px; padding: 6px 12px; font-size: 12px; }
}

/* 21.21 نماذج Elementor Pro بشكل التصميم (صنف a-form على غلاف النموذج) */
.aloula .a-form .elementor-field-label { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--c-secondary); }
.aloula .a-form .elementor-field-group .elementor-field-textual {
  width: 100%; height: 52px; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--c-field); border-radius: var(--r-sm); background: #fff;
  color: var(--c-secondary); font-family: var(--f-body); font-size: 16px; line-height: 1.4; box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
.aloula .a-form .elementor-field-group textarea.elementor-field-textual { height: 120px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.aloula .a-form .elementor-field-textual::placeholder { color: #76767D; opacity: 1; }
.aloula .a-form .elementor-field-group .elementor-field-textual:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(138, 18, 48, .12); }
.aloula .a-form .elementor-field-group.elementor-error .elementor-field-textual { border-color: var(--c-error); }
.aloula .a-form .elementor-field-textual[dir="ltr"] { text-align: right; }

/* القوائم المنسدلة: سهم التصميم بدل سهم Elementor */
.aloula .a-form .select-caret-down-wrapper { display: none; }
.aloula .a-form .elementor-select-wrapper { border: 0; padding: 0; background: none; }
.aloula .a-form .elementor-select-wrapper select.elementor-field-textual {
  padding-inline: 14px 40px; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328282C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 16px;
}

/* مقدّم الطلب: أزرار راديو بشكل .segmented */
.aloula .a-form .a-segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 4px; border-radius: var(--r-md); background: var(--c-surface); }
.aloula .a-form .a-segmented .elementor-field-option { position: relative; display: block; margin: 0; padding: 0; }
.aloula .a-form .a-segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.aloula .a-form .a-segmented label {
  display: flex; align-items: center; justify-content: center; height: 44px; margin: 0; border-radius: var(--r-sm);
  color: var(--c-muted-strong); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.aloula .a-form .a-segmented input:checked + label { background: #fff; color: var(--c-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.aloula .a-form .a-segmented input:focus-visible + label { outline: 3px solid rgba(138, 18, 48, .45); outline-offset: 2px; }

/* الموافقة */
.aloula .a-form .elementor-field-type-acceptance .elementor-field-option { display: flex; align-items: flex-start; gap: 12px; }
.aloula .a-form .elementor-acceptance-field { flex-shrink: 0; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--c-primary); }
.aloula .a-form .elementor-field-type-acceptance label { margin: 0; font-size: 14.5px; font-weight: 400; line-height: 1.7; color: var(--c-text); cursor: pointer; }

/* زر الإرسال = .btn--primary .btn--block */
.aloula .a-form .e-form__buttons .elementor-button {
  width: 100%; height: 54px; min-height: 0; padding: 0 28px; border: 0; border-radius: var(--r-sm);
  background: var(--c-primary); color: #fff; font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1;
}
.aloula .a-form .e-form__buttons .elementor-button:hover { background: var(--c-hover); color: #fff; }
.aloula .a-form .e-form__buttons .elementor-button:disabled { opacity: .7; cursor: progress; }

/* منطقة رفع المستندات: السكربت يلف حقل الملف بـ .dropzone (أصناف التصميم) */
.aloula .a-form .dropzone input.elementor-field { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.aloula .a-form .file-list { margin-top: 8px; }

/* رسائل الأخطاء تحت الحقل = .field__error */
.aloula .a-form .elementor-message.elementor-help-inline {
  display: flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 0;
  font-size: 13.5px; line-height: 1.6; color: var(--c-error); background: none;
}
.aloula .a-form .elementor-message.elementor-help-inline::before { display: none; }

/* رسالة النجاح/الخطأ العامة بعد الإرسال = .form-success */
.aloula .a-form .elementor-message:not(.elementor-help-inline) {
  display: flex; align-items: flex-start; gap: 12px; margin: 16px 0 0; padding: 16px 18px;
  border-radius: var(--r-md); font-size: 15px; line-height: 1.7;
}
.aloula .a-form .elementor-message-success:not(.elementor-help-inline) { background: var(--c-tint); color: var(--c-secondary); }
.aloula .a-form .elementor-message-danger:not(.elementor-help-inline) { background: #FCEEEE; color: var(--c-error); }
.aloula .a-form .elementor-message:not(.elementor-help-inline)::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; font-family: inherit;
  background: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.aloula .a-form .elementor-message-danger:not(.elementor-help-inline)::before { background: var(--c-error); }

/* رأس النموذج الكامل وسطر الخصوصية */
.aloula .form-card__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.aloula .form-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--c-muted-strong); }

/* 21.22 الخطوط المرسومة بـ ::before على الحاويات
   Elementor يستعمل .e-con::before لطبقة الخلفية ويعطيها width/height ثابتين.
   في RTL الصندوق المطلق المقيّد من الجهتين يتجاهل left فيمتد الخط خارج مكانه.
   نحرر فقط الخطوط التي يرسمها التصميم، فتبقى طبقة الخلفية تعمل لو استعملها العميل. */
.aloula :is(.steps, .org__children, .branch)::before { width: auto; }
.aloula .cta-band::before { width: auto; height: auto; }

/* 21.23 عناصر القوائم: Elementor يضع ‎padding:0; font-size:inherit‎ على كل عنصر
   قائمة بأولوية (0,2,0) تتغلب على «.charter li» في التصميم، فنعيد قيم التصميم هنا. */
.aloula .charter .elementor-icon-list-item {
  gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--c-line-soft);
  font-size: 16.5px; line-height: 1.75; color: var(--c-secondary);
}
.aloula .charter .elementor-icon-list-item:last-child { border-bottom: 0; }
.aloula .facts .elementor-icon-list-item { font-size: 16px; line-height: 1.75; color: var(--c-secondary); }
.aloula .goals .elementor-icon-list-item {
  display: block; padding-top: 18px; border-top: 2px solid var(--c-primary);
  font-size: 17px; font-weight: 500; line-height: 1.75; color: var(--c-secondary);
}
@media (max-width: 767px) {
  .aloula .charter .elementor-icon-list-item { gap: 12px; padding-block: 14px; font-size: 15.5px; }
  .aloula .facts .elementor-icon-list-item { font-size: 15.5px; }
}

/* 21.24 Elementor يصفّر حشو القائمة بـ «.elementor .elementor-element ul.elementor-icon-list-items»
   (أولوية 0,3,1)، فنرفع أولوية «.charter ul» من التصميم فوقها. */
.aloula .charter .charter__list ul.elementor-icon-list-items { padding-inline: 28px; }

/* علامة الصح في القوائم أسمك من باقي الأيقونات (stroke 2.6 في التصميم بدل 1.7) */
:where(.a-checklist) .elementor-icon-list-icon .ai-check {
  --ai: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (max-width: 767px) {
  .aloula .charter .charter__list ul.elementor-icon-list-items { padding-inline: 18px; }
}

/* 21.25 «.goals» في التصميم شبكة على القائمة نفسها؛ هنا الصنف على غلاف العنصر
   الذي ابنه الوحيد <ul>، فنعيد الغلاف كتلة عادية والشبكة على <ul> (21.15) */
.aloula .goals.elementor-widget-icon-list { display: block; }
/* وصلة كل بطاقة في الهيكل الإداري عنصر عادي داخل الـ flex في التصميم،
   وقاعدة Elementor تجعل كل ::before على حاوية position:absolute */
.aloula .org__node::before { position: static; }

/* 21.26 هوامش التصميم على أغلفة العناصر: قاعدة Elementor ‎.elementor-widget:not(:last-child)‎
   (أولوية 0,2,0) تصفّر الهامش السفلي، فتلتصق «تعرّف علينا أكثر» بقائمة الحقائق. */
.aloula .elementor-widget.facts { margin: 24px 0 28px; }

/* 21.27 الاتجاه في التابلت والموبايل
   Elementor يكتب ‎.e-con-full.e-flex { flex-direction: var(--flex-direction) }‎ بأولوية (0,2,0)،
   فيتغلب على كل قاعدة في التصميم تقلب الاتجاه عند نقطة تحول (أولوية 0,1,0)،
   وتبقى الصفوف أفقية في الموبايل. نعيد قلبها هنا عبر متغير Elementor نفسه. */
@media (max-width: 1024px) {
  .aloula .e-con.debtors { --flex-direction: column; }
  .aloula .e-con.debtors__actions { --flex-direction: row; }
  .aloula .cta-band .e-con.container { --flex-direction: column; }
}
@media (max-width: 767px) {
  .aloula .e-con.section-head--split,
  .aloula .e-con.debtors__main,
  .aloula .e-con.debtors__actions,
  .aloula .e-con.hero__actions,
  .aloula .cta-band .e-con.btn-row,
  .aloula .footer-bar .e-con.container { --flex-direction: column; }

  /* أزرار تمتد بعرض الشاشة في الموبايل كما في التصميم (‎.hero__actions .btn { width:100% }‎…) */
  .aloula :is(.hero__actions, .section-head--split, .sectors__intro, .cta-band .btn-row) .a-btn .elementor-button { width: 100%; }
}

/* 22) واتساب بلونه وشكله الأصليين (طلب العميل)
   ------------------------------------------------------------------------ */
:root { --c-wa: #25D366; --c-wa-dark: #1DA851; --c-wa-tint: #E8F8EE; }

/* الزر العائم: دائرة خضراء بشعار أبيض، أكبر من قبل (56 ← 64) */
.fab-wa { width: 64px; height: 64px; border: 0; background: var(--c-wa); color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, .4); }
.fab-wa .icon { width: 34px; height: 34px; }
.fab-wa:hover, .fab-wa:focus-visible { background: var(--c-wa-dark); color: #fff; }

/* زر الهيدر: مربع أخضر بزوايا مستديرة وشعار أبيض، مثل أيقونة التطبيق */
.aloula .a-icon-btn--wa .elementor-icon { border-color: var(--c-wa); background: var(--c-wa); color: #fff; font-size: 26px; }
.aloula .a-icon-btn--wa .elementor-icon:hover { border-color: var(--c-wa-dark); background: var(--c-wa-dark); color: #fff; }

/* الشعار داخل الأزرار النصية والقوائم بالأخضر */
.aloula .a-btn--wa .elementor-button-icon { color: var(--c-wa); font-size: 20px; }
.action-bar a.is-wa .icon { color: var(--c-wa); }
.icon-box--wa { background: var(--c-wa-tint); color: var(--c-wa); }

@media (max-width: 1024px) {
  .aloula .a-icon-btn--wa .elementor-icon { font-size: 24px; }
}

/* 23) فيديو الهيرو وقسم التقارير
   ------------------------------------------------------------------------ */
/* الفيديو يملأ لوحة الهيرو كاملة فوق الخلفية المتحركة؛ بلا فيديو تبقى الخلفية وحدها */
.aloula .hero__visual--video { padding: 0; }
.aloula .hero__video,
.aloula .hero__video .elementor-wrapper { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; aspect-ratio: auto; }
.aloula .hero__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.aloula .hero__label { position: absolute; inset-inline-start: 24px; bottom: 24px; z-index: 2; }
.slot-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(40, 40, 44, .85); color: #fff; font-size: 13px; line-height: 1.5;
}
.slot-label .icon { width: 15px; height: 15px; }

/* لوحة بطاقة التقرير: نفس لون الهيرو وزخارفه */
.aloula .report-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; min-height: 600px; padding: 64px 40px;
  border-radius: var(--r-lg); background: var(--c-accent);
}
.aloula .report-panel > .report-art { position: static; width: 100%; display: grid; place-items: center; }
.aloula .report-panel .hero__stage { z-index: 1; }
.aloula .report-intro .a-btn { margin-top: 4px; }

@media (max-width: 1024px) {
  .aloula .hero__visual--video { min-height: 440px; }
  .aloula .report-panel { min-height: 0; padding: 56px 24px; }
}
@media (max-width: 767px) {
  .aloula .hero__visual--video { min-height: 0; aspect-ratio: 4 / 3; }
  .aloula .hero__label { inset-inline-start: 12px; bottom: 12px; }
  .aloula .report-panel { padding: 32px 16px; }
}
.aloula .report-intro .lead { margin-top: 16px; }

/* 24) الصفحات القانونية (سياسة الخصوصية، الشروط والأحكام)
   ------------------------------------------------------------------------ */
.aloula .legal { max-width: 820px; }
.aloula .legal__title { margin-top: 44px; font-size: 22px; line-height: 1.5; }
.aloula .legal > .legal__title:first-child { margin-top: 0; }
.aloula .legal__text { margin-top: 12px; font-size: 16.5px; line-height: 1.95; color: var(--c-text); }
.aloula .legal__text :is(p, ul) + :is(p, ul) { margin-top: 12px; }
.aloula .legal__text ul { display: flex; flex-direction: column; gap: 8px; padding-inline-start: 22px; list-style: disc; }
.aloula .legal__text li::marker { color: var(--c-primary); }
.aloula .legal__text a { font-weight: 600; }
.aloula .legal__updated { margin-top: 14px; font-size: 14px; color: var(--c-muted); }
@media (max-width: 767px) {
  .aloula .legal__title { margin-top: 32px; font-size: 19px; }
  .aloula .legal__text { font-size: 15.5px; }
}

/* 25) اللغات: الإنجليزية والهندية (LTR) — المرحلة ٦
   ------------------------------------------------------------------------
   التصميم مكتوب بخصائص منطقية (inset-inline، padding-inline) فينعكس وحده؛
   هنا فقط ما كُتب بجهة ثابتة لأن التصميم عربي، والخطوط لكل لغة. */
body.aloula--en {
  --f-head: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
}
body.aloula--hi {
  --f-head: 'Noto Sans Devanagari', 'IBM Plex Sans', 'Nirmala UI', sans-serif;
  --f-body: 'Noto Sans Devanagari', 'IBM Plex Sans', 'Nirmala UI', sans-serif;
}
/* خطوط Site Settings في Elementor (Noto Kufi وIBM Plex Arabic) تتبع خط اللغة.
   Kit يكتب خط النص على body مباشرة بصنف (.elementor-kit-N — أولوية 0,1,0)،
   فما يرثه منه (قائمة الموبايل، شريط الأزرار) يبقى عربي الخط بدون هذه القاعدة. */
body.aloula { font-family: var(--f-body); }
body.aloula--ltr {
  --e-global-typography-primary-font-family: var(--f-head);
  --e-global-typography-secondary-font-family: var(--f-head);
  --e-global-typography-text-font-family: var(--f-body);
  --e-global-typography-accent-font-family: var(--f-body);
}
/* الديفاناغاري أطول من اللاتيني: مسافة أسطر أوسع قليلاً للعناوين */
body.aloula--hi :is(h1, h2, h3) { line-height: 1.5; }

/* الأرقام والبريد: محاذاة لبداية السطر في LTR بدل اليمين */
[dir="ltr"] .ltr,
[dir="ltr"] .input[dir="ltr"],
[dir="ltr"] .aloula .a-form .elementor-field-textual[dir="ltr"] { text-align: left; }

/* سهم القوائم المنسدلة على اليمين */
[dir="ltr"] select.input,
[dir="ltr"] .aloula .a-form .elementor-select-wrapper select.elementor-field-textual { background-position: right 14px center; }

/* زر واتساب العائم: في الجهة المقابلة لبداية القراءة (يسار في العربية، يمين هنا) */
[dir="ltr"] .fab-wa { left: auto; right: 24px; }

/* السهم داخل صفوف الخدمات يشير للأمام (يمين) */
[dir="ltr"] .service-row__chev use { transform: scaleX(-1); transform-origin: 50% 50%; }
:where([dir="ltr"]) .service-row:hover .service-row__chev { transform: translateX(4px); }

/* مبدّل اللغات: قائمة منسدلة (<details>) — زر باللغة الحالية، وتحته اللغات الثلاث.
   في الشريط العلوي: قائمة عائمة بيضاء. في قائمة الموبايل: صف يتمدد في مكانه. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lang-dd { position: relative; }
.lang-dd__btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; user-select: none; }
.lang-dd__btn::-webkit-details-marker { display: none; }
.lang-dd__btn::marker { content: ""; }
.lang-dd__btn .icon { width: 15px; height: 15px; flex-shrink: 0; }
.lang-dd__chev { transition: transform .15s; }
.lang-dd[open] .lang-dd__chev { transform: rotate(180deg); }
.lang-dd__menu { margin: 0; padding: 6px; list-style: none; }
.lang-dd__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--c-secondary); font-size: 15px; font-weight: 500; line-height: 1.4; }
.lang-dd__item.is-current { color: var(--c-primary); font-weight: 600; }
.lang-dd__item .icon { width: 16px; height: 16px; }
a.lang-dd__item:hover, a.lang-dd__item:focus-visible { background: var(--c-tint); color: var(--c-primary); }

/* الشريط العلوي (خلفية داكنة): الزر أبيض، والقائمة تحته تطفو فوق الهيدر.
   صف الهيدر الأبيض (.site-header) طبقة z-index:50 بعد الشريط، فيغطي القائمة بدون رفع الشريط فوقه. */
.aloula .topbar { position: relative; z-index: 60; }
.topbar .lang-dd__btn { padding-block: 6px; color: #fff; font-weight: 500; }
.topbar .lang-dd__btn:hover { color: #fff; opacity: .85; }
.topbar .lang-dd__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; min-width: 168px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}
.topbar .lang-dd__menu a.lang-dd__item { color: var(--c-secondary); }
.topbar .lang-dd__menu a.lang-dd__item:hover, .topbar .lang-dd__menu a.lang-dd__item:focus-visible { color: var(--c-primary); }

/* قائمة الموبايل: الزر صف مثل روابط القائمة، والقائمة تتمدد تحته */
.mobile-nav .lang-dd__btn { display: flex; width: 100%; min-height: 52px; border-bottom: 1px solid var(--c-line-soft); color: var(--c-secondary); font-size: 16px; font-weight: 500; }
.mobile-nav .lang-dd__chev { margin-inline-start: auto; }
.mobile-nav .lang-dd__menu { padding: 6px 0 10px; border-bottom: 1px solid var(--c-line-soft); }
.mobile-nav a.lang-dd__item:not(.btn) { min-height: 44px; border-bottom: 0; padding-inline-start: 23px; font-size: 15.5px; }
.mobile-nav .lang-dd__item.is-current { padding-inline-start: 23px; }

/* 26) صفحة 404 (المرحلة ٨): نفس رأس الصفحات الداخلية، وسطر أقصر للقراءة ومسافة قبل الأزرار */
.aloula .nf .lead { max-width: 640px; margin-top: 14px; }
.aloula .nf .btn-row { margin-top: 28px; }
@media (max-width: 767px) {
  .aloula .nf .e-con.btn-row { --flex-direction: column; }
  .aloula .nf .a-btn .elementor-button { width: 100%; }
}
