/* ═══════════════════════════════════════════════════════════
   الأساس: الألوان والخطوط (:root)، المقياس المتجاوب، الأزرار، اللوجو
   ═══════════════════════════════════════════════════════════ */

:root {
  --sand: #f3eadc;
  --sand-2: #ebdfcc;
  --paper: #fbf7f0;
  --ink: #24322b;
  --ink-2: #5b6a61;
  --mint: #a6d4bb;
  --mint-d: #3f8d69;
  --gold: #c39a46;
  --gold-hi: #e6c47a;
  --red: #bf513b;
  --brand: #3f8d69;
  --line: rgba(36, 50, 43, .12);
  --glass: rgba(251, 247, 240, .84);
  --shadow: 0 30px 60px -30px rgba(60, 45, 20, .35), 0 8px 20px -10px rgba(60, 45, 20, .2);
  /* ═══ الخطوط — المجموعة ١ ═══
     --f-title: الشعار والعناوين | --f-text: الموقف والآيات والأذكار | --f-ui: الواجهة والأزرار */
  --f-title: 'Thmanyah Serif Display', 'Reem Kufi', 'IBM Plex Sans Arabic', sans-serif;
  --f-text: 'Amiri', serif;
  --f-ui: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-en-title: 'Outfit', system-ui, sans-serif;
  --f-en-ui: 'Manrope', system-ui, sans-serif;
  --ui: var(--f-ui);
  --display: var(--f-title);
  --latin-display: var(--f-en-title);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html[lang="en"] { --f-title: var(--f-en-title); --f-text: var(--f-en-title); --f-ui: var(--f-en-ui); }



/* ═══════════ مقياس متجاوب ═══════════
   كل المقاسات بالـrem، والـrem نفسه بيكبر ويصغر مع الشاشة:
   ١٤٤٠×٨٦٠ = 16px — وفي الشاشات الكبيرة (2K / 4K) بيكبر لحد ما الكلام يملى الشاشة. */
html { font-size: clamp(9px, min(1.111vw, 1.86vh), 64px); }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--ui);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ═══════════ الأزرار ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem 2.3rem; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1.1rem;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn--main { background: var(--ink); color: var(--paper); box-shadow: 0 14px 30px -14px rgba(36, 50, 43, .7); }
.btn--main:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(36, 50, 43, .75); }
.btn--main:disabled { cursor: progress; background: rgba(36, 50, 43, .55); }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); padding: .65rem 1.2rem; font-size: .95rem; }
.btn--ghost:hover { border-color: var(--mint-d); background: rgba(166, 212, 187, .25); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(195, 154, 70, .8); }
.btn--gold:hover { transform: translateY(-2px); }

/* الشعار (SVG) */
.logo-img { display: block; height: 1.9em; width: auto; }
.logo-img--en { height: .72em; }

/* ── الموبايل ── */
@media (max-width: 760px) {
  html { font-size: clamp(8px, 2.5vw, 12px); }
}
