/* ============================================================
   Hebei Baoli Rubber Dam — v3 design system
   Merges v2 multi-page architecture with the Doubao visual polish.
   Zero external dependencies. Light theme, navy/blue/cyan palette.
   ============================================================ */

:root {
  --navy-900: #07182e;
  --navy-800: #0a2440;
  --navy-700: #0f3d6b;
  --blue-600: #1565c0;
  --blue-500: #1e88e5;
  --cyan-500: #00a8cc;
  --cyan-300: #5cc6ec;
  --gold-500: #d9a13b;
  --sky: #e8f1f8;
  --bg: #f4f8fb;
  --bg-soft: #eef4f9;
  --card: #ffffff;
  --ink: #0a1e33;
  --ink-soft: #24333f;
  --ink-mute: #5b6c7c;
  --line: #d8e5ee;
  --radius: 16px;
  --radius-s: 12px;
  --shadow: 0 18px 44px -26px rgba(10, 36, 64, .5);
  --shadow-s: 0 8px 22px -20px rgba(10, 36, 64, .45);
  --maxw: 1240px;
  --header-h: 96px;
  --topbar-h: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; -webkit-user-drag: none; -webkit-touch-callout: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; }
::selection { background: rgba(44, 159, 208, .22); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Reading progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan-500), var(--blue-500));
  z-index: 300; transition: width .1s linear;
}

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--navy-900); color: #a9c4d8;
  font-size: 12.5px; padding: 6px 0;
  max-height: 44px; overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar b { color: #fff; font-weight: 600; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header (fixed, deep navy) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: #07182e;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { background: rgba(7, 24, 46, .96); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .65); }
.site-header.scrolled .topbar { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
body { padding-top: calc(var(--topbar-h) + var(--header-h)); }
.nav-wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.brand-mark {
  width: 70px; height: 70px; border-radius: 15px;
  background: #fff; padding: 3px; object-fit: contain; display: block;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6);
  transition: transform .3s ease, width .25s ease, height .25s ease;
}
a.brand:hover .brand-mark { transform: scale(1.08) rotate(-2deg); }
.site-header.scrolled .brand-mark { width: 58px; height: 58px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text .en {
  font-size: 25px; color: #fff; letter-spacing: 1.1px; font-weight: 800;
  line-height: 1.08; max-width: none;
}
.brand-text .legal {
  font-size: 12px; color: #b9d2e6; letter-spacing: .35px; line-height: 1.4;
  white-space: nowrap;
}
.brand-text .cn { font-size: 11.2px; color: #79c9de; letter-spacing: 1.5px; line-height: 1.4; white-space: nowrap; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; padding: 9px 12px; font-size: 15px; font-weight: 600;
  color: #c6d9ea; border-radius: 8px; transition: .2s; position: relative; white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--cyan-300);
}
.main-nav a.nav-cta {
  background: linear-gradient(135deg, #155a94, #0b3a66);
  color: #fff !important; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.main-nav a.nav-cta:hover { background: linear-gradient(135deg, #1c6cae, #0e4a80); }
.nav-toggle { display: none; margin-left: auto; margin-right: 6px; background: rgba(255, 255, 255, .10); border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 12px; cursor: pointer; padding: 10px 11px; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.nav-toggle svg { width: 28px; height: 28px; display: block; }
.nav-toggle svg path { stroke-width: 2.6; }
.nav-toggle:hover, .nav-toggle:active { background: rgba(255, 255, 255, .20); border-color: rgba(255, 255, 255, .72); }

/* ---------- Hero ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  display: flex; align-items: center; min-height: 560px;
}
.page-hero .hero-bg {
  position: absolute; inset: -4%; width: 108%; height: 108%;
  max-width: none; /* 全局 img{max-width:100%} 会把 108% 钳回 100%，导致右侧漏出 4% 底色（2026-10-20 实测修复） */
  object-fit: cover; z-index: 0;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.07) translateX(-1.5%); }
}
/* hero background slider (horizontal slide) */
.hero-slider { position: absolute; inset: 0; z-index: 0; display: flex; transition: transform 1.15s cubic-bezier(.77, 0, .18, 1); }
.hero-slide { flex: 0 0 100%; position: relative; overflow: hidden; }
.page-hero .overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(5,20,38,.96) 0%, rgba(10,36,64,.86) 42%, rgba(14,46,82,.5) 74%, rgba(14,46,82,.22) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 96px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 2px; font-weight: 600; color: #a9d3ec;
  background: rgba(44, 159, 208, .14); border: 1px solid rgba(80, 175, 220, .4);
  padding: 7px 16px; border-radius: 999px;
}
.kicker::before { content: ""; width: 20px; height: 1.5px; background: var(--cyan-300); }
.page-hero h1 {
  font-size: clamp(28px, 4.2vw, 52px); font-weight: 700; color: #fff;
  max-width: 17em; margin: 22px 0 16px; letter-spacing: .3px;
}
.page-hero h1 em, .page-hero h1 .mark { font-style: normal; color: var(--cyan-300); }
.rotator { display: inline-block; min-width: 7.2em; transition: opacity .35s ease, transform .35s ease; }
.rotator.swap { opacity: 0; transform: translateY(10px); }
.page-hero p { font-size: clamp(15px, 1.6vw, 18px); color: #d3e6f3; max-width: 40em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.hero-badges span {
  font-size: 13px; color: #e8f4fb; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22); padding: 7px 15px; border-radius: 999px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* Animated wave divider under the hero */
.wave-band { position: relative; background: transparent; line-height: 0; margin-top: -1px; }
.wave-band svg { display: block; width: 100%; height: 70px; }
.wave-band .w1 { fill: var(--navy-800); }
.wave-band .w2 { fill: var(--navy-700); opacity: .55; }
.wave-band .wave-move { animation: waveSlide 14s linear infinite; }
@keyframes waveSlide { from { transform: translateX(0); } to { transform: translateX(-340px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15px; padding: 13px 26px;
  border-radius: 11px; cursor: pointer; border: 1px solid transparent;
  transition: .22s; font-family: inherit;
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--cyan-500); color: #061a2e; }
.btn-primary:hover { background: #3db4de; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(44, 159, 208, .8); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(11, 58, 102, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .05); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-wa { border-color: rgba(37, 211, 102, .55); background: rgba(37, 211, 102, .14); color: #fff; }
.btn-wa:hover { background: rgba(37, 211, 102, .28); transform: translateY(-2px); }
.btn-wa .ic-wa { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.btn-block { width: 100%; justify-content: center; }
.center { text-align: center; }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn-outline:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(21, 90, 148, .55); }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-700); color: #fff; }
.trust .container {
  display: flex; flex-wrap: nowrap; justify-content: space-between;
  gap: 10px 26px; align-items: center;
  padding-top: 14px; padding-bottom: 14px;
}
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #c9dcea; white-space: nowrap; }
.trust-item svg { width: 18px; height: 18px; color: #4fb3dc; flex-shrink: 0; }

/* ---------- Sections ---------- */
.block { padding: 80px 0; }
.block.soft { background: var(--sky); }
.block.alt { background: var(--card); }
.section-head { max-width: 820px; margin: 0 auto 46px; text-align: center; }
.section-head.center { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 3px;
  color: var(--blue-600); text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 18px; height: 1.5px; background: var(--cyan-500); opacity: .6; }
.title { font-size: clamp(25px, 3.2vw, 38px); font-weight: 700; margin-bottom: 14px; }
.title b, .title em { font-style: normal; color: var(--blue-600); }
.lead { color: var(--ink-mute); font-size: 15.5px; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 26px 24px;
  box-shadow: var(--shadow-s); transition: .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cyan-500); }
.card h3 { font-size: 17px; font-weight: 700; margin: 12px 0 8px; }
.card p { color: var(--ink-mute); font-size: 14px; }
.card .tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue-600); background: var(--sky);
  padding: 4px 11px; border-radius: 20px; margin-bottom: 10px;
}
.card-cta { background: linear-gradient(135deg, #eaf5fb, #f7fbfe); border-color: #bfe0ef; }
.card-cta h3 { color: var(--navy-800); }
.card-cta .lnk { color: var(--blue-600); font-weight: 600; text-decoration: none; white-space: nowrap; }
.card-cta .lnk:hover { color: var(--cyan-500); }
.card-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-img .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-img .body .checklist { margin-bottom: 18px; }
.card-img .body .btn { margin-top: auto !important; }
.card-img h3 { margin-top: 0; }

/* ---------- Metric stat cards ---------- */
.metric {
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--blue-600);
  border-radius: 12px; padding: 20px 20px 17px;
  box-shadow: 0 10px 26px -22px rgba(10, 36, 64, .35); transition: .2s;
}
.metric:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.metric .n { font-size: 30px; font-weight: 800; color: var(--blue-600); letter-spacing: -0.5px; line-height: 1.15; }
.metric .t { margin-top: 7px; font-size: 13.5px; color: var(--ink-mute); line-height: 1.45; }

/* ---------- Patent stat cards ---------- */
.stat-cards .card { border-top: 3px solid var(--blue-600); }
.stat-cards .card h3 { font-size: 34px; font-weight: 800; color: var(--blue-600); margin: 4px 0 8px; letter-spacing: -0.5px; }
.stat-cards .card p { font-size: 13.5px; }
.stat-cards .card p b { display: block; font-size: 14.5px; color: var(--navy-800); margin-bottom: 3px; }

/* ---------- Checklist ---------- */
.checklist { margin-top: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-mute); font-size: 14.5px; }
.checklist li b { color: var(--navy-800); }
.tick {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--sky); display: grid; place-items: center;
  color: var(--blue-600); font-weight: 700; font-size: 12px;
}

/* ---------- Stat band ---------- */
.stat-band { background: var(--navy-800); color: #fff; }
.stat-band .container { padding-top: 62px; padding-bottom: 58px; text-align: center; }
.stat-band h2 { color: #fff; font-size: clamp(23px, 3vw, 33px); margin-bottom: 12px; }
.stat-band h2 b { color: var(--cyan-300); }
.stat-band .lead { color: #c6dcea; max-width: 44em; margin: 0 auto; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 40px; }
.stat-item .num { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; display: block; color: #fff; line-height: 1.15; }
.stat-item .num em, .stat-item .num span.suffix { font-style: normal; color: var(--cyan-300); font-size: .6em; margin-left: 2px; }
.stat-item p, .stat-item .lbl { font-size: 12px; color: #a9c9de; letter-spacing: 1px; text-transform: uppercase; line-height: 1.5; }
/* 脚注位于 .container 外（紧贴 .stat-band），需自带左右内边距防止窄屏贴边 */
.stat-note { max-width: 74em; margin: 26px auto 0; padding: 0 24px; font-size: 12.5px; line-height: 1.8; color: #8fb4cc; }
.stat-note b { color: #c6dcea; font-weight: 700; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
}
.split h2 { margin-bottom: 6px; }

/* ---------- Generic carousel (autoplay + manual) ---------- */
.carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #0d2438;
}
.carousel img { aspect-ratio: auto; }
.car-track { display: flex; height: 100%; transition: transform .65s cubic-bezier(.77, 0, .18, 1); }
.car-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(7, 24, 46, .45); color: #fff; font-size: 15px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: .25s;
}
.car-btn.prev { left: 12px; }
.car-btn.next { right: 12px; }
.carousel:hover .car-btn, .carousel:focus-within .car-btn { opacity: 1; }
.car-btn:hover { background: rgba(30, 136, 229, .9); }
.car-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; }
.car-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
  background: rgba(255, 255, 255, .45); cursor: pointer; transition: .25s;
}
.car-dots button.on { width: 22px; background: #fff; }
@media (hover: none) {
  .car-btn { opacity: .85; }
}

/* ---------- Tables ---------- */
.tbl-wrap {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-s); overflow-x: auto;
  box-shadow: 0 10px 28px -26px rgba(10, 36, 64, .35);
}
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
thead th { background: var(--navy-800); color: #fff; font-weight: 600; padding: 12px 12px; text-align: left; font-size: 13px; white-space: nowrap; }
tbody td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--bg); }
tbody td:first-child { font-weight: 600; color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
.note { margin-top: 14px; font-size: 13px; color: var(--ink-mute); }

/* ---------- Project list filter (projects.html) ---------- */
.tbl-filter {
  display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-bottom: 14px;
}
.tbl-filter label {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
  color: var(--ink-mute);
}
.tbl-filter input[type="search"],
.tbl-filter select {
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: var(--card);
  min-width: 190px; text-transform: none; letter-spacing: 0; font-weight: 400;
}
.tbl-filter input[type="search"]:focus,
.tbl-filter select:focus { outline: 2px solid var(--blue-600); outline-offset: 1px; border-color: var(--blue-600); }
.tbl-count { margin-left: auto; font-size: 13px; color: var(--ink-mute); }
.tbl-empty { display: none; padding: 22px; text-align: center; font-size: 14px; color: var(--ink-mute); }
.tbl-empty.on { display: block; }
@media (max-width: 640px) {
  .tbl-filter { gap: 10px; }
  .tbl-filter input[type="search"], .tbl-filter select { width: 100%; min-width: 0; }
  .tbl-filter label { width: 100%; }
  .tbl-count { margin-left: 0; }
}

/* ---------- Bladder structure diagram ---------- */
.diagram {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 22px; margin-top: 26px;
  box-shadow: 0 10px 28px -26px rgba(10, 36, 64, .35);
}
.diagram h3, .diagram h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--blue-600); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tab-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--navy-800);
  font-weight: 600; font-size: 14px; padding: 10px 20px; border-radius: 999px;
  cursor: pointer; transition: .2s; font-family: inherit;
}
.tab-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Charts (inline SVG) ---------- */
.charts-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.chart-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 18px;
  box-shadow: 0 10px 28px -26px rgba(10, 36, 64, .35);
}
.chart-card h3, .chart-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--blue-600); }
.chart { width: 100%; height: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 18px; transition: .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cyan-500); }
.step .no, .step .n {
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy-800);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
  font-size: 14px; margin-bottom: 12px;
}
.step h3, .step h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 5px; }
.step p { font-size: 12.5px; color: var(--ink-mute); }

