/* ============================================================
   CheckGear 嘉珂琦 V2 — Design System
   Dark industrial theme · brand red #D53E2B · navy #002050
   ============================================================ */

:root {
  --bg: #0a1420;
  --bg-soft: #0e1c2c;
  --surface: #12253a;
  --surface-2: #16304a;
  --line: rgba(150, 185, 215, 0.14);
  --line-strong: rgba(150, 185, 215, 0.28);
  --text: #e9f0f7;
  --muted: #9db0c3;
  --faint: #6d8098;
  --red: #d53e2b;
  --red-hi: #ef5a44;
  --cyan: #4cc3dc;
  --navy: #002050;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
  --container: 1200px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI',
    system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(213, 62, 43, 0.55); color: #fff; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--red);
}

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  margin-top: 14px;
  letter-spacing: 0.01em;
}
.section-head p { color: var(--muted); margin-top: 14px; }

.text-red { color: var(--red-hi); }
.text-cyan { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--red-hi), var(--red));
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(213, 62, 43, 0.65);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(213, 62, 43, 0.75);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), height 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(9, 18, 30, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 46px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .brand img { height: 38px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > li { position: relative; }
.main-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.main-nav a.nav-link:hover,
.main-nav a.nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav a.nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}
.nav-caret { font-size: 10px; transition: transform 0.25s; opacity: 0.7; }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 200px;
  background: rgba(14, 26, 42, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.28s var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.2s;
}
.dropdown a:hover { background: rgba(76, 195, 220, 0.1); color: var(--cyan); }
.dropdown a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.2s;
}
.dropdown a:hover::before { background: var(--red); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.3;
}
.header-phone strong { display: block; color: #fff; font-size: 16px; letter-spacing: 0.02em; }
.header-phone .tel-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: rgba(11, 21, 34, 0.98);
  backdrop-filter: blur(18px);
  border-left: 1px solid var(--line);
  z-index: 99;
  padding: calc(var(--header-h) + 16px) 28px 40px;
  transform: translateX(105%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 15px 4px;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .sub a {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 4px 10px 18px;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 14, 0.6);
  backdrop-filter: blur(3px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* 尺寸用百分比而非 px：装饰层随视口缩放，宽屏时不会在左侧留出裸底 */
  background:
    radial-gradient(76% 66% at 82% 18%, rgba(0, 64, 112, 0.55), transparent 60%),
    radial-gradient(62% 78% at 8% 85%, rgba(213, 62, 43, 0.14), transparent 55%),
    linear-gradient(160deg, #06101c 0%, #0a1830 45%, #0c2140 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-gears.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: screen;
  mask-image: radial-gradient(83% 89% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(83% 89% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 170, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 210, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(62% 67% at 50% 45%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(62% 67% at 50% 45%, #000, transparent 80%);
}

.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 25, 45, 0.5);
  backdrop-filter: blur(8px);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 0 4px rgba(213, 62, 43, 0.22);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(213, 62, 43, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(213, 62, 43, 0.05); }
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  font-weight: 700;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 20%, #8fd8ea 60%, #4cc3dc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 26px;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 22, 38, 0.55);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-stats .stat {
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}
.hero-stats .stat:last-child { border-right: 0; }
.stat .num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat .num em { font-style: normal; color: var(--red-hi); font-size: 0.62em; margin-left: 2px; }
.stat .lbl { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-hint::before {
  content: '';
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--cyan);
  animation: wheel 1.8s infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 72px;
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(0, 64, 112, 0.5), transparent 60%),
    linear-gradient(165deg, #071220, #0b1e36);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -40px;
  width: 420px;
  height: 420px;
  background: url('../img/hero-gears.jpg') center/cover;
  opacity: 0.16;
  mix-blend-mode: screen;
  border-radius: 50%;
  filter: saturate(1.2);
}
.page-hero .crumb {
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.page-hero .crumb a:hover { color: var(--cyan); }
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.2;
}
.page-hero .slogan {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.06em;
}
.page-hero .slogan b { color: var(--red-hi); font-weight: 600; }

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

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), rgba(18, 37, 58, 0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 195, 220, 0.4);
  box-shadow: var(--shadow);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(76, 195, 220, 0.1);
  border: 1px solid rgba(76, 195, 220, 0.25);
  color: var(--cyan);
  margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}
.card .card-link .arrow { transition: transform 0.25s; }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* product category cards on home */
.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 4.6;
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 195, 220, 0.45);
  box-shadow: var(--shadow);
}
.industry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.industry-card:hover img { transform: scale(1.07); }
.industry-card .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.05) 30%, rgba(7, 14, 25, 0.92) 88%);
}
.industry-card .info { position: relative; z-index: 2; padding: 26px; width: 100%; }
.industry-card .info h3 { font-size: 20px; }
.industry-card .info p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.industry-card:hover .info p { max-height: 80px; opacity: 1; margin-top: 10px; }
.industry-card .num {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 2;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(233, 240, 247, 0.55);
  font-variant-numeric: tabular-nums;
}
.industry-card .num::after {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background: var(--red);
  margin-top: 6px;
}

