/* ==========================================================================
   Altawjeeh Direction — موقع مكتب التوجيه للمحاسبة والاستشارات
   نظام تصميم مؤسسي: شبكة واسعة، عناوين كبيرة، بطاقات بصور، وحركة هادئة.
   كل الألوان معرّفة في :root أدناه.
   ========================================================================== */

:root {
  /* الهوية اللونية — مأخوذة من بطاقة العمل */
  --brand:        #27509B;
  --brand-dark:   #1B3C78;
  --brand-light:  #5B8FE0;
  --navy:         #16305E;
  --navy-deep:    #0E2A52;
  --gold:         #8A6D12;
  --gold-light:   #D9B65A;

  --ground:       #FFFFFF;
  --ground-alt:   #F2F5FA;
  --ground-deep:  #E8EEF8;
  --card:         #FFFFFF;
  --line:         #DEE5F0;
  --line-soft:    #EDF1F7;
  --ink:          #0F1E36;
  --muted:        #4E5C76;
  --on-dark:      #EEF2F8;
  --on-dark-soft: #C3CFE2;
  --on-dark-dim:  #93A3BD;

  --ok-bg: #E9F3EC; --ok-line: #B4D6BE; --ok-text: #1C5B34;
  --err-bg: #FCECEC; --err-line: #E4B7B7; --err-text: #8A2525;
  --note-bg: #FFF8E8; --note-line: #E8D9AE; --note-text: #5A4A1E;

  --radius:    4px;
  --radius-lg: 6px;
  --wrap:      1280px;
  --gutter:    40px;

  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
  --font-head: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  --font-mark: 'Lora', Georgia, serif;

  --ease: cubic-bezier(.22, .9, .3, 1);
}