/* Installation steps with a photo per step */
.steps-photo .step { padding: 0; overflow: hidden; position: relative; }
.steps-photo .step img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
/* step number overlaid on the photo (top-left) — card is a pure image tile */
.steps-photo .stx { position: absolute; top: 12px; left: 12px; padding: 0; }
.steps-photo .stx .no { margin-bottom: 0; box-shadow: 0 2px 6px rgba(0,0,0,.35); }

/* ---------- Pre-installation checks ---------- */
.precheck {
  margin-top: 30px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 24px;
}
.precheck h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--navy-800); }
.precheck li {
  padding: 8px 0 8px 22px; position: relative; color: var(--ink-mute);
  font-size: 14px; border-bottom: 1px dashed var(--line);
}
.precheck li:last-child { border-bottom: 0; }
.precheck li::before { content: "•"; position: absolute; left: 4px; color: var(--blue-600); font-weight: 700; }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 12px; }
.gallery img {
  border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  height: auto; cursor: zoom-in; transition: transform .3s ease;
}
.gallery img:hover { transform: scale(1.04); }
.lightbox {
  position: fixed; inset: 0; background: rgba(4, 14, 26, .92); z-index: 400;
  display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out;
}
.lightbox.open { display: flex; animation: fadeIn .25s; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lightbox .cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #c9dcea; font-size: 14px; }
.lightbox .close { position: absolute; top: 22px; right: 26px; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.proj-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s);
  overflow: hidden; transition: .22s; display: flex; flex-direction: column;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proj-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; cursor: zoom-in; }
