/* =============================================================
   بالحب — Beallhope · تنسيقات الموقع
   على نمط الموقع المرجعي: شريط علوي عنابي، قائمة بيضاء بأيقونات
   ذهبية، سلايدر بزوايا دائرية، بطاقات خدمات عنابية، عناوين
   أقسام في المنتصف، بطاقات بيضاء بأزرار ذهبية، تذييل عنابي
   وشريط حقوق ذهبي.

   لتغيير هوية الألوان عدّل المتغيّرات في :root فقط.
   ============================================================= */

:root {
  --brand:       #5e0b35;   /* العنابي — لون المنظمة الأساسي */
  --brand-dark:  #45072a;
  --brand-2:     #7a1747;
  --brand-soft:  #f8eef3;
  --gold:        #bda97e;   /* الذهبي — لون الأزرار والأيقونات */
  --gold-dark:   #a28e62;
  --gold-soft:   #f6f1e7;
  --ink:         #262626;
  --text:        #5f5f5f;
  --muted:       #9a9a9a;
  --line:        #ececec;
  --bg-soft:     #f8f9fb;
  --bg-grey:     #e9ecf0;
  --white:       #ffffff;
  --wa:          #25d366;
  --ok:          #1f9d63;
  --ok-bg:       #e7f6ee;
  --warn:        #b7791f;
  --warn-bg:     #fdf3e1;
  --danger:      #c53030;
  --danger-bg:   #fdecec;

  --radius:      12px;
  --shadow:      0 0 0 1px rgba(0,0,0,.035), 0 6px 22px rgba(20,20,40,.06);
  --shadow-lg:   0 18px 40px rgba(20,20,40,.14);
  --font:        'Almarai', 'Segoe UI', Tahoma, sans-serif;
  --container:   1140px;
}

/* ---------- أساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { font-family: var(--font); font-size: 15px; line-height: 1.75; color: var(--ink); background: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 15px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--brand); color: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 26px; border-radius: 4px; border: 0; font-size: 15px; font-weight: 700;
  transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-2); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--gold-soft); }
.btn-outline-gold { background: transparent; color: var(--gold-dark); border: 2px solid var(--gold); border-radius: var(--radius); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-outline-brand { background: transparent; color: var(--brand); border: 2px solid var(--brand); border-radius: var(--radius); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.more-row { text-align: center; margin-top: 30px; }

/* =============================================================
   الشريط العلوي
   ============================================================= */
