/* ═══════════════════════════════════════
   SOLUTIONS — HOW WE WORK / PROCESS (section3)
═══════════════════════════════════════ */

.proc-section {
  position: relative;
  background: var(--bg-primary);
  z-index: 2;
}
.proc-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) clamp(20px, 4vw, 56px);
}

.proc-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.proc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px 8px 11px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary-60);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.proc-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hero-green); }
.proc-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.proc-head h2 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proc-head p {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary-60);
}

/* ── Process strip ── */
.proc-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
/* connecting line behind the number row */
.proc-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}
.proc-track::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  z-index: 1;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.proc-track.in::after { width: 88%; }

.proc-step {
  position: relative;
  z-index: 2;
  text-align: center;
}
.proc-step .num {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-subtle);
  display: grid;
  place-items: center;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.proc-step:hover .num,
.proc-step.lit .num {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -14px rgba(255, 77, 109, 0.55);
}
.proc-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.proc-step p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-primary-60);
  max-width: 180px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .proc-track {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 30px;
  }
  .proc-track::before { top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; }
  .proc-track::after { display: none; }
  .proc-step {
    text-align: left;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 34px;
  }
  .proc-step .num { margin: 0; }
  .proc-step p { max-width: none; }
  body.rtl .proc-track { padding-left: 0; padding-right: 30px; }
  body.rtl .proc-track::before { left: auto; right: 26px; }
  body.rtl .proc-step { text-align: right; grid-template-columns: 1fr 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .proc-track::after { transition: none; }
}
