/* Layout: right-aligned Arabic column on a 1120px grid; quiet white page, one blue band for the single action (register). */
:root {
  /* Color — brand blue darkened to pass 4.5:1, gold kept for ornament, sand from the brand kit */
  --bg: #FFFFFF;
  --surface: #F6F3EC;          /* sand tint, from brand #E8DECC */
  --surface-blue: #E9F2F6;
  --ink: #2B302B;              /* from brand #353935, 12.9:1 */
  --ink-soft: #5A615A;         /* 6.3:1 */
  --line: #E3DDD0;
  --blue: #226F94;             /* 5.57:1 on white */
  --blue-strong: #1B5C7B;
  --on-blue: #FFFFFF;
  --gold: #B19055;             /* ornament only */
  --gold-text: #86692F;        /* 5.15:1 */

  /* Type — six sizes only */
  --font: "Cairo", "Segoe UI", Tahoma, "Geeza Pro", sans-serif;
  --fs-label: 15px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-title: 24px;
  --fs-h2: clamp(32px, 4.4vw, 44px);
  --fs-h1: clamp(40px, 6.4vw, 64px);

  /* Spacing — 8px grid */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px;

  /* Motion — one curve, one duration */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 200ms;
  --radius: 16px;
}
:root { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; text-wrap: balance; font-weight: 800; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.wrap {
  max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { padding-block: var(--s12); }
section + section { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-size: var(--fs-label); font-weight: 700; color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head { display: grid; gap: var(--s2); max-width: 640px; margin-bottom: var(--s6); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lead); color: var(--ink-soft); }

/* Buttons — 48px tall, above the 44pt minimum */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 12px 24px; border-radius: 12px;
  font: 700 var(--fs-body)/1 var(--font); text-decoration: none;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-strong); }
.btn-quiet { color: var(--blue); border: 1.5px solid var(--line); }
.btn-quiet:hover { border-color: var(--blue); }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.header-row { display: flex; align-items: center; gap: var(--s4); min-height: 72px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; gap: var(--s1); margin-inline-start: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px;
  font-size: var(--fs-label); font-weight: 600; text-decoration: none; color: var(--ink-soft); border-radius: 8px;
  transition: color var(--dur) var(--ease);
}
.nav a:hover { color: var(--ink); }
.lang { font-size: var(--fs-label); font-weight: 700; color: var(--gold-text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 8px; }
.header-cta { min-height: 44px; padding: 10px 20px; font-size: var(--fs-label); }
.menu { display: none; margin-inline-start: auto; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; padding-inline: 16px;
  display: inline-flex; align-items: center; gap: var(--s1); font-weight: 700; font-size: var(--fs-label);
  border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px));
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s1); display: grid; box-shadow: 0 16px 48px rgb(0 0 0 / 0.12);
}
.menu-panel a { min-height: 48px; display: flex; align-items: center; padding-inline: var(--s2); text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu-panel a:hover { background: var(--surface); }
@media (max-width: 880px) {
  .nav, .header-row > .lang, .header-row > .header-cta { display: none; }
  .menu { display: block; }
  .logo img { height: 40px; }
}

/* Hero */
.hero { padding-block: var(--s8) var(--s12); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s8); align-items: center; }
.hero-copy { display: grid; gap: var(--s3); min-width: 0; }
.hero h1 { font-size: var(--fs-h1); color: var(--ink); }
.hero h1 span { color: var(--blue); }
.hero .lead { font-size: var(--fs-title); font-weight: 400; color: var(--ink-soft); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.hero-contact { display: flex; flex-wrap: wrap; gap: var(--s3); font-size: var(--fs-label); color: var(--ink-soft); }
.hero-contact a { text-decoration: none; font-weight: 600; color: var(--ink); }
.arch {
  aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);  /* mihrab arch */
  outline: 1px solid var(--line); outline-offset: 12px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .arch { aspect-ratio: 4 / 3; border-radius: 200px 200px var(--radius) var(--radius); max-width: 520px; }
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
.about-copy { display: grid; gap: var(--s3); min-width: 0; }
.about-copy h2 { font-size: var(--fs-h2); }
.about-copy p { font-size: var(--fs-lead); color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin-top: var(--s1); }
.fact { padding-top: var(--s2); border-top: 2px solid var(--gold); }
.fact b { display: block; font-size: var(--fs-h2); font-weight: 800; color: var(--blue); line-height: 1.2; font-variant-numeric: tabular-nums; }
.fact span { font-size: var(--fs-label); color: var(--ink-soft); }
.founder { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); }
.founder img { height: 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.founder b { display: block; font-size: var(--fs-body); }
.founder span { font-size: var(--fs-label); color: var(--ink-soft); }
.team { border-radius: var(--radius); overflow: hidden; }
.team img { width: 100%; height: auto; aspect-ratio: 1024 / 713; object-fit: cover; }
.service .en { display: block; font-size: var(--fs-label); text-align: right; }
.team figcaption { font-size: var(--fs-label); color: var(--ink-soft); padding-top: var(--s1); }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: var(--s6); } }