.topbar { background: var(--brand); color: #fff; font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; flex-wrap: wrap; }
.topbar-contact { display: flex; align-items: center; gap: 24px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-contact a:hover, .topbar-social a:hover { color: var(--gold); }
.topbar-social { display: flex; align-items: center; gap: 18px; font-size: 15px; }
@media (max-width: 600px) {
  .topbar .container { justify-content: center; min-height: 44px; padding-block: 6px; }
  .topbar-contact { gap: 16px; font-size: 13px; }
  .topbar-social { display: none; }
}

/* =============================================================
   القائمة الرئيسية
   ============================================================= */
.navbar { background: #fff; position: sticky; top: 0; z-index: 50; transition: box-shadow .25s; }
.navbar.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.navbar .container { display: flex; align-items: center; gap: 22px; min-height: 104px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 66px; height: 66px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.lm-heart { fill: var(--brand); }
.lm-sun { stroke: var(--gold); }
.lm-sun-fill { fill: var(--gold); }
.logo-text small { display: block; color: var(--gold); font-size: 13px; font-weight: 700; line-height: 1; }
.logo-text b { display: block; color: var(--brand); font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.logo-text span { display: block; color: var(--gold); font-size: 13px; font-weight: 700; line-height: 1.2; }

.menu { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 4px; }
.menu-item { position: relative; }
.menu-link {
  display: flex; align-items: center; gap: 8px; padding: 10px 11px; border: 0; background: none;
  font-size: 15px; font-weight: 400; color: #1f1d3d; white-space: nowrap; position: relative; transition: color .2s;
}
.menu-link .ic { color: var(--gold); font-size: 14px; }
.menu-link .caret { color: var(--gold); font-size: 10px; transition: transform .2s; }
.menu-link:hover, .menu-item.open > .menu-link { color: var(--brand); }
.menu-link.active { color: var(--brand); font-weight: 700; }
.menu-link.active::after { content: ''; position: absolute; inset-inline: 11px; bottom: 2px; height: 2px; background: var(--gold); border-radius: 2px; }
.menu-item.open > .menu-link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; right: 0; min-width: 240px; padding: 8px; z-index: 60;
  background: #fff; border-radius: 10px; border-top: 3px solid var(--brand); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s;
}
.menu-item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) {
  .menu-item:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .menu-item:hover > .menu-link { color: var(--brand); }
}
.dropdown a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 6px; font-size: 14.5px; transition: background .15s, color .15s; }
.dropdown a i { color: var(--gold); width: 18px; text-align: center; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--brand); color: #fff; }

.nav-end { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: 20px; }

@media (max-width: 1100px) {
  .menu { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-end { margin-inline-start: auto; }
  .navbar .container { min-height: 84px; }
  .logo-mark { width: 54px; height: 54px; }
  .logo-text b { font-size: 28px; }
}
@media (max-width: 480px) {
  .nav-end .btn { padding: 10px 14px; }
  .nav-end .btn span { display: none; }
  .logo-text span { display: none; }
}

/* درج الجوال */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,10,15,.5); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); background: #fff; z-index: 100;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head .logo-mark { width: 46px; height: 46px; }
.drawer-head .logo-text b { font-size: 24px; }
.drawer-head .logo-text span { display: none; }
.drawer-close { width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--bg-soft); color: var(--brand); font-size: 18px; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 10px; }
.d-link {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; background: none;
  border-radius: 8px; font-size: 15.5px; text-align: right; color: var(--ink);
}
.d-link .ic { color: var(--gold); width: 20px; text-align: center; }
.d-link .caret { margin-inline-start: auto; color: var(--gold); font-size: 12px; transition: transform .2s; }
.d-link.open .caret { transform: rotate(180deg); }
.d-link.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.d-sub { display: none; padding: 2px 34px 8px 0; }
.d-sub.open { display: block; }
.d-sub a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; font-size: 14.5px; color: var(--text); border-radius: 6px; }
.d-sub a i { color: var(--gold); font-size: 13px; width: 16px; }
.d-sub a:hover { background: var(--bg-soft); color: var(--brand); }
.drawer-foot { padding: 14px; border-top: 1px solid var(--line); }

/* =============================================================
   السلايدر الرئيسي
   ============================================================= */
.hero { background: linear-gradient(to bottom, #fff 0, #fff 40px, var(--bg-soft) 40px); padding-bottom: 26px; }
.slider { position: relative; height: 600px; border-radius: 28px; overflow: hidden; background: var(--brand-dark); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-bg.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(40,4,22,.55), rgba(40,4,22,.15)); }
.slide-caption {
  position: absolute; top: 50%; right: 70px; transform: translateY(-50%); z-index: 2;
  width: min(50%, 560px); padding: 36px 38px; color: #fff; text-align: right;
  background: rgba(94,11,53,.32); border-radius: 4px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.slide-caption .kicker { display: block; font-size: 15px; margin-bottom: 20px; opacity: .95; }
.slide-caption h1, .slide-caption h2 { font-size: 36px; font-weight: 400; line-height: 1.45; margin-bottom: 16px; word-spacing: 2px; }
.slide-caption h1 b, .slide-caption h2 b { color: var(--gold); font-weight: 800; }
.slide-caption p { font-size: 16px; line-height: 1.9; }
.slide-caption .btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px;
  border: 0; background: none; color: #fff; font-size: 40px; display: grid; place-items: center; opacity: .9;
}
.slider-arrow:hover { color: var(--gold); }
.slider-arrow.prev { right: 16px; }
.slider-arrow.next { left: 16px; }
.slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; transition: .2s; }
.slider-dots button.active { background: var(--gold); border-color: var(--gold); width: 28px; border-radius: 10px; }

