/* ============================================================
   KIBOKO 官网样式 · 海报红版 · 实验室风（结构同原版，仅换色）
   ============================================================ */
:root {
  --ink: #FAF5EF;        /* 暖米白 主底 */
  --charcoal: #EFE1D8;   /* 暖米棕 辅助底 */
  --panel: #F4EAE2;
  --panel2: #FFFFFF;
  --red: #FF5000;        /* 淘宝橙 强调色 */
  --seal: #C73E00;       /* 印章橙（页脚深底） */
  --silver: #77524A;     /* 暖棕灰 次级文字 */
  --text: #2E1B14;
  --muted: #A07E75;
  --line: rgba(255, 80, 0, .16);
  --maxw: 1180px;
  font-size: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 标志 KIBOKO LOGO（替换为图片 · 自适应比例） ---------- */
.logo {
  display: inline-block; vertical-align: middle;
  font-size: 0; line-height: 0;
}
.logo-img {
  display: block; height: auto; width: auto;
  max-height: 100%; max-width: 100%;
  object-fit: contain;
}
.brand .logo-img { height: 36px; }
.f-brand .logo-img { height: 32px; filter: brightness(0) invert(1); }
@media (max-width: 720px) {
  .brand .logo-img { height: 30px; }
  .f-brand .logo-img { height: 26px; }
}

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 239, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .inner { display: flex; align-items: center; height: 68px; gap: 36px; }
.brand { display: flex; align-items: baseline; gap: 12px; font-size: 1.35rem; color: #2E1B14; }
.brand small { font-size: .58rem; letter-spacing: .28em; color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  padding: 8px 14px; font-size: .92rem; color: var(--silver);
  border-radius: 4px; transition: .2s; position: relative;
}
.nav a:hover, .nav a.active { color: #2E1B14; }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--red);
}
.nav-cta {
  background: var(--red); color: #FFF6F2 !important; font-weight: 600;
  padding: 9px 18px !important; border-radius: 4px;
}
.nav-cta:hover { background: #E64600; }
.nav-cta.active::after { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--silver); font-size: 1.2rem; padding: 6px 12px; border-radius: 6px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 96px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 80, 0, .06), transparent 60%),
    linear-gradient(180deg, #F3E8DF 0%, var(--ink) 100%);
}
/* 刻度尺背景 */
.hero .ruler {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px; opacity: .5;
  background:
    repeating-linear-gradient(90deg, var(--silver) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, var(--silver) 0 1px, transparent 1px 50px);
  background-size: 100% 10px, 100% 22px;
  background-repeat: repeat-x;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero .ring-deco {
  position: absolute; right: -140px; top: -120px; width: 520px; height: 520px;
  border: 1px solid rgba(255, 80, 0, .35); border-radius: 50%;
}
.hero .ring-deco::before {
  content: ""; position: absolute; inset: 56px; border: 1px solid rgba(255, 80, 0, .22); border-radius: 50%;
}
.hero .ring-deco::after {
  content: ""; position: absolute; inset: 118px; background: rgba(255, 80, 0, .07); border-radius: 50%;
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; letter-spacing: .3em; color: var(--silver);
  border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.hero .kicker i { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.22; font-weight: 800; color: #2E1B14;
  letter-spacing: .02em; max-width: 21em;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .sub {
  margin-top: 22px; color: var(--muted); font-size: 1.05rem; max-width: 42em;
}
.hero .en-line {
  margin-top: 10px; font-size: .78rem; letter-spacing: .34em; color: #C7723E; text-transform: uppercase;
}
.hero .actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
/* ---------- Hero 图文布局（保留旧版兼容） ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-visual { position: relative; }
.hero-visual-frame {
  position: relative; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 24px 60px -24px rgba(199, 62, 0, .35);
  cursor: zoom-in;
}
.hero-visual-frame img { width: 100%; height: auto; display: block; }
.hero-visual-frame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 22px);
}
.hero-visual-badges { display: flex; gap: 10px; margin-top: 14px; }
.hv-badge {
  flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 8px; text-align: center;
}
.hv-badge b { display: block; font-size: 1.15rem; font-weight: 800; color: var(--red); letter-spacing: .02em; }
.hv-badge span { font-size: .72rem; color: var(--muted); letter-spacing: .1em; }

/* ---------- Hero · 图文版（背景图 + 白色主标） ---------- */
.hero-x {
  position: relative; overflow: hidden;
  padding: 110px 0 96px; color: #FFF6F0; background: #140C09; isolation: isolate;
}
.hero-x-bg { position: absolute; inset: 0; z-index: -2; }
.hero-x-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  filter: brightness(.82) contrast(1.02) saturate(.92); }
.hero-x-scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,12,9,.82) 0%, rgba(20,12,9,.58) 46%, rgba(20,12,9,.18) 100%); }

