/* ============ COTIN OPTICS — 柯霆光电 ============ */
:root {
  --ink: #0e1b2c;
  --ink-2: #33475e;
  --muted: #6b7c91;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-deep: #0e3057;
  --accent: #1c66b0;
  --accent-2: #6aa9e6;
  --accent-soft: #e8f1fd;
  --gold: #c9a24b;
  --radius: 14px;
  --maxw: 1180px;
  --shadow: 0 10px 40px rgba(14, 27, 44, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #1c66b0 0%, #6aa9e6 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .5px;
}
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: 1px; }
.brand-sub { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 2.5px; }
.brand-logo { height: 48px; width: auto; display: block; }
.brand-divider { width: 1px; height: 34px; background: #c9d6e6; flex: none; }
.brand-slogan { font-size: 16.5px; font-weight: 700; color: #123a75; letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 1100px) { .brand-slogan, .brand-divider { display: none; } }
.footer-logo { height: 40px; width: auto; display: block; }
.footer-slogan { font-size: 13.5px; color: #66788f; letter-spacing: 1px; line-height: 1.7; }
.footer-slogan b { color: #0f2e5f; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { font-size: 15px; color: var(--ink-2); font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  padding: 9px 22px !important; border-radius: 999px; color: #fff !important;
  background: linear-gradient(135deg, var(--accent), #6aa9e6);
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: .9; }
.nav-cta::after { display: none !important; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero（浅色 · 参考新版框架） ---------- */
.hero {
  position: relative; color: var(--ink); overflow: hidden;
  background:
    linear-gradient(rgba(28, 102, 176, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 102, 176, .035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #edf4fc 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; padding: 64px 0 72px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: 2px; font-weight: 700; color: var(--accent);
  padding: 7px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
}
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(28, 102, 176, .12); }
.hero h1 { font-size: clamp(38px, 4.6vw, 54px); font-weight: 900; line-height: 1.22; letter-spacing: .01em; margin-top: 22px; }
.grad-text { background: linear-gradient(92deg, #1c66b0 10%, #2fb1d8 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 20px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); max-width: 560px; }
.hero-lead b { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-hero-primary { background: linear-gradient(135deg, #2b7cd3, #17457c); color: #fff; box-shadow: 0 12px 28px -10px rgba(23, 69, 124, .55); }
.btn-hero-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(14, 27, 44, .06); }
.btn-hero-ghost:hover { border-color: rgba(28, 102, 176, .45); }
.btn-badge {
  min-width: 34px; height: 22px; padding: 0 9px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #2b7cd3, #1c66b0);
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 44px; list-style: none; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 29px; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
.hero-stats b span { font-size: 15px; font-weight: 700; color: var(--accent); margin-left: 2px; }
.hero-stats em { font-style: normal; font-size: 12.5px; color: var(--muted); letter-spacing: .05em; }

/* Hero 视觉区：三卡扇形堆叠，悬停滚轮轮播，转至顶部弹出参数标签 */
.hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-fan { position: relative; width: min(580px, 100%); height: 500px; }
.fan-card {
  position: absolute; top: 50%; left: 0; width: 330px; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px -32px rgba(14, 48, 87, .40);
  transform-origin: 88% 86%;
  transition: transform .65s cubic-bezier(.22, .9, .32, 1.08), filter .65s ease, box-shadow .65s ease;
}
.fan-card .fan-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #eef4fb; }
.fan-card .fan-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-card figcaption { padding: 12px 18px 15px; min-width: 0; }
.fan-card figcaption b { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #123a75; }
.fan-card figcaption b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.fan-card figcaption span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.fan-card.pos-0 { z-index: 3; transform: translateY(-50%) translateX(0) rotate(0deg); }
.fan-card.pos-1 { z-index: 2; transform: translateY(-46.5%) translateX(122px) rotate(6.5deg); filter: brightness(.97) saturate(.94); }
.fan-card.pos-2 { z-index: 1; transform: translateY(-43%) translateX(242px) rotate(13deg); filter: brightness(.93) saturate(.88); }
.hero-fan-tip { margin-top: 26px; font-size: 12px; letter-spacing: .12em; color: #93a4bb; }
/* 参数弹出标签（小型白卡，置于卡片上下空隙，不遮挡图片） */
.hero-pop {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #eef3fa; border-radius: 11px;
  padding: 6px 13px 6px 7px;
  box-shadow: 0 12px 30px -14px rgba(14, 48, 87, .32);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .4s ease .3s, transform .45s cubic-bezier(.2, 1.4, .4, 1) .3s;
}
.hero-fan.popped .hero-pop { opacity: 1; transform: translateY(0) scale(1); }
.hp-dot { position: relative; width: 24px; height: 24px; border-radius: 8px; background: #dcebfb; flex: none; }
.hp-dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: #1c66b0; }
.hero-pop b { display: block; font-size: 10.5px; font-weight: 500; color: #8496ad; line-height: 1.45; }
.hero-pop em { font-style: normal; font-size: 13px; font-weight: 800; color: #123a75; letter-spacing: -.01em; white-space: nowrap; }
.hero-pop.hp-1 { left: -16px; top: 7%; }
.hero-pop.hp-2 { left: 250px; top: 61%; transition-delay: .42s, .42s; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn-primary { background: linear-gradient(135deg, #6aa9e6, #1c66b0); color: #fff; box-shadow: 0 8px 26px rgba(46, 116, 184, .35); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.sec-tag {
  font-size: 12.5px; letter-spacing: 3px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px;
}
.sec-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.35; }
.sec-title em { font-style: normal; color: var(--accent); }
.sec-sub { margin-top: 16px; color: var(--muted); max-width: 720px; }
.sec-heading { margin-top: 22px; font-size: 20px; font-weight: 700; color: var(--ink); }

/* ---------- Stats（旧蓝色条已移除，样式保留占位避免引用报错） ---------- */

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: 0 2px 12px rgba(14,27,44,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0f5; }
.card .cap-num { font-size: 12px; letter-spacing: 2.5px; color: var(--accent-2); font-weight: 700; margin-bottom: 12px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.card h4.en { font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: 1px; margin-bottom: 16px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card .more { display: inline-block; margin-top: 18px; color: var(--accent); font-weight: 600; font-size: 14px; }
.card .more:hover { text-decoration: underline; }

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

/* ---------- 产品详情抽屉 ---------- */
.prod-card.clickable { cursor: pointer; }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(10, 22, 38, .5);
  opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 200;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.spec-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(560px, 94vw);
  background: #fff; z-index: 201; display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .38s cubic-bezier(.22, .8, .3, 1);
  box-shadow: -24px 0 60px rgba(14, 27, 44, .25);
}
.spec-drawer.open { transform: none; }
.spec-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 32px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.d-kicker { font-size: 12px; letter-spacing: 3px; color: var(--accent); font-weight: 700; }
.d-close {
  background: none; border: 1px solid var(--line); width: 40px; height: 40px;
  border-radius: 50%; font-size: 17px; cursor: pointer; color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.d-close:hover { border-color: var(--accent); color: var(--accent); }
.spec-drawer-body { overflow-y: auto; padding: 32px; }
.spec-drawer-body h2 { font-size: 26px; font-weight: 800; line-height: 1.3; }
.spec-drawer-body .d-en { font-size: 12px; letter-spacing: 2.5px; color: var(--muted); margin: 8px 0 16px; }
.spec-drawer-body .d-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.d-img {
  width: 100%; border-radius: 12px; margin: 22px 0 26px;
  aspect-ratio: 4 / 3; object-fit: cover; background: #f0f4f9; display: block;
}
.d-specs-label { font-size: 12px; letter-spacing: 2.5px; color: var(--muted); margin-bottom: 4px; }
.d-stock {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px;
  background: #eefbf6; border: 1px solid #c6f0e0; border-radius: 10px; padding: 14px 16px;
}
.d-stock-tag {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 800; color: #047857;
  background: #d1fae5; border-radius: 6px; padding: 2px 8px; letter-spacing: .5px;
}
.d-stock-text { font-size: 13px; color: #1f5f4a; line-height: 1.7; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { color: var(--ink); font-weight: 600; }
.d-spec { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.d-spec img { width: 100%; display: block; padding: 10px; box-sizing: border-box; }
.d-spec figcaption { padding: 12px 16px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }
.d-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 6px; }
.d-docs .d-doc { margin-top: 0; justify-content: center; font-size: 12.5px; padding: 9px 10px; white-space: nowrap; }
@media (max-width: 600px) { .d-docs { grid-template-columns: 1fr; } }
.d-doc {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--accent); background: #eef6fd; border: 1px solid #cfe4f5;
  transition: background .15s ease, transform .15s ease;
}
.d-doc:hover { background: #dcedfa; transform: translateY(-1px); }
.d-note {
  font-size: 12.5px; color: var(--muted); line-height: 1.85;
  margin: 24px 0 18px; border-top: 1px dashed var(--line); padding-top: 16px;
}
.d-cta { width: 100%; justify-content: center; font-size: 15.5px; padding: 15px 24px; }
@media (max-width: 600px) {
  .spec-drawer-body { padding: 24px 20px; }
  .spec-drawer-head { padding: 18px 20px; }
}
.chip {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 600;
}

/* ---------- Product cards ---------- */
.prod-card { display: flex; flex-direction: column; }

/* ---------- 定制服务 CTA 卡（参考 32777 版式） ---------- */
.prod-card.prod-cta {
  padding: 0; background: linear-gradient(150deg, #0f2e5f, #1b4c8f 55%, #117f9e);
  border-color: transparent; box-shadow: 0 24px 50px -28px rgba(15, 46, 95, .7);
}
.prod-card.prod-cta:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -28px rgba(15, 46, 95, .8); }
.prod-cta-inner { padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; height: 100%; justify-content: center; }
.prod-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .1em;
  color: #bfe9f2; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .16);
}
.prod-cta-inner h3 { color: #fff; font-size: 20px; margin: 0; }
.prod-cta-inner p { color: #c3d7ee; font-size: 13.8px; line-height: 1.75; margin: 0; }
.prod-cta-btn {
  margin-top: 10px; align-self: flex-start; background: #fff; color: #123a75; font-weight: 700;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6);
}
.prod-cta-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prod-visual {
  height: 190px; border-radius: 10px; margin-bottom: 22px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: #f0f4f9;
}
.prod-visual img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.prod-visual .pv-label { font-size: 11px; letter-spacing: 2.5px; opacity: .85; }
.pv-1 { background: linear-gradient(135deg, #1c66b0, #6ee7f5); }
.pv-2 { background: linear-gradient(135deg, #123a5c, #2dd4bf); }
.pv-3 { background: linear-gradient(135deg, #312e81, #38bdf8); }
.pv-4 { background: linear-gradient(135deg, #0f766e, #a7f3d0); }
.pv-5 { background: linear-gradient(135deg, #7c3aed, #22d3ee); }
.pv-6 { background: linear-gradient(135deg, #be185d, #fbbf24); }
.prod-visual::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(105deg, rgba(255,255,255,.14) 0 2px, transparent 2px 14px);
}
.prod-meta { list-style: none; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.prod-meta li { font-size: 13px; color: var(--muted); padding: 3px 0; }
.prod-meta li b { color: var(--ink); font-weight: 600; }

/* ---------- Applications ---------- */
.app-card { position: relative; overflow: hidden; padding: 30px 26px; }
.app-card .a-num { font-size: 12px; letter-spacing: 2px; color: var(--accent-2); font-weight: 700; }
.app-card h3 { font-size: 18px; margin: 8px 0 2px; }
.app-card h4 { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 1.5px; margin-bottom: 12px; }
.app-card p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 应用领域 · 场景图卡 ---------- */
.apply-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.apply-item {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 252px; padding: 24px 22px 20px;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(14, 48, 87, .5);
  transition: transform .4s cubic-bezier(.22,.8,.3,1), box-shadow .4s, border-color .4s;
}
.apply-bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .9s cubic-bezier(.22,.8,.3,1);
}
.apply-item::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 30%,
    rgba(255,255,255,.45) 52%, rgba(255,255,255,.88) 74%, #fff 90%);
}
.apply-ico {
  position: absolute; top: 16px; left: 16px; z-index: 2; width: 42px; height: 42px;
  border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 14px 26px -18px rgba(14, 48, 87, .75);
  transition: background .35s, transform .45s cubic-bezier(.22,.8,.3,1);
}
.apply-ico svg {
  width: 21px; height: 21px; fill: none; stroke: var(--bg-deep);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.apply-text { position: relative; z-index: 2; }
.apply-text b { display: block; font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; }
.apply-text em { font-style: normal; display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: #5d7089; }
.apply-item:hover { transform: translateY(-6px); border-color: rgba(28, 102, 176, .45); box-shadow: 0 26px 46px -28px rgba(14, 48, 87, .6); }
.apply-item:hover .apply-bg { transform: scale(1.06); }
.apply-item:hover .apply-ico { background: rgba(255,255,255,.95); transform: translateY(-2px); }
@media (max-width: 1024px) { .apply-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .apply-grid { grid-template-columns: 1fr; } .apply-item { min-height: 210px; } }

/* ---------- Spectrum / performance ---------- */
.spec-band {
  display: flex; height: 64px; border-radius: 10px; overflow: hidden; margin: 34px 0 10px;
  border: 1px solid var(--line);
}
.spec-band div { flex: 1; }
.spec-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.spec-fig { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; padding: 10px; }
.spec-fig figcaption { padding: 16px 20px 18px; border-top: 1px solid var(--line); }
.spec-fig figcaption b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 5px; }
.spec-fig figcaption span { font-size: 12.5px; color: var(--muted); }
.spec-note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.spec-card { text-align: center; padding: 30px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-card b { display: block; font-size: 32px; color: var(--accent); font-weight: 800; }
.spec-card span { font-size: 13.5px; color: var(--muted); }

/* ---------- News ---------- */
.news-card .n-cat {
  display: inline-block; font-size: 12px; color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 4px 12px; font-weight: 600; margin-bottom: 14px;
}
.news-card .n-date { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 15px; font-weight: 800; color: var(--accent-2);
}
.step h3 { font-size: 18px; margin: 8px 0 10px; }
.step p { font-size: 13.5px; color: var(--ink-2); }
.step .badge {
  display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 4px 10px;
}

/* ---------- Facility table ---------- */
.fac-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(14,27,44,.05); }
.fac-table th, .fac-table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.fac-table th { background: #0e2240; color: #fff; font-weight: 600; letter-spacing: 1px; }
.fac-table td:first-child { font-weight: 700; color: var(--accent); white-space: nowrap; }
.fac-table td { color: var(--ink-2); }
.fac-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(180deg, #f6fafe, #eaf3fb);
  color: var(--ink); text-align: center; padding: 78px 24px;
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.cta-band h2 em { font-style: normal; color: var(--accent); }
.cta-band p { margin: 18px auto 34px; max-width: 640px; color: var(--muted); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn { min-width: 172px; justify-content: center; }

/* ---------- Footer（浅色 · 对齐参考版式） ---------- */
.site-footer { background: #f4f8fd; border-top: 1px solid var(--line); color: #5d708a; padding: 64px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.35fr; gap: 40px; }
.site-footer h5 { color: #0f2e5f; font-size: 13px; margin-bottom: 16px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; line-height: 1.8; }
.site-footer a { color: #5d708a; }
.site-footer a:hover { color: var(--accent); }
.site-footer .ft-nowrap { white-space: nowrap; }
.site-footer li.ft-mgr { display: flex; align-items: center; gap: 14px; }
.site-footer .ft-mgr-info { flex: 1; min-width: 0; }
.site-footer .ft-qr-link { flex: none; display: block; line-height: 0; }
.site-footer .ft-qr { width: 76px; height: 76px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: block; transition: transform .18s ease, box-shadow .18s ease; }
.site-footer .ft-qr-link:hover .ft-qr { transform: scale(1.06); box-shadow: 0 4px 14px rgba(15,46,95,.14); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: #8296ae; }
.footer-beian { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; color: #8296ae; }
.footer-beian a { color: #8296ae; text-decoration: none; transition: color .18s ease; }
.footer-beian a:hover { color: var(--accent); }
.footer-beian a.beian-gongan { display: inline-flex; align-items: center; gap: 4px; }
.footer-beian a.beian-gongan img { width: 14px; height: 16px; object-fit: contain; }
.beian-sep { color: #c3ceda; }

/* ---------- Page banner (sub pages) ---------- */
.page-banner {
  background:
    linear-gradient(rgba(28, 102, 176, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 102, 176, .03) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff, #edf4fc);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  color: var(--ink); padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-banner .kicker { font-size: 12.5px; letter-spacing: 3px; color: var(--accent); font-weight: 700; }
.page-banner h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; margin-top: 14px; }
.page-banner h1 em { font-style: normal; color: var(--accent); }
.page-banner p { margin-top: 18px; color: var(--muted); max-width: 680px; }

/* ---------- 联系我们弹窗 ---------- */
.btn-outline { border: 1.5px solid var(--line); color: var(--ink-2); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.contact-overlay {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 19, 36, .6); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; padding: 24px;
}
.contact-overlay.open { opacity: 1; pointer-events: auto; }
.contact-modal {
  position: relative; width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 40px 38px 34px;
  box-shadow: 0 30px 80px rgba(8, 19, 36, .35);
  transform: translateY(16px) scale(.98); transition: transform .28s cubic-bezier(.22, .8, .3, 1);
}
.contact-overlay.open .contact-modal { transform: none; }
.contact-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff;
  cursor: pointer; color: var(--ink-2); font-size: 15px;
}
.contact-close:hover { border-color: var(--accent); color: var(--accent); }
.c-kicker { font-size: 12px; letter-spacing: 3px; color: var(--accent); font-weight: 700; }
.contact-head h2 { font-size: 24px; font-weight: 800; line-height: 1.42; margin: 12px 0 14px; }
.contact-head p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.contact-list { margin: 26px 0 28px; border-top: 1px solid var(--line); }
.contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 2px; border-bottom: 1px solid var(--line);
}
.c-label { flex: 0 0 auto; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.c-val { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-all; }
/* 傅经理 / 陈经理 并列卡片 */
.contact-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 18px; }
.contact-duo .contact-row {
  flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
}
.contact-duo .contact-row .c-copy { display: none; }
.contact-duo .c-val { font-size: 13.8px; }
@media (max-width: 460px) { .contact-duo { grid-template-columns: 1fr; } }
.c-link:hover { color: var(--accent); }
.c-copy {
  flex: 0 0 auto; font-size: 12px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer;
  transition: all .2s;
}
.c-copy:hover { border-color: var(--accent); color: var(--accent); }
.c-copy.copied { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 服务承诺 / 新媒体二维码（联系弹窗） */
.c-promise {
  display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 26px;
}
.c-promise span {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  color: var(--accent); background: rgba(28, 102, 176, .07);
  border: 1px solid rgba(28, 102, 176, .16);
}
.c-qr { margin: 0 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.c-qr-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.c-qr-title span { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 5px; }
.c-qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.c-qr-item { margin: 0; text-align: center; }
.c-qr-box {
  display: block; padding: 6px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .2s, transform .2s;
}
.c-qr-item:hover .c-qr-box { border-color: var(--accent); transform: translateY(-2px); }
.c-qr-box img { display: block; width: 100%; height: auto; border-radius: 4px; }
.c-qr-item figcaption { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 480px) {
  .c-qr-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-actions .btn { flex: 1; justify-content: center; min-width: 150px; }
.contact-fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), #6aa9e6);
  box-shadow: 0 10px 26px rgba(11, 94, 215, .38);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(11, 94, 215, .45); }
@media (max-width: 600px) {
  .contact-modal { padding: 32px 22px 26px; border-radius: 14px; }
  .contact-head h2 { font-size: 21px; }
}

/* ---------- 产品筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all .2s ease; font-family: inherit;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), #6aa9e6);
  border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(11, 94, 215, .28);
}
.filter-btn span { opacity: .65; font-size: 12px; margin-left: 3px; }

/* ---------- 询价按钮 ---------- */
.prod-visual .inq-add {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  font-size: 12px; padding: 5px 12px; border-radius: 999px; border: none;
  background: rgba(255, 255, 255, .94); color: var(--accent); font-weight: 700;
  cursor: pointer; box-shadow: 0 2px 10px rgba(14, 27, 44, .18);
  transition: all .2s ease; font-family: inherit;
}
.prod-visual .inq-add:hover { background: #fff; transform: translateY(-1px); }
.prod-visual .inq-add.on { background: var(--accent); color: #fff; }
.prod-visual .stock-tag {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: 11.5px; font-weight: 800; color: #047857; letter-spacing: .5px;
  background: #d1fae5; border: 1px solid #a7f3d0; border-radius: 999px; padding: 3px 10px;
}

/* ---------- 浮动询价栏 ---------- */
.inq-bar {
  position: fixed; left: 50%; bottom: 24px; z-index: 180;
  transform: translate(-50%, 140%); transition: transform .32s cubic-bezier(.22, .8, .3, 1);
  display: flex; align-items: center; gap: 14px;
  background: #0e2240; color: #fff; padding: 10px 14px 10px 24px;
  border-radius: 999px; box-shadow: 0 18px 44px rgba(8, 19, 36, .38);
  font-size: 14px; white-space: nowrap;
}
.inq-bar.show { transform: translate(-50%, 0); }
.inq-bar b { color: #8fc3f2; font-size: 16px; }
.inq-bar .primary {
  background: linear-gradient(135deg, #6aa9e6, #1c66b0); color: #fff; border: none;
  padding: 9px 22px; border-radius: 999px; font-weight: 700; font-size: 13.5px;
  cursor: pointer; font-family: inherit;
}
.inq-bar .primary:hover { opacity: .92; }
.inq-bar .clear { background: none; border: none; color: #93a5ba; cursor: pointer; font-size: 13px; font-family: inherit; }
.inq-bar .clear:hover { color: #fff; }

/* ---------- 询价单弹窗 ---------- */
.inq-text {
  width: 100%; min-height: 210px; margin-top: 18px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft);
  font-family: inherit; font-size: 13px; line-height: 1.8; color: var(--ink-2); resize: vertical;
}
.inq-text:focus { outline: none; border-color: var(--accent); background: #fff; }
.inq-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.inq-actions .btn { flex: 1; justify-content: center; min-width: 150px; }
@media (max-width: 600px) {
  .inq-bar { left: 16px; right: 16px; transform: translate(0, 140%); padding: 10px 12px 10px 18px; font-size: 13px; gap: 10px; }
  .inq-bar.show { transform: none; }
}

/* ---------- 在线询价表单 ---------- */
.if-modal { width: min(640px, 100%); }
.if-head h2 { font-size: 25px; font-weight: 800; line-height: 1.4; margin: 12px 0 10px; letter-spacing: -.3px; }
.if-head p { font-size: 13.5px; color: var(--muted); }
.if-head p i, .if-field label i { font-style: normal; color: #e5484d; }

.if-chips-wrap { margin: 24px 0 4px; }
.if-chips-label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 9px; }
.if-hint { font-weight: 500; color: var(--muted); }
.if-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.if-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px 5px 12px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid #d3e3fa;
  font-size: 12.5px; font-weight: 600; color: var(--accent);
}
.if-chip-x {
  width: 18px; height: 18px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(11, 94, 215, .12); color: var(--accent);
  font-size: 13px; line-height: 1; display: flex; align-items: center; justify-content: center;
  padding: 0; font-family: inherit;
}
.if-chip-x:hover { background: var(--accent); color: #fff; }
.if-chip-empty { font-size: 12.5px; color: var(--muted); padding: 5px 12px; border: 1px dashed var(--line); border-radius: 999px; }

.if-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin-top: 20px; }
.if-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.if-field.full { grid-column: 1 / -1; }
.if-field label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.if-field input, .if-field select, .if-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.if-field textarea { resize: vertical; min-height: 92px; line-height: 1.7; }
.if-field input::placeholder, .if-field textarea::placeholder { color: #a8b6c6; }
.if-field input:focus, .if-field select:focus, .if-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 94, 215, .1);
}
.if-field .bad { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .1); }

.if-alert {
  display: none; margin-top: 14px; padding: 10px 14px; border-radius: 9px;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 13px;
}
.if-alert.show { display: block; }

.if-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.if-submit { flex: 0 0 auto; min-width: 168px; justify-content: center; }
.if-submit[disabled] { opacity: .75; cursor: default; }
.if-privacy { font-size: 12px; color: var(--muted); flex: 1; min-width: 180px; }
.if-spin {
  display: inline-block; width: 13px; height: 13px; margin-right: 8px; vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%;
  animation: ifspin .7s linear infinite;
}
@keyframes ifspin { to { transform: rotate(360deg); } }

/* 提交结果 */
.if-result { text-align: center; padding: 8px 0 4px; }
.if-result-icon {
  width: 56px; height: 56px; margin: 6px auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: #b45309; background: #fef3c7;
}
.if-result-icon.ok { color: #fff; background: linear-gradient(135deg, #1c66b0, #6aa9e6); }
.if-result h2 { font-size: 23px; font-weight: 800; }
.if-result > p { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.8; }
.if-no {
  display: inline-block; margin-top: 16px; padding: 6px 16px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.if-no b { color: var(--ink); letter-spacing: .5px; margin-left: 6px; }
.if-summary {
  margin: 22px 0 6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left;
}
.if-summary > div { display: flex; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.if-summary > div:last-child { border-bottom: none; }
.if-summary span { flex: 0 0 56px; color: var(--muted); }
.if-summary b { color: var(--ink); font-weight: 600; }
.if-result-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.if-result-actions .btn { flex: 1; justify-content: center; min-width: 150px; }
.if-again {
  margin-top: 18px; background: none; border: none; cursor: pointer;
  font-size: 12.5px; color: var(--muted); font-family: inherit; text-decoration: underline;
  text-underline-offset: 3px;
}
.if-again:hover { color: var(--accent); }

@media (max-width: 600px) {
  .if-grid { grid-template-columns: 1fr; }
  .if-head h2 { font-size: 21px; }
  .if-submit { width: 100%; }
  .if-privacy { min-width: 0; }
}

/* 联系弹窗内的「在线询价」入口 */
.c-inquiry-link {
  display: block; width: 100%; margin-top: 12px; padding: 12px;
  border: 1px dashed #c9dcf7; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent); font-size: 13.5px; font-weight: 700; text-align: center;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.c-inquiry-link:hover { background: #dbeaff; border-color: var(--accent); }

/* ---------- 设备实拍 ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.equip-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; margin: 0;
}
.equip-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(14, 27, 44, .13); }
.equip-card .ph {
  aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.equip-card .ph img { width: 100%; height: 100%; object-fit: contain; }
.equip-card figcaption { padding: 13px 16px 15px; }
.equip-card figcaption b { display: block; font-size: 14px; color: var(--ink); }
.equip-card figcaption span { font-size: 12px; color: var(--muted); }

/* 洁净车间横幅 */
.cleanroom-band {
  position: relative; margin: 22px 0 0; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.cleanroom-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; display: block; }
.cleanroom-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 54px 26px 18px;
  background: linear-gradient(transparent, rgba(8, 19, 36, .74)); color: #fff;
}
.cleanroom-band figcaption b { display: block; font-size: 17px; }
.cleanroom-band figcaption span { font-size: 12.5px; opacity: .85; }

/* 新闻配图 */
.news-photo { margin: 18px 0 4px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.news-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* ---------- 关于我们 ---------- */
.hq-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 14px; }
/* 公司简介右侧：两张实拍图卡并排，避免右栏过长留白 */
.hq-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hq-photo-grid .hq-card { margin-bottom: 14px; }
.hq-photo-grid .hq-card b { font-size: 14px; }
@media (max-width: 640px) { .hq-photo-grid { grid-template-columns: 1fr; } }
.hq-card b { display: block; font-size: 15.5px; color: var(--ink); margin: 8px 0 5px; }
.hq-card .hq-tag { font-size: 11px; letter-spacing: 2.5px; font-weight: 700; color: var(--accent); }
.hq-card .hq-sub { font-size: 13px; color: var(--muted); }
.hq-card.hq-dark { background: linear-gradient(135deg, #0d3054, #123f6b); border: none; }
.hq-card.hq-dark b { color: #fff; }
.hq-card.hq-dark .hq-sub { color: #b9c8da; }
/* 带配图、可点击查看大图的卡片 */
.hq-card-photo { cursor: pointer; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.hq-card-photo:hover, .hq-card-photo:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13, 48, 84, .13); border-color: var(--accent-2); outline: none; }
.hq-card-photo .hq-thumb {
  display: block; margin: 10px 0 2px; border-radius: calc(var(--radius) - 4px); overflow: hidden;
  max-height: 320px; opacity: 1;
}
.hq-card-photo .hq-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hq-zoom { font-style: normal; float: right; font-size: 11.5px; color: var(--accent); opacity: .75; }
.hq-card-photo:hover .hq-zoom { opacity: 1; }
/* 图片查看卡（lightbox） */
.imgbox-overlay { position: fixed; inset: 0; z-index: 260; background: rgba(8, 20, 34, .82); display: flex; align-items: center; justify-content: center; padding: 32px 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.imgbox-overlay.open { opacity: 1; pointer-events: auto; }
.imgbox-card { background: #fff; border-radius: var(--radius); overflow: hidden; max-width: min(920px, 94vw); box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: translateY(14px) scale(.98); transition: transform .28s ease; }
.imgbox-overlay.open .imgbox-card { transform: none; }
.imgbox-card img { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #0e2033; }
.imgbox-card figcaption { padding: 14px 20px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.imgbox-close { flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s; }
.imgbox-close:hover { color: var(--accent); border-color: var(--accent); }
.timeline { margin-top: 48px; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.t-item { position: relative; padding: 0 0 34px 28px; }
.t-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--accent);
}
.t-item.t-next::before { border-color: var(--muted); border-style: dashed; }
.t-date { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
.t-item.t-next .t-date { color: var(--muted); }
.t-body h3 { font-size: 18px; margin: 8px 0 8px; }
.t-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; max-width: 640px; }
/* ---------- 资质荣誉 + 知识产权（对齐参考版式：左奖牌+列表 / 右证书墙） ---------- */
.honor-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 40px; margin-top: 44px; align-items: start; }
.honor-main { min-width: 0; }
.honor-photo {
  position: relative; margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  box-shadow: 0 14px 40px -12px rgba(15, 46, 95, .16);
}
.honor-photo img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: contain; padding: 12px; background: #f7fafd; display: block; }
.honor-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: #0f2e5f;
}
.honor-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.honor-list li {
  display: flex; gap: 14px; align-items: baseline; font-size: 13.8px; color: #4c5e78;
  padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; line-height: 1.7;
}
.honor-list li b { flex: none; font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .04em; min-width: 42px; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.p-logo { background: #fff; border: 1px solid var(--line); border-radius: 10px; height: 86px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; transition: transform .15s ease, box-shadow .15s ease; }
.p-logo:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10, 30, 60, .08); }
.p-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------- 现货规格库（左侧目录索览 + 右侧表格） ---------- */
.stock-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.stock-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.stock-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); align-items: stretch; }
/* 左侧目录索览 */
.stock-side { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); background: linear-gradient(180deg, #fbfdff, #f4f9ff); }
.stock-side-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 20px 18px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #8496ad;
}
.stock-side-head em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent); background: #e7f1ff; border-radius: 999px; padding: 2px 8px; }
.stock-nav { display: flex; flex-direction: column; padding: 4px 12px 14px; gap: 2px; overflow-y: auto; }
.stock-nav .nav-heading { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #9aaabc; padding: 10px 12px 4px; }
.stock-nav .nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 8px 12px; border-radius: 9px; text-align: left;
  font-size: 13px; font-weight: 500; color: #465a76; background: none;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .22s, color .22s, border-color .22s, box-shadow .22s;
}
.stock-nav .nav-link:hover { background: #eaf3fd; color: var(--ink); border-color: #dcebfa; }
.stock-nav .nav-link.active { background: #123a75; color: #fff; font-weight: 600; border-color: transparent; box-shadow: 0 10px 22px -14px rgba(18, 58, 117, .9); }
.stock-nav .badge { flex: none; min-width: 26px; text-align: center; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #8496ad; background: #e9f1fa; }
.stock-nav .nav-link.active .badge { background: rgba(255, 255, 255, .24); color: #fff; }
.stock-side-foot { margin-top: auto; padding: 14px 18px 18px; border-top: 1px solid rgba(15, 46, 95, .07); }
.stock-side-ask { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; transition: color .2s; }
.stock-side-ask:hover { color: #0e2f63; text-decoration: underline; }
/* 右侧主区 */
.stock-main { min-width: 0; display: flex; flex-direction: column; }
.stock-select-wrap { display: none; }
.stock-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.stock-search { position: relative; flex: 0 1 420px; width: auto; min-width: 0; margin-right: auto; }
.stock-search input {
  width: 100%; padding: 10px 38px 10px 38px;
  border: 1px solid var(--line); border-radius: 11px; font-size: 13.5px;
  font-family: inherit; background: #f6f9fd; color: var(--ink);
}
.stock-search input::placeholder { color: #9aa9bc; }
.stock-search input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(28, 102, 176, .1); }
.stock-search::before {
  content: ""; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border: 1.6px solid #9aa9bc; border-radius: 50%;
  box-shadow: 4px 4px 0 -2.2px #9aa9bc;
}
.stock-clear { display: none; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; border: none; background: #e7edf5; color: #64758c; font-size: 14px; line-height: 1; cursor: pointer; place-items: center; }
.stock-search.has-value .stock-clear { display: grid; }
.stock-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 13px 24px; border-bottom: 1px solid var(--line); background: #fbfdff;
}
.stock-meta p { font-size: 13px; color: var(--muted); margin: 0; }
.stock-meta p b { color: var(--ink); font-weight: 600; }
.stock-count { flex: none; font-size: 12px; font-weight: 600; color: var(--accent); background: #eef6ff; border: 1px solid #dbe9f9; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.stock-table-wrap { flex: 1 1 0; min-height: 280px; overflow: auto; overscroll-behavior: contain; }
.stock-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; min-width: 680px; }
.stock-table th {
  position: sticky; top: 0; z-index: 3;
  background: #f4f8fe; color: #536783; text-align: left; padding: 12px 18px;
  font-weight: 600; white-space: nowrap; letter-spacing: .06em; font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.stock-table th:first-child { color: #8496ad; font-weight: 500; }
.stock-table td { padding: 11px 18px; border-bottom: 1px solid #f1f6fc; color: #3c4f6b; white-space: nowrap; }
.stock-table td:first-child { color: #93a4bb; font-size: 12.5px; width: 56px; }
.stock-table td:nth-child(2) { font-weight: 600; color: #123a75; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .01em; }
.stock-table tbody tr:hover td { background: #f8fcff; }
.stock-table mark { background: rgba(106, 169, 230, .35); color: inherit; border-radius: 3px; padding: 0 1px; }
.stock-empty { padding: 56px 24px; text-align: center; }
.stock-empty p { font-weight: 600; color: var(--ink); font-size: 15.5px; margin: 0 0 6px; }
.stock-empty span { font-size: 13px; color: var(--muted); }
.stock-suggest { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.stock-suggest span { font-size: 12.5px; color: #8496ad; width: 100%; margin-bottom: 2px; }
.stock-suggest button { font-size: 13px; font-weight: 600; color: var(--accent); padding: 7px 14px; border-radius: 9px; background: #f2f8ff; border: 1px solid #dbe9f9; cursor: pointer; font-family: inherit; transition: .2s; }
.stock-suggest button:hover { background: #e6f2fd; border-color: var(--accent); }
.stock-more-wrap { text-align: center; padding: 16px 24px; border-top: 1px solid var(--line); }
.stock-foot { padding: 13px 24px; background: #fbfdff; border-top: 1px solid var(--line); font-size: 12.5px; color: #7d8ea6; }
.stock-table tr.group-row td { background: #eef6ff; color: #123a75; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; padding: 9px 18px; border-bottom: 1px solid #dfebfa; }
.stock-table tr.group-row td::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2, #6aa9e6); margin-right: 9px; vertical-align: 1px; }
@media (max-width: 900px) {
  .stock-layout { grid-template-columns: 1fr; }
  .stock-side { display: none; }
  .stock-select-wrap { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
  .stock-select-wrap label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #8496ad; text-transform: uppercase; white-space: nowrap; }
  .stock-select-wrap select { flex: 1; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 13.5px; color: var(--ink); background: #f6f9fd; }
  .stock-toolbar { padding: 14px 18px; }
  .stock-meta { padding: 12px 18px; }
  .stock-foot { padding: 12px 18px; }
  .stock-table-wrap { flex: none; max-height: 68vh; min-height: 0; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .spec-cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .spec-figs { gap: 18px; }
  .honor-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px;
    border-bottom: 1px solid var(--line); gap: 16px; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .spec-cards, .steps { grid-template-columns: 1fr; }
  .spec-figs { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .p-logo { height: 68px; padding: 10px 12px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .equip-card figcaption { padding: 10px 12px 12px; }
  .equip-card figcaption b { font-size: 12.5px; }
  .cleanroom-band { border-radius: 12px; }
  .cleanroom-band img { aspect-ratio: 4 / 3; }
  .cleanroom-band figcaption { padding: 40px 18px 14px; }
  .cleanroom-band figcaption b { font-size: 15px; }
  .hero-bar { padding: 13px 0; }
  .section { padding: 64px 0; }
  .brand-logo { height: 40px; }
  .footer-logo { height: 34px; }
}

/* ---------- 联系我们区块（联系方式 + 二维码 + 区位示意） ---------- */
.contact-sec { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.ci-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px 30px; box-shadow: var(--shadow);
}
.ci-list { list-style: none; }
.ci-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.ci-list li:first-child { padding-top: 0; }
.ci-label { flex: 0 0 76px; font-size: 13px; color: var(--muted); padding-top: 2px; }
.ci-val { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.72; word-break: break-word; }
.ci-val a { color: var(--accent); }
.ci-val a:hover { text-decoration: underline; }
.ci-promise { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.ci-promise span {
  font-size: 12px; padding: 6px 12px; border-radius: 999px; color: var(--accent);
  background: rgba(28, 102, 176, .07); border: 1px solid rgba(28, 102, 176, .16);
}
.ci-qr { padding-top: 22px; border-top: 1px solid var(--line); }
.ci-qr-title { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.ci-qr-title span { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 5px; }
.ci-qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ci-qr-grid figure { margin: 0; text-align: center; }
.ci-qr-box {
  display: block; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; transition: border-color .2s, transform .2s;
}
.ci-qr-grid figure:hover .ci-qr-box { border-color: var(--accent); transform: translateY(-2px); }
.ci-qr-box img { width: 100%; height: auto; border-radius: 4px; }
.ci-qr-grid figcaption { font-size: 11.5px; color: var(--muted); margin-top: 8px; }

.map-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.map-canvas { position: relative; background: #eef7ff; }
.map-canvas svg { display: block; width: 100%; height: auto; }
.map-badge {
  position: absolute; left: 14px; bottom: 12px; font-size: 11px; letter-spacing: .3px;
  padding: 4px 10px; border-radius: 999px; color: #5d7089;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .9);
}
.map-info { padding: 24px 28px 28px; }
.map-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; letter-spacing: 2px; font-weight: 700; color: var(--accent);
}
.map-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.map-info h3 { font-size: 18px; margin: 10px 0 10px; }
.map-info p { font-size: 13.8px; color: var(--ink-2); line-height: 1.8; }
.map-info p b { color: var(--ink); }
.map-info .map-sub { font-size: 13px; color: var(--muted); margin-top: 8px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* 深蓝联系大卡内的地图条（对齐参考版式 map-bar） */
.cc-card .map-bar {
  margin-top: 44px; overflow: hidden; border-radius: 22px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15);
}
.cc-card .map-canvas { position: relative; min-height: 266px; overflow: hidden; background: none; }
.cc-card .map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cc-card .map-badge { background: rgba(255, 255, 255, .85); }
.cc-card .map-info { padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.cc-card .map-info h3 { color: #fff; margin: 0; font-size: 20px; }
.cc-card .map-info p, .cc-card .map-info .map-sub { color: #c3d7ee; margin: 0; }
.cc-card .map-info p b { color: #fff; }
.cc-card .map-eyebrow { color: #7fd0e8; }
.cc-card .map-eyebrow::before { background: #7fe0ee; box-shadow: 0 0 0 3px rgba(127, 224, 238, .2); }
.cc-card .map-actions { margin-top: 10px; }
.cc-card .map-actions .btn-outline { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #eaf3ff; }
.cc-card .map-actions .btn-outline:hover { border-color: #7fe0ee; color: #7fe0ee; }
@media (max-width: 900px) {
  .cc-card .map-bar { grid-template-columns: 1fr; }
  .cc-card .map-canvas { min-height: 210px; }
  .cc-card .map-info { padding: 22px 20px; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .ci-card { padding: 26px 22px 24px; }
}
@media (max-width: 480px) {
  .ci-qr-grid { grid-template-columns: repeat(2, 1fr); }
  .ci-list li { gap: 10px; }
  .ci-label { flex: 0 0 64px; }
}

/* ---------- 三基地分工（紧凑居中标签） ---------- */
.base-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.base-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.base-item:hover { transform: translateY(-3px); border-color: rgba(28, 102, 176, .4); box-shadow: 0 18px 36px -26px rgba(14, 48, 87, .55); }
.base-item .b-idx { display: block; font-size: 10.5px; letter-spacing: 2px; font-weight: 700; color: var(--accent-2); }
.base-item b { display: block; font-size: 14.5px; margin: 5px 0 4px; color: var(--ink); }
.base-item span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
@media (max-width: 760px) { .base-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- 发明专利证书墙（完整展示证书） ---------- */
.cert-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cert-item {
  margin: 0; width: calc((100% - 32px) / 3); cursor: zoom-in; border-radius: 14px;
  overflow: hidden; background: #fff; border: none;
  box-shadow: 0 2px 8px rgba(15, 46, 95, .05);
  transition: transform .4s, box-shadow .4s;
}
.cert-item img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: contain; display: block; background: #fff; }
.cert-item:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -12px rgba(15, 46, 95, .16); }
@media (max-width: 900px) { .honor-grid { grid-template-columns: 1fr; } .cert-wall { gap: 10px; } .cert-item { width: calc((100% - 20px) / 3); } }
@media (max-width: 520px) { .cert-item { width: calc((100% - 10px) / 2); } }

/* ---------- Hero 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 56px; }
  .hero h1 { font-size: clamp(34px, 6.4vw, 44px); }
  .hero-visual { margin-top: 4px; }
  .hero-fan { height: 420px; }
  .fan-card { width: 270px; }
  .fan-card.pos-1 { transform: translateY(-46.5%) translateX(88px) rotate(6.5deg); }
  .fan-card.pos-2 { transform: translateY(-43%) translateX(176px) rotate(13deg); }
  .hero-pop.hp-1 { left: -10px; top: 7%; }
  .hero-pop.hp-2 { left: 180px; top: 61%; }
}
@media (max-width: 520px) {
  .hero-fan { height: 330px; }
  .fan-card { width: 205px; border-radius: 15px; }
  .fan-card figcaption { padding: 8px 12px 10px; }
  .fan-card figcaption b { font-size: 12px; }
  .fan-card.pos-1 { transform: translateY(-46.5%) translateX(60px) rotate(6.5deg); }
  .fan-card.pos-2 { transform: translateY(-43%) translateX(118px) rotate(13deg); }
  .hero-pop { padding: 5px 10px 5px 6px; gap: 6px; border-radius: 9px; }
  .hp-dot { width: 20px; height: 20px; border-radius: 6px; }
  .hp-dot::after { width: 6px; height: 6px; }
  .hero-pop b { font-size: 9px; }
  .hero-pop em { font-size: 10.5px; }
  .hero-pop.hp-1 { left: -8px; top: 7%; }
  .hero-pop.hp-2 { left: 150px; top: 61%; }
  .hero-stats { gap: 12px 28px; }
  .hero-stats b { font-size: 24px; }
}

/* ---------- 合作伙伴：两行滑动跑马灯（悬停暂停） ---------- */
.logo-marquee { margin-top: 44px; display: grid; gap: 14px; overflow: hidden; }
.lm-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lm-track {
  display: flex; gap: 14px; width: max-content;
  animation: lmScroll 42s linear infinite;
}
.lm-row:hover .lm-track { animation-play-state: paused; }
.lm-track.lm-rev { animation-direction: reverse; animation-duration: 48s; }
.lm-track .p-logo { flex: 0 0 auto; width: 168px; height: 92px; }
.lm-track .p-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lm-track .p-logo:hover { transform: translateY(-4px) scale(1.03); border-color: rgba(28, 102, 176, .4); box-shadow: 0 14px 28px -14px rgba(14, 48, 87, .45); }
@keyframes lmScroll { to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 760px) {
  .lm-track { animation-duration: 30s; }
  .lm-track .p-logo { width: 132px; height: 74px; padding: 10px 12px; }
}

/* ---------- 首页联系我们（深蓝大卡 + 留下需求表单 + 合作流程） ---------- */
.contact-sec { background: var(--bg-soft); padding: 84px 0; }
.cc-card {
  background: linear-gradient(140deg, #0d3054, #17457c 70%, #123a75);
  border-radius: 26px; padding: 52px 54px 56px; color: #fff;
  box-shadow: 0 30px 80px -40px rgba(14, 48, 87, .7);
}
.cc-head { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.cc-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 2.5px; font-weight: 700; color: #9cc3ff;
  padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(156, 195, 255, .35);
}
.cc-dot { width: 7px; height: 7px; border-radius: 50%; background: #6aa9e6; box-shadow: 0 0 0 4px rgba(106, 169, 230, .25); }
.cc-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.3; margin-top: 18px; }
.cc-intro { max-width: 460px; }
.cc-intro p { font-size: 14.5px; line-height: 1.9; color: #c3d5ea; }
.cc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cc-pills span { font-size: 12px; padding: 6px 13px; border-radius: 999px; color: #cfe3f8; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }

.cc-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; margin-top: 40px; }
.cc-info { display: grid; gap: 4px; }
.cc-row { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; }
.cc-ico {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: block;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
}
.cc-ico svg { position: absolute; inset: 0; margin: auto; display: block; width: 19px; height: 19px; fill: none; stroke: #7fe0ee; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cc-row b { display: block; font-size: 11px; font-weight: 400; color: #7fb6d8; letter-spacing: .16em; margin-bottom: 5px; }
.cc-row span, .cc-row a { display: block; font-size: 14.5px; font-weight: 500; color: #eaf3ff; line-height: 1.6; word-break: break-all; }
.cc-row a:hover { color: #7fe0ee; }
.cc-duo { display: grid; grid-template-columns: auto 1fr; gap: 0 26px; }
.cc-big { font-size: 15px !important; line-height: 1.9 !important; font-weight: 500 !important; word-break: normal !important; overflow-wrap: break-word; }
.cc-big a { display: inline !important; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(127, 224, 238, .45); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.cc-big a:hover { color: #7fe0ee; border-color: #7fe0ee; }
.cc-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.cc-btn-light { background: #fff; color: #17457c; font-weight: 700; }
.cc-btn-light:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.cc-btn-line { background: transparent; border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.cc-btn-line:hover { border-color: #9cc3ff; color: #9cc3ff; }

.cc-qr { margin-top: 30px; background: #fff; border-radius: 16px; padding: 20px 22px; color: var(--ink); }
.cc-qr-title { font-size: 14.5px; font-weight: 700; }
.cc-qr-title span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.cc-qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.cc-qr-grid figure { margin: 0; text-align: center; }
.cc-qr-box { display: block; padding: 5px; border: 1px solid var(--line); border-radius: 10px; }
.cc-qr-box img { width: 100%; height: auto; border-radius: 6px; }
.cc-qr-grid figcaption { font-size: 11px; color: var(--muted); margin-top: 6px; }

.cc-flow { margin-top: 30px; }
.cc-flow-title { font-size: 13px; letter-spacing: 2px; color: #8fa9c8; margin-bottom: 10px; }
.cc-step {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 12px 16px; margin-top: 8px;
}
.cc-step b { font-size: 15px; color: #6aa9e6; }
.cc-step span { font-size: 14px; font-weight: 700; color: #fff; }
.cc-step em { margin-left: auto; font-style: normal; font-size: 12px; color: #8fa9c8; }

.cc-form-card { background: #fff; border-radius: 20px; padding: 34px 32px 28px; color: var(--ink); }
.cc-form-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2.5px; font-weight: 700; color: var(--accent);
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(28, 102, 176, .25);
}
.cc-form-card h3 { font-size: 22px; font-weight: 800; line-height: 1.4; margin-top: 14px; }
.cc-form-sub { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.cc-form { margin-top: 18px; }
.cc-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.cc-field label i { color: #d64541; font-style: normal; }
.cc-field input, .cc-field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fbfdff;
  transition: border-color .15s ease; resize: vertical;
}
.cc-field input:focus, .cc-field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.cc-field input.bad, .cc-field textarea.bad { border-color: #d64541; }
.cc-types { margin-top: 14px; }
.cc-types-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.cc-type-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-pill {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: 13px; color: var(--ink-2); cursor: pointer; font-family: inherit;
  transition: all .15s ease;
}
.cc-pill:hover { border-color: var(--accent); color: var(--accent); }
.cc-pill.active { background: linear-gradient(135deg, #2b7cd3, #17457c); border-color: transparent; color: #fff; font-weight: 600; }
.cc-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 14px; cursor: pointer; line-height: 1.7; }
.cc-agree input { margin-top: 3px; accent-color: var(--accent); }
.cc-alert {
  display: none; margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: #a4373a; background: #fdf0f0; border: 1px solid #f2cfcf;
}
.cc-alert.show { display: block; }
.cc-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.cc-btn-submit {
  background: linear-gradient(135deg, #2b7cd3, #17457c); color: #fff; font-weight: 700;
  padding: 12px 30px; border: none; border-radius: 999px; font-size: 15px; cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(23, 69, 124, .55); transition: transform .15s ease;
  font-family: inherit;
}
.cc-btn-submit:hover { transform: translateY(-2px); }
.cc-btn-submit:disabled { opacity: .7; cursor: default; }
.cc-form-actions .cc-btn-line { border-color: var(--line); color: var(--ink-2); }
.cc-form-actions .cc-btn-line:hover { border-color: var(--accent); color: var(--accent); }
.cc-call {
  display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
  font-size: 13.5px; font-weight: 700; color: var(--accent);
}
.cc-call svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc-call:hover { text-decoration: underline; }
.cc-form-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.cc-done { text-align: center; padding: 30px 10px 18px; }
.cc-done-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; font-size: 26px; color: #fff;
  background: linear-gradient(135deg, #2b7cd3, #17457c);
}
.cc-done h4 { font-size: 20px; margin-top: 14px; }
.cc-done p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.cc-done-row { font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.cc-done-row a { color: var(--accent); font-weight: 700; }

@media (max-width: 960px) {
  .cc-card { padding: 34px 26px 36px; }
  .cc-grid { grid-template-columns: 1fr; gap: 30px; }
  .cc-duo { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cc-fgrid { grid-template-columns: 1fr; }
  .cc-qr-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cc-call { margin-left: 0; }
}
