/* ==========================================================================
   Site pages v3 · 多页站点补充组件
   依赖 styles.css 的设计令牌，只新增不覆盖
   ========================================================================== */

.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;
}

/* 防止窄屏被固有宽度撑破 */
html, body { max-width: 100%; }
body { overflow-x: hidden; }
.hero-grid > *, .container > *, .cookie-inner > *, .footer-grid > * { min-width: 0; }
.hero-stage, .hero-product, .cookie-text, .cookie-actions { min-width: 0; }
.hero-product { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 var(--radius-s) 0;
}

.skip-link:focus { left: 0; }

/* ---------- 页头导航（下拉 + 移动端） ---------- */

.nav-item { position: relative; }

.nav-item > a .caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  color: var(--ink-3);
  transition: transform 0.2s;
}

.nav-item:hover > a .caret { transform: translateY(1px); color: var(--accent); }

.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 520px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
  z-index: 60;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
}

.mega a {
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background-color 0.15s, color 0.15s;
}

.mega a:hover { background: var(--accent-soft); color: var(--accent); }

.mega .group-label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 8px 2px;
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}

.mega .group-label:first-child { border-top: 0; margin-top: 0; }

.mega-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-elev);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.mobile-nav.open { max-height: 80vh; overflow-y: auto; }

.mobile-nav .inner { padding: 14px 0 22px; }

.mobile-nav .group {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 4px 6px;
}

.mobile-nav a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav a:active { color: var(--accent); }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .mobile-nav { display: block; }
  .header-actions .btn-primary { display: none; }
  .header-actions { margin-left: 0; }
}

/* ---------- 内页 Hero ---------- */

.page-hero {
  background: var(--accent-band);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(32px, 4vw, 52px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--ink-3); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }

.page-hero h1 {
  font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.9rem);
  letter-spacing: -0.022em;
  margin-bottom: 12px;
  max-width: 18ch;
}

.page-hero .lead {
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.14rem);
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
}

.page-hero .hero-actions { margin: 22px 0 0; }

.page-hero.with-media .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.page-hero .media {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--tile);
  padding: 18px;
  box-shadow: var(--shadow-2);
}

.page-hero .media img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .page-hero.with-media .container { grid-template-columns: 1fr; }
  .page-hero .media img { height: 190px; }
}

/* ---------- 规格表 ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-elev);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  background: var(--bg);
  white-space: nowrap;
}

.spec-table tr:last-child td { border-bottom: 0; }

.spec-table td:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.spec-table tbody tr:hover { background: var(--accent-soft); }

.table-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* ---------- 方案架构图（分层） ---------- */

.arch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.arch-layer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 16px 20px;
}

.arch-layer .layer-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.arch-layer .layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-layer .layer-items span {
  font-size: 13px;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

.arch-arrow {
  text-align: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}

/* ---------- 案例卡片 ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.case-card .sector {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-card h3 { font-size: 1.1rem; margin: 0; }
.case-card p { font-size: 0.92rem; margin: 0; flex: 1; }

.case-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.case-meta span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 8px;
}

/* 案例详情四段式 */

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}

.case-fact {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 18px;
}

.case-fact .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.case-fact .v { font-size: 0.95rem; color: var(--ink); font-weight: 500; }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.35rem; margin-top: 34px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { color: var(--ink-2); padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }

.notice {
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: var(--accent-soft);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 24px 0;
}

/* ---------- 活动 ---------- */

.event-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.event-card + .event-card { margin-top: 16px; }

.event-media {
  background: var(--tile);
  display: grid;
  place-items: center;
  padding: 0;
  min-height: 220px;
}

.event-media img { width: 100%; height: 100%; object-fit: cover; }

.event-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }

.event-when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.event-body h3 { font-size: 1.25rem; margin: 0; }
.event-body p { font-size: 0.93rem; margin: 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; }

