/*
 * «رفقة» — Wafd Alrahman identity (#AD8F52, Thmanyah) on the soft, card-based language of the Nusuk app
 * (Saudi Digital Government design system: SA-flag green primary, gold secondary, lavender tertiary,
 *  neutral greys, IBM Plex Sans Arabic, 4px controls, 16px cards, soft elevation).
 */
@font-face { font-family: 'Thmanyah Sans'; src: url('/fonts/thmanyahsans-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('/fonts/thmanyahsans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('/fonts/thmanyahsans-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('/fonts/thmanyahsans-Bold.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Thmanyah Sans'; src: url('/fonts/thmanyahsans-Black.woff2') format('woff2'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'Thmanyah Display'; src: url('/fonts/thmanyahserifdisplay-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* brand · Wafd Alrahman gold #AD8F52 (the primary scale every view uses) */
  --primary-25: #FDFBF7; --primary-50: #FAF6EE; --primary-100: #F3EBDA; --primary-200: #E6D6B6; --primary-300: #D5BD8D;
  --primary-400: #C2A46D; --primary-500: #AD8F52; --primary-600: #96793F; --primary-700: #7C6333; --primary-800: #614D29;
  --primary-900: #4A3B20; --primary-950: #2B2213;
  --brand: #AD8F52;
  /* secondary · warm sand (Nusuk-app glow) */
  --gold-50: #FFFBF3; --gold-100: #FDF3E1; --gold-200: #F8E3BF; --gold-300: #F1CF94; --gold-400: #E9B96A; --gold-500: #DDA24A;
  --gold-600: #C98B35; --gold-700: #A06B25; --gold-800: #7A511D;
  /* tertiary · sage (small accents only) */
  --lav-50: #F3F7F3; --lav-100: #E4EEE5; --lav-200: #C9DCCB; --lav-500: #4F7A5A; --lav-700: #355540;
  /* neutrals · warm greys */
  --n-25: #FDFDFC; --n-50: #F7F6F3; --n-100: #F0EEEA; --n-200: #E5E2DC; --n-300: #D3CFC7; --n-400: #A39E94; --n-500: #75706A;
  --n-600: #57534D; --n-700: #403C37; --n-800: #29261F; --n-900: #1D1B17; --n-950: #121110; --black: #1D1B17;
  /* status */
  --ok: #2F6B45; --ok-bg: #EEF6F0; --ok-line: #C5DFCC;
  --warn: #9A5B12; --warn-bg: #FFF7EA; --warn-line: #F4D9A8;
  --danger: #B42318; --danger-bg: #FEF3F2; --danger-line: #FECDCA; --danger-solid: #D92D20;
  --info: #3D5A80; --info-bg: #F1F5FA; --info-line: #CCD9E8;

  /* semantic aliases (used across views) */
  --green: var(--primary-600); --green-2: var(--primary-700); --green-deep: var(--primary-950);
  --gold: var(--brand); --gold-soft: var(--primary-300); --gold-pale: var(--primary-100);
  --ivory: var(--n-50); --paper: #FFFFFF; --line: var(--n-200); --line-soft: var(--n-100);
  --ink: var(--black); --text: var(--n-700); --muted: var(--n-600); --faint: var(--n-500);
  --on-dark-1: rgba(255,255,255,.92); --on-dark-2: rgba(255,255,255,.72); --on-dark-accent: var(--primary-300);

  --radius-sm: 12px; --pill: 999px; --radius-md: 12px; --radius: 22px; --radius-xl: 32px;
  --shadow-xs: 0 1px 2px rgba(41,34,20,.05);
  --shadow-sm: 0 1px 2px rgba(41,34,20,.04), 0 2px 8px rgba(41,34,20,.04);
  --shadow-md: 0 4px 16px -4px rgba(41,34,20,.08), 0 2px 4px rgba(41,34,20,.04);
  --shadow-lg: 0 18px 40px -16px rgba(41,34,20,.16), 0 4px 10px -4px rgba(41,34,20,.06);
  --shadow-xl: 0 30px 60px -24px rgba(41,34,20,.22), 0 8px 16px -8px rgba(41,34,20,.08);
  --shadow: var(--shadow-lg);
  --focus: 0 0 0 2px #fff, 0 0 0 4px var(--brand);
  --font: 'Thmanyah Sans', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --display: 'Thmanyah Display', 'Thmanyah Sans', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--n-50); color: var(--text);
  line-height: 1.65; font-size: 16px; direction: rtl; text-align: right; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-600); text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
img { max-width: 100%; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
h1, h2, h3, h4 { color: var(--black); line-height: 1.3; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 600; letter-spacing: -.2px; }
h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; color: var(--n-800); }
p { margin: 0 0 .8em; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 14px; }
.eyebrow { color: var(--primary-600); font-weight: 600; font-size: 14px; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ── header ─────────────────────────────────────────────── */
.topbar { background: #fff; border-bottom: 1px solid var(--n-200); position: sticky; top: 0; z-index: 50; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); font-weight: 700; font-size: 20px; }
.brand img { height: 42px; width: auto; }
.brand .sep { width: 1px; height: 32px; background: var(--n-200); }
.brand small { display: block; font-size: 12px; color: var(--faint); font-weight: 400; }
.brand .mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--primary-600); color: #fff; font-size: 18px; }
.nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav a, .nav button.linklike { text-decoration: none; color: var(--n-700); padding: 0 12px; min-height: 40px; display: inline-flex; align-items: center; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; position: relative; }
.nav a:hover, .nav button.linklike:hover { background: var(--n-100); color: var(--black); }
.nav a.active { color: var(--primary-700); font-weight: 600; }
.nav a.active::after { content: ""; position: absolute; inset-inline: 12px; bottom: -16px; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary-600); }
.nav .who { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--n-600); font-size: 14px; }
.nav .who .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--primary-700); display: grid; place-items: center; font-weight: 700; border: 1px solid var(--primary-200); }
.linklike { background: none; border: 0; cursor: pointer; font: inherit; }

/* ── hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(115deg, #2B2213 0%, #4A3B20 50%, #7C6333 100%); }
.hero::before { /* eight-point geometric motif */
  content: ""; position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
}
.hero::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(173,143,82,.28), rgba(173,143,82,0) 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding: 80px 0 88px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 8px; }
.hero .eyebrow { color: var(--gold-400); }
.hero .tagline { font-size: clamp(20px, 2.6vw, 28px); font-weight: 500; margin-bottom: 16px; color: var(--gold-300); }
.hero p { color: var(--on-dark-1); font-size: 18px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(12px); }
.hero-card h3 { color: #fff; }
.hero-card li { margin-bottom: 8px; color: var(--on-dark-1); }

/* ── buttons (DGA: 4px radius, 40/48/56 heights) ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font: 600 16px/1.2 var(--font); padding: 12px 22px; border-radius: var(--pill); background: var(--primary-600); color: #fff; min-height: 48px;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn:hover { background: var(--primary-700); color: #fff; }
.btn:active { background: var(--primary-900); }
.btn.gold { background: var(--primary-600); }
.btn.gold:hover { background: var(--primary-700); }
.btn.secondary { background: var(--gold-600); color: var(--black); }
.btn.secondary:hover { background: var(--gold-700); color: #fff; }
.btn.ghost { background: #fff; color: var(--n-800); border-color: var(--n-300); box-shadow: var(--shadow-xs); }
.btn.ghost:hover { background: var(--n-50); color: var(--black); }
.btn.subtle { background: var(--primary-50); color: var(--primary-700); }
.btn.subtle:hover { background: var(--primary-100); }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.hero .btn.ghost:hover { background: rgba(255,255,255,.12); }
.hero .btn.gold, .hero .btn:not(.ghost) { background: #fff; color: var(--primary-800); }
.hero .btn:not(.ghost):hover { background: var(--primary-50); }
.btn.danger { background: var(--danger-solid); }
.btn.danger:hover { background: var(--danger); }
.btn.dark { background: var(--n-950); }
.btn.small { font-size: 14px; padding: 8px 14px; min-height: 40px; }
.btn.big { font-size: 18px; min-height: 56px; padding: 16px 28px; }
.btn.block { width: 100%; }
.btn:disabled, .btn[aria-disabled=true] { background: var(--n-200); color: var(--n-400); border-color: transparent; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── sections & cards ───────────────────────────────────── */
.section { padding: 72px 0; position: relative; }
.section.tight { padding: 40px 0; }
.section.white { background: #fff; border-block: 1px solid var(--n-200); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 17px; }
.glow { position: relative; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--n-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
a.card { color: inherit; transition: box-shadow .15s, border-color .15s; }
a.card:hover { box-shadow: var(--shadow-lg); border-color: var(--n-300); }
.card.glass { background: #fff; border-color: var(--n-200); box-shadow: var(--shadow-md); }
.card.tint { background: var(--primary-25); border-color: var(--primary-100); box-shadow: none; }
.card.dark { background: linear-gradient(135deg, var(--primary-950), var(--primary-800)); color: var(--on-dark-1); border: 0; box-shadow: var(--shadow-lg); }
.card.dark h3, .card.dark h2 { color: #fff; }
.card.dark a { color: var(--gold-300); }
.card h3 { margin-bottom: 6px; }
.card.accent { border-top: 4px solid var(--primary-600); }
.card.featured { border: 2px solid var(--primary-600); position: relative; box-shadow: var(--shadow-xl); }
.card.featured .ribbon { position: absolute; top: -13px; inset-inline-start: 20px; background: var(--primary-600); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-700); border: 1px solid var(--primary-100); margin-bottom: 14px; }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.gold { background: var(--gold-50); color: var(--gold-700); border-color: var(--gold-200); }
.icon-tile.lav { background: var(--lav-50); color: var(--lav-500); border-color: var(--lav-100); }
.price { font-size: 36px; font-weight: 700; color: var(--black); line-height: 1.1; }
.price small { font-size: 16px; color: var(--faint); font-weight: 400; }
.list-tick { list-style: none; padding: 0; margin: 12px 0 0; }
.list-tick li { padding: 5px 0; padding-inline-start: 28px; position: relative; color: var(--n-700); }
.list-tick li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231B8354' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/14px no-repeat; border: 1px solid var(--primary-200); }
.card.dark .list-tick li, .hero .list-tick li { color: var(--on-dark-1); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--n-50); color: var(--n-700); border: 1px solid var(--n-200); line-height: 1.6; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.green { background: var(--primary-50); color: var(--primary-700); border-color: var(--primary-200); }
.pill.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.pill.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.pill.danger { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.pill.info { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.pill.lav { background: var(--lav-50); color: var(--lav-500); border-color: var(--lav-200); }
.pill.muted { background: var(--n-100); color: var(--n-500); border-color: var(--n-200); }
.kpi { font-size: 34px; font-weight: 700; color: var(--black); line-height: 1.15; }
.kpi small { font-size: 15px; font-weight: 400; }
.kpi-label { color: var(--muted); font-size: 14px; margin-top: 4px; }
.kpi-card { position: relative; }
.kpi-card .trend { position: absolute; top: 20px; inset-inline-end: 20px; }
.card.alert-card { border-color: var(--danger-line); background: linear-gradient(0deg, #fff, var(--danger-bg)); }
.bar { height: 8px; background: var(--n-100); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.bar > span { display: block; height: 100%; background: var(--primary-600); border-radius: 999px; }
.bar.gold > span { background: var(--gold-500); }
.bar.warn > span { background: var(--danger-solid); }
.card.dark .bar { background: rgba(255,255,255,.15); }

/* ── forms (DGA form field) ─────────────────────────────── */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; color: var(--n-800); }
label .opt { color: var(--faint); font-weight: 400; font-size: 13px; }
input:not([type]), input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], select, textarea {
  width: 100%; font: 16px var(--font); padding: 10px 14px; border: 1px solid var(--n-300); border-radius: var(--radius-sm); background: #fff; color: var(--black); min-height: 48px; box-shadow: var(--shadow-xs);
  transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: var(--n-400); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 4px var(--primary-100); }
input::placeholder, textarea::placeholder { color: var(--n-400); }
input[aria-invalid=true] { border-color: var(--danger-solid); }
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--n-800); margin-bottom: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary-600); flex: 0 0 auto; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice .card { cursor: pointer; height: 100%; transition: border-color .15s, box-shadow .15s, background-color .15s; box-shadow: none; }
.choice .card:hover { border-color: var(--n-400); }
.choice input:checked + .card { border: 2px solid var(--primary-600); background: var(--primary-25); box-shadow: 0 0 0 4px var(--primary-100); }
.choice input:focus-visible + .card { box-shadow: var(--focus); }
fieldset { border: 0; padding: 0; margin: 0 0 32px; }
legend { font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
legend .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-600); color: #fff; font-size: 15px; font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--n-200); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.summary { position: sticky; top: 96px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--n-200); font-size: 15px; }
.summary .total { font-size: 22px; font-weight: 700; color: var(--black); display: flex; justify-content: space-between; padding-top: 12px; }
.hint { font-size: 13px; color: var(--faint); margin-top: 6px; }
.errors, .notice { border-radius: var(--radius-md); padding: 12px 16px; margin-bottom: 16px; border: 1px solid; border-inline-start-width: 4px; font-size: 15px; }
.errors { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); border-inline-start-color: var(--danger-solid); }
.errors ul { margin: 0; padding-inline-start: 18px; }
.notice { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); border-inline-start-color: var(--primary-600); }
.notice.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); border-inline-start-color: var(--gold-600); }
.notice.info { background: var(--info-bg); color: var(--info); border-color: var(--info-line); border-inline-start-color: var(--info); }

/* ── tables ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; max-width: 100%; background: #fff; border: 1px solid var(--n-200); border-radius: 12px; box-shadow: var(--shadow-xs); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--n-200); vertical-align: top; }
th { background: var(--n-50); color: var(--n-600); font-weight: 500; font-size: 13px; white-space: nowrap; }
td { color: var(--n-800); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--n-25); }

/* ── stepper / timeline ─────────────────────────────────── */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 44px 20px 0; }
.timeline li::before { content: ""; position: absolute; right: 15px; top: 32px; bottom: 2px; width: 2px; background: var(--n-200); border-radius: 2px; }
.timeline li.done::before { background: var(--primary-500); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; right: 2px; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--n-300); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--n-500); }
.timeline li.done .dot { background: var(--primary-600); border-color: var(--primary-600); color: #fff; font-size: 0; }
.timeline li.done .dot::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px,-1px); }
.timeline li.now .dot { background: #fff; border-color: var(--primary-600); color: var(--primary-700); box-shadow: 0 0 0 5px var(--primary-100); }
.timeline .t-name { font-weight: 600; color: var(--black); }
.timeline li:not(.done):not(.now) .t-name { color: var(--n-500); font-weight: 500; }
.timeline .t-time { font-size: 13px; color: var(--faint); }

/* ── horizontal journey (home) ──────────────────────────── */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; }
.journey .step { position: relative; padding: 0 8px 0 16px; }
.journey .step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--primary-600); color: var(--primary-700); font-weight: 700; position: relative; z-index: 1; }
.journey .step::before { content: ""; position: absolute; top: 19px; right: 40px; left: -8px; height: 2px; background: var(--primary-200); }
.journey .step:last-child::before { display: none; }
.journey .step.field .n { background: var(--primary-600); color: #fff; }
.journey .step h4 { margin: 12px 0 4px; font-size: 16px; color: var(--black); }
.journey .step p { font-size: 14px; color: var(--muted); }

/* ── app shell (portals) ────────────────────────────────── */
.page-head { padding: 32px 0 12px; }
.page-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.page-head .btn-row { margin-top: 12px; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 6px; }
.crumbs a { color: var(--faint); text-decoration: none; }
.stack > * + * { margin-top: 16px; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.map { height: 340px; border-radius: 12px; border: 1px solid var(--n-200); background: var(--n-100); }
.feed { list-style: none; padding: 0; margin: 0; }
.feed li { padding: 12px 0; border-bottom: 1px solid var(--n-100); }
.feed li:last-child { border: 0; }
.feed time { display: block; font-size: 13px; color: var(--faint); }
.big-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { display: none; }
.stars label { font-size: 32px; color: var(--n-300); cursor: pointer; margin: 0; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--gold-500); }
.alert-list { list-style: none; padding: 0; margin: 0; }
.alert-list li { margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.medical { background: var(--danger-bg); border: 1px solid var(--danger-line); border-radius: 12px; padding: 16px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--faint); font-size: 14px; }
.kv dd { margin: 0; font-weight: 500; color: var(--n-800); }
.card.dark .kv dd { color: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--n-200); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--n-600); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active, .tabs a:hover { color: var(--primary-700); border-bottom-color: var(--primary-600); }

