/* الصفحة التعريفية — مجموعة سقالة */
:root {
  --deep: #0f2e36;     /* خشب الروشان المعتّق */
  --sea: #1f4e5f;      /* لون النظام الأساسي */
  --brass: #b08a3e;    /* نحاس الأبواب القديمة */
  --fog: #edf2f1;
  --text: #1a2a30;
  --muted: #56676d;
  --paper: #ffffff;
  --gut: clamp(16px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.8 "IBM Plex Sans Arabic", system-ui, sans-serif; }
.lp h1, .lp h2, .lp h3, .lp-year, .lp-when, .lp-logo-name { font-family: "Reem Kufi", "IBM Plex Sans Arabic", sans-serif; font-weight: 600; }
.lp a { color: inherit; }
.lp a:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.lp h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; margin: 0 0 32px; color: var(--deep); }
.lp h3 { font-size: 20px; line-height: 1.4; margin: 0 0 4px; color: var(--deep); }
.lp p { margin: 0; }

/* الشريط العلوي */
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gut); }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo-mark { width: 40px; height: 40px; border-radius: 50% 50% 4px 4px; background: var(--deep); color: var(--brass); display: grid; place-items: center; font: 700 22px/1 "Reem Kufi", sans-serif; }
.lp-logo-name { font-size: 24px; color: var(--deep); }
.lp-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.lp-nav a { text-decoration: none; color: var(--muted); }
.lp-nav a:hover { color: var(--deep); }
.lp-lang { border-inline-start: 1px solid #d6dfdd; padding-inline-start: 24px; }

.lp-btn { display: inline-block; background: var(--deep); color: #fff !important; text-decoration: none; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: background .15s; }
.lp-btn:hover { background: var(--sea); }
.lp-btn-sm { padding: 8px 18px; font-size: 14px; }
.lp-btn-light { background: var(--brass); color: var(--deep) !important; }
.lp-btn-light:hover { background: #c9a35a; }
.lp-link { font-weight: 600; color: var(--sea) !important; text-underline-offset: 6px; }

/* الواجهة: النص في جهة والروشان في الأخرى */
.lp-hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(78vh, 720px); }
.lp-hero-text { padding: clamp(40px, 8vw, 110px) var(--gut); display: flex; flex-direction: column; justify-content: center; }
.lp-hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: 1.05; margin: 0 0 24px; color: var(--deep); font-weight: 700; }
.lp-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; }
.lp-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }

.lp-hero-art { position: relative; background: var(--deep); color: rgba(176,138,62,.55); overflow: hidden; border-start-start-radius: 46% 28%; }
[dir="ltr"] .lp-hero-art { border-start-start-radius: 46% 28%; }
.lp-lattice { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-hero-art .lp-lattice { animation: lp-rise 1.8s cubic-bezier(.2,.7,.2,1) .15s both; }
@keyframes lp-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.lp-year, .lp-when, .lp-logo-name { font-family: "Reem Kufi", "IBM Plex Sans Arabic", sans-serif; font-weight: 600; }
.lp a { color: inherit; }
.lp a:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.lp h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; margin: 0 0 32px; color: var(--deep); }
.lp h3 { font-size: 20px; line-height: 1.4; margin: 0 0 4px; color: var(--deep); }
.lp p { margin: 0; }

/* الشريط العلوي */
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gut); }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo-mark { width: 40px; height: 40px; border-radius: 50% 50% 4px 4px; background: var(--deep); color: var(--brass); display: grid; place-items: center; font: 700 22px/1 "Reem Kufi", sans-serif; }
.lp-logo-name { font-size: 24px; color: var(--deep); }
.lp-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.lp-nav a { text-decoration: none; color: var(--muted); }
.lp-nav a:hover { color: var(--deep); }
.lp-lang { border-inline-start: 1px solid #d6dfdd; padding-inline-start: 24px; }

.lp-btn { display: inline-block; background: var(--deep); color: #fff !important; text-decoration: none; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: background .15s; }
.lp-btn:hover { background: var(--sea); }
.lp-btn-sm { padding: 8px 18px; font-size: 14px; }
.lp-btn-light { background: var(--brass); color: var(--deep) !important; }
.lp-btn-light:hover { background: #c9a35a; }
.lp-link { font-weight: 600; color: var(--sea) !important; text-underline-offset: 6px; }

/* الواجهة: النص في جهة والروشان في الأخرى */
.lp-hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(78vh, 720px); }
.lp-hero-text { padding: clamp(40px, 8vw, 110px) var(--gut); display: flex; flex-direction: column; justify-content: center; }
.lp-hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: 1.05; margin: 0 0 24px; color: var(--deep); font-weight: 700; }
.lp-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; }
.lp-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }

