/* =====================================================
   how-it-works.css — طلبك بيتحضّر إزاي؟ (/how-it-works)
   حواوشي الشيف | Mobile-First | RTL
   صفحة مساعدة بسيطة — ليست صفحة رئيسية، تصميم خفيف ومقتصد.
   ===================================================== */

.hiw-hero {
  background: var(--color-brown);
  padding: 2.25rem 0 2rem;
  text-align: center;
}
.hiw-hero__title {
  font-size: clamp(1.4rem, 4.2vw, 1.9rem);
  font-weight: 700;
  color: var(--color-gold);
  margin: 0 0 .5rem;
}
.hiw-hero__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.hiw-page {
  padding: 1.5rem 0 3.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.breadcrumb { font-size: .78rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; padding: 0; margin: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .3rem; }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-golden); }
.breadcrumb .bc-sep { opacity: .4; font-size: .7rem; }

/* ─── قائمة الخطوات — Timeline رأسي بسيط ──────────────── */
.hiw-steps {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto;
}

.hiw-step {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.75rem;
}
.hiw-step:last-child { padding-bottom: 0; }

.hiw-step__marker {
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hiw-step__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  color: var(--color-golden);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hiw-step__icon svg { width: 20px; height: 20px; }

.hiw-step__num {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-golden, linear-gradient(135deg, #F5A21D 0%, #FFA830 100%));
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(245,162,29,.42);
}

.hiw-step:not(:last-child) .hiw-step__marker::after {
  content: '';
  position: absolute;
  top: 46px;
  bottom: -1.75rem;
  right: 50%;
  transform: translateX(50%);
  width: 2px;
  background: var(--color-border);
}

.hiw-step__body {
  flex: 1;
  min-width: 0;
  padding-top: .4rem;
}
.hiw-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brown);
  margin: 0 0 .3rem;
}
.hiw-step__desc {
  font-size: .86rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

/* ─── CTA ختامي ────────────────────────────────────────── */
.hiw-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}
.hiw-cta__text {
  font-size: .95rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.hiw-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 1.75rem;
  background: var(--color-golden);
  color: var(--color-brown);
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background .15s ease;
}
.hiw-cta__btn:hover { background: var(--color-gold-hover); }

/* ─── ضمان صارم: صفر Scroll أفقي ──────────────────────── */
.hiw-page, .hiw-steps { max-width: 100%; }
