/* ============================================================
   Pro ASIC Miner Repair LLC — workflow.css
   ============================================================ */

/* ============================================================
   27. MINING FARM SERVICE WORKFLOW
   ============================================================ */
.workflow {
  padding: var(--section-pad) 0;
  background: var(--gray-bg);
}

.wf-steps {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wf-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
}

.wf-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wf-body {
  padding-top: 0.7rem;
  flex: 1;
}
.wf-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.wf-body p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.wf-connector {
  width: 2px;
  height: 2rem;
  background: var(--blue-wash-2);
  margin-left: 25px;
  flex-shrink: 0;
}

@media (max-width: 580px) {
  .wf-num { width: 40px; height: 40px; font-size: 0.75rem; }
  .wf-connector { margin-left: 19px; height: 1.5rem; }
  .wf-step { gap: 1rem; }
}


/* ============================================================
   40. FIELD SERVICE WORKFLOW — HORIZONTAL STEPPER
   ============================================================ */
.wf-stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(33,150,243,0.3) transparent;
}
.wf-stepper::-webkit-scrollbar { height: 4px; }
.wf-stepper::-webkit-scrollbar-track { background: transparent; }
.wf-stepper::-webkit-scrollbar-thumb { background: rgba(33,150,243,0.3); border-radius: 4px; }

.wfs-item {
  flex: 0 0 auto;
  width: 158px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wfs-indicator {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.wfs-dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 4px rgba(21,101,192,0.18);
  flex-shrink: 0;
}

.wfs-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, rgba(33,150,243,0.45), rgba(33,150,243,0.1));
}
.wfs-item:last-child .wfs-line { display: none; }

.wfs-content { padding-right: 0.75rem; }

.wfs-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.wfs-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .wf-stepper {
    flex-direction: column;
    overflow-x: visible;
  }
  .wfs-item {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
  .wfs-indicator {
    flex-direction: column;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .wfs-line {
    width: 2px;
    height: 2.25rem;
    background: linear-gradient(to bottom, rgba(33,150,243,0.45), rgba(33,150,243,0.1));
    flex: none;
  }
  .wfs-content {
    padding-right: 0;
    padding-top: 0.35rem;
    padding-bottom: 1.5rem;
    flex: 1;
  }
}


/* ============================================================
   69. WORKFLOW — 4-STEP HORIZONTAL TIMELINE
   ============================================================ */
.workflow {
  padding: calc(var(--section-pad) * 0.85) 0;
  background: #07101f;
  border-top: 1px solid rgba(33,150,243,0.08);
  border-bottom: 1px solid rgba(33,150,243,0.08);
}
.workflow .section-header h2 { color: rgba(255,255,255,0.88); }
.workflow .section-eyebrow { color: rgba(33,150,243,0.7); }
.workflow .section-header { margin-bottom: 2.25rem; }

.wf-timeline {
  display: flex;
  align-items: flex-start;
}
.wf-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
}
.wf-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64b5f6;
  background: rgba(33,150,243,0.09);
  border: 1px solid rgba(33,150,243,0.38);
  border-radius: 3px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.wf-connector {
  width: 48px;
  height: 1px;
  background: rgba(33,150,243,0.2);
  margin-top: 22px;
  flex-shrink: 0;
}
.wf-body { max-width: 200px; }

/* .workflow prefix raises specificity to (0,2,0),
   beating Section 27's .wf-body h3 (0,1,1) */
.workflow .wf-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.workflow .wf-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .wf-timeline { flex-direction: column; gap: 0; }
  .wf-connector {
    width: 1px;
    height: 20px;
    margin: 0 0 0 21px;
    align-self: flex-start;
  }
  .wf-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.9rem;
    padding: 0;
  }
  .wf-num { margin-bottom: 0; flex-shrink: 0; }
  .wf-body { max-width: none; }
}
