/**
 * PCTechComVn — Trust Bar & Process V2 CSS
 * Child Theme CSS Module
 * Version: 1.0.0
 *
 * 1. Trust Bar: 4-col grid cam kết tin cậy (dưới Hero)
 * 2. Process V2: Quy trình 6 bước + Infographic
 */

/* ═══════════════════════════════════════════════
   1. TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background 0.3s, transform 0.3s;
}

.trust-bar-item:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.trust-bar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-bar-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--blue-dark);
}

.trust-bar-item span {
  font-size: 0.78rem;
  color: var(--gray-500);
}


/* ═══════════════════════════════════════════════
   2. PROCESS V2 — 6 bước màu sắc
   ═══════════════════════════════════════════════ */
.process-v2-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.process-v2-step {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  cursor: default;
}

.process-v2-step:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.process-v2-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
}

/* Color coding per step */
.process-v2-step:nth-child(1) .process-v2-num { background: var(--blue-dark); }
.process-v2-step:nth-child(2) .process-v2-num { background: #3b82f6; }
.process-v2-step:nth-child(3) .process-v2-num { background: var(--green); }
.process-v2-step:nth-child(4) .process-v2-num { background: var(--orange); }
.process-v2-step:nth-child(5) .process-v2-num { background: #8b5cf6; }
.process-v2-step:nth-child(6) .process-v2-num { background: var(--blue-dark); }

.process-v2-step h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.process-v2-step p {
  font-size: 0.72rem;
  color: var(--gray-500);
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════
   3. PROCESS INFOGRAPHIC — 2-col images
   ═══════════════════════════════════════════════ */
.process-infographic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.process-infographic img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
  transition: transform 0.4s;
}

.process-infographic img:hover {
  transform: scale(1.02);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-v2-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-infographic {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: 1fr;
  }

  .process-v2-steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust-bar {
    padding: 20px 0;
  }

  .trust-bar-item {
    padding: 10px;
    gap: 12px;
  }

  .trust-bar-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .trust-bar-item strong {
    font-size: 0.82rem;
  }

  .trust-bar-item span {
    font-size: 0.72rem;
  }

  .process-infographic img {
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .process-v2-steps {
    grid-template-columns: 1fr;
  }

  .process-v2-step {
    padding: 16px 10px;
  }

  .process-v2-num {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}
