/* ==========================================================================
   المتخصص الفني — نظام التصميم
   الألوان مأخوذة من الشعار: كحلي عميق ونحاسي ذهبي، على ورق فاتح دافئ.
   ========================================================================== */

/* ------------------------------------------------------------------ الخطوط */
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/plex-arabic-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/plex-arabic-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/plex-arabic-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/plex-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/plex-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("../fonts/plex-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ المتغيّرات */
:root {
  --navy-950: #08111e;
  --navy-900: #0b1626;
  --navy-800: #122139;
  --navy-700: #1c2f4d;
  --brass: #c49a4e;
  --brass-light: #dcbb7a;
  --brass-ink: #7a5719;          /* نحاسي داكن للنصوص على الخلفية الفاتحة */

  /* ألوان الأزرار: هادئة ومتناسقة مع الشعار دون أن تكرّره */
  --slate: #2d4b6d;
  --slate-hover: #375b82;
  --cream: #f3eee4;
  --wa: #1f8a5b;
  --wa-hover: #22996a;

  --paper: #f5f2eb;
  --paper-2: #ebe6da;
  --white: #ffffff;
  --ink: #131a24;
  --ink-2: #48505e;
  --ink-3: #626a77;
  --line: #d8d1c2;
  --line-soft: #e4ded1;

  --on-navy: #efeae0;
  --on-navy-2: #aab3c2;
  --line-navy: rgba(239, 234, 224, 0.14);

  --font: "Plex Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 72px;
  --radius: 3px;
  --radius-btn: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

/* ------------------------------------------------------------------ الأساس */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3.25rem); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--brass-light); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 2px;
}

.num, [dir="ltr"] { font-variant-numeric: tabular-nums; }
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; text-align: match-parent; }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--brass);
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ------------------------------------------------------------------ أيقونات */
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------------------------------------------ الأزرار */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn--sm { min-height: 42px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* أساسي: أزرق رصاصي هادئ */
.btn--primary { background: var(--slate); color: #fff; }
.btn--primary:hover { background: var(--slate-hover); box-shadow: 0 6px 16px rgba(45, 75, 109, 0.22); }

/* فاتح: للأقسام الداكنة */
.btn--light { background: var(--cream); color: #1b2735; }
.btn--light:hover { background: #fff; }

/* واتساب */
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); box-shadow: 0 6px 16px rgba(31, 138, 91, 0.22); }

/* ثانوي: إطار رفيع */
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: #c4bba8; background: rgba(19, 26, 36, 0.035); }
.on-navy .btn--ghost { border-color: rgba(239, 234, 224, 0.24); color: var(--on-navy); }
.on-navy .btn--ghost:hover { border-color: rgba(239, 234, 224, 0.5); background: rgba(239, 234, 224, 0.06); }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
}
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(-4px); }
.on-navy .link-arrow { color: var(--brass-light); }

.text-link {
  color: var(--slate);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--ink); }

/* ------------------------------------------------------------------ عناوين الأقسام */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  color: var(--brass-ink);
  font-size: 0.9375rem;
  font-weight: 500;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brass);
}
.on-navy .kicker { color: var(--brass-light); }

.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.section--paper-2 { background: var(--paper-2); }
.section--white { background: var(--white); }

.section-head {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: clamp(2.25rem, 2rem + 1.5vw, 3.5rem);
}
.section-head > p { max-width: 46ch; color: var(--ink-2); }
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .section-head--split > p { justify-self: end; }
}

.lead { font-size: 1.1875rem; line-height: 1.8; color: var(--ink-2); }
h2 + .lead, h2 + p { margin-top: 1rem; }
.lead + .link-arrow { margin-top: 0.25rem; }
.muted { color: var(--ink-2); }

.on-navy { background: var(--navy-900); color: var(--on-navy); }
.on-navy .lead, .on-navy .muted { color: var(--on-navy-2); }

/* ------------------------------------------------------------------ الترويسة */
/* ترويسة كحلية واحدة لكل المقاسات، يلمع عليها الشعار الذهبي. القائمة نفسها (nav) تظهر أفقيًا في الشاشات
   الكبيرة، وتتحوّل في الجوال إلى لوحة تفتحها زرّ القائمة. بدون جافاسكربت تظهر
   الروابط صفًّا أسفل الشعار، فلا يضيع التنقّل أبدًا. */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  color: var(--on-navy);
  border-bottom: 1px solid var(--line-navy);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 17, 30, 0.3); }
.header__bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.brand__mark { width: 44px; height: auto; flex: none; }
.brand__text { display: grid; gap: 0.15rem; min-width: 0; line-height: 1.25; }
.brand__name { font-size: 1.125rem; font-weight: 700; white-space: nowrap; }
.brand__tag { font-size: 0.75rem; color: var(--on-navy-2); white-space: nowrap; }