.proj-card .body { padding: 18px 20px; flex: 1; }
.proj-card .loc { font-size: 12px; font-weight: 700; color: var(--blue-600); letter-spacing: 1px; margin-bottom: 6px; }
.proj-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.proj-card .spec { font-size: 13px; color: var(--ink-mute); margin-bottom: 6px; }
.proj-card p { font-size: 13px; color: var(--ink-mute); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--navy-800);
  font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 999px;
  cursor: pointer; transition: .2s; font-family: inherit;
}
.filter-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Applications ---------- */
.app-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-card-link { display: flex; }
.app-card-h { width: 100%; }
.app-card-h .tx { flex: 1; }

/* ---------- Application hybrid cards: photo + icon + text ---------- */
.app-card-h {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s);
  margin: 0; overflow: hidden; display: flex; flex-direction: column; transition: .22s;
}
.app-card-h:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--cyan-500); }
.app-card-h .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.app-card-h .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.app-card-h:hover .ph img { transform: scale(1.06); }
.app-card-h .ph .ic {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(8, 30, 56, .78); color: #7fd0ee; display: grid; place-items: center;
  backdrop-filter: blur(3px); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .4);
}
.app-card-h .ph .ic svg { width: 18px; height: 18px; }
.app-card-h .tx { padding: 13px 15px 15px; }
.app-card-h .tx h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 5px; color: var(--ink); }
.app-card-h .tx p { font-size: 12.6px; color: var(--ink-mute); line-height: 1.55; margin: 0; }

