/* ==========================================================================
   delivery.html · 交付与服务
   在 site.css / v2.css 之后加载。沿用全站浅色极光、品牌蓝紫渐变、
   白玻璃卡片与 13px 起的最小字号规范。
   ========================================================================== */

/* ---------- 交付原则 ---------- */

.dl-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dl-principle {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.dl-principle__num {
  display: inline-block;
  margin-bottom: 18px;
  color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-num);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dl-principle h3 {
  margin: 0 0 8px;
  font-size: var(--fs-lg);
  font-weight: 650;
}

.dl-principle p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* ---------- 六步交付法 ---------- */

.dl-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-step {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.dl-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dl-step__num {
  color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-num);
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dl-step h3 {
  margin: 0 0 8px;
  font-size: var(--fs-lg);
  font-weight: 650;
}

.dl-step p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.dl-step__deps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.dl-step__deps li {
  padding: 3px 9px;
  color: var(--muted);
  background: #f4f7fc;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-2xs);
  line-height: 1.6;
}

.dl-note {
  margin: 22px 0 0;
  color: var(--muted-2);
  font-size: var(--fs-2xs);
  line-height: 1.8;
}

/* ---------- SLA ---------- */

.dl-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.dl-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.dl-table th {
  padding: 15px 20px;
  color: var(--muted);
  background: #f6f9ff;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-2xs);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: left;
  white-space: nowrap;
}

.dl-table td {
  padding: 17px 20px;
  color: var(--text);
  border-top: 1px solid var(--line);
  line-height: 1.7;
  vertical-align: top;
}

.dl-table tbody tr:first-child td { border-top: 0; }

.dl-table td:first-child { white-space: nowrap; }

.dl-table td:nth-child(2) {
  min-width: 220px;
  color: var(--muted);
}

.dl-table td:nth-child(3),
.dl-table td:nth-child(4),
.dl-table td:nth-child(5) {
  white-space: nowrap;
}

.dl-table .pill { font-size: var(--fs-2xs); }

.dl-sla-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.dl-sla-card {
  padding: 22px;
  background: linear-gradient(180deg, #fbfcff 0%, #f5f8fe 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.dl-sla-card h3 {
  margin: 0 0 8px;
  font-size: var(--fs-md);
  font-weight: 650;
}

.dl-sla-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

/* ---------- 培训体系 ---------- */

.dl-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dl-role {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.dl-role__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 11px;
  color: var(--blue);
  background: rgba(19, 102, 236, 0.07);
  border-radius: 999px;
  font-size: var(--fs-2xs);
  font-weight: 650;
  letter-spacing: 0.04em;
}

.dl-role h3 {
  margin: 0 0 8px;
  font-size: var(--fs-lg);
  font-weight: 650;
}

.dl-role p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.dl-role ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.9;
}

.dl-role li::marker { color: var(--blue); }

.dl-training-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 20px;
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 255, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}

.dl-training-band h3 {
  margin: 0 0 16px;
  font-size: var(--fs-lg);
  font-weight: 650;
}

.dl-path {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-path li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.75;
}

.dl-path__step {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--blue);
  background: #eef4ff;
  border-radius: 50%;
  font-family: var(--font-num);
  font-size: var(--fs-2xs);
  font-weight: 700;
}

.dl-path strong { color: var(--ink); font-weight: 650; }

.dl-kit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl-kit span {
  padding: 6px 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-2xs);
  line-height: 1.6;
}

/* ---------- 运维体系 ---------- */

.dl-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dl-op {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.dl-op__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--blue);
  background: linear-gradient(180deg, #eef4ff 0%, #e3edff 100%);
  border: 1px solid rgba(19, 102, 236, 0.14);
  border-radius: 12px;
}

.dl-op__icon svg { width: 20px; height: 20px; }

.dl-op h3 {
  margin: 0 0 8px;
  font-size: var(--fs-lg);
  font-weight: 650;
}

.dl-op p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.dl-op ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.dl-op li {
  padding: 3px 9px;
  color: var(--muted);
  background: #f4f7fc;
  border-radius: 999px;
  font-size: var(--fs-2xs);
  line-height: 1.6;
}

.dl-calendar {
  margin-top: 22px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(19, 102, 236, 0.05) 0%, rgba(139, 92, 246, 0.06) 100%);
  border: 1px solid rgba(19, 102, 236, 0.12);
  border-radius: var(--radius-lg);
}

.dl-calendar__head h3 {
  margin: 0 0 6px;
  font-size: var(--fs-lg);
  font-weight: 650;
}

.dl-calendar__head p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.dl-calendar__items {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.dl-cal {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.dl-cal span {
  display: block;
  color: var(--blue);
  font-family: var(--font-num);
  font-size: var(--fs-2xs);
  font-weight: 650;
  letter-spacing: 0.06em;
}

.dl-cal strong {
  display: block;
  margin: 4px 0 2px;
  font-size: var(--fs-sm);
  font-weight: 650;
}

.dl-cal em {
  display: block;
  color: var(--muted-2);
  font-size: var(--fs-2xs);
  font-style: normal;
  line-height: 1.6;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1120px) {
  .dl-principles,
  .dl-sla-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dl-flow,
  .dl-role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .dl-calendar__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .dl-ops-grid { grid-template-columns: minmax(0, 1fr); }

  .dl-training-band { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
  .dl-principles,
  .dl-flow,
  .dl-sla-cards,
  .dl-role-grid,
  .dl-calendar__items {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .dl-table {
    display: block;
    min-width: 0;
  }

  .dl-table thead { display: none; }

  .dl-table tbody {
    display: grid;
    gap: 12px;
  }

  .dl-table tr {
    display: block;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .dl-table td {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0;
    border: 0;
    line-height: 1.7;
  }

  .dl-table td::before {
    content: attr(data-label);
    flex: none;
    color: var(--muted-2);
    font-size: var(--fs-2xs);
  }

  .dl-table td:first-child {
    padding-bottom: 10px;
    white-space: normal;
  }

  .dl-table td:first-child::before { display: none; }

  .dl-table td:nth-child(2) {
    min-width: 0;
  }

  .dl-table td:nth-child(2),
  .dl-table td:nth-child(6) {
    display: block;
    text-align: left;
  }

  .dl-table td:nth-child(2)::before,
  .dl-table td:nth-child(6)::before {
    display: block;
    margin-bottom: 2px;
  }

  .dl-table td:last-child { padding-bottom: 0; }

  .dl-calendar { padding: 22px; }
}

@media (max-width: 480px) {
  .dl-principle,
  .dl-step,
  .dl-role,
  .dl-op,
  .dl-sla-card { padding: 22px 20px; }

  .dl-training-band { padding: 24px 20px; }
}