/* ── checkout ───────────────────────────────────────────── */
.pay-shell { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.pay-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.pay-methods label { margin: 0; }
.pay-methods input { position: absolute; opacity: 0; }
.pay-methods .m { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; border: 1px solid var(--n-300); border-radius: var(--radius-md); background: #fff; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--n-700); transition: all .15s; text-align: center; padding: 8px; }
.pay-methods .m:hover { border-color: var(--n-400); }
.pay-methods input:checked + .m { border: 2px solid var(--primary-600); background: var(--primary-25); color: var(--primary-800); box-shadow: 0 0 0 4px var(--primary-100); }
.pay-methods input:focus-visible + .m { box-shadow: var(--focus); }
.brand-badge { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 8px; border-radius: 5px; font: 700 12px/1 Arial, sans-serif; letter-spacing: .2px; }
.brand-badge.mada { background: #fff; border: 1px solid var(--n-300); color: #259bd6; }
.brand-badge.mada b { color: #84b740; }
.brand-badge.visa { background: #1a1f71; color: #fff; font-style: italic; }
.brand-badge.mc { background: #fff; border: 1px solid var(--n-300); gap: 0; padding: 0 6px; }
.brand-badge.mc i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.brand-badge.mc i:first-child { background: #eb001b; } .brand-badge.mc i:last-child { background: #f79e1b; margin-inline-start: -5px; opacity: .9; }
.brand-badge.apple { background: #000; color: #fff; font-family: -apple-system, 'Segoe UI', sans-serif; }
.brand-badge.stc { background: #4f008c; color: #fff; }
.pay-panel { display: none; }
.pay-panel.on { display: block; }
.card-input { position: relative; }
.card-input .detected { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.card-input input { padding-left: 14px; padding-right: 76px; letter-spacing: 1px; direction: ltr; text-align: left; }
input.ltr { direction: ltr; text-align: left; }
.secure-note { display: flex; gap: 10px; align-items: center; color: var(--n-600); font-size: 13px; margin-top: 14px; }
.secure-note svg { width: 18px; height: 18px; color: var(--primary-600); flex: 0 0 auto; }
.order-box .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--n-100); font-size: 15px; }
.order-box .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; font-weight: 700; font-size: 18px; color: var(--black); }
.order-box .total strong { font-size: 28px; }
.apple-btn { width: 100%; min-height: 52px; border-radius: 8px; background: #000; color: #fff; border: 0; font: 600 18px -apple-system, 'Segoe UI', sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.apple-sheet { position: fixed; inset: 0; background: rgba(12,17,27,.55); display: none; align-items: flex-end; justify-content: center; z-index: 100; }
.apple-sheet.on { display: flex; }
.apple-sheet .sheet { background: #f2f2f7; width: min(440px, 100%); border-radius: 16px 16px 0 0; padding: 20px; direction: ltr; text-align: left; font-family: -apple-system, 'Segoe UI', sans-serif; color: #000; animation: up .25s ease-out; }
.apple-sheet .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #d1d1d6; font-size: 15px; }
.apple-sheet .faceid { text-align: center; padding: 18px 0 6px; color: #007aff; font-size: 15px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.otp { display: flex; justify-content: center; }
.otp input { width: 100%; max-width: 300px; min-height: 64px; text-align: center; direction: ltr; font: 600 30px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 14px; padding: 0 0 0 14px; }
.otp input::placeholder { letter-spacing: 14px; color: var(--n-300); }
.bank-frame { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--n-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xl); }
.bank-frame .bf-head { background: var(--n-50); border-bottom: 1px solid var(--n-200); padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--n-600); }
.bank-frame .bf-body { padding: 28px 24px; }
.spinner { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.receipt { max-width: 560px; margin: 0 auto; }
.receipt .check-big { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-50); border: 1px solid var(--primary-200); display: grid; place-items: center; margin: 0 auto 14px; color: var(--primary-600); }
.receipt .check-big svg { width: 36px; height: 36px; }
.receipt .perf { border-top: 2px dashed var(--n-200); margin: 18px -24px; }

/* ── footer ─────────────────────────────────────────────── */
.footer { background: var(--primary-950); color: var(--on-dark-2); padding: 48px 0 28px; margin-top: 72px; font-size: 14px; }
.footer a { color: #fff; }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer img { height: 52px; background: #fff; border-radius: 8px; padding: 6px; }
.footer .legal { width: 100%; border-top: 1px solid rgba(255,255,255,.12); margin-top: 12px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ── senior-friendly pages (consent, رفقتي) ─────────────── */
.senior { font-size: 21px; }
.senior h1 { font-size: 32px; }
.senior input[type=text] { font-size: 30px; letter-spacing: 8px; text-align: center; min-height: 70px; }
.senior .btn { font-size: 20px; min-height: 60px; }
.senior .check { font-size: 20px; }
.senior .check input { width: 28px; height: 28px; }

/* ── print card ─────────────────────────────────────────── */
@media print { .topbar, .footer, .no-print { display: none !important; } body { background: #fff; } }
.print-card { width: 86mm; min-height: 54mm; border: 1px solid #ccc; border-radius: 4mm; padding: 4mm; background: #fff; display: inline-block; vertical-align: top; margin: 4mm; font-size: 11pt; border-top: 3mm solid var(--primary-600); }

@media (max-width: 900px) {
  .hero .wrap, .split, .g2, .g3, .g4, .g5, .choice-grid, .pay-shell { grid-template-columns: 1fr; }
  .g4.keep, .g5.keep { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; gap: 16px; }
  .journey .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 0; }
  .journey .step h4 { margin-top: 6px; } .journey .step p { grid-column: 2; }
  .journey .step::before { top: 40px; bottom: -16px; right: 19px; left: auto; width: 2px; height: auto; }
  .pay-methods { grid-template-columns: repeat(2, 1fr); }
  .summary { position: static; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; right: 0; left: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px; border-bottom: 1px solid var(--n-200); box-shadow: var(--shadow-lg); }
  .nav a.active::after { display: none; }
  .menu-btn { display: inline-flex !important; }
  .hero .wrap { padding: 56px 0 64px; }
  .section { padding: 52px 0; }
  .form-card { padding: 20px; }
}
.menu-btn { display: none; }
.grid > *, .split > *, .stack > *, .pay-shell > * { min-width: 0; }

/* ═══ Landing page (public) ═══ */
.nav a.btn { color: #fff; }
.lp section { scroll-margin-top: 84px; }
.btn.ink { background: var(--n-900); color: #fff; }
.btn.ink:hover { background: #000; color: #fff; }
.btn.soft { background: #fff; color: var(--n-900); border-color: var(--n-200); box-shadow: var(--shadow-xs); }
.btn.soft:hover { background: var(--n-100); color: var(--n-900); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(-4px); }

.lp-hero { position: relative; overflow: hidden; padding: 64px 0 56px;
  background: radial-gradient(1100px 520px at 85% -10%, #F3E3C3 0%, rgba(243,227,195,0) 60%),
              radial-gradient(800px 460px at 0% 15%, #EFE6D4 0%, rgba(239,230,212,0) 55%), var(--n-50); }
.lp-hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--n-200); border-radius: 999px; padding: 6px 16px 6px 12px; font-size: 14px; color: var(--n-700); box-shadow: var(--shadow-xs); }
.lp-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--primary-100); }
.lp-hero h1 { font-size: clamp(42px, 6.4vw, 82px); line-height: 1.1; margin: 20px 0 14px; }
.lp-hero h1 span { color: var(--brand); }
.lp-hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--n-600); max-width: 560px; line-height: 1.8; }
.lp-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.lp-hero .trust { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; color: var(--n-600); font-size: 14px; }
.lp-hero .trust b { display: block; font-size: 24px; color: var(--black); font-weight: 700; }

.lp-visual { position: relative; min-height: 470px; }
.lp-star { position: absolute; top: 10px; right: 30px; width: min(420px, 88%); aspect-ratio: 1; }
.lp-star .shape { position: absolute; inset: 0; background: linear-gradient(160deg, #CDB483, #AD8F52 55%, #846A37); clip-path: polygon(50% 0%, 61% 15%, 79% 9%, 82% 28%, 100% 34%, 90% 50%, 100% 66%, 82% 72%, 79% 91%, 61% 85%, 50% 100%, 39% 85%, 21% 91%, 18% 72%, 0% 66%, 10% 50%, 0% 34%, 18% 28%, 21% 9%, 39% 15%); }
.lp-star .shape::after { content: ""; position: absolute; inset: 0; opacity: .2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E"); background-size: 48px; }
.lp-star .word { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; font-family: var(--display); font-size: clamp(44px, 5vw, 68px); line-height: 1; }
.lp-star .word small { display: block; font-family: var(--font); font-size: 15px; opacity: .9; margin-top: 12px; }
.lp-float { position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border: 1px solid #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--n-600); animation: floaty 6s ease-in-out infinite; }
.lp-float b { display: block; color: var(--black); font-size: 15px; }
.lp-float .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--brand); flex: 0 0 auto; }
.lp-float .ico svg { width: 22px; height: 22px; }
.lp-float.f1 { bottom: 80px; right: 0; }
.lp-float.f2 { top: 36px; left: 0; animation-delay: -2s; }
.lp-float.f3 { bottom: 0; left: 60px; animation-delay: -4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lp-float { animation: none; } }

.lp-sec { padding: 88px 0; }
.lp-sec.white { background: #fff; }
.lp-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.lp-head .kicker { display: inline-block; color: var(--primary-600); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.lp-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.lp-head p { color: var(--n-600); font-size: 18px; margin: 0; }

/* about */
.lp-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.lp-about .story { background: linear-gradient(160deg, #2B2213, #4A3B20); color: #fff; border-radius: var(--radius-xl); padding: 44px; position: relative; overflow: hidden; }
.lp-about .story::after { content: ""; position: absolute; width: 380px; height: 380px; left: -130px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(173,143,82,.6), rgba(173,143,82,0) 70%); }
.lp-about .story .kicker { color: #D9C49A; font-weight: 700; font-size: 14px; }
.lp-about .story h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-top: 8px; }
.lp-about .story p { color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.9; position: relative; z-index: 1; }
.lp-about .story .sig { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.lp-about .story .sig span { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.lp-who { display: grid; gap: 14px; }
.lp-who .item { background: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 18px; align-items: center; border: 1px solid var(--n-200); transition: transform .2s, box-shadow .2s; }
.lp-who .item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.lp-who .item .ico, .move .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-50); color: var(--brand); flex: 0 0 auto; }
.lp-who .item .ico svg, .move .ico svg { width: 28px; height: 28px; }
.lp-who .item h3 { margin: 0 0 2px; font-size: 19px; }
.lp-who .item p { margin: 0; color: var(--n-600); }

/* packages */
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border-radius: var(--radius-xl); padding: 30px 28px; border: 1px solid var(--n-200); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.plan .tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--primary-50); color: var(--primary-700); }
.plan h3 { font-family: var(--display); font-size: 30px; margin: 14px 0 4px; }
.plan .for { color: var(--n-600); margin: 0 0 18px; min-height: 3.3em; }
.plan .amt { display: flex; align-items: baseline; gap: 8px; padding: 18px 0; border-block: 1px dashed var(--n-200); }
.plan .amt b { font-size: 48px; line-height: 1; color: var(--black); font-weight: 700; }
.plan .amt span { color: var(--n-500); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.plan li { padding: 7px 0; padding-inline-start: 32px; position: relative; color: var(--n-800); }
.plan li::before, .lp-give li::before { content: ""; position: absolute; inset-inline-start: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23AD8F52' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan.pro { background: linear-gradient(170deg, #3B2E18 0%, #2B2213 100%); border: 0; box-shadow: var(--shadow-xl); }
.plan.pro h3, .plan.pro .amt b, .plan.pro li { color: #fff; }
.plan.pro .for, .plan.pro .amt span { color: rgba(255,255,255,.72); }
.plan.pro .amt { border-color: rgba(255,255,255,.18); }
.plan.pro .tag { background: var(--brand); color: #fff; }
.plan.pro li::before { background-color: rgba(255,255,255,.12); }

.lp-addons { margin-top: 24px; background: #fff; border: 1px solid var(--n-200); border-radius: var(--radius-xl); padding: 26px 28px; }
.lp-addons .ah { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.lp-addons .ah h3 { margin: 0; font-size: 20px; }
.lp-addons .ah span { color: var(--n-500); font-size: 14px; }
.lp-addons .list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.addon { border-radius: 20px; background: var(--n-50); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; transition: background .2s; }
.addon:hover { background: var(--primary-25); }
.addon .ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--brand); box-shadow: var(--shadow-xs); }
.addon .ico svg { width: 22px; height: 22px; }
.addon b { color: var(--black); font-size: 15px; line-height: 1.45; flex: 1; }
.addon span { color: var(--primary-700); font-weight: 700; font-size: 15px; }
.addon span small { color: var(--n-500); font-weight: 400; }

/* journey */
.lp-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.phase { background: #fff; border-radius: var(--radius-xl); padding: 30px; border: 1px solid var(--n-200); }
.phase.field { background: linear-gradient(170deg, #FBF6EC, #F3E8D2); border-color: var(--primary-100); }
.phase .ph-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.phase .ph-h h3 { margin: 0; font-family: var(--display); font-size: 24px; }
.phase .ph-h span { font-size: 13px; color: var(--n-600); background: var(--n-50); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.phase.field .ph-h span { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; right: 21px; top: 26px; bottom: 26px; width: 2px; background: var(--primary-100); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 10px 0; position: relative; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--primary-200); color: var(--primary-700); font-weight: 700; z-index: 1; }
.phase.field .steps .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps b { display: block; color: var(--black); font-size: 17px; }
.steps p { margin: 2px 0 0; color: var(--n-600); font-size: 15px; }

/* transport */
.lp-move { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.move { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--n-200); display: flex; gap: 16px; align-items: flex-start; }
.move h3 { margin: 0 0 4px; font-size: 18px; }
.move p { margin: 0; color: var(--n-600); font-size: 15px; }

/* hotels */
.lp-hotels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.hotel { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 420px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-md); isolation: isolate; transition: transform .25s, box-shadow .25s; background: #3B2E18; }
.hotel .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .6s; }
.hotel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,8,.05) 20%, rgba(20,15,8,.55) 55%, rgba(20,15,8,.94) 100%); }
.hotel:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.hotel:hover .bg { transform: scale(1.06); }
.hotel .logo { position: absolute; top: 14px; right: 14px; background: #fff; border-radius: 14px; padding: 6px 10px; height: 48px; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.hotel .logo img { max-height: 36px; max-width: 110px; object-fit: contain; }
.hotel .logo.txt { font-size: 12px; font-weight: 700; color: var(--n-900); line-height: 1.2; text-align: center; }
.hotel .body { padding: 20px; }
.hotel h3 { color: #fff; font-size: 18px; margin: 0 0 8px; line-height: 1.4; }
.hotel .meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; margin-bottom: 14px; }
.hotel .meta span { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border-radius: 999px; padding: 3px 10px; }
.hotel .price { font-size: 13px; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.22); padding-top: 12px; color: rgba(255,255,255,.8); }
.hotel .price b { font-size: 22px; font-weight: 700; color: #fff; }

/* platform */
.lp-platform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: #fff; border-radius: var(--radius-xl); padding: 30px; border: 1px solid var(--n-200); }
.feat .ico { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(150deg, #CDB483, var(--brand)); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(173,143,82,.9); }
.feat .ico svg { width: 28px; height: 28px; }
.feat h3 { font-size: 21px; margin-bottom: 8px; }
.feat p { color: var(--n-600); margin: 0; }
.feat.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: linear-gradient(120deg, #FBF6EC, #fff 70%); }
.feat .mini { display: grid; gap: 10px; }
.feat .mini div { background: #fff; border: 1px solid var(--n-200); border-radius: 16px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--n-800); }
.feat .mini i { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: 0 0 auto; box-shadow: 0 0 0 4px var(--primary-50); }
.feat .mini i.done { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.feat .mini i.next { background: var(--n-300); box-shadow: 0 0 0 4px var(--n-100); }
.feat .mini small { margin-inline-start: auto; color: var(--n-500); }

/* commitments (Nusuk "منجزات" layout) */
.lp-stats { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; }
.lp-stats .art { min-height: 480px; border-radius: var(--radius-xl); position: relative; overflow: hidden; background: url('/img/hotels/swissotel.jpg?v=2') center 30%/cover; }
.lp-stats .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(173,143,82,.1), rgba(43,34,19,.75)); }
.lp-stats .art .q { position: absolute; z-index: 1; bottom: 28px; right: 28px; left: 90px; color: #fff; font-family: var(--display); font-size: 26px; line-height: 1.45; }
.lp-stats .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-inline-start: -70px; position: relative; z-index: 1; }
.stat { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--n-100); }
.stat b { display: block; font-size: 46px; font-weight: 700; color: var(--black); line-height: 1.1; }
.stat b em { font-style: normal; color: var(--brand); }
.stat span { color: var(--n-600); font-size: 15px; }

/* sponsorship */
.lp-give { border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; background: linear-gradient(130deg, #2B2213 0%, #4A3B20 60%, #7C6333 100%); color: #fff; }
.lp-give .txt { padding: 56px 52px; }
.lp-give .kicker { color: #D9C49A; font-weight: 700; font-size: 14px; }
.lp-give h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin-top: 8px; }
.lp-give p { color: rgba(255,255,255,.84); font-size: 19px; line-height: 1.85; }
.lp-give ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.lp-give li { position: relative; padding-inline-start: 34px; color: #fff; }
.lp-give li::before { top: 2px; background-color: rgba(255,255,255,.14); }
.lp-give .side { position: relative; display: grid; place-items: center; padding: 40px; }
.lp-give .side .lp-star { position: relative; top: auto; right: auto; width: min(320px, 85%); }
.lp-give .side .lp-star .word { font-size: 34px; }
.lp-give .btn { background: #fff; color: var(--primary-900); }
.lp-give .btn:hover { background: var(--primary-50); }
.lp-give .btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.lp-give .btn.line:hover { background: rgba(255,255,255,.1); }

/* faq */
.lp-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq details { background: #fff; border: 1px solid var(--n-200); border-radius: 20px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.lp-faq details[open] { box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 18px; color: var(--black); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-50); color: var(--brand); display: grid; place-items: center; font-size: 22px; font-weight: 400; flex: 0 0 auto; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { color: var(--n-600); margin: 0 0 22px; line-height: 1.9; }

.lp-final { text-align: center; padding: 72px 0 8px; }
.lp-final h2 { font-size: clamp(32px, 4.4vw, 54px); }
.lp-final p { color: var(--n-600); font-size: 19px; margin-bottom: 26px; }

/* coming-soon sheet */
.soon { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(18,17,16,.45); backdrop-filter: blur(4px); }
.soon.on { display: flex; animation: fade .2s ease-out; }
.soon .sheet { background: #fff; border-radius: 28px; width: min(420px, 100%); padding: 18px 28px 24px; text-align: center; box-shadow: var(--shadow-xl); animation: rise .28s cubic-bezier(.2,.8,.2,1); }
.soon .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--n-200); margin: 0 auto 22px; }
.soon .ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--primary-50); color: var(--brand); border: 1px solid var(--primary-100); }
.soon .ic svg { width: 36px; height: 36px; }
.soon h3 { font-family: var(--display); font-size: 30px; margin-bottom: 6px; }
.soon p { color: var(--n-600); font-size: 17px; margin: 0 0 22px; line-height: 1.8; }
.soon .btn { width: 100%; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 640px) { .soon { align-items: flex-end; padding: 0; } .soon .sheet { border-radius: 28px 28px 0 0; width: 100%; padding-bottom: 32px; } }

@media (max-width: 1100px) {
  .lp-hotels { grid-template-columns: repeat(3, 1fr); }
  .lp-addons .list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .lp-hero .wrap, .lp-about, .lp-plans, .lp-phases, .lp-move, .lp-platform, .lp-stats, .lp-give { grid-template-columns: 1fr; }
  .lp-hero { padding-top: 32px; }
  .lp-visual { min-height: 380px; }
  .lp-star { right: 50%; transform: translateX(50%); width: min(330px, 80%); }
  .lp-float.f1 { right: 0; bottom: 20px; } .lp-float.f2 { top: 0; left: 0; } .lp-float.f3 { display: none; }
  .lp-hotels { grid-template-columns: repeat(2, 1fr); }
  .hotel { min-height: 340px; }
  .lp-addons .list { grid-template-columns: repeat(2, 1fr); }
  .feat.wide { grid-template-columns: 1fr; }
  .lp-stats .cards { margin: -90px 14px 0; }
  .lp-stats .art { min-height: 320px; }
  .lp-stats .art .q { bottom: auto; top: 26px; left: 26px; font-size: 22px; }
  .lp-give .txt { padding: 36px 24px; } .lp-give .side { display: none; }
  .lp-sec { padding: 64px 0; }
  .lp-about .story { padding: 30px 24px; }
  .plan .for { min-height: 0; }
}
@media (max-width: 560px) {
  .lp-hotels { grid-template-columns: 1fr; }
  .stat { padding: 18px; }
  .lp-addons .list { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 32px; }
  .lp-hero .trust { gap: 18px; }
}

/* footer contact + social */
.footer .wrap { align-items: flex-start; }
.footer .f-title { display: block; color: #fff; font-size: 17px; font-family: var(--display); margin-bottom: 12px; }
.footer .f-contact { display: grid; gap: 10px; }
.footer .f-row { display: flex; align-items: center; gap: 10px; color: var(--on-dark-1, rgba(255,255,255,.85)); text-decoration: none; }
.footer a.f-row:hover { color: #fff; }
.footer .f-ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #D9C49A; display: grid; place-items: center; flex: 0 0 auto; }
.footer .f-ic svg { width: 17px; height: 17px; }
.footer .f-icons { display: flex; gap: 8px; }
.footer .s-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: default; transition: background .2s; }
.footer .s-ic:hover { background: var(--brand); }
.footer .s-ic svg { width: 19px; height: 19px; }
.footer .f-dev { color: rgba(255,255,255,.7); }
.footer .f-dev b { color: #fff; font-weight: 600; }
.footer .f-dev a { color: #D9C49A; }
.footer .f-dev a.f-soon-link { text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