/* فن السلايد البديل (يظهر حين لا توجد صورة) */
.slide-art {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 24% 50%, rgba(189,169,126,.28) 0, transparent 38%),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.08) 0, transparent 30%),
    linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-2) 100%);
}
.slide-art::before {                 /* نقش هندسي خفيف */
  content: ''; position: absolute; inset: 0; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M28 2 L54 28 L28 54 L2 28 Z'/%3E%3Cpath d='M28 14 L42 28 L28 42 L14 28 Z'/%3E%3C/g%3E%3C/svg%3E");
}
.art-stage { position: absolute; left: 7%; top: 50%; transform: translateY(-50%); width: 400px; height: 400px; }
.art-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(189,169,126,.55); }
.art-ring.r1 { inset: 0; border-style: dashed; }
.art-ring.r2 { inset: 13%; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.art-core {
  position: absolute; inset: 27%; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 25px 60px rgba(0,0,0,.35), 0 0 0 12px rgba(189,169,126,.25);
}
.art-core .logo-mark { width: 62%; height: 62%; }
.art-core > i { font-size: 74px; color: var(--brand); }
.art-bubble {
  position: absolute; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #fff; font-size: 24px; box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.art-bubble.b1 { top: 4%; right: 18%; }
.art-bubble.b2 { bottom: 10%; right: 2%; background: #fff; color: var(--brand); }
.art-bubble.b3 { top: 40%; left: -4%; width: 54px; height: 54px; font-size: 20px; }
.art-bubble.b4 { bottom: -2%; left: 30%; width: 48px; height: 48px; font-size: 18px; background: var(--brand-2); border: 2px solid rgba(255,255,255,.35); }

@media (max-width: 991px) {
  .slider { height: 520px; }
  .slide-caption { right: 30px; width: min(62%, 520px); }
  .art-stage { width: 300px; height: 300px; left: 3%; }
  .art-core > i { font-size: 54px; }
}
@media (max-width: 720px) {
  .hero { background: var(--bg-soft); padding-top: 14px; }
  .slider { height: 610px; border-radius: 20px; }
  .slide-caption { top: auto; bottom: 56px; right: 16px; left: 16px; width: auto; transform: none; padding: 22px 20px; }
  .slide-caption .kicker { margin-bottom: 10px; font-size: 13px; }
  .slide-caption h1, .slide-caption h2 { font-size: 24px; }
  .slide-caption p { font-size: 14px; }
  .slide-caption .btns { margin-top: 18px; }
  .art-stage { width: 200px; height: 200px; left: 50%; top: 21%; transform: translate(-50%, -50%); }
  .art-core > i { font-size: 40px; }
  .art-bubble { width: 44px; height: 44px; font-size: 16px; }
  .art-bubble.b2, .art-bubble.b3, .art-bubble.b4 { display: none; }
  .slider-arrow { top: 21%; font-size: 30px; }
  .slider-dots { bottom: 20px; }
}

/* =============================================================
   بطاقات الخدمات (أسفل السلايدر)
   ============================================================= */
.services { background: var(--bg-soft); padding: 24px 0 60px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-item {
  display: flex; align-items: center; gap: 18px; padding: 26px 26px; border-radius: 6px;
  background: var(--brand); color: #fff; transition: background .2s, transform .2s; min-height: 96px;
}
.service-item i { font-size: 30px; color: #fff; flex-shrink: 0; }
.service-item h3 { font-size: 19px; font-weight: 700; line-height: 1.4; }
.service-item p { font-size: 13px; opacity: .85; margin-top: 2px; line-height: 1.6; }
.service-item:hover { background: var(--brand-2); transform: translateY(-3px); }
.service-item.alt { background: var(--gold); }
.service-item.alt:hover { background: var(--gold-dark); }
@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; gap: 12px; } .service-item { padding: 20px; min-height: 0; } }

/* =============================================================
   رؤوس الأقسام
   ============================================================= */
.section { padding: 80px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 50px 0; }
@media (max-width: 720px) { .section { padding: 56px 0; } }

.sec-head { text-align: center; margin-bottom: 42px; }
.sec-label { display: inline-flex; align-items: center; gap: 14px; color: var(--brand); font-size: 17px; }
.sec-label::before, .sec-label::after { content: ''; width: 52px; height: 3px; background: var(--gold); border-radius: 2px; }
.sec-title { color: var(--brand); font-size: 32px; font-weight: 700; line-height: 1.35; margin-top: 8px; }
.sec-sub { color: var(--text); font-size: 15.5px; margin-top: 6px; }
.sec-head.start { text-align: right; }
.sec-head.start .sec-label::before { width: 14px; }
.sec-head.start .sec-label::after { display: none; }
@media (max-width: 600px) { .sec-title { font-size: 25px; } .sec-head { margin-bottom: 30px; } }

/* =============================================================
   من نحن
   ============================================================= */
.about { overflow: hidden; }
.about::after {                       /* مربعات زخرفية على الحافة */
  content: ''; position: absolute; top: 60px; right: -30px; width: 170px; height: 260px; opacity: .6; pointer-events: none;
  background-image: linear-gradient(var(--gold-soft) 2px, transparent 2px), linear-gradient(90deg, var(--gold-soft) 2px, transparent 2px);
  background-size: 86px 86px; border-radius: 12px;
}
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.about-text .label { color: var(--brand); font-size: 17px; }
.about-text h2 { color: var(--brand); font-size: 44px; font-weight: 800; line-height: 1.3; margin: 8px 0 18px; }
.about-text .desc { color: var(--text); font-size: 16.5px; line-height: 2; }
.about-list { display: grid; gap: 10px; margin: 22px 0 30px; }
.about-list li { display: flex; align-items: center; gap: 12px; color: #6d7c7c; font-weight: 700; font-size: 15px; }
.about-list li i { color: var(--gold); font-size: 17px; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.about-visual { position: relative; display: flex; justify-content: center; }
.about-visual .dots {
  position: absolute; top: 40px; right: 0; width: 180px; height: 420px; opacity: .8;
  background-image: radial-gradient(var(--gold) 2px, transparent 2.5px); background-size: 18px 18px;
}
.poster {
  position: relative; z-index: 1; width: 100%; max-width: 420px; border-radius: 9px; overflow: hidden;
  background: var(--gold-soft); box-shadow: var(--shadow-lg); padding: 30px 28px 26px;
}
.poster::before {
  content: ''; position: absolute; top: -60px; left: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 26px solid rgba(94,11,53,.07);
}
.poster-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; position: relative; }
.poster-top .logo-mark { width: 54px; height: 54px; }
.poster-dots { display: flex; gap: 6px; }
.poster-dots span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); }
.poster-dots span:nth-child(odd) { background: var(--brand); border-color: var(--brand); }
.poster h3 { color: var(--brand); font-size: 17px; font-weight: 800; margin: 14px 0 4px; display: flex; align-items: center; gap: 8px; }
.poster h3 i { color: var(--gold); font-size: 15px; }
.poster p { color: var(--ink); font-size: 13.5px; line-height: 1.9; position: relative; }
.poster-quote {
  margin-top: 20px; padding: 16px 18px; border-radius: 8px; background: var(--brand); color: #fff; text-align: center;
  font-size: 22px; font-weight: 800;
}
.poster-quote small { display: block; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 2px; direction: ltr; margin-top: 4px; }
@media (max-width: 991px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-text h2 { font-size: 34px; } }

/* =============================================================
   الكاروسيل (بطاقات قابلة للتمرير)
   ============================================================= */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 8px 6px 24px; margin: -8px -6px 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-track.four { grid-auto-columns: calc((100% - 72px) / 4); }
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.carousel-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--brand); font-size: 14px; transition: .2s;
}
.carousel-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 991px) { .carousel-track, .carousel-track.four { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .carousel-track, .carousel-track.four { grid-auto-columns: 86%; gap: 16px; } }

/* =============================================================
   البطاقات
   ============================================================= */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0,0,0,.03), 0 16px 34px rgba(20,20,40,.1); }
