/* ==========================================================================
   优奥工品 · 品牌服务页专属样式（jd-ecommerce-operation /
   tmall-ecommerce-operation / customer-service-operation 三页共用）
   以 style.css 与 services.css 的设计变量与公共组件为基础；
   页面级组件统一使用 svc2-* / plat-* / scene-* 语义前缀，避免与公共类冲突。
   ========================================================================== */

/* ---------- 公共补位：交替底色 section（style.css 未提供，仅页面内使用） ---------- */
.section--alt { background: var(--bg-alt); }

/* ---------- 首屏（page-hero） ---------- */
.page-hero {
  align-items: center;
  background: #f2f3f5;
  display: flex;
  min-height: 64vh;
  overflow: hidden;
  position: relative;
}
.page-hero__bg {
  background-image: url(../hero.jpg);
  background-position: center 52%;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.01);
}
.page-hero__bg--tmall { background-position: center 38%; }
.page-hero__bg--cs { background-position: center 64%; }
.page-hero__veil {
  background: radial-gradient(920px 560px at 88% 6%, rgba(180, 20, 20, .26) 0, rgba(180, 20, 20, 0) 60%),
    linear-gradient(100deg, rgba(12, 14, 17, .72), rgba(12, 14, 17, .42) 32%, rgba(12, 14, 17, .14) 64%, rgba(12, 14, 17, 0));
  inset: 0;
  position: absolute;
}
.page-hero__inner {
  padding-bottom: 60px;
  padding-top: calc(var(--header-h) + 84px);
  position: relative;
  z-index: 2;
}
.page-hero__eyebrow {
  align-items: center;
  background: hsla(0, 0%, 100%, .05);
  border: 1px solid hsla(0, 0%, 100%, .18);
  border-radius: 100px;
  color: hsla(0, 0%, 100%, .86);
  display: inline-flex;
  font-size: 13px;
  gap: 12px;
  letter-spacing: .06em;
  margin-bottom: 22px;
  padding: 8px 18px 8px 14px;
}
.page-hero__eyebrow:before {
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(180, 20, 20, .28);
  content: "";
  height: 7px;
  width: 7px;
}
.page-hero__title {
  color: #fff;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.24;
  max-width: 18em;
}
.page-hero__desc {
  color: hsla(0, 0%, 100%, .78);
  font-size: 16.5px;
  line-height: 1.95;
  margin-top: 22px;
  max-width: 680px;
}

