:root {
  --concrete: #f2f2f0;
  --surface: #ffffff;
  --ink: #17181a;
  --body: #4a4d51;
  --muted: #7c8086;
  --line: #dcdcd8;
  --line-soft: #e8e8e4;
  --ph: #e6e6e2;          /* 图片占位底色 */
  --hover: var(--hover);       /* 卡片/行悬停底色 */
  --disabled: #b3b7bb;    /* 不可选项文字 */
  --foot-bg: #e9eff5;     /* 页脚浅蓝 */
  --foot-bar: #dee6ee;    /* 备案条 */
  --foot-line: #d2dce6;
  --foot-text: #5a6673;
  --foot-link: #46566a;
  --oxide: #a8512b;
  --oxide-dark: #8a4222;
  --radius: 3px;
  --max: 1240px;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
}

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

/* 始终预留滚动条槽位：避免"有/无滚动条"切换时页头导航整体横向抖动 */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}

body {
  font-family: var(--sans);
  background: var(--concrete);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--oxide);
  flex: none;
}

h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
p { line-height: 1.75; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--oxide); outline-offset: 2px; }
::selection { background: rgba(168,81,43,.16); color: var(--ink); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 18px; }

section { padding: 96px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head p { margin-top: 16px; font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt b { font-size: 18px; color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }
.brand-txt small { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  font-size: 15px;
  color: var(--body);
  border-radius: var(--radius);
  transition: color .18s, background .18s;
}
.nav a:hover, .nav a.active { color: var(--ink); background: var(--concrete); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--oxide); border-color: var(--oxide); color: #fff; }
.btn-accent:hover { background: var(--oxide-dark); border-color: var(--oxide-dark); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.hdr-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.hdr-tel { font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 500; }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; padding: 11px 9px; }
.burger i { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; }

.mnav { display: none; border-top: 1px solid var(--line); background: var(--surface); padding: 12px 0 20px; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 12px 32px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
.mnav a:last-child { border-bottom: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; border-top: none; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: #2a2c2e; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,21,23,.62); }
.hero .wrap { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 110px; }
.hero .eyebrow { color: #d6d7d9; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); letter-spacing: 0.02em; margin-bottom: 24px; }
.hero-lead { color: #d8dade; font-size: 17px; max-width: 620px; line-height: 1.8; }
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero .btn { border-color: rgba(255,255,255,.5); color: #fff; }
.hero .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn-accent { background: var(--oxide); border-color: var(--oxide); }
.hero .btn-accent:hover { background: var(--oxide-dark); border-color: var(--oxide-dark); color: #fff; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--surface); }
.stat { padding: 32px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-family: var(--mono); font-size: 32px; color: var(--ink); font-weight: 500; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: .12em; }

/* ---------- products ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: background .2s;
}
.card:hover { background: var(--hover); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ph); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .idx {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  background: rgba(23,24,26,.85); color: #fff; padding: 4px 9px;
}
.card-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 15px; color: var(--body); }
.card-more {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oxide);
  display: inline-flex; align-items: center; gap: 8px;
}
.card-more::after { content: "\2192"; transition: transform .2s; }
.card:hover .card-more::after { transform: translateX(4px); }

/* ---------- advantages ---------- */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.adv-item { border-top: 2px solid var(--ink); padding-top: 22px; }
.adv-item b { display: block; font-family: var(--mono); font-size: 12px; color: var(--oxide); letter-spacing: .12em; margin-bottom: 10px; }
.adv-item h3 { margin-bottom: 8px; }
.adv-item p { font-size: 15px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-left: 1px solid var(--line); }
.step { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step b { font-family: var(--mono); font-size: 12px; color: var(--oxide); letter-spacing: .12em; }
.step p { font-size: 15px; color: var(--ink); margin-top: 8px; font-weight: 500; }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,21,23,0) 40%, rgba(20,21,23,.78) 100%); }
.case-txt { position: relative; z-index: 2; color: #fff; }
.case-txt b { font-size: 16px; display: block; font-weight: 500; }
.case-txt small { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; opacity: .8; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-txt p { margin-bottom: 20px; font-size: 17px; }
.quote {
  border-left: 3px solid var(--oxide);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.7;
  font-weight: 500;
}
.about-cards { display: grid; gap: 16px; }
.mini { background: var(--surface); border: 1px solid var(--line); padding: 24px 26px; border-radius: var(--radius); }
.mini b { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.mini p { color: var(--body); font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--foot-bg); color: var(--foot-text); padding: 44px 0; font-size: 13px; border-top: 1px solid var(--foot-line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--oxide); }

/* ---------- ICP 备案号 ---------- */
.beian { background: var(--foot-bar); border-top: 1px solid var(--foot-line); padding: 18px 0; font-size: 13px; color: var(--foot-text); }
.beian .wrap { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.beian a { color: var(--foot-link); text-decoration: none; }
.beian a:hover { color: var(--oxide); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-tel { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .adv { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 68px 0; }
  .wrap { padding: 0 22px; }
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-bottom: none; }
  .hdr-cta .btn { display: none; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .adv { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 28px; }
}

/* ---------- 内页 banner ---------- */
.page-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 38px 0 32px;
}
.page-banner .wrap { width: 100%; }
.page-banner h1 { color: var(--ink); font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 0; }
.page-banner p { color: var(--body); max-width: 680px; font-size: 16px; }
.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--body); }
.crumb a:hover { color: var(--oxide); }

/* ---------- 产品页: 左侧竖向标签 ---------- */
.prod-layout { display: grid; grid-template-columns: 232px 1fr; gap: 48px; align-items: start; }
.ptabs { position: sticky; top: 100px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.ptab {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 18px; font-size: 15px; color: var(--body);
  border-left: 2px solid transparent; margin-left: -1px;
  transition: color .18s, background .18s, border-color .18s;
  cursor: pointer; background: none; border-top: none; border-right: none; border-bottom: none;
  font-family: var(--sans); text-align: left; width: 100%;
}
.ptab:hover { color: var(--ink); background: rgba(0,0,0,.03); }
.ptab.active { color: var(--ink); border-left-color: var(--oxide); background: var(--surface); font-weight: 500; }
.ptab i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.ptab.active i { color: var(--oxide); }

.sw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.sw { display: block; }
.sw-img { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ph); border: 1px solid var(--line); }
.sw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sw:hover .sw-img img { transform: scale(1.06); }
.sw-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,24,26,.78); color: #fff; border: none; border-radius: 50%;
  font-size: 16px; line-height: 1; cursor: zoom-in; opacity: 0; transition: opacity .2s;
}
.sw:hover .sw-zoom, .sw-zoom:focus-visible { opacity: 1; }
@media (hover: none) { .sw-zoom { opacity: .85; } }
.sw-txt { display: block; padding: 10px 2px 0; }
.sw-txt b { display: block; font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.sw-txt span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.sw-cat-title { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 34px 0 18px; display: flex; align-items: center; gap: 10px; }
.sw-cat-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* 灯箱 */
.lb { position: fixed; inset: 0; background: rgba(16,17,18,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px; }
.lb.open { display: flex; }
.lb img { max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain; }
.lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #d6d7d9; font-size: 14px; }
.lb-x { position: absolute; top: 22px; right: 28px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; font-family: var(--mono); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 46px; height: 46px; cursor: pointer; font-size: 20px; font-family: var(--mono); }
.lb-nav:hover { background: rgba(255,255,255,.12); }
.lb-prev { left: 24px; } .lb-next { right: 24px; }

/* ---------- 案例页 ---------- */
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.case-card { border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 96px; }
.case-card:target { border-color: var(--oxide); box-shadow: 0 0 0 2px rgba(160,60,40,.18); }
.case-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ph); cursor: zoom-in; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 22px 26px 26px; border-top: 1px solid var(--line); }
.case-card-body h3 { margin-bottom: 6px; font-size: 18px; }
.case-meta { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.case-meta b { color: var(--oxide); font-weight: 500; }

/* ---------- 资讯页 ---------- */
.news-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.news-item { display: flex; gap: 28px; padding: 30px 4px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.news-item:hover { background: var(--hover); }
.news-item-date { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .12em; width: 96px; flex: none; padding-top: 4px; }
.news-src {
  display: inline-block; margin-top: 8px; padding: 2px 7px;
  border: 1px solid var(--line); border-radius: 2px;
  font-size: 12px; letter-spacing: .12em; color: var(--muted); background: var(--concrete);
}
.news-item-link { flex: 1; min-width: 0; display: block; color: inherit; }
.news-item-body { flex: 1; }
.news-item-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-item-body p { font-size: 15px; color: var(--body); }
.news-item:hover .news-item-body h3 { color: var(--oxide); }
.news-more {
  display: inline-block; margin-top: 12px;
  font-size: 13px; color: var(--oxide);
}
.news-item:hover .news-more, .card:hover .news-more { text-decoration: underline; }
.news-item-thumb-link { flex: none; }
.news-item-thumb { width: 168px; height: 116px; flex: none; overflow: hidden; background: var(--ph); }
.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-item:hover .news-item-thumb img { transform: scale(1.05); }
.news-empty { padding: 60px 0; color: var(--muted); }

@media (max-width: 1080px) {
  .prod-layout { grid-template-columns: 1fr; gap: 28px; }
  .ptabs { position: static; flex-direction: row; overflow-x: auto; border-left: none; border-bottom: 1px solid var(--line); gap: 0; padding-bottom: 2px; }
  .ptab { border-left: none; border-bottom: 2px solid transparent; white-space: nowrap; padding: 11px 16px; width: auto; }
  .ptab.active { border-bottom-color: var(--oxide); background: none; }
  .sw-grid { grid-template-columns: repeat(3, 1fr); }
  .case-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sw-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .news-item-thumb { width: 120px; height: 84px; }
  .news-item-date { display: none; }
  .news-item { gap: 18px; }
}

@media (max-width: 768px) {
  .contact-flex { grid-template-columns: 1fr !important; }
}

/* ---------- 产品页: 颜色筛选行 ---------- */
.cfil { display: flex; flex-wrap: wrap; gap: 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.cfil-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; font-size: 15px; color: var(--body); background: none;
  border: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; font-family: var(--sans);
  transition: color .18s, border-color .18s;
}
.cfil-btn:hover { color: var(--ink); }
.cfil-btn.active { color: var(--ink); border-bottom-color: var(--oxide); font-weight: 500; }
.cfil-btn i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.cfil-btn.active i { color: var(--oxide); }
.cfil-btn.is-empty { color: var(--disabled); }
.cfil-btn.is-empty i { color: var(--disabled); }

/* ---------- 颜色详情页 ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pd-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); background: var(--ph); }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img-note { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #fff; background: rgba(23,24,26,.6); padding: 5px 10px; }
.pd-info { padding-top: 8px; }
.pd-tags { display: flex; gap: 8px; margin-bottom: 22px; }
.pd-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; border: 1px solid var(--line); color: var(--body); padding: 5px 12px; background: var(--surface); }
.pd-spec { width: 100%; border-collapse: collapse; }
.pd-spec th, .pd-spec td { text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 400; }
.pd-spec th { width: 96px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.pd-spec td { color: var(--ink); }
.pd-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pd-cta { display: flex; align-items: center; gap: 22px; margin-top: 28px; flex-wrap: wrap; }
.pd-tel { font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.pd-tel:hover { color: var(--oxide); border-color: var(--oxide); }
.pd-sec { padding: 56px 0 8px; }
.pd-sec h2 { font-size: 22px; margin-bottom: 24px; }
.pd-sec-alt { background: var(--surface); padding: 56px 0 48px; margin-top: 48px; }
.pd-sizes { width: 100%; max-width: 760px; border-collapse: collapse; }
.pd-sizes th, .pd-sizes td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 400; }
.pd-sizes tr:first-child th { border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 500; }
.pd-sizes th { width: 200px; color: var(--muted); }
.pd-sizes td { color: var(--ink); }
.pd-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pd-case { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.pd-case:hover { border-color: var(--ink); }
.pd-case-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ph); }
.pd-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pd-case:hover .pd-case-img img { transform: scale(1.05); }
.pd-case b { padding: 14px 16px 4px; font-size: 15px; font-weight: 500; color: var(--ink); }
.pd-case-meta { padding: 0 16px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.pd-more-link { margin-top: 24px; }
.pd-more-link a { font-size: 15px; color: var(--oxide); }
.pd-more-link a:hover { text-decoration: underline; }
.pd-sib { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) {
  .pd { grid-template-columns: 1fr; gap: 32px; }
  .pd-case-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-sib { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .pd-case-grid { grid-template-columns: 1fr; }
  .pd-sib { grid-template-columns: repeat(2, 1fr); }
  .cfil { overflow-x: auto; flex-wrap: nowrap; }
  .cfil-btn { white-space: nowrap; }
}

/* ---------- 联系页: 信息列 + 小地图 ---------- */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.ct-info { border: 1px solid var(--line); background: var(--surface); padding: 34px 32px 30px; }
.ct-brand { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ct-brand img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.ct-brand b { display: block; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: .01em; line-height: 1.35; }
.ct-brand small { display: block; margin-top: 5px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ct-list { margin: 0; }
.ct-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-row:last-child { border-bottom: none; }
.ct-ico { flex: none; margin-top: 3px; color: var(--muted); transition: color .18s; }
.ct-row:hover .ct-ico { color: var(--oxide); }
.ct-v { font-size: 16px; line-height: 1.55; color: var(--ink); border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
a.ct-v:hover { color: var(--oxide); border-bottom-color: var(--oxide); }
.ct-tel { font-family: var(--mono); font-size: 16px; letter-spacing: .02em; }
.ct-qr { display: flex; align-items: center; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 6px; }
.ct-qr img { width: 104px; height: 104px; flex: none; border: 1px solid var(--line); background: #fff; padding: 5px; }
.ct-qr p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--muted); }
.ct-map .eyebrow { margin-bottom: 14px; }
.ct-map-link { display: block; position: relative; border: 1px solid var(--line); overflow: hidden; background: #ecece8; }
.ct-map-link img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.ct-map-link:hover img { transform: scale(1.04); }
.ct-map-open {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 12px; background: rgba(23,24,26,.72);
  color: #fff; font-size: 13px; letter-spacing: .04em;
}
.ct-map-link:hover .ct-map-open { background: var(--oxide); }
.ct-map-open i { font-style: normal; font-size: 13px; }
.ct-map-cap { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.ct-map-btns { display: flex; gap: 10px; margin-top: 14px; }
.ct-map-btns a {
  flex: 1; text-align: center; padding: 9px 6px; font-size: 13px;
  border: 1px solid var(--line); background: var(--surface); color: var(--body);
  transition: border-color .18s, color .18s, background .18s;
}
.ct-map-btns a:hover { border-color: var(--ink); color: var(--ink); background: #fff; }

@media (max-width: 980px) {
  .ct { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .ct-info { padding: 26px 20px 24px; }
  .ct-brand b { font-size: 18px; }
  .ct-v { font-size: 15px; }
  .ct-tel { font-size: 16px; }
  .ct-qr img { width: 92px; height: 92px; }
}

/* ---------- 案例列表卡片（整卡可点） ---------- */
.case-card { color: inherit; }
.case-card-img { display: block; cursor: pointer; }
.case-card-body { display: block; }
.case-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--oxide); }
.case-card:hover { border-color: var(--ink); }
.case-card:hover .case-more { text-decoration: underline; }

/* ---------- 案例详情页 ---------- */
.cp-sub { margin-top: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.cp-hero { border: 1px solid var(--line); overflow: hidden; background: var(--ph); }
.cp-hero img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.cp-body h2 { font-size: 22px; margin-bottom: 18px; }
.cp-body p { margin-bottom: 14px; }
.cp-note { font-size: 13px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 12px; }
.cp-info { border: 1px solid var(--line); background: var(--surface); padding: 28px 26px; }
.cp-info-title { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.cp-spec { width: 100%; border-collapse: collapse; }
.cp-spec th, .cp-spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 400; vertical-align: top; }
.cp-spec th { width: 96px; color: var(--muted); white-space: nowrap; }
.cp-spec td { color: var(--ink); }
.cp-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 24px; }
.cp-tel { font-family: var(--mono); font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.cp-tel:hover { color: var(--oxide); border-color: var(--oxide); }
.cp-hint { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.cp-colors { grid-template-columns: repeat(5, 1fr); }

/* ---------- 从项目案例进入花色页时的返回条 ---------- */
.cp-back {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding: 8px 14px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; color: var(--body);
}
.cp-back:hover { border-color: var(--ink); color: var(--ink); }
.cp-back kbd {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  border: 1px solid var(--line); padding: 2px 6px; color: var(--muted); background: var(--concrete);
}

@media (max-width: 1080px) {
  .cp { grid-template-columns: 1fr; gap: 32px; }
  .cp-colors { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .cp-colors { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
}

/* ---------- 资讯页: 来源说明 ---------- */
.news-from { margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.news-from b { color: var(--body); font-weight: 500; }
