/* =============================================================
   Stride Trading Firm — 样式
   ============================================================= */

:root {
  --navy: #0d2b4b;
  --navy-2: #123a63;
  --gold: #e8a33d;
  --gold-2: #f3c069;
  --ink: #1c2b3a;
  --muted: #5b6b7c;
  --line: #e4e9f0;
  --bg: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(13, 43, 75, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 43, 75, 0.12);
  --shadow-lg: 0 24px 60px rgba(13, 43, 75, 0.18);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }

.icon { vertical-align: middle; flex-shrink: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; transition: all .2s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #1c2b3a; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(232, 163, 61, .35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2f7; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold-2); font-weight: 800; font-size: 16px; letter-spacing: .5px;
  border-radius: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; color: var(--navy); }
.brand-text small { font-size: 11.5px; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink); transition: all .15s ease; }
.nav-link:hover { color: var(--navy); background: var(--bg); }
.nav-link.active { color: var(--navy); background: var(--bg); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600;
  transition: all .15s ease;
}
.lang-toggle:hover { border-color: var(--navy); color: var(--navy); }

.nav-burger { display: none; background: none; border: none; color: var(--navy); padding: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8, 24, 43, .92) 0%, rgba(13, 43, 75, .78) 55%, rgba(13, 43, 75, .45) 100%); }
.hero-inner { position: relative; padding: 96px 0 110px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232, 163, 61, .15); color: var(--gold-2);
  border: 1px solid rgba(232, 163, 61, .35);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.15; font-weight: 800; max-width: 720px; letter-spacing: -.5px; }
