/* ═══════════════════════════════════════════════════════════
   مهوى — نظام التصميم
   العيلة التلجية (كحلي/تلجي/أبيض) تقود الموقع لأنه محتوى إرشادي،
   والعيلة الأصلية (زمردي/ذهبي/عاجي) تقود محتوى العمرة.
   ═══════════════════════════════════════════════════════════ */

@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/Tajawal-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
/* Manrope للأرقام والنصوص اللاتينية فقط */
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope.ttf') format('truetype'); font-weight: 200 800; font-display: swap;
  unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+002B, U+0040, U+0023, U+0025, U+00D7, U+2013, U+2190-2194, U+21C4; }

:root {
  /* الأصلية */
  --emerald: #083228; --deep: #00251C; --gold: #D2B477; --gold-l: #E5CE9E; --ivory: #F7F4EC; --ink-e: #142E28; --muted-e: #55695F;
  /* التلجية */
  --navy: #12354A; --ice: #DCEEF4; --white: #FFFFFF;
  --navy-90: #2A4A5D; --navy-70: #4C6878; --ice-soft: #EEF6F9; --ice-line: #CFE3EB;

  /* الدور الدلالي — الافتراضي: تلجي */
  --bg: var(--white);
  --surface: var(--ice);
  --surface-soft: var(--ice-soft);
  --card: var(--white);
  --ink: var(--navy);
  --muted: var(--navy-70);
  --line: var(--ice-line);
  --accent: var(--navy);
  --accent-ink: var(--white);
  --accent-hover: #0C2737;
  --focus: #2D7FA6;

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --pad: 20px;
  --dock-h: 0px;

  --f: 'Manrope', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-family="heritage"] {
  --bg: var(--ivory);
  --surface: #EEE8DA;
  --surface-soft: #F2EEE3;
  --card: #FCFBF7;
  --ink: var(--ink-e);
  --muted: var(--muted-e);
  --line: #E1D8C5;
  --accent: var(--emerald);
  --accent-ink: var(--ivory);
  --accent-hover: var(--deep);
  --focus: #9C7B3C;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.8; color: var(--ink); background: var(--bg);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-brand { stroke-width: 3; }

/* ─────────── الأزرار ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-soft { background: var(--surface-soft); color: var(--ink); border-color: var(--line); font-weight: 500; }
.btn-soft:hover { border-color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: var(--gold-l); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--ice); }
.btn-outline-light { border-color: rgba(247,244,236,.45); color: var(--ivory); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn.is-done { background: var(--ink); color: var(--bg); border-color: var(--ink); animation: btn-pop .22s cubic-bezier(.2,.8,.2,1); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); }
.icon-btn .i { width: 22px; height: 22px; }

/* ─────────── الشارات ─────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1.6; white-space: nowrap; border: 1.5px solid transparent; cursor: help;
}
.badge .i { width: 15px; height: 15px; stroke-width: 2.2; }
.badge--reviewed { background: var(--surface); color: var(--ink); }
.badge--news { background: var(--accent); color: var(--accent-ink); }
.badge--estimate { border: 1.5px dashed currentColor; color: var(--ink); background: transparent; }
.badge--guide { background: transparent; border-color: var(--line); color: var(--muted); }
.badge--example {
  color: #5A4413; border-color: #C9AE72;
  background: repeating-linear-gradient(-45deg, #FBF5E6 0 6px, #F1E4C2 6px 12px);
}
.badge--available { background: var(--gold); color: var(--deep); }
.badge--service { background: transparent; border-color: currentColor; color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip--quiet { min-height: 0; padding: 2px 12px; font-size: 13px; background: transparent; cursor: default; color: var(--muted); }
.chip--search .i { width: 17px; height: 17px; }

.eyebrow { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: var(--ice); }

/* ─────────── الهيدر ─────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
/* اللوجو: الاسم العربي بعرض لا يقل عن 140px مع مساحة أمان 10% */
.brand { display: block; padding: 14px; margin-inline-start: -14px; flex: none; }
.brand img { width: 140px; height: auto; }
.main-nav { display: none; gap: 4px; margin-inline-end: auto; }
.main-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--muted); font-size: 16px; }
.main-nav a:hover { color: var(--ink); background: var(--surface-soft); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.search-trigger { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; font-size: 15px; }
.search-trigger:hover { border-color: var(--ink); color: var(--ink); }
.search-trigger kbd { font-family: var(--f); font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; line-height: 1.6; }
.header-wa { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu nav { display: grid; padding-block: 8px 16px; }
.mobile-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 18px; }
.mobile-menu a[aria-current="page"] { font-weight: 700; }

/* ─────────── شريط الإجراءات السفلي (موبايل) ─────────── */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.dock > * { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.dock .dock-wa { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
body { --dock-h: 68px; }

/* ─────────── البحث ─────────── */
.search-field { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding-inline: 14px 8px; min-height: 56px; }
.search-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }
.search-field > .i { color: var(--muted); width: 22px; height: 22px; }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 17px; padding: 12px 0; }
.search-field input::placeholder { color: var(--muted); opacity: .85; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field--hero { min-height: 64px; border-width: 2px; border-color: var(--navy); border-radius: 16px; }

/* ─────────── حركات خفيفة تخدم الاستخدام ─────────── */
@keyframes sr-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes btn-pop { 0% { transform: scale(1); } 45% { transform: scale(.97); } 100% { transform: scale(1); } }

.search-dialog { width: min(720px, calc(100vw - 24px)); max-height: min(80vh, 720px); margin: 8vh auto auto; padding: 0; border: 0; border-radius: 20px; background: var(--bg); color: var(--ink); }
.search-dialog[open] { animation: sr-in .18s cubic-bezier(.2,.8,.2,1); }
.search-dialog::backdrop { background: rgba(10, 30, 42, .55); }
.search-panel { display: flex; flex-direction: column; max-height: inherit; }
.search-panel .search-field { margin: 12px; border-radius: 14px; }
.search-results { overflow-y: auto; padding: 0 12px 12px; }
.sr-group { font-size: 13px; font-weight: 700; color: var(--muted); padding: 10px 6px 6px; }
.sr-item { display: block; padding: 12px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; transition: background-color .14s, border-color .14s; }
.sr-item:hover, .sr-item:focus-visible, .sr-item.is-active { background: var(--surface-soft); border-color: var(--line); outline: none; }
.sr-item .sr-top { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.sr-item .sr-title { display: block; font-weight: 700; font-size: 16px; line-height: 1.5; }
.sr-item .sr-snip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.7; }
.sr-item mark { background: color-mix(in srgb, var(--gold) 45%, transparent); color: inherit; border-radius: 3px; }
.sr-empty { padding: 20px 12px; text-align: center; }
.sr-empty p { margin-bottom: 12px; color: var(--muted); }
.inline-results:empty { display: none; }
.inline-results { margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px; max-height: 380px; box-shadow: 0 12px 28px rgba(18, 53, 74, .1); animation: sr-in .16s cubic-bezier(.2,.8,.2,1); text-align: start; }

/* ─────────── الهيرو (مبسّط وواضح خلال 5 ثوانٍ) ─────────── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ice) 0%, var(--ice-soft) 72%, var(--white) 100%); padding-block: 28px 36px; }
/* القوس مخفي على الموبايل تمامًا، وفي الكمبيوتر محصور أسفل المساحة الفارغة بعيدًا عن النص والبحث */
.hero .route { display: none; position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 80px; color: var(--navy); opacity: .16; pointer-events: none; }
.hero-focus { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: clamp(1.85rem, 6.2vw, 3.25rem); line-height: 1.24; }
.hero h1 span { display: block; font-weight: 500; font-size: .68em; color: var(--navy-70); margin-top: 6px; line-height: 1.4; }
.lead { font-size: clamp(1rem, 2.2vw, 1.16rem); color: var(--muted); margin-top: 12px; max-width: 56ch; }
.hero .lead { color: var(--navy-90); }
.hero-search { margin-top: 22px; position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero .chip { background: rgba(255,255,255,.85); min-height: 38px; padding: 5px 14px; font-size: 14px; transition: border-color .15s, background-color .15s, transform .12s; }
.hero .chip:hover { background: var(--white); transform: translateY(-1px); }

.hero-agent-bar {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 16px;
  border-radius: 14px; background: var(--white); border: 1.5px solid var(--ice-line);
  text-decoration: none; font-size: 15px; color: var(--navy); line-height: 1.5;
  transition: border-color .15s, background-color .15s, transform .12s;
}
.hero-agent-bar:hover { border-color: var(--navy); background: var(--ice-soft); }
.hero-agent-bar > .i:first-child { color: var(--navy); flex: none; }
.hero-agent-bar span { flex: 1; min-width: 0; }
.hero-agent-bar .hab-arrow { color: var(--navy-70); transition: transform .15s; }
.hero-agent-bar:hover .hab-arrow { transform: translateX(-3px); }

/* ─────────── الأقسام ─────────── */
.section { padding-block: 52px; }
.section--compact { padding-block: 40px; }
.section-sm { padding-block: 32px; }
.section--tint { background: var(--surface-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.section-title { font-size: clamp(1.35rem, 3.2vw, 1.85rem); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-title-sm { font-size: 1.1rem; margin-bottom: 12px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; color: var(--ink); font-size: 15px; }
.link-more .i { width: 18px; height: 18px; transition: transform .15s; }
.link-more:hover .i { transform: translateX(-3px); }
.note-line { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 15px; }

/* المواضيع (مختصرة وسريعة المسح) */
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.topic-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); text-decoration: none; min-height: 128px; transition: border-color .15s, transform .15s; }
.topic-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.tt-icon { width: 38px; height: 38px; margin-bottom: 6px; display: grid; place-items: center; }
.tt-icon .i { width: 36px; height: 36px; }
.tt-title { font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.tt-count { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.topic-tile--heritage { background: var(--emerald); border-color: var(--emerald); color: var(--ivory); }
.topic-tile--heritage .tt-count { color: var(--gold); }
.topic-tile--heritage:hover { border-color: var(--gold); }
.topic-symbol { width: 38px; height: auto; }

/* بطاقتا المقارنة والعمرة في الرئيسية */
.hub-grid { display: grid; gap: 14px; }
.hub-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--white); }
.hub-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hub-top .eyebrow { margin: 0; }
.hub-top > .i { width: 26px; height: 26px; color: var(--navy); }
.hub-symbol { width: 42px; height: auto; }
.hub-card h3 { font-size: clamp(1.25rem, 3vw, 1.55rem); }
.hub-card p { color: var(--muted); font-size: 15px; max-width: 48ch; }
.hub-card .btn-row { margin-top: auto; padding-top: 12px; }
.hub-card--heritage { background: var(--emerald); border-color: var(--emerald); color: var(--ivory); }
.hub-card--heritage p { color: #D4DDD7; }

/* قوائم مختصرة في الرئيسية */
.home-split { display: grid; gap: 28px; }
.compact-list { list-style: none; display: grid; gap: 8px; }
.compact-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  text-decoration: none; transition: border-color .15s, background-color .15s;
}
.compact-list a:hover { border-color: var(--ink); background: var(--surface-soft); }
.cl-meta { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cl-title { grid-column: 1; font-weight: 700; font-size: 16px; line-height: 1.5; }
.cl-arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); transition: transform .15s; }
.compact-list a:hover .cl-arrow { transform: translateX(-3px); color: var(--ink); }
.home-foot-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; }
.home-foot-meta .note-line { margin-top: 0; }

/* قوائم الأسئلة */
.q-list { list-style: none; display: grid; gap: 12px; }
.q-row a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; height: 100%; transition: border-color .15s; }
.q-row a:hover { border-color: var(--ink); }
.q-row-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.q-row-title { font-weight: 700; font-size: 1.08rem; line-height: 1.5; }
.q-row-short { color: var(--muted); font-size: 15px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* مقارنة مختصرة */
.compare-split { display: grid; gap: 32px; align-items: center; }
.compare-split > * { min-width: 0; }
.mini-table { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; background: var(--card); }
.mt-row { display: grid; grid-template-columns: 0.8fr repeat(3, 1fr); min-width: 500px; }
.mt-row > span { padding: 12px; border-top: 1px solid var(--line); line-height: 1.6; }
.mt-row > span + span { border-inline-start: 1px solid var(--line); }
.mt-head > span { border-top: 0; background: var(--navy); color: var(--white); font-weight: 700; font-size: 15px; }
.mt-row > span[role="rowheader"] { font-weight: 700; background: var(--surface-soft); }

/* شريط العمرة والكحلي */
.band { padding-block: 56px; position: relative; overflow: hidden; }
.band--heritage { background: var(--emerald); color: var(--ivory); }
.band--heritage h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.band--heritage p { color: #DCE3DE; max-width: 58ch; margin-top: 12px; }
.band-grid { display: grid; gap: 24px; align-items: center; }
.band-symbol { width: 96px; height: auto; }
.band-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; margin-top: 20px !important; }
.band--heritage .badge--estimate { color: var(--gold); }
.band--navy { background: var(--navy); color: var(--white); }
.band--navy h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
.agents-band { display: grid; gap: 32px; align-items: center; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 20px 0 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: #DCE9EF; }
.ticks .i { color: var(--ice); margin-top: 5px; }
.chat-mock { background: #0D2A3B; border-radius: 20px; padding: 20px; display: grid; gap: 12px; font-size: 15px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.7; }
.bubble--in { background: #1D4560; justify-self: start; border-start-start-radius: 4px; }
.bubble--out { background: var(--white); color: var(--navy); justify-self: end; border-start-end-radius: 4px; }
.bubble small { display: block; color: var(--navy-70); font-size: 12px; margin-top: 6px; }

/* المستجدات */
.news-grid { display: grid; gap: 12px; }
.news-card, .news-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--card); display: grid; gap: 8px; align-content: start; }
.news-card h3 { font-size: 1.12rem; }
.news-card h3 a, .news-item h2 a { text-decoration: none; }
.news-card h3 a:hover, .news-item h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.news-card p, .news-item p { color: var(--muted); font-size: 15px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.news-date { font-size: 13px; font-weight: 700; color: var(--muted); }
.news-list { display: grid; gap: 16px; }
.news-item h2 { font-size: 1.3rem; }

/* الخدمات */
.service-grid { display: grid; gap: 12px; }
.service-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.service-card .btn { margin-top: auto; align-self: start; }
.sc-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 4px; }
.sc-icon .i { width: 44px; height: 44px; }
.sc-symbol { width: 48px; height: auto; }
.service-card--heritage { background: var(--emerald); border-color: var(--emerald); color: var(--ivory); }
.service-card--heritage p { color: #CBD5CF; }

/* دليل المحتوى */
.legend { list-style: none; display: grid; gap: 12px; }
.legend li { display: grid; gap: 8px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.legend li .badge { justify-self: start; }
.legend p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─────────── صفحات داخلية ─────────── */
.page { padding-block: 32px 64px; }
.page-head { padding-block: 16px 24px; max-width: 760px; }
.page-head h1, .page-title { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.28; }
.page-head--tight { padding-top: 4px; }
.page-head .answer-meta { margin-bottom: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px 16px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; position: sticky; top: 72px; z-index: 5; background: var(--bg); }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar .chip { flex: none; }
.topic-section { padding-block: 20px; }
.topic-h { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 16px; }
.topic-h-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); flex: none; }
.topic-h-icon .i { width: 28px; height: 28px; }
.topic-h-icon--heritage { background: #EEE8DA; }
.topic-h-icon .topic-symbol { width: 30px; }
.ask-box { margin-top: 32px; padding: 28px; border-radius: 20px; background: var(--surface); display: grid; gap: 8px; justify-items: start; }
.ask-box h2 { font-size: 1.4rem; }
.ask-box p { color: var(--muted); margin-bottom: 8px; }

/* صفحة الإجابة */
.detail-grid { display: grid; gap: 32px; }
.answer h1 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.35; margin-top: 12px; }
.answer-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.short-answer { margin-top: 24px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border-inline-start: 5px solid var(--accent); }
.sa-label { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.short-answer p { font-size: clamp(1.1rem, 2.6vw, 1.28rem); font-weight: 500; line-height: 1.85; }
[data-family="heritage"] .short-answer { border-inline-start-color: var(--gold); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share .btn { flex: 1 1 auto; }
.share--compact .btn { min-height: 44px; font-size: 15px; padding-inline: 14px; }
.details { margin-top: 32px; }
.details h2, .prose h2 { font-size: 1.3rem; margin-bottom: 12px; }
.points { list-style: none; display: grid; gap: 12px; }
.points li { position: relative; padding-inline-start: 28px; }
.points li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .7em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }
[data-family="heritage"] .points li::before { border-color: var(--gold); background: var(--gold); }
.verify { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); border: 1.5px dashed var(--line); background: var(--card); }
.verify strong { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sources { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.sources-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.reviewed { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.reviewed .i { width: 16px; height: 16px; }
.sources a { color: var(--ink); text-underline-offset: 4px; }
.fineprint { font-size: 13px; color: var(--muted); line-height: 1.7; }
.fineprint a { color: inherit; }

.help-card { padding: 24px; border-radius: 20px; background: var(--accent); color: var(--accent-ink); display: grid; gap: 10px; }
.help-card .eyebrow { color: color-mix(in srgb, var(--accent-ink) 75%, transparent); margin: 0; }
[data-family="heritage"] .help-card .eyebrow { color: var(--gold); }
.help-card h2 { font-size: 1.3rem; }
.help-card p { opacity: .9; font-size: 15px; }
.help-card .btn-primary { background: var(--white); color: var(--navy); margin-top: 8px; }
[data-family="heritage"] .help-card .btn-primary { background: var(--gold); color: var(--deep); }
.help-link { font-size: 14px; text-align: center; opacity: .9; }
.related { margin-top: 24px; }
.link-list { list-style: none; display: grid; gap: 8px; }
.link-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--card); }
.link-list a:hover { border-color: var(--ink); }
.ll-type { grid-column: 1; font-size: 12px; font-weight: 700; color: var(--muted); }
.ll-title { grid-column: 1; font-weight: 500; line-height: 1.55; }
.ll-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--muted); }

/* المقارنات */
.compare-grid { display: grid; gap: 12px; }
.compare-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; transition: border-color .15s; }
.compare-card:hover { border-color: var(--ink); }
.compare-cols { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.compare-cols span { padding: 4px 12px; border-radius: 8px; background: var(--surface); font-weight: 700; font-size: 14px; }
.compare-cols i { font-style: normal; font-size: 13px; color: var(--muted); }
.compare-title { font-weight: 700; font-size: 1.15rem; line-height: 1.5; }
.compare-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.compare-foot .more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; }
.compare-card[data-family="heritage"] { background: var(--ivory); border-color: #E1D8C5; color: var(--ink-e); }
.compare-card[data-family="heritage"] .compare-cols span { background: var(--emerald); color: var(--ivory); }

.cmp-wrap { margin-top: 24px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp thead { display: none; }
.cmp tbody tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 12px; overflow: hidden; }
.cmp tbody th { display: block; text-align: start; padding: 12px 16px; background: var(--surface); font-size: 15px; }
.cmp td { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); line-height: 1.7; }
.cmp td::before { content: attr(data-col); font-weight: 700; color: var(--muted); font-size: 14px; }
.verdict { margin-top: 24px; padding: 24px; border-radius: 20px; background: var(--accent); color: var(--accent-ink); }
.verdict h2 { font-size: 1rem; opacity: .85; margin-bottom: 6px; }
.verdict > p { font-size: clamp(1.1rem, 2.6vw, 1.3rem); font-weight: 500; line-height: 1.8; }
.verdict .btn-soft { background: rgba(255,255,255,.1); color: inherit; border-color: rgba(255,255,255,.3); }
.verdict .btn-primary { background: var(--white); color: var(--navy); }
[data-family="heritage"] .verdict .btn-primary { background: var(--gold); color: var(--deep); }
.detail-grid--after { margin-top: 16px; }

/* مساعد اختيار التأشيرة */
.helper { margin-top: 8px; padding: 24px; border-radius: 20px; border: 2px solid var(--accent); background: var(--card); }
.helper-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.helper-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.helper-head h2 { font-size: 1.35rem; }
.helper-head p { color: var(--muted); font-size: 15px; }
.helper-form { display: grid; gap: 20px; }
.helper-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.helper-form legend { font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; padding: 0; }
.helper-form legend b { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); font-size: 14px; }
.opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; line-height: 1.6; background: var(--bg); }
.opt:hover { border-color: var(--ink); }
.opt input { accent-color: var(--accent); width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--surface-soft); font-weight: 500; }
.helper-result { margin-top: 20px; padding: 20px; border-radius: 16px; background: var(--surface); display: grid; gap: 10px; animation: panel-in .18s cubic-bezier(.2,.8,.2,1); }
.helper-result h3 { font-size: 1.25rem; }
.helper-result .hr-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.helper-result .hr-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* العروض */
.offer-grid { display: grid; gap: 16px; margin-top: 16px; }
.offer { position: relative; border-radius: 20px; border: 1px solid var(--ice-line); background: var(--white); color: var(--navy); overflow: hidden; display: flex; flex-direction: column; }
.offer--heritage { background: var(--emerald); border-color: var(--emerald); color: var(--ivory); }
.offer-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.offer-head { display: flex; justify-content: space-between; align-items: center; }
.offer-kicker { font-size: 14px; font-weight: 700; color: var(--navy-70); }
.offer--heritage .offer-kicker { color: var(--gold); }
.offer-symbol { width: 44px; height: auto; }
.offer-icon { width: 36px; height: 36px; color: var(--navy); }
.offer h3 { font-size: 1.5rem; }
.offer-lines { margin: 0; display: grid; gap: 0; }
.offer-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ice-line); font-size: 15px; }
.offer--heritage .offer-lines div { border-top-color: rgba(210,180,119,.28); }
.offer-lines dt { color: var(--navy-70); }
.offer--heritage .offer-lines dt { color: #B9C7BF; }
.offer-lines dd { margin: 0; font-weight: 500; text-align: end; }
.offer-price { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--ice-soft); margin-top: auto; }
.offer--heritage .offer-price { background: var(--deep); }
.offer-price span { font-size: 14px; }
.offer-price strong { font-size: 15px; }
.route-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--ice); }
.iata { font-family: 'Manrope', var(--f); font-weight: 700; font-size: 1.7rem; letter-spacing: .04em; display: grid; line-height: 1.1; }
.iata small { font-family: var(--f); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--navy-70); margin-top: 4px; }
.iata:last-child { text-align: end; }
.route-dash { flex: 1; display: flex; align-items: center; gap: 6px; color: var(--navy); }
.route-dash::before, .route-dash::after { content: ''; flex: 1; border-top: 2px dashed var(--navy-70); opacity: .5; }
.route-dash .i { width: 26px; height: 26px; transform: rotate(90deg); }
.offer.is-example { border-style: dashed; border-width: 2px; }
.offer--heritage.is-example { border-color: rgba(210,180,119,.6); }
.example-ribbon {
  display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 13px; font-weight: 700; color: #5A4413;
  background: repeating-linear-gradient(-45deg, #FBF5E6 0 8px, #F1E4C2 8px 16px); border-bottom: 1px solid #D9C28E;
}
.example-ribbon .i { width: 16px; height: 16px; }
.empty-note { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface-soft); border: 1px solid var(--line); }
.empty-note > .i { margin-top: 4px; flex: none; }
.empty-note p { color: var(--muted); margin: 4px 0 12px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-note--heritage { background: var(--card); border-color: var(--line); }

/* العمرة */
.page-umrah { padding-top: 0; }
.umrah-hero { background: var(--emerald); color: var(--ivory); padding-block: 48px 56px; position: relative; overflow: hidden; margin-bottom: 16px; }
.umrah-hero .route { display: none; position: absolute; inset: auto 0 0 0; width: 100%; height: 74px; color: var(--gold); opacity: .28; pointer-events: none; }
.umrah-hero-in { position: relative; display: grid; gap: 28px; align-items: center; }
.umrah-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.25; }
.umrah-hero h1 span { display: block; color: var(--gold); }
.umrah-hero .lead { color: #DCE3DE; }
/* لوجو الحج والعمرة: حد أدنى 240px رقمي مع مساحة أمان */
.umrah-mark { width: 240px; height: auto; padding: 24px; box-sizing: content-box; margin-inline: -24px; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; }
.steps a { display: grid; grid-template-columns: 48px 1fr; gap: 2px 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; align-items: center; }
.steps a:hover { border-color: var(--ink); }
.steps a::before { content: counter(s); grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: var(--gold); font-family: 'Manrope', var(--f); font-weight: 700; font-size: 1.2rem; }
.st-title { font-weight: 700; font-size: 1.08rem; }
.st-desc { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* المكاتب */
.how { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.how li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); }
.how b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); flex: none; font-family: 'Manrope', var(--f); }
.filter-input { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding-inline: 12px; min-height: 46px; background: var(--card); width: 100%; max-width: 360px; }
.filter-input:focus-within { border-color: var(--ink); }
.filter-input input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; padding: 8px 0; }
.replies { display: grid; gap: 24px; }
.replies-group { display: grid; gap: 8px; }
.replies-h { font-size: 1.05rem; color: var(--muted); }
.reply { border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .15s; }
.reply[open] { border-color: color-mix(in srgb, var(--ink) 35%, var(--line)); }
.reply summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; font-weight: 700; line-height: 1.55; }
.reply summary::-webkit-details-marker { display: none; }
.reply summary::after { content: '+'; font-family: 'Manrope', var(--f); font-size: 22px; color: var(--muted); flex: none; width: 24px; text-align: center; transition: transform .18s; }
.reply[open] summary::after { content: '–'; }
.reply summary .badge { margin-inline-start: auto; }
.reply-body { padding: 0 16px 16px; display: grid; gap: 10px; }
.reply[open] .reply-body { animation: panel-in .18s cubic-bezier(.2,.8,.2,1); }
.reply-preview-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.reply-preview { padding: 14px 16px; border-radius: 12px; background: var(--surface-soft); line-height: 1.75; font-size: 15.5px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.reply-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.reply-meta .i { width: 15px; height: 15px; }
.reply-meta a { color: var(--ink); text-underline-offset: 3px; }
.reply-body .link-more { margin-top: 2px; }
.share--agent .btn[data-copy-alt] { flex: 0 1 auto; }

/* شريط إعدادات المكاتب (طول الرد + توقيع مهوى) */
.sig-bar { margin-bottom: 20px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface-soft); display: grid; gap: 12px; }
.sig-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.mode-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mode-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.mode-opt { position: relative; cursor: pointer; }
.mode-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-opt span { display: inline-flex; align-items: center; min-height: 38px; padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-size: 14px; font-weight: 700; color: var(--muted); transition: background-color .15s, border-color .15s, color .15s; }
.mode-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.mode-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.sig-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; position: relative; }
.sig-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sig-switch { width: 46px; height: 26px; border-radius: 999px; background: var(--line); flex: none; position: relative; transition: background-color .15s; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.sig-switch::after { content: ''; position: absolute; top: 2px; inset-inline-start: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.sig-toggle input:checked + .sig-switch { background: var(--accent); border-color: var(--accent); }
.sig-toggle input:checked + .sig-switch::after { transform: translateX(-20px); }
.sig-toggle input:focus-visible + .sig-switch { outline: 3px solid var(--focus); outline-offset: 2px; }
.sig-copy strong { font-size: 15px; }
.sig-hint { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.office-sig-panel { padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.office-sig-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.office-sig-actions button:disabled { opacity: .45; cursor: not-allowed; }

/* النماذج */
.form-section { display: grid; gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 20px; background: var(--card); padding: 22px; }
.wa-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); min-height: 50px; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }
.field-row { display: grid; gap: 14px; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg legend { font-weight: 500; font-size: 15px; margin-bottom: 6px; padding: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; text-align: center; }
.seg .i { width: 30px; height: 30px; }
.seg-symbol { width: 32px; height: auto; }
.seg input:checked + span { border-color: var(--accent); background: var(--surface); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.contact-direct { margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--surface-soft); border: 1px solid var(--line); display: grid; gap: 8px; justify-items: start; }
.contact-about-link { margin-top: 4px; }

.about-qa { display: grid; gap: 16px; margin-top: 8px; }
.about-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: grid; gap: 12px; }
.about-card h2 { font-size: 1.3rem; }
.about-two-col { display: grid; gap: 12px; }
.about-sub { padding: 16px; border-radius: 14px; background: var(--surface-soft); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.about-sub h3 { font-size: 1.05rem; }
.about-sub p { font-size: 15px; color: var(--muted); line-height: 1.75; }
.about-steps { list-style: none; counter-reset: astep; display: grid; gap: 10px; }
.about-steps li { counter-increment: astep; display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; align-items: baseline; }
.about-steps li::before { content: counter(astep); width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); color: var(--ink); font-family: 'Manrope', var(--f); font-weight: 700; font-size: 14px; }
.about-steps li strong { grid-column: 2; }

.prose { margin-top: 32px; display: grid; gap: 12px; justify-items: start; }
.prose h2 { margin-top: 12px; }
.legend--full { grid-template-columns: 1fr; }

/* ─────────── الفوتر ─────────── */
.site-footer { background: var(--navy); color: #D5E3EA; padding-block: 48px 24px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 200px; height: auto; padding: 20px; margin: -20px; box-sizing: content-box; }
.footer-brand p { margin-top: 20px; font-size: 15px; max-width: 42ch; }
.footer-h { font-size: 15px; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-wa { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f); font-weight: 700; font-size: 1rem; color: var(--white); padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); text-decoration: none; margin-bottom: 12px; }
.footer-wa--dark { color: var(--ink); border-color: var(--line); background: var(--card); }
.site-footer .fineprint { color: #A9C0CC; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: #A9C0CC; }

/* ─────────── تنبيه ─────────── */
.toast { position: fixed; inset-inline: 0; margin-inline: auto; bottom: calc(var(--dock-h) + 20px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 32px); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 12px; font-weight: 700; z-index: 60; font-size: 15px; box-shadow: 0 10px 24px rgba(10, 30, 42, .22); animation: toast-in .18s cubic-bezier(.2,.8,.2,1); }

/* ═══════════ الشاشات الأكبر ═══════════ */
@media (min-width: 640px) {
  :root { --pad: 28px; }
  .q-list--grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .legend { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .about-two-col { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .band-grid { grid-template-columns: auto 1fr; gap: 40px; }
  .band-symbol { width: 140px; }
  .umrah-hero-in { grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
  body { font-size: 18px; --dock-h: 0px; }
  .dock { display: none; }
  .brand img { width: 150px; }
  .search-trigger, .header-wa { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
  /* مساحة سفلية كافية للقوس بحيث يظل بعيدًا عن النص وخانة البحث دائمًا */
  .hero { padding-block: 64px 124px; }
  .hero .route { display: block; }
  .hero-focus { margin-inline: auto; text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero .lead { margin-inline: auto; }
  .hero .chips { justify-content: center; }
  .hero-agent-bar { width: fit-content; margin-inline: auto; }
  .home-split { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .topic-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .compare-split { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .agents-band { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .legend { grid-template-columns: repeat(3, 1fr); }
  .section { padding-block: 68px; }
  .section--compact { padding-block: 52px; }
  .band { padding-block: 72px; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
  .detail-side { position: sticky; top: 96px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-brand img { width: 380px; }
  .form-section { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
  .compare-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps a { grid-template-columns: 1fr; align-content: start; height: 100%; }
  .steps a::before { grid-row: auto; margin-bottom: 10px; }
  .umrah-hero { padding-block: 64px 104px; }
  .umrah-hero .route { display: block; }
  .umrah-mark { width: 280px; }
  .page { padding-block: 40px 96px; }
  .helper-form { grid-template-columns: repeat(3, 1fr); align-items: start; }

  /* الجدول الكامل */
  .cmp thead { display: table-header-group; }
  .cmp tbody tr { display: table-row; border: 0; margin: 0; background: none; }
  .cmp th, .cmp td { display: table-cell; padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; text-align: start; }
  .cmp td::before { content: none; }
  .cmp thead th { background: var(--accent); color: var(--accent-ink); font-size: 16px; border-top: 0; }
  .cmp thead th:first-child { border-start-start-radius: var(--radius); }
  .cmp thead th:last-child { border-start-end-radius: var(--radius); }
  .cmp tbody th { background: var(--surface-soft); width: 16%; display: table-cell; }
  .cmp tbody td { background: var(--card); }
  .cmp tbody tr:last-child th { border-end-start-radius: var(--radius); }
  .cmp tbody tr:last-child td:last-child { border-end-end-radius: var(--radius); }
  .cmp tbody td + td, .cmp tbody th + td { border-inline-start: 1px solid var(--line); }
  .cmp { border: 1px solid var(--line); border-radius: var(--radius); }
}

@media (min-width: 1100px) {
  .main-nav { display: flex; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .menu-btn { display: inline-grid; }
  .mobile-menu:not([hidden]) { display: block !important; }
}

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

@media print {
  .site-header, .dock, .site-footer, .share, .help-card, .search-dialog { display: none !important; }
  body { padding: 0; }
}