.lp-hero-art { position: relative; background: var(--deep); color: rgba(176,138,62,.55); overflow: hidden; border-start-start-radius: 46% 28%; }
[dir="ltr"] .lp-hero-art { border-start-start-radius: 46% 28%; }
.lp-lattice { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-hero-art .lp-lattice {
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 75%);
          mask-image: linear-gradient(to top, #000 30%, transparent 75%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%;
  -webkit-mask-position: 0 100%; mask-position: 0 100%;
  animation: lp-rise 2.2s cubic-bezier(.2,.7,.2,1) .2s both;
}
@keyframes lp-rise { from { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.lp-year { position: absolute; inset-inline-start: 8%; bottom: 6%; font-size: clamp(96px, 15vw, 210px); line-height: .8; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.lp-city { position: absolute; inset-inline-start: 8%; bottom: calc(6% + clamp(96px, 15vw, 210px) * .82); color: var(--brass); font: 600 22px/1 "Reem Kufi", sans-serif; }

/* المحتوى */
.lp-story, .lp-sectors, .lp-presence { padding: clamp(64px, 9vw, 120px) var(--gut); }
.lp-story { background: var(--fog); }
.lp-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--deep); }
.lp-timeline li { padding: 28px 0 0; padding-inline-end: 40px; position: relative; }
.lp-timeline li::before { content: ""; position: absolute; top: -8px; inset-inline-start: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--brass); border: 3px solid var(--fog); }
.lp-when { display: block; font-size: 40px; line-height: 1.1; color: var(--sea); margin-bottom: 12px; }
.lp-timeline p { color: var(--muted); max-width: 26em; }

.lp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.lp-list li { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid #dfe6e4; }
.lp-list i { font-size: 26px; color: var(--brass); line-height: 1.3; }
.lp-list p { color: var(--muted); }

.lp-presence { padding-top: 0; }
.lp-places { margin: 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0; }
.lp-places > div { padding: 24px 0; padding-inline-end: 24px; border-top: 1px solid #dfe6e4; }
.lp-places .lp-hq { border-top: 3px solid var(--brass); }
.lp-places dt { font: 600 22px/1.4 "Reem Kufi", sans-serif; color: var(--deep); }
.lp-places dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

.lp-portal { position: relative; background: var(--deep); color: #dce6e4; padding: clamp(64px, 8vw, 104px) var(--gut); overflow: hidden; }
.lp-portal-in { position: relative; max-width: 620px; }
.lp-portal h2 { color: #fff; margin-bottom: 16px; }
.lp-portal p { margin-bottom: 32px; color: #b9c9c6; }

.lp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px var(--gut); background: #0a2329; color: #8ea5a3; font-size: 14px; }
.lp-awjan { text-decoration: none; color: #dce6e4 !important; border: 1px solid rgba(176,138,62,.5); padding: 6px 16px; border-radius: 999px; }
.lp-awjan strong { color: var(--brass); font-weight: 600; }
.lp-awjan:hover { background: rgba(176,138,62,.12); }

/* الجوال */
@media (max-width: 900px) {
  .lp-nav a:not(.lp-btn):not(.lp-lang) { display: none; }
  .lp-lang { border: 0; padding: 0; }
  .lp-nav { gap: 14px; }
  .lp-hero { grid-template-columns: 1fr; min-height: 0; }
  .lp-hero-art { height: 300px; border-radius: 0; }
  .lp-timeline { grid-template-columns: 1fr; border-top: 0; border-inline-start: 2px solid var(--deep); }
  .lp-timeline li { padding: 0 0 32px; padding-inline-start: 28px; }
  .lp-timeline li::before { top: 8px; inset-inline-start: -8px; }
  .lp-list { grid-template-columns: 1fr; }
  .lp-places { grid-template-columns: 1fr 1fr; }
  .lp-places .lp-hq { grid-column: 1 / -1; }
  .lp-foot { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-hero-art .lp-lattice { animation: none; }
}
