/* =========================================================
   services.css（最终稳定版）
   - 卡片/条目只显示一个
   - 弹窗放大详情
   - 白底科技渐变
========================================================= */

:root{
  --svc-text: rgba(15,23,42,.92);
  --svc-muted: rgba(15,23,42,.58);
  --svc-line: rgba(15,23,42,.12);
  --svc-card: rgba(255,255,255,.94);
  --svc-shadow: 0 16px 44px rgba(15,23,42,.10);
  --svc-shadow2: 0 24px 66px rgba(0,0,0,.28);
}

/* ✅ 强制隐藏：彻底绕开你全局 CSS 对 hidden 的干扰 */
.is-hidden{
  display: none !important;
}

.svc-page{
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(83,215,255,.14), transparent 55%),
    radial-gradient(820px 520px at 88% 10%, rgba(178,140,255,.12), transparent 55%),
    linear-gradient(180deg, #ffffff, #f6f8fc);
  color: var(--svc-text);
}

.svc-wrap{
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

/* ===== Hero ===== */
.svc-heroCard{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--svc-line);
  border-radius: 18px;
  box-shadow: var(--svc-shadow);
  padding: 18px;
}

.svc-title{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: .2px;
}

.svc-lead{
  margin: 10px 0 0;
  line-height: 1.65;
  color: rgba(15,23,42,.60);
  font-size: 14px;
  font-weight: 650;
}

.svc-badges{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.svc-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--svc-line);
  background: rgba(255,255,255,.86);
  color: rgba(15,23,42,.72);
  font-weight: 800;
  font-size: 12.5px;
}

.svc-badge i{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(83,215,255,.95);
  box-shadow: 0 0 0 3px rgba(83,215,255,.18);
  display: inline-block;
}
.svc-badge--v i{
  background: rgba(178,140,255,.95);
  box-shadow: 0 0 0 3px rgba(178,140,255,.18);
}
.svc-badge--g i{
  background: rgba(0,179,255,.85);
  box-shadow: 0 0 0 3px rgba(0,179,255,.14);
}

.svc-heroRight{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(248,250,252,.92);
  border-radius: 16px;
  padding: 12px;
}

.svc-kpis{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.svc-kpi{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.90);
  border-radius: 14px;
  padding: 10px;
}

.svc-kpiLabel{
  font-size: 12px;
  color: rgba(15,23,42,.55);
  font-weight: 800;
}
.svc-kpiValue{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
}

.svc-link{
  text-decoration: none;
  color: rgba(15,23,42,.92);
  font-weight: 900;
  border-bottom: 1px dashed rgba(15,23,42,.28);
}

/* ===== Controls ===== */
.svc-controls{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.svc-search{
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.14);
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
  padding: 10px 12px;
}

.svc-searchIcon{
  font-weight: 900;
  color: rgba(15,23,42,.55);
}

.svc-search input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(15,23,42,.88);
  font-weight: 700;
  font-size: 14px;
}

.svc-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.svc-btn{
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(248,250,252,.90);
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
  color: rgba(15,23,42,.82);
  font-weight: 850;
  font-size: 13px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.svc-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(83,215,255,.75);
  box-shadow: 0 14px 34px rgba(83,215,255,.16);
}

.svc-viewSwitch{ display: inline-flex; gap: 10px; }

.svc-viewBtn.is-active{
  border-color: rgba(83,215,255,.85);
  background: rgba(83,215,255,.14);
}

