.page-products {
  --pd-edge: rgba(27, 31, 29, .14);
  --pd-edge-dark: rgba(243, 237, 226, .16);
  --pd-price: #8A2E00;
  --pd-body: #3A423E;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .breadcrumbs {
  padding-block: 18px 6px;
  font-size: 13px;
  color: var(--steel);
}

.page-products .section {
  padding-block: clamp(46px, 7vw, 92px);
}

.page-products .section-head__num {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--steel);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 0;
}

.page-products .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 首屏 ---------- */
.pd-hero {
  position: relative;
  padding-top: clamp(20px, 4vw, 40px);
  border-bottom: 1px solid var(--pd-edge);
}

.pd-hero__grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.pd-hero__lead .kicker {
  margin: 0 0 14px;
}

.pd-hero__text {
  max-width: 36em;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.78;
  color: var(--pd-body);
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pd-hero__panel {
  background: var(--deep);
  color: var(--paper);
  padding: clamp(22px, 4vw, 38px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
  background-image:
    repeating-linear-gradient(90deg, rgba(243, 237, 226, .05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(243, 237, 226, .05) 0 1px, transparent 1px 34px);
}

.pd-hero__panel-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--steel);
}

.pd-hero__figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(62px, 15vw, 132px);
  line-height: .92;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.pd-hero__unit {
  font-size: 20px;
  color: var(--paper);
  letter-spacing: .06em;
}

.pd-hero__panel-text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(243, 237, 226, .82);
  max-width: 30em;
}

.pd-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--pd-edge-dark);
  font-size: 14px;
  color: var(--paper);
}

.pd-hero__facts .num {
  color: var(--lime);
  font-size: 18px;
  margin-right: 4px;
}

.pd-index {
  background: var(--slate);
  color: var(--paper);
  margin-top: clamp(30px, 5vw, 54px);
}

.pd-index__row {
  display: grid;
}

.pd-index__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 15px 0;
  border-top: 1px solid var(--pd-edge-dark);
}

.pd-index__item:first-child {
  border-top: 0;
}

.pd-index__name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--lime);
}

.pd-index__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(243, 237, 226, .78);
}

/* ---------- 01 服务总览 ---------- */
.pd-services__grid {
  display: grid;
  gap: 30px;
}

.pd-services__intro {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--pd-body);
}

.pd-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pd-edge);
}

.pd-services__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--pd-edge);
  transition: background-color 160ms var(--ease);
}

.pd-services__list li:hover {
  background: rgba(198, 255, 61, .14);
}

.pd-services__num {
  grid-row: 1 / span 3;
  padding-top: 5px;
  font-size: 13px;
  color: var(--steel);
  letter-spacing: .06em;
}

.pd-services__list h3 {
  font-size: 21px;
}

.pd-services__list p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--pd-body);
}

.pd-services__tag {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
}

.pd-services__media {
  margin: 0;
}

.pd-services__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--pd-edge);
  object-fit: cover;
}

.pd-services__media figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 02 三档对照 ---------- */
.pd-plans {
  background: var(--paper-2);
}

.pd-plans__intro {
  margin: 14px 0 0;
  max-width: 52em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--pd-body);
}

.pd-plans__visual {
  margin: 28px 0 0;
}

.pd-plans__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.9);
}

.pd-plans__scroll {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--pd-edge);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.pd-plans table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

.pd-plans__caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px 10px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--steel);
}

.pd-plans thead th {
  background: var(--slate);
  color: #fff;
  text-align: left;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.pd-plans tbody th,
.pd-plans tbody td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--pd-edge);
  line-height: 1.6;
}

.pd-plans tbody th {
  font-family: var(--font-display);
  font-size: 18px;
  white-space: nowrap;
}

.pd-plans tbody tr:last-child th,
.pd-plans tbody tr:last-child td {
  border-bottom: 0;
}

.pd-plans tbody tr {
  transition: background-color 140ms var(--ease);
}

.pd-plans tbody tr:hover {
  background: rgba(198, 255, 61, .18);
}

.pd-plans tbody tr:hover th {
  box-shadow: inset 3px 0 0 var(--lime);
}

.pd-plans__price {
  font-family: var(--font-mono);
  color: var(--pd-price);
  font-weight: 700;
  white-space: nowrap;
}

.pd-plans__fit {
  font-size: 14px;
  color: var(--steel);
}

.pd-plans tbody tr:hover .pd-plans__fit {
  color: var(--ink);
}

.pd-plans__notes {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pd-plans__notes li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pd-body);
}

.pd-plans__notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 2px;
  background: var(--orange);
}

/* ---------- 03 轮次费用明细 ---------- */
.pd-billing {
  background: var(--deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.pd-billing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(243, 237, 226, .045) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(243, 237, 226, .045) 0 1px, transparent 1px 40px);
  pointer-events: none;
}

.pd-billing .wrap {
  position: relative;
}

.pd-billing .section-head__num {
  color: var(--lime);
}

.pd-billing__intro {
  margin: 14px 0 0;
  max-width: 50em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(243, 237, 226, .84);
}

.pd-billing__layout {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.pd-billing__visual {
  margin: 0;
}

.pd-billing__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--pd-edge-dark);
}

.pd-billing__scroll {
  overflow-x: auto;
  border: 1px solid var(--pd-edge-dark);
  -webkit-overflow-scrolling: touch;
}

.pd-billing table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

.pd-billing__caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px 10px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--note);
  background: var(--deep);
}

.pd-billing thead th {
  background: #17352B;
  color: var(--paper);
  text-align: left;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.pd-billing tbody th,
.pd-billing tbody td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(243, 237, 226, .12);
  color: rgba(243, 237, 226, .86);
  white-space: nowrap;
}