.card-media { position: relative; aspect-ratio: 37 / 26; overflow: hidden; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { color: var(--brand); font-size: 19px; font-weight: 700; line-height: 1.6; margin-bottom: 12px; }
.card-text {
  color: var(--text); font-size: 14px; line-height: 1.8; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body > .btn:last-child, .card-actions { margin-top: auto; }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; padding-inline: 10px; }
.card-fund { margin-bottom: 16px; }
.progress { height: 7px; border-radius: 10px; background: var(--gold-soft); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(to left, var(--gold), var(--gold-dark)); }
.fund-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.fund-meta b { color: var(--brand); }

/* ملصق المشروع البديل (على طريقة ملصقات الموقع المرجعي) */
.cover { position: absolute; inset: 0; overflow: hidden; background: var(--gold-soft); }
.cover::before {                      /* الشريط العنابي المائل أعلى الملصق */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 46%;
  background: linear-gradient(115deg, var(--brand-dark) 0%, var(--brand) 60%, var(--brand-2) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
}
.cover::after {                       /* الحافة الذهبية */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: var(--gold); clip-path: polygon(0 88%, 100% 56%, 100% 62%, 0 100%);
}
.cover-logo { position: absolute; top: 12px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 12px; font-weight: 800; }
.cover-logo .logo-mark { width: 26px; height: 26px; }
.cover-logo .lm-heart { fill: #fff; }
.cover-pill {
  position: absolute; z-index: 2; top: 30%; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: #fff; border: 2px solid var(--gold); border-radius: 12px; padding: 6px 22px; font-size: 20px; font-weight: 800; color: var(--ink);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.cover-pill small { color: var(--gold-dark); font-size: 17px; font-weight: 400; margin-left: 6px; }
.cover-ic {
  position: absolute; z-index: 1; bottom: 12%; left: 50%; transform: translateX(-50%);
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand); font-size: 36px; box-shadow: 0 0 0 10px rgba(189,169,126,.25);
}
.cover-deco { position: absolute; bottom: -30px; right: -30px; width: 130px; height: 130px; border-radius: 50%; border: 18px solid rgba(94,11,53,.06); }
.cover.t2 { background: #f3eef4; }
.cover.t3 { background: #eef1f5; }
.cover.t3 .cover-ic { color: var(--gold-dark); }
.cover.has-img::before, .cover.has-img::after { display: none; }
.cover.has-img img { width: 100%; height: 100%; object-fit: cover; }

.tag-pill { position: absolute; top: 14px; right: 14px; z-index: 3; background: #fff; color: var(--brand); font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,.12); font-size: 13px; padding: 3px 14px; border-radius: 20px; }

/* بطاقة الخبر */
.news-card .card-title { font-size: 17px; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .card-body { padding: 18px 16px 0; }
.news-date { border-top: 1px solid var(--line); margin-top: 14px; padding: 12px 0; color: var(--muted); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-date i { margin-left: 6px; }

/* بطاقة الخبر الداكنة (صفحة الأخبار) */
.news-dark { background: var(--brand); border-radius: 14px; padding: 10px; color: #fff; display: flex; flex-direction: column; transition: transform .25s; }
.news-dark:hover { transform: translateY(-4px); }
.news-dark .card-media { border-radius: 12px; aspect-ratio: 30 / 25; }
.news-dark h3 { font-size: 17px; font-weight: 700; line-height: 1.7; text-align: center; padding: 16px 8px 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-dark .meta { margin-top: auto; display: flex; justify-content: space-between; padding: 8px 8px 6px; font-size: 13px; opacity: .9; }
.news-dark .meta i { margin-left: 6px; }

/* بطاقة الصورة */
.photo-card .card-media { aspect-ratio: 1 / 1; }
.photo-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.photo-foot b { display: block; color: var(--brand); font-size: 15px; line-height: 1.5; }
.photo-foot small { color: var(--muted); font-size: 13px; }
.photo-foot .go { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
.photo-card:hover .go { background: var(--brand); color: #fff; }
.photo-count { position: absolute; bottom: 12px; left: 12px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; font-size: 12.5px; padding: 3px 10px; border-radius: 20px; }

/* =============================================================
   الإنجازات بالأرقام
   ============================================================= */
.stats-box { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 36px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 16px; }
.stat { text-align: center; }
.stat i { font-size: 38px; color: var(--gold); }
.stat b { display: block; color: var(--brand); font-size: 34px; font-weight: 800; line-height: 1.2; margin: 12px 0 8px; direction: ltr; }
.stat span { color: var(--brand); font-size: 15px; font-weight: 700; }
@media (max-width: 991px) { .stats-box { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   الشركاء
   ============================================================= */
.partner {
  background: #fff; border-radius: 8px; padding: 26px 18px; height: 160px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 10px; box-shadow: 0 0 0 1px rgba(0,0,0,.03);
}
.partner img { max-height: 100px; width: auto; }
.partner i { font-size: 34px; color: var(--brand); }
.partner b { color: var(--brand); font-size: 15px; }
.partner small { color: var(--muted); font-size: 12.5px; margin-top: -8px; }

/* =============================================================
   الفيديو (عرض متتالٍ بالمنتصف)
   ============================================================= */
.vflow { position: relative; height: 380px; overflow: hidden; }
.vcard {
  position: absolute; top: 50%; left: 50%; width: 256px; height: 296px; border-radius: 14px; overflow: hidden;
  transition: transform .5s ease, opacity .5s ease, filter .5s; cursor: pointer; background: var(--brand-dark);
}
.vcard .cover-bg { position: absolute; inset: 0; }
.vcard .cover-bg img { width: 100%; height: 100%; object-fit: cover; }
.vcard::after { content: ''; position: absolute; inset: 0; background: rgba(120,120,120,.55); transition: .4s; }
.vcard.is-center::after { background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.05) 55%); }
.vcard .play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; color: #fff; display: grid; place-items: center; font-size: 14px; }
.vcard .play i { margin-left: 3px; }
.vcard h3 { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; padding: 16px 18px; color: #fff; font-size: 15px; font-weight: 700; text-align: center; line-height: 1.6; opacity: 0; transition: .4s; }
.vcard.is-center h3 { opacity: 1; }
.vflow-nav { display: flex; justify-content: center; gap: 10px; }
.vart { position: absolute; inset: 0; background: linear-gradient(150deg, var(--brand-2), var(--brand-dark)); display: grid; place-items: center; }
.vart i { font-size: 64px; color: rgba(255,255,255,.18); }

/* =============================================================
   التذييل
   ============================================================= */
.footer { background: var(--brand); color: #fff; padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 44px; }
.f-head { display: inline-block; background: rgba(255,255,255,.2); padding: 8px 14px; border-radius: 12px; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.f-about { font-size: 14px; line-height: 1.9; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: .2s; }
.f-social a:hover { background: var(--gold); }
.f-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; font-size: 14.5px; }
.f-links a:hover { color: var(--gold); }
.f-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; line-height: 1.7; }
.f-contact li i { color: var(--gold); margin-top: 5px; width: 16px; text-align: center; }
.f-contact a:hover { color: var(--gold); }
.iban { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.iban b { display: block; font-size: 12.5px; color: var(--gold); font-weight: 700; }
.iban button { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.iban button:hover { background: var(--gold); }
.footer-bottom { background: var(--gold); color: #fff; font-size: 14px; padding: 16px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom i { color: var(--brand); }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } .footer-bottom .container { justify-content: center; text-align: center; } }

/* =============================================================
   الأزرار العائمة
   ============================================================= */
.floaters { position: fixed; right: 26px; bottom: 26px; z-index: 80; display: flex; flex-direction: column; gap: 14px; }
.floaters > a, .floaters > button {
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; font-size: 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,.2); transition: transform .2s;
}
.floaters > a:hover, .floaters > button:hover { transform: scale(1.06); }
.fl-wa { background: var(--wa); }
.fl-share { background: var(--gold); font-size: 19px !important; }
.share-menu {
  position: absolute; right: 64px; bottom: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px;
  display: flex; gap: 6px; opacity: 0; visibility: hidden; transform: translateX(10px); transition: .2s;
}
.share-menu.open { opacity: 1; visibility: visible; transform: none; }
.share-menu a, .share-menu button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brand); font-size: 16px; }
.share-menu a:hover, .share-menu button:hover { background: var(--brand); color: #fff; }
.to-top { position: fixed; left: 26px; bottom: 26px; z-index: 80; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; opacity: 0; visibility: hidden; transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; }
@media (max-width: 600px) {
  .floaters { right: 14px; bottom: 16px; gap: 10px; }
  .floaters > a, .floaters > button { width: 46px; height: 46px; font-size: 21px; }
  .to-top { left: 14px; bottom: 16px; }
}

/* =============================================================
   الصفحات الداخلية
   ============================================================= */
.page-head { background: var(--bg-grey); padding: 40px 0; }
.page-head h1 { display: inline-block; border-right: 6px solid var(--brand); padding: 22px 20px; color: var(--brand); font-size: 24px; font-weight: 800; line-height: 1.4; }
.page-head p { color: var(--text); font-size: 15px; margin-top: 6px; padding-right: 26px; max-width: 700px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 26px 0 6px; font-size: 15px; }
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 10px; }
.breadcrumb .current { color: var(--gold-dark); font-weight: 700; }
.page-body { padding: 30px 0 80px; }

.layout-aside { display: grid; grid-template-columns: 1fr 290px; gap: 40px; align-items: start; }
.layout-aside > aside { position: sticky; top: 130px; }
@media (max-width: 991px) { .layout-aside { grid-template-columns: 1fr; } .layout-aside > aside { position: static; } }

.block-title { color: var(--ink); font-size: 17px; font-weight: 800; margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; }
.block-title:first-child { margin-top: 0; }
.block-title i { color: var(--gold); }
.box { border: 2px solid var(--line); border-radius: 8px; padding: 18px 20px; font-size: 15.5px; line-height: 2; color: var(--ink); }
.box p + p { margin-top: 12px; }
.box ul { display: grid; gap: 6px; }
.box ul li { display: flex; gap: 10px; align-items: baseline; }
.box ul li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; transform: translateY(-2px); }

.aside-card { border: 2px solid var(--line); border-radius: 10px; padding: 22px; text-align: center; }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card .logo { justify-content: center; margin-bottom: 18px; }
.aside-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.share-row { display: flex; justify-content: center; gap: 10px; }
.share-row a, .share-row button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 16px; color: var(--ink); transition: .2s; }
.share-row a:hover, .share-row button:hover { border-color: var(--brand); color: var(--brand); }

/* تبويبات */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; border-bottom: 2px solid var(--line); }
.tab { border: 0; background: none; padding: 12px 18px; font-size: 15.5px; font-weight: 700; color: var(--text); position: relative; display: inline-flex; align-items: center; gap: 8px; }
.tab i { color: var(--gold); }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: transparent; border-radius: 3px; }
.tab:hover { color: var(--brand); }
.tab.active { color: var(--brand); }
.tab.active::after { background: var(--brand); }
.tab-panel[hidden] { display: none; }

/* شرائح الفلترة */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 30px; padding: 7px 16px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; transition: .2s; }
.chip:hover { border-color: var(--gold); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .count { font-size: 12px; opacity: .8; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.search { position: relative; min-width: 260px; }
.search input { width: 100%; border: 1.5px solid var(--line); border-radius: 30px; padding: 10px 42px 10px 16px; background: #fff; }
.search input:focus { outline: none; border-color: var(--gold); }
.search i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 991px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* النماذج */
.form-card { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 28px; }
.form-card > h3 { color: var(--brand); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.form-card > .hint { color: var(--text); font-size: 14px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--danger); margin-right: 3px; }
.input, .select, .textarea { width: 100%; border: 1.5px solid #dcdcdc; border-radius: 8px; padding: 11px 14px; background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.input.error, .select.error, .textarea.error { border-color: var(--danger); }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field-error { font-size: 13px; color: var(--danger); margin-top: 5px; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 9px; border: 1.5px solid #dcdcdc; border-radius: 8px; padding: 11px 14px; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: .2s; height: 100%; }
.choice span i { color: var(--gold); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); margin-top: 4px; flex-shrink: 0; }

.success { text-align: center; padding: 30px 10px; }
.success .ic { width: 84px; height: 84px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; font-size: 36px; margin: 0 auto 18px; }
.success h3 { color: var(--brand); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.success p { color: var(--text); max-width: 460px; margin: 0 auto 20px; }

.empty { text-align: center; padding: 50px 20px; color: var(--text); }
.empty i { font-size: 44px; color: var(--gold); margin-bottom: 14px; }
.empty h3 { color: var(--brand); font-size: 19px; margin-bottom: 6px; }
.empty p { margin-bottom: 16px; }

/* جدول */
.table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.table th { background: var(--brand); color: #fff; font-weight: 700; padding: 13px 16px; text-align: right; white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:nth-child(even) td { background: var(--bg-soft); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.danger { background: var(--danger-bg); color: var(--danger); }
.badge.brand { background: var(--brand-soft); color: var(--brand); }
.badge.gold { background: var(--gold-soft); color: var(--gold-dark); }

/* =============================================================
   النافذة المنبثقة + الإشعار
   ============================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(25,8,16,.6); opacity: 0; visibility: hidden; transition: .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: 14px; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; transform: translateY(16px); transition: transform .25s; }
.modal.open .modal-box { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h3 { color: var(--brand); font-size: 19px; font-weight: 800; }
.modal-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--brand); font-size: 16px; flex-shrink: 0; }
.modal-close:hover { background: var(--brand); color: #fff; }
.modal-body { padding: 22px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 16px 22px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.modal-media { position: relative; aspect-ratio: 16 / 8; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.fact { background: var(--bg-soft); border-radius: 8px; padding: 12px 14px; }
.fact small { display: block; color: var(--muted); font-size: 12.5px; }
.fact b { color: var(--brand); font-size: 16px; }

.toasts { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 14.5px; font-weight: 700; display: flex; gap: 10px; align-items: center; animation: toastIn .3s ease; transition: opacity .25s; }
.toast i { color: var(--gold); }
.toast.hide { opacity: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