.hero p.hero-sub { margin-top: 20px; font-size: 18px; color: #dbe4ef; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; max-width: 620px; font-size: 13.5px; line-height: 1.55; color: #c3d0e0; }
.hero-note .icon { flex: 0 0 auto; margin-top: 2px; color: var(--gold-2); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px; max-width: 760px;
}
.hero-stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.hero-stat b { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 13px; color: #b9c7d8; }

/* ---------- 区块通用 ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 分类卡片 ---------- */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.category-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.category-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover .category-media img { transform: scale(1.07); }
.category-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 43, 75, .55)); }
.cat-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold); color: #1c2b3a; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.category-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.category-body h3 { font-size: 17px; color: var(--navy); }
.category-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.category-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--gold); }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.product-card {
  position: relative; background: #fff; border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(13, 43, 75, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: #f7f9fc; display: grid; place-items: center; color: rgba(255,255,255,.9);
}
.product-media-icon { opacity: .85; }
.product-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  color: var(--navy); font-size: 10.5px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(13,43,75,.1);
}
.product-body { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-name {
  font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-model { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.product-specs { display: grid; gap: 3px; margin-top: 7px; }
.product-specs li { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; line-height: 1.5; }
.product-specs span { color: var(--muted); }
.product-specs b { color: var(--navy); font-weight: 600; text-align: right; }
.product-hl {
  align-self: flex-start; max-width: 100%; margin-top: 10px; padding: 4px 11px;
  background: rgba(232, 163, 61, .14); color: #9a6b12;
  border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.product-moq { flex: 0 1 auto; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-more {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  background: none; border: 0; font-size: 13.5px; font-weight: 600; color: var(--navy);
  white-space: nowrap; transition: color .2s ease, gap .2s ease;
}
.product-more:hover { color: var(--gold); gap: 10px; }
.product-inquire {
  width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(214, 158, 46, .16); color: #b8801f;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.product-inquire:hover { background: var(--gold); color: #1c2b3a; transform: scale(1.06); }

/* ---------- 页面服务承诺条 ---------- */
.service-strip { background: #fff; border-bottom: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-item { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.service-item + .service-item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 36px; background: var(--line);
}
.service-ico {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px;
  display: grid; place-items: center; background: rgba(214, 158, 46, .14); color: #b8801f;
}
.service-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.service-item small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }

/* ---------- 子分类图文入口 ---------- */
.subnav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.subnav-card {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  text-align: left; cursor: pointer; width: 100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.subnav-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.subnav-card.active { border-color: var(--gold); background: rgba(214, 158, 46, .07); }
.subnav-thumb {
  width: 92px; height: 68px; flex: 0 0 auto; border-radius: 10px; overflow: hidden;
  background: #f7f9fc; display: grid; place-items: center;
}
.subnav-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.subnav-text { min-width: 0; }
.subnav-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.subnav-text small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* 产品卡角标 */
.product-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; color: #fff;
}
.badge-hot { background: #d9534f; }
.badge-new { background: #16957f; }

/* ---------- 首页精选（Bento 版式） ---------- */
.featured-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 34px;
}
.featured-head h2 { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.featured-head p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--gold); }
.featured-more {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px;
  border-bottom: 2px solid var(--gold); font-size: 14px; font-weight: 700; color: var(--navy);
  white-space: nowrap; transition: gap .2s ease, color .2s ease;
}
.featured-more::after { content: "\2192"; font-size: 15px; }
.featured-more:hover { color: var(--gold); gap: 13px; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #fff; }

.feat-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: #f7f9fc; display: grid; place-items: center; color: rgba(255,255,255,.92);
}
.feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .55s ease; }
.feat-card:hover .feat-media img { transform: scale(1.07); }
.feat-cat {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  color: var(--navy); font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 8px rgba(13,43,75,.1);
}

.feat-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.feat-name {
  font-size: 16px; line-height: 1.4; color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feat-model {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold);
}
.feat-desc {
  font-size: 14px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.feat-moq { font-size: 12.5px; color: var(--muted); }
.feat-arrow {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; border: 1px solid var(--line);
  color: var(--navy); background: #fff; transition: all .22s ease;
}
.feat-card:hover .feat-arrow { background: var(--gold); border-color: var(--gold); color: #1c2b3a; }
.feat-actions { display: flex; gap: 10px; }

/* 主位大卡：占 2×2 格 */
.feat-spot { grid-column: span 2; grid-row: span 2; border-color: transparent; box-shadow: var(--shadow-sm); }
.feat-spot .feat-media { aspect-ratio: auto; flex: 1; min-height: 240px; background: linear-gradient(140deg, #eef3f9, #e3ebf4); }
.feat-spot .feat-media img { padding: 26px; }
.feat-spot .feat-body { flex: 0 0 auto; padding: 22px 26px 24px; gap: 8px; }
.feat-spot .feat-name { font-size: 22px; }
.feat-spot .feat-model { font-size: 12.5px; }
.feat-spot .feat-cat { font-size: 11.5px; padding: 6px 12px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .25s ease;
}
.why-item:hover { box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(232, 163, 61, .14); color: var(--gold); margin-bottom: 18px;
}
.why-item h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--muted); }

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-teaser-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-teaser-media img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser h2 { font-size: 32px; font-weight: 800; color: var(--navy); }
.about-teaser p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.about-teaser .btn { margin-top: 26px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: 28px; font-weight: 800; }
.cta p { margin-top: 10px; color: #c3d2e3; font-size: 16px; max-width: 520px; }

/* ---------- 页头 banner（内页） ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0; }
.page-hero h1 { font-size: 38px; font-weight: 800; }
.page-hero p { margin-top: 12px; color: #c3d2e3; font-size: 17px; max-width: 640px; }

/* ---------- 产品页 ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-bar-sub { margin-top: 10px; gap: 8px; }
.filter-bar-sub[hidden] { display: none; }
.filter-chip.sub { padding: 5px 13px; font-size: 13px; background: rgba(13, 43, 75, .04); }
.filter-chip.sub.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }

/* 产品分页 */
.pagination { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s ease;
}
.page-btn:hover:not(:disabled) { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: default; }

.search-box { position: relative; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input {
  padding: 11px 16px 11px 42px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; width: 260px; outline: none; font-family: inherit; background: #fff;
}
.search-box input:focus { border-color: var(--navy); }

.result-count { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.coming-soon {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 48px; text-align: center; max-width: 560px; margin: 0 auto;
}
.coming-soon-media { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.coming-soon-media img { width: 100%; height: 100%; object-fit: cover; }
.coming-soon h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.coming-soon p { color: var(--muted); margin-bottom: 22px; }

.empty-state { text-align: center; color: var(--muted); padding: 60px 0; }
.empty-state .icon { margin-bottom: 12px; color: var(--line); }
.empty-state p { font-size: 16px; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 24, 43, .6); backdrop-filter: blur(3px); }
.modal-dialog {
  position: relative; width: 100%; max-width: 880px; max-height: 88vh; overflow: hidden;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.92);
  display: grid; place-items: center; color: var(--navy);
  box-shadow: 0 2px 10px rgba(13,43,75,.15);
}
.modal-media {
  position: relative; display: grid; place-items: center; overflow: hidden; min-height: 0;
  background: var(--bg); color: rgba(255,255,255,.9); border-right: 1px solid var(--line);
}
.modal-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; cursor: zoom-in; transition: filter .15s ease; }
.modal-media img:hover { filter: brightness(1.04); }

/* ---------- 图片放大灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(8,14,26,.93); backdrop-filter: blur(2px);
}
.lightbox.open { display: flex; }
.lightbox img {
  display: block; max-width: 92vw; max-height: 82vh;
  background: #fff; border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  image-rendering: auto;
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1;
  transition: background .15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-bar { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; }
.lightbox-orig { color: rgba(255,255,255,.82); font-size: 13px; text-decoration: underline; }
.lightbox-orig:hover { color: #fff; }
.modal-body { padding: 28px 30px; overflow-y: auto; min-height: 0; }
.modal-body h2 { font-size: 24px; color: var(--navy); }
.modal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.modal-meta b { color: var(--navy); }
.modal-desc { margin-top: 14px; color: var(--muted); }
.modal-section { margin-top: 24px; }
.modal-section h3 { font-size: 16px; color: var(--navy); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec-table tr:nth-child(even) { background: var(--bg); }
.spec-table td { padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; }
.modal-moq { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(232,163,61,.12); color: #a06a12; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.modal-footer { margin-top: 26px; display: flex; gap: 12px; }

/* ---------- 表单 ---------- */
.inquiry-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field label .req { color: #d64545; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  font-size: 14px; font-family: inherit; outline: none; background: #fff; color: var(--ink);
  transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: #e8f6ee; color: #1c7a44; font-size: 14px; font-weight: 500;
}
.form-success.show { display: block; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon-wrap {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: rgba(13, 43, 75, .08); color: var(--navy);
}
.contact-item h4 { font-size: 15px; color: var(--navy); }
.contact-item p, .contact-item a { font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; word-break: normal; line-height: 1.65; }
.contact-item a:hover { color: var(--navy); }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-text h2 { font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.about-text p { color: var(--muted); font-size: 15.5px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.value-card .why-icon { margin-bottom: 14px; }
.value-card h3 { color: var(--navy); margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #c3d2e3; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer-col a { color: #b9c7d8; font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: var(--gold-2); }
.footer-about .brand { margin-bottom: 6px; }
.footer-about .brand-text strong { color: #fff; }
.footer-about p { font-size: 14px; }
.footer-note { font-size: 12px; color: #7e93ab; }
.footer-contact { display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { font-size: 13px; color: #8ba0b8; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(3)::before { display: none; }
  .subnav { grid-template-columns: repeat(2, 1fr); }
  .feat-spot { grid-column: span 2; grid-row: auto; }
  .feat-spot .feat-media { aspect-ratio: 4/3; flex: 0 0 auto; min-height: 0; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px; display: none;
  }
  .main-nav.open { display: flex; }
  .nav-burger { display: inline-flex; }
  .hide-sm { display: none; }
  .about-teaser, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 40px 28px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item { padding: 15px 4px; border-top: 1px solid var(--line); }
  .service-item:first-child { border-top: 0; }
  .service-item + .service-item::before { display: none; }
  .subnav { grid-template-columns: 1fr; }
  .feat-spot { grid-column: auto; }
  .featured-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .featured-head h2 { font-size: 26px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .values-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero p.hero-sub { font-size: 16px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-box input { width: 100%; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .modal { padding: 12px; }
  .modal-dialog { grid-template-columns: 1fr; grid-template-rows: auto; overflow-y: auto; max-height: 92vh; }
  .modal-media { min-height: 0; height: 240px; border-right: none; border-bottom: 1px solid var(--line); }
  .modal-body { overflow: visible; padding: 22px 20px; }
}

/* ---------- 产品图片 & 卖点 & 错误提示 ---------- */
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .55s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }

.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink); }
.feature-list li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}

.form-error {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: #fdeaea; color: #c0392b; font-size: 14px; font-weight: 500;
}
.form-error.show { display: block; }

/* ---------- WhatsApp 悬浮按钮与联系链接 ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px;
  border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28); z-index: 900; transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.contact-link { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.contact-link:hover { color: #25D366; }
