/* Section heading — DESIGN_SYSTEM §18
   <header class="section-heading [section-heading--center]">
     <p class="section-heading__eyebrow">…</p>
     <h2 class="section-heading__title" id="…-title">…</h2>
     <p class="section-heading__desc">…</p>   (اختياري)
   </header> */

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-block-end: var(--space-7);
  text-align: start;
}

.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-bold);
  line-height: var(--lh-eyebrow);
  color: var(--color-accent);
}

.section-heading__eyebrow::before {
  content: "";
  inline-size: 40px;
  block-size: 2px;
  border-radius: 2px;
  background-color: var(--color-accent);
}

.section-heading__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}

.section-heading__desc {
  max-inline-size: 60ch;
  color: var(--color-text-muted);
}

/* Center variant — خط على الجهتين كما في الـ Mockup */
.section-heading--center {
  align-items: center;
  text-align: center;
}

.section-heading--center .section-heading__eyebrow::after {
  content: "";
  inline-size: 40px;
  block-size: 2px;
  border-radius: 2px;
  background-color: var(--color-accent);
}