/* Services */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.service { display: grid; gap: var(--s1); align-content: start; min-width: 0; }
.service .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); color: var(--gold-text); margin-bottom: var(--s1);
}
.service h3 { font-size: var(--fs-lead); font-weight: 700; }
.service p { color: var(--ink-soft); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s3); } }
@media (max-width: 480px) { .services { grid-template-columns: 1fr; } }

/* Journey — a real sequence, so it is numbered */
.journey { background: var(--surface); }
.journey + section { border-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); counter-reset: step; }
.step { position: relative; display: grid; gap: var(--s1); align-content: start; padding-top: var(--s6); min-width: 0; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; top: 0; inset-inline-start: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--on-blue); font-weight: 700; font-size: var(--fs-label); line-height: 1;
}
.step::after { content: ""; position: absolute; top: 15px; inset-inline-start: 44px; inset-inline-end: calc(-1 * var(--s3)); height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step .when { font-size: var(--fs-label); font-weight: 700; color: var(--gold-text); }
.step h3 { font-size: var(--fs-lead); font-weight: 700; }
.step ul { margin: 0; padding-inline-start: 18px; color: var(--ink-soft); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-top: 0; padding-inline-start: 56px; padding-bottom: var(--s4); }
  .step::after { top: 40px; bottom: 8px; inset-inline-start: 15px; inset-inline-end: auto; width: 2px; height: auto; }
  .step:last-child { padding-bottom: 0; }
}

/* Tips */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.tip { display: grid; gap: var(--s2); align-content: start; min-width: 0; }
.tip h3 { font-size: var(--fs-title); font-weight: 700; padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.tip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.tip li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-soft); }
.tip li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-3px); }
@media (max-width: 880px) { .tips { grid-template-columns: 1fr; gap: var(--s6); } }

