/* ============================================================
   صفحات الخدمات — أفق التقنية
   ------------------------------------------------------------
   يُحمَّل فوق css/about.css ويكمّله بعناصر لا توجد فيه فقط:
   جدول الأسعار، شرائح التقنيات، وقائمة الأسئلة الشائعة.
   لا يعدّل أي صنف مستخدم في صفحات الموقع الأخرى.
   ============================================================ */

/* ---------- جدول الأسعار ---------- */
.svc-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(31, 51, 78, .1);
  border: 1px solid rgba(31, 51, 78, .08);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.svc-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: clamp(14px, 1.25vw, 17px);
}

.svc-table thead th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  padding: 16px 18px;
  text-align: start;
  white-space: nowrap;
}

.svc-table tbody td {
  padding: 15px 18px;
  border-top: 1px solid rgba(31, 51, 78, .08);
  color: var(--text-light);
  line-height: 1.7;
}

.svc-table tbody tr:nth-child(even) { background: rgba(31, 51, 78, .025); }
.svc-table tbody tr:hover { background: rgba(242, 177, 0, .07); }
.svc-table tbody td:first-child { font-weight: 700; color: var(--primary-color); }
.svc-table tbody td:nth-child(2) { font-weight: 800; color: var(--primary-color); white-space: nowrap; }

.svc-note {
  margin-top: 16px;
  font-size: clamp(13px, 1.15vw, 15px);
  color: var(--text-light);
  line-height: 1.9;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

/* ---------- شرائح التقنيات ---------- */
.svc-chips { margin-top: 44px; text-align: center; }

.svc-chips h3 {
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.svc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.svc-chip {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(31, 51, 78, .06);
  border: 1px solid rgba(31, 51, 78, .1);
  color: var(--primary-color);
  font-weight: 700;
  font-size: clamp(13px, 1.15vw, 15px);
}

/* ---------- الأسئلة الشائعة ---------- */
.svc-faq {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
}

.svc-faq .faq-q {
  background: #fff;
  border-radius: 16px;
  padding: 24px 26px;
  border: 1px solid rgba(31, 51, 78, .08);
  box-shadow: 0 8px 26px rgba(31, 51, 78, .06);
}

.svc-faq .faq-q h3 {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0 10px;
  padding-inline-start: 22px;
  position: relative;
}

.svc-faq .faq-q h3::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.svc-faq .faq-q p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.95;
  font-size: clamp(14px, 1.3vw, 17px);
}

/* ---------- بطاقة خدمة/عمل قابلة للنقر ---------- */
a.value-card { transition: var(--transition); }
a.value-card:hover { transform: translateY(-4px); }

/* ---------- الجوال ---------- */
@media (max-width: 640px) {
  .svc-table thead th,
  .svc-table tbody td { padding: 13px 14px; }
  .svc-faq .faq-q { padding: 20px 18px; }
}