/* ===== Filters ===== */
.svc-filters{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.svc-tag{
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.92);
  color: rgba(15,23,42,.72);
  font-weight: 850;
  font-size: 13px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.svc-tag:hover{
  transform: translateY(-1px);
  border-color: rgba(178,140,255,.70);
  background: rgba(178,140,255,.12);
}
.svc-tag.is-active{
  border-color: rgba(83,215,255,.85);
  background: rgba(83,215,255,.14);
  color: rgba(15,23,42,.88);
}

/* ===== Meta ===== */
.svc-meta{
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.svc-count{
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  font-weight: 850;
  color: rgba(15,23,42,.72);
  font-size: 12.5px;
}

.svc-hint{
  color: rgba(15,23,42,.50);
  font-size: 12.5px;
  font-weight: 650;
}

/* ===== Cards Grid ===== */
.svc-grid{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.svc-card{
  grid-column: span 4;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background: var(--svc-card);
  box-shadow: var(--svc-shadow);
  padding: 14px;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.svc-card:hover{
  transform: translateY(-2px);
  border-color: rgba(83,215,255,.60);
  box-shadow: 0 22px 56px rgba(83,215,255,.12);
}

.svc-topline{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.svc-no{
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(248,250,252,.92);
  font-weight: 900;
  font-size: 12px;
  color: rgba(15,23,42,.72);
}

.svc-cat{
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(83,215,255,.26);
  background: rgba(83,215,255,.10);
  font-weight: 900;
  font-size: 12px;
  color: rgba(15,23,42,.76);
}

.svc-name{
  margin-top: 10px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.svc-desc{
  margin-top: 8px;
  color: rgba(15,23,42,.58);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.6;
  min-height: 42px;
}

.svc-foot{
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,.08);
}

.svc-mini{ color: rgba(15,23,42,.56); font-weight: 800; font-size: 12.5px; }
.svc-cta{ font-weight: 900; color: rgba(15,23,42,.86); font-size: 12.5px; }

/* ===== List/Table ===== */
.svc-listWrap{ margin-top: 12px; }

.svc-table{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--svc-shadow);
  overflow: hidden;
}

.svc-thead,
.svc-row{
  display: grid;
  grid-template-columns: 90px 130px 1.4fr 110px 2fr 120px;
  gap: 10px;
  align-items: center;
}

.svc-thead{
  padding: 12px 14px;
  background: rgba(248,250,252,.92);
  border-bottom: 1px solid rgba(15,23,42,.10);
  font-weight: 950;
  color: rgba(15,23,42,.72);
  font-size: 12.5px;
}

.svc-row{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  cursor: pointer;
  transition: background .12s ease;
}
.svc-row:hover{ background: rgba(83,215,255,.08); }

.svc-cellNo{ font-weight: 950; color: rgba(15,23,42,.78); }
.svc-cellCat{
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(83,215,255,.26);
  background: rgba(83,215,255,.10);
  font-weight: 900;
  font-size: 12px;
  color: rgba(15,23,42,.76);
}
.svc-cellName{ font-weight: 950; }
.svc-cellCycle{ font-weight: 850; color: rgba(15,23,42,.66); font-size: 12.5px; }
.svc-cellDesc{ color: rgba(15,23,42,.56); font-weight: 650; font-size: 12.5px; line-height: 1.5; }
.svc-openBtn{
  justify-self: end;
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.86);
  font-weight: 900;
  font-size: 12.5px;
}

/* ===== Zoom Modal ===== */
.svc-zoomOverlay{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2,6,23,.42);
  backdrop-filter: blur(10px);
}
.svc-zoomOverlay.is-open{ display: flex; }

.svc-zoomCard{
  width: min(980px, 100%);
  max-height: 86vh;
  border-radius: 22px;
  position: relative;
  border: 1px solid rgba(255,255,255,.25);
  background:
    radial-gradient(900px 520px at 14% 10%, rgba(83,215,255,.30), transparent 55%),
    radial-gradient(820px 520px at 86% 12%, rgba(178,140,255,.26), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.92));
  box-shadow: var(--svc-shadow2);
  overflow: hidden;
}

.svc-zoomGlow{
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    radial-gradient(680px 240px at 18% 16%, rgba(83,215,255,.26), transparent 60%),
    radial-gradient(620px 240px at 82% 14%, rgba(178,140,255,.22), transparent 60%);
}

.svc-zoomHead{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(12px);
}

.svc-zoomTitle{ margin: 0; font-weight: 950; font-size: 16.5px; }
.svc-zoomMeta{ margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }

.svc-zoomPill{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.70);
  font-weight: 850;
  font-size: 12.5px;
}

.svc-zoomClose{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.80);
  color: rgba(15,23,42,.78);
  font-weight: 950;
  cursor: pointer;
}

.svc-zoomBody{
  padding: 14px 16px 16px;
  overflow: auto;
  max-height: calc(86vh - 68px);
}

/* ===== 内容块 ===== */
.svc-sections{ display: grid; gap: 12px; }

.svc-section{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  padding: 12px;
}
.svc-sectionTitle{ font-weight: 950; font-size: 13px; }
.svc-sectionText{
  margin-top: 8px;
  color: rgba(15,23,42,.82);
  font-weight: 700;
  line-height: 1.72;
  font-size: 13.5px;
  white-space: pre-line;
}

.svc-twoCol{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-col{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(248,250,252,.72);
  padding: 10px;
}

.svc-list{
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,.76);
  font-weight: 650;
  line-height: 1.72;
  font-size: 13px;
}
.svc-list li{ margin: 6px 0; }

.svc-notes{
  border-style: dashed;
  background: rgba(248,250,252,.86);
}

.svc-foot{
  margin-top: 12px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(15,23,42,.18);
  background: rgba(248,250,252,.92);
}

.svc-disclaimer{
  color: rgba(15,23,42,.55);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.6;
}

.svc-ctaRow{ display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.svc-ctaBtn{
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.88);
  color: rgba(15,23,42,.82);
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
  text-decoration: none;
}
.svc-ctaBtn--ghost{ background: rgba(248,250,252,.92); }

/* ===== Responsive ===== */
@media (max-width: 1000px){
  .svc-heroCard{ grid-template-columns: 1fr; }
  .svc-card{ grid-column: span 6; }
  .svc-twoCol{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .svc-thead{ display: none; }
  .svc-row{ grid-template-columns: 1fr; gap: 6px; }
  .svc-openBtn{ justify-self: start; }
}
@media (max-width: 620px){
  .svc-wrap{ width: calc(100% - 24px); }
  .svc-card{ grid-column: span 12; }
}
/* 1) 弹窗内强制统一字体栈（防回退） */
.svc-zoomOverlay,
.svc-zoomCard,
.svc-zoomHead,
.svc-zoomBody,
.svc-sectionText,
#svcZoomIntro,
#svcZoomPrinciple{
  font-family: system-ui, -apple-system, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
    Arial, sans-serif !important;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 2) 防止某些元素被浏览器当成“特殊字体块”渲染 */
.svc-sectionText{
  font-family: inherit !important;
  letter-spacing: 0; /* 避免部分 glyph 更明显锯齿 */
}