/* ---------- الأساسيات ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-size: 16.5px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.28; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 14px 22px; text-decoration: none;
}
.skip-link:focus { inset-inline-start: 0; color: #fff; }

/* أرقام الهاتف تبقى بترتيب لاتيني داخل النص العربي */
[data-c="phone"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- حركة الظهور عند التمرير ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- الشريط العلوي ---------- */
.topbar { background: var(--navy-deep); color: var(--on-dark-soft); font-size: 14px; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 9px; }
.topbar a { color: var(--on-dark-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar svg { color: var(--gold-light); flex: none; }
.topbar .spacer { margin-inline-start: auto; }

/* ---------- الشعار ---------- */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo-mark { flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-mark); font-size: 26px; font-weight: 600; color: var(--brand); }
.logo-sub { font-size: 10px; letter-spacing: 0.36em; color: var(--brand); font-weight: 500; }

/* ---------- الترويسة ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 16px 28px; padding-block: 16px; }

.nav { display: flex; align-items: center; gap: 4px 30px; margin-inline-start: auto; }
.nav a {
  text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 500;
  padding: 12px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 4px; height: 3px;
  background: var(--brand); transform: scaleX(0); transform-origin: inset-inline-start;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; border: 1px solid var(--line); overflow: hidden; }
.lang-switch button {
  border: 0; background: #fff; color: var(--muted); cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 600; padding: 11px 15px; min-height: 44px; transition: background .2s, color .2s;
}
.lang-switch button:hover { background: var(--ground-alt); color: var(--navy); }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  cursor: pointer; align-items: center; justify-content: center;
}

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 30px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: inherit; font-size: 16.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-accent { background: #fff; color: var(--navy); }
.btn-accent:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 44px; padding: 11px 22px; font-size: 15.5px; }

/* رابط بسهم — يتحرك عند المرور */
.arrow-link {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-weight: 600; color: var(--navy); font-size: 16.5px;
}
.arrow-link .ar-ico {
  width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.arrow-link:hover { color: var(--brand); }
.arrow-link:hover .ar-ico { background: var(--navy); transform: translateX(-5px); }
html[dir="ltr"] .arrow-link:hover .ar-ico { transform: translateX(5px); }
html[dir="rtl"] .arrow-link .ar-ico svg { transform: scaleX(-1); }

/* ---------- الأقسام ---------- */
.section { padding-block: 96px; }
.section-sm { padding-block: 64px; }
.section-alt { background: var(--ground-alt); }
.section-deep { background: var(--ground-deep); }
.section-light { background: #fff; }
.section-ground { background: var(--ground-alt); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-soft); }

.eyebrow {
  font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--gold-light); flex: none; }
.section-dark .eyebrow { color: var(--gold-light); }

.section-title { font-size: clamp(27px, 3.3vw, 42px); max-width: 20ch; }
.section-title.wide { max-width: 26ch; }
.section-intro { font-size: 18px; color: var(--muted); max-width: 62ch; margin-top: 18px; }
.section-dark .section-intro { color: var(--on-dark-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; }

/* ---------- الواجهة الرئيسية ---------- */
.hero { position: relative; background: var(--navy-deep); color: var(--on-dark); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* الحجب الداكن يكون أقوى في الجهة التي يقع فيها النص */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,42,82,.48) 0%, rgba(14,42,82,.95) 58%);
}
html[dir="ltr"] .hero::after { background: linear-gradient(to left, rgba(14,42,82,.48) 0%, rgba(14,42,82,.95) 58%); }
/* الرسم مجرّد — نعكسه أفقيًا في العربية ليقع في الجهة الفارغة */
html[dir="rtl"] .hero-media img { transform: scaleX(-1); }
.hero-inner { position: relative; z-index: 2; padding-block: 118px 124px; max-width: 760px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); color: #fff; margin-bottom: 24px; line-height: 1.18; }
.hero-lead { font-size: 20px; color: var(--on-dark-soft); max-width: 56ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 34px; font-size: 14.5px; color: var(--on-dark-dim); max-width: 54ch; }

/* ترويسة الصفحات الداخلية */
.page-head { position: relative; background: var(--navy); color: var(--on-dark); overflow: hidden; }
.page-head-media { position: absolute; inset: 0; opacity: .5; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; background: rgba(22,48,94,.82); }
.page-head .wrap { position: relative; z-index: 2; padding-block: 78px 84px; }
.page-head h1 { font-size: clamp(30px, 4.2vw, 50px); color: #fff; max-width: 22ch; }
.page-head p { font-size: 18.5px; color: var(--on-dark-soft); max-width: 64ch; margin-top: 20px; }

/* ---------- شريط الحقائق ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 36px 34px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact svg { flex: none; color: var(--brand); margin-top: 3px; }
.fact p { font-size: 16px; color: var(--muted); }

/* ---------- بطاقات بصور (tiles) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 32px; }
.tile { background: #fff; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ground-deep); display: block; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.06); }
.tile-body { padding: 26px 0 0; border-top: 3px solid var(--brand); margin-top: 0; }
.tile h3 { font-size: 21px; color: var(--navy); margin-bottom: 12px; transition: color .25s; }
.tile:hover h3 { color: var(--brand); }
.tile p { font-size: 16px; color: var(--muted); }

/* ---------- الرسوم التفاعلية داخل البطاقات ----------
   الرسم SVG داخل الصفحة، وتتحرك أجزاؤه عند مرور المؤشر أو عند التركيز بلوحة المفاتيح. */
.tile-media svg { width: 100%; height: 100%; display: block; }

.tile-go {
  position: absolute; inset-block-end: 16px; inset-inline-end: 16px;
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px) scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
html[dir="rtl"] .tile-go svg { transform: scaleX(-1); }
.tile:hover .tile-go, .tile:focus-visible .tile-go { opacity: 1; transform: none; }

/* الحالة الساكنة — الرسم مكتمل لكن هادئ، ويكتسب حياته عند التفاعل */
.a-bar  { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.74); transition: transform .65s var(--ease); }
.a-fill { transform-box: fill-box; transform-origin: left center; transform: scaleX(.76); transition: transform .7s var(--ease); }
.a-row  { opacity: .55; transition: opacity .5s var(--ease); }
.a-dot  { opacity: .4; transform: scale(.82); transform-box: fill-box; transform-origin: center; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.a-line { opacity: .5; stroke-dasharray: 420; stroke-dashoffset: 0; transition: opacity .35s var(--ease); }
.a-ring { stroke-dasharray: 352; stroke-dashoffset: 92; }
.a-check { opacity: .35; transform: scale(.88); transform-box: fill-box; transform-origin: center; transition: opacity .4s var(--ease), transform .45s var(--ease); }
.a-slide { opacity: .3; transition: opacity .4s var(--ease), transform .55s var(--ease); }
.a-node { transition: transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.a-hub  { transition: transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.a-cell { opacity: .5; transition: opacity .5s var(--ease); }
.a-pulse { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.a-flow { stroke-dashoffset: 0; }

/* الحالة عند التفاعل */
.tile:hover .a-bar, .tile:focus-visible .a-bar { transform: scaleY(1); }
.tile:hover .a-bar.b2 { transition-delay: .06s } .tile:hover .a-bar.b3 { transition-delay: .12s }
.tile:hover .a-bar.b4 { transition-delay: .18s } .tile:hover .a-bar.b5 { transition-delay: .24s }
.tile:hover .a-fill, .tile:focus-visible .a-fill { transform: scaleX(1); }
.tile:hover .a-fill.f2 { transition-delay: .1s } .tile:hover .a-fill.f3 { transition-delay: .2s }
.tile:hover .a-row, .tile:focus-visible .a-row { opacity: 1; }
.tile:hover .a-row.r2 { transition-delay: .06s } .tile:hover .a-row.r3 { transition-delay: .12s }
.tile:hover .a-row.r4 { transition-delay: .18s } .tile:hover .a-row.r5 { transition-delay: .24s }
.tile:hover .a-row.r6 { transition-delay: .3s }
.tile:hover .a-line, .tile:focus-visible .a-line { opacity: 1; animation: draw 1s var(--ease) both; }
.tile:hover .a-ring, .tile:focus-visible .a-ring { animation: ring 1.1s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 420 } to { stroke-dashoffset: 0 } }
@keyframes ring { from { stroke-dashoffset: 352 } to { stroke-dashoffset: 92 } }
.tile:hover .a-dot, .tile:focus-visible .a-dot { opacity: 1; transform: none; }
.tile:hover .a-dot.d1 { transition-delay: .35s } .tile:hover .a-dot.d2 { transition-delay: .5s }
.tile:hover .a-dot.d3 { transition-delay: .65s } .tile:hover .a-dot.d4 { transition-delay: .8s }
.tile:hover .a-check, .tile:focus-visible .a-check { opacity: 1; transform: none; transition-delay: .35s; }
.tile:hover .a-slide, .tile:focus-visible .a-slide { opacity: 1; transform: none; }
.tile:hover .a-slide.s2 { transition-delay: .09s } .tile:hover .a-slide.s3 { transition-delay: .18s }
.tile:hover .a-node, .tile:focus-visible .a-node { transform: translateY(-4px); }
.tile:hover .a-node.n2 { transition-delay: .08s } .tile:hover .a-node.n3 { transition-delay: .16s }
.tile:hover .a-hub, .tile:focus-visible .a-hub { transform: scale(1.12); }
.tile:hover .a-cell, .tile:focus-visible .a-cell { opacity: 1; }
.tile:hover .a-cell.c2 { transition-delay: .05s } .tile:hover .a-cell.c3 { transition-delay: .1s }
.tile:hover .a-cell.c4 { transition-delay: .15s } .tile:hover .a-cell.c5 { transition-delay: .2s }
.tile:hover .a-pulse, .tile:focus-visible .a-pulse { transform: scale(1.22); }
.tile:hover .a-flow, .tile:focus-visible .a-flow { animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -30; } }

@media (prefers-reduced-motion: reduce) {
  .a-bar, .a-fill, .a-dot, .a-check, .a-slide, .a-node, .a-hub, .a-pulse { transform: none !important; }
  .a-row, .a-dot, .a-check, .a-slide, .a-cell, .a-line { opacity: 1 !important; }
  .a-line { stroke-dashoffset: 0 !important; }
  .tile:hover .a-flow, .tile:hover .a-line, .tile:hover .a-ring { animation: none !important; }
  .tile-go { opacity: 1; transform: none; }
}

/* ---------- خطوات تفاعلية ---------- */
.stepper { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.stepper-tabs { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; }
.stepper-tab {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: start;
  background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.2);
  padding: 20px 4px; cursor: pointer; font-family: inherit; color: var(--on-dark-soft);
  transition: color .25s var(--ease), padding .3s var(--ease);
}
.stepper-tab:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.stepper-tab .sn {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.stepper-tab .st { font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.stepper-tab:hover { color: #fff; }
.stepper-tab:hover .sn { border-color: var(--gold-light); }
.stepper-tab.is-active { color: #fff; padding-inline-start: 14px; }
.stepper-tab.is-active .sn { background: var(--gold-light); color: var(--navy-deep); border-color: var(--gold-light); }

.stepper-panel { flex: 999 1 420px; min-width: 0; background: rgba(255,255,255,.07); padding: 38px; border-top: 3px solid var(--gold-light); }
.stepper-panel h3 { font-size: 24px; color: #fff; margin-bottom: 14px; }
.stepper-panel p { color: var(--on-dark-soft); font-size: 16.5px; margin-bottom: 20px; }
.stepper-panel.fade { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .stepper-panel.fade { animation: none; } }

.bullets.light { color: var(--on-dark-soft); }
.bullets.light li::before { background: var(--gold-light); }

/* ---------- بطاقات نصية ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(305px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); padding: 34px 30px; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.card:hover { box-shadow: 0 16px 40px rgba(15, 35, 70, .10); transform: translateY(-3px); border-color: var(--line-soft); }
.card-ground { background: var(--ground-alt); border-color: transparent; }
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 11px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card-icon { color: var(--brand); margin-bottom: 20px; display: block; }

/* ---------- قسم مقسوم: نص + صورة ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: center; }
.split-copy { flex: 1 1 420px; min-width: 0; }
.split-media { flex: 1 1 420px; min-width: 0; }
.split-media img { width: 100%; height: auto; }

.checks { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ck {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-top: 3px;
}
.checks strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.checks span.t { font-size: 15.5px; color: var(--muted); }

/* ---------- الخطوات ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; flex-wrap: wrap; gap: 22px 36px; padding: 40px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
}
.step-body { flex: 999 1 440px; min-width: 0; }
.step-body h3 { font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.step-body p { font-size: 17px; color: var(--muted); margin-bottom: 16px; }

/* خطوات مختصرة على خلفية داكنة */
.step-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 36px; }
.step-col { border-top: 3px solid rgba(255,255,255,.22); padding-top: 24px; }
.step-col .n { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--gold-light); letter-spacing: .12em; }
.step-col h3 { font-size: 20px; color: #fff; margin: 12px 0 10px; }
.step-col p { font-size: 15.5px; color: var(--on-dark-soft); }

.bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--muted); }
.bullets li { position: relative; padding-inline-start: 22px; }
.bullets li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 8px; height: 8px; background: var(--brand); }

/* ---------- الفريق ---------- */
.person { background: #fff; border: 1px solid var(--line); padding: 32px 28px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.person:hover { box-shadow: 0 16px 40px rgba(15,35,70,.10); transform: translateY(-3px); }
.person-avatar {
  width: 60px; height: 60px; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 20px;
}
.person h3 { font-size: 19px; color: var(--navy); margin-bottom: 5px; }
.person .role { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.person a { font-size: 14.5px; word-break: break-all; }

/* ---------- التنويهات ---------- */
.notice { padding: 30px 32px; }
.notice h3 { font-size: 19px; margin-bottom: 12px; }
.notice p, .notice li { font-size: 15.5px; }
.notice-warn { background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note-text); }
.notice-warn h3 { color: #6B4E06; }
.notice-info { background: var(--ground-alt); color: var(--muted); }
.notice-info h3 { color: var(--navy); }

/* ---------- شريط الدعوة للتواصل ---------- */
.band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(22,48,94,.72); }
.band .wrap { position: relative; z-index: 2; padding-block: 84px; }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px 52px; }
.band-text { flex: 1 1 440px; min-width: 0; }
.band-text h2 { font-size: clamp(25px, 3vw, 36px); color: #fff; margin-bottom: 14px; }
.band-text p { color: var(--on-dark-soft); max-width: 56ch; font-size: 17.5px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- النماذج ---------- */
.form-card { background: #fff; border: 1px solid var(--line); padding: 40px; }
.form-card.on-dark { border: 0; }
.form-card h2 { font-size: 25px; color: var(--navy); margin-bottom: 10px; }
.form-sub { font-size: 15.5px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field-row .field { flex: 1 1 215px; min-width: 0; }

label { font-size: 14.5px; font-weight: 600; color: var(--navy); }
input, select, textarea {
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff;
  padding: 14px 15px; border: 1px solid #C6D1E2; border-radius: var(--radius); min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 126px; }
input::placeholder, textarea::placeholder { color: #94A1B8; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,80,155,.12); }
.req { color: #B02A2A; }

.form-msg { padding: 15px 17px; font-size: 15px; border-radius: var(--radius); }
.form-msg strong { display: block; margin-bottom: 4px; }
.form-msg.ok { background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-text); }
.form-msg.err { background: var(--err-bg); border: 1px solid var(--err-line); color: var(--err-text); }
.form-foot { font-size: 13.5px; color: #6B788F; }
[hidden] { display: none !important; }

/* ---------- بيانات التواصل ---------- */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 22px; font-size: 16px; color: var(--muted); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; margin-top: 4px; color: var(--brand); }
.contact-list .label { display: block; font-size: 13px; color: #7E8AA2; letter-spacing: .06em; text-transform: uppercase; }
.contact-list .value { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a.value { color: var(--brand); }
.contact-list a.value:hover { color: var(--navy); }

.aside-stack { flex: 1 1 330px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.wa-card { background: var(--navy); padding: 34px; color: var(--on-dark); }
.wa-card h2 { font-size: 21px; color: #fff; margin-bottom: 12px; }
.wa-card p { color: var(--on-dark-soft); font-size: 15.5px; margin-bottom: 24px; }

/* ---------- التذييل ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding: 76px 0 34px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 44px; }
.site-footer h2 {
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px;
}
.site-footer a { color: var(--on-dark-soft); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .logo-name, .site-footer .logo-sub { color: #fff; }
.footer-about { font-size: 15px; color: var(--on-dark-dim); max-width: 38ch; margin-top: 20px; }
.footer-links, .footer-contact { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-bottom {
  margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
}
.footer-bottom p { font-size: 13.5px; color: #8496B3; max-width: 72ch; }

/* ---------- الجوال ---------- */
@media (max-width: 1000px) {
  :root { --gutter: 24px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; width: 100%; order: 3; flex-direction: column; align-items: stretch; gap: 0;
    margin: 12px 0 2px; border-top: 1px solid var(--line); padding-top: 6px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; }
  .nav a::after { display: none; }
  .header-inner { flex-wrap: wrap; }
  .header-tools { margin-inline-start: auto; }

  .hero-inner { padding-block: 72px 76px; }
  .hero-lead { font-size: 17.5px; }
  .hero::after { background: rgba(14,42,82,.9); }
  html[dir="ltr"] .hero::after { background: rgba(14,42,82,.9); }
  .page-head .wrap { padding-block: 52px 56px; }
  .section { padding-block: 60px; }
  .section-sm { padding-block: 44px; }
  .section-head { margin-bottom: 36px; }
  .tiles { gap: 28px; }
  .fact { border-inline-start: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .fact:first-child { border-top: 0; }
  .form-card { padding: 26px; }
  .band .wrap { padding-block: 56px; }
  .hero-actions .btn, .band-actions .btn, .wa-card .btn, form .btn { width: 100%; }
  .topbar-inner { font-size: 13px; gap: 6px 18px; }
  .topbar .spacer { margin-inline-start: 0; }
}

@media (max-width: 560px) {
  .header-tools .btn { display: none; }
  .lang-switch button { padding: 11px 12px; font-size: 13.5px; }
  .logo-name { font-size: 22px; }
  .topbar .hide-xs { display: none; }
}

@media print {
  .site-header, .topbar, .band, .nav-toggle, .lang-switch, .hero-media, .page-head-media { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero, .page-head, .section-dark { background: #fff !important; color: #000 !important; }
  .hero::after, .page-head::after { display: none; }
  .hero h1, .page-head h1, .section-dark h2 { color: #000 !important; }
  .hero-lead, .page-head p, .section-dark p { color: #333 !important; }
}
