/* ===========================================================
   宏辉玻璃钢格栅 · 官网样式
   深墨黑 + 古铜金，工业高端风
   =========================================================== */

:root {
  --ink: #08090A;
  --ink-1: #0C0E10;
  --ink-2: #121518;
  --ink-3: #191D21;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #EAEBEC;
  --text-soft: #C2C6CA;
  --muted: #8B9197;
  --gold: #C9A56A;
  --gold-bright: #E7CE9E;
  --gold-deep: #9A7A42;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1280px;
  --font: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* 背景纹理：极细网格 + 金色光晕 */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
}

main { position: relative; z-index: 1; }

/* ---------------------------- 顶部导航 ---------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
}
.site-header::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 165, 106, .55), transparent);
}
.site-header.is-scrolled {
  background: rgba(8, 9, 10, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; color: var(--gold); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; font-weight: 500; letter-spacing: .16em; }
.brand-text em {
  font-style: normal; font-size: 8.5px; letter-spacing: .42em;
  color: var(--gold); text-transform: uppercase; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-tel {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-soft);
  letter-spacing: .04em;
  transition: color .3s;
}
.header-tel svg { width: 16px; height: 16px; color: var(--gold); }
.header-tel:hover { color: var(--gold-bright); }

.nav-toggle {
  display: none; width: 40px; height: 40px; background: none; border: 0; padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 20px; height: 1.4px; background: var(--text);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------------------- 按钮 ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px;
  font-size: 14px; letter-spacing: .1em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #17130A;
  font-weight: 500;
  box-shadow: 0 8px 26px -14px rgba(201, 165, 106, .9);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(201, 165, 106, .95); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(201, 165, 106, .06); }
.btn-sm { padding: 11px 22px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 42px; }

/* ---------------------------- 通用区块 ---------------------------- */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 84px 0; }
.section-alt { background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 58px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); opacity: .7; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); opacity: .7; }

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.section-title b { font-weight: 500; color: #fff; }
.section-desc { margin-top: 20px; color: var(--muted); font-size: 15.5px; line-height: 1.9; }

/* ---------------------------- HERO ---------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('/uploads/hero/hero.webp');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 26s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 7, 8, .96) 0%, rgba(6, 7, 8, .86) 38%, rgba(6, 7, 8, .35) 72%, rgba(6, 7, 8, .62) 100%),
    linear-gradient(180deg, rgba(6, 7, 8, .8) 0%, transparent 26%, rgba(6, 7, 8, .9) 100%);
}
.hero-inner { max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 10px;
  border: 1px solid rgba(201, 165, 106, .35);
  background: rgba(201, 165, 106, .07);
  border-radius: 100px;
  font-size: 12.5px; letter-spacing: .12em; color: var(--gold-bright);
  margin-bottom: 34px;
}
.hero-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,165,106,.16); }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.hero h1 span { display: block; }
.hero h1 .accent {
  font-weight: 500;
  background: linear-gradient(100deg, #F3E3C4 10%, var(--gold) 55%, #A8854A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin-top: 28px;
  max-width: 540px;
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.hero-stats {
  margin-top: 86px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.hero-stat { padding-right: 20px; }
.hero-stat .num {
  /* 用 flex + baseline 对齐，数字与单位永远不会叠在一起（inline + margin 在
     字体回退、缩放、动画中间态下都可能挤到一块） */
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 300;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  white-space: nowrap;
  line-height: 1.2;
}
.hero-stat .num > span {
  display: inline-block;
  min-width: 2ch;
  text-align: right;
}
.hero-stat .num small {
  flex: none;
  font-size: 13.5px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.hero-stat .lbl { margin-top: 6px; font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase;
}
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent); }

/* 视口高度不足时，hero 已被内容撑满，Scroll 提示会压到「年产能」上，直接隐藏 */
@media (max-height: 980px) {
  .scroll-hint { display: none; }
}