/* ============================================================
   Split section (about preview / capability)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.split .media:hover img { transform: scale(1.04); }
.split .media .badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(9, 18, 30, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--muted);
}
.split .media .badge strong { color: var(--cyan); font-size: 15px; }
.split .body h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; margin: 14px 0 20px; }
.split .body p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15px;
}
.check-list .tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(213, 62, 43, 0.16);
  border: 1px solid rgba(213, 62, 43, 0.45);
  color: var(--red-hi);
  display: grid;
  place-items: center;
  font-size: 11px;
}

/* ============================================================
   Brand marquee (维保覆盖品牌)
   ============================================================ */
.marquee-section { padding: 64px 0; border-block: 1px solid var(--line); background: var(--bg-soft); }
.marquee-title {
  text-align: center;
  color: var(--faint);
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: 36px;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-chip {
  padding: 12px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
  transition: all 0.25s;
}
.brand-chip:hover { color: #fff; border-color: var(--red); background: rgba(213, 62, 43, 0.08); }

/* ============================================================
   Product page — tabs & sections
   ============================================================ */
.product-tabs {
  position: sticky;
  top: 64px;
  z-index: 60;
  background: rgba(9, 17, 28, 0.9);
  backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}
.product-tabs .tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
}
.product-tabs .tabs::-webkit-scrollbar { display: none; }
.product-tabs a {
  flex: 0 0 auto;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.25s;
  white-space: nowrap;
}
.product-tabs a:hover { color: #fff; }
.product-tabs a.active {
  color: #fff;
  background: rgba(213, 62, 43, 0.16);
  border-color: rgba(213, 62, 43, 0.5);
}

.product-section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.product-section:last-of-type { border-bottom: 0; }
.product-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 18px; }
.product-head .idx {
  font-size: 15px;
  color: var(--red-hi);
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}
.product-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.product-section .lead { color: var(--muted); max-width: 860px; }

.spec-panel {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
}
.spec-panel .spec-title {
  padding: 16px 26px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
  background: rgba(76, 195, 220, 0.05);
}
.spec-rows { display: grid; }
.spec-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--faint); display: flex; align-items: center; gap: 10px; }
.spec-row dt::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--red); }
.spec-row dd { color: var(--text); }

