/* ============================================
   诸暨创昇机械官网 — 主样式
   风格：深色科技风，深海军蓝 + 青色高亮
   ============================================ */

:root {
  --c-bg:        #0a0f1e;
  --c-bg-2:      #0e1428;
  --c-bg-3:      #131a30;
  --c-panel:     rgba(255,255,255,0.04);
  --c-panel-2:   rgba(255,255,255,0.06);
  --c-border:    rgba(255,255,255,0.08);
  --c-border-strong: rgba(255,255,255,0.15);
  --c-text:      #e6ecf5;
  --c-text-dim:  #a0a8b8;
  --c-text-mute: #6c7689;
  --c-accent:    #5fb6ff;
  --c-accent-2:  #1e90ff;
  --c-accent-3:  #95d6ff;
  --c-warn:      #ffb84a;
  --c-danger:    #ff5e6e;
  --c-good:      #38d39f;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-md: 0 6px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   SVG 图标系统（替代 emoji）
   - 默认 .icon 是内联可继承颜色的 stroke 图标
   - .icon-circle 用作圆形/方形背景容器
   ============================================ */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--c-text);
}
.icon-card {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(95,182,255,0.18), rgba(30,144,255,0.08));
  border: 1px solid rgba(95,182,255,0.25);
  color: var(--c-accent-3);
}
.icon-card .icon { width: 28px; height: 28px; }
/* footer / 列表等内联小图标：默认 16px */
.icon-sm { width: 16px; height: 16px; }
/* 列表前缀对勾等 */
.icon-lg { width: 36px; height: 36px; }

a { color: var(--c-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent-3); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 880px; }

/* ============= Header ============= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,15,30,.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav-wrap { display: flex; align-items: center; gap: 20px; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; }
.brand-text small { font-size: 10.5px; color: var(--c-text-dim); letter-spacing: .5px; }

.primary-nav { display: flex; gap: 14px; margin-left: auto; }
.primary-nav a {
  color: var(--c-text-dim);
  font-size: 14px;
  position: relative;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  gap: 1px;
}
.primary-nav a .nav-zh { font-size: 14px; }
.primary-nav a .nav-en {
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .6;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--c-text); }
.primary-nav a:hover .nav-en, .primary-nav a.active .nav-en { color: var(--c-accent); opacity: 1; }
.primary-nav a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--c-accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--c-text); font-size: 26px;
  margin-left: auto; cursor: pointer;
}

/* ============= Hero ============= */
.hero {
  position: relative;
  min-height: 540px;
  padding: 80px 0 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(.8) brightness(.6);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,15,30,.85) 0%, rgba(10,15,30,.65) 60%, rgba(10,15,30,.85) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero-tag {
  display: inline-block;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 16px;
  padding: 4px 14px;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  background: rgba(95,182,255,.08);
}
.hero-title { font-size: 56px; line-height: 1.1; margin: 0 0 14px; font-weight: 700; }
.hero-subtitle { font-size: 22px; color: var(--c-accent-3); margin: 0 0 18px; font-weight: 400; }
.hero-desc { font-size: 16px; color: var(--c-text-dim); max-width: 720px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 0;
  list-style: none; margin: 0;
  max-width: 720px;
}
.hero-stats li {
  background: var(--c-panel); border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 18px 16px;
}
.hero-stats strong { font-size: 28px; color: var(--c-accent); display: block; }
.hero-stats span { font-size: 12.5px; color: var(--c-text-dim); }

