:root {
  --navy: #07070a;
  --navy-deep: #030303;
  --gold: #d4a017;
  --gold-soft: #f0d48a;
  --gold-dark: #c49212;
  --muted: #a8a29e;
  --paper: #fafafa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #07070a;
  color: #f5f5f4;
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
html[lang="ar"] body { font-family: "Noto Naskh Arabic", Outfit, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.wrap { width: min(80rem, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(48rem, calc(100% - 2.5rem)); }
.section { padding: 4rem 0 5rem; }
.mt { margin-top: 2.5rem; }
.stack { display: grid; gap: 1rem; }
.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.border-top { border-top: 1px solid rgba(255,255,255,.08); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
}
html[lang="ar"] .eyebrow::before { order: 2; }

h1, h2, h3 { letter-spacing: -0.04em; font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; margin-top: 1.25rem; }
.hero-title { max-width: 48rem; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.05; }
.article-title { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.lead { max-width: 36rem; color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.8; }
.muted { color: rgba(255,255,255,.55); }
.gold-soft { color: var(--gold-soft); }
.strong { font-weight: 600; color: #fff; }
.tiny { font-size: 0.75rem; color: rgba(255,255,255,.4); }
.page-intro { margin-bottom: 2rem; }
.page-intro h1 { margin-top: 0.75rem; }

.btn-gold, .btn-navy, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.95rem 1.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.full { width: 100%; }
.btn-gold {
  background: linear-gradient(180deg, #f0d48a 0%, #d4a017 100%);
  color: #111;
  box-shadow: 0 12px 32px rgba(212,160,23,.28);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(212,160,23,.4); }
.btn-navy { background: #fff; color: #07070a; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: inherit;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212,160,23,.08); }
.danger { color: #f87171 !important; }

.label { display: block; margin-bottom: 0.45rem; font-size: 0.8rem; font-weight: 600; color: #d6d3d1; }
.mb0 { margin-bottom: 0; }
.field {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: #fff;
  outline: none;
  color-scheme: dark;
}
.field option { background: #121216; color: #fff; }
.field:focus { border-color: var(--gold); background: rgba(255,255,255,.07); }
.field::placeholder { color: rgba(255,255,255,.35); }
.compact { padding: 0.5rem 0.8rem; width: auto; min-width: 8rem; }
.mono { min-height: 20rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; }
textarea.field { min-height: 7rem; resize: vertical; }

.card {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
.card-hover { transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(212,160,23,.45); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.card-featured { padding: 2rem; }
.card-excerpt { margin-top: 0.75rem; color: rgba(255,255,255,.55); font-size: 0.95rem; line-height: 1.75; }
.card-meta { margin-top: 1.1rem; font-size: 0.75rem; color: rgba(255,255,255,.35); }
.tight { padding: 1rem 1.25rem; }
.form-card { padding: 1.75rem; }
.h-xl { font-size: 1.85rem; margin-top: 1rem; }
.h-md { font-size: 1.25rem; margin-top: 1rem; }
.h-xl a:hover, .h-md a:hover { color: var(--gold-soft); }

.chip, .chip-tab {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(212,160,23,.15);
  color: var(--gold);
}
.chip:hover { background: var(--gold); color: #07070a; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.5rem 0 1.5rem; }
.chip-tab { background: rgba(255,255,255,.06); color: rgba(255,255,255,.65); padding: 0.5rem 1rem; font-size: 0.9rem; border: 1px solid rgba(255,255,255,.1); }
.chip-tab.is-active, .chip-tab:hover { background: var(--gold); color: #07070a; border-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(7,7,10,.95);
  backdrop-filter: blur(16px);
}
.header-inner, .admin-header-inner {
  width: min(80rem, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}
.logo { display: inline-flex; align-items: center; gap: 0.7rem; min-width: 0; }
.logo-mark {
  display: grid;
  place-items: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 1rem;
  background: rgba(212,160,23,.15);
  box-shadow: inset 0 0 0 1px rgba(212,160,23,.3);
}
.logo-text { line-height: 1.15; }
.logo-word { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold-soft); }
.logo-text span:last-child { display: block; font-size: 11px; font-weight: 500; }
.text-white-70 { color: rgba(255,255,255,.7); }
@media (max-width: 379px) { .logo-text { display: none; } }

.nav-desktop {
  display: none;
  margin-inline: auto;
  background: rgba(255,255,255,.06);
  padding: 0.25rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.nav-link {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}
.nav-link.is-active {
  background: var(--gold);
  color: #07070a;
  box-shadow: 0 8px 24px rgba(212,160,23,.35);
}
.nav-link:hover:not(.is-active) { background: rgba(255,255,255,.08); color: #fff; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.consult-desktop { display: none; padding: 0.6rem 1rem; font-size: 0.85rem; }
.lang-switch { display: flex; background: rgba(255,255,255,.08); padding: 0.2rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.lang-pill { border-radius: 999px; padding: 0.25rem 0.55rem; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); }
.lang-pill.is-active { background: var(--gold); color: #07070a; }

.menu-btn {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  cursor: pointer;
}
.burger { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.burger span { display: block; height: 2px; width: 1.25rem; border-radius: 99px; background: #fff; }
.burger span.gold { width: 0.75rem; background: var(--gold); }
.mobile-nav {
  position: fixed;
  inset: 4.25rem 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #07070a;
  padding: 1.25rem 1rem;
  display: grid;
  gap: 0.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.mobile-link { border-radius: 1rem; padding: 0.75rem 1rem; font-size: 1.1rem; color: rgba(255,255,255,.85); }
.mobile-link.is-active { background: rgba(212,160,23,.15); color: var(--gold); }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .consult-desktop { display: inline-flex; }
  .mobile-menu { display: none; }
}

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(212,160,23,.16), transparent 42%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; min-height: 88svh; padding: 4rem 0; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.phone-line { margin-top: 2rem; font-size: 0.9rem; }
.logo-plaque {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #101014;
  padding: 0.75rem;
  box-shadow: 0 40px 90px rgba(0,0,0,.45), inset 0 0 0 1px rgba(212,160,23,.3);
}
.logo-plaque img { width: min(12rem, 50%); margin: 2.5rem auto; }
.logo-plaque img.brand-photo { width: 100%; margin: 0; border-radius: 1.35rem; object-fit: cover; }
.logo-plaque.wide img { width: min(16rem, 40%); }
.logo-plaque.wide img.brand-photo { width: 100%; }
.float-plaque { animation: float-y 7s ease-in-out infinite; }
.start-grid { display: grid; gap: 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.start-grid li { border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); padding: 0.75rem 1rem; font-size: 0.75rem; color: rgba(255,255,255,.65); }
@media (min-width: 640px) { .start-grid { grid-template-columns: 1fr 1fr 1fr; } }

.strip-grid { display: grid; gap: 1rem; }
.strip-card { border-radius: 1.5rem; border: 1px solid rgba(255,255,255,.1); background: rgba(18,18,22,.9); padding: 1.5rem; }
.strip-title { font-size: 1.1rem; font-weight: 600; }
@media (min-width: 640px) { .strip-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cards-3, .cards-2, .article-grid, .team-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .cards-3, .cards-2 { grid-template-columns: 1fr 1fr; } .article-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-3, .team-grid { grid-template-columns: 1fr 1fr 1fr; } }
.span-2 { grid-column: 1 / -1; }
.icon-gold {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: 1rem;
  background: rgba(212,160,23,.12);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(212,160,23,.2);
}
.icon-gold svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }

.band { border-block: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); padding: 4rem 0; }
.how-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .how-grid { grid-template-columns: 0.9fr 1.1fr; } }
.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.step { display: grid; gap: 1rem; border-radius: 1.5rem; border: 1px solid rgba(255,255,255,.08); background: #07070a; padding: 1.5rem; }
.step-num { font-size: 1.85rem; font-weight: 600; color: var(--gold); }
.step-title { font-size: 1.2rem; font-weight: 600; }
@media (min-width: 640px) { .step { grid-template-columns: 4.5rem 1fr; } }

.team-tile { position: relative; overflow: hidden; border-radius: 1.5rem; display: block; }
.team-overlay { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, #000, rgba(0,0,0,.7), transparent); padding: 1.25rem; }
.team-name { font-size: 1.25rem; font-weight: 600; }
.team-card { overflow: hidden; padding: 0; }
.pad { padding: 1.5rem; }

.photo { display: block; overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-card { aspect-ratio: 4/5; width: 100%; border-radius: 1.5rem; }
.photo-lg { height: 7rem; width: 7rem; border-radius: 1.5rem; }
.photo-sm { height: 4rem; width: 4rem; border-radius: 1rem; }
.photo-md { height: 5rem; width: 5rem; border-radius: 1rem; }
.photo-fallback { display: grid; place-items: center; background: linear-gradient(to bottom right, rgba(212,160,23,.3), rgba(255,255,255,.05)); color: var(--gold); }
.photo-initials { font-size: 1.5rem; font-weight: 600; }
.photo-initials-lg { font-size: 3rem; font-weight: 600; }

.site-footer { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); background: #030303; }
.cta-band {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1.75rem;
  background: linear-gradient(to right, rgba(212,160,23,.2), transparent);
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(212,160,23,.25);
  margin: 2rem 0;
}
.cta-band.large { padding: 2rem; margin-top: 3rem; }
.cta-title { font-size: 1.25rem; font-weight: 600; }
@media (min-width: 640px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-note { max-width: 24rem; color: rgba(255,255,255,.5); font-size: 0.9rem; line-height: 1.75; }
.footer-head { font-weight: 600; }
.footer-list { margin: 1rem 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.55); font-size: 0.9rem; }
.footer-list li { margin: 0.4rem 0; }
.footer-list a:hover, .text-link:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 0; font-size: 0.75rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }
.staff-dot { display: inline-block; height: 0.6rem; width: 0.6rem; border-radius: 99px; background: rgba(212,160,23,.2); }
.staff-dot:hover { background: var(--gold); transform: scale(1.5); }

.prose-legal { max-width: 48rem; font-size: 1.05rem; line-height: 2; color: rgba(255,255,255,.7); }
.prose-legal p + p { margin-top: 1.25rem; }
.disclaimer-box { margin: 2rem 0; border-radius: 1rem; border: 1px solid rgba(212,160,23,.25); background: rgba(212,160,23,.08); padding: 1rem 1.25rem; color: rgba(255,255,255,.7); font-size: 0.9rem; line-height: 1.75; }
.article-html, .article-plain { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,.75); }
.article-html h2, .article-html h3, .article-plain h2 { margin: 1.6rem 0 0.7rem; color: #fff; font-weight: 600; }
.article-html a { color: var(--gold-soft); }
.article-html ul, .article-html ol, .article-plain ul { padding-inline-start: 1.4rem; }
.more-list { margin-top: 1.5rem; padding: 0; list-style: none; }
.more-list a { color: var(--gold-soft); }
.more-list li { margin: 0.5rem 0; }

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-dl { display: grid; gap: 1rem; margin-top: 2.5rem; }
.contact-dl dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.contact-dl dd { margin: 0.4rem 0 0; font-size: 1.1rem; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: rgba(255,255,255,.65); }
.notice { border-radius: 1rem; border: 1px solid rgba(212,160,23,.2); background: rgba(212,160,23,.08); padding: 0.85rem 1rem; color: var(--gold-soft); font-size: 0.9rem; }
.notice-error { border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.08); color: #fca5a5; }

.admin-body { background: #07070a; }
.admin-header { border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(3,3,3,.9); }
.admin-header-inner { flex-wrap: wrap; }
.admin-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.admin-who { font-size: 0.75rem; color: rgba(255,255,255,.45); }
.admin-main { width: min(72rem, calc(100% - 2.5rem)); margin: 0 auto; padding: 2.5rem 0 4rem; flex: 1; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1.25rem; }
.login-card { width: min(28rem, 100%); }
.login-card h1 { margin: 2rem 0 0.75rem; }
.stats { display: grid; gap: 1rem; margin: 2rem 0; }
@media (min-width: 640px) { .stats { grid-template-columns: 1fr 1fr 1fr; } }
.stat { font-size: 2.4rem; font-weight: 600; color: var(--gold); margin: 0; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.row-start { display: flex; align-items: center; gap: 0.75rem; }
.wrap-gap { flex-wrap: wrap; margin-top: 1rem; }
.empty { border: 1px dashed rgba(255,255,255,.15); border-radius: 1.5rem; padding: 4rem 1.5rem; text-align: center; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.tool-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tool-btn {
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.tool-btn:hover { background: var(--gold); color: #07070a; }
.meta-grid { display: grid; gap: 0.5rem; margin: 1rem 0; font-size: 0.9rem; }
@media (min-width: 640px) { .meta-grid { grid-template-columns: 1fr 1fr 1fr; } }
.meta-grid dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.meta-grid dd { margin: 0.2rem 0 0; }
.text-gold { background: none; border: 0; color: var(--gold); cursor: pointer; padding: 0.5rem 0.75rem; }
.text-link { padding: 0.5rem 0.75rem; color: rgba(255,255,255,.55); }

.page-enter { animation: fade-up 560ms ease both; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