.pd-billing tbody th {
  font-family: var(--font-mono);
  font-weight: 700;
}

.pd-billing tbody th .num {
  color: var(--lime);
}

.pd-billing tbody td .num {
  color: var(--lime);
}

.pd-billing tbody th:first-child,
.pd-billing tbody td:first-child {
  position: sticky;
  left: 0;
  background: var(--deep);
  z-index: 2;
}

.pd-billing thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
}

.pd-billing tbody tr:hover td,
.pd-billing tbody tr:hover th {
  background: rgba(198, 255, 61, .10);
}

.pd-billing__hint {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(243, 237, 226, .78);
}

.pd-billing__hint a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 61, .5);
}

.pd-billing__hint a:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 04 预算适配清单 ---------- */
.pd-budget__intro {
  margin: 14px 0 0;
  max-width: 50em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--pd-body);
}

.pd-budget__layout {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.pd-budget__list {
  border-top: 1px solid var(--pd-edge);
}

.pd-budget__item {
  border-bottom: 1px solid var(--pd-edge);
  transition: background-color 160ms var(--ease);
}

.pd-budget__item[open] {
  background: rgba(198, 255, 61, .13);
}

.pd-budget__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 16px 34px 16px 13px;
  border-left: 3px solid transparent;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.pd-budget__item[open] .pd-budget__summary {
  border-left-color: var(--orange);
}

.pd-budget__summary::-webkit-details-marker {
  display: none;
}

.pd-budget__summary::marker {
  content: "";
}

.pd-budget__summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--steel);
}

.pd-budget__item[open] .pd-budget__summary::after {
  content: "−";
  color: var(--orange);
}

.pd-budget__range {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.pd-budget__plan {
  font-size: 14px;
  color: var(--pd-price);
  font-weight: 700;
}

.pd-budget__cov {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--steel);
}

.pd-budget__cov .num {
  color: var(--ink);
  font-size: 15px;
}

.pd-budget__body {
  padding: 0 22px 20px 16px;
}

.pd-budget__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--pd-body);
}

.pd-budget__visual {
  margin: 0;
}

.pd-budget__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--pd-edge);
}

.pd-budget__visual figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 05 四步流程 ---------- */
.pd-flow {
  background: var(--char);
  color: var(--paper);
}

.pd-flow .section-head__num {
  color: var(--orange);
}

.pd-flow__intro {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(243, 237, 226, .8);
}

.pd-flow__grid {
  display: grid;
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(243, 237, 226, .18);
}

.pd-flow__step {
  background: var(--char);
  padding: 24px 20px 26px;
}

.pd-flow__num {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -.02em;
}

.pd-flow__step h3 {
  margin-top: 12px;
  font-size: 21px;
  color: var(--paper);
}

.pd-flow__step p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(243, 237, 226, .8);
}

.pd-flow__foot {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(243, 237, 226, .72);
}

.pd-flow__foot a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 43, .5);
}

.pd-flow__foot a:hover {
  border-bottom-color: var(--orange);
}

/* ---------- 06 场景搭配 ---------- */
.pd-scen__top {
  display: grid;
  gap: 22px;
  align-items: end;
}

.pd-scen__visual {
  margin: 0;
}

.pd-scen__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--pd-edge);
}

.pd-scen__grid {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

.pd-scen__card {
  border-top: 3px solid var(--slate);
  padding-top: 16px;
}

.pd-scen__card:nth-child(2) {
  border-top-color: var(--orange);
}

.pd-scen__card:nth-child(3) {
  border-top-color: var(--deep);
}

.pd-scen__badge {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--steel);
}

.pd-scen__card h3 {
  margin-top: 8px;
  font-size: 23px;
}

.pd-scen__card p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--pd-body);
}

.pd-scen__why {
  padding-top: 10px;
  border-top: 1px solid var(--pd-edge);
  font-weight: 700;
  color: var(--ink) !important;
}

/* ---------- 07 咨询入口 ---------- */
.pd-ask {
  background: var(--deep);
  color: var(--paper);
}

.pd-ask__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.pd-ask__main .kicker {
  margin: 0 0 12px;
  color: var(--lime);
}

.pd-ask__text {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(243, 237, 226, .84);
}

.pd-ask__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pd-ask__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--pd-edge-dark);
}

.pd-ask__list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--pd-edge-dark);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(243, 237, 226, .86);
}

.pd-ask__n {
  font-size: 13px;
  color: var(--orange);
  padding-top: 3px;
  letter-spacing: .06em;
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 760px) {
  .pd-index__row {
    grid-template-columns: repeat(3, 1fr);
  }

  .pd-index__item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-top: 0;
    border-left: 1px solid var(--pd-edge-dark);
  }

  .pd-index__item:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .pd-budget__summary {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    padding: 18px 40px 18px 15px;
  }

  .pd-budget__cov {
    grid-column: auto;
    text-align: right;
  }

  .pd-flow__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-scen__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (min-width: 900px) {
  .pd-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 52px;
  }

  .pd-hero__panel {
    margin-top: 46px;
  }

  .pd-services__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-areas:
      "head list"
      "media list";
    gap: 24px 56px;
    align-items: start;
  }

  .pd-services__head {
    grid-area: head;
  }

  .pd-services__list {
    grid-area: list;
  }

  .pd-services__media {
    grid-area: media;
    margin-top: 8px;
  }

  .pd-billing__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 32px;
    align-items: start;
  }

  .pd-budget__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: start;
  }

  .pd-scen__top {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 40px;
  }

  .pd-ask__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
  }
}

@media (min-width: 1080px) {
  .pd-flow__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pd-flow__step {
    padding: 30px 24px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition: none !important;
  }
}
