/* ============ 鸿葆辉官网 · 年轻活力设计系统 ============ */
:root {
  --ink: #10141a;
  --ink-2: #3c4450;
  --ink-3: #7a828e;
  --bg: #ffffff;
  --card: #ffffff;
  --line: #e9e9e4;
  --brand: #1f4e8c;
  --brand-2: #1f4e8c;
  --teal: #00c9b7;
  --lime: #c8f542;
  --orange: #b4531e;
  --radius: 24px;
  /* 首屏左右外扩量：背景卡与展示墙各向外扩这么多，下方海报/图文带同步加宽，
     保证首屏上下三块的左右边界严格对齐（小屏自动归零，避免溢出） */
  --ov: 26px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -18px rgba(30, 30, 80, 0.22);
  --shadow-sm: 0 8px 24px -10px rgba(30, 30, 80, 0.16);
  --font: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STZhongsong", "STSong", "SimSun", "NSimSun", "FangSong", "STFangsong", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ---- 通用 ---- */
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: 88px 0; }
.section-head { margin-bottom: 44px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e9eef6; color: var(--brand);
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
h2.title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.25; }
.hl { color: var(--brand); }
.sub { color: var(--ink-3); font-size: 17px; max-width: 640px; margin-top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-weight: 700; font-size: 16px;
  padding: 14px 32px; transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -10px rgba(31, 78, 140, 0.45); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); padding: 12px 30px; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { font-size: 14px; padding: 10px 22px; }