.event-meta span {
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

@media (max-width: 780px) {
  .event-card { grid-template-columns: 1fr; }
  .event-media { min-height: 180px; }
}

/* ---------- 联系页 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px;
}

.contact-person {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-role {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.contact-lines { display: flex; flex-direction: column; gap: 10px; }

.contact-lines a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.2s;
}

.contact-lines a:hover { color: var(--accent); }

.contact-lines .ico { color: var(--accent); flex-shrink: 0; }

.whatsapp-qr {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 16px;
  align-items: center;
}

.whatsapp-qr img {
  width: 104px;
  height: 104px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px;
}

.whatsapp-qr .qr-label { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 11px 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea { resize: vertical; min-height: 110px; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); cursor: pointer; }
.consent-row input[type=checkbox] { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.consent-row a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; }

.form-status {
  margin-top: 14px;
  font-size: 13px;
  color: var(--accent);
  display: none;
}

.form-status.show { display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- 隐私/长文页面 ---------- */

.legal h2 { font-size: 1.15rem; margin-top: 30px; }
.legal h3 { font-size: 1rem; margin-top: 22px; }
.legal p, .legal li { font-size: 0.94rem; color: var(--ink-2); }
.legal ul { padding-left: 20px; }

/* ---------- Cookie 横幅 ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  width: min(980px, calc(100% - 32px));
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px rgba(10, 20, 33, 0.22);
  padding: 20px 22px;
  z-index: 120;
  transition: transform 0.45s var(--ease-out);
}

[data-theme="dark"] .cookie-banner { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }

.cookie-banner.show { transform: translate(-50%, 0); }

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cookie-text { flex: 1 1 420px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.cookie-text strong { font-family: var(--font-display); color: var(--ink); }
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cookie-btn {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.cookie-btn:hover { border-color: var(--accent); color: var(--accent); }

.cookie-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.cookie-btn.primary:hover { background: var(--accent-strong); color: var(--accent-ink); }

.cookie-prefs {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: none;
}

.cookie-prefs.open { display: block; }

.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.cookie-pref-row + .cookie-pref-row { border-top: 1px dashed var(--line-soft); }

.cookie-pref-row input { margin-top: 3px; accent-color: var(--accent); }

.cookie-pref-row .label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cookie-pref-row .desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

.cookie-pref-actions { display: flex; gap: 10px; margin-top: 12px; }

@media (max-width: 640px) {
  .cookie-banner { bottom: 0; width: 100%; border-radius: var(--radius-l) var(--radius-l) 0 0; padding: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ---------- 页脚：5 列（品牌 + 四组链接） ---------- */

.footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 瀑布流 ---------- */

.masonry {
  column-count: 3;
  column-gap: 16px;
}

.masonry > * {
  break-inside: avoid;
  page-break-inside: avoid;
  width: 100%;
  margin: 0 0 16px;
  display: block;
}

/* 多列布局下禁用 flex，避免图片溢出压字 */
.masonry .family-card {
  display: block;
  overflow: hidden;
}

.masonry .family-card .img-well {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.masonry .family-card .img-well img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.masonry .family-card .img-well svg {
  width: 46px;
  height: 46px;
}

.masonry .family-card .card-body { padding: 20px; }

@media (max-width: 1024px) {
  .masonry { column-count: 2; }
}

@media (max-width: 680px) {
  .masonry { column-count: 1; }
}

section[id] { scroll-margin-top: 84px; }

/* ---------- 其他 ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.split .media-frame {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--tile);
  padding: 16px;
  box-shadow: var(--shadow-2);
}

.split .media-frame img { width: 100%; height: 320px; object-fit: contain; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split .media-frame img { height: 240px; }
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg-elev);
}

.fact-strip > div {
  padding: 20px;
  border-right: 1px solid var(--line-soft);
}

.fact-strip > div:last-child { border-right: 0; }

.fact-strip .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.fact-strip .v { font-size: 0.95rem; color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip > div { border-bottom: 1px solid var(--line-soft); }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-row a {
  font-size: 12.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  transition: border-color 0.2s, color 0.2s;
}

.tag-row a:hover, .tag-row a.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px 30px;
  margin-top: 40px;
}

.cta-inline p { margin: 0; }

@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr; }
}

.slide {
  flex: 0 0 100%;
  min-height: clamp(440px, 62vh, 560px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) max(24px, calc((100vw - 1160px) / 2));
}

.slide h1, .slide h2 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.slide .kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.slide p.lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 52ch; }

.slide .fig { display: grid; place-items: center; min-height: 260px; }
.slide .fig img { max-height: clamp(220px, 34vh, 360px); width: auto; max-width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.28)); }

.slide-poster {
  background: #0b1727;
  color: #fff;
}
.slide-poster .inner { max-width: 620px; }
.slide-poster .kicker { color: rgba(255,255,255,.62); }
.slide-poster h2 { color: #fff; }
.slide-poster .lead { color: rgba(255,255,255,.82); }
.slide-poster .fig img { max-height: 340px; width: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }

@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; min-height: auto; }
  .slide .fig { order: -1; }
  .slide-poster { align-items: center; }
}

/* ================= 横向抽屉（产品） ================= */

.drawer {
  display: flex;
  gap: 10px;
  height: 500px;
}

.drawer-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1727;
  border: 1px solid #16283a;
  text-decoration: none;
  transition: flex-grow .5s var(--ease-out), border-color .3s;
}

.drawer-item:hover,
.drawer-item:focus-within {
  flex-grow: 3.6;
  border-color: rgba(53,150,224,.55);
}

.drawer-collapsed {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  transition: opacity .3s;
  background: linear-gradient(180deg, rgba(53,150,224,.10), transparent 55%);
}

.drawer-collapsed .idx { font-family: var(--font-mono); font-size: 10.5px; color: #6f8aa3; letter-spacing: .1em; }

.drawer-collapsed .nm {
  writing-mode: vertical-rl;
  color: #cfe0ef;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .1em;
}

.drawer-item:hover .drawer-collapsed,
.drawer-item:focus-within .drawer-collapsed { opacity: 0; }

.drawer-body {
  position: absolute; inset: 0;
  padding: 24px;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .35s .05s, transform .4s var(--ease-out) .05s;
  pointer-events: none;
}

.drawer-item:hover .drawer-body,
.drawer-item:focus-within .drawer-body { opacity: 1; transform: none; pointer-events: auto; }

.drawer-body .fig { flex: 1; display: grid; place-items: center; min-height: 0; }
.drawer-body .fig img { max-height: 200px; max-width: 88%; object-fit: contain; }
.drawer-body .fig svg { width: 62px; height: 62px; color: #7fb6e0; }

.drawer-body h3 { color: #eef5fb; font-size: 1.15rem; margin: 0 0 6px; }
.drawer-body p { color: #9cb1c4; font-size: .9rem; margin: 0 0 10px; }
.drawer-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.drawer-body .tags span {
  font-family: var(--font-mono); font-size: 10.5px; color: #9fc4e2;
  border: 1px solid #22405a; border-radius: 5px; padding: 3px 8px;
}
.drawer-body .more { color: #62b3ef; font-family: var(--font-display); font-weight: 600; font-size: .9rem; }

@media (max-width: 1024px) {
  .drawer { flex-direction: column; height: auto; }
  .drawer-item { min-height: 108px; }
  .drawer-collapsed { display: none; }
  .drawer-body {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    flex-direction: row; align-items: center; gap: 16px; padding: 16px;
  }
  .drawer-body .fig { flex: 0 0 84px; height: 84px; }
  .drawer-body .fig img { max-height: 84px; }
  .drawer-body .fig svg { width: 40px; height: 40px; }
  .drawer-body h3 { font-size: 1rem; }
  .drawer-body p { display: none; }
  .drawer-body .tags { display: none; }
}

/* ================= 社媒 ================= */

.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.social-row a {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: color .2s, border-color .2s, transform .2s;
}

.social-row a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.social-row svg { width: 16px; height: 16px; }

.dual-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 720px) { .dual-cards { grid-template-columns: 1fr; } }

.drawer-item.is-open { flex-grow: 3.6; border-color: rgba(53,150,224,.55); }
.drawer-item.is-open .drawer-collapsed { opacity: 0; }
.drawer-item.is-open .drawer-body { opacity: 1; transform: none; pointer-events: auto; }

/* ================= 竖向抽屉（产品） ================= */

.vd { border-top: 1px solid var(--line); }

/* ================= 页脚公司信息 ================= */
.company-meta {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 14px; font-size: 12px; line-height: 1.55; color: var(--ink-3);
}
.company-meta a { color: var(--ink-2); }
.company-meta a:hover { color: var(--accent); }

.slide .fig {
  background: #000;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 18px;
}

.slide .fig img { max-height: 300px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-3 > * { height: 100%; }

@media (max-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-3 { grid-template-columns: 1fr; } }

/* 首屏瓦片内图片完整显示 */
.slide .fig { overflow: hidden; min-width: 0; }
.slide .fig img { max-width: 100%; width: auto; height: auto; }

/* 首屏图片：固定框 + contain，杜绝裁切 */
.slide .fig { position: relative; height: clamp(240px, 34vh, 330px); padding: 0; }
.slide .fig img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  max-height: none;
}

.slide .fig {
  background: #eef2f6;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
}

[data-theme="dark"] .slide .fig {
  background: #eef2f6;
  border-color: rgba(255,255,255,.14);
}

/* ================= v9：页脚重排 ================= */
.footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; }

.footer-company {
  display: grid;
  grid-template-columns: 1.1fr 1.7fr 0.9fr;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.footer-company .fc-name strong { display: block; color: var(--ink-2); font-weight: 600; margin-bottom: 2px; }
.footer-company .fc-addr span, .footer-company .fc-tel a { display: block; }
.fc-def { grid-column: 1 / -1; margin: 0; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
.footer-company a { color: var(--ink-2); }
.footer-company a:hover { color: var(--accent); }

.footer-base {
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  align-items: center;
}

.footer-base .social-row { margin-top: 0; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-company { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ================= v10：浅色模式去掉图底 / 海报跟随主题 ================= */
[data-theme="light"] .slide .fig {
  background: transparent;
  border-color: transparent;
}

.slide-poster { background: transparent; color: var(--ink); }
.slide-poster .kicker { color: var(--ink-3); }
.slide-poster h2 { color: var(--ink); }
.slide-poster .lead { color: var(--ink-2); }

/* ================= v10：头部渠道图标 ================= */
.header-social {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 10px;
}

.header-social a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--ink-3);
  transition: color .2s, background-color .2s;
}

.header-social a:hover { color: var(--accent); background: var(--accent-soft); }
.header-social svg { width: 15px; height: 15px; }

.header-actions { margin-left: 0; }

@media (max-width: 1280px) { .header-social { display: none; } }

.mobile-social { margin-top: 10px; }

/* ================= v10：页脚二维码 ================= */
.footer-qr {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px;
}
.footer-qr img {
  width: 56px; height: 56px;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  border: 1px solid var(--line);
}
.footer-qr span { font-size: 11.5px; color: var(--ink-3); }

/* v12：首屏图片改为静态等比缩放，避免裁切 */
.slide .fig { display: grid; place-items: center; overflow: visible; }
.slide .fig img {
  position: static;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  padding: 0;
}

/* v13：首屏图片严格限定在固定展示区内等比缩放 */
.slide { overflow: hidden; }
.slide .fig {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: clamp(240px, 34vh, 330px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.slide .fig img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0;
  margin: 0;
}

/* v14：轮播图以背景图形式渲染，等比 contain 铺满固定展示区 */
.slide .fig {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/* v15：与主题规则同权重，确保 background-size 不被简写重置 */
.slide .fig,
[data-theme="light"] .slide .fig,
[data-theme="dark"] .slide .fig {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ================= v16：顶部商务条 ================= */
.topbar { background: #0b1727; color: rgba(255,255,255,.86); font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar a { color: rgba(255,255,255,.86); }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar .sep { color: rgba(255,255,255,.35); }
.topbar-right { gap: 18px; }

@media (max-width: 760px) {
  .topbar-inner { height: auto; padding: 8px 0; flex-wrap: wrap; }
  .topbar-right { display: none; }
}

/* ================= v16：商务合作区 ================= */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.biz-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 14px; padding: 26px;
}
.biz-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.biz-card h3 { font-size: 1.25rem; margin: 2px 0 0; }
.biz-role { color: var(--ink-3); font-size: .9rem; margin: 0 0 6px; }
.biz-line { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); word-break: break-all; }
.biz-line:hover { color: var(--accent); }
.biz-card .btn { margin-top: 12px; align-self: flex-start; }
.biz-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.biz-social a {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px;
  transition: border-color .2s, color .2s;
}
.biz-social a:hover { border-color: var(--accent); color: var(--accent); }
.biz-social .ico { display: grid; place-items: center; }
.biz-social svg { width: 15px; height: 15px; }
.biz-strip {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--ink-3);
}
.biz-strip a { color: var(--accent); font-weight: 600; }

@media (max-width: 1024px) { .biz-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .biz-social { grid-template-columns: 1fr; } .biz-strip { flex-direction: column; } }

/* ================= v16：浮动 WhatsApp ================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  display: flex; align-items: center;
  height: 52px; padding: 0 16px; border-radius: 999px;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 28px rgba(10,20,33,.22);
  transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .wa-ico svg { width: 24px; height: 24px; display: block; }
.wa-float .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 13px; transition: max-width .25s, margin .25s; }
.wa-float:hover .wa-label { max-width: 90px; margin-left: 8px; }

@media (max-width: 640px) { .wa-float { right: 16px; bottom: 16px; height: 48px; padding: 0 14px; } }

/* ================= v17：方案/案例抽屉 ================= */
.acc { border-top: 1px solid var(--line); }

/* ================= v17：生产基地 ================= */
.bases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.base-card { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-elev); }
.base-card img { display: block; width: 100%; height: 280px; object-fit: cover; }
.base-card figcaption { padding: 22px; }
.base-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.base-card p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.base-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.base-facts span {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
@media (max-width: 900px) { .bases-grid { grid-template-columns: 1fr; } .base-card img { height: 220px; } }

/* ================= v18：三语切换 ================= */
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 6px 9px; font-size: 12px; color: var(--ink-2); line-height: 1; }
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.lang-switch.mobile { margin-top: 12px; align-self: flex-start; }

/* ================= v18：产品横向标签抽屉 ================= */
.ptabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab {
  white-space: nowrap; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  font-size: 13.5px; cursor: pointer; transition: .2s;
}
.ptab:hover { border-color: var(--accent); color: var(--accent); }
.ptab.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.ppanels { margin-top: 26px; }
.ppanel { display: none; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; align-items: center; }
.ppanel.on { display: grid; }
.ppanel-fig {
  height: 320px;
  background-size: contain; background-position: center; background-repeat: no-repeat;
}
.ppanel-copy h3 { font-size: 1.4rem; margin: 0 0 8px; }
.ppanel-tag { font-size: .95rem; color: var(--ink-2); margin: 0 0 10px; }
.ppanel-intro { font-size: .92rem; color: var(--ink-3); margin: 0 0 14px; }
.ppanel-copy .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ppanel-copy .tags span { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; }

/* ================= v18：解决方案卡片 ================= */
.sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.sol-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-elev); transition: border-color .2s, transform .2s;
  min-height: 210px;
}
.sol-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sol-idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); }
.sol-card h3 { font-size: 1.08rem; margin: 0; }
.sol-card p { margin: 0; font-size: .9rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sol-link { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--accent); }

/* ================= v18：案例卡片 ================= */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-card {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 26px; background: var(--bg-elev);
  display: flex; flex-direction: column;
}
.case-sector { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.case-card h3 { font-size: 1.05rem; margin: 8px 0; }
.case-sum { font-size: .9rem; color: var(--ink-2); margin: 0; }
.case-meta { margin: 16px 0 0; display: grid; gap: 8px; }
.case-meta div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.case-meta dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.case-meta dd { margin: 0; font-size: .85rem; color: var(--ink-2); }
.case-link { margin-top: auto; padding-top: 16px; font-size: .88rem; font-weight: 600; color: var(--accent); }

/* ================= v18：商务卡二维码 ================= */
.biz-qr { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; }
.biz-qr img { width: 84px; height: 84px; background: #fff; padding: 4px; border: 1px solid var(--line); border-radius: 8px; }
.biz-qr span { font-size: 12px; color: var(--ink-3); max-width: 150px; }
.biz-card .btn { margin-top: auto; }
.biz-contact { min-height: 100%; }

/* ================= v18：右侧联系栏 ================= */
.side-rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 6px; }
.rail-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--bg-elev); border: 1px solid var(--line); border-right: 0;
  border-radius: 10px 0 0 10px; color: var(--ink-2); cursor: pointer;
  box-shadow: -6px 6px 18px rgba(10,20,33,.07);
  transition: background-color .2s, color .2s;
}
.rail-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.rail-wa { background: #25D366; border-color: #25D366; color: #fff; }
.rail-wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.rail-btn svg { width: 20px; height: 20px; }

.wa-pop {
  position: fixed; right: 58px; top: 50%; transform: translateY(-50%);
  z-index: 95; width: 224px; padding: 18px 16px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10,20,33,.16);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.wa-pop[hidden] { display: none; }
.wa-pop img { width: 150px; height: 150px; }
.wa-pop p { margin: 0; font-size: 12px; color: var(--ink-3); text-align: center; }
.wa-pop a { font-size: 12.5px; color: var(--accent); }
.wa-close { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--ink-3); cursor: pointer; }

/* ================= v18：联系表单 ================= */
.contact-form { max-width: 880px; border: 1px solid var(--line); border-radius: 14px; padding: 30px; background: var(--bg-elev); }
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field.full { grid-column: 1 / -1; }

@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .ppanel { grid-template-columns: 1fr; gap: 24px; }
  .ppanel-fig { height: 240px; }
}