.nav { display: flex; align-items: center; margin-inline-start: auto; }
.nav__list { display: flex; gap: 0.25rem; list-style: none; }
.nav__list a {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--on-navy-2);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav__list a:hover { color: var(--on-navy); background: rgba(239, 234, 224, 0.06); }
.nav__list a[aria-current="page"] { color: var(--on-navy); }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
}
.nav__extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.25rem;
  color: var(--on-navy-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.lang-link .icon { color: var(--brass); }
.lang-link:hover { color: var(--brass-light); }
.header .btn--ghost { border-color: rgba(239, 234, 224, 0.22); color: var(--on-navy); }
.header .btn--ghost .icon { color: var(--brass); }
.header .btn--ghost:hover { border-color: var(--brass); color: var(--brass-light); background: transparent; }

/* زر القائمة */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(239, 234, 224, 0.2);
  border-radius: 12px;
  background: rgba(239, 234, 224, 0.05);
  color: var(--on-navy);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); background: var(--on-navy); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); background: var(--on-navy); }
.nav-toggle[aria-expanded="true"] { border-color: rgba(239, 234, 224, 0.35); }

@media (max-width: 1080px) {
  .header__bar { gap: 1.25rem; }
  .nav__list a { padding-inline: 0.6rem; }
  .nav__list a[aria-current="page"]::after { inset-inline: 0.6rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .header__bar { gap: 0.75rem; }
  .brand { gap: 0.6rem; }
  .brand__mark { width: 38px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { font-size: 0.6875rem; }
  .header__actions { margin-inline-start: auto; }
  .header__actions .lang-link,
  .header__call { display: none; }

  /* مع جافاسكربت: زر ولوحة */
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .header.is-open .nav {
    position: fixed;
    inset-inline: 0;
    top: var(--header-h);
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0.75rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--navy-900);
    border-top: 1px solid var(--line-navy);
    animation: nav-in 0.25s var(--ease);
  }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__list a {
    padding: 1rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line-navy);
    color: var(--on-navy);
    font-size: 1.25rem;
  }
  .js .nav__list a:hover { background: none; color: var(--brass-light); }
  .js .nav__list a[aria-current="page"] { color: var(--brass-light); }
  .js .nav__list a[aria-current="page"]::after {
    inset-inline: auto 0.25rem;
    top: 50%;
    bottom: auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .js .nav__extra {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 2rem;
  }
  .js .nav__extra .lang-link { justify-self: center; margin-top: 0.25rem; }

  /* بدون جافاسكربت: الروابط صفّ قابل للتمرير أسفل الشعار */
  html:not(.js) .header__bar { flex-wrap: wrap; padding-block: 0.6rem; }
  html:not(.js) .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  html:not(.js) .nav__list a { white-space: nowrap; }
}
@media (max-width: 360px) {
  .brand__tag { font-size: 0.625rem; }
  .nav-toggle { width: 42px; height: 42px; }
}
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ الواجهة الرئيسية */
.hero {
  position: relative;
  display: grid;
  background: var(--navy-900);
  color: var(--on-navy);
  overflow: hidden;
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
}
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 40ch; margin-top: 1.25rem; color: var(--on-navy-2); }
.hero .btn-row { margin-top: 2rem; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-navy);
  font-size: 0.875rem;
  color: var(--on-navy-2);
  list-style: none;
}
.hero__facts li::before {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  margin-bottom: 0.7rem;
  background: var(--brass);
}
.hero__facts li { white-space: nowrap; }
.hero__facts strong { display: block; color: var(--on-navy); font-weight: 500; font-size: 0.9375rem; }

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    min-height: min(calc(100svh - var(--header-h)), 760px);
  }
  .hero__body {
    padding-inline-start: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    padding-inline-end: clamp(2rem, 4vw, 4rem);
  }
  .hero__media::after {          /* ظلّ خفيف يصل الصورة بالكتلة الكحلية */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(11, 22, 38, 0.55), rgba(11, 22, 38, 0) 22%);
  }
}
@media (max-width: 899px) {
  .hero__media { order: -1; aspect-ratio: 4 / 3; max-height: 56svh; width: 100%; }
  .hero__body { padding-inline: var(--gutter); }
}
@media (max-width: 560px) {
  .hero__facts { gap: 1.25rem 2rem; }
}

