:root {
  /* ألوان شعار الشركة */
  --ink: #0b2f3a;
  --body: #3a4d53;
  --mute: #56696f;
  --line: #d5e4e5;
  --bg: #fff;
  --tint: #eef6f6;
  --brand: #0f5358;
  --brand-d: #0b4153;
  --amber: #e39c35;
  --w: 1120px;
  --r: 6px;
  --f: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 400 17px/1.75 var(--f);
  color: var(--body);
  background: var(--bg);
}
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
  max-width: 66ch;
  text-wrap: pretty;
}
a {
  color: var(--brand);
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 20px;
}
.skip {
  position: absolute;
  inset-inline-start: -9999px;
}
.skip:focus {
  inset-inline-start: 12px;
  top: 12px;
  background: #fff;
  padding: 10px 16px;
  z-index: 9;
}
header.top {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}
.bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 1.15rem/1 var(--f);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo img {
  width: 52px;
  height: auto;
  flex: none;
}
.bar > :nth-child(2),
.bar > :nth-child(3) {
  margin-inline-start: auto;
}
nav.main {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav.main a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px;
  border-radius: var(--r);
  transition: background 0.16s;
}
nav.main a:hover {
  background: var(--tint);
}
nav.main a[aria-current] {
  color: var(--brand);
  font-weight: 600;
}
nav.main a.lang {
  border: 1px solid var(--line);
}
details.menu {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--r);
  transition: background 0.16s;
}
.btn:hover {
  background: var(--brand-d);
}
.btn.ghost {
  background: none;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn.ghost:hover {
  background: var(--tint);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-block: 72px;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 22px;
}
.acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero .hero-logo {
  width: min(100%, 420px);
  height: auto;
  display: block;
  justify-self: center;
}
section.band {
  background: var(--tint);
}
section .wrap {
  padding-block: 68px;
}
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.rows {
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.row p {
  margin: 0;
}
.band .rows,
.band .row {
  border-color: #c9dcdd;
}
.prod {
  background: var(--ink);
  color: #cfe0e2;
}
.prod h2 {
  color: #fff;
}
.prod .split {
  align-items: center;
}
.prod a.btn {
  background: #fff;
  color: var(--ink);
}
.prod a.btn:hover {
  background: var(--tint);
}
.prod .mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fde6ed, #f4bccd 55%, #e38fab);
  border-radius: 28px;
  padding: 26px;
}
.prod .mark img {
  width: min(240px, 70%);
  height: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
th,
td {
  text-align: start;
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--ink);
  font-weight: 600;
}
thead th {
  border-bottom: 2px solid var(--ink);
}
.scroll {
  overflow-x: auto;
}
.page {
  padding-block: 56px 80px;
}
.page > .wrap > h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 14px;
}
.lead {
  font-size: 1.18rem;
  margin-bottom: 34px;
}
.prose {
  max-width: 70ch;
}
.prose h2 {
  font-size: 1.35rem;
  margin: 2em 0 0.5em;
}
.prose ul {
  padding-inline-start: 1.2em;
}
.prose li {
  margin: 0.35em 0;
}
.facts {
  display: grid;
  grid-template-columns: minmax(150px, max-content) 1fr;
  gap: 0;
  margin: 0;
}
.facts dt,
.facts dd {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.facts dt {
  color: var(--mute);
  padding-inline-end: 28px;
}
.facts dd {
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 0.95rem;
}
footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-block: 48px 28px;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer li a {
  display: inline-block;
  padding: 7px 0;
  color: var(--body);
  text-decoration: none;
}
footer li a:hover {
  text-decoration: underline;
  color: var(--brand);
}
footer h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.legal {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  color: var(--mute);
  font-size: 0.9rem;
}
@media (max-width: 860px) {
  .logo {
    white-space: normal;
    font-size: 1rem;
    line-height: 1.35;
    min-width: 0;
  }
  .bar {
    gap: 12px;
  }
  .hero,
  .split,
  .row {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-block: 44px;
    gap: 36px;
  }
  /* على الجوال الشعار فوق النص وأصغر */
  .hero .hero-logo {
    order: -1;
    width: min(60%, 240px);
  }
  .row {
    gap: 6px;
  }
  section .wrap {
    padding-block: 50px;
  }
  footer .cols {
    grid-template-columns: 1fr;
  }
  nav.main {
    display: none;
  }
  details.menu {
    display: block;
    position: relative;
  }
  details.menu summary {
    list-style: none;
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--r);
  }
  details.menu summary::-webkit-details-marker {
    display: none;
  }
  details.menu div {
    position: absolute;
    inset-inline-end: 0;
    top: 56px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 12px 34px #0b2f3a22;
    min-width: 220px;
    padding: 8px;
  }
  details.menu div a {
    display: block;
    padding: 13px 14px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 4px;
  }
  details.menu div a:hover {
    background: var(--tint);
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .facts dt {
    border: 0;
    padding-bottom: 0;
  }
  .facts dd {
    padding-top: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* صفحة التواصل: بطاقات كبيرة سهلة الضغط */
.reach {
  display: grid;
  /* عمودين على الكمبيوتر، وعمود على الجوال، عشان الإيميلات ما تنكسر */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  max-width: 760px;
  gap: 14px;
  margin: 28px 0 8px;
}
.reach .card {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--body);
  border-inline-start: 5px solid var(--amber);
  transition:
    border-color 0.15s,
    background 0.15s;
}
.reach .card:hover {
  border-color: var(--brand);
  background: var(--tint);
}
.reach b {
  color: var(--ink);
  font-size: 1.1rem;
}
.reach .v {
  color: var(--brand);
  font-weight: 600;
  /* العنوان نفسه من اليسار لليمين، بس مكانه على جهة بداية الصفحة */
  justify-self: start;
  overflow-wrap: break-word;
}
.facts-h {
  margin-top: 40px;
  font-size: 1.3rem;
}