/* Register band */
.register { padding-block: var(--s12); }
.register + footer { border-top: 0; }
.band {
  background: var(--blue); color: var(--on-blue); border-radius: 24px;
  padding: var(--s8) var(--s6); display: grid; grid-template-columns: 1fr auto; gap: var(--s4); align-items: center;
}
.band h2 { font-size: var(--fs-h2); }
.band p { font-size: var(--fs-lead); opacity: 1; max-width: 560px; margin-top: var(--s1); }
.band .btn { background: var(--on-blue); color: var(--blue); min-height: 56px; padding-inline: 32px; font-size: var(--fs-lead); }
.band .btn:hover { background: var(--surface-blue); }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; padding: var(--s6) var(--s3); } .band .btn { width: 100%; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: var(--s8) var(--s4); font-size: var(--fs-label); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s4); }
.foot-grid h3 { font-size: var(--fs-body); font-weight: 700; margin-bottom: var(--s2); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }
.foot-grid a { text-decoration: none; color: var(--ink-soft); }
.foot-grid a:hover { color: var(--blue); }
.foot-grid .logo img { height: 56px; }
.foot-grid .about-line { color: var(--ink-soft); margin-top: var(--s2); max-width: 280px; }
.copy { margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line); color: var(--ink-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

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

/* ===== v2: brand, packages, gallery, forms, admin ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-text); }
.brand img { height: 44px; width: auto; }
.brand span { display: grid; line-height: 1.15; }
.brand b { font-size: 20px; font-weight: 800; }
.brand small { font-size: var(--fs-label); font-weight: 600; }
.foot-grid .brand img { height: 52px; }

.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 24px 64px rgb(0 0 0 / 0.14); }
@media (max-width: 880px) { .hero-photo { max-width: 560px; } }
.team { margin: 0; }

.packages-section { background: var(--surface); }
.packages-section + section { border-top: 0; }
.packages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.package { background: var(--bg); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); min-width: 0; }
.package-photo { aspect-ratio: 3 / 2; background: var(--surface-blue); display: grid; place-items: center; }
.package-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-soon { font-size: var(--fs-label); color: var(--ink-soft); }
.package-body { padding: var(--s3); display: grid; gap: var(--s2); align-content: space-between; }
.package h3 { font-size: var(--fs-title); font-weight: 800; }
.package-body > div p { color: var(--ink-soft); font-size: var(--fs-label); }
.price { display: grid; gap: 0; line-height: 1.3; }
.price b { font-size: 32px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.price span { font-size: var(--fs-label); color: var(--ink-soft); }
.package .btn { width: 100%; }
@media (max-width: 1040px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .packages { grid-template-columns: 1fr; } }

.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.photo-strip figcaption { font-size: var(--fs-label); color: var(--ink-soft); padding-top: var(--s1); }

.year { border-top: 1px solid var(--line); }
.year:last-child { border-bottom: 1px solid var(--line); }
.year summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); font-size: var(--fs-title); font-weight: 800; }
.year summary::-webkit-details-marker { display: none; }
.year summary small { font-size: var(--fs-label); font-weight: 600; color: var(--ink-soft); }
.year summary::after { content: "+"; font-size: var(--fs-title); color: var(--gold-text); margin-inline-start: var(--s2); }
.year[open] summary::after { content: "−"; }
.year summary span { margin-inline-end: auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s2); padding-bottom: var(--s4); }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: transform var(--dur) var(--ease); }
.gallery-grid a:hover img { transform: scale(1.02); }

/* Forms */
.form-page { padding-block: var(--s8) var(--s12); }
.form-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); align-items: start; }
.form-intro { display: grid; gap: var(--s2); position: sticky; top: 104px; }
.form-intro h1, .form-card h1 { font-size: var(--fs-h2); }
.form-intro > p { color: var(--ink-soft); font-size: var(--fs-lead); }
.price-list { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; }
.price-list li { display: flex; justify-content: space-between; gap: var(--s2); padding-block: 12px; border-bottom: 1px solid var(--line); }
.price-list b { color: var(--blue); font-variant-numeric: tabular-nums; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: var(--s4); display: grid; gap: var(--s3); min-width: 0; }
.form-card h2 { font-size: var(--fs-title); }
.form-card.done { grid-column: 1 / -1; max-width: 640px; margin-inline: auto; text-align: center; justify-items: center; }
.form-card.done p { font-size: var(--fs-lead); color: var(--ink-soft); }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; }
.field { display: grid; gap: var(--s1); border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: var(--fs-label); padding: 0; }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s2); }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font: 400 var(--fs-body)/1.5 var(--font);
  transition: border-color var(--dur) var(--ease);
}
input[dir=ltr] { text-align: right; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
[aria-invalid=true] { border-color: #B3261E !important; }
.err { color: #B3261E; font-size: var(--fs-label); }
.alert, .flash { padding: 12px var(--s2); border-radius: 12px; font-weight: 600; }
.alert { background: #FCEEEE; color: #8C1D18; }
.flash { background: var(--surface-blue); color: var(--blue-strong); margin-bottom: var(--s3); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.room-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.room-option { position: relative; display: grid; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color var(--dur) var(--ease); }
.room-option input { position: absolute; opacity: 0; }
.room-option img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.room-text { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s1); padding: 12px 14px; }
.room-text b { font-size: var(--fs-lead); }
.room-text small { color: var(--ink-soft); font-size: var(--fs-label); }
.room-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
.room-option:has(input:checked) .room-text b::before { content: "✓ "; color: var(--blue); }
.room-option:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-block { width: 100%; min-height: 56px; font-size: var(--fs-lead); }
.fine { font-size: var(--fs-label); color: var(--ink-soft); }
.check { display: flex; align-items: center; gap: var(--s1); font-weight: 600; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; gap: var(--s4); } .form-intro { position: static; } .form-card { padding: var(--s3); } }
@media (max-width: 420px) { .room-options { grid-template-columns: 1fr; } }

/* Admin */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: var(--s3) max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); }
.login { width: min(400px, 100%); }
.login h1 { font-size: var(--fs-title); }
.admin-header .header-row { flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 4px; margin-inline-start: auto; flex-wrap: wrap; }
.admin-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 14px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: var(--fs-label); color: var(--ink-soft); }
.admin-tabs a[aria-current=page] { background: var(--surface-blue); color: var(--blue-strong); }
.logout { margin: 0; }
.admin { padding-block: var(--s4) var(--s8); background: var(--surface); min-height: 80vh; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-bottom: var(--s3); flex-wrap: wrap; }
.admin-head h1 { font-size: 32px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: var(--s3); }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: var(--s2); display: grid; }
.stat span { font-size: var(--fs-label); color: var(--ink-soft); font-weight: 600; }
.stat b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.4; }
.stat small { font-size: 13px; color: var(--ink-soft); }
.stat.wide b { color: var(--blue); }
.filters { display: flex; gap: var(--s1); flex-wrap: wrap; margin-bottom: var(--s2); }
.filters input { flex: 1 1 280px; }
.filters select { flex: 0 1 180px; }
.table-wrap { overflow-x: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.reg-table { width: 100%; border-collapse: collapse; font-size: var(--fs-label); min-width: 960px; }
.reg-table th { text-align: right; font-weight: 700; color: var(--ink-soft); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; }
.reg-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.reg-table tr:last-child td { border-bottom: 0; }
.reg-table .num { font-variant-numeric: tabular-nums; }
.reg-table .nowrap { white-space: nowrap; }
.reg-table .note { display: block; color: var(--ink-soft); font-size: 13px; max-width: 260px; }
.reg-table select { min-height: 40px; padding: 6px 10px; font-size: var(--fs-label); width: auto; }
.reg-table tr.st-new td:first-child { box-shadow: inset -3px 0 0 var(--gold); }
.reg-table tr.st-confirmed select { border-color: #2E7D4F; color: #1F5E3A; }
.reg-table tr.st-cancelled { color: var(--ink-soft); }
.reg-table tr.st-cancelled b { text-decoration: line-through; }
.status-form { margin: 0; }
.link-danger { background: none; border: 0; color: #B3261E; font: 600 var(--fs-label) var(--font); cursor: pointer; min-height: 44px; padding-inline: 8px; }
.empty { background: var(--bg); border: 1px dashed var(--line); border-radius: 14px; padding: var(--s4); text-align: center; color: var(--ink-soft); }
.admin-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s3); align-items: start; }
@media (max-width: 880px) { .admin-cols { grid-template-columns: 1fr; } }
.img-section { margin-bottom: var(--s3); }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s2); }
.img-item { display: grid; gap: var(--s1); align-content: start; }
.img-item img, .img-item .photo-soon { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--surface-blue); display: grid; place-items: center; }
.upload-inline, .upload-row { display: flex; gap: var(--s1); flex-wrap: wrap; align-items: center; margin: 0; }
.upload-row { margin-bottom: var(--s2); }
.upload-row input[name=ref] { flex: 1 1 220px; }
input[type=file] { font: var(--fs-label) var(--font); max-width: 100%; }
.year-title { font-size: var(--fs-lead); margin-top: var(--s2); }
.year-title small { font-weight: 400; color: var(--ink-soft); }
.hotel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: var(--fs-lead); }
.hotel-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.photo-strip { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.photo-strip figure { display: grid; grid-template-rows: 1fr auto; }
.photo-strip figure img { height: 100%; min-height: 0; }
.photo-strip figure.feature { grid-column: span 2; grid-row: span 2; }
.photo-strip figure.wide { grid-column: span 2; }
.photo-strip figure.feature img, .photo-strip figure.wide img { aspect-ratio: auto; }
@media (max-width: 880px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .photo-strip figure.feature { grid-row: auto; }
  .photo-strip figure.feature img, .photo-strip figure.wide img { aspect-ratio: 3 / 2; }
}
.sheet-status { margin-bottom: var(--s3); border-inline-start: 4px solid var(--gold); }
.sheet-status.ok { border-inline-start-color: #2E7D4F; }
.sheet-status p { color: var(--ink-soft); }
.sheet-status form { margin: 0; }
.setup summary { list-style: none; cursor: pointer; }
.setup summary::-webkit-details-marker { display: none; }
.setup summary h2::after { content: " ▾"; color: var(--gold-text); }
.setup-steps { margin: 0; padding-inline-start: 24px; display: grid; gap: var(--s2); }
.setup-steps li { padding-inline-start: 4px; }
.setup-steps a { color: var(--blue); font-weight: 700; }
.code-box { position: relative; margin-top: var(--s1); }
.code-box pre { margin: 0; max-height: 280px; overflow: auto; background: #10181C; color: #DCE6EA; border-radius: 12px; padding: var(--s2); padding-top: 56px; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: left; white-space: pre; }
.code-box .copy-btn { position: absolute; top: 8px; left: 8px; min-height: 40px; background: var(--bg); }
.sheet-form { display: grid; gap: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.gallery-grid img { object-position: center 25%; }
.setup { display: block; }
.setup > * + * { margin-top: var(--s3); }
.setup-steps { grid-template-columns: minmax(0, 1fr); }
.setup-steps li, .code-box { min-width: 0; max-width: 100%; }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.gallery-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; } .gallery-grid img { border-radius: 8px; } }
.features { list-style: none; margin: 0 0 var(--s4); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.features li { padding: 8px 16px; border-radius: 999px; background: var(--surface-blue); color: var(--blue-strong); font-weight: 700; font-size: var(--fs-label); }
.photo-strip figure.tall { grid-row: span 2; }
.photo-strip figure.video video { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius); background: #000; display: block; }
@media (max-width: 880px) { .photo-strip figure.tall { grid-column: span 2; grid-row: auto; } .photo-strip figure.video video { aspect-ratio: 9 / 16; max-height: 70vh; } }
.sub-title { font-size: var(--fs-title); margin: var(--s6) 0 var(--s2); }
#camps + section { border-top: 0; }
/* fixed-height rows so portrait photos don't stretch rows */
.photo-strip { grid-auto-rows: 240px; }
.photo-strip figure { grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.photo-strip figure img, .photo-strip figure.feature img, .photo-strip figure.wide img { height: 100%; aspect-ratio: auto; }
.camp-life { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 880px) { .photo-strip { grid-auto-rows: 160px; } .photo-strip figure.feature, .photo-strip figure.tall { grid-row: span 2; } .photo-strip figure.feature img { aspect-ratio: auto; } .photo-strip figure.video video { aspect-ratio: auto; max-height: none; } .camp-life { grid-template-columns: repeat(2, 1fr); } }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: var(--s3); }
.event { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); padding: var(--s4); border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.event-date { width: 80px; height: 88px; border-radius: 16px; background: var(--blue); color: var(--on-blue); display: grid; place-content: center; text-align: center; line-height: 1.1; }
.event-date b { font-size: 36px; font-weight: 800; }
.event-date span { font-size: var(--fs-label); font-weight: 700; }
.event-body { display: grid; gap: var(--s1); align-content: start; min-width: 0; justify-items: start; }
.event h3 { font-size: var(--fs-title); font-weight: 800; }
.event-when { font-weight: 700; color: var(--blue); }
.event-where { color: var(--ink); }
.event-details { color: var(--ink-soft); }
.countdown { display: flex; gap: var(--s1); margin-block: var(--s1); flex-wrap: wrap; }
.countdown span { display: grid; place-items: center; min-width: 64px; padding: 8px 4px; border-radius: 12px; background: var(--surface); font-size: 13px; color: var(--ink-soft); }
.countdown b { font-size: 24px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.countdown .live { min-width: 0; padding: 8px 16px; color: var(--blue-strong); font-weight: 700; background: var(--surface-blue); }
@media (max-width: 520px) { .event { grid-template-columns: 1fr; padding: var(--s3); } .event-date { width: auto; height: auto; padding: 8px 16px; display: flex; gap: 8px; align-items: baseline; justify-content: flex-start; } .event-date b { font-size: 24px; } .countdown span { min-width: 0; flex: 1; } }
.ev-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding-block: 12px; border-bottom: 1px solid var(--line); }
.ev-row small { display: block; color: var(--ink-soft); font-size: 13px; }
.ev-row.past { opacity: .6; }
.ev-row form { margin: 0; }
.brand img { height: 52px; width: auto; display: block; }
.foot-grid .brand img { height: 72px; }
.login .brand img { height: 64px; }
@media (max-width: 880px) { .brand img { height: 44px; } }
.brand img { height: 64px; }
.header-row { min-height: 84px; }
.form-intro { top: 112px; }
@media (max-width: 880px) { .brand img { height: 48px; } .header-row { min-height: 68px; } }
#about .about-grid { grid-template-columns: 1.5fr 1fr; align-items: center; }
#about .facts { grid-template-columns: 1fr; gap: var(--s4); margin: 0; }
@media (max-width: 880px) { #about .about-grid { grid-template-columns: 1fr; } #about .facts { grid-template-columns: 1fr 1fr; } }
#about .about-grid { grid-template-columns: 1.3fr 1fr; align-items: center; }
#about .facts { grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin-top: var(--s1); }
.founder-photo { margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 999px 999px var(--radius) var(--radius); outline: 1px solid var(--line); outline-offset: 10px; }
.founder-photo figcaption { display: grid; text-align: center; padding-top: var(--s3); }
.founder-photo figcaption b { font-size: var(--fs-lead); }
.founder-photo figcaption span { font-size: var(--fs-label); color: var(--gold-text); font-weight: 700; }
@media (max-width: 880px) { #about .about-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 320px; } }
/* Full-bleed Makkah hero */
.hero-bg {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(640px, 82vh); display: grid; align-items: center;
  padding-block: var(--s12);
  background: #0f1416 url("../images/kaaba.jpg") center 35% / cover no-repeat;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgb(8 14 18 / .88) 0%, rgb(8 14 18 / .72) 38%, rgb(8 14 18 / .35) 70%, rgb(8 14 18 / .15) 100%),
    linear-gradient(to top, rgb(8 14 18 / .55), transparent 40%);
}
.hero-bg .hero-grid { grid-template-columns: minmax(0, 640px); }
.hero-bg .hero-copy { color: #fff; }
.hero-bg h1 { color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.hero-bg h1 span { color: #D9BC80; }
.hero-bg .lead { color: rgb(255 255 255 / .9); }
.hero-bg .eyebrow { color: #D9BC80; }
.hero-bg .eyebrow::before { background: #D9BC80; }
.hero-bg .btn-primary { background: #fff; color: #1B5C7B; }
.hero-bg .btn-primary:hover { background: #E9F2F6; }
.hero-bg .btn-quiet { color: #fff; border-color: rgb(255 255 255 / .55); background: rgb(255 255 255 / .06); backdrop-filter: blur(6px); }
.hero-bg .btn-quiet:hover { border-color: #fff; }
.hero-bg .hero-contact { color: rgb(255 255 255 / .8); }
.hero-bg .hero-contact a { color: #fff; }
.hero-bg + section { border-top: 0; }
@media (max-width: 880px) {
  .hero-bg { min-height: 0; padding-block: var(--s8); background-position: 30% center; }
  .hero-bg::before { background: linear-gradient(to top, rgb(8 14 18 / .9), rgb(8 14 18 / .6)); }
}
.hero-bg { background-image: url("../images/makkah-hero.jpg"); background-position: center 58%; min-height: min(680px, 86vh); }
.hero-bg::before {
  background:
    linear-gradient(to left, rgb(6 12 24 / .85) 0%, rgb(6 12 24 / .62) 35%, rgb(6 12 24 / .18) 62%, rgb(6 12 24 / 0) 100%),
    linear-gradient(to top, rgb(6 12 24 / .5), transparent 35%);
}
@media (max-width: 880px) {
  .hero-bg { background-position: center 40%; min-height: 86vh; align-items: end; }
  .hero-bg::before { background: linear-gradient(to top, rgb(6 12 24 / .92) 0%, rgb(6 12 24 / .7) 45%, rgb(6 12 24 / .15) 100%); }
}
/* Hero v3: whole Makkah photo shown uncropped over a blurred copy of itself */
.hero-bg { background: #0b1626; min-height: 0; padding-block: var(--s8); }
.hero-bg::before {
  content: ""; position: absolute; inset: -40px; z-index: -2;
  background: url("../images/makkah-hero-blur.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgb(6 12 24 / .82), rgb(6 12 24 / .55) 55%, rgb(6 12 24 / .35));
}
.hero-bg .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s8); align-items: center; }
.hero-makkah { margin: 0; justify-self: center; }
.hero-makkah img {
  display: block; height: min(78vh, 720px); width: auto; max-width: 100%;
  aspect-ratio: 2 / 3; object-fit: contain; border-radius: 20px;
  box-shadow: 0 30px 80px rgb(0 0 0 / .45); outline: 1px solid rgb(255 255 255 / .18); outline-offset: 8px;
}
@media (max-width: 880px) {
  .hero-bg { padding-block: var(--s4) var(--s8); align-items: start; min-height: 0; }
  .hero-bg::after { background: linear-gradient(to top, rgb(6 12 24 / .9), rgb(6 12 24 / .45)); }
  .hero-bg .hero-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .hero-makkah { order: -1; width: 100%; }
  .hero-makkah img { width: 100%; height: auto; max-height: none; border-radius: 16px; outline-offset: 4px; }
}
/* News & achievements: floating cards in a horizontal track */
.news-section { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); overflow: hidden; }
.news-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s3); max-width: none; }
.news-nav { display: flex; gap: var(--s1); }
.news-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.news-btn:hover { border-color: var(--blue); }
.news-btn:active { transform: scale(.94); }
.news-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 82vw); gap: var(--s3);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: var(--s2) max(16px, calc((100vw - 1120px) / 2 + 16px)) var(--s6);
  scrollbar-width: none;
}
.news-track::-webkit-scrollbar { display: none; }
.news-card {
  scroll-snap-align: start; background: var(--bg); border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 32px rgb(16 40 56 / .10), 0 2px 6px rgb(16 40 56 / .06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: grid; grid-template-rows: auto 1fr;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgb(16 40 56 / .16), 0 4px 10px rgb(16 40 56 / .08); }
.news-img { aspect-ratio: 4 / 3; background: var(--surface-blue); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: var(--s3); display: grid; gap: var(--s1); align-content: start; }
.news-meta { display: flex; align-items: center; gap: var(--s1); font-size: 13px; color: var(--ink-soft); }
.news-kind { padding: 2px 10px; border-radius: 999px; font-weight: 700; background: var(--surface-blue); color: var(--blue-strong); }
.news-kind.kind-award { background: #F6EEDC; color: var(--gold-text); }
.news-card h3 { font-size: var(--fs-lead); font-weight: 800; line-height: 1.5; }
.news-card p { color: var(--ink-soft); font-size: var(--fs-label); line-height: 1.8; }
.nw-row { display: flex; gap: 12px; align-items: center; }
.nw-row img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
@media (max-width: 720px) { .news-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .news-card:hover { transform: none; } }
.nav a { white-space: nowrap; }
@media (max-width: 1080px) { .nav, .header-row > .header-cta { display: none; } .menu { display: block; } }
.news-img img { object-position: center 30%; }
.news-img.n2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.news-img.n2 img { height: 100%; }
.news-season { padding: 2px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-weight: 700; }
.why-section { background: var(--surface); }
.why-section + section { border-top: 0; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.why { background: var(--bg); border-radius: var(--radius); padding: var(--s4) var(--s3); display: grid; gap: var(--s1); align-content: start; box-shadow: 0 6px 20px rgb(16 40 56 / .06); }
.why .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-blue); color: var(--blue); margin-bottom: var(--s1); }
.why h3 { font-size: var(--fs-lead); font-weight: 800; }
.why p { color: var(--ink-soft); }
.why-wide { grid-column: span 3; grid-template-columns: auto 1fr; column-gap: var(--s3); align-items: center; background: var(--blue); }
.why-wide .ico { grid-row: span 2; background: rgb(255 255 255 / .15); color: #fff; margin: 0; width: 56px; height: 56px; }
.why-wide h3, .why-wide p { color: #fff; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-wide { grid-column: span 2; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why-wide { grid-column: auto; grid-template-columns: 1fr; } .why-wide .ico { grid-row: auto; } }

/* ===== English (LTR) ===== */
[dir=ltr] input[dir=ltr] { text-align: left; }
[dir=ltr] .reg-table th { text-align: left; }
[dir=ltr] .hero-bg::after { background: linear-gradient(to right, rgb(6 12 24 / .82), rgb(6 12 24 / .55) 55%, rgb(6 12 24 / .35)); }
@media (max-width: 880px) { [dir=ltr] .hero-bg::after { background: linear-gradient(to top, rgb(6 12 24 / .9), rgb(6 12 24 / .45)); } }
[dir=ltr] body { letter-spacing: 0; }
[dir=ltr] h1, [dir=ltr] h2 { letter-spacing: -0.01em; }
.header-lang { font-size: var(--fs-label); font-weight: 700; color: var(--gold-text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 10px; border-radius: 10px; white-space: nowrap; }
.header-lang:hover { background: var(--surface); }
@media (max-width: 1080px) { .header-lang { margin-inline-start: auto; } .menu { margin-inline-start: 0; } }

/* Values */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4) var(--s3); counter-reset: v; }
.value { counter-increment: v; position: relative; padding-top: var(--s4); border-top: 2px solid var(--gold); display: grid; gap: var(--s1); align-content: start; }
.value::before { content: counter(v, decimal-leading-zero); position: absolute; top: 12px; inset-inline-end: 0; font-size: 13px; font-weight: 800; color: var(--gold-text); }

.value h3 { font-size: var(--fs-lead); font-weight: 800; }
.value p { color: var(--ink-soft); }
@media (max-width: 880px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* Reviews */
.reviews-section { background: var(--surface-blue); }
.reviews-section + section { border-top: 0; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.review { margin: 0; background: var(--bg); border-radius: 20px; padding: var(--s4); display: grid; gap: var(--s2); align-content: start; box-shadow: 0 8px 24px rgb(16 40 56 / .06); }
.review .quote { color: var(--gold); }
[dir=rtl] .review .quote { transform: scaleX(-1); }
.review blockquote { margin: 0; font-size: var(--fs-lead); line-height: 1.8; color: var(--ink); }
.review figcaption { font-weight: 800; color: var(--blue); }
.review figcaption::before { content: "— "; color: var(--gold); }
@media (max-width: 720px) { .reviews { grid-template-columns: 1fr; } }

/* App */
.app-section { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%); color: #fff; overflow: hidden; }
.app-section + section { border-top: 0; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.app-copy { display: grid; gap: var(--s2); }
.app-copy h2 { font-size: var(--fs-h2); }
.app-copy p { font-size: var(--fs-lead); color: rgb(255 255 255 / .88); }
.app-copy .eyebrow { color: #D9BC80; } .app-copy .eyebrow::before { background: #D9BC80; }
.app-copy .features li { background: rgb(255 255 255 / .12); color: #fff; }
.app-shots { display: flex; gap: var(--s2); justify-content: center; }
.app-shots img { width: min(240px, 30%); flex: 1 1 0; max-width: 260px; border-radius: 28px; box-shadow: 0 24px 60px rgb(0 0 0 / .35); border: 6px solid #0d1b24; background: #0d1b24; }
.app-shots img:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 880px) { .app-grid { grid-template-columns: 1fr; gap: var(--s4); } .app-shots img { width: 44%; } }
.btn { white-space: nowrap; }
/* App v2: marketing images grid */
.app-copy { max-width: 760px; margin-bottom: var(--s6); }
.app-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--s2); grid-auto-flow: dense; }
.app-shot { display: block; border-radius: 16px; overflow: hidden; background: #0d1b24; }
.app-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.app-shot:hover img { transform: scale(1.03); }
.app-shot.s0, .app-shot.s1 { grid-row: span 2; }
.app-shot.s2, .app-shot.s5 { grid-column: span 2; }
@media (max-width: 880px) { .app-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .app-shot.s2, .app-shot.s5 { grid-column: span 2; } }

/* ===== v4: hero like the old site (white), floating panels ===== */
.hero-split { background: var(--bg); padding-block: var(--s8) var(--s8); }
.hero-split .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s8); align-items: center; }
.hero-split .hero-makkah img {
  height: min(72vh, 620px); width: auto; max-width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  border-radius: 999px 999px 24px 24px; box-shadow: 0 30px 60px rgb(16 40 56 / .18); outline: 1px solid var(--line); outline-offset: 10px;
}
.hero-split h1 { color: var(--ink); }
.hero-split h1 span { color: var(--blue); }
.hero-split .lead { color: var(--ink-soft); }
.hero-split .eyebrow { color: var(--gold-text); }
.hero-split .eyebrow::before { background: var(--gold); }
.hero-split .btn-quiet { color: var(--blue); border-color: var(--line); background: transparent; backdrop-filter: none; }
.hero-split .hero-contact { color: var(--ink-soft); }
.hero-split .hero-contact a { color: var(--ink); }
.hero-split + section { border-top: 1px solid var(--line); }
@media (max-width: 880px) {
  .hero-split { padding-block: var(--s4) var(--s8); }
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .hero-split .hero-makkah { order: -1; justify-self: center; width: min(100%, 360px); }
  .hero-split .hero-makkah img { height: auto; width: 100%; border-radius: 200px 200px 20px 20px; outline-offset: 6px; }
}

/* moments + camps */
.moments-section { background: var(--surface); }
.moments-section + section { border-top: 0; }

/* App: 4 images */
.app-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.app-four .app-shot { margin: 0; background: transparent; border-radius: 0; overflow: visible; display: grid; gap: var(--s1); }
.app-four .app-shot img { width: 100%; aspect-ratio: 1 / 1.6; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgb(0 0 0 / .25); }
.app-four figcaption { text-align: center; font-weight: 700; color: #fff; }
@media (max-width: 880px) { .app-four { grid-template-columns: repeat(2, 1fr); gap: var(--s2); } }

/* More list */
.more-section { background: var(--surface); }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.more-item { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 20px var(--s3); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.more-item:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 24px rgb(16 40 56 / .08); }
.more-item span { display: grid; gap: 2px; }
.more-item b { font-size: var(--fs-lead); font-weight: 800; }
.more-item small { color: var(--ink-soft); font-size: var(--fs-label); }
.more-arrow { flex: none; color: var(--gold-text); }
[dir=rtl] .more-arrow { transform: scaleX(-1); }

/* Floating panel */
dialog.float {
  width: min(1040px, calc(100% - 32px)); max-height: 88vh; padding: 0; border: 0; border-radius: 24px;
  background: var(--bg); color: var(--ink); box-shadow: 0 40px 100px rgb(0 0 0 / .35); overflow: auto; overscroll-behavior: contain;
}
dialog.float::backdrop { background: rgb(8 18 26 / .55); backdrop-filter: blur(4px); }
dialog.float[open] { animation: floatIn 220ms var(--ease); }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
dialog.float > section { padding-block: var(--s6); border-top: 0 !important; background: var(--bg); }
dialog.float .wrap { padding-left: var(--s4); padding-right: var(--s4); }
.float-close { position: sticky; top: 12px; float: inline-end; margin: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.float-close:hover { border-color: var(--blue); }
@media (max-width: 560px) { dialog.float { width: 100%; max-height: 92vh; margin-bottom: 0; border-radius: 24px 24px 0 0; } dialog.float .wrap { padding-left: 16px; padding-right: 16px; } }
@media (prefers-reduced-motion: reduce) { dialog.float[open] { animation: none; } }
.brand { flex: none; }
.nav a { padding-inline: 10px; }
.header-row { gap: var(--s2); }
@media (max-width: 1260px) { .nav, .header-row > .header-cta { display: none; } .menu { display: block; } .header-lang { margin-inline-start: auto; } }
@media (max-width: 880px) { .hero-split .hero-makkah { width: min(100%, 280px); } }
#about { border-top: 1px solid var(--line); }

/* ===== v5 ===== */
/* Bigger, bolder navigation */
.header-row { min-height: 92px; }
.nav { gap: 4px; }
.nav a { font-size: 17px; font-weight: 700; color: var(--ink); padding-inline: 12px; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 6px; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform var(--dur) var(--ease); }
.nav a:hover { color: var(--blue); }
.nav a:hover::after { transform: scaleX(1); }
.header-lang { font-size: 16px; }
.header-cta { font-size: 16px; min-height: 48px; padding-inline: 22px; }
.brand img { height: 68px; }
@media (max-width: 1360px) { .nav a { font-size: 16px; padding-inline: 9px; } }
@media (max-width: 1260px) { .header-row { min-height: 72px; } .brand img { height: 52px; } }
.menu-panel a { font-size: 17px; font-weight: 700; }

/* App: plain screens, no device frame */
.app-four { gap: var(--s4); }
.app-screen { border-radius: 30px; overflow: hidden; box-shadow: 0 24px 50px rgb(0 0 0 / .3); background: #fff; aspect-ratio: 9 / 19.5; }
.app-four .app-shot .app-screen img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; border-radius: 0; box-shadow: none; }
.app-four figcaption { font-size: var(--fs-body); }
@media (max-width: 880px) { .app-screen { border-radius: 22px; } }

/* Featured award card */
.news-card.featured { grid-column: span 2; grid-template-columns: 1fr 1fr; grid-template-rows: none; border: 2px solid var(--gold); box-shadow: 0 20px 50px rgb(177 144 85 / .25); }
.news-card.featured .news-img { aspect-ratio: auto; height: 100%; min-height: 320px; }
.news-card.featured .news-body { padding: var(--s4); align-content: center; gap: var(--s2); background: linear-gradient(160deg, #FBF6EC, var(--bg) 60%); }
.news-card.featured h3 { font-size: 24px; line-height: 1.45; color: var(--ink); }
.news-card.featured p { font-size: var(--fs-body); }
.news-kind.kind-prize { background: var(--gold); color: #fff; display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 760px) { .news-card.featured { grid-column: span 1; grid-template-columns: 1fr; } .news-card.featured .news-img { min-height: 0; aspect-ratio: 4 / 3; } .news-card.featured h3 { font-size: 20px; } }

/* Instagram */
.ig-section { background: var(--bg); }
.ig-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.ig-profile { display: flex; align-items: center; gap: var(--s2); text-decoration: none; color: var(--ink); }
.ig-avatar { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); display: grid; place-items: center; }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: contain; padding: 8px; }
.ig-profile b { display: block; font-size: 22px; font-weight: 800; direction: ltr; text-align: start; }
.ig-profile small { color: var(--ink-soft); font-size: var(--fs-label); }
.ig-btn { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); color: #fff; }
.ig-btn:hover { filter: brightness(1.05); }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.ig-grid a:hover img { transform: scale(1.05); }
.ig-ico { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgb(0 0 0 / .35); opacity: 0; transition: opacity var(--dur) var(--ease); }
.ig-grid a:hover .ig-ico { opacity: 1; }
.ig-embeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: start; }
.ig-embeds .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
@media (max-width: 880px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } .ig-embeds { grid-template-columns: 1fr; } }
@media (max-width: 1500px) { .nav a { font-size: 16px; padding-inline: 8px; } .brand img { height: 60px; } }