/* ------------------------------------------------------------------ بطاقات الأقسام */
.cats {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(1.25rem, 1rem + 2vw, 2.5rem);
}
@media (min-width: 760px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .cats > :nth-child(even) { margin-top: clamp(2rem, 6vw, 5rem); }   /* إزاحة متدرّجة */
}
.cat {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cat__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat:hover .cat__media img { transform: scale(1.035); }
.cat__num {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  padding: 0.35rem 0.75rem;
  background: var(--navy-900);
  color: var(--brass-light);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cat__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1.5rem;
  align-items: start;
  padding-top: 1.25rem;
}
.cat__body h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.5rem); }
.cat__body p { grid-column: 1; margin: 0; color: var(--ink-2); }
.cat__go {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.cat:hover .cat__go { background: var(--slate); border-color: var(--slate); color: #fff; }
.cat:hover h3 { color: var(--slate); }

/* ------------------------------------------------------------------ خطوات الطلب */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  list-style: none;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 0.25rem 1.5rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.step__n {
  grid-row: 1 / span 2;
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--brass);
  min-width: 2ch;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--ink-2); max-width: 52ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2rem 0 0;
    padding-inline-end: 2.5rem;
    border-bottom: 0;
    border-top: 2px solid var(--navy-900);
  }
  .step + .step { padding-inline-start: 0; }
  .step__n { grid-row: auto; font-size: 3.25rem; margin-bottom: 0.5rem; }
}

/* ------------------------------------------------------------------ شريط الاستيراد */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--on-navy);
}
.band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(8, 17, 30, 0.94) 0%, rgba(8, 17, 30, 0.82) 45%, rgba(8, 17, 30, 0.35) 100%);
}
.band__inner { max-width: 34rem; }
.band h2 { margin-bottom: 1rem; }
.band p { color: var(--on-navy-2); }
.band .btn-row { margin-top: 1.75rem; }
@media (max-width: 700px) {
  .band__bg::after { background: rgba(8, 17, 30, 0.86); }
}

/* ------------------------------------------------------------------ بيانات الشركة */
.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-start { grid-template-columns: 7fr 5fr; }
  .split--top { align-items: start; }
}

.records {
  display: grid;
  margin: 0;
  border-top: 2px solid var(--navy-900);
}
.records > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.records dt { color: var(--ink-2); font-size: 0.975rem; }
.records dd { margin: 0; font-weight: 500; font-size: 1.0625rem; text-align: end; }
.records--cols { border-top: 0; }
@media (min-width: 760px) {
  .records--cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    border-top: 2px solid var(--navy-900);
  }
}

/* ------------------------------------------------------------------ دعوة التواصل */
.cta {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.cta h2 { max-width: 20ch; }
.cta p { margin-top: 0.75rem; max-width: 44ch; }
@media (min-width: 900px) {
  .cta { grid-template-columns: 1fr auto; }
}

/* ------------------------------------------------------------------ رأس الصفحات الداخلية */
.pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 2.5rem + 3vw, 5.5rem);
  background: var(--navy-900);
  color: var(--on-navy);
}
.pagehead__bg {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(55%, 760px);
  z-index: -1;
}
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.pagehead__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--navy-900) 0%, rgba(11, 22, 38, 0.6) 55%, rgba(11, 22, 38, 0.2) 100%);
}
.pagehead h1 { max-width: 18ch; }
.pagehead .lead { margin-top: 1rem; max-width: 46ch; color: var(--on-navy-2); }
@media (max-width: 700px) {
  .pagehead__bg { width: 100%; }
  .pagehead__bg img { opacity: 0.25; }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--on-navy-2);
}
.crumbs li + li::before { content: "/"; margin-inline-end: 0.5rem; opacity: 0.5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--brass-light); }

/* ------------------------------------------------------------------ صفحة المنتجات */
.jump {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.jump__list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  padding-block: 0.6rem;
}
.jump__list::-webkit-scrollbar { display: none; }
.jump a {
  display: inline-flex;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.jump a span { color: var(--brass-ink); }
.jump a:hover { background: var(--paper-2); color: var(--ink); }

.product {
  display: grid;
  gap: clamp(1.75rem, 1.5rem + 2vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 3rem + 3vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.product:last-child { border-bottom: 0; }
.product__media {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 2fr;
  gap: 0.75rem;
}
.product__media img { width: 100%; height: auto; object-fit: cover; }
.product__media .main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.product__media--pair .main { grid-column: 1; }
.product__media--pair .side { aspect-ratio: 4 / 5; align-self: end; }
.product__num {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brass-ink);
  letter-spacing: 0.04em;
}
.product h2 { margin: 0.35rem 0 1rem; }
.product__intro { color: var(--ink-2); max-width: 50ch; }
.items {
  display: grid;
  gap: 0.15rem 2rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
  border-top: 1px solid var(--line);
}
.items li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.items li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--brass);
  transform: translateY(-0.2em);
}
@media (min-width: 560px) { .items { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .product { grid-template-columns: 1fr 1fr; }
  .product--flip .product__media { order: 2; }
  .product__media--pair .side { margin-bottom: -2rem; }
}

/* ------------------------------------------------------------------ صفحة الشركة */
.figure { position: relative; }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--ink-3); }

.lockup-panel {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--navy-900);
}
.lockup-panel img { width: min(100%, 360px); }