/* 文案（单列） */
.hero-x-copy { max-width: 640px; }
/* LOGO 居中对齐广告词胶囊 */
.hx-brand { display: inline-block; text-align: center; max-width: 100%; }
.hx-logo { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 auto 26px;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.5)); }
.hx-kicker { display: inline-block; font-size: .78rem; letter-spacing: .3em; color: #E8C7B4;
  border: 1px solid rgba(232,199,180,.4); border-radius: 999px; padding: 7px 18px; margin-bottom: 26px; }
.hx-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.16; font-weight: 800;
  color: #FFF6F0; letter-spacing: .02em; }
.hx-title .hx-white { color: #FFFFFF; text-shadow: 0 2px 18px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.hx-title em { font-style: normal; color: #FF6B54; text-shadow: 0 2px 18px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.5); }
.hx-sub { margin-top: 22px; color: #D9C2B2; font-size: 1.02rem; line-height: 1.9; max-width: 34em; }
.hx-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn-x-ghost { border: 1px solid rgba(255,246,240,.45); color: #FFF6F0; background: transparent;
  padding: 13px 28px; border-radius: 5px; font-weight: 600; }
.btn-x-ghost:hover { background: rgba(255,246,240,.12); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 5px; font-weight: 600; font-size: .95rem;
  transition: .2s; cursor: pointer; border: 1px solid transparent;
}
.btn-red { background: var(--red); color: #FFF6F2; }
.btn-red:hover { background: #E64600; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--silver); }
.btn-ghost:hover { border-color: var(--silver); color: #2E1B14; }
.page-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 90% 0%, rgba(255, 80, 0,.12), transparent 60%); }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: #2E1B14; }
.page-hero .crumb { font-size: .82rem; color: var(--muted); margin-bottom: 12px; letter-spacing: .12em; }
.page-hero .crumb a { color: var(--silver); }
.page-hero .crumb a:hover { color: var(--red); }
.page-hero p.lead { color: var(--muted); margin-top: 12px; max-width: 46em; }

/* ---------- 数字带 ---------- */
.stats-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--charcoal);
}
.stats-band .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px 30px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat-ico { width: 46px; height: 46px; margin: 0 auto 12px; display: block; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; color: #2E1B14; letter-spacing: .02em; }
.stat b i { font-style: normal; color: var(--red); }
.stat span { font-size: .82rem; color: var(--muted); letter-spacing: .08em; }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head .no {
  font-size: .95rem; font-weight: 700; color: var(--red); letter-spacing: .18em;
  padding-top: 4px; border-top: 2px solid var(--red); display: inline-block;
}
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 800; color: #2E1B14; letter-spacing: .02em; }
.sec-head .en { font-size: .74rem; letter-spacing: .3em; color: #C7723E; text-transform: uppercase; }
.sec-head .more { margin-left: auto; font-size: .88rem; color: var(--silver); }
.sec-head .more:hover { color: var(--red); }

/* 卡片 */
.cards { display: grid; gap: 18px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 24px; transition: .25s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  opacity: 0; transition: .25s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 80, 0, .45); }
.card:hover::before { opacity: 1; }
.card .tag { font-size: .72rem; letter-spacing: .2em; color: var(--red); font-weight: 700; }
.card .pic {
  margin: 14px -24px 0;                 /* 冲破左右内边距，全宽展示 */
  padding: 14px 16px 10px;
  background: linear-gradient(180deg, #FAFAF8, #F3F2EE);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card .pic img, .card .pic svg { display: block; width: 100%; height: auto; max-height: 170px; object-fit: contain; }
.card h3 { font-size: 1.12rem; color: #2E1B14; margin: 8px 0 4px; font-weight: 700; }
.card .en { font-size: .72rem; color: #C7723E; letter-spacing: .12em; text-transform: uppercase; }
.card p { font-size: .9rem; color: var(--muted); margin-top: 12px; flex: 1; }
.card ul { list-style: none; margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.card ul li { font-size: .86rem; color: var(--silver); padding: 3px 0; display: flex; gap: 8px; }

/* ---- 工艺能力图文卡片（machining） ---- */
.card .mc-pic {
  margin: -26px -24px 18px;                 /* 冲破卡片内边距，顶边全宽 */
  aspect-ratio: 4 / 3; overflow: hidden; position: relative;
  background: #EFEDE8; border-bottom: 1px solid var(--line);
}
.card .mc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .mc-pic img { transform: scale(1.045); }
.card .mc-pic::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,27,20,.12), transparent 45%);
  pointer-events: none;
}
.card ul li::before { content: "▪"; color: var(--red); }
.card .price-hint { margin-top: 14px; font-size: .82rem; color: var(--red); font-weight: 600; }

/* 大图标卡片（应用领域） */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 24px; transition: .2s; }
.app:hover { border-color: rgba(255, 80, 0,.4); transform: translateY(-2px); }
.app .ico {
  width: 46px; height: 46px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 80, 0, .12); color: var(--red); font-size: 1.3rem; margin-bottom: 14px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Noto Sans CJK SC", sans-serif;
}
.app h4 { color: #2E1B14; font-size: 1.02rem; margin-bottom: 6px; }
.app p { font-size: .87rem; color: var(--muted); }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; }
.step { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 22px 18px; position: relative; }
.step b.no { font-size: 1.6rem; font-weight: 800; color: rgba(255, 80, 0, .85); font-family: Georgia, serif; display: block; }
.step h4 { color: #2E1B14; font-size: .98rem; margin: 6px 0 4px; }
.step p { font-size: .82rem; color: var(--muted); }

/* 溯源验真条 */
.trace-strip {
  margin-top: 18px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(255, 80, 0, .08), rgba(255, 80, 0, .02));
  border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 12px; padding: 22px 28px;
}
.ts-info { flex: 1.4; min-width: 260px; }
.ts-info b { display: block; font-size: 1.05rem; font-weight: 800; color: #2E1B14; margin-bottom: 6px; letter-spacing: .02em; }
.ts-info span { font-size: .86rem; color: var(--muted); line-height: 1.7; }
.ts-form { display: flex; gap: 10px; flex: 1; min-width: 280px; }
.ts-form input {
  flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--ink); color: var(--text); font-size: .95rem; letter-spacing: .12em;
  outline: none; transition: .15s; min-width: 0;
}
.ts-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 80, 0, .12); }
.ts-form button {
  border: none; background: var(--red); color: #FFF6F2; border-radius: 8px;
  padding: 12px 24px; font-size: .92rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: .15s;
}
.ts-form button:hover { filter: brightness(.92); }
.ts-more { font-size: .86rem; color: var(--red); font-weight: 600; white-space: nowrap; }
.ts-more:hover { text-decoration: underline; }

