:root {
  --ink: #0b2347;
  --deep: #08193a;
  --steel: #1a5fd0;
  --accent: #1a5fd0;
  --accent-soft: #6fb1ff;
  --plate: #123a7a;
  --plate-2: #1c4f9e;
  --paper: #f3f7fc;
  --panel: #ffffff;
  --line: #d3deee;
  --muted: #51627a;
  --focus: #e8590c;
  --wrap: 1160px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
a, button { touch-action: manipulation; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.75;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: .02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--panel); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.logo b { font-size: 1.45rem; font-weight: 900; letter-spacing: .08em; }
.logo span { font-size: .8rem; color: var(--muted); letter-spacing: .18em; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { padding: 8px 14px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 3px solid transparent; }
.nav a:hover { border-color: var(--line); }
.nav a[aria-current="page"] { border-color: var(--accent); }
.tel { background: var(--ink); color: #fff; text-decoration: none; padding: 9px 16px; font-weight: 700; white-space: nowrap; }
.tel:hover { background: var(--accent); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 12px 24px; font-weight: 800; text-decoration: none; border: 2px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper);
  background-blend-mode: normal;
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 30%, rgba(243,247,252,.55)); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 84px 92px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.stripe { height: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); }

/* nameplate (铭牌) */
.nameplate {
  position: relative; color: #eaf2ff;
  background: linear-gradient(135deg, var(--plate-2), var(--plate) 55%, #0f3068);
  padding: 34px 34px 28px; border: 1px solid #0a2150;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 22px 40px -22px rgba(8,25,58,.7);
}
.nameplate::before, .nameplate::after, .nameplate .rv-b::before, .nameplate .rv-b::after {
  content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #cfd8de, #6c7a85 60%, #3a4651);
  box-shadow: 0 1px 1px rgba(0,0,0,.5);
}
.nameplate::before { top: 11px; left: 11px; }
.nameplate::after { top: 11px; right: 11px; }
.nameplate .rv-b::before { bottom: 11px; left: 11px; }
.nameplate .rv-b::after { bottom: 11px; right: 11px; }
.np-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--accent-soft); margin-bottom: 8px; }
.np-model { font-size: 2.2rem; font-weight: 900; letter-spacing: .06em; line-height: 1.2; }
.np-tag { background: var(--accent-soft); color: var(--ink); font-weight: 800; font-size: .85rem; padding: 2px 10px; }
.np-name { color: #bcd0ee; margin: 6px 0 12px; }
.np-rows { margin: 0; }
.np-rows div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.22); }
.np-rows dt { color: #a9c2e6; }
.np-rows dd { margin: 0; font-weight: 700; text-align: right; }
.np-foot { margin-top: 16px; font-size: .85rem; color: #a9c2e6; }

/* ---------- sections ---------- */
.section { padding-block: 76px; }
.section.alt { background: var(--panel); border-block: 1px solid var(--line); }
.sec-head { max-width: 40em; margin-bottom: 40px; }
.sec-head p { color: var(--muted); margin-top: 10px; }

/* solution rows */
.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: 280px 1fr auto; gap: 32px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.3rem; }
.row p { margin: 0; color: var(--muted); }
.row .go { white-space: nowrap; font-weight: 700; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.four { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 4/3; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px, #e6eef9; display: grid; place-items: center; color: #8aa0c2; font-weight: 900; font-size: 1.5rem; letter-spacing: .08em; text-align: center; padding: 12px; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .model { font-size: 1.35rem; font-weight: 900; letter-spacing: .04em; }
.card .nm { color: var(--muted); margin-bottom: 8px; }
.card .desc { font-size: .95rem; margin-bottom: 12px; }
.spec { margin: 0 0 18px; font-size: .92rem; }
.spec div { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border-bottom: 1px dotted var(--line); }
.spec dt { color: var(--muted); flex: none; }
.spec dd { margin: 0; text-align: right; font-weight: 600; }
.nospec { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.card .ask { margin-top: auto; font-weight: 800; text-decoration: none; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 12px; display: block; }
.card .ask:hover { color: var(--steel); }

/* filter */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { border: 1px solid var(--ink); background: transparent; padding: 8px 18px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tab:hover { background: var(--line); }
.tab[aria-pressed="true"]:hover { background: var(--ink); }

/* solutions page */
.sol { padding-block: 56px; border-bottom: 1px solid var(--line); }
.sol:last-of-type { border-bottom: 0; }
.flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; counter-reset: step; }
.flow li { counter-increment: step; position: relative; padding: 18px 18px 18px 18px; border: 1px solid var(--ink); margin-left: -1px; background: var(--panel); }
.flow li::before { content: counter(step); position: absolute; top: -14px; left: 14px; background: var(--accent); color: #fff; border: 2px solid var(--ink); width: 28px; height: 28px; display: grid; place-items: center; font-weight: 900; font-size: .9rem; line-height: 1; }
.flow b { display: block; margin-top: 6px; font-size: 1.1rem; }
.flow span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 28px; }
.group { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--steel); padding: 16px 20px; }
.group h3 { margin-bottom: 8px; }
.group ul { margin: 0; padding-left: 1.1em; color: var(--muted); }

/* cases */
.case { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.case-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.case-photos img { width: 100%; height: auto; border-radius: var(--radius, 0); border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.case:first-of-type { border-top: 2px solid var(--ink); }
.case h3 { font-size: 1.3rem; }
.case .when { color: var(--muted); }
.case .equip { font-weight: 600; margin-bottom: 10px; }
.case ul { margin: 0; padding-left: 1.1em; }
.case li { margin-bottom: 4px; }

/* about / contact */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.entity { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 26px 28px; }
.entity h3 { margin-bottom: 8px; }
.entity p { color: var(--muted); }
.info dl { margin: 0; }
.info .it { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { color: var(--muted); font-size: .9rem; }
.info dd { margin: 2px 0 0; font-weight: 700; }
.info dd small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
form.inq { background: var(--panel); border: 1px solid var(--line); padding: 28px; }
.fld { margin-bottom: 18px; }
.fld label { display: block; font-weight: 700; margin-bottom: 6px; }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #8b98a2; background: #fff; color: var(--ink); border-radius: 0; }
.fld textarea { min-height: 120px; resize: vertical; }
.req { color: #b3261e; }
.done { display: none; background: var(--paper); border: 2px solid var(--ink); padding: 20px 22px; margin-top: 20px; }
.done.show { display: block; }
.done pre { white-space: pre-wrap; font-family: inherit; margin: 10px 0 14px; background: #fff; border: 1px solid var(--line); padding: 12px; }
.qr { margin-top: 24px; display: none; }
.qr.show { display: block; }
.qr img { width: 160px; border: 1px solid var(--line); }

/* cta band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: 54px; }
.cta-band h2 { font-size: 1.6rem; }
.cta-band p { margin: 8px 0 0; color: #bcd0ee; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* page head */
.page-head { background: var(--panel); border-bottom: 1px solid var(--line); padding-block: 52px 44px; }
.page-head p { color: var(--muted); max-width: 40em; margin: 10px 0 0; }
.crumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }

/* footer */
.site-footer { background: var(--deep); color: #bcd0ee; padding-block: 48px 28px; font-size: .95rem; }
.site-footer a { color: #eaf2ff; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer h4 { margin: 0 0 10px; color: #fff; font-size: 1rem; }
.site-footer p { margin: 0 0 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid #1c3566; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; }

/* responsive */
@media (max-width: 900px) {
  .hero .wrap, .contact-grid, .two, .case, .foot { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 52px 60px; gap: 36px; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .case { gap: 14px; }
  .menu-btn { display: block; }
  .tel { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--panel); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 20px 16px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .section { padding-block: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .cta-band, .stripe { display: none; } }


/* ---------- 首页轮播 ---------- */
.carousel { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.slides { position: relative; min-height: 500px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; position: relative; }
.slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(115deg, #08193a 0%, #0f3b82 55%, #1a5fd0 100%);
}
.slide-bg.has-img { background-size: cover; background-position: center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,25,58,.88) 0%, rgba(8,25,58,.55) 55%, rgba(8,25,58,.25) 100%); pointer-events: none; }
.slide .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; min-height: 500px; padding-block: 64px 84px; }
.slide .slide-title { line-height: 1.3; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 18px; }
.slide .lead { color: #d3e2fa; margin-bottom: 28px; }
.slide .btn { background: #fff; border-color: #fff; color: var(--ink); }
.slide .btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); }
.slide .nameplate { border-color: rgba(255,255,255,.25); }
.slide .np-name { margin: 6px 0 12px; }
.carousel-ctl { position: absolute; z-index: 5; left: 0; right: 0; bottom: 22px; }
.carousel-ctl .wrap { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 10px; }
.dot { width: 44px; height: 24px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.dot::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: rgba(255,255,255,.35); }
.dot[aria-current="true"]::before { background: #fff; }
.cbtn { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.55); background: rgba(8,25,58,.45); color: #fff; font: inherit; font-size: 1.1rem; cursor: pointer; }
.cbtn:hover { background: #fff; color: var(--ink); }
.cbtn.pp { margin-left: auto; width: auto; padding: 0 14px; font-size: .9rem; font-weight: 700; white-space: nowrap; flex: none; }
.cbtn.prev, .cbtn.next { flex: none; }
@media (max-width: 480px) {
  .carousel-ctl .wrap { gap: 8px; }
  .dots { gap: 2px; }
  .dot { width: 28px; }
  .cbtn.pp { padding: 0 10px; }
}
.carousel :focus-visible { outline-color: #fff; }
.intro { background: var(--panel); border-bottom: 1px solid var(--line); }
.intro .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 44px; }
.intro h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.intro .lead { margin: 0; }
.intro .cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .slides, .slide .wrap { min-height: 0; }
  .slide .wrap { grid-template-columns: 1fr; padding-block: 44px 84px; }
  .slide .nameplate { display: none; }
  .slide::after { background: rgba(8,25,58,.6); }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }

/* ===== 浅色首屏结构（三套方案共用，颜色在各自主题里定义） ===== */
.carousel { background: var(--hero-bg); color: var(--ink); }
.slide-bg { background: var(--hero-art); }
.slide::after { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 48%, rgba(255,255,255,.12) 100%); }
.slide .slide-title { color: var(--ink); }
.slide .lead { color: var(--muted); }
.slide .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.slide .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.carousel :focus-visible { outline-color: var(--focus); }

.nameplate, .slide .nameplate { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nameplate::before, .nameplate::after, .nameplate .rv-b::before, .nameplate .rv-b::after { display: none; }
.np-head { border-bottom: 2px solid var(--accent); }
.np-tag { background: var(--accent); color: #fff; }
.np-name, .np-rows dt, .np-foot { color: var(--muted); }
.np-rows div { border-bottom: 1px solid var(--line); }
.np-rows dd { color: var(--ink); }

.cbtn { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.cbtn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.dot::before { background: rgba(19, 41, 75, .22); }
.dot[aria-current="true"]::before { background: var(--accent); }

.card, .entity, .group, form.inq, .flow li, .nameplate, .btn, .tab, .fld input, .fld select, .fld textarea, .done { border-radius: var(--radius); }
.card { overflow: hidden; }
@media (max-width: 900px) { .slide::after { background: rgba(255,255,255,.82); } }

/* 有照片的轮播页：隐藏设备铭牌，让照片露出来 */
.slide-bg.has-img + .wrap .nameplate { display: none; }
.case:first-of-type { border-top: 1px solid var(--line); }

/* ===== 方案 A：明亮清爽（天蓝 + 白，圆角，柔和阴影） ===== */
:root {
  --ink: #13294b; --deep: #102a54;
  --steel: #2f6df6; --accent: #2f6df6; --accent-soft: #9bbdff;
  --paper: #f5f9ff; --panel: #ffffff; --line: #dbe6f7; --muted: #586986; --focus: #e8590c;
  --radius: 14px;
  --shadow: 0 14px 34px -16px rgba(47, 109, 246, .45);
  --hero-bg: #eef5ff;
  --hero-art:
    radial-gradient(820px 440px at 88% 15%, #cfe0ff 0%, rgba(207,224,255,0) 62%),
    radial-gradient(640px 360px at 6% 105%, #d8e9ff 0%, rgba(216,233,255,0) 62%),
    #eef5ff;
}
body { background: var(--paper); }
.btn { border-radius: 999px; padding-inline: 28px; }
.tab { border-radius: 999px; border-color: var(--line); }
.tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.tel { border-radius: 999px; background: var(--accent); }
.tel:hover { background: var(--ink); }
.nav a { border-bottom-width: 0; border-radius: 999px; }
.nav a:hover { background: #eaf1ff; }
.nav a[aria-current="page"] { background: #e3edff; color: var(--accent); }
.card { border-color: var(--line); box-shadow: 0 1px 2px rgba(19, 41, 75, .05); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ph { background: linear-gradient(135deg, #e9f1ff, #f6faff); color: #9db6e6; }
.card .ask { border-top: 0; padding-top: 0; color: var(--accent); }
.rows { border-top: 0; }
.row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 14px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.case:first-of-type { border-top: 1px solid var(--line); }
.group, .entity { border-top-width: 1px; border-top-color: var(--line); }
.group { border-left: 4px solid var(--accent); }
.entity { border-left: 4px solid var(--accent); }
.flow { gap: 12px; }
.flow li { margin-left: 0; border-color: var(--line); }
.flow li::before { border-color: var(--accent); border-radius: 50%; }
.section.alt { background: #fff; }
.cta-band { background: linear-gradient(110deg, #1c4fc7, #2f6df6); }
.cta-band .btn { background: #fff; color: var(--accent); border-radius: 999px; }
.site-footer { background: #0f2447; }
.page-head { background: linear-gradient(180deg, #eef5ff, #fff); }
.stripe { display: none; }
