/* =========================================================
   File: /diflow/assets/css/service-detail.css
   =========================================================
   GOAL:
   - Shared styles for service detail pages (consulting / 4D / modeling / rendering).
   - Reuses theme.css / style.css / effects.css. Minimal additions.
   ========================================================= */

/* =========================================================
   ---------- 1) LAYOUT HELPERS ----------
   ========================================================= */
.detail-grid{
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px){
  .detail-grid{
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.stack{
  display: grid;
  gap: 12px;
}

.note{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   ---------- 2) LISTS ----------
   ========================================================= */
.list-check{
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li{
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  font-size: 14px;
}

.list-check li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,255,255,0.85);
  opacity: 0.9;
}

/* =========================================================
   ---------- 3) SPECS / INPUTS GRID ----------
   ========================================================= */
.spec-grid{
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 980px){
  .spec-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.spec{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.spec__title{
  font-weight: 650;
  color: rgba(255,255,255,0.92);
  margin-bottom: 6px;
}

.spec__text{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* =========================================================
   ---------- 4) FAQ (DETAILS) ----------
   ========================================================= */
.faq-grid{
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-item{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(11,15,20,0.56);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  overflow: hidden;
}

.faq-q{
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 650;
  color: rgba(255,255,255,0.92);
  list-style: none;
}

.faq-item summary::-webkit-details-marker{ display: none; }

.faq-item summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::after{
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.92);
  flex: 0 0 auto;
}

.faq-item[open] summary::after{ content: "–"; }

.faq-a{
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   ---------- 5) RELATED LINKS ----------
   ========================================================= */
.related{
  margin-top: 12px;
}