.gallery { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }
.gallery.g3 { grid-template-columns: repeat(3, 1fr); }
.gallery figure {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: #05090f;
}
.gallery figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.55s var(--ease); }
.gallery.g-tall figure img { aspect-ratio: 3 / 3.6; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure::after {
  content: '⤢';
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 15px;
  color: #fff;
  background: rgba(9, 18, 30, 0.65);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 9px;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery figure:hover::after { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 8, 14, 0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
  border: 1px solid var(--line);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}
.lightbox.show img { transform: scale(1); }
.lightbox .lb-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: all 0.25s;
}
.lightbox .lb-close:hover { background: var(--red); border-color: var(--red); }

/* ============================================================
   Equipment gallery page
   ============================================================ */
.equip-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05090f;
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.equip-card:hover { transform: translateY(-5px); border-color: rgba(76, 195, 220, 0.4); box-shadow: var(--shadow); }
.equip-card .ph { overflow: hidden; }
.equip-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease); }
.equip-card:hover img { transform: scale(1.06); }
.equip-card .cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.equip-card .cap span { color: var(--faint); font-size: 12.5px; letter-spacing: 0.16em; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  margin: 96px auto;
  padding: 60px 56px;
  border-radius: 20px;
  border: 1px solid rgba(213, 62, 43, 0.35);
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(213, 62, 43, 0.18), transparent 60%),
    linear-gradient(120deg, #0d2036, #102a44);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px dashed rgba(120, 170, 210, 0.25);
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  border: 1px dashed rgba(120, 170, 210, 0.18);
  border-radius: 50%;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; }
.cta-band p { color: var(--muted); margin-top: 10px; }
.cta-band .tel-big {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 34px;
  border-radius: var(--radius);
  background: rgba(8, 16, 28, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.cta-band .tel-big .lbl { font-size: 13px; color: var(--faint); letter-spacing: 0.2em; }
.cta-band .tel-big strong {
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.cta-band .tel-big:hover strong { color: var(--cyan); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #060d16;
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand img { height: 44px; margin-bottom: 22px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 380px; }
.footer-slogan {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--cyan);
}
.footer-col h4 {
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--red);
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--cyan); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 14.5px;
  align-items: flex-start;
}
.footer-contact .fi { color: var(--cyan); margin-top: 4px; flex: 0 0 auto; }
.footer-contact strong { color: #fff; font-size: 17px; font-variant-numeric: tabular-nums; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 13px;
}
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--cyan); }

/* back to top */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(12, 24, 40, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 17px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ============================================================
   Timeline (about / support)
   ============================================================ */
.feature-list { display: grid; gap: 18px; }
.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(18, 37, 58, 0.4));
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.feature-item:hover { border-color: rgba(76, 195, 220, 0.4); transform: translateX(6px); }
.feature-item .no {
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(76, 195, 220, 0.6);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.feature-item h3 { font-size: 17px; margin-bottom: 6px; }
.feature-item p { color: var(--muted); font-size: 14px; }

/* base cards (about/contact) */
.base-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  background: linear-gradient(180deg, var(--surface), rgba(18, 37, 58, 0.4));
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.base-card:hover { border-color: rgba(76, 195, 220, 0.4); transform: translateY(-4px); }
.base-card .tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  border: 1px solid rgba(76, 195, 220, 0.35);
  background: rgba(76, 195, 220, 0.07);
  margin-bottom: 18px;
}
.base-card h3 { font-size: 21px; margin-bottom: 8px; }
.base-card .en { color: var(--faint); font-size: 12.5px; letter-spacing: 0.22em; margin-bottom: 18px; }
.base-card p { color: var(--muted); font-size: 14.5px; }

/* values grid */
.value-card { text-align: left; }
.value-card .vnum {
  font-size: 14px;
  color: var(--red-hi);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: block;
}

/* ============================================================
   Responsive
   ============================================================ */
/* ---------- Wide screens (≥1600px): 放宽内容列, 避免两侧空档 ---------- */
@media (min-width: 1600px) {
  :root { --container: 1440px; }
  /* 首屏文案列同步放宽, 避免大屏上标题出现孤字换行 */
  .hero-inner { max-width: 960px; }
}

@media (min-width: 1920px) {
  :root { --container: 1560px; }
}

@media (max-width: 1080px) {
  .header-phone { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.g3, .gallery.g2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(3) { grid-column: span 2; border-right: 0; }
  .hero-stats .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .cta-band { padding: 44px 32px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery, .gallery.g2, .gallery.g3 { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 20px !important; }
  .hero { min-height: 92svh; }
  .hero-actions .btn { padding: 13px 24px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .brand img { height: 38px; }
  .section-head { margin-bottom: 40px; }
  .gallery, .gallery.g2, .gallery.g3 { grid-template-columns: 1fr; }
  .product-tabs { top: 63px; }
}
