/* 上海文倍测控科技有限公司 · 官方网站样式
   墨色 / 海军蓝 / 炭灰 · 大标题 · 大留白 · 几何深色主视觉 */

:root {
  --ink: #061018;
  --navy: #0a2438;
  --navy-mid: #0e3a5c;
  --accent: #1a5f9e;
  --accent-soft: #e8f0f6;
  --accent-dark: #0e4570;
  --gold: #c98a2e;
  --charcoal: #1a2332;
  --text: #1a2332;
  --text-2: #4a5563;
  --text-3: #6b7280;
  --line: #e2e6ea;
  --bg: #ffffff;
  --band: #f4f6f8;
  --footer: #061018;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;
  --warn-text: #92400e;
  --max: 1140px;
  --nav-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  min-width: 0;
}
.brand:hover { color: var(--accent); }

.brand-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: var(--charcoal);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  color: var(--text-2);
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav a:hover { color: var(--ink); }
.nav a.active {
  color: var(--ink);
  font-weight: 650;
  position: relative;
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-mid); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 7px 11px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 108px 0 120px;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero .container,
.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 760px;
}

.hero .lead {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-hero-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* —— Page banner —— */
.page-banner {
  background: linear-gradient(135deg, #061018 0%, #0a2438 55%, #0e3a5c 100%);
  color: #fff;
  border-bottom: none;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
  pointer-events: none;
}
.page-banner-en {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}
.page-banner h1 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.page-banner p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
}
.page-banner p strong { color: rgba(255, 255, 255, 0.9); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 12px 24px;
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero .btn-primary {
  background: #fff;
  color: var(--ink);
}
.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
}
.cta-band .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

/* —— Sections —— */
.section { padding: 88px 0; }
.section-band { background: var(--band); }

.section-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .en-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-head .accent-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 18px;
  border: none;
}
.section-head p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.75;
}

/* —— Service cards —— */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 22px 32px;
  text-align: left;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.svc-card:hover {
  border-color: var(--navy-mid);
  box-shadow: 0 8px 28px rgba(6, 16, 24, 0.08);
  color: var(--text);
  transform: translateY(-2px);
}

.svc-icon {
  width: 44px;
  height: 44px;
  margin: 0 0 20px;
  border-radius: 0;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--ink);
}
.svc-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

.section-more {
  text-align: center;
  margin-top: 40px;
}

/* —— CTA band —— */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: 8%;
  top: -30%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(25deg);
  pointer-events: none;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  max-width: 460px;
  line-height: 1.7;
}

/* —— Page TOC —— */
.page-toc {
  background: var(--band);
  border: 1px solid var(--line);
  padding: 24px 28px;
  margin-bottom: 56px;
}
.page-toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.page-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.page-toc-list a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: #fff;
}
.page-toc-list a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* —— Service detail blocks —— */
.service-block {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.service-block:first-of-type { border-top: none; padding-top: 0; }

.service-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.service-aside .svc-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--line);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.service-aside h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-body h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 24px 0 10px;
}
.service-body h3:first-child { margin-top: 0; }
.service-body ul { list-style: none; }
.service-body li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}
.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 1.5px;
  background: var(--accent);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.case-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.note-box {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 16px;
}

.intro-block {
  background: var(--band);
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  margin-bottom: 32px;
}
.intro-block p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  max-width: 720px;
}