.btn-dark { background: var(--ink); color: #fff; }

/* ---- 导航 ---- */
.site-nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1180px, 94vw); z-index: 100;
  background: #f6f7fa;
  border: 1px solid #e4e6ee;
  border-radius: 999px; box-shadow: 0 10px 30px -14px rgba(24, 26, 48, 0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 22px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; background: var(--brand);
  color: #fff; font-weight: 800; font-size: 20px;
  display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(31, 78, 140, 0.4);
}
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: 0.5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  padding: 8px 18px; border-radius: 999px; transition: all 0.18s;
}
.nav-links a:hover { color: var(--brand); background: #e9eef6; }
.nav-links a.active { color: #fff; background: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: 0.2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Hero ---- */
.hero { padding: 148px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 36px; align-items: stretch; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 900; line-height: 1.18; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero h1 .hl { color: var(--brand); }
/* 正文压在淡照片上：颜色加深 + 极淡白色光晕，保证可读又不显生硬 */
.hero p {
  font-size: 18px; color: #262d38; font-weight: 500; max-width: 560px; margin-bottom: 34px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 3px rgba(255, 255, 255, 0.9);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; }
.stat-chip { padding: 6px 26px 6px 0; margin-right: 26px; border-right: 1px solid var(--line); }
.stat-chip:last-child { border: none; }
.stat-chip b { display: block; font-size: 26px; font-weight: 800; color: var(--brand); }
.stat-chip span { font-size: 13px; color: var(--ink-3); }

/* ---- 首屏三大块的左右边界 ----
   文字背景卡向左外扩 --ov，展示墙向右外扩 --ov，
   下方「图文带」与「滚动海报」宽度则 = 容器 + 2×--ov，
   四者左右边界完全一致（凑在一起时没有里出外进）。 */
/* 左右负 margin + 等量 padding：背景块向外扩一圈，但文字仍与整站左对齐、不吃掉标题宽度 */
.hero-text { position: relative; margin: 0 calc(-1 * var(--ov)); padding: 26px 26px 24px; }
.hero-text > * { position: relative; z-index: 1; }
.hero-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1px solid #eef0f2;
  box-shadow: 0 18px 44px -24px rgba(24, 26, 48, 0.22);
  background:
    /* 底部再压一层白纱：照片在标题区最明显，往下渐白，保证正文读得清 */
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 32%,
      rgba(255, 255, 255, 0.44) 50%,
      rgba(255, 255, 255, 0.74) 68%,
      rgba(255, 255, 255, 0.92) 84%,
      #ffffff 95%),
    /* ↓ 深浅就调这里：0.26 = 照片露 74%，往 0.42 调更淡，往 0.15 调更浓 */
    radial-gradient(128% 118% at 46% 30%,
      rgba(255, 255, 255, 0.26) 0%,
      rgba(255, 255, 255, 0.38) 42%,
      rgba(255, 255, 255, 0.64) 74%,
      #ffffff 96%),
    url("../assets/hero-texture.webp") 46% center / cover no-repeat;
  filter: saturate(0.68) contrast(0.92) brightness(1.02);
  z-index: 0;
  pointer-events: none;
}

/* 首屏展示图：9 张横向图，3 列 × 4 行
   左上「大图」占 2×2，右侧 2 张小图，下方 2 行 × 3 张小图；
   整块撑满右侧区域高度，上下边界与左侧文字背景卡片严格齐平 */
.hero-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
  align-self: stretch; /* 跟着左侧文字背景卡片的高度走，上下边界自动齐平 */
  min-height: 470px;
  margin-right: calc(-1 * var(--ov)); /* 右侧与文字卡左侧对称外扩，整块左右居中 */
}
.hs-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 3px solid #fff;
  background: #f5f7fa;
  box-shadow: 0 12px 28px -18px rgba(24, 26, 48, 0.34);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.hs-card.hs-big { grid-column: span 2; grid-row: span 2; }
/* 绝对定位：图片不参与撑高，行高完全由 4 等分与列宽决定，比例稳定为横向 */
.hs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); z-index: 3; }

/* 首屏卖点标签（原漂浮标签改为整齐排列） */
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.hero-tags i { font-style: normal; font-size: 15px; }

/* 首屏底部图文带：3 格，宣传图 + 系列名 + 标语，图文融合 */
.hero-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 38px; padding-bottom: 8px;
  width: calc(min(1180px, 92vw) + var(--ov) * 2); /* 与首屏左右边界对齐 */
}
.hs-item {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hs-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hs-img { width: 62px; height: 62px; border-radius: 10px; overflow: hidden; flex: none; background: #f5f7fa; }
.hs-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-txt { min-width: 0; overflow: hidden; }
/* 英文产品名比中文长，允许折行，避免撑破首屏三格图文带 */
.hs-txt b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.hs-txt span {
  display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- 跑马灯 ---- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; overflow: hidden; padding: 18px 0; margin: 20px 0;
}
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollx 26s linear infinite; }
.marquee-track span { font-size: 20px; font-weight: 800; color: #d8dade; letter-spacing: 3px; white-space: nowrap; }
.marquee-track span em { font-style: normal; color: var(--brand); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---- Bento 类目 ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bento-card .bc-img { position: absolute; inset: 0; }
.bento-card .bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.bento-card:hover .bc-img img { transform: scale(1.06); }
.bento-card .bc-body { position: relative; z-index: 2; padding: 22px; background: linear-gradient(transparent, rgba(12, 14, 22, 0.72)); color: #fff; }
.bento-card h3 { font-size: 21px; font-weight: 800; }
.bento-card p { font-size: 13.5px; opacity: 0.85; margin-top: 4px; }
.bento-card .bc-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: grid; place-items: center; font-weight: 800; transition: 0.2s;
}
.bento-card:hover .bc-arrow { background: var(--lime); }
.bento-big { grid-column: span 4; grid-row: span 2; min-height: 480px; }
.bento-mid { grid-column: span 2; }
.bento-sm { grid-column: span 2; min-height: 200px; }

/* 类目网格补位卡：右下角空位放「查看全部产品」入口，填满格子又给出下一步 */
.bento-cta {
  grid-column: span 2;
  min-height: 200px;
  background-color: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  /* 斜向细白线，呼应“铁线/网片”的质感，不用图片 */
  background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.13) 0 1px, transparent 1px 24px);
}
.bento-cta.s4 { grid-column: span 4; }
.bento-cta.s6 { grid-column: span 6; }
.bento-cta .bc-body {
  background: none;
  padding: 22px;
}
.bento-cta .cta-kicker {
  display: block; font-size: 11px; letter-spacing: 2.5px;
  opacity: 0.68; margin-bottom: 6px; font-weight: 700;
}
.bento-cta h3 { font-size: 23px; letter-spacing: 1px; }
.bento-cta p { opacity: 0.82; margin-top: 6px; }
.bento-cta .bc-arrow {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}
.bento-cta:hover { background-color: #183f72; }
.bento-card.bento-cta:hover .bc-arrow { background: #fff; color: var(--brand); }

/* ---- 产品卡片 ---- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  background: var(--card); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.22s, box-shadow 0.22s;
  cursor: pointer; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
/* 产品卡片图：1:1 正方形，照片完整显示不裁切（浅灰底衬托，电商式方形图） */
.pc-img { aspect-ratio: 1/1; overflow: hidden; background: #f5f7fa; padding: 6px; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-cat { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: #e9eef6; color: var(--brand); }
.pc-name { font-weight: 700; font-size: 16px; line-height: 1.4; }
.pc-price { margin-top: auto; font-size: 15px; font-weight: 800; color: var(--orange); }
.pc-price small { font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* ---- 流程 ---- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .num {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 22px;
  background: var(--brand); color: #fff; font-size: 24px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(31,78,140,0.4);
  transform: rotate(-6deg); transition: transform 0.25s;
}
.step:hover .num { transform: rotate(0deg) scale(1.08); }
.step h4 { font-size: 17px; font-weight: 800; }
.step p { font-size: 13.5px; color: var(--ink-3); }

/* ---- 关于模块 ---- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 5px solid #fff; aspect-ratio: 4/3; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- 关于页宣传图集 ---- */
.about-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ag-item {
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3; background: #fff;
}
.ag-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ag-item:hover img { transform: scale(1.04); }
.value-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.value-chips span { font-size: 14px; font-weight: 700; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }

/* ---- 首页顶部滚动海报（横向 3:1） ---- */
.banner-section { padding: 0 0 56px; }
/* 海报宽度与首屏严格对齐：容器两侧各加 --ov */
.banner-section .wrap { width: calc(min(1180px, 92vw) + var(--ov) * 2); }
.bcn { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 5px solid #fff; background: #fff; }
.bcn-viewport { overflow: hidden; }
.bcn-track { display: flex; transition: transform 0.65s ease; }
.bcn-slide { flex: 0 0 100%; aspect-ratio: 3 / 1; }
.bcn-slide img { width: 100%; height: 100%; object-fit: cover; }
.bcn-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background 0.18s, color 0.18s;
}
.bcn-arrow:hover { background: var(--brand); color: #fff; }
.bcn-prev { left: 18px; }
.bcn-next { right: 18px; }
.bcn-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.bcn-dot { width: 11px; height: 11px; border-radius: 999px; border: none; padding: 0; background: rgba(255, 255, 255, 0.55); transition: 0.2s; }
.bcn-dot.on { background: #fff; width: 30px; }

/* ---- 首页中部公司介绍区 ---- */
.intro-gallery { display: grid; grid-template-columns: 1.9fr 1fr; gap: 20px; }
/* 行高统一由左侧大图的 16:10 决定；右侧小图用绝对定位，避免自身图片高度反过来撑高整行，
   这样左右两栏上下边界永远齐平（两张小图自动等分右栏高度） */
.ig-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; min-height: 0; }
.ig-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; min-height: 0; }
.ig-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 0; }
.ig-main img, .ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ig-item img { position: absolute; inset: 0; }
.ig-main:hover img, .ig-item:hover img { transform: scale(1.04); }
.intro-lower { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 48px; }

/* 宣传视频小区块 */
.video-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: #10141a; border: 5px solid #fff; }
.video-box video, .video-box iframe { width: 100%; height: 100%; display: block; object-fit: cover; border: 0; }
.video-box.is-empty { display: grid; place-items: center; background: #f7f8fa; border: 2px dashed #d4d7de; box-shadow: none; color: var(--ink-3); text-align: center; }
.vb-ico { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 22px; display: grid; place-items: center; margin: 0 auto 12px; }
.video-box.is-empty p { font-weight: 800; font-size: 17px; color: var(--ink-2); }
.video-box.is-empty span { font-size: 13px; }

/* ---- CTA 横幅 ---- */
.cta-banner {
  background: #1b2b47; border-radius: 32px; padding: 64px 48px;
  color: #fff; text-align: center; position: relative;
}
.cta-banner h2 { position: relative; font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; letter-spacing: -0.5px; }
.cta-banner p { position: relative; opacity: 0.9; margin: 12px 0 30px; font-size: 17px; }
.cta-banner .btn { position: relative; background: #fff; color: var(--brand); }

/* ---- 页头（内页）---- */
.page-hero { padding: 160px 0 50px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; letter-spacing: -1px; }
.page-hero .crumb { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.page-hero .crumb a:hover { color: var(--brand); }

/* ---- 产品页 ---- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 36px; }
.filter-chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 9px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: 0.18s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- 产品详情 ---- */
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: start; }
/* 详情页画廊：主图与缩略图统一 1:1，照片完整显示不裁切 */
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; background: #f5f7fa; box-shadow: var(--shadow-sm); padding: 8px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.gallery-thumbs img {
  width: 88px; height: 88px; object-fit: contain; background: #f5f7fa; border-radius: 12px; cursor: pointer;
  border: 2.5px solid transparent; transition: 0.15s;
}
.gallery-thumbs img.on { border-color: var(--brand); }
.detail-info .pc-cat { font-size: 13px; margin-bottom: 14px; display: inline-block; }
.detail-info h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.5px; line-height: 1.3; margin-bottom: 18px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: #faf3ec;
  border: 1.5px solid #eadbc8; border-radius: 18px; padding: 14px 24px; margin-bottom: 22px;
}
.price-tag b { font-size: 30px; font-weight: 900; color: #a8461c; }
.price-tag span { font-size: 13px; color: var(--ink-3); }
.detail-desc { color: var(--ink-2); font-size: 16.5px; white-space: pre-wrap; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.detail-meta span { font-size: 13.5px; font-weight: 600; background: #eef9f1; color: #15803d; padding: 7px 16px; border-radius: 999px; }

/* ---- 联系页 ---- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.contact-card .ico {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px; color: #fff;
}
.contact-card h4 { font-size: 15px; color: var(--ink-3); font-weight: 600; }
.contact-card p { font-weight: 700; font-size: 16.5px; word-break: break-all; }
.form-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.form-card .form-tip { color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; font-size: 15px; background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 78, 140, 0.12); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #e11d48; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #e11d48; }
.field.invalid .err { display: block; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---- 页脚 ---- */
.site-footer { background: var(--ink); color: #aeb6c2; margin-top: 90px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
.site-footer .brand-name { color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; padding: 4px 0; color: #aeb6c2; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #6b7280; }
.footer-bottom a:hover { color: #fff; }

/* ---- 加载 / 空状态 ---- */
.loading { text-align: center; padding: 120px 0; color: var(--ink-3); }
.loading .spin {
  width: 42px; height: 42px; margin: 0 auto 18px; border-radius: 50%;
  border: 4px solid #e5e7eb; border-top-color: var(--brand); animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 80px 0; color: var(--ink-3); }
.empty .big { font-size: 44px; margin-bottom: 10px; }

/* ---- 滚动显现 ---- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; } .rv.d2 { transition-delay: 0.16s; } .rv.d3 { transition-delay: 0.24s; }

/* ---- Toast ---- */
.toast-wrap { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; box-shadow: var(--shadow);
  animation: toastin 0.3s ease; max-width: 88vw;
}
.toast.ok { background: #0d9f6e; }
.toast.err { background: #e0234e; }
@keyframes toastin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- 响应式 ---- */
@media (max-width: 960px) {
  :root { --ov: 0px; } /* 手机上不再外扩，避免超出屏幕 */
  .hero-grid, .about-split, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  /* 单列时背景卡片不再向外撑，避免超出屏幕左右；浓度也调淡一档 */
  .hero-text { margin: 0; padding: 18px 16px 20px; }
  .hero-text::before { inset: 0; opacity: 0.42; background-position: 52% center; }
  /* 单列时图组按自身高度排布；仍保持 1 大 8 小的 3 列结构 */
  .hero-stack {
    height: auto; min-height: 0; margin-top: 30px;
    grid-template-rows: repeat(4, clamp(72px, 20vw, 140px));
    gap: 10px;
  }
  .hero-strip { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
  .intro-gallery { grid-template-columns: 1fr; }
  .ig-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .ig-item { aspect-ratio: 4 / 3; }
  .intro-lower { grid-template-columns: 1fr; gap: 34px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-big, .bento-mid, .bento-sm { grid-column: span 2; grid-row: auto; min-height: 220px; }
  .bento-cta, .bento-cta.s4, .bento-cta.s6 { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-radius: 20px; box-shadow: var(--shadow);
    flex-direction: column; padding: 14px; border: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 18px; }
  .nav-burger { display: flex; }
  .nav-right .btn { display: none; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .prod-grid { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: 1fr; }
  .ig-side { grid-template-columns: 1fr; }
  .ig-item { aspect-ratio: 16 / 10; }
  .bcn-arrow { width: 38px; height: 38px; font-size: 20px; }
  .bento { grid-template-columns: 1fr; }
  .bento-big, .bento-mid, .bento-sm { grid-column: span 1; }
  .bento-cta, .bento-cta.s4, .bento-cta.s6 { grid-column: span 1; }
  .cta-banner { padding: 44px 24px; }
  .hero-strip { grid-template-columns: 1fr; gap: 12px; }
  .hero-stack { gap: 8px; }
  .hs-card { border-width: 3px; border-radius: 13px; }
  .form-card { padding: 24px; }
  .hero-stats { gap: 14px 0; }
  .stat-chip { margin-right: 18px; padding-right: 18px; }
}

/* ---- 语言切换（右上角，常显） ---- */
.lang-switch { position: relative; flex: none; display: flex; align-items: center; gap: 10px; }
/* 常显英文提示标：让外国客户一眼认出这里是语言切换处 */
.lang-tip {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  height: 25px; padding: 0 10px 0 11px; border-radius: 999px;
  background: rgba(31, 78, 140, 0.1); border: 1px solid rgba(31, 78, 140, 0.26);
  color: var(--brand); font-size: 11px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; cursor: pointer; user-select: none;
  transition: background 0.18s, border-color 0.18s;
}
.lang-switch.open .lang-tip,
.lang-tip:hover { background: rgba(31, 78, 140, 0.16); border-color: rgba(31, 78, 140, 0.42); }
.lang-tip::after {
  content: ''; flex: none; width: 0; height: 0;
  border-left: 4px solid currentColor;
  border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
  opacity: 0.85;
}
.lang-tip .tip-short { display: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 13px 0 12px;
  border: 1.5px solid #d7dce6; border-radius: 999px; background: #fff;
  color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0.3px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.lang-btn:hover { border-color: var(--brand); background: #eef2f8; box-shadow: 0 6px 16px -10px rgba(31, 78, 140, 0.6); }
.lang-btn .lang-globe { flex: none; }
.lang-btn .lang-caret { flex: none; opacity: 0.6; transition: transform 0.18s; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 172px;
  background: #fff; border: 1px solid #e4e6ee; border-radius: 14px;
  box-shadow: 0 18px 42px -16px rgba(24, 26, 48, 0.3);
  padding: 6px; display: none; z-index: 130;
}
.lang-switch.open .lang-menu { display: block; }
.lang-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  border: none; background: none; text-align: left;
  padding: 9px 10px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.lang-item:hover { background: #f3f5f9; color: var(--brand); }
.lang-item .li-code {
  width: 30px; height: 22px; border-radius: 6px; flex: none;
  background: #e9eef6; color: var(--brand);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px;
  display: grid; place-items: center;
}
.lang-item.on { background: #eef2f8; color: var(--brand); }
.lang-item.on .li-code { background: var(--brand); color: #fff; }

/* ---- 英文版排版微调（拉丁衬线 + 行距/字号适配英文构词长度） ---- */
html[lang="en"] { --font: Georgia, "Times New Roman", "Charter", "Source Han Serif SC", "Songti SC", serif; }
html[lang="en"] body { letter-spacing: 0; }
html[lang="en"] .brand-name { font-size: 15.5px; letter-spacing: 0; }
html[lang="en"] .nav-links a { white-space: nowrap; }
html[lang="en"] .hero h1 { font-size: clamp(33px, 4.3vw, 54px); letter-spacing: -0.6px; line-height: 1.1; }
html[lang="en"] .hero p { font-size: 15.5px; line-height: 1.72; max-width: 100%; margin-bottom: 30px; }
html[lang="en"] .hero-badge { font-size: 13px; padding: 7px 15px; }
/* 英文数据标签比中文长，收窄间距与字号，保证四项排成一行不折行 */
html[lang="en"] .stat-chip { padding-right: 18px; margin-right: 18px; }
html[lang="en"] .stat-chip b { font-size: 24px; }
html[lang="en"] .stat-chip span { font-size: 11.5px; line-height: 1.4; display: block; }
html[lang="en"] .hero-badge { letter-spacing: 0.2px; }
html[lang="en"] .marquee-track span { letter-spacing: 2px; font-size: 18px; }
html[lang="en"] .bento-card h3 { font-size: 20px; letter-spacing: 0; }
html[lang="en"] .bento-card p { font-size: 13px; }
html[lang="en"] .pc-name { font-size: 15px; line-height: 1.35; }
html[lang="en"] .detail-info h1 { letter-spacing: -0.3px; }
html[lang="en"] .detail-desc { font-size: 16px; }
html[lang="en"] .process .step p { font-size: 13px; }
html[lang="en"] .step h4 { font-size: 16px; }
html[lang="en"] .cta-banner h2 { letter-spacing: -0.4px; }
html[lang="en"] .sub { line-height: 1.65; }

@media (max-width: 1080px) {
  html[lang="en"] .nav-right .btn { display: none; }
}
@media (max-width: 560px) {
  html[lang="en"] .brand-name { font-size: 12.5px; line-height: 1.2; }
  .brand-name { font-size: 15px; letter-spacing: 0.2px; }
  /* 让导航条左右留白与图标略收，给语言提示标腾出呼吸空间 */
  .nav-inner { padding-left: 14px; padding-right: 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 17px; }
  .nav-right { gap: 8px; }
  .lang-btn { height: 36px; padding: 0 10px; font-size: 13px; gap: 5px; }
  .lang-menu { min-width: 156px; }
  .lang-switch { gap: 5px; }
  .lang-tip { height: 20px; padding: 0 5px; font-size: 9px; letter-spacing: 0.04em; gap: 5px; }
  /* 手机导航条窄，提示标改用短写法，保证不挤压品牌名与汉堡按钮 */
  .lang-tip .tip-long { display: none; }
  .lang-tip .tip-short { display: inline; }
}
/* 超窄屏（≤374px）：空间不够，只保留按钮本身的地球图标与语言名 */
@media (max-width: 374px) {
  .lang-tip { display: none; }
}