/* ============= Buttons ============= */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary { background: var(--c-accent); color: #061525; }
.btn-primary:hover { background: var(--c-accent-3); color: #061525; }
.btn-ghost { background: transparent; color: var(--c-text); border-color: var(--c-border-strong); }
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn-outline { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.btn-outline:hover { background: var(--c-accent); color: #061525; }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* ============= Logo 编辑（后台公司信息） ============= */
.logo-edit { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.logo-preview { max-height: 60px; width: auto; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; padding: 8px; align-self: flex-start; }
.hero-preview { width: 100%; max-width: 460px; height: 130px; object-fit: cover; border: 1px solid var(--c-border); border-radius: 8px; align-self: flex-start; }
.logo-form { display: flex; align-items: center; gap: 12px; }
.logo-form input[type="file"] { font-size: 13px; }
.hint { font-size: 12px; color: var(--c-text-2); line-height: 1.6; margin: 0; }
.hint code { background: var(--c-bg-2); padding: 1px 5px; border-radius: 4px; }
.ok-msg { color: #1a9e57; font-size: 13px; font-weight: 600; margin: 0; }
.err-msg { color: var(--c-danger); font-size: 13px; font-weight: 600; margin: 0; }

/* ============= Sections ============= */
.section { padding: 80px 0; }
.section-alt { background: var(--c-bg-2); }
.section-dark { background: var(--c-bg-2); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: 3px;
  color: var(--c-accent); text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 36px; margin: 0 0 12px; font-weight: 600; }
.section-lead { color: var(--c-text-dim); font-size: 16px; max-width: 700px; margin: 0 auto; }

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

/* ============= Grids ============= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.two-col h2:first-child { margin-top: 0; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }

.sol-image {
  background-size: cover; background-position: center;
  border-radius: var(--r-lg);
  min-height: 280px;
  border: 1px solid var(--c-border);
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .hero-title { font-size: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--c-bg-2); flex-direction: column; padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--c-border); }
  .primary-nav.open { display: flex; }
}

/* ============= Card ============= */
.card {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(95,182,255,.14), rgba(30,144,255,.06));
  border: 1px solid rgba(95,182,255,.22);
  color: var(--c-accent-3);
  margin-bottom: 16px;
}
.card-icon .icon { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { color: var(--c-text-dim); font-size: 14px; margin: 0; }

/* ============= Product Cards ============= */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

.product-card, .product-card-lg {
  display: block;
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.product-card:hover, .product-card-lg:hover {
  border-color: var(--c-accent);
  transform: translateY(-3px);
}
.product-card-image {
  height: 200px;
  background-size: cover; background-position: center;
  background-color: var(--c-bg-3);
}
.product-card-body { padding: 22px; position: relative; }
.product-card-body h3 { margin: 0 0 4px; font-size: 17px; }
.product-card-en { color: var(--c-text-mute); font-size: 12.5px; margin: 0 0 10px; }
.product-card-tag {
  color: var(--c-accent); font-size: 12.5px; margin: 8px 0 12px;
  border-left: 3px solid var(--c-accent);
  padding-left: 10px;
}
.product-card-models { color: var(--c-text-dim); font-size: 13px; }
.link-arrow { color: var(--c-accent); font-size: 13px; }

.badge {
  display: inline-block; font-size: 11px;
  padding: 2px 8px; border-radius: 4px;
  background: var(--c-accent); color: #061525;
  margin-right: 4px;
}
.badge.type { background: rgba(95,182,255,.15); color: var(--c-accent); border: 1px solid var(--c-accent); }

/* ============= App cards ============= */
.app-card {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px;
}
.app-icon { font-size: 36px; margin-bottom: 14px; }
.app-card h3 { margin: 0 0 8px; }
.app-card p { color: var(--c-text-dim); font-size: 14px; margin: 0; }

/* ============================================
   应用领域网格卡片
   - 与 /applications 频道共用
   - 3-8 个项目自适应：>=4 用 4 列；3 列 → 3 列；2 撑开
   ============================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 0 0;
}
.app-grid .app-tile {
  background: linear-gradient(180deg, rgba(95,182,255,.07), rgba(255,255,255,.02));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.app-grid .app-tile:hover {
  border-color: rgba(95,182,255,.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.app-grid .app-tile .tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(95,182,255,.12);
  color: var(--c-accent-3);
  margin-bottom: 4px;
}
.app-grid .app-tile .tile-icon .icon { width: 24px; height: 24px; }
.app-grid .app-tile h3 { margin: 0; font-size: 17px; }
.app-grid .app-tile p {
  margin: 0; color: var(--c-text-dim); font-size: 13.5px; line-height: 1.55;
}
/* 3 项 → 3 列 */
@media (max-width: 1100px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .app-grid { grid-template-columns: 1fr; } }

.app-list { display: flex; flex-direction: column; gap: 32px; }
.app-item {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 32px; background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.app-item-image {
  background-size: cover; background-position: center;
  min-height: 280px;
}
.app-item-body { padding: 32px; }
.app-icon-lg { font-size: 42px; margin-bottom: 14px; }
.app-item-body h2 { margin: 0 0 6px; }
.app-item-body p { color: var(--c-text-dim); margin: 12px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; margin: 8px 0 0; }
.tag-list li {
  background: rgba(95,182,255,.1); color: var(--c-accent);
  padding: 4px 10px; border-radius: 4px; font-size: 12.5px;
}
@media (max-width: 760px) {
  .app-item { grid-template-columns: 1fr; }
  .app-item-image { min-height: 200px; }
}

/* ============= Capability rows ============= */
.cap-row {
  display: grid; grid-template-columns: 70px 1fr; gap: 18px;
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 22px;
}
.cap-row-num {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(95,182,255,.16), rgba(30,144,255,.06));
  border: 1px solid rgba(95,182,255,.22);
  color: var(--c-accent-3);
  font-size: 22px; font-weight: 700; line-height: 1;
}
.cap-row h4 { margin: 0 0 6px; }
.cap-row p { color: var(--c-text-dim); margin: 0; font-size: 14px; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-card {
  background: var(--c-panel); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 24px; position: relative;
}
.cap-num {
  position: absolute; top: 14px; right: 18px;
  font-size: 32px; color: var(--c-accent); font-weight: 700; opacity: .6;
}
.cap-card h3 { margin: 0 0 8px; font-size: 16px; }
.cap-card p { color: var(--c-text-dim); margin: 0; font-size: 14px; }

/* ============= Highlight ============= */
.highlight-card {
  background: var(--c-panel); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 22px;
}
.highlight-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(56,211,159,.15); color: var(--c-good);
  margin-bottom: 12px;
}
.highlight-check .icon { width: 18px; height: 18px; }
.highlight-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(95,182,255,.14), rgba(30,144,255,.06));
  border: 1px solid rgba(95,182,255,.22);
  color: var(--c-accent-3);
  margin-bottom: 14px;
}
.highlight-icon .icon { width: 24px; height: 24px; }
.highlight-card h4 { margin: 0 0 6px; font-size: 15px; }
.highlight-card.big h3 { margin: 0 0 6px; font-size: 16px; }
.highlight-card p { color: var(--c-text-dim); font-size: 13.5px; margin: 0; }

/* ============= News ============= */
.news-card, .news-row {
  display: block;
  background: var(--c-panel); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 24px; color: inherit;
  transition: border-color .2s;
}
.news-card:hover, .news-row:hover { border-color: var(--c-accent); }
.news-card-date { color: var(--c-text-mute); font-size: 12.5px; margin-bottom: 10px; }
.news-card h3 { margin: 0 0 8px; font-size: 17px; }
.news-card p { color: var(--c-text-dim); font-size: 14px; margin: 0 0 12px; }
.news-card { padding: 0; overflow: hidden; }
.news-card-img {
  height: 160px;
  background-size: cover; background-position: center;
  background-color: var(--c-bg-3);
  display: flex; align-items: center; justify-content: center;
}
.news-card-img--placeholder {
  background: linear-gradient(135deg, var(--c-accent), #5fb6ff);
  color: #fff;
}
.news-card-img--placeholder span { font-size: 38px; font-weight: 700; opacity: .85; }
.news-card-body { padding: 24px; }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row {
  display: grid; grid-template-columns: 110px 1fr 140px;
  gap: 24px; align-items: stretch;
}
.news-row-img {
  width: 110px;
  height: 100%;
  min-height: 84px;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-2);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.news-row-img--placeholder {
  background: linear-gradient(135deg, var(--c-accent), #5fb6ff);
  color: #fff;
}
.news-row-img-initial {
  font-size: 38px;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 1px;
}
.news-row-body { display: flex; flex-direction: column; justify-content: center; }
.news-row-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
}
.news-row-body p {
  color: var(--c-text-dim);
  font-size: 14px;
  margin: 0 0 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row-body-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.news-row-cat {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(95,182,255,.12);
  color: var(--c-accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.news-row-date {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.news-row-date .news-row-date-day {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.news-row-date .news-row-date-text {
  font-size: 12.5px;
  color: var(--c-text-mute);
  font-variant-numeric: tabular-nums;
}
.news-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--c-text-mute);
  font-size: 14px;
  border: 1px dashed var(--c-border);
  border-radius: var(--r-md);
}
@media (max-width: 760px) {
  .news-row { grid-template-columns: 100px 1fr; gap: 14px; }
  .news-row-date {
    grid-column: 1 / -1;
    text-align: left;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    border-top: 1px dashed var(--c-border);
    padding-top: 10px;
  }
  .news-row-date .news-row-date-day { font-size: 18px; }
}

.news-detail-meta { color: var(--c-text-dim); margin-bottom: 8px; font-size: 13.5px; }
.prose { color: var(--c-text); }
.prose p { margin: 0 0 16px; }
.news-detail-foot { margin-top: 32px; }
.news-detail-hero {
  width: 100%;
  height: 360px;
  background-size: cover; background-position: center;
  background-color: var(--c-bg-3);
  border-radius: var(--r-md);
  margin: 24px 0 28px;
}
@media (max-width: 760px) {
  .news-detail-hero { height: 220px; }
}

/* ============= Info table ============= */
.info-table {
  width: 100%; border-collapse: collapse;
  background: var(--c-panel);
  border-radius: var(--r-md);
  overflow: hidden;
}
.info-table th, .info-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  font-size: 14px;
}
.info-table th {
  width: 30%;
  text-align: left;
  color: var(--c-text-dim);
  font-weight: 500;
  background: var(--c-bg-3);
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ============= Param table (product detail) ============= */
.param-table {
  width: 100%; border-collapse: collapse;
  background: var(--c-bg);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.param-table th, .param-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
}
.param-table th {
  text-align: left;
  color: var(--c-text-dim);
  width: 45%;
  font-weight: 500;
  background: var(--c-bg-2);
}
.param-table tr:last-child th, .param-table tr:last-child td { border-bottom: none; }

/* ============= Model blocks ============= */
.model-block {
  background: var(--c-panel); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 28px; margin-bottom: 20px;
}
.model-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.model-head h3 { margin: 0; font-size: 20px; }
.model-meta { display: flex; gap: 6px; }
.model-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 24px;
  align-items: start;
}
.model-image {
  width: 100%;
  height: 240px;
  background: var(--c-bg-3);
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  position: relative;
}
.model-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity .2s;
}
.model-img:hover { opacity: .9; }

/* ============= Lightbox（产品图放大查看） ============= */
.lb-overlay {
  position: fixed; inset: 0;
  background: rgba(5,8,16,.94);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; cursor: zoom-out;
}
.lb-overlay.show { display: flex; }
.lb-stage {
  position: relative;
  max-width: 92vw; max-height: 92vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 92vw; max-height: 92vh;
  object-fit: contain;
  cursor: zoom-in;
  transform-origin: center center;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
  background: #fff;
  border-radius: 4px;
}
.lb-close {
  position: absolute; top: -16px; right: -16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-panel); border: 1px solid var(--c-border); color: var(--c-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; cursor: pointer; z-index: 2;
}
.lb-close:hover { border-color: var(--c-accent); color: var(--c-accent); }
.lb-hint {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  color: var(--c-text-dim); font-size: 12px; white-space: nowrap;
}
@media (max-width: 760px) {
  .model-grid { grid-template-columns: 1fr; }
}

/* ============= Page hero ============= */
.page-hero {
  padding: 80px 0 56px;
  background:
    linear-gradient(180deg, rgba(10,15,30,.85), rgba(10,15,30,.95)),
    var(--c-bg-2);
  border-bottom: 1px solid var(--c-border);
}
.page-hero h1 { font-size: 44px; margin: 0 0 6px; }
.page-hero-en { color: var(--c-text-dim); font-size: 14px; margin: 0 0 12px; }
.page-hero-lead { color: var(--c-text-dim); font-size: 16px; max-width: 800px; margin: 16px 0 0; }

.lead { font-size: 17px; color: var(--c-text); }
.lead-en { color: var(--c-text-dim); font-style: italic; }

.text-en { color: var(--c-text-dim); font-size: 14px; }
.small { font-size: 12.5px !important; }

/* ============= Breadcrumbs ============= */
.breadcrumbs { color: var(--c-text-dim); font-size: 13px; margin-bottom: 16px; }
.breadcrumbs a { color: var(--c-text-dim); }
.breadcrumbs .sep { margin: 0 6px; color: var(--c-text-mute); }
.breadcrumbs span:not(.sep) { color: var(--c-text); }

/* ============= CTA section ============= */
.section-cta {
  background: linear-gradient(135deg, rgba(95,182,255,.12), rgba(30,144,255,.04));
}
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-wrap h2 { margin: 0 0 8px; }
.cta-wrap p { color: var(--c-text-dim); margin: 0; }
.cta-actions { display: flex; gap: 12px; }

/* ============= Footer ============= */
.site-footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: 56px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px; padding-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 { font-size: 14px; margin: 0 0 14px; color: var(--c-text); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; color: var(--c-text-dim); font-size: 13.5px; }
.footer-col a { color: var(--c-text-dim); }
.footer-col a:hover { color: var(--c-accent); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-mark { width: 36px; height: 36px; }
.footer-brand strong { font-size: 15px; }
.footer-slogan { color: var(--c-text); margin: 0 0 4px; }
.footer-slogan-en { color: var(--c-text-mute); font-size: 12.5px; margin: 0; }
.contact-list { padding: 0; margin: 0; list-style: none; }
.contact-list li {
  font-size: 13px;
  color: var(--c-text-dim);
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0;
}
.contact-list li .icon { color: var(--c-accent); }
.contact-list a { color: var(--c-text-dim); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 20px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--c-text-mute);
}