/* ============================================================
   宏石商贸 · 官网样式  style.css
   移动端优先编写，断点：640 / 900 / 1200
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --ink:        #10242F;
  --ink-2:      #284452;
  --muted:      #5C7080;
  --primary:    #0B3C5D;
  --primary-2:  #123E5C;
  --accent:     #1D8F76;
  --accent-2:   #29ABE2;
  --bg:         #F5F8FA;
  --surface:    #FFFFFF;
  --surface-2:  #EEF3F7;
  --line:       #DEE7ED;
  --warning:    #C9642A;
  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 1px 2px rgba(16,36,47,.06), 0 2px 8px rgba(16,36,47,.04);
  --shadow:     0 4px 12px rgba(16,36,47,.07), 0 12px 32px rgba(16,36,47,.06);
  --shadow-lg:  0 18px 48px rgba(11,60,93,.16);
  --grad:       linear-gradient(135deg, #29ABE2 0%, #1D8F76 100%);
  --grad-dark:  linear-gradient(135deg, #0B3C5D 0%, #123E5C 100%);
  --maxw:       1200px;
  --nav-h:      68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.28; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(29,143,118,.28); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(29,143,118,.36); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-outline:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.24); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- 区块通用 ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--grad-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.82); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head.is-left { margin-inline: 0; text-align: left; }
.badge-pill {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; color: var(--accent); background: rgba(29,143,118,.1); margin-bottom: 12px;
}
.section-dark .badge-pill { color: #7FE3C4; background: rgba(127,227,196,.14); }
.section-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-lead { color: rgba(255,255,255,.82); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: var(--nav-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img, .brand svg { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-weight: 800; font-size: .98rem; color: var(--primary); letter-spacing: .02em; }
.brand-en { font-size: .66rem; font-weight: 700; color: var(--accent); letter-spacing: .18em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 11px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: background .16s ease, color .16s ease;
}
.nav-link:hover { color: var(--accent); background: rgba(29,143,118,.08); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* 语言切换 */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--ink-2);
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; padding: 6px; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px;
  background: none; cursor: pointer; text-align: left; font-size: .9rem; color: var(--ink-2);
}
.lang-item:hover { background: var(--surface-2); color: var(--accent); }
.lang-item[aria-current="true"] { color: var(--accent); font-weight: 700; background: rgba(29,143,118,.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(64px, 10vw, 118px) 0 clamp(52px, 7vw, 84px);
  background: var(--grad-dark); color: #fff; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(1200px 520px at 82% -8%, rgba(41,171,226,.42), transparent 62%),
              radial-gradient(760px 420px at 8% 108%, rgba(29,143,118,.34), transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .badge-pill { background: rgba(127,227,196,.14); color: #7FE3C4; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.12rem); color: rgba(255,255,255,.86); max-width: 60ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-tip { font-size: .86rem; color: rgba(255,255,255,.7); margin: 14px 0 0; }
/* 分子装饰卡 */
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 26px; backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.hero-mol { width: 100%; height: auto; margin-bottom: 18px; }
.hero-formula { text-align: center; font-size: 1.6rem; font-weight: 800; letter-spacing: .04em; margin: 0 0 4px; }
.hero-formula small { display: block; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.66); letter-spacing: .12em; margin-top: 4px; }
.hero-kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.hero-kv div { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; }
.hero-kv dt { font-size: .74rem; color: rgba(255,255,255,.66); margin: 0; }
.hero-kv dd { margin: 2px 0 0; font-weight: 700; font-size: .92rem; }

/* 数字条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(36px, 6vw, 60px); }
.stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 18px; text-align: center;
}
.stat-num { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat-lbl { font-size: .82rem; color: rgba(255,255,255,.72); margin-top: 4px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--grad); color: #fff;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 6px; font-size: 1.06rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.about-bullets li {
  position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-2); font-size: .98rem;
}
.about-bullets li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(29,143,118,.14);
}
.about-bullets li::after {
  content: ''; position: absolute; left: 6px; top: 13px; width: 6px; height: 3px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.about-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-dark);
  color: #fff; padding: 30px; box-shadow: var(--shadow-lg);
}
.about-visual img { border-radius: 12px; }
.about-visual-txt { position: relative; z-index: 2; }
.about-visual h3 { margin-top: 0; }
.about-visual p { color: rgba(255,255,255,.8); font-size: .95rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12);
  font-size: .8rem; font-weight: 600; border: 1px solid rgba(255,255,255,.2);
}

/* ---------- 产品卡 ---------- */
.product-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--grad); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .02em;
}
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.product-sub { color: var(--accent); font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.product-meta { display: grid; gap: 6px; margin: 0 0 16px; font-size: .86rem; color: var(--muted); }
.product-meta div { display: flex; gap: 8px; }
.product-meta b { color: var(--ink-2); font-weight: 600; min-width: 76px; }
.product-foot { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 表 ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
table.data th, table.data td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--surface-2); font-weight: 700; color: var(--primary); font-size: .88rem; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #F8FBFC; }
table.data td:nth-child(2) { color: var(--muted); font-size: .86rem; }
.spec-foot { color: var(--muted); font-size: .88rem; margin-top: 14px; }

/* ---------- 应用 / 优势 ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card {
  position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.app-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad);
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.app-num { font-size: .78rem; font-weight: 800; color: var(--accent); letter-spacing: .1em; margin-bottom: 6px; }
.app-card h3 { font-size: 1.04rem; }
.app-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq-q:hover { background: var(--surface-2); }
.faq-q .ico { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform .25s ease; }
.faq-q .ico::before, .faq-q .ico::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 14px; height: 2px; background: var(--accent);
  transform: translateY(-50%); transition: transform .25s ease; border-radius: 2px;
}
.faq-q .ico::after { transform: translateY(-50%) rotate(90deg); }
.faq-item.open .faq-q .ico::after { transform: translateY(-50%) rotate(0); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- 联系表单 ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
.info-card { background: var(--grad-dark); color: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.info-card h3, .info-card h2 { color: #fff; }
.info-card p { color: rgba(255,255,255,.8); }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.info-row .ico svg { width: 18px; height: 18px; }
.info-row .k { font-size: .78rem; color: rgba(255,255,255,.62); margin: 0; }
.info-row .v { margin: 2px 0 0; font-weight: 600; font-size: .95rem; word-break: break-word; }
.info-row a.v { color: #fff; }
.info-row a.v:hover { color: #7FE3C4; }
.qr-box { margin-top: 18px; text-align: center; }
.qr-box img { width: 132px; height: 132px; border-radius: 12px; background: #fff; padding: 6px; margin-inline: auto; }
.qr-box p { font-size: .82rem; margin-top: 8px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 600; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.req { color: var(--warning); font-size: .76rem; font-weight: 700; }
.opt { color: var(--muted); font-size: .74rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,143,118,.14);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input[type="file"] { padding: 9px; }
.err { color: var(--warning); font-size: .8rem; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--warning); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 4px; }
.form-note { font-size: .82rem; color: var(--muted); max-width: 46ch; margin: 0; }
.form-msg { margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: rgba(29,143,118,.1); color: #146B58; border: 1px solid rgba(29,143,118,.28); }
.form-msg.no { display: block; background: rgba(201,100,42,.1); color: #8E4318; border: 1px solid rgba(201,100,42,.28); }

/* ---------- 页脚 ---------- */
.site-footer { background: #081F31; color: rgba(255,255,255,.72); padding: clamp(48px, 7vw, 72px) 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .02em; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(255,255,255,.72); font-size: .92rem; }
.footer-grid a:hover { color: #7FE3C4; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img, .footer-brand svg { width: 40px; height: 40px; }
.footer-brand .t { font-weight: 800; color: #fff; font-size: 1rem; }
.footer-brand .s { font-size: .68rem; color: #7FE3C4; letter-spacing: .18em; font-weight: 700; }
.footer-desc { font-size: .9rem; max-width: 40ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.footer-contact .k { color: rgba(255,255,255,.5); min-width: 62px; }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .85rem;
}
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 浮动按钮 ---------- */
.fab-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.fab {
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); color: #fff; transition: transform .18s ease, opacity .18s ease; background: var(--primary);
}
.fab svg { width: 22px; height: 22px; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab-wa { background: #25D366; }
.fab-mail { background: var(--accent); }
.fab-wx { background: #07C160; }
.fab-top { background: rgba(11,60,93,.9); opacity: 0; pointer-events: none; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Cookie 提示条 ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 14px 20px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center;
  box-shadow: 0 -6px 20px rgba(16,36,47,.08); transform: translateY(100%); transition: transform .3s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { margin: 0; font-size: .88rem; color: var(--ink-2); max-width: 78ch; }
.cookie-bar a { text-decoration: underline; }

/* ---------- 弹层（微信二维码 / 确认信息） ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(8,31,49,.56); backdrop-filter: blur(3px);
}
.modal.show { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); padding: 26px; max-width: 520px; width: 100%;
  box-shadow: var(--shadow-lg); max-height: 86vh; overflow-y: auto;
}
.modal-box h3 { margin-top: 0; }
.modal-box img { width: 190px; margin: 8px auto 4px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.review-list { margin: 0; }
.review-list div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.review-list b { min-width: 96px; color: var(--muted); font-weight: 600; }
.review-list span { color: var(--ink); word-break: break-word; }

/* ---------- 产品详情页 ---------- */
.crumb { padding: 18px 0 0; font-size: .86rem; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 50px); align-items: start; margin-top: 22px; }
.pd-media { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.pd-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pd-title { margin-top: 0; }
.pd-sub { color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.pd-kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.pd-kv > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.pd-kv dt { font-size: .78rem; color: var(--muted); margin: 0; }
.pd-kv dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.pd-section { margin-top: clamp(38px, 5vw, 56px); }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.pd-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav-wrap { gap: 12px; }
  .nav-link { padding: 8px; font-size: .88rem; }
  .nav-actions .btn-primary { display: none; }
  .hero-grid, .about-grid, .contact-grid, .pd-grid { grid-template-columns: 1fr; }
  .app-grid, .grid-3, .pd-related { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  body.nav-open .nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 1rem; border-radius: 0; }
  .nav-actions { margin-left: auto; }
  .nav-actions .lang { margin-right: 2px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding-inline: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .app-grid, .grid-3, .grid-4, .grid-2, .pd-related { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-kv, .pd-kv { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .product-foot .btn { flex: 1 1 100%; }
  .fab-wrap { right: 12px; bottom: 12px; }
  .fab { width: 46px; height: 46px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .review-list div { flex-direction: column; gap: 2px; }
}
@media (max-width: 380px) {
  .hero-kv, .pd-kv { grid-template-columns: 1fr; }
  .brand-cn { font-size: .9rem; }
}

/* ---------- 打印 & 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .fab-wrap, .cookie-bar, .modal { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   公司相册 + 灯箱 + 产品详情图集
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--surface-2, #eef2f5);
  cursor: zoom-in;
  border: 1px solid var(--line, #dde5ea);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  color: #fff; font-size: .85rem;
  background: linear-gradient(transparent, rgba(6,26,40,.72));
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover figcaption { opacity: 1; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none;
  background: rgba(4, 16, 26, .92);
  padding: 48px 64px;
}
.lightbox.open { display: flex; align-items: center; justify-content: center; }
.lightbox .lb-figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0,0,0,.5);
  object-fit: contain;
}
.lightbox figcaption { color: #d8e6ee; margin-top: 12px; font-size: .95rem; }
.lightbox .lb-btn {
  position: absolute;
  background: rgba(255,255,255,.12);
  color: #fff; border: none; cursor: pointer;
  border-radius: 50%;
  width: 46px; height: 46px;
  font-size: 28px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox .lb-btn:hover { background: rgba(255,255,255,.28); }
.lightbox .lb-close { top: 14px; right: 16px; font-size: 34px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 44px 10px; }
  .lightbox .lb-prev { left: 6px; }
  .lightbox .lb-next { right: 6px; }
}

/* 产品详情页：主图 + 缩略图 */
.pd-mainimg { cursor: zoom-in; }
.pd-mainimg img { transition: opacity .25s ease; }
.pd-thumbs {
  display: flex; gap: 10px;
  padding: 10px;
  flex-wrap: wrap;
}
.pd-thumb {
  width: 84px; height: 84px;
  padding: 0; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden;
  background: #fff; cursor: pointer;
  opacity: .75; transition: opacity .2s ease, border-color .2s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.active { border-color: var(--accent, #1D8F76); opacity: 1; }
