/* =========================================================
   منظمة أرض لاماسو — الواجهة العامة
   طابع صناعي جريء: صور كبيرة، أقسام داكنة، زوايا حادة، لون تمييز أصفر
   يدعم RTL و LTR
   ========================================================= */
:root {
  --black: #0b0d10;
  --dark: #14181e;
  --dark-2: #1c2129;
  --ink: #0f1115;
  --text: #3a3f47;
  --muted: #6b717c;
  --line: #e4e6ea;
  --gray: #f5f5f5;
  --accent: #c1121f;
  --accent-d: #9a0e18;
  --accent-l: #ff4d57;
  --red: #c1121f;
  --blue: #1a2fa8;
  --green: #2e8b1e;
  --container: 1240px;
  --head: 'Cairo', 'IBM Plex Sans Arabic', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans Arabic', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--body); font-size: 17px; font-weight: 400; line-height: 1.8; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
.lang-en { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip-link:focus { inset-inline-start: 8px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .ico.flip { transform: scaleX(-1); }
.back-ico { transform: scaleX(-1); }
[dir="rtl"] .back-ico { transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 34px; height: 4px; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--blue) 33.3% 66.6%, var(--green) 66.6%); }
[dir="rtl"] .eyebrow::before { background: linear-gradient(-90deg, var(--red) 0 33.3%, var(--blue) 33.3% 66.6%, var(--green) 66.6%); }
.eyebrow.light { color: #fff; }
.lead { font-size: 1.15rem; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.more .ico { transition: transform .25s var(--ease); }
a:hover > .more .ico, .more:hover .ico { transform: translateX(4px); }
[dir="rtl"] a:hover > .more .ico.flip, [dir="rtl"] .more:hover .ico.flip { transform: scaleX(-1) translateX(4px); }

/* ===== الأزرار ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1rem; padding: 13px 28px; border: 2px solid transparent; border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; line-height: 1.3; white-space: nowrap; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #2a2f37; border-color: #2a2f37; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ===== الشريط العلوي والترويسة ===== */
.topbar { background: var(--black); color: rgba(255, 255, 255, .75); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .8); }
.topbar a:hover { color: var(--accent-l); }
.topbar-contact, .topbar-actions { display: flex; gap: 22px; align-items: center; }
.topbar-tag { color: var(--accent-l); font-weight: 600; }
.lang-switch { font-weight: 700; color: #fff !important; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-logo { width: 118px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.brand-text strong { font-family: var(--head); font-size: 1.08rem; color: var(--ink); font-weight: 800; }
.brand-text small { font-size: .78rem; color: var(--muted); }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav ul a { position: relative; display: block; padding: 34px 10px; font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.main-nav ul a::after { content: ""; position: absolute; inset-inline: 10px; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.hp-ico { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--gray); color: var(--ink); }
.hp-txt { display: flex; flex-direction: column; line-height: 1.25; }
.hp-txt small { font-size: .75rem; color: var(--muted); }
.hp-txt b { font-family: var(--head); font-size: .95rem; color: var(--ink); }
.nav-toggle { display: none; background: var(--ink); border: 0; color: #fff; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }

.header-phone { display: none; }
@media (max-width: 1400px) { .brand-text { display: none; } }
@media (max-width: 1180px) {
  .main-nav ul a { padding-inline: 8px; font-size: .9rem; }
}
@media (max-width: 1060px) {
  .header-inner { min-height: 76px; justify-content: space-between; }
  .brand-logo { width: 98px; }
  .brand-text { display: flex; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset-inline: 0; top: var(--header-bottom, 114px); bottom: 0; background: var(--black);
    flex-direction: column; justify-content: flex-start; padding: 12px 24px 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s var(--ease);
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { color: #fff; padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav ul a::after { inset-inline: auto; inset-inline-start: 0; top: 18px; bottom: 18px; width: 4px; height: auto; transform: scaleY(0); }
  .main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleY(1); }
  .main-nav ul a.active { color: var(--accent-l); padding-inline-start: 16px; }
  .nav-mobile-extra { display: block; padding-top: 22px; }
  .nav-mobile-extra a { display: inline-flex; gap: 10px; align-items: center; color: var(--accent-l); font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .header-cta .btn-accent { display: none; }
  .brand-text { display: none; }
  .topbar-contact a { display: none; }
}

/* ===== الواجهة الرئيسية ===== */
.hero { position: relative; color: #fff; background: var(--black) var(--bg) center / cover no-repeat; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 13, .92) 0%, rgba(8, 10, 13, .72) 45%, rgba(8, 10, 13, .25) 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(-90deg, rgba(8, 10, 13, .92) 0%, rgba(8, 10, 13, .72) 45%, rgba(8, 10, 13, .25) 100%); }
.hero-inner { padding-block: 110px 70px; max-width: var(--container); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; max-width: 14ch; line-height: 1.12; margin-bottom: 18px; }
.lang-en .hero h1 { max-width: 16ch; }
.hero-sub { font-family: var(--head); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--accent-l); max-width: 760px; margin-bottom: 14px; }
.hero-text { font-size: 1.12rem; color: rgba(255, 255, 255, .85); max-width: 640px; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-pillars { background: rgba(8, 10, 13, .82); border-top: 1px solid rgba(255, 255, 255, .1); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-top: 4px solid; }
.pillar + .pillar { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.pillar .ico { width: 34px; height: 34px; }
.pillar span { display: flex; flex-direction: column; line-height: 1.4; }
.pillar b { font-family: var(--head); font-size: 1.1rem; color: #fff; }
.pillar small { color: rgba(255, 255, 255, .65); font-size: .88rem; }
.p-r { border-top-color: var(--red); } .p-r .ico { color: #ff5a63; }
.p-b { border-top-color: var(--blue); } .p-b .ico { color: #7e94ff; }
.p-g { border-top-color: var(--green); } .p-g .ico { color: #5ccb4a; }

/* ===== الأقسام ===== */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.gray { background: var(--gray); }
.section.dark { background: var(--black); color: rgba(255, 255, 255, .78); }
.section.dark h2, .section.dark h3, .section.dark .eyebrow { color: #fff; }
.section.dark .more { color: var(--accent-l); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 10px; max-width: 760px; }
.section-head p { margin: 0; max-width: 680px; color: var(--muted); font-size: 1.05rem; }
.section.dark .section-head p { color: rgba(255, 255, 255, .65); }
.section-head .more { white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid var(--accent); }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin-inline: auto; }

/* بطاقات الحلول بصورة كاملة */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 13, .1) 20%, rgba(8, 10, 13, .9) 78%); transition: background .35s; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::before { background: linear-gradient(180deg, rgba(8, 10, 13, .45) 0%, rgba(8, 10, 13, .95) 70%); }
.tile-body { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.tile-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; margin-bottom: 6px; }
.tile-icon .ico { width: 26px; height: 26px; }
.tile strong { font-family: var(--head); font-size: 1.25rem; line-height: 1.35; }
.tile-text { font-size: .93rem; color: rgba(255, 255, 255, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.tile:hover .tile-text, .tile:focus-visible .tile-text { max-height: 4em; opacity: 1; }
.tile .more { color: var(--accent-l); font-size: .9rem; }

/* قسم نص + صورة */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.since { position: absolute; bottom: -28px; inset-inline-end: -28px; background: var(--accent); color: #fff; padding: 26px 30px; display: flex; flex-direction: column; line-height: 1.1; }
.since b { font-family: var(--head); font-size: 2.6rem; font-weight: 900; }
.since span { font-weight: 600; font-size: .95rem; }
.split-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.vm-list { display: grid; gap: 20px; margin: 28px 0 34px; }
.vm-list > div { padding-inline-start: 22px; border-inline-start: 4px solid var(--accent); }
.vm-list h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 6px; }
.vm-list p { margin: 0; color: var(--muted); }

/* بانر بصورة مع صندوق جانبي */
.banner { position: relative; background: var(--dark) var(--bg) center / cover no-repeat; padding: clamp(60px, 8vw, 110px) 0; isolation: isolate; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 10, 13, .35); }
.banner-inner { display: flex; justify-content: flex-end; }
.banner-box { background: rgba(11, 13, 16, .94); color: rgba(255, 255, 255, .8); padding: clamp(32px, 4vw, 52px); max-width: 560px; border-top: 6px solid var(--accent); }
.banner-box h2 { color: #fff; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 4px; }
.check-list a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 500; }
.check-list a:hover { color: var(--accent-l); }
.check-list .ico { color: var(--accent-l); }

/* الأرقام */
.stats { position: relative; background: var(--black) var(--bg) center / cover no-repeat; padding: clamp(70px, 9vw, 120px) 0; color: #fff; isolation: isolate; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 10, 13, .82); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 10px 28px; text-align: center; }
.stats-grid > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.stats-grid strong { font-family: var(--head); font-size: clamp(2.8rem, 5.5vw, 4.4rem); font-weight: 900; line-height: 1; color: #fff; }
.stats-grid em { font-style: normal; font-family: var(--head); font-size: 2.2rem; font-weight: 900; color: var(--accent-l); }
.stats-grid span { display: block; margin-top: 12px; font-family: var(--head); font-weight: 600; color: rgba(255, 255, 255, .75); }

/* البطاقات */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.section.gray .card { background: #fff; }
.section:not(.gray) .card { background: var(--gray); }
.card:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .1); transform: translateY(-4px); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .badge { position: absolute; top: 0; inset-inline-start: 0; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 700; font-size: .85rem; padding: 6px 14px; }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 2px 0 4px; font-size: 1.18rem; }
.card-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.card-body p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-body .more { margin-top: auto; padding-top: 10px; }
.course-meta { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.course-meta li { display: inline-flex; align-items: center; gap: 6px; }

/* الشركاء */
.partners-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.partner { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 24px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); text-align: center; transition: background .2s; }
.partner:hover { background: var(--gray); }
.partner img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.partner:hover img { filter: none; opacity: 1; }
.partner-name { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.45; font-size: 1rem; }
.partner-name .ico { width: 30px; height: 30px; color: var(--muted); }

/* دعوة للتواصل */
.cta { position: relative; background: var(--black) var(--bg) center / cover no-repeat; color: #fff; padding: clamp(70px, 9vw, 120px) 0; text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 10, 13, .84); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--accent-l); color: var(--accent-l); margin-bottom: 24px; }
.cta-icon .ico { width: 34px; height: 34px; }
.cta h2 { color: #fff; max-width: 820px; font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.cta p { color: rgba(255, 255, 255, .75); max-width: 640px; font-size: 1.1rem; margin-bottom: 32px; }

/* ===== رأس الصفحات الداخلية ===== */
.page-hero { position: relative; background: var(--black) var(--bg) center / cover no-repeat; color: #fff; padding: clamp(80px, 10vw, 140px) 0 clamp(50px, 6vw, 80px); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 10, 13, .92), rgba(8, 10, 13, .6)); }
.page-hero::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 180px; height: 6px; background: var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; margin-bottom: 12px; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 760px; margin: 0; font-weight: 300; }
.crumbs { display: flex; gap: 10px; font-size: .9rem; color: rgba(255, 255, 255, .65); margin-bottom: 16px; font-weight: 500; }
.crumbs a:hover { color: var(--accent-l); }

/* ===== المحتوى ===== */
.prose { color: var(--text); }
.prose p { margin-bottom: 1.1em; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-inline-start: 28px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 10px; height: 10px; background: var(--accent); }
.intro-wide { max-width: 920px; margin-bottom: 50px; font-size: 1.12rem; }

.reg-strip { background: var(--black); color: rgba(255, 255, 255, .8); }
.reg-strip .container { display: grid; grid-template-columns: 1fr 1fr; }
.reg-strip .item { display: flex; gap: 18px; align-items: flex-start; padding: 34px 30px; }
.reg-strip .item + .item { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.reg-strip .ico { width: 36px; height: 36px; color: var(--accent-l); }
.reg-strip h3 { color: #fff; margin-bottom: 6px; font-size: 1.1rem; }
.reg-strip p { margin: 0; font-size: .96rem; }

.vmm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.vmm > div { background: var(--dark); color: rgba(255, 255, 255, .78); padding: 40px 34px; border-top: 6px solid; }
.vmm > div:nth-child(1) { border-top-color: var(--red); }
.vmm > div:nth-child(2) { border-top-color: var(--blue); }
.vmm > div:nth-child(3) { border-top-color: var(--green); }
.vmm .ico { width: 40px; height: 40px; color: var(--accent-l); margin-bottom: 16px; }
.vmm h3 { color: #fff; font-size: 1.35rem; }
.vmm p { margin: 0; }
.vmm .motto { font-family: var(--head); font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1.5; }

.objectives { list-style: none; counter-reset: obj; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; }
.objectives li { counter-increment: obj; display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.objectives li::before { content: counter(obj, decimal-leading-zero); font-family: var(--head); font-weight: 900; font-size: 1.6rem; color: var(--accent); line-height: 1.2; min-width: 44px; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team > div { background: #fff; padding: 36px 32px; border-bottom: 4px solid var(--accent); }
.team .ico { width: 42px; height: 42px; margin-bottom: 16px; color: var(--ink); }
.team p { margin: 0; color: var(--muted); font-size: .97rem; }

/* صفحة الخدمات: صفوف متناوبة */
.svc-index { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-index a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--gray); font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.svc-index a:hover { background: var(--accent); color: #fff; }
.offer { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; scroll-margin-top: 100px; }
.offer:nth-child(odd) { background: var(--black); color: rgba(255, 255, 255, .78); }
.offer:nth-child(odd) h2 { color: #fff; }
.offer:nth-child(even) { background: #fff; }
.offer:nth-child(even) .offer-media { order: 2; }
.offer-media { position: relative; background: var(--dark); }
.offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: clamp(40px, 6vw, 90px) clamp(28px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.offer-num { font-family: var(--head); font-weight: 900; font-size: 1rem; color: var(--accent-l); margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.offer-num .ico { width: 30px; height: 30px; }
.offer:nth-child(even) .offer-num { color: var(--accent); }
.offer .lead { font-size: 1.12rem; margin-bottom: 22px; }
.offer:nth-child(odd) .prose { color: rgba(255, 255, 255, .78); }
.offer .prose ul { grid-template-columns: 1fr 1fr; column-gap: 26px; }

/* التفاصيل */
.detail { display: grid; grid-template-columns: 1.8fr 1fr; gap: 50px; align-items: start; }
.detail-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 20px; }
.detail-media { margin: 0 0 30px; }
.detail-media img { width: 100%; }
.side-card { background: var(--black); color: rgba(255, 255, 255, .8); padding: 32px; position: sticky; top: 120px; border-top: 6px solid var(--accent); }
.side-card h3 { color: #fff; }
.facts { margin: 0 0 24px; }
.facts dt { font-size: .82rem; color: rgba(255, 255, 255, .55); }
.facts dd { margin: 0 0 16px; font-family: var(--head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.tag { display: inline-block; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 700; font-size: .85rem; padding: 4px 12px; margin-bottom: 10px; }
.back-link { margin-top: 34px; }

/* المعرض */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px; }
.gallery-item { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-family: var(--head); font-weight: 700; background: linear-gradient(transparent, rgba(8, 10, 13, .85)); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 6, 8, .95); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; width: auto; }
.lightbox figcaption { color: #fff; font-family: var(--head); }
.lightbox-close { position: absolute; top: 16px; inset-inline-end: 16px; background: var(--accent); color: #fff; border: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* الوثائق */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.doc { display: flex; align-items: center; gap: 22px; padding: 24px 26px; background: var(--gray); transition: background .2s; }
.doc:hover { background: #ececec; }
.doc-ext { width: 60px; height: 70px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; flex: none; }
.doc-ext b { font-size: .72rem; letter-spacing: .05em; }
.doc-ext.ext-pdf { background: var(--red); }
.doc-ext.ext-xls, .doc-ext.ext-xlsx { background: var(--green); }
.doc-ext.ext-doc, .doc-ext.ext-docx { background: var(--blue); }
.doc-info { flex: 1; min-width: 0; }
.doc-info h3 { margin: 0 0 4px; font-size: 1.1rem; }
.doc-info p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.doc-info .meta { flex-wrap: wrap; }
.doc-info .tag { margin: 0; font-size: .75rem; padding: 2px 8px; }

/* التواصل */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; }
.contact-info { background: var(--black); color: rgba(255, 255, 255, .8); padding: clamp(32px, 5vw, 56px); }
.contact-info h2 { color: #fff; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 26px; }
.info-list li { display: flex; gap: 18px; align-items: flex-start; }
.info-ico { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; flex: none; }
.info-list strong { color: #fff; display: block; font-family: var(--head); }
.info-list p { margin: 0; }
.info-list a:hover { color: var(--accent-l); }
.form-card { background: var(--gray); padding: clamp(32px, 5vw, 56px); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: .95rem; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid #fff; border-radius: 0; padding: 13px 16px; width: 100%; transition: border-color .2s; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; margin-bottom: 18px; font-weight: 600; border-inline-start: 5px solid; }
.alert-success { background: #e9f6e6; color: #1e5f14; border-color: var(--green); }
.alert-error { background: #fdeaea; color: #8f121a; border-color: var(--red); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state h1 { font-size: 5rem; color: var(--ink); margin-bottom: 6px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 48px; }
.pagination a { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: var(--gray); font-family: var(--head); font-weight: 700; color: var(--ink); }
.pagination a:hover { background: #e6e6e6; }
.pagination a.active { background: var(--accent); color: #fff; }

/* ===== التذييل ===== */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .65); font-size: .96rem; }
.footer-top { background: var(--accent); color: #fff; }
.footer-top .tri i { background: rgba(255, 255, 255, .9); }
.footer-top .tri i + i { margin-inline-start: 4px; }
.footer-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.footer-motto { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.5rem); }
.tri { display: flex; }
.tri i { width: 40px; height: 8px; }
.r { background: var(--red); } .b { background: var(--blue); } .g { background: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 50px; padding-block: 70px 50px; }
.footer-logo img { margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.site-footer a:hover { color: var(--accent-l); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { margin-top: .35em; color: var(--accent-l); }
.social { display: flex; gap: 8px; }
.social a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; }

/* ===== الاستجابة ===== */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { aspect-ratio: 4 / 3.4; }
  .tile-text { max-height: 4em; opacity: 1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .detail, .contact-grid { grid-template-columns: 1fr; }
  .split-media { max-width: 640px; }
  .side-card { position: static; }
  .vmm, .team { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr; min-height: 0; }
  .offer-media { aspect-ratio: 16 / 9; }
  .offer:nth-child(even) .offer-media { order: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .hero { min-height: 0; }
  .hero-inner { padding-block: 80px 50px; }
  .hero-actions .btn { width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 16px 0; border-top-width: 3px; }
  .pillar + .pillar { border-inline-start: 0; }
  .tiles, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 11; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head.center { align-items: center; }
  .since { inset-inline-end: 0; bottom: -20px; padding: 18px 22px; }
  .since b { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats-grid > div:nth-child(3) { border-inline-start: 0; }
  .objectives, .offer .prose ul, .reg-strip .container { grid-template-columns: 1fr; }
  .reg-strip .item + .item { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .doc { flex-wrap: wrap; }
  .doc .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top-inner { padding-block: 18px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .banner-box { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