/* —— Footer —— */
.site-footer {
  margin-top: auto;
  background: var(--footer);
  color: rgba(255, 255, 255, 0.55);
  padding: 56px 0 28px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 14px;
}
.footer-col h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  margin-bottom: 9px;
  line-height: 1.4;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; gap: 12px; }
  .service-aside .svc-num { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 0 88px; min-height: 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    gap: 0;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav a.active { color: var(--accent); }
  .nav a.active::after { display: none; }
  .nav .nav-cta-mobile {
    display: inline-flex !important;
    margin-top: 12px;
    justify-content: center;
    border: none;
    background: var(--ink);
    color: #fff !important;
    padding: 12px;
  }
  .brand-text { font-size: 13px; max-width: 160px; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .page-banner { padding: 48px 0 56px; }
}

@media (max-width: 480px) {
  .case-teaser-item { grid-template-columns: 1fr; gap: 4px; }
  .hero h1 { font-size: 30px; }
/* —— Brochure upgrade: stats / process / about home —— */
}



.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.stat-item {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 22px 18px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-item span {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.about-home {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.85;
}
.about-home .stat-row { margin-top: 32px; }


@media (max-width: 800px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
}


/* —— Contact vcard (centered, icon rows) —— */
.contact-vcard {
  display: block;
  max-width: 580px;
  margin: 8px auto 0;
  padding: 40px 44px 36px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(6, 16, 24, 0.06);
  border-radius: 2px;
}
.contact-vcard-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.contact-vcard-cn {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 0 0 8px;
}
.contact-vcard-en {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin: 0;
}
.contact-vcard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-vcard-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f4;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.contact-vcard-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-vcard-list li:first-child {
  padding-top: 0;
}
.contact-vcard-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
  background: var(--accent-soft);
  border-radius: 50%;
  margin-top: 0;
}
.contact-vcard-icon svg {
  display: block;
}
.contact-vcard-list a {
  color: var(--text);
  word-break: break-all;
  align-self: center;
}
.contact-vcard-list a:hover {
  color: var(--accent);
}
.contact-vcard-list span:not(.contact-vcard-icon) {
  align-self: center;
}
.contact-wechat-head {
  margin-top: 56px;
}
@media (max-width: 600px) {
  .contact-vcard {
    padding: 28px 22px 24px;
    margin-top: 0;
  }
  .contact-vcard-cn { font-size: 18px; }
  .contact-wechat-head { margin-top: 44px; }
}
.footer-en {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 4px 0 10px;
}


/* —— QR codes —— */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 28px;
  justify-content: center;
  margin: 4px 0 40px;
}
.qr-card {
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 24px 20px;
}
.qr-card img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 16px;
}
.qr-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qr-card strong {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.qr-card span {
  font-size: 13px;
  color: var(--text-3);
}
@media (max-width: 600px) {
  .qr-grid { grid-template-columns: 1fr; justify-content: stretch; }
  .qr-card img { max-width: 200px; }
}

.qr-aka {
  display: inline-block;
  margin: 2px 0 4px;
  padding: 2px 10px;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--accent) !important;
  background: var(--accent-soft);
  letter-spacing: 0.02em;
}


/* —— Official site components (2026-10) —— */
.svc-grid.svc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.svc-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 4px; }
.section-head-left { text-align: left; margin-left: 0; max-width: none; }
.section-head-left .en-label,
.section-head-left h2 { text-align: left; }
.section-head-left .accent-line { margin-left: 0; }
.intro-block p + p { margin-top: 14px; }
.intro-motto { font-family: Georgia, "Times New Roman", serif; font-size: 13px; color: var(--text-3); letter-spacing: 0.02em; }

/* capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.cap-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 22px 22px 20px; }
.cap-num { display: block; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 6px; }
.cap-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; line-height: 1.45; }
.cap-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.prod-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-block; padding: 6px 14px; font-size: 13px; color: var(--navy-mid); background: var(--accent-soft); border: 1px solid #d6e3ee; }

/* process flow */
.process-flow { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: none; margin-top: 8px; }
.process-flow li { position: relative; text-align: center; padding: 18px 8px; border: 1px solid var(--line); background: #fff; margin-left: -1px; }
.process-flow li::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 14px; z-index: 1; background: #fff; line-height: 1; }
.process-flow li:last-child::after { display: none; }
.pf-num { display: block; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 0.06em; }
.pf-name { display: block; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.5; margin-top: 4px; }

/* strength */
.stat-row-strong { margin-top: 0; margin-bottom: 28px; }
.stat-row-strong .stat-item { border-top: 3px solid var(--gold); }
.stat-row-strong .stat-item strong { font-size: 32px; color: var(--navy-mid); }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.strength-card { background: #fff; border: 1px solid var(--line); padding: 22px; }
.strength-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 8px; padding-left: 10px; border-left: 3px solid var(--accent); line-height: 1.3; }
.strength-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.strength-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.strength-panel { background: #fff; border: 1px solid var(--line); padding: 22px; }
.strength-panel-wide { margin-bottom: 16px; }
.strength-panel h3 { font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.strength-panel p { font-size: 14px; color: var(--text-2); }
.tick-list { list-style: none; }
.tick-list li { font-size: 14px; color: var(--text-2); padding: 5px 0 5px 22px; position: relative; border-bottom: 1px dashed var(--line); }
.tick-list li:last-child { border-bottom: none; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.client-chip { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 10px; text-align: center; font-size: 14px; font-weight: 600; color: var(--navy-mid); border: 1px solid var(--line); background: var(--band); }

/* cases */
.section-tight { padding: 48px 0 8px; }
.case-summary { display: grid; grid-template-columns: 1fr 2fr 1.4fr; gap: 16px; }
.case-summary-item { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 20px 22px; background: #fff; }
.case-summary-item strong { font-size: 40px; line-height: 1; color: var(--navy-mid); }
.case-summary-item span { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.case-summary-item small { font-size: 12px; font-weight: 400; color: var(--text-3); }
.case-intro { margin: 22px 0 16px; color: var(--text-2); font-size: 15px; }
.case-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case-toc a { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); color: var(--text); font-size: 14px; background: var(--band); }
.case-toc a span { font-weight: 700; color: var(--gold); font-size: 12px; }
.case-toc a:hover { border-color: var(--accent); color: var(--accent); }
.section-cases { padding-top: 40px; }
.case-detail { border: 1px solid var(--line); background: #fff; margin-bottom: 32px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.case-detail-head { padding: 24px 28px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--accent-soft), #fff 70%); }
.case-no { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.case-detail-head h2 { font-size: 22px; color: var(--ink); margin: 4px 0 10px; line-height: 1.35; }
.case-detail-head .case-tags { margin-bottom: 0; }
.case-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px 28px 28px; align-items: start; }
.case-detail-alt .case-text { order: 2; }
.case-text h3 { font-size: 14px; font-weight: 700; color: var(--accent); margin: 16px 0 6px; letter-spacing: 0.04em; }
.case-text h3:first-child { margin-top: 0; }
.case-text p,
.case-text li { font-size: 14.5px; color: var(--text-2); line-height: 1.8; }
.case-text ul { list-style: none; }
.case-text li { position: relative; padding-left: 16px; margin-bottom: 4px; }
.case-text li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--accent); }
.case-outcome li::before { background: var(--gold); }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.case-gallery-single { grid-template-columns: 1fr; }
.case-gallery-many { grid-template-columns: repeat(2, 1fr); }
.case-fig { margin: 0; border: 1px solid var(--line); background: var(--band); }
.case-fig a { display: flex; align-items: center; justify-content: center; background: #fff; min-height: 140px; }
.case-fig img { display: block; max-width: 100%; height: auto; max-height: 340px; }
.case-fig figcaption { font-size: 12px; color: var(--text-3); padding: 6px 10px; border-top: 1px solid var(--line); line-height: 1.5; }

/* footer extras */
.footer-col p .footer-inline { display: inline; color: inherit; margin: 0; }
.footer-icp { margin-top: 10px; text-align: center; font-size: 12px; line-height: 1.6; }
.footer-icp a { color: rgba(255, 255, 255, 0.36); }
.footer-icp a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-bottom { text-align: center; }

@media (max-width: 900px) {
  .svc-grid.svc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .strength-grid,
.strength-panels { grid-template-columns: 1fr 1fr; }
  .process-flow { grid-template-columns: repeat(4, 1fr); row-gap: 8px; }
  .process-flow li::after { display: none; }
  .case-detail-body { grid-template-columns: 1fr; }
  .case-detail-alt .case-text { order: 0; }
  .case-summary { grid-template-columns: 1fr; }
  .case-toc { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .svc-grid.svc-grid-4,
.strength-grid,
.strength-panels { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr 1fr; }
  .case-toc { grid-template-columns: 1fr; }
  .case-gallery,
.case-gallery-many { grid-template-columns: 1fr; }
  .case-detail-head,
.case-detail-body { padding-left: 18px; padding-right: 18px; }
}

/* —— Homepage / products extras —— */
.stat-band { background: var(--navy); padding: 0; }
.stat-row-band { margin: 0; gap: 0; }
.stat-row-band .stat-item { background: transparent; border: none; border-right: 1px solid rgba(255,255,255,0.1); padding: 28px 12px; }
.stat-row-band .stat-item:last-child { border-right: none; }
.stat-row-band .stat-item strong { color: #fff; font-size: 30px; }
.stat-row-band .stat-item span { color: rgba(255,255,255,0.6); }
.field-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.field-item { border: 1px solid var(--line); padding: 18px 16px; background: #fff; text-align: center; }
.field-item strong { display: block; font-size: 16px; color: var(--ink); }
.field-item span { display: block; font-size: 12px; color: var(--text-3); font-family: Georgia, "Times New Roman", serif; margin-top: 2px; }
.feat-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--text); transition: box-shadow .2s, transform .2s; }
.feat-case:hover { color: var(--text); box-shadow: 0 10px 28px rgba(6,16,24,0.08); transform: translateY(-2px); }
.feat-case-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--band); }
.feat-case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-case-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.feat-case-body .case-tag { align-self: flex-start; }
.feat-case-body strong { font-size: 16px; color: var(--ink); line-height: 1.45; }
.feat-case-body span:last-child { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.prod-entry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.prod-entry { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 0 0 14px; color: var(--text); transition: border-color .2s; }
.prod-entry:hover { border-color: var(--accent); color: var(--text); }
.prod-entry-img { display: flex; align-items: center; justify-content: center; height: 140px; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 10px; padding: 8px; }
.prod-entry-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prod-entry .prod-kicker,
.prod-entry strong { padding: 0 14px; }
.prod-entry strong { font-size: 15px; color: var(--ink); line-height: 1.45; margin-top: 2px; }
.prod-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.prod-tagline { font-size: 14px; color: var(--text-2); margin: 0; }
.jy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jy-col { border: 1px solid var(--line); background: #fff; padding: 20px 22px; }
.jy-col h3 { font-size: 17px; color: #fff; background: var(--navy-mid); margin: -20px -22px 14px; padding: 12px 22px; }
.jy-col h4 { font-size: 14px; color: var(--accent); margin: 12px 0 4px; }
.jy-col ul { list-style: none; }
.jy-col li { font-size: 14px; color: var(--text-2); padding-left: 14px; position: relative; line-height: 1.8; }
.jy-col li::before { content: "·"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.soft-row { margin-top: 18px; text-align: center; font-size: 14px; color: var(--text-2); letter-spacing: 0.02em; }
.jy-figure { text-align: center; }
.jy-figure img { max-width: 100%; height: auto; max-height: 640px; border: 1px solid var(--line); }
.case-rel { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.case-rel span { color: var(--text-3); font-weight: 600; }
.case-rel a { border: 1px solid #d6e3ee; background: var(--accent-soft); padding: 3px 10px; color: var(--accent); }
.case-text ul + h3 { margin-top: 18px; }
@media (max-width: 900px) {
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-case-grid,
.jy-grid { grid-template-columns: 1fr; }
  .stat-row-band .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* —— 最新资讯 —— */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.news-grid[hidden] { display: none; }
.news-grid.has-news { grid-template-columns: repeat(3, 1fr); }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: var(--text); transition: box-shadow .2s, transform .2s; }
.news-card:hover { color: var(--text); box-shadow: 0 10px 28px rgba(6,16,24,0.08); transform: translateY(-2px); }
.news-card-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-soft); }
.news-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 20px; flex: 1; }
.news-card-date { font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; }
.news-card-title { font-size: 16px; color: var(--ink); line-height: 1.5; }
.news-card-summary { font-size: 14px; color: var(--text-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-more { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--accent); font-weight: 600; }
.news-follow { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 auto; }
.news-grid.has-news + .news-follow { margin-top: 36px; }
.news-follow img { width: 104px; height: 104px; flex: 0 0 104px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.news-follow p { font-size: 15px; color: var(--text-2); margin: 0; }
@media (max-width: 900px) { .news-grid.has-news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .news-grid.has-news { grid-template-columns: 1fr; }
  .news-follow { gap: 12px; }
  .news-follow img { width: 96px; height: 96px; flex-basis: 96px; }
  .news-follow p { font-size: 14px; }
}

/* —— 2026-10-07 移动端可读性（仅 ≤768px 生效，桌面不变） —— */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
  }
  .hero-eyebrow,
  .section-head .en-label,
  .page-toc-label,
  .service-body h3,
  .case-tag,
  .svc-kicker,
  .prod-kicker,
  .cap-num,
  .pf-num,
  .case-no,
  .case-fig figcaption,
  .case-summary-item small,
  .case-toc a span,
  .field-item span,
  .news-card-date,
  .footer-col h4,
  .footer-en { font-size: 13px; }
  .qr-aka { font-size: 13px !important; }
  .footer-bottom { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
  .footer-icp { font-size: 13px; }
  .footer-icp a { color: rgba(255, 255, 255, 0.62); }
}

/* —— 资讯详情页（news/<slug>.html，由 publish_article.py 生成） —— */
.ar-wrap { padding: 40px 0 72px; }
.ar { max-width: 760px; margin: 0 auto; }
.ar-crumb { font-size: 13px; color: var(--text-3); margin-bottom: 28px; }
.ar-crumb a { color: var(--text-3); }
.ar-crumb a:hover { color: var(--accent); }
.ar-kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); border: 1px solid var(--accent); padding: 2px 10px; margin-bottom: 16px; }
.ar-title { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 14px; }
.ar-meta { font-size: 14px; color: var(--text-3); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.ar-body { font-size: 17px; line-height: 1.9; color: var(--text); overflow-wrap: break-word; }
.ar-body p { margin: 0 0 1.1em; text-align: justify; }
.ar-body h2 { font-size: 22px; line-height: 1.45; color: var(--ink); margin: 2em 0 0.8em; padding-left: 12px; border-left: 4px solid var(--accent); }
.ar-body h3 { font-size: 18px; line-height: 1.5; color: var(--ink); margin: 1.6em 0 0.6em; }
.ar-body h4 { font-size: 17px; color: var(--ink); margin: 1.4em 0 0.5em; }
.ar-body strong { font-weight: 700; color: var(--ink); }
.ar-body .mvar { font-family: "Times New Roman", Times, serif; font-style: italic; }
.ar-body sub, .ar-body sup { font-size: 75%; line-height: 0; }
.ar-body ul, .ar-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.ar-body li { margin-bottom: 0.45em; }
.ar-body li::marker { color: var(--accent); }
.ar-body blockquote { margin: 1.4em 0; padding: 12px 18px; border-left: 3px solid var(--line); color: var(--text-2); background: var(--band); }
.ar-body blockquote p:last-child { margin-bottom: 0; }
.ar-body .ar-note { margin: 1.6em 0; padding: 12px 16px; background: var(--accent-soft); font-size: 15px; line-height: 1.75; color: var(--text-2); }
.ar-body figure { margin: 1.8em 0; text-align: center; }
.ar-body figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--line); }
.ar-body figcaption { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-3); }
.ar-body .ar-formula { margin: 1.1em 0 1.2em; text-align: center; overflow-x: auto; }
.ar-body .ar-formula img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
.ar-body img.ar-formula-inline { display: inline-block; height: 1.35em; width: auto; vertical-align: middle; margin: 0 0.1em; }
.ar-body .ar-ref { font-size: 14px; line-height: 1.7; color: var(--text-2); text-align: left; margin-bottom: 0.6em; overflow-wrap: anywhere; }
.ar-body a { text-decoration: underline; text-underline-offset: 2px; }
.ar-foot { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 28px; }
@media (max-width: 600px) {
  .ar-wrap { padding: 24px 0 56px; }
  .ar-body { font-size: 16px; line-height: 1.85; }
  .ar-body h2 { font-size: 19px; }
  .ar-body h3 { font-size: 17px; }
  .ar-body p { text-align: left; }
}

/* —— 2026-10-07 业务能力 · 公司业务板块：标题 | 要点 | 右侧配图/面板 —— */
.service-layout.service-layout-media {
  grid-template-columns: 200px minmax(0, 1fr) minmax(300px, 420px);
  grid-template-areas: "aside body media";
  gap: 40px;
  align-items: start;
}
.service-layout-media .service-aside { grid-area: aside; }
.service-layout-media .service-body { grid-area: body; padding-top: 6px; }
.service-layout-media .service-media { grid-area: media; }
.service-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.service-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.service-links + .service-links { margin-top: 10px; }
.service-links-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-right: 2px;
}
.service-links a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  background: #fff;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.service-links a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

.service-media { margin: 0; }
.service-media-img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(6, 16, 24, 0.10), 0 2px 6px rgba(6, 16, 24, 0.06);
}
.service-media-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-media-img:hover img { transform: scale(1.03); }
.service-media figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}
.service-media figcaption a { color: var(--text-3); }
.service-media figcaption a:hover { color: var(--accent); }

.service-panel {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: 0 10px 28px rgba(6, 16, 24, 0.16);
}
.service-panel-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.service-panel h3 { font-size: 20px; font-weight: 700; margin: 4px 0 16px; color: #fff; }
.service-panel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.service-panel-chip {
  font-size: 13px;
  line-height: 1.5;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
.service-panel-actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.service-panel-more { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.service-panel-more:hover { color: #fff; }

@media (max-width: 1024px) {
  .service-layout.service-layout-media { grid-template-columns: 170px minmax(0, 1fr) minmax(260px, 360px); gap: 28px; }
}
@media (max-width: 900px) {
  .service-layout.service-layout-media {
    grid-template-columns: 1fr;
    grid-template-areas: "aside" "media" "body";
    gap: 16px;
  }
  .service-layout-media .service-body { padding-top: 0; }
  .service-media { max-width: 560px; }
  .service-panel { aspect-ratio: auto; padding: 24px 22px; }
}
@media (max-width: 768px) {
  .service-links-label { font-size: 13px; }
  .service-links a { font-size: 14px; padding: 6px 12px; }
  .service-media figcaption { font-size: 13px; }
}