/* 首屏下方数字指标（复用 metrics 组件语汇，配色适配深底） */
.hero-metrics {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  max-width: 880px;
}
.hero-metrics li {
  border-left: 1px solid hsla(0, 0%, 100%, .18);
  padding: 4px 26px;
}
.hero-metrics li:first-child { border-left: 0; padding-left: 0; }
.hero-metrics strong {
  color: #fff;
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.hero-metrics span {
  color: hsla(0, 0%, 100%, .66);
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  margin-top: 8px;
}

/* 板块锚点速览 */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.anchor-nav a {
  align-items: center;
  background: hsla(0, 0%, 100%, .06);
  border: 1px solid hsla(0, 0%, 100%, .22);
  border-radius: 100px;
  color: hsla(0, 0%, 100%, .88);
  display: inline-flex;
  font-size: 13.5px;
  height: 40px;
  padding: 0 18px;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- 平台价值卡片（plat） ---------- */
.plat__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
.plat__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px 32px;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.plat__card:after {
  background: var(--primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
  width: 100%;
}
.plat__card:hover {
  border-color: var(--primary-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.plat__card:hover:after { transform: scaleX(1); }
.plat__num {
  color: var(--primary-100);
  display: block;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 18px;
}
.plat__card h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}
.plat__list li {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}
.plat__list li:last-child { margin-bottom: 0; }
.plat__list li:before {
  background: var(--primary);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 11px;
  width: 6px;
}
.plat__list li b { color: var(--ink-2); font-weight: 600; }

/* ---------- 服务模块矩阵（svc2） ---------- */
.svc2__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.svc2__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 30px;
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.svc2__card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.svc2__icon {
  align-items: center;
  background: var(--primary-50);
  border-radius: var(--radius);
  color: var(--primary);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color .28s ease, color .28s ease;
  width: 52px;
}
.svc2__card:hover .svc2__icon { background: var(--primary); color: #fff; }
.svc2__icon svg { height: 26px; width: 26px; }
.svc2__card h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.svc2__sub {
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  margin: 6px 0 12px;
}
.svc2__list li {
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}
.svc2__list li + li { margin-top: 6px; }
.svc2__list li:before {
  background: var(--primary);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 11px;
  width: 5px;
}
.svc2__list li b { color: var(--ink-2); font-weight: 600; }

/* ---------- 店型/模式卡（store2） ---------- */
.store2__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.store2__grid--two { grid-template-columns: repeat(2, 1fr); }
.store2__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.store2__card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.store2__head {
  background: linear-gradient(150deg, #15181b, #0d0f11);
  padding: 26px 26px 22px;
  position: relative;
}
.store2__head:after {
  background: radial-gradient(320px 160px at 90% 0, rgba(180, 20, 20, .32), rgba(180, 20, 20, 0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.store2__badge {
  background: rgba(180, 20, 20, .28);
  border: 1px solid rgba(217, 67, 67, .42);
  border-radius: 100px;
  color: #f0a8a8;
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 5px 13px;
  position: relative;
  z-index: 1;
}
.store2__head h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  margin: 14px 0 0;
  position: relative;
  z-index: 1;
}
.store2__head p {
  color: hsla(0, 0%, 100%, .66);
  font-size: 13.5px;
  line-height: 1.8;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.store2__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 26px;
}
.store2__body h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.store2__list { margin-bottom: 20px; }
.store2__list li {
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}
.store2__list li + li { margin-top: 6px; }
.store2__list li:before {
  background: var(--primary);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 11px;
  width: 5px;
}
.store2__list li b { color: var(--ink-2); font-weight: 600; }
.store2__fee {
  background: var(--primary-50);
  border-radius: var(--radius);
  margin-top: auto;
  padding: 16px 18px;
}
.store2__fee-label {
  color: var(--primary);
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.store2__fee p {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.85;
}
.store2__link {
  color: var(--primary);
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 14px;
  transition: gap .2s ease;
}
.store2__link:hover { text-decoration: underline; }

/* ---------- 合作节奏（step） ---------- */
.step__list {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.step__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  position: relative;
}
.step__week {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 100px;
  color: var(--primary);
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 12px;
  padding: 5px 13px;
}
.step__item h3 {
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 10px;
}
.step__item p {
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.85;
}
.step__item b { color: var(--ink-2); font-weight: 600; }

/* ---------- 深色场景 section（为什么外包 / 平台价值等） ---------- */
.section--scene {
  background: radial-gradient(800px 400px at 88% 8%, rgba(180, 20, 20, .28) 0, rgba(180, 20, 20, 0) 60%), linear-gradient(150deg, #15181b, #0d0f11);
  padding: 76px 0;
}

/* ---------- 卡片 4 列 / 数据列（scene） ---------- */
.scene__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.scene__card {
  background: hsla(0, 0%, 100%, .045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background-color .28s ease, border-color .28s ease, transform .28s ease;
}
.scene__card:hover {
  background: hsla(0, 0%, 100%, .08);
  border-color: rgba(217, 67, 67, .55);
  transform: translateY(-6px);
}
.scene__icon {
  align-items: center;
  background: rgba(180, 20, 20, .22);
  border: 1px solid rgba(217, 67, 67, .38);
  border-radius: var(--radius);
  color: #f0a8a8;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}
.scene__icon svg { height: 24px; width: 24px; }
.scene__card h3 {
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
}
.scene__card p {
  color: hsla(0, 0%, 100%, .72);
  font-size: 13.5px;
  line-height: 1.85;
  margin-top: 10px;
}
.scene__card b { color: #fff; font-weight: 600; }

/* ---------- 案例卡（case） ---------- */
.case__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
/* 两卡居中平铺：等宽两列，总宽与父级一致 */
.case__grid--two { grid-template-columns: repeat(2, 1fr); }
.case__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.case__card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.case__head {
  border-bottom: 1px solid var(--line);
  padding: 28px 26px 22px;
}
.case__head h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.case__head p {
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 8px;
}
.case__mode {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 100px;
  color: var(--primary);
  display: inline-block;
  font-size: 12.5px;
  line-height: 1.6;
  margin-top: 14px;
  padding: 5px 12px;
}
.case__data {
  background: var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
}
.case__data li { background: #fff; padding: 18px 20px; }
.case__data strong {
  color: var(--primary);
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.case__data span {
  color: var(--ink-3);
  display: block;
  font-size: 12.5px;
  margin-top: 4px;
}
.case__result {
  flex: 1;
  padding: 24px 26px 26px;
}
.case__result h4 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.case__result li {
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}
.case__result li:last-child { margin-bottom: 0; }
.case__result li:before {
  background: var(--primary);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 6px;
}
.case__result li b { color: var(--ink-2); font-weight: 600; }
.case__note {
  color: var(--ink-4);
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 28px;
  text-align: center;
}

/* ---------- 组合矩阵（combo） ---------- */
.combo {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  margin-top: 28px;
  padding: 28px 32px;
}
.combo__title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}
.combo__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.combo__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.combo__item h4 {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.combo__item p {
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.85;
}
.combo__item b { color: var(--ink-2); font-weight: 600; }
.combo__note {
  border-top: 1px dashed var(--primary-100);
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 22px;
  padding-top: 16px;
}
.combo__note b { color: var(--ink-2); font-weight: 600; }

/* ---------- 响应式（与 style.css 断点对齐：1180 / 1024 / 768） ---------- */
@media (max-width: 1180px) {
  .page-hero__title { font-size: 42px; }
}
@media (max-width: 1024px) {
  .page-hero { min-height: 0; }
  .page-hero__inner {
    padding-bottom: 56px;
    padding-top: calc(var(--header-h) + 64px);
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }
  .hero-metrics li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-metrics li:nth-child(even) { border-left: 1px solid hsla(0, 0%, 100%, .18); }
  .plat__grid { grid-template-columns: 1fr; }
  .svc2__grid { grid-template-columns: repeat(2, 1fr); }
  .store2__grid { grid-template-columns: repeat(2, 1fr); }
  .store2__grid--two { grid-template-columns: 1fr; }
  .step__list { grid-template-columns: repeat(2, 1fr); }
  .scene__grid { grid-template-columns: repeat(2, 1fr); }
  .case__grid { grid-template-columns: 1fr; }
  .combo__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-hero__title { font-size: 30px; }
  .page-hero__desc { font-size: 15px; margin-top: 18px; }
  .anchor-nav { gap: 10px; margin-top: 28px; }
  .anchor-nav a { font-size: 12.5px; height: 38px; padding: 0 14px; }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
  }
  .hero-metrics strong { font-size: 24px; }
  .svc2__grid,
  .store2__grid,
  .step__list,
  .scene__grid,
  .combo__grid { grid-template-columns: 1fr; }
  .plat__card { padding: 28px 24px 24px; }
  .svc2__card { padding: 28px 22px 24px; }
  .combo { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__bg { transform: none; }
}