@media (max-width: 760px) {
  .sol-grid { grid-template-columns: 1fr; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  .side-rail { gap: 4px; }
  .rail-btn { width: 42px; height: 42px; }
  .wa-pop { right: 50px; width: 200px; }
  .wa-pop img { width: 130px; height: 130px; }
}

/* ================= v19：单屏 hero ================= */
.hero-static { padding: clamp(40px, 5vw, 72px) 0; background: var(--accent-band); border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-static h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 16px; }
.hero-static .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.hero-static .lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 52ch; }
.hero-static .fig { height: clamp(240px, 34vh, 340px); background-size: contain; background-position: center; background-repeat: no-repeat; }

/* ================= v19：多巴胺配色 ================= */
:root {
  --dop-coral: #FF6B5A;
  --dop-amber: #FFB020;
  --dop-teal: #12B3A8;
  --dop-violet: #7A6BFF;
  --dop-sky: #38BDF8;
}

.ptab { border-color: var(--line); }
.ptab:hover { border-color: var(--dop-violet); color: var(--dop-violet); background: rgba(122,107,255,.06); }
.ptab.on {
  background: linear-gradient(135deg, var(--dop-violet), var(--dop-sky));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(122,107,255,.28);
}

.ppanel-ico {
  width: min(320px, 100%); aspect-ratio: 1 / 1; border-radius: 26px;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 18px 40px rgba(10,20,33,.16);
}
.ppanel-ico svg { width: 104px; height: 104px; }
.ppanel-ico.c0 { background: linear-gradient(135deg, #FF8A65, #FF5F6D); }
.ppanel-ico.c1 { background: linear-gradient(135deg, #12B3A8, #0E8C86); }
.ppanel-ico.c2 { background: linear-gradient(135deg, #7A6BFF, #5B4BE0); }
.ppanel-ico.c3 { background: linear-gradient(135deg, #FFB020, #FF8A00); }
.ppanel-ico.c4 { background: linear-gradient(135deg, #38BDF8, #0EA5E9); }

.sol-card { position: relative; overflow: hidden; }
.sol-card::before {
  content: ; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--dop-violet);
}
.sol-card:nth-child(5n+1)::before { background: var(--dop-coral); }
.sol-card:nth-child(5n+2)::before { background: var(--dop-teal); }
.sol-card:nth-child(5n+3)::before { background: var(--dop-violet); }
.sol-card:nth-child(5n+4)::before { background: var(--dop-amber); }
.sol-card:nth-child(5n+5)::before { background: var(--dop-sky); }
.sol-card:hover { border-color: var(--dop-violet); box-shadow: 0 16px 34px rgba(10,20,33,.08); }

.case-card { border-left-color: var(--dop-violet); }
.case-card:nth-child(4n+1) { border-left-color: var(--dop-coral); }
.case-card:nth-child(4n+2) { border-left-color: var(--dop-teal); }
.case-card:nth-child(4n+3) { border-left-color: var(--dop-amber); }
.case-card:nth-child(4n+4) { border-left-color: var(--dop-sky); }

.biz-card { position: relative; overflow: hidden; }
.biz-card::before {
  content: ; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--dop-violet);
}
.biz-card:nth-child(1)::before { background: var(--dop-coral); }
.biz-card:nth-child(2)::before { background: var(--dop-amber); }
.biz-card:nth-child(3)::before { background: var(--dop-teal); }

.biz-social a:hover { border-color: var(--dop-violet); color: var(--dop-violet); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-static .fig { height: 240px; }
  .ppanel-ico { width: 180px; }
  .ppanel-ico svg { width: 64px; height: 64px; }
}

/* ================= v21：三合一展示区 ================= */
.tabs3 {
  display: flex; gap: 32px; border-bottom: 1px solid var(--line);
  margin: 8px 0 28px;
}
.tab3 {
  position: relative; padding: 14px 2px; border: 0; background: none;
  font-family: var(--font-display); font-size: 15px; color: var(--ink-3);
  cursor: pointer; transition: color .2s;
}
.tab3:hover { color: var(--ink); }
.tab3.on { color: var(--ink); font-weight: 700; }
.tab3.on::after {
  content: ; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--dop-coral), var(--dop-violet), var(--dop-sky));
}

.tabpane { display: none; }
.tabpane.on { display: block; }

/* 产品：两列紧凑列表 */
.plist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.pitem {
  display: grid; grid-template-columns: 34px 1fr 18px; gap: 12px; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid var(--line-soft);
  color: var(--ink); transition: background-color .2s;
}
.pitem:hover { background: var(--accent-soft); }
.pi-num { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); }
.pi-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pi-body strong { font-size: .95rem; font-weight: 600; }
.pi-body span { font-size: .78rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-arrow { color: var(--accent); font-size: 13px; text-align: right; }

/* 方案 / 案例：三列紧凑卡 */
.pane-grid.sol-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.sol-card { min-height: 170px; padding: 22px; }
.case-grid.compact { grid-template-columns: repeat(3, minmax(0,1fr)); }
.case-grid.compact .case-card { padding: 20px; }
.case-line { font-size: .82rem; color: var(--ink-2); margin: 0 0 6px; }
.case-line strong { color: var(--ink); font-weight: 600; }
.case-grid.compact .case-link { padding-top: 12px; }

/* ================= v21：首屏快速联系 ================= */
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.hero-contact a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-2);
  font-family: var(--font-mono);
}
.hero-contact a:hover { color: var(--accent); }
.hero-contact .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.hero-contact .dot.c1 { background: var(--dop-coral); }
.hero-contact .dot.c2 { background: var(--dop-teal); }
.hero-contact .dot.c3 { background: var(--dop-amber); }

@media (max-width: 1024px) {
  .plist { grid-template-columns: 1fr; }
  .pane-grid.sol-grid, .case-grid.compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .tabs3 { gap: 18px; overflow-x: auto; }
  .tab3 { white-space: nowrap; font-size: 14px; }
  .pane-grid.sol-grid, .case-grid.compact { grid-template-columns: 1fr; }
}

/* ================= v22：更紧凑的纵向节奏 ================= */
.section { padding: clamp(44px, 5vw, 72px) 0; }
.section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.hero-static { padding: clamp(32px, 4vw, 56px) 0; }

/* ================= v22：标签改为分段控件 ================= */
.tabs3 {
  display: inline-flex; gap: 6px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(10,20,33,.06);
  border-bottom: 1px solid var(--line);
  margin: 4px 0 26px;
}
.tab3 {
  padding: 12px 24px; border-radius: 10px; border: 0; background: transparent;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--ink-3); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.tab3:hover { background: #F3F6FB; color: var(--ink); }
.tab3.on {
  color: #fff;
  background: linear-gradient(135deg, var(--dop-violet), var(--dop-sky));
  box-shadow: 0 10px 22px rgba(122,107,255,.30);
}
.tab3.on::after { content: none; }

@media (max-width: 700px) {
  .tabs3 { display: flex; width: 100%; overflow-x: auto; }
  .tab3 { flex: 0 0 auto; padding: 10px 16px; font-size: 14px; }
}

/* v23：进一步压缩相邻区块空白 */
#showcase { padding-bottom: 34px; }
#business { padding-top: 40px; }
#business .section-head { margin-bottom: 24px; }
.dual-cards { margin-top: 14px; }

/* ================= v24：产品图标（Lucide） ================= */
.pitem { grid-template-columns: 30px 40px minmax(0,1fr) 16px; gap: 12px; padding: 11px 4px; }
.pi-ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(10,20,33,.04);
  transition: transform .2s, background-color .2s;
}
.pi-ico svg { width: 19px; height: 19px; stroke-width: 1.8; }
.pitem:hover .pi-ico { transform: scale(1.06); }
.pi-ico.c0 { background: rgba(255,107,90,.13); color: #E2503F; }
.pi-ico.c1 { background: rgba(18,179,168,.13); color: #0E8C86; }
.pi-ico.c2 { background: rgba(122,107,255,.13); color: #5B4BE0; }
.pi-ico.c3 { background: rgba(255,176,32,.16); color: #C77C00; }
.pi-ico.c4 { background: rgba(56,189,248,.14); color: #0B84C4; }

@media (max-width: 1024px) {
  .pitem { grid-template-columns: 26px 38px minmax(0,1fr) 16px; }
}

/* v25：产品图标再放大一档，颜色更实 */
.pitem { grid-template-columns: 28px 42px minmax(0,1fr) 16px; gap: 12px; padding: 12px 4px; }
.pi-ico { width: 40px; height: 40px; border-radius: 12px; }
.pi-ico svg { width: 21px; height: 21px; stroke-width: 1.9; }
.pi-ico.c0 { background: rgba(255,107,90,.14); color: #D9452F; }
.pi-ico.c1 { background: rgba(18,179,168,.14); color: #0A7C76; }
.pi-ico.c2 { background: rgba(122,107,255,.14); color: #4B3BD6; }
.pi-ico.c3 { background: rgba(255,176,32,.18); color: #B36B00; }
.pi-ico.c4 { background: rgba(56,189,248,.16); color: #0A72AE; }

/* v26：图标再放大，保证 1x 屏可辨认 */
.pitem { grid-template-columns: 26px 46px minmax(0,1fr) 16px; gap: 12px; padding: 12px 4px; }
.pi-ico { width: 44px; height: 44px; border-radius: 13px; }
.pi-ico svg { width: 24px; height: 24px; stroke-width: 2; }

/* v27：图标 26px / 描边 2.2，1x 屏更清楚 */
.pitem { grid-template-columns: 26px 46px minmax(0,1fr) 16px; }
.pi-ico { width: 44px; height: 44px; }
.pi-ico svg { width: 26px; height: 26px; stroke-width: 2.2; }

/* ================= v29：首屏能力矩阵 ================= */
.hero-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cap-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 16px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 22px rgba(10,20,33,.05);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.cap-card:hover { transform: translateY(-2px); border-color: var(--dop-violet); box-shadow: 0 14px 28px rgba(10,20,33,.09); }
.cap-ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 2px;
}
.cap-ico svg { width: 18px; height: 18px; stroke-width: 2; }
.cap-ico.c0 { background: rgba(255,107,90,.13); color: #D9452F; }
.cap-ico.c1 { background: rgba(18,179,168,.13); color: #0A7C76; }
.cap-ico.c2 { background: rgba(122,107,255,.13); color: #4B3BD6; }
.cap-ico.c3 { background: rgba(255,176,32,.17); color: #B36B00; }
.cap-ico.c4 { background: rgba(56,189,248,.15); color: #0A72AE; }
.cap-card strong { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.cap-desc { font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }

@media (max-width: 900px) {
  .hero-caps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cap-card { padding: 14px; }
  .cap-desc { display: none; }
}

/* v30：能力图标再清晰一档 */
.cap-ico { width: 36px; height: 36px; border-radius: 11px; }
.cap-ico svg { width: 20px; height: 20px; stroke-width: 2.1; }

/* v31：首屏单栏 · 垂直居中 */
.hero-center {
  min-height: clamp(400px, 48vh, 540px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
}
.hero-center .kicker { margin-bottom: 20px; }
.hero-center h1 { margin: 0 0 18px; max-width: 900px; }
.hero-center .lead { max-width: 720px; margin: 0 auto; }
.hero-center .hero-actions { margin-top: 30px; justify-content: center; display: flex; gap: 18px; align-items: center; }
.hero-center .hero-contact { justify-content: center; margin-top: 26px; }

@media (max-width: 700px) {
  .hero-center { min-height: 360px; }
  .hero-center h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-center .hero-actions { flex-direction: column; gap: 12px; }
  .hero-center .hero-contact { gap: 8px 14px; }
}