/* 量规回收·资源再利用 */
.recycle-hero { display: flex; gap: 18px; align-items: stretch; flex-wrap: wrap; margin-bottom: 8px; }
.rh-left {
  flex: 1.7; min-width: 300px; background: var(--panel2); border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 10px; padding: 30px 32px;
}
.rh-left h3 { font-size: 1.32rem; font-weight: 800; color: var(--text); letter-spacing: .02em; margin-bottom: 12px; }
.rh-left p { font-size: .92rem; color: var(--muted); line-height: 1.95; }
.rh-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.rh-badge {
  font-size: .8rem; font-weight: 700; color: var(--red); letter-spacing: .04em;
  border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 5px 14px;
}
.rh-stats { flex: 1; min-width: 220px; display: grid; gap: 12px; align-content: stretch; }
.rh-stat {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 22px; display: flex; align-items: baseline; gap: 14px;
}
.rh-stat b { font-size: 1.8rem; font-weight: 800; color: var(--red); font-family: Georgia, serif; }
.rh-stat span { font-size: .86rem; color: var(--muted); }
.rh-sub {
  font-size: 1.05rem; font-weight: 800; color: var(--text); letter-spacing: .06em;
  margin: 42px 0 20px; display: flex; align-items: center; gap: 10px;
}
.rh-sub::before { content: ""; width: 4px; height: 17px; background: var(--red); border-radius: 2px; flex: none; }
@media (max-width: 900px) {
  .recycle-hero { flex-direction: column; }
  .rh-left { min-width: 0; padding: 24px 22px; }
  .rh-stats { min-width: 0; grid-template-columns: repeat(3, 1fr); }
  .rh-stat { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; }
  .rh-stat b { font-size: 1.5rem; }
}
@media (max-width: 640px) {
  .rh-stats { grid-template-columns: 1fr; }
}

