/* ============================================================
   服务项目与价格页（service-pricing.html）
   ============================================================ */

/* ============ 首屏数据条 ============ */
.pr-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 20px;
}
.pr-facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 14px;
  border-left: 2px solid var(--orange-line);
}
.pr-facts b {
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
  color: var(--orange);
}
.pr-facts span { font-size: 13.5px; color: var(--ink-soft); }

/* ============ 在售服务三卡 ============ */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pr-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pr-card:hover {
  border-color: var(--orange-line);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.pr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.pr-code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
}
.pr-badge {
  font-size: 12px;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.pr-card h3 { font-size: 19px; font-weight: 800; line-height: 1.35; }
.pr-for { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); min-height: 42px; }
.pr-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 4px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}
.pr-price b {
  font-family: var(--mono);
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pr-price span { font-size: 13px; color: var(--ink-soft); }
.pr-price-note { font-size: 12.5px; color: var(--ink-soft); }
.pr-includes {
  list-style: none;
  margin: 16px 0 20px;
  flex: 1;
}
.pr-includes li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
.pr-includes li:last-child { border-bottom: none; }
.pr-includes li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange-line);
}
.pr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pr-actions .btn { flex: 1 1 auto; justify-content: center; }

/* ============ 价格一览表 ============ */
.pr-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.35) transparent;
}
.pr-table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.pr-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
  border-radius: 999px;
}
.pr-table-wrap::-webkit-scrollbar-track { background: transparent; }
.pr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.pr-table th,
.pr-table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.pr-table thead th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--bg-soft);
  white-space: nowrap;
}
.pr-table tbody tr { transition: background 0.16s; }
.pr-table tbody tr:hover { background: rgba(255, 94, 0, 0.035); }
.pr-table tbody tr:last-child th,
.pr-table tbody tr:last-child td { border-bottom: none; }
.pr-table tbody th { font-weight: 700; font-size: 14.5px; }
.pr-table .pr-num {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.pr-table th a,
.pr-table td a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.pr-table th a:hover,
.pr-table td a:hover { color: var(--danger); }

.pr-foot-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ============ 服务范围与交付 ============ */
.pr-svc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px 26px;
  scroll-margin-top: 110px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pr-svc + .pr-svc { margin-top: 14px; }
.pr-svc:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pr-svc-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-2);
}
.pr-svc-head h3 { font-size: 18px; font-weight: 800; }
.pr-svc-head .pr-svc-price {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
}
.pr-svc-head p { font-size: 13.5px; color: var(--ink-soft); flex: 1 1 260px; }
.pr-svc-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.pr-svc-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.pr-svc-col ul { list-style: none; }
.pr-svc-col li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}
.pr-svc-col li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.pr-svc-col p { font-size: 14px; line-height: 1.75; color: var(--ink-2); }

/* ============ 开通流程 ============ */
.pr-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: pr-step;
}
.pr-steps li {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s, transform 0.2s;
}
.pr-steps li:hover { border-color: var(--orange-line); transform: translateY(-2px); }
.pr-steps .pr-step-no {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}
.pr-steps h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.pr-steps p { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

/* ============ 售后与退款 ============ */
.pr-after-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: start;
}
.pr-rule {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.pr-rule dl { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.pr-rule dt,
.pr-rule dd {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}
.pr-rule dt {
  font-weight: 700;
  color: var(--ink);
  background: rgba(232, 238, 245, 0.55);
}
.pr-rule dd { color: var(--ink-2); }
.pr-rule dt:last-of-type,
.pr-rule dd:last-of-type { border-bottom: none; }

.pr-complain {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--orange-line);
  background: linear-gradient(135deg, rgba(255, 94, 0, 0.06), var(--card) 68%);
}
.pr-complain h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.pr-complain ol {
  list-style: none;
  counter-reset: pr-c;
}
.pr-complain ol li {
  position: relative;
  counter-increment: pr-c;
  padding: 7px 0 7px 26px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.pr-complain ol li::before {
  content: counter(pr-c);
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.pr-complain p { margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.pr-complain a { color: var(--orange); font-weight: 700; }
.pr-complain a:hover { color: var(--danger); }

/* ============ 订单提交 ============ */
.pr-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}
.pr-order .lecture-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}
.pr-order label { display: block; margin-bottom: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pr-order input,
.pr-order select,
.pr-order textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s, box-shadow 0.16s;
}
.pr-order input:hover,
.pr-order select:hover,
.pr-order textarea:hover { border-color: var(--orange-line); }
.pr-order input:focus-visible,
.pr-order select:focus-visible,
.pr-order textarea:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.pr-side {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.pr-side h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.pr-side dl { font-size: 13.5px; line-height: 1.7; }
.pr-side dt { color: var(--ink-soft); font-size: 12.5px; margin-top: 10px; }
.pr-side dd { color: var(--ink); font-weight: 600; }
.pr-side dd a { color: var(--ink); }
.pr-side dd a:hover { color: var(--orange); }
.pr-side .pr-side-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .pr-grid { grid-template-columns: 1fr 1fr; }
  .pr-steps { grid-template-columns: 1fr 1fr; }
  .pr-after-grid,
  .pr-svc-body { grid-template-columns: 1fr; }
  .pr-order { grid-template-columns: 1fr; gap: 22px; }
  .pr-rule dl { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .pr-grid { grid-template-columns: 1fr; }
  .pr-steps { grid-template-columns: 1fr; }
  .pr-for { min-height: 0; }
  .pr-card { padding: 22px 18px; }
  .pr-svc { padding: 20px 18px; }
  .pr-rule dl { grid-template-columns: 1fr; }
  .pr-rule dt { border-bottom: none; padding-bottom: 4px; }
  .pr-rule dd { padding-top: 4px; }
  .pr-facts { gap: 10px 20px; }
  .pr-facts b { font-size: 19px; }
  .pr-order .lecture-form { padding: 20px 18px; }
  .pr-side { padding: 18px; }
}

/* 仅屏幕阅读器可见（表格标题等） */
.pr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
