/* ═══════════════════════════════════════
   SERVICE PAGE — HOW IT WORKS (section3)
═══════════════════════════════════════ */

.hw-section {
  position: relative;
  background: var(--bg-secondary);
  z-index: 2;
}
.hw-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) clamp(20px, 4vw, 56px);
}
.hw-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.hw-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;
}
.hw-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hero-green); }
.hw-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);
}
.hw-head h2 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hw-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
}
.hw-step {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.hw-step:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(15, 37, 67, 0.25); border-color: transparent; }
.hw-step .ic {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand-gradient);
}
.hw-step .step-no {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary-30);
  margin-bottom: 8px;
}
.hw-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.hw-step p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-primary-60);
}

/* arrow connector between steps */
.hw-arrow {
  display: grid;
  place-items: center;
  color: var(--text-primary-30);
}
.hw-arrow svg { width: 26px; height: 26px; }

/* ── RTL ── */
body.rtl .hw-eyebrow { flex-direction: row-reverse; }
body.rtl .hw-arrow svg { transform: scaleX(-1); }

/* ── Responsive ── */
@media (max-width: 880px) {
  .hw-flow { grid-template-columns: 1fr; gap: 8px; }
  .hw-arrow { transform: rotate(90deg); padding: 4px 0; }
  body.rtl .hw-arrow svg { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