/* ---------- Card icons (Why Baoli etc.) ---------- */
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 14px;
  background: #e8f3fb; color: var(--blue-600);
  display: grid; place-items: center;
}
.card .ico svg { width: 28px; height: 28px; }

/* ---------- Gallery variant: show the whole image (certificates etc.) ---------- */
.gallery.fit img {
  aspect-ratio: auto; height: 260px; object-fit: contain;
  background: #fff; border: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 17px 22px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; font-family: inherit;
}
.faq-q .ic {
  width: 26px; height: 26px; border-radius: 8px; background: var(--sky);
  color: var(--blue-600); display: flex; align-items: center; justify-content: center;
  font-weight: 700; transition: .25s; flex-shrink: 0;
}
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--navy-800); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 18px; font-size: 14px; color: var(--ink-mute); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-top: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 65px; top: 10px; bottom: 14px; width: 2px;
  background: linear-gradient(var(--sky), var(--blue-600)); transform: translateX(-50%);
}
.timeline::after {
  content: ""; position: absolute; left: 65px; bottom: -2px; transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 12px solid var(--blue-600);
}
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: start; padding-bottom: 30px; }
.tl-item .yr { font-weight: 800; font-size: 20px; color: var(--blue-600); text-align: center; position: relative; z-index: 1; background: var(--bg); padding-top: 2px; }
.tl-item .tl-card {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--blue-600);
  border-radius: 12px; padding: 16px 20px; box-shadow: 0 10px 26px -22px rgba(10, 36, 64, .3);
}
.tl-item .tl-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.tl-item .tl-card p { font-size: 14px; color: var(--ink-mute); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
  color: #fff; text-align: center; padding: 66px 24px;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 12px; }
.cta-band p { color: #c6dcea; margin-bottom: 26px; max-width: 46em; margin-left: auto; margin-right: auto; }

/* Full-width call-to-action band (used on every page before the footer) */
.cta {
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
  color: #fff; text-align: center; padding: 66px 24px;
}
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 12px; }
.cta p { color: #c6dcea; margin-bottom: 26px; max-width: 46em; margin-left: auto; margin-right: auto; }
/* Inline reference links inside the dark CTA band must stay legible */
.cta p a, .cta-band p a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cta p a:hover, .cta-band p a:hover { color: #c6dcea; }
.cta-actions, .cta-band .cta-actions {
  display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.btn-dl .ic-dl { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ---------- Social grid (contact page) ---------- */
.social-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px; margin-top: 26px;
}
.social-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 17px 18px; transition: .22s;
}
.social-card:hover { border-color: var(--cyan-500); transform: translateY(-3px); box-shadow: var(--shadow-s); }
.social-card .ic {
  width: 40px; height: 40px; border-radius: 11px; background: var(--sky);
  color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0;
}
.social-card .ic svg { width: 19px; height: 19px; fill: currentColor; }
.social-card .txt b { display: block; color: var(--ink); font-size: 14.5px; }
.social-card .txt span { display: block; color: var(--blue-600); font-size: 12.5px; margin-top: 2px; word-break: break-all; }
.social-card .txt .desc { color: var(--ink-mute); font-size: 12.5px; line-height: 1.55; margin-top: 6px; }

/* ---------- Brochure download card ---------- */
.dl-card {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  background: var(--sky); border: 1px solid var(--line); border-left: 4px solid var(--cyan-500);
  border-radius: 14px; padding: 20px 24px; margin: 0 0 28px;
}
.dl-card b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 5px; }
.dl-card span.d { display: block; color: var(--ink-mute); font-size: 13.5px; line-height: 1.6; max-width: 64ch; }
.dl-card .btn { flex-shrink: 0; }
@media (max-width: 620px) {
  .dl-card { padding: 18px; }
  .dl-card .btn { width: 100%; justify-content: center; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.contact-side > * + * { margin-top: 26px; }
@media (min-width: 821px) { .contact-grid .contact-side { position: sticky; top: 96px; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-item .ic {
  width: 42px; height: 42px; border-radius: 11px; background: var(--sky);
  color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; font-size: 18px;
}
.contact-item b { display: block; color: var(--ink); font-weight: 700; }
.contact-item span { color: var(--ink-mute); font-size: 14px; word-break: break-all; }
.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 14px; color: var(--ink-soft);
  background: var(--bg); outline: none; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan-500); background: #fff; box-shadow: 0 0 0 3px rgba(44, 159, 208, .16);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-tip { font-size: 12.5px; color: var(--ink-mute); margin-top: 12px; }
.form-ok {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px;
  background: #e7f5ee; border: 1px solid #9fd8bd; color: #1e7b5b; font-size: 14px;
}
.form-ok:focus { outline: 2px solid var(--blue-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a7bfd2; padding: 58px 0 30px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 30px; }
/* 404 页正文只有 h1，页脚标题须为 h2 才不跳级；h2/h3/h4 共用同一样式，视觉无差异 */
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; line-height: 1.4; }
.site-footer a { color: #a7bfd2; display: inline-block; padding: 4px 0; transition: .2s; }
.site-footer a:hover { color: var(--cyan-300); padding-left: 4px; }
.site-footer p { color: #8fa8bb; line-height: 1.85; font-size: 13px; }
.foot-social { margin-top: 20px; }
.foot-social h4 { margin-bottom: 10px; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-row a {
  width: 40px; height: 40px; border-radius: 10px; padding: 0;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  display: grid; place-items: center; transition: .22s;
}
.social-row a:hover { background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-3px); padding-left: 0; }
.social-row svg { width: 18px; height: 18px; fill: #cfe2f0; transition: fill .2s; }
.social-row a:hover svg { fill: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: #7890a4;
}

/* ---------- Back to top ---------- */
#toTop {
  position: fixed; right: 24px; bottom: 28px; width: 46px; height: 46px;
  border-radius: 12px; background: var(--navy-800); color: #fff; border: 0;
  cursor: pointer; font-size: 20px; font-family: inherit;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(20px); transition: .3s; z-index: 100;
}
#toTop.show { opacity: 1; transform: none; }
#toTop:hover { background: var(--blue-600); }

/* ---------- Floating WhatsApp (quiet: appears only after scrolling past hero) ---------- */
#waFloat {
  position: fixed; right: 25px; bottom: 86px; width: 44px; height: 44px;
  border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; z-index: 100;
}
#waFloat.show { opacity: 1; transform: none; pointer-events: auto; }
#waFloat:hover { background: #1fb457; }
#waFloat svg { display: block; }

/* ---------- Crumb ---------- */
.crumb { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: #9fd2ef; font-weight: 600; }

/* ---------- SVG stroke defaults for inherited icons ---------- */
.trust-item svg { stroke: #4fb3dc; fill: none; }
.contact-item > svg { width: 24px; height: 24px; stroke: var(--blue-600); fill: none; flex-shrink: 0; margin-top: 4px; }
.social-row svg { stroke: none; }

/* ---------- Reveal animation (scoped: only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-l { transform: translateX(-32px); }
.js .reveal-r { transform: translateX(32px); }
.js .reveal-s { transform: scale(.94); }

/* ---------- Hero entrance (plays once on load) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .container > * { opacity: 0; transform: translateY(28px); animation: heroUp .8s cubic-bezier(.22,.61,.36,1) forwards; }
  .js .hero .container > *:nth-child(1) { animation-delay: .05s; }
  .js .hero .container > *:nth-child(2) { animation-delay: .18s; }
  .js .hero .container > *:nth-child(3) { animation-delay: .32s; }
  .js .hero .container > *:nth-child(4) { animation-delay: .46s; }
  .js .hero .container > *:nth-child(5) { animation-delay: .6s; }
  .js .hero .container > *:nth-child(n+6) { animation-delay: .72s; }
  .js .page-hero .container > * { opacity: 0; transform: translateY(24px); animation: heroUp .7s cubic-bezier(.22,.61,.36,1) forwards; }
  .js .page-hero .container > *:nth-child(2) { animation-delay: .15s; }
  .js .page-hero .container > *:nth-child(3) { animation-delay: .3s; }
  .js .page-hero .container > *:nth-child(n+4) { animation-delay: .45s; }
}
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .brand { gap: 12px; }
  .brand-mark { width: 56px; height: 56px; }
  .brand-text .en { font-size: 20px; }
  .brand-text .legal { font-size: 10.8px; }
  .brand-text .cn { font-size: 10px; letter-spacing: 1px; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 9px 6px; font-size: 13.5px; }
  .trust .container { flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
  .trust-item { font-size: 12px; white-space: normal; max-width: 100%; }
}
@media (max-width: 1080px) {.g4, .gallery, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }.charts-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) and (min-width: 821px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0;
    background: var(--navy-800); flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; display: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; font-size: 16px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a.nav-cta { border-bottom: 0; text-align: center; margin-top: 8px; }
}
@media (max-width: 820px) {
  .topbar .container { justify-content: center; }
  .topbar .container span:last-child { display: none; }
  .site-header { top: 0; }
  body { padding-top: var(--header-h); }
  .brand { gap: 11px; }
  .brand-mark { width: 54px; height: 54px; border-radius: 12px; }
  .site-header.scrolled .brand-mark { width: 54px; height: 54px; }
  .brand-text .en { font-size: 19.5px; letter-spacing: .7px; }
  .brand-text .legal { font-size: 10.4px; }
  .brand-text .cn { font-size: 9.8px; letter-spacing: .9px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--navy-800); flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; display: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; font-size: 15.5px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a.nav-cta { border-bottom: 0; text-align: center; margin-top: 8px; }
  .split, .contact-grid, .g2, .g3 { grid-template-columns: 1fr; }.g4, .gallery, .app-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-3 { grid-template-columns: 1fr; }
  .block { padding: 58px 0; }
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-item .yr { text-align: left; font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .page-hero .container { padding-top: 40px; padding-bottom: 64px; }
}
@media (max-width: 520px) {.g4, .gallery, .app-grid, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   Project catalogue — Dyrhoff-style photo tiles + data sheets
   ============================================================ */
.crumb-nav { font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: #9fd2ef; margin-bottom: 12px; }
.crumb-nav a { color: #cfe7f7; text-decoration: none; border-bottom: 1px solid rgba(207, 231, 247, .35); }
.crumb-nav a:hover { color: #fff; border-bottom-color: #fff; }
.crumb-nav .sep { margin: 0 8px; opacity: .55; }
.crumb-nav span[aria-current] { color: #7fbfe4; }

.proj-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.proj-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 4.7; border-radius: var(--radius-s, 12px);
  text-decoration: none; background: var(--navy-900);
  box-shadow: 0 10px 26px -20px rgba(10, 36, 64, .6);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s;
}
.proj-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proj-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.proj-tile:hover img { transform: scale(1.07); }
.proj-tile .veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6, 20, 38, .95) 0%, rgba(6, 20, 38, .80) 30%, rgba(6, 20, 38, .22) 58%, rgba(6, 20, 38, 0) 82%);
}
.proj-tile .go {
  position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .34); color: #fff;
  transition: background .25s, border-color .25s, color .25s;
}
.proj-tile:hover .go { background: var(--cyan-500); border-color: var(--cyan-500); color: #061a2e; }
.proj-tile .tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 20px 22px; display: block; }
.proj-tile .tile-loc { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--cyan-300); }
.proj-tile .tile-name {
  display: block; margin: 6px 0 10px; font-size: 18px; font-weight: 700;
  line-height: 1.35; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.proj-tile .tile-specs { display: flex; flex-wrap: wrap; gap: 7px; }
.proj-tile .tile-specs em {
  font-style: normal; font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); color: #eaf5fd;
}

/* project detail page */
.proj-detail { align-items: start; }
.proj-detail-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.proj-detail-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s, 12px); box-shadow: var(--shadow-s); }
.datasheet { min-width: 0; width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s, 12px); overflow: hidden; }
.datasheet th, .datasheet td { padding: 12px 18px; font-size: 14.5px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.datasheet th { width: 44%; font-weight: 600; font-size: 13.5px; color: var(--ink-mute); background: #f5f9fd; }
.datasheet td { font-weight: 700; color: var(--ink); }
.datasheet td.hl { color: var(--blue-600); font-size: 16px; }
.datasheet tr:last-child th, .datasheet tr:last-child td { border-bottom: 0; }

.proj-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 8px; }
.proj-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.proj-nav-item {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s, 12px);
  text-decoration: none; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.proj-nav-item:hover { border-color: var(--cyan-500); transform: translateY(-3px); box-shadow: var(--shadow-s); }
.proj-nav-item.next { text-align: right; align-items: flex-end; }
.proj-nav-item .dir { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-600); }
.proj-nav-item .nm { font-size: 15px; font-weight: 700; color: var(--ink); }

@media (max-width: 980px) {
  .proj-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .proj-links, .proj-nav { grid-template-columns: 1fr; }
  .proj-nav-item.next { text-align: left; align-items: flex-start; }
  .proj-tile { aspect-ratio: 4 / 4.2; }
  .proj-detail-photo { position: static; }
}
@media (max-width: 520px) {
  .proj-tiles { grid-template-columns: 1fr; }
  .datasheet th { width: 48%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Spec-sheet download cards (rubber-dam page) ---------- */
a.dl-card { display: block; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
a.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dl-card .dl-hint { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--blue-600); }

/* ---------- Client testimonials (projects page) ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.quote-card .qm { font-family: Georgia, 'Times New Roman', serif; font-size: 46px; line-height: .6; color: var(--blue-500); opacity: .4; }
.quote-card blockquote { margin: 12px 0 16px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); flex: 1; }
.quote-card figcaption { font-size: 13px; font-weight: 700; color: var(--navy-800); }
.quote-card figcaption span { display: block; font-weight: 400; font-size: 12px; color: var(--ink-mute); margin-top: 2px; }
.quote-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-mute); text-align: center; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .quote-grid { grid-template-columns: 1fr; } }


/* --- Brochure download section (#specs on rubber-dam.html) --- */
.brochure {
  display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 30px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 28px;
}
.brochure-cover { position: relative; display: block; margin: 0; }
.brochure-cover img {
  width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(10, 36, 64, .45); transition: transform .25s ease;
}
.brochure-cover:hover img { transform: translateY(-3px); }
.pdf-badge {
  position: absolute; left: 12px; bottom: 12px; background: rgba(21, 101, 192, .93); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .3px; padding: 5px 11px; border-radius: 999px;
}
.brochure-body b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.brochure-body span.d { display: block; color: var(--ink-mute); font-size: 14px; line-height: 1.65; margin-bottom: 14px; }
.brochure-body .toc { margin: 0 0 18px; }
.brochure-body .toc li span:last-child { font-size: 13.5px; }
.brochure-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.brochure-actions .btn-outline { color: var(--blue-600); border-color: var(--blue-600); }
.brochure-body .note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-mute); }
.mini-card {
  display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 20px; color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.mini-card b { color: var(--ink); font-size: 15px; }
.mini-card span { color: var(--ink-mute); font-size: 13px; line-height: 1.55; }
.mini-card .more { color: var(--blue-600); font-weight: 700; font-size: 12.5px; margin-top: 2px; }
@media (max-width: 860px) { .brochure { grid-template-columns: 1fr; padding: 20px; } }

/* application cards linked to the projects list */
.app-card-link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius-s); outline-offset: 3px; }
.app-card-link:hover { text-decoration: none; }
.app-card-link:focus-visible { text-decoration: none; outline: 2px solid var(--blue-600); }

/* applied application filter chip (projects page) */
.app-chip { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 8px 14px; background: rgba(21, 90, 148, .08); border: 1px solid rgba(21, 90, 148, .28); border-radius: 9px; font-size: 13.5px; color: var(--navy-800); }
.app-chip[hidden] { display: none; }
.app-chip button { margin-left: auto; border: none; background: none; color: var(--blue-600); font: inherit; font-weight: 700; cursor: pointer; padding: 2px 4px; }
.app-chip button:hover { text-decoration: underline; }

/* case-study exits (projects table + flagship cards) */
.case-link { color: var(--blue-600); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(21, 90, 148, .35); }
.case-link:hover { border-bottom-color: var(--blue-600); }
.proj-card-link { color: inherit; text-decoration: none; }
.proj-card-link:hover { color: var(--blue-600); }
.case-more { margin: 8px 0 0; font-size: 13px; font-weight: 700; }
.case-more a { color: var(--blue-600); text-decoration: none; }
.case-more a:hover { text-decoration: underline; }
.tbl-note { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-mute); }
/* home FAQ: extra question entries */
.more-faq { max-width: 1000px; margin: 26px auto 0; padding: 20px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); }
.more-faq h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.more-faq ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.more-faq li { padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.more-faq li:nth-child(-n+2) { border-top: none; }
.more-q { color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; }
.more-q::after { content: "\2192"; color: var(--blue-600); font-weight: 700; }
.more-q:hover { color: var(--blue-600); }
@media (max-width: 700px) {
  .more-faq { padding: 16px 18px; }
  .more-faq ul { grid-template-columns: 1fr; }
  .more-faq li:nth-child(2) { border-top: 1px dashed var(--line); }
  .more-faq li:first-child { border-top: none; }
}
/* home: next-step entry strip */
.start-here { margin-top: 30px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); }
.start-here h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .5px; }
.start-here ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 820px) { .start-here ul { grid-template-columns: 1fr; } }
.start-here a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #f8fafc; transition: .2s; }
.start-here a:hover { border-color: var(--cyan-500); background: #fff; transform: translateY(-2px); }
.start-here b { display: block; font-size: 14.5px; color: var(--blue-600); margin-bottom: 3px; }
.start-here span { font-size: 12.8px; color: var(--ink-mute); line-height: 1.5; }
/* product-page credentials strip (ISO / patents / test centre) */
.cred-strip { background: #f2f7fb; border-bottom: 1px solid var(--line); padding: 20px 0 18px; }
.cred-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .cred-strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cred-strip ul { grid-template-columns: 1fr; } }
.cred-strip li { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 2px solid var(--cyan-500); }
.cred-strip b { font-size: 14px; color: var(--navy-800); }
.cred-strip span { font-size: 12.5px; color: var(--ink-mute); line-height: 1.45; }
.cred-more { margin: 14px 0 0; font-size: 13px; font-weight: 700; }
.cred-more a { color: var(--blue-600); text-decoration: none; }
.cred-more a:hover { text-decoration: underline; }

/* ---------- Dark scrollbar: blends with the navy theme (was a white strip at the right edge) ---------- */
html { scrollbar-color: #2e5375 #0b1e33; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b1e33; }
::-webkit-scrollbar-thumb { background: #2e5375; border-radius: 6px; border: 2px solid #0b1e33; }
::-webkit-scrollbar-thumb:hover { background: #3d6a99; }
::-webkit-scrollbar-corner { background: #0b1e33; }

/* ---------- 移动端：菜单按钮离屏幕边缘再远一点，按起来更明显 ---------- */
@media (max-width: 820px) {
  .nav-wrap { gap: 12px; }
  .nav-toggle { margin-right: 10px; padding: 11px 12px; }
  .nav-toggle svg { width: 29px; height: 29px; }
}
@media (max-width: 380px) {
  .nav-toggle { margin-right: 8px; padding: 10px; }
  .nav-toggle svg { width: 27px; height: 27px; }
}