/* ---------------------------- 产品卡片 ---------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-1);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 165, 106, .42);
  box-shadow: 0 26px 54px -30px rgba(0, 0, 0, .9);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #1b1f23, #0a0b0c 75%);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s;
  filter: saturate(.96) contrast(1.04);
}
.product-card:hover .product-media img { transform: scale(1.06); filter: saturate(1.06) contrast(1.06); }
.product-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 10, .86));
}

.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 11px;
  font-size: 11px; letter-spacing: .16em;
  color: var(--gold-bright);
  border: 1px solid rgba(201, 165, 106, .3);
  background: rgba(10, 11, 12, .6);
  backdrop-filter: blur(6px);
}

.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-model { font-size: 19px; font-weight: 500; color: #fff; letter-spacing: .01em; }
.product-specs {
  margin-top: 10px;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 12.5px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.product-specs span { position: relative; }
.product-specs span + span::before {
  content: "·"; position: absolute; left: -9px; color: rgba(255,255,255,.22);
}
.product-desc {
  margin-top: 14px;
  font-size: 13.5px; line-height: 1.75; color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 48px;
}
.product-foot {
  margin-top: auto; padding-top: 20px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.price { display: flex; align-items: baseline; gap: 3px; color: var(--gold-bright); }
.price .cur { font-size: 14px; opacity: .85; }
.price .val { font-size: 30px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price .unit { font-size: 12px; color: var(--muted); margin-left: 2px; }
.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted); letter-spacing: .08em;
  transition: color .3s, gap .3s;
}
.product-link svg { width: 13px; height: 13px; }
.product-card:hover .product-link { color: var(--gold-bright); gap: 10px; }

.product-note {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.product-note .tip { display: flex; align-items: center; gap: 8px; }
.product-note .tip svg { width: 15px; height: 15px; color: var(--gold); opacity: .8; }

/* 厚度筛选 */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 42px;
}
.filter-bar .label { font-size: 12px; letter-spacing: .18em; color: var(--muted); margin-right: 8px; }
.chip {
  padding: 9px 20px;
  font-size: 13px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--line-strong); color: #fff; }
.chip.active {
  border-color: var(--gold);
  background: rgba(201, 165, 106, .12);
  color: var(--gold-bright);
}

/* ---------------------------- 优势 ---------------------------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.adv-item {
  background: var(--ink);
  padding: 44px 34px 46px;
  position: relative;
  transition: background .5s;
}
.adv-item:hover { background: var(--ink-2); }
.adv-item .idx {
  font-size: 11px; letter-spacing: .2em; color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.adv-icon { width: 42px; height: 42px; margin: 22px 0 24px; color: var(--gold); }
.adv-icon svg { width: 100%; height: 100%; }
.adv-item h3 { font-size: 18px; font-weight: 500; color: #fff; letter-spacing: .01em; }
.adv-item p { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ---------------------------- 规格表 ---------------------------- */
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--ink-1); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.spec-table th {
  text-align: left;
  padding: 18px 24px;
  font-size: 11.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  white-space: nowrap;
}
.spec-table td {
  padding: 19px 24px;
  font-size: 14px;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr { transition: background .3s; }
.spec-table tbody tr:hover { background: rgba(201, 165, 106, .045); }
.spec-table .model { color: #fff; font-weight: 500; }
.spec-table .price-cell { color: var(--gold-bright); }
.spec-table .price-cell small { color: var(--muted); font-size: 11.5px; margin-left: 3px; }

/* ---------------------------- 案例 ---------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-1);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s;
}
.case-card:hover { transform: translateY(-5px); border-color: rgba(201, 165, 106, .35); }
.case-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,10,.2), rgba(8,9,10,.92) 88%);
}
.case-body { padding: 26px 28px 30px; position: relative; margin-top: -56px; z-index: 2; }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 11.5px; color: var(--gold); letter-spacing: .14em;
  margin-bottom: 12px;
}
.case-title { font-size: 21px; font-weight: 500; color: #fff; line-height: 1.45; }
.case-summary { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.case-metrics {
  display: flex; flex-wrap: wrap; gap: 30px;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
}
.case-metric .v { font-size: 19px; color: var(--gold-bright); font-weight: 300; letter-spacing: -.01em; }
.case-metric .l { font-size: 11.5px; color: var(--muted); margin-top: 2px; letter-spacing: .06em; }

/* ---------------------------- CTA ---------------------------- */
.cta-band {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 120% at 20% 50%, rgba(201, 165, 106, .13), transparent 70%);
}
.cta-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 300; line-height: 1.3; }
.cta-inner h2 b { color: var(--gold-bright); font-weight: 500; }
.cta-inner p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------- 表单 ---------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-size: 12.5px; color: var(--muted); letter-spacing: .1em; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, background .3s;
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #5C6268; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(201, 165, 106, .55);
  background: rgba(201, 165, 106, .04);
}
.field textarea { resize: vertical; min-height: 132px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A56A' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 11px; padding-right: 40px; }
.field select option { background: #14171A; color: var(--text); }

.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.contact-info-item { background: var(--ink); padding: 26px 28px; display: flex; gap: 20px; }
.contact-info-item .ico { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 4px; }
.contact-info-item .ico svg { width: 100%; height: 100%; }
.contact-info-item .k { font-size: 11.5px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.contact-info-item .v { margin-top: 5px; font-size: 16px; color: #fff; letter-spacing: .02em; }
.contact-info-item .v small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; letter-spacing: 0; }

.form-card {
  border: 1px solid var(--line);
  background: var(--ink-1);
  padding: 40px 38px 42px;
}

/* flash */
.flash-wrap { position: fixed; top: 90px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.flash {
  padding: 14px 18px;
  font-size: 13.5px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 21, 24, .96);
  backdrop-filter: blur(10px);
  border-left: 2px solid var(--gold);
  animation: flashIn .4s var(--ease);
}
.flash-error { border-left-color: #D9534F; color: #FFB9B6; }
.flash-success { border-left-color: #5FA86B; color: #B8E4BF; }
@keyframes flashIn { from { opacity: 0; transform: translateX(16px); } }

/* ---------------------------- 页头（内页） ---------------------------- */
.page-hero {
  padding: 168px 0 76px;
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 140% at 15% 0%, rgba(201, 165, 106, .10), transparent 62%),
    var(--ink);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 300; line-height: 1.12; letter-spacing: -.03em; }
.page-hero h1 b { font-weight: 500; color: var(--gold-bright); }
.page-hero p { margin-top: 20px; max-width: 620px; color: var(--muted); font-size: 15px; line-height: 1.9; }

.breadcrumb { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: 30px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .4; }

/* ---------------------------- 产品详情 ---------------------------- */
.product-detail { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: start; }
.detail-media { position: relative; border: 1px solid var(--line); background: var(--ink-1); overflow: hidden; }
.detail-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.detail-price-box {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-top: 34px; padding: 24px 26px;
  border: 1px solid rgba(201, 165, 106, .28);
  background: linear-gradient(135deg, rgba(201, 165, 106, .09), transparent 70%);
}
.detail-price-box .label { font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.detail-price-box .num { font-size: 40px; font-weight: 300; color: var(--gold-bright); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.detail-price-box .num small { font-size: 13px; color: var(--muted); margin-left: 6px; letter-spacing: 0; }

.spec-list { border-top: 1px solid var(--line); margin-top: 34px; }
.spec-row { display: flex; justify-content: space-between; gap: 24px; padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,.055); font-size: 14px; }
.spec-row .k { color: var(--muted); }
.spec-row .v { color: var(--text); text-align: right; }

.feature-list { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.feature-list li { display: flex; gap: 12px; font-size: 14px; color: var(--text-soft); line-height: 1.7; }
.feature-list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--gold); }

.app-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.app-tags span {
  padding: 7px 14px; font-size: 12.5px; color: var(--text-soft);
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
}

.prose { color: var(--text-soft); font-size: 15px; line-height: 2.05; }
.prose p + p { margin-top: 18px; }

/* ---------------------------- 关于 ---------------------------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about-figure { background: var(--ink); padding: 32px 28px; }
.about-figure .num { font-size: 34px; font-weight: 300; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.about-figure .num small { font-size: 14px; margin-left: 3px; }
.about-figure .lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; letter-spacing: .08em; }

.timeline { margin-top: 56px; border-left: 1px solid var(--line); padding-left: 34px; display: flex; flex-direction: column; gap: 34px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -38px; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 165, 106, .14);
}
.timeline-item .yr { font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.timeline-item h4 { margin-top: 8px; font-size: 17px; color: #fff; font-weight: 500; }
.timeline-item p { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ---------------------------- 分页 ---------------------------- */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pager a, .pager span {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; color: var(--text-soft);
  border: 1px solid var(--line);
  transition: all .3s;
}
.pager a:hover { border-color: var(--gold); color: var(--gold-bright); }
.pager .current { background: rgba(201, 165, 106, .14); border-color: var(--gold); color: var(--gold-bright); }
.pager .disabled { opacity: .3; pointer-events: none; }

/* ---------------------------- 页脚 ---------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-1);
  padding: 76px 0 34px;
  position: relative;
  z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.2fr; gap: 56px; }
.brand-footer { margin-bottom: 22px; }
.footer-intro { font-size: 13.5px; color: var(--muted); line-height: 1.9; max-width: 320px; }
.footer-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.footer-contact a { font-size: 17px; color: var(--text); letter-spacing: .04em; transition: color .3s; }
.footer-contact a:hover { color: var(--gold-bright); }
.footer-contact-person {
  font-size: 11.5px; color: #6A7076; letter-spacing: .1em;
  margin-bottom: 10px;
}
.footer-contact-person:last-child { margin-bottom: 0; }
.footer-col h4 {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; font-weight: 400;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 13.5px; color: var(--muted); transition: color .3s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-info li { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.footer-info li span { color: #5F656B; flex: none; width: 30px; }
.footer-bottom {
  margin-top: 60px; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: #6A7076;
}
.footer-meta { display: flex; gap: 18px; flex-wrap: wrap; }

/* 浮动电话 */
.float-cta {
  position: fixed; right: 24px; bottom: 28px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #17130A;
  font-size: 13.5px; font-weight: 500; letter-spacing: .06em;
  box-shadow: 0 12px 34px -14px rgba(201, 165, 106, .8);
  transition: transform .35s var(--ease);
}
.float-cta svg { width: 17px; height: 17px; }
.float-cta:hover { transform: translateY(-3px); }
/* 桌面端顶部已有电话，隐藏浮动按钮避免遮挡内容 */
@media (min-width: 981px) {
  .float-cta { display: none; }
}

/* ---------------------------- 滚动动画 ---------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ---------------------------- 404 ---------------------------- */
.err-wrap { padding: 200px 0 140px; text-align: center; }
.err-wrap .code { font-size: 120px; font-weight: 200; color: transparent; -webkit-text-stroke: 1px rgba(201,165,106,.5); letter-spacing: .1em; }
.err-wrap h1 { margin-top: 16px; font-size: 26px; font-weight: 400; }
.err-wrap p { margin-top: 12px; color: var(--muted); }
.err-wrap .btn { margin-top: 34px; }

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col-wide { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .container { padding: 0 26px; }
  .section { padding: 88px 0; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #08090A;
    backdrop-filter: none;
    border-bottom: 1px solid var(--line);
    padding: 10px 26px 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .35s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 15px; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-tel span { display: none; }
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr; }
  .product-detail, .contact-grid, .about-split { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 60px; }
  .float-cta span { display: none; }
  .float-cta { padding: 15px; border-radius: 50%; }
  .scroll-hint { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { letter-spacing: -.03em; }
  .case-body { padding: 22px 22px 26px; }
  .form-card { padding: 30px 22px; }
  .detail-price-box .num { font-size: 32px; }
}

/* ===========================================================
   移动端适配增强（2026-11）
   =========================================================== */

/* 案例详情：两栏 -> 单栏（原来写在内联样式里，媒体查询覆盖不到） */
.case-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 72px; align-items: start; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.case-gallery img { width: 100%; border: 1px solid var(--line); }

/* 移动端底部固定操作条（默认不显示） */
.mobile-bar { display: none; }

@media (max-width: 980px) {
  .case-detail { grid-template-columns: 1fr; gap: 36px; }
  .case-gallery { grid-template-columns: 1fr; }

  /* 桌面端的浮动电话换成底部操作条，避免遮挡内容 */
  .float-cta { display: none; }

  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    gap: 10px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 9, 10, .94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    flex: 1;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14.5px;
    letter-spacing: .04em;
    border-radius: 2px;
  }
  .mobile-bar svg { width: 17px; height: 17px; }
  .mb-ghost { border: 1px solid var(--line-strong); color: var(--text); }
  .mb-gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
    color: #17130A;
    font-weight: 500;
  }

  body { padding-bottom: 78px; }
  .site-footer { padding-bottom: 40px; }

  /* 移动端表格：加一层渐隐提示可以横向滑动 */
  .spec-table-wrap { position: relative; }
}

/* 触摸设备：取消悬浮位移，松开后不会"卡"在 hover 状态 */
@media (hover: none) {
  .product-card:hover,
  .case-card:hover { transform: none; }
  .product-card:hover .product-media img { transform: none; }
  .case-card:hover .case-media img { transform: none; }
  .btn-gold:hover, .btn-ghost:hover, .float-cta:hover { transform: none; }
}

/* 小屏进一步收紧 */
@media (max-width: 600px) {
  .product-card .product-foot { flex-wrap: wrap; gap: 8px; }
  .product-card .price .val { font-size: 26px; }
  .hero-stats { gap: 18px 12px; }
  .case-metrics { gap: 20px; }
  .contact-info-item { padding: 22px 20px; gap: 14px; }
  .detail-price-box { flex-direction: column; align-items: flex-start; gap: 16px; }
  .detail-price-box .btn { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .page-hero p { font-size: 14.5px; }
  .filter-bar .field { flex: 1 1 100%; }
}

/* 菜单展开时 header 变实底，避免右侧露出背景图 */
.nav-open .site-header {
  background: rgba(8, 9, 10, .98);
  border-bottom-color: var(--line);
}

/* 移动端宽表格的滑动提示 */
.table-hint { display: none; }
@media (max-width: 980px) {
  .table-hint {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .06em;
  }
  .table-hint::before { content: "← "; color: var(--gold); }
  .table-hint::after { content: " →"; color: var(--gold); }
}

/* ===========================================================
   微信二维码弹层
   =========================================================== */

.wx-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wx-modal[hidden] { display: none; }

.wx-mask {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 6, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: wxFade .25s ease;
}

.wx-card {
  position: relative;
  width: min(340px, 86vw);
  background: #fff;
  color: #1A1D21;
  padding: 26px 24px 22px;
  text-align: center;
  animation: wxPop .28s var(--ease);
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .85);
}

.wx-close {
  position: absolute;
  top: 6px; right: 6px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0;
  color: #A6ACB2;
  transition: color .25s;
}
.wx-close svg { width: 16px; height: 16px; }
.wx-close:hover { color: #1A1D21; }

.wx-kicker { font-size: 10px; letter-spacing: .34em; color: #A98545; }
.wx-head h3 { margin-top: 9px; font-size: 19px; font-weight: 500; letter-spacing: 0; }
.wx-head p { margin-top: 7px; font-size: 12.5px; color: #6C737B; }

.wx-img {
  margin: 20px auto 0;
  padding: 8px;
  width: fit-content;
  background: #fff;
  border: 1px solid #E9E4DA;
}
.wx-img img { display: block; width: 228px; height: 228px; object-fit: contain; }

.wx-tip {
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #8A9098;
}

@keyframes wxFade { from { opacity: 0; } }
@keyframes wxPop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
}

/* 底部条：三个按钮时收紧字号 */
@media (max-width: 980px) {
  .mobile-bar a,
  .mobile-bar button {
    flex: 1;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: inherit;
    font-size: 13.5px;
    letter-spacing: .02em;
    border-radius: 2px;
    cursor: pointer;
  }
  .mobile-bar button { background: none; }
  .mobile-bar { gap: 8px; }
}

@media (max-width: 380px) {
  .mobile-bar a, .mobile-bar button { font-size: 12.5px; gap: 5px; }
  .wx-img img { width: 200px; height: 200px; }
}

/* 联系页里的"扫码添加"文字按钮 */
.wx-link {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--gold);
  cursor: pointer;
  border-bottom: 1px solid rgba(201, 165, 106, .35);
  transition: color .25s, border-color .25s;
}
.wx-link:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }
