/* صف٢ — مكوّنات إضافية للصفحات العامة المُعاد تصميمها (ثنائية اللغة، متجاوبة، RTL-آمنة). */

/* صف٦ — قصّ التمرير الأفقي على الجذر كاحتياط عام ضد عناصر off-canvas (overflow-x:clip
   لا يكسر position:sticky للترويسة بخلاف hidden). السبب الجذري لإزاحة RTL في حاسبة
   التمويل كان حقل honeypot بـ left:-9999px وقد أُصلح في finance-calculator.js. */
html, body { overflow-x: clip; }

/* ── قصة من عمودين: نص + بطاقة أرقام ── */
.story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; }
.story__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 1rem; color: #0B0F12; line-height: 1.25; }
.story__body p { color: #0B0F12; line-height: 1.95; margin: 0 0 1rem; }
.story__body p:last-child { margin-bottom: 0; }
.story__card { background: #0B0F12; color: #fff; border-radius: 20px; padding: 1.75rem 2rem; box-shadow: 0 20px 45px rgba(11,15,18,.25), 0 0 0 1px rgba(255,204,0,.22), 0 16px 40px -12px rgba(255,204,0,.28); }
.story__card-row { display: flex; align-items: baseline; gap: .65rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.story__card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.story__card-row:first-child { padding-top: 0; }
.story__card-num { font-size: 1.9rem; font-weight: 800; color: var(--color-primary, #ffcc00); line-height: 1; min-width: 3.2rem; }
.story__card-label { color: rgba(255,255,255,.82); font-size: .95rem; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ── شريط إحصاءات (4-up) ── */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; color: #0B0F12; line-height: 1; }
.stat__label { color: #0B0F12; font-size: .95rem; margin-top: .45rem; }
@media (max-width: 640px) { .stats-band { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; } }

/* ── شريط نداء (CTA) ── */
.cta-band { background: #0B0F12; border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; color: #fff; }
.cta-band__title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; margin: 0 0 .65rem; }
.cta-band__sub { color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 1.6rem; line-height: 1.8; }
.cta-band__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── شبكة جهات اتصال سريعة (لصفحة اتصل بنا) ── */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { background: #fff; border: 1px solid var(--color-border, rgba(11,15,18,0.12)); border-radius: 16px; padding: 1.5rem; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.contact-card__icon { width: 52px; height: 52px; margin: 0 auto .85rem; border-radius: 14px; display: grid; place-items: center; background: #FFCC00; color: #0B0F12; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card__label { font-weight: 700; color: #0B0F12; margin: 0 0 .3rem; }
.contact-card__value { color: #0B0F12; font-size: .95rem; word-break: break-word; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