.activity {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  border-inline-start: 3px solid var(--brass);
  background: var(--white);
  font-weight: 500;
}

.map {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.map + .btn-row { margin-top: 1.25rem; }
.legal-name { margin-bottom: 1.25rem; font-weight: 500; font-size: 1.0625rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------ التواصل */
.contact-list { display: grid; list-style: none; border-top: 2px solid var(--navy-900); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list .row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-block: 1.1rem;
  color: inherit;
  text-decoration: none;
}
.contact-list .icon { width: 22px; height: 22px; color: var(--brass-ink); }
.contact-list .k { display: block; font-size: 0.875rem; color: var(--ink-3); }
.contact-list .v { display: block; font-weight: 500; font-size: 1.0625rem; }
.contact-list .arrow { color: var(--ink-3); transition: transform 0.25s var(--ease), color 0.2s; }
.contact-list a:hover .arrow { transform: translateX(-4px); color: var(--slate); }
.contact-list a:hover .v { color: var(--slate); }

.form { display: grid; gap: 1.1rem; }
.muted + .contact-list, .muted + .form { margin-top: 1.75rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #8a909a; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgba(45, 75, 109, 0.18);
}
.field input[type="tel"] { direction: ltr; text-align: right; }
.field input[type="tel"]::placeholder { text-align: right; }
.form__note { font-size: 0.875rem; color: var(--ink-3); }
.hp { position: absolute; inset-inline-start: -9999px; }

/* ------------------------------------------------------------------ النصوص القانونية */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-inline-start: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--brass); }

/* ------------------------------------------------------------------ صفحات الحالة */
.status {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h) - 200px);
  padding-block: 5rem;
  text-align: center;
}
.status__code {
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brass);
}
.status__mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-ink);
}
.status__mark .icon { width: 34px; height: 34px; }
.status h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); margin-top: 1rem; }
.status p { margin: 0.75rem auto 0; max-width: 42ch; color: var(--ink-2); }
.status .btn-row { justify-content: center; margin-top: 2rem; }

/* ------------------------------------------------------------------ الذيل */
.footer {
  background: var(--navy-950);
  color: var(--on-navy-2);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 5fr 2fr 4fr; gap: 4rem; }
}
.footer .brand { color: var(--on-navy); }
.footer .brand__tag { color: var(--on-navy-2); }
.footer__about { margin-top: 1.25rem; max-width: 38ch; }
.footer h2 {
  margin-bottom: 1rem;
  color: var(--on-navy);
  font-size: 0.975rem;
  font-weight: 500;
}
.footer__links { display: grid; gap: 0.5rem; list-style: none; }
.footer a { color: var(--on-navy-2); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--brass-light); }
.footer__contact { display: grid; gap: 0.75rem; list-style: none; }
.footer__contact a, .footer__contact span.row { display: inline-flex; gap: 0.65rem; align-items: center; }
.footer__contact .icon { color: var(--brass); }
.footer__legal {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-navy);
  font-size: 0.8125rem;
  line-height: 1.9;
}
.footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer__legal nav { display: flex; gap: 1.25rem; }
.footer__reg { color: #8792a3; }

/* ------------------------------------------------------------------ النسخة الإنجليزية (LTR) */
html[lang="en"] body { line-height: 1.7; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.01em; }
html[lang="en"] .hero h1 { max-width: 17ch; }
html[lang="en"] .lead { line-height: 1.65; }
html.nav-open { overflow: hidden; }

[dir="ltr"] .arrow { transform: scaleX(-1); }
[dir="ltr"] .btn:hover .arrow,
[dir="ltr"] .link-arrow:hover .arrow,
[dir="ltr"] .contact-list a:hover .arrow { transform: translateX(4px) scaleX(-1); }
[dir="ltr"] .hero__media::after { background: linear-gradient(to right, rgba(11, 22, 38, 0.55), rgba(11, 22, 38, 0) 22%); }
[dir="ltr"] .band__bg::after { background: linear-gradient(to right, rgba(8, 17, 30, 0.94) 0%, rgba(8, 17, 30, 0.82) 45%, rgba(8, 17, 30, 0.35) 100%); }
[dir="ltr"] .pagehead__bg::after { background: linear-gradient(to right, var(--navy-900) 0%, rgba(11, 22, 38, 0.6) 55%, rgba(11, 22, 38, 0.2) 100%); }
[dir="ltr"] .field input[type="tel"],
[dir="ltr"] .field input[type="tel"]::placeholder { text-align: left; }
@media (max-width: 700px) {
  [dir="ltr"] .band__bg::after { background: rgba(8, 17, 30, 0.86); }
}

/* ------------------------------------------------------------------ الحركة */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .jump, .map { display: none !important; }
  body { background: #fff; }
  .on-navy, .hero, .pagehead, .band { background: #fff !important; color: #000 !important; }
}