/* 表格 */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 720px; }
.tbl thead th {
  background: var(--charcoal); color: var(--silver); font-weight: 600; text-align: left;
  padding: 12px 14px; white-space: nowrap; border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
}
.tbl tbody td { padding: 10px 14px; border-bottom: 1px solid rgba(255, 80, 0, .12); color: var(--text); white-space: nowrap; }
.tbl tbody tr:hover { background: rgba(255, 80, 0, .07); }
.tbl .price { color: #FF5000; font-weight: 600; font-variant-numeric: tabular-nums; }
.tbl .price2 { color: var(--silver); font-variant-numeric: tabular-nums; }
.tbl .spec { color: var(--red); font-weight: 700; }
.tbl .muted { color: var(--muted); }

/* 说明面板 / 提示条 */
.note {
  background: rgba(255, 80, 0, .08); border: 1px solid rgba(255, 80, 0, .3);
  border-left: 3px solid var(--red); border-radius: 6px;
  padding: 16px 20px; font-size: .88rem; color: var(--silver);
}
.note b { color: #2E1B14; }
.note ul { margin: 6px 0 0 18px; }
.note li { margin: 3px 0; }

/* ---------- 价格查询页 ---------- */
.price-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.search-box { position: relative; width: 100%; }
.search-box .search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}
.search-box input {
  width: 100%; padding: 12px 38px 12px 42px; border-radius: 8px;
  background: var(--ink); border: 1px solid var(--line); color: var(--text);
  font-size: .95rem; outline: none; transition: .2s;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:hover { border-color: rgba(255, 80, 0, .35); }
.search-box input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 80, 0, .15); }
.search-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%) scale(0);
  width: 22px; height: 22px; border-radius: 50%;
  border: none; background: rgba(255,80,0,.08); color: var(--silver);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1; cursor: pointer; transition: .2s;
  opacity: 0;
}
.search-clear.visible { transform: translateY(-50%) scale(1); opacity: 1; }
.search-clear:hover { background: var(--red); color: #FFF6F2; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs button {
  background: var(--panel2); border: 1px solid var(--line); color: var(--silver);
  padding: 9px 18px; border-radius: 6px; cursor: pointer; font-size: .88rem; transition: .2s;
}
.tabs button:hover { color: #2E1B14; border-color: var(--silver); }
.tabs button.active { background: var(--red); border-color: var(--red); color: #FFF6F2; font-weight: 600; }
.result-meta { font-size: .84rem; color: var(--muted); margin-bottom: 12px; }
.result-meta b { color: #2E1B14; }
.calc { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.calc h3 { color: #2E1B14; font-size: 1.05rem; margin-bottom: 6px; }
.calc .hint { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.calc-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.calc-row input {
  width: 160px; padding: 11px 14px; border-radius: 6px; background: var(--ink);
  border: 1px solid var(--line); color: #2E1B14; font-size: 1rem; outline: none;
}
.calc-row input:focus { border-color: var(--red); }
.calc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.calc-out { background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.calc-out span { display: block; font-size: .74rem; color: var(--muted); }
.calc-out b { font-size: 1.25rem; color: #2E1B14; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out.hl { border-color: rgba(255, 80, 0,.5); background: rgba(255, 80, 0,.1); }
.calc-out.hl b { color: #FF5000; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.contact-card { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.contact-card h3 { color: #2E1B14; margin-bottom: 18px; font-size: 1.1rem; }
.c-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.c-item:last-child { border-bottom: none; }
.c-item .k { width: 70px; flex-shrink: 0; color: var(--muted); font-size: .86rem; }
.c-item .v { color: var(--text); font-size: .94rem; }
.c-item .v b { color: #2E1B14; }
.qform .frow { margin-bottom: 14px; }
.qform label { display: block; font-size: .84rem; color: var(--silver); margin-bottom: 6px; }
.qform input, .qform select, .qform textarea {
  width: 100%; padding: 11px 14px; background: var(--ink); border: 1px solid var(--line);
  border-radius: 6px; color: var(--text); font-size: .92rem; outline: none; font-family: inherit;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { border-color: var(--red); }
.qform textarea { min-height: 110px; resize: vertical; }

/* ---------- 页脚 ---------- */
footer {
  background: #C73E00; --silver: #E5BFB2; --muted: #D8A292; --line: rgba(255,235,225,.22); --red: #FFD9C4;
  border-top: 1px solid var(--line); padding: 64px 0 0; margin-top: 40px;
}
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.f-brand .logo { font-size: 1.5rem; color: #fff; }
.f-brand .cn { color: var(--silver); font-size: .88rem; margin-top: 10px; }
.f-brand .slogan { color: var(--red); font-size: .8rem; letter-spacing: .2em; margin-top: 6px; }
footer h5 { color: #fff; font-size: .92rem; margin-bottom: 14px; letter-spacing: .1em; }
footer ul { list-style: none; }
footer ul li { margin: 8px 0; }
footer ul a { color: var(--muted); font-size: .88rem; transition: .2s; }
footer ul a:hover { color: var(--red); }
.f-contact li { color: var(--muted); font-size: .88rem; display: flex; gap: 10px; }
.f-contact li b { color: var(--silver); font-weight: 600; min-width: 3em; }
.f-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #E5BFB2; }
.f-bottom .rings { display: flex; gap: 8px; align-items: center; }
.f-bottom .rings i { width: 10px; height: 10px; border: 2px solid var(--red); border-radius: 50%; display: inline-block; }

/* ---------- 品牌海报（2列大图） ---------- */
.poster-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.poster-card {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--panel);
  aspect-ratio: 2 / 3;
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.poster-card:hover img { transform: scale(1.05); }
.poster-card .cap {
  position: absolute; inset: auto 0 0 0; padding: 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  opacity: 0; transform: translateY(10px); transition: .25s;
}
.poster-card:hover .cap { opacity: 1; transform: translateY(0); }
.poster-card .cap h4 { color: #fff; font-size: 1.08rem; margin-bottom: 5px; }
.poster-card .cap span { color: var(--muted); font-size: .85rem; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: .25s; padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 90vh; max-width: 90vw; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lightbox .close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- 首页德系工艺大图海报（全宽大图） ---------- */

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .cards.c3, .app-grid, .steps, .calc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .contact-grid, .f-grid { grid-template-columns: 1fr 1fr; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; background: rgba(250,245,239,.98); border-bottom: 1px solid var(--line); padding: 14px 24px 20px; display: none; gap: 4px; }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .brand small { display: none; }
}
@media (max-width: 600px) {
  .cards.c4, .cards.c3, .cards.c2, .app-grid, .steps, .calc-grid, .stats-band .grid, .contact-grid, .f-grid, .poster-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .hero { padding: 72px 0 66px; }
  .section { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 560px; }
  .hero-x { padding: 72px 0 60px; }
  .hero-x-copy { max-width: none; }
}

/* ---------- 语言切换器 ---------- */
.lang-sw { margin-left: 10px; flex: none; }
.lang-sw select {
  appearance: none; -webkit-appearance: none;
  font-family: inherit; font-size: .8rem;
  color: var(--silver); background: rgba(255,255,255,.55);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 5px 26px 5px 10px; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23997f6f' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.lang-sw select:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 900px) {
  .lang-sw { margin-left: auto; }
}

/* ---------- 机械加工（machining.html + 首页接单横幅） ---------- */
/* 首页接单横幅 */
.m-strip {
  padding: 60px 0; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(820px 300px at 90% -30%, rgba(255, 80, 0, .08), transparent 60%),
    linear-gradient(180deg, #F1E3D9 0%, var(--ink) 100%);
}
.ms-inner { display: flex; gap: 34px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ms-copy { flex: 1 1 420px; min-width: 280px; }
.ms-kicker {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .26em;
  color: var(--red); margin-bottom: 12px;
}
.ms-copy h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--text); letter-spacing: .01em; }
.ms-copy p { color: var(--muted); margin-top: 10px; max-width: 36em; font-size: .95rem; line-height: 1.9; }
.ms-act { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: none; }
.ms-link { font-size: .86rem; color: var(--silver); border-bottom: 1px dashed var(--line); padding-bottom: 2px; }
.ms-link:hover { color: var(--red); border-color: var(--red); }

/* 标签 chips（工艺 / 材料通用） */
.k-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.k-tag {
  font-size: .78rem; color: var(--silver); border: 1px solid var(--line);
  background: var(--panel2); border-radius: 999px; padding: 4px 13px; transition: .2s;
}
.k-tag:hover { color: var(--red); border-color: rgba(255, 80, 0, .45); }

/* 机加工页精度数据带 */
.mc-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.mc-band > div { background: var(--panel2); padding: 24px 16px; text-align: center; }
.mc-band b {
  display: block; font-size: 1.55rem; font-weight: 800; color: var(--red);
  font-family: Georgia, "Times New Roman", serif; letter-spacing: .01em;
}
.mc-band b i { font-style: normal; color: var(--text); }
.mc-band span { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; letter-spacing: .06em; }

/* CTA 深色区（机械页底部） */
.cta-band {
  padding: 72px 0;
  background:
    radial-gradient(700px 300px at 15% -20%, rgba(255, 107, 84, .14), transparent 55%),
    linear-gradient(135deg, #1B0F0B 0%, #3A1E12 100%);
  color: #F5E9E0; border-top: 1px solid rgba(255, 235, 225, .14);
}
.cta-band .wrap { text-align: center; }
.cta-band h2 { color: #FFF6F0; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
.cta-band h2 em, .cta-band h2 span { font-style: normal; color: #FF6B54; }
.cta-band p { color: #D8A292; margin: 14px auto 28px; max-width: 38em; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(255, 246, 240, .4); color: #F5E9E0; }
.cta-band .btn-ghost:hover { background: rgba(255, 246, 240, .1); border-color: rgba(255, 246, 240, .65); color: #fff; }

@media (max-width: 980px) {
  .mc-band { grid-template-columns: repeat(2, 1fr); }
  .ms-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .mc-band { grid-template-columns: repeat(2, 1fr); }
  .mc-band > div { padding: 18px 10px; }
  .mc-band b { font-size: 1.3rem; }
}

/* ============================================================
   KIBOKO 产品画廊 · 图片卡片 + 详情弹窗
   ============================================================ */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-loading, .empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px 0; }

.p-card {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: .28s; display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-4px); border-color: rgba(255, 80, 0, .5); box-shadow: 0 14px 34px rgba(255, 80, 0, .14); }
.p-card-pic { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(180deg, #FBF7F2, #F2EDE6); }
.p-card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.p-card:hover .p-card-pic img { transform: scale(1.05); }
.p-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255, 80, 0, .92); color: #fff;
  font-size: .68rem; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; font-weight: 700;
}
.p-video-ico {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(46, 27, 20, .78); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .72rem;
}
.p-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.p-code { font-size: .72rem; letter-spacing: .12em; color: var(--red); font-weight: 700; }
.p-card-body h3 { color: #2E1B14; font-size: 1.18rem; margin: 8px 0 3px; font-weight: 700; }
.p-en { font-size: .7rem; color: #C7723E; letter-spacing: .1em; text-transform: uppercase; }
.p-card-body p { font-size: .85rem; color: var(--muted); margin-top: 12px; line-height: 1.65; flex: 1; }
.p-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.p-count { font-size: .78rem; color: var(--silver); }
.p-open { font-size: .82rem; color: var(--red); font-weight: 700; }

/* ---- 详情弹窗 ---- */
.p-modal { position: fixed; inset: 0; z-index: 999; background: rgba(26, 13, 10, .66); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: pFade .25s ease; }
@keyframes pFade { from { opacity: 0; } to { opacity: 1; } }
.p-modal-card { background: #FFFDFB; border-radius: 18px; width: min(1080px, 100%); max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; animation: pPop .3s ease; box-shadow: 0 30px 80px rgba(26,13,10,.4); }
@keyframes pPop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.p-modal-close { position: absolute; top: 16px; right: 18px; z-index: 6; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(46,27,20,.9); color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.p-modal-close:hover { background: var(--red); }
.p-modal-scroll { overflow-y: auto; padding: 30px 34px 36px; }

.p-modal-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start; }
.p-modal-pics { min-width: 0; }
.g-main { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg,#FBF7F2,#F1EBE4); aspect-ratio: 4/3; }
.g-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; pointer-events: none; }
.g-nav button { pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(46,27,20,.55); color: #fff; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .2s; }
.g-main:hover .g-nav button { opacity: 1; }
.g-nav button:hover { background: var(--red); }
.g-pos { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(46,27,20,.66); color: #fff; font-size: .74rem; padding: 4px 12px; border-radius: 999px; pointer-events: auto; }
.g-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.g-thumb { width: 68px; height: 52px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; opacity: .7; transition: .2s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb.on { opacity: 1; border-color: var(--red); }
.g-thumb:hover { opacity: 1; }

.p-modal-info .p-code { font-size: .78rem; }
.p-modal-info h2 { color: #2E1B14; font-size: 1.7rem; margin: 10px 0 4px; font-weight: 800; }
.p-modal-info .p-en { font-size: .78rem; }
.p-desc { color: var(--silver); font-size: .92rem; line-height: 1.8; margin-top: 16px; }
.p-points { list-style: none; margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.p-points li { font-size: .88rem; color: var(--silver); padding: 5px 0; display: flex; gap: 9px; }
.p-points li::before { content: "✓"; color: var(--red); font-weight: 700; }

/* 视频位 */
.g-video-row { margin-top: 30px; }
.g-video-label, .g-spec-label { font-size: .78rem; letter-spacing: .18em; color: var(--red); font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.g-video { border-radius: 14px; overflow: hidden; background: #14100E; aspect-ratio: 16/9; position: relative; }
.g-video video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.g-video-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#2E1B14,#4A2C1E); }
.g-video-empty-in { text-align: center; color: #EAD9CC; }
.g-video-ico { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,80,0,.9); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin: 0 auto 12px; }
.g-video-empty b { font-size: 1.02rem; display: block; color: #F5E9E0; }
.g-video-empty span { font-size: .8rem; color: #C8A495; display: block; margin-top: 6px; }

/* 规格表 */
.g-spec { width: 100%; border-collapse: collapse; margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.g-spec th, .g-spec td { text-align: left; font-size: .88rem; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.g-spec th { background: #FBF6F0; color: #2E1B14; font-weight: 700; width: 124px; white-space: nowrap; }
.g-spec td { color: var(--silver); }
.g-spec tr:last-child th, .g-spec tr:last-child td { border-bottom: none; }

.p-modal-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.p-modal-cta .btn { display: inline-block; padding: 12px 26px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: .92rem; }
.p-modal-cta .btn-red { background: var(--red); color: #fff; }
.p-modal-cta .btn-red:hover { background: #C73E00; }
.p-modal-cta .btn-x { border: 1px solid var(--line); color: var(--silver); }
.p-modal-cta .btn-x:hover { border-color: var(--red); color: var(--red); }

body.no-scroll { overflow: hidden; }

@media (max-width: 900px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .p-modal-top { grid-template-columns: 1fr; }
  .p-modal-scroll { padding: 24px 20px 28px; }
}
@media (max-width: 560px) {
  .p-grid { grid-template-columns: 1fr; }
}

/* ============ 关于我们 · 公司介绍 / 发展历程 / 厂房实拍 ============ */
.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.about-text h3 { color: #2E1B14; font-size: 1.35rem; line-height: 1.55; font-weight: 800; margin-bottom: 18px; }
.about-text h3 span { font-size: .95rem; color: var(--red); font-weight: 700; }
.about-text p { color: var(--silver); font-size: .95rem; line-height: 1.95; margin-bottom: 14px; }
.about-text b { color: #2E1B14; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-tags span { font-size: .78rem; font-weight: 700; color: var(--red); background: rgba(255,80,0,.07); border: 1px solid rgba(255,80,0,.22); border-radius: 999px; padding: 6px 14px; }
.about-media { display: grid; gap: 16px; }
.about-media img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(46,27,20,.10); display: block; }
.about-media img:last-child { transform: scale(.94); }

/* 发展历程时间线 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 10px; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line) 60%, rgba(255,80,0,.4)); }
.t-item { position: relative; display: grid; grid-template-columns: 72px 1fr; align-items: start; margin-bottom: 8px; }
.t-year { grid-column: 1; text-align: right; font-size: 1.18rem; font-weight: 800; color: #2E1B14; padding: 22px 12px 0 0; letter-spacing: .02em; }
.t-item.now .t-year { color: var(--red); }
.t-item::after { content: ""; position: absolute; left: 84px; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: var(--panel2); border: 3px solid var(--silver); z-index: 1; }
.t-item.now::after { background: var(--red); border-color: rgba(255,80,0,.3); box-shadow: 0 0 0 6px rgba(255,80,0,.14); }
.t-body { grid-column: 2; margin: 8px 0 14px 26px; background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.t-body h4 { color: #2E1B14; font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.t-body p { color: var(--silver); font-size: .88rem; line-height: 1.8; }

/* 厂房实拍画廊 */
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.factory-grid figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel2); box-shadow: 0 10px 26px rgba(46,27,20,.07); transition: transform .25s ease, box-shadow .25s ease; }
.factory-grid figure:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(46,27,20,.14); }
.factory-grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.factory-grid figcaption { font-size: .84rem; color: var(--silver); padding: 12px 16px; border-top: 1px solid var(--line); }
.factory-grid figcaption::before { content: "📍 "; font-size: .8rem; }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 28px; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 62px; }
  .t-item { grid-template-columns: 54px 1fr; }
  .t-item::after { left: 55px; top: 28px; width: 14px; height: 14px; }
  .t-year { font-size: 1rem; padding: 20px 10px 0 0; }
  .t-body { margin-left: 22px; }
}
@media (max-width: 560px) {
  .factory-grid { grid-template-columns: 1fr; }
  .t-body { padding: 16px 16px; }
  .brochure-inner { grid-template-columns: 1fr; }
  .brochure-cover { max-width: 280px; margin: 0 auto; }
}

/* ============================================================
 * 产品画册下载（首页 / 引用 brochure.js 自动填充）
 * ============================================================ */
.brochure-cta { margin-top: 8px; }
.brochure-inner {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 44px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 26px rgba(46,27,20,.05);
}
.brochure-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(46,27,20,.12);
  background: #fff;
}
.brochure-cover iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.brochure-cover-cap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.brochure-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255,80,0,.25);
}
.brochure-size {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,.95);
  color: var(--ink-soft);
  font-size: 11.5px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.brochure-meta { min-width: 0; }
.brochure-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.brochure-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.brochure-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.9;
}
.brochure-points li::before {
  content: '';
}
.brochure-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.brochure-tip {
  font-size: 12px;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: 4px;
}

/* ---------- 资料下载 · 三卡片（brochure.js 渲染 .docs-grid） ---------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 8px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(46,27,20,.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(46,27,20,.10);
}
.doc-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px 42px;
  cursor: pointer;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,80,0,.16), transparent 46%),
    radial-gradient(circle at 82% 86%, rgba(255,80,0,.10), transparent 40%),
    linear-gradient(158deg, #faf3ea 0%, #f3e6d8 100%);
  border-bottom: 1px solid var(--line);
  user-select: none;
}
.doc-cover-icon {
  font-size: 52px;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(46,27,20,.18));
}
.doc-cover-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: .5px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-cover-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 7px 10px;
  text-align: center;
  font-size: 11.5px;
  color: #fff;
  background: linear-gradient(transparent, rgba(46,27,20,.72));
  opacity: 0;
  transition: opacity .2s ease;
}
.doc-cover:hover .doc-cover-hint,
.doc-cover:focus-visible .doc-cover-hint { opacity: 1; }
.doc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-block;
  padding: 4px 12px;
  background: var(--red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255,80,0,.25);
}
.doc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.doc-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.doc-sub {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: .6px;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.doc-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.doc-actions .btn { padding: 9px 16px; font-size: 13px; }
@media (max-width: 980px) {
  .docs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .docs-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * 电子画册翻页阅读器（flipbook.js 注入 .fb-root）
 * ============================================================ */
body.fb-lock { overflow: hidden; }
.fb-root {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(26,15,10,.95);
  display: flex; flex-direction: column;
  color: #f7efe6;
  animation: fbIn .22s ease;
}
@keyframes fbIn { from { opacity: 0 } to { opacity: 1 } }
.fb-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fb-title {
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fb-ver {
  display: inline-block; margin-left: 8px; padding: 2px 10px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; vertical-align: 1px;
}
.fb-tools { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.fb-btn {
  min-width: 36px; height: 34px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  background: rgba(255,255,255,.08); color: #f7efe6;
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  font-size: 14px; cursor: pointer; text-decoration: none; line-height: 1;
}
.fb-btn:hover { background: rgba(255,255,255,.17); }
.fb-btn.fb-close { background: var(--red); border-color: transparent; }
.fb-stage {
  flex: 1; display: flex; align-items: stretch; justify-content: center;
  min-height: 0; padding: 14px 10px; gap: 6px;
}
.fb-nav {
  align-self: center; width: 44px; height: 72px; flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07); color: #f7efe6;
  font-size: 26px; line-height: 1; border-radius: 10px; cursor: pointer;
}
.fb-nav:hover { background: rgba(255,255,255,.16); }
.fb-nav[disabled] { opacity: .3; cursor: default; }
.fb-bookwrap {
  position: relative; flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
}
.fb-book { position: relative; display: flex; perspective: 2400px; }
.fb-slot {
  position: relative; background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.45); overflow: hidden;
  cursor: pointer;
}
.fb-slot-l { border-radius: 8px 2px 2px 8px; }
.fb-slot-r { border-radius: 2px 8px 8px 2px; }
.fb-slot canvas { width: 100%; height: 100%; display: block; }
.fb-slot.fb-empty { visibility: hidden; }
.fb-slot-l::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 16px;
  background: linear-gradient(to left, rgba(0,0,0,.12), transparent);
  pointer-events: none;
}
.fb-slot-r::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 16px;
  background: linear-gradient(to right, rgba(0,0,0,.12), transparent);
  pointer-events: none;
}
.fb-pagenum {
  position: absolute; bottom: 5px; right: 8px;
  font-size: 10px; color: rgba(46,27,20,.6);
  background: rgba(255,255,255,.78); padding: 1px 7px; border-radius: 6px;
}
.fb-leaf {
  position: absolute; top: 0; height: 100%; width: 50%;
  display: none; transform-style: preserve-3d; z-index: 6;
  transition: transform .62s cubic-bezier(.3,.05,.3,1);
}
.fb-leaf.on-r { right: 0; transform-origin: left center; transform: rotateY(0deg); }
.fb-leaf.on-l { left: 0; transform-origin: right center; transform: rotateY(0deg); }
.fb-leaf-face {
  position: absolute; inset: 0; background: #fff;
  backface-visibility: hidden; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.fb-leaf-face canvas { width: 100%; height: 100%; display: block; }
.fb-leaf-back { transform: rotateY(180deg); }
.fb-thumbs {
  flex: 0 0 auto; max-height: 0; overflow: hidden;
  transition: max-height .3s ease; background: rgba(0,0,0,.28);
}
.fb-thumbs.open { max-height: 158px; }
.fb-thumbs-track { display: flex; gap: 10px; padding: 12px 16px; overflow-x: auto; }
.fb-thumb {
  flex: 0 0 auto; background: none; border: 2px solid transparent;
  border-radius: 6px; padding: 0; cursor: pointer;
}
.fb-thumb:hover { border-color: rgba(255,255,255,.35); }
.fb-thumb.cur { border-color: var(--red); }
.fb-thumb-img {
  width: 62px; height: 86px; background: #fff; border-radius: 4px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.fb-thumb-img canvas { width: 100%; height: 100%; display: block; }
.fb-thumb-num { font-size: 10px; color: rgba(247,239,230,.7); text-align: center; margin-top: 4px; }
.fb-counter {
  text-align: center; padding: 8px 0 10px;
  font-size: 12.5px; color: rgba(247,239,230,.75); letter-spacing: 1.5px;
}
.fb-loading {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center;
  background: rgba(26,15,10,.96); font-size: 14px; color: rgba(247,239,230,.85);
}
.fb-spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15); border-top-color: var(--red);
  animation: fbSpin .8s linear infinite;
}
@keyframes fbSpin { to { transform: rotate(360deg) } }
@media (max-width: 640px) {
  .fb-nav { display: none; }
  .fb-title { font-size: 12.5px; }
}

/* 首页画册封面：点击进入翻页阅读 */
.brochure-cover { cursor: pointer; }
.brochure-cover iframe { pointer-events: none; }
.brochure-cover-hint {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 10px 9px;
  background: linear-gradient(to top, rgba(24,13,9,.8), rgba(24,13,9,0));
  color: #fff; font-size: 12.5px; font-weight: 600;
  letter-spacing: 1px; text-align: center;
  transition: color .2s;
}
.brochure-cover:hover .brochure-cover-hint { color: #ffd9d2; }

.f-icp { width: 100%; text-align: center; margin-top: 10px; order: 9; }
.f-icp a { color: #E5BFB2; opacity: .7; text-decoration: none; transition: .2s; }
.f-icp a:hover { opacity: 1; color: var(--red); }
