/* ==========================================================================
   广州市靓馨情建材有限公司 · 官网样式
   深色铜金 / 工程作品集风格
   ========================================================================== */

:root {
  /* 底色层次 */
  --bg: #0a0e14;
  --bg-2: #111820;
  --bg-3: #161e2a;
  --bg-elev: #1a2332;

  /* 文字 */
  --ink: #e8e4dc;
  --ink-2: #c2c8d0;
  --muted: #8b97a8;
  --muted-2: #5a6a7a;

  /* 铜金 */
  --accent: #c9a962;
  --accent-light: #e0c98f;
  --accent-dark: #a08542;
  --accent-a4: rgba(201, 169, 98, 0.04);
  --accent-a8: rgba(201, 169, 98, 0.08);
  --accent-a14: rgba(201, 169, 98, 0.14);

  /* 线条 */
  --line: rgba(201, 169, 98, 0.15);
  --line-2: rgba(201, 169, 98, 0.3);
  --line-soft: rgba(255, 255, 255, 0.07);

  --danger: #d0674f;
  --ok: #6f9e7d;

  /* 阴影 */
  --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 24px 60px -30px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 20px 44px -22px rgba(201, 169, 98, 0.22);

  --radius: 0px;
  --radius-sm: 0px;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "STSong",
    "Cormorant Garamond", Georgia, serif;
  --font-sans: "Space Grotesk", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-num: var(--font-sans);

  --container: 1360px;
  --gutter: 48px;
  --header-h: 84px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

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

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

/* 细腻噪点，压住深色的塑料感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 300; letter-spacing: 0.03em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 300; letter-spacing: 0.02em; }
h3 { font-size: clamp(1.06rem, 1.6vw, 1.28rem); font-weight: 500; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent-a14); color: var(--ink); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #24303f; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(66px, 8vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--soft { background: var(--bg-2); }
.section--warm { background: var(--bg-3); }
.section--ink { background: #06090d; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.split--reverse .split-copy { order: 2; }
.split--reverse .split-media { order: 1; }
.split-media { position: relative; }
.split-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- typography helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: 0.65; }
.kicker--plain::before { display: none; }

.lead { font-size: 16px; line-height: 1.95; color: var(--muted); }
.para { color: var(--ink-2); }
.para p { margin: 0 0 1.1em; }
.para p:last-child { margin-bottom: 0; }

.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .kicker::before { display: none; }

.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.meta { font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; }
.tag {
  display: inline-block; padding: 5px 13px; font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--line); background: var(--accent-a4);
}

/* 居中金线分隔 */
.rule { width: 60px; height: 1px; background: var(--accent); margin: 22px auto 0; }
.section-head:not(.section-head--center) .rule { margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: all 0.32s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0a0e14; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-accent { border-color: var(--line-2); color: var(--accent); }
.btn-accent:hover { background: var(--accent); border-color: var(--accent); color: #0a0e14; transform: translateY(-2px); }
.btn-outline { border-color: var(--line-soft); color: var(--ink-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--ink); color: #0a0e14; }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 11.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: all 0.28s var(--ease);
}
.link-arrow:hover { gap: 14px; border-bottom-color: var(--line-2); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: linear-gradient(to bottom, rgba(10, 14, 20, 0.92), rgba(10, 14, 20, 0));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 14, 20, 0.96);
  box-shadow: 0 1px 0 var(--line), 0 14px 40px -24px rgba(0, 0, 0, 0.9);
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  font-family: var(--font-serif); font-size: 20px; color: var(--accent);
  transition: all 0.3s var(--ease);
}
.brand:hover .brand-mark { background: var(--accent); color: #0a0e14; }
.brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-text strong {
  font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: 0.06em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-text em {
  font-family: var(--font-sans); font-style: normal; font-size: 9.5px;
  letter-spacing: 0.16em; color: var(--muted-2); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  position: relative; font-family: var(--font-sans); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s var(--ease); padding-bottom: 4px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.32s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { width: 100%; }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-num); font-size: 15px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink-2); transition: color 0.3s var(--ease);
}
.header-phone svg { width: 15px; height: 15px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 16px; height: 1px; background: var(--ink); content: "";
  transition: all 0.3s var(--ease);
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -5px; left: 0; }
.nav-toggle span::after { top: 5px; left: 0; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); background: var(--accent); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); background: var(--accent); }

/* ---------- hero (首页) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 22% 40%, rgba(201, 169, 98, 0.09) 0%, transparent 62%),
    radial-gradient(ellipse 55% 45% at 82% 62%, rgba(201, 169, 98, 0.055) 0%, transparent 60%),
    linear-gradient(180deg, #0a0e14 0%, #0e141c 55%, #0a0e14 100%);
}
.hero-bg-grid::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 78%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 140px 0 110px; }
.hero-copy { max-width: 880px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px;
  border: 1px solid var(--line); background: var(--accent-a4);
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 30px;
}
.hero-badge i { width: 6px; height: 6px; background: var(--accent); display: block; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.05rem, 1.9vw, 1.5rem); font-weight: 300; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 26px; }
.hero-copy > .lead { max-width: 660px; margin-bottom: 42px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual { margin-top: clamp(48px, 7vw, 88px); position: relative; }
.media-frame {
  position: relative; border: 1px solid var(--line); background: var(--bg-2);
  aspect-ratio: 16 / 8; overflow: hidden;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 品牌 logo ---------- */
.brand { gap: 15px; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; display: block; flex: none; }
.footer-logo { align-items: center; }
.footer-logo .brand-logo { width: 52px; height: 52px; }

/* ---------- hero 轮播（首页首屏 · 居中） ---------- */
.hero-carousel-section {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(44px, 6vw, 84px)) 0 clamp(48px, 6vw, 84px);
  background:
    radial-gradient(ellipse 55% 42% at 50% 0%, rgba(201, 169, 98, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #0a0e14 0%, #0d131b 100%);
}
.hc-glow {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 38%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 38%, #000 15%, transparent 75%);
}
.hc-head { position: relative; text-align: center; max-width: 880px; margin: 0 auto clamp(36px, 4.5vw, 58px); }
.hc-head h1 { margin: 16px 0 18px; }
.hc-sub {
  font-size: clamp(1rem, 1.7vw, 1.28rem); font-weight: 300; color: var(--accent);
  letter-spacing: 0.1em; line-height: 1.75; max-width: 760px; margin: 0 auto 30px;
}
.hc-head .hero-actions { justify-content: center; }
.hero-carousel { position: relative; max-width: 1240px; margin: 0 auto; }
.hc-frame {
  position: relative; aspect-ratio: 21 / 9; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  box-shadow: 0 34px 90px -42px rgba(0, 0, 0, 0.85);
  touch-action: pan-y;
}
.hc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.hc-slide.is-active { opacity: 1; z-index: 1; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.hc-slide.is-active img { animation: hcZoom 6.8s var(--ease) forwards; }
@keyframes hcZoom { from { transform: scale(1.03); } to { transform: scale(1.11); } }
.hc-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.06) 45%, rgba(10, 14, 20, 0.52) 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.24);
}
.hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(10, 14, 20, 0.55); border: 1px solid var(--line-2); color: #fff;
  cursor: pointer; backdrop-filter: blur(6px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.hc-arrow svg { width: 20px; height: 20px; }
.hc-arrow:hover { background: var(--accent); border-color: var(--accent); color: #101418; }
.hc-prev { left: -23px; }
.hc-next { right: -23px; }
.hc-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; }
.hc-dot {
  width: 26px; height: 2px; padding: 0; border: 0; cursor: pointer;
  background: var(--line-2); transition: all 0.35s var(--ease);
}
.hc-dot:hover { background: var(--muted-2); }
.hc-dot.is-active { background: var(--accent); width: 42px; }

/* ---------- 联系页微信二维码卡 ---------- */
.qr-card {
  display: flex; align-items: center; gap: 18px;
  border: 1px solid var(--line-soft); background: var(--bg-2); padding: 18px 20px;
}
.qr-card img { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line-soft); flex: none; }
.qr-text { display: flex; flex-direction: column; gap: 6px; }
.qr-text b { font-size: 15.5px; letter-spacing: 0.04em; }
.qr-text span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- 空内容自动隐藏（如未填邮箱/营业时间/备案号） ---------- */
.site-footer [data-site]:empty { display: none; }
.footer-meta [data-site]:not(:empty) + a::before { content: "\00b7"; margin: 0 10px; opacity: 0.55; }
.info-row:has(dd[data-site]:empty),
.info-row:has([data-site-mail]:empty),
.info-row:has([data-site-tel]:empty) { display: none; }


/* ---------- page hero (内页) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(58px, 8vw, 104px)) 0 clamp(52px, 6vw, 86px); overflow: hidden; }
.page-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 55% 70% at 18% 30%, rgba(201, 169, 98, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.75) 0%, rgba(10, 14, 20, 0.95) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.page-hero h1 { margin: 14px 0 20px; }
.page-hero .lead { max-width: 700px; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px;
}
.breadcrumb a { color: var(--muted); transition: color 0.28s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.stat { background: var(--bg-2); padding: 34px 26px; text-align: center; transition: background 0.35s var(--ease); }
.stat:hover { background: var(--bg-3); }
.stat b { display: block; font-family: var(--font-num); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; color: var(--accent); line-height: 1; }
.stat span { display: block; margin-top: 12px; font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column; position: relative;
  background: var(--bg-2); border: 1px solid var(--line-soft);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(10, 14, 20, 0.72));
}
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-tagline {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.card-body h3 { margin-bottom: 12px; transition: color 0.3s var(--ease); }
.card:hover .card-body h3 { color: var(--accent); }
.card-text { font-size: 14.5px; line-height: 1.85; color: var(--muted); flex: 1; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.chip-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 13px; background: rgba(10, 14, 20, 0.82);
  border: 1px solid var(--line-2);
  font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  backdrop-filter: blur(6px);
}

/* ---------- filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: clamp(38px, 4vw, 58px); }
.chip {
  padding: 12px 26px; border: 1px solid var(--line);
  font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); cursor: pointer;
  transition: all 0.32s var(--ease);
}
.chip:hover { border-color: var(--line-2); color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #0a0e14; }

.search-box { position: relative; max-width: 380px; margin: 0 auto 34px; }
.search-box svg {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted-2); pointer-events: none;
}
.search-box input {
  width: 100%; padding: 13px 18px 13px 44px; background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line); font-family: var(--font-sans); font-size: 13.5px;
  letter-spacing: 0.04em; outline: none; transition: border-color 0.3s var(--ease);
}
.search-box input::placeholder { color: var(--muted-2); }
.search-box input:focus { border-color: var(--accent); }

/* ---------- features / steps / timeline ---------- */
.feature { padding: 32px 28px; border: 1px solid var(--line-soft); background: var(--bg-2); transition: all 0.4s var(--ease); }
.feature:hover { border-color: var(--line-2); background: var(--bg-3); }
.feature-idx { font-family: var(--font-num); font-size: 30px; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.feature h3 { margin-bottom: 12px; }
.feature p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }

.steps { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.step { display: flex; gap: 22px; padding: 30px 30px; background: var(--bg-2); transition: background 0.35s var(--ease); }
.step:hover { background: var(--bg-3); }
.step-num { font-family: var(--font-num); font-size: 26px; color: var(--accent); line-height: 1.2; flex-shrink: 0; min-width: 46px; }
.step h3 { margin-bottom: 8px; font-size: 16px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--accent), var(--line), transparent); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 8px; width: 11px; height: 11px; border: 1px solid var(--accent); background: var(--bg); }
.tl-stage { font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.tl-body { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* ---------- colors ---------- */
.color-strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.color-strip .cs { aspect-ratio: 1 / 1.7; position: relative; overflow: hidden; border: 1px solid var(--line-soft); transition: transform 0.4s var(--ease); }
.color-strip .cs:hover { transform: translateY(-5px); }
.color-strip .cs i { position: absolute; inset: 0; display: block; }

.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.swatch { border: 1px solid var(--line-soft); background: var(--bg-2); cursor: pointer; transition: all 0.4s var(--ease); }
.swatch:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.swatch-face { aspect-ratio: 4 / 3; position: relative; }
.swatch-meta { padding: 15px 16px 17px; border-top: 1px solid var(--line-soft); }
.swatch-code { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); }
.swatch-name { font-size: 14.5px; color: var(--ink); margin-top: 5px; }
.swatch-finish {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  padding: 3px 9px; background: rgba(10, 14, 20, 0.55);
  font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px); border-radius: 2px;
}

/* 图片色卡（裁切自电子色卡） */
.swatch--img { padding: 0; overflow: hidden; background: var(--bg-2); }
.swatch--img .swatch-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3 / 4.2; }
.swatch--img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s var(--ease); }
.swatch--img:hover img { transform: scale(1.05); }
.swatch--img .swatch-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px 12px;
  background: linear-gradient(to top, rgba(10, 14, 20, 0.78), rgba(10, 14, 20, 0.2) 60%, transparent);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.swatch--img:hover .swatch-overlay { opacity: 1; }
.swatch--img .swatch-overlay .swatch-code { color: #fff; font-size: 12px; letter-spacing: 0.06em; }
@media (max-width: 640px) {
  .color-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .swatch--img .swatch-overlay { opacity: 1; background: linear-gradient(to top, rgba(10, 14, 20, 0.65), transparent 70%); }
}

.color-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: start; }
.color-detail-face { aspect-ratio: 1 / 1; position: relative; border: 1px solid var(--line); }
.color-detail-info h3 { margin-bottom: 6px; }
.cd-code { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 14px; }
.cd-name { font-size: 20px; color: var(--ink); margin-bottom: 20px; }
.cd-rows { border-top: 1px solid var(--line-soft); }
.cd-row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.cd-row span:first-child { color: var(--muted-2); font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.cd-row span:last-child { color: var(--ink); }
.cd-related { margin-top: 34px; }
.cd-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.cd-related-grid .cs { aspect-ratio: 1; position: relative; border: 1px solid var(--line-soft); cursor: pointer; }

.texture-wood {
  background-image: repeating-linear-gradient(92deg, rgba(0, 0, 0, 0.055) 0 1px, rgba(255, 255, 255, 0.05) 1px 5px, rgba(0, 0, 0, 0.02) 5px 9px),
    repeating-linear-gradient(88deg, rgba(0, 0, 0, 0.04) 0 2px, transparent 2px 17px);
}
.texture-stone {
  background-image: radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 62%, rgba(0, 0, 0, 0.12) 0 1.5px, transparent 3px),
    radial-gradient(circle at 45% 80%, rgba(0, 0, 0, 0.07) 0 1px, transparent 2px),
    repeating-linear-gradient(74deg, rgba(255, 255, 255, 0.14) 0 3px, transparent 3px 30px);
}
.texture-fabric {
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 4px);
}
.texture-metal {
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 1px, rgba(0, 0, 0, 0.045) 1px 2px, rgba(255, 255, 255, 0.14) 2px 4px);
}
.texture-solid {
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.06) 100%);
}

/* ---------- 电子色卡画廊 ---------- */
.cc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.cc-tile {
  margin: 0; cursor: zoom-in; overflow: hidden; position: relative;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cc-tile img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.cc-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8); }
.cc-tile:hover img { transform: scale(1.04); }
.cc-tile figcaption {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 9px;
  background: rgba(10, 14, 20, 0.72); color: #fff;
  font-size: 11px; letter-spacing: 0.08em; border: 1px solid rgba(201, 169, 98, 0.35);
}
@media (max-width: 900px) { .cc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- product specs ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; vertical-align: top; }
.spec-table td:first-child { width: 34%; color: var(--muted-2); font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.spec-table td:last-child { color: var(--ink); }
.spec-table tr:first-child td { border-top: 1px solid var(--line-soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.info-card { border: 1px solid var(--line-soft); background: var(--bg-2); padding: 34px 32px; }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child { border-bottom: 0; }
.info-row .k { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); min-width: 76px; padding-top: 3px; }
.info-row .v { color: var(--ink-2); font-size: 15px; }
.info-row .v a:hover { color: var(--accent); }

.form-card { border: 1px solid var(--line-soft); background: var(--bg-2); padding: clamp(28px, 3.4vw, 44px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); font-family: var(--font-serif); font-size: 15px;
  outline: none; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: var(--bg-2); }
.field textarea { min-height: 132px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-family: var(--font-sans); font-size: 12px; color: var(--muted-2); margin-top: 16px; line-height: 1.7; }
.form-msg { margin-top: 16px; padding: 13px 16px; font-size: 14px; border: 1px solid var(--line); display: none; }
.form-msg.is-ok { display: block; color: var(--ok); border-color: rgba(111, 158, 125, 0.4); background: rgba(111, 158, 125, 0.07); }
.form-msg.is-error { display: block; color: var(--danger); border-color: rgba(208, 103, 79, 0.4); background: rgba(208, 103, 79, 0.07); }

.notice-bar {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px;
  border: 1px solid var(--line); background: var(--accent-a4);
  font-size: 14px; color: var(--muted); line-height: 1.8;
}
.notice-bar svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); }

/* ---------- cta band ---------- */
.cta-band { position: relative; background: linear-gradient(135deg, #101822 0%, #0c1118 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 45% 90% at 88% 50%, rgba(201, 169, 98, 0.11) 0%, transparent 68%);
}
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px; padding: clamp(52px, 6vw, 84px) 0; }
.cta-inner h2 { margin-bottom: 12px; }
.cta-inner p { color: var(--muted); max-width: 620px; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- footer ---------- */
.site-footer { background: #06090d; border-top: 1px solid var(--line-soft); padding-top: clamp(56px, 6vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: clamp(42px, 5vw, 66px); }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 18px; max-width: 380px; }
.footer-logo { display: flex; align-items: center; gap: 13px; }
.footer-logo i {
  width: 38px; height: 38px; display: grid; place-items: center; font-style: normal;
  border: 1px solid var(--line-2); color: var(--accent); font-size: 19px;
}
.footer-logo b { font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: 0.08em; }
.footer-col h4 {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--muted); margin-bottom: 11px; transition: color 0.28s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 24px 0 30px; border-top: 1px solid var(--line-soft);
  font-family: var(--font-sans); font-size: 12px; color: var(--muted-2);
}
.footer-bottom a { transition: color 0.28s var(--ease); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 7, 11, 0.9); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; z-index: 1; width: min(1080px, calc(100vw - 48px)); max-height: 88vh; overflow-y: auto;
  margin: 6vh auto; background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.95);
  animation: modalIn 0.42s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(10, 14, 20, 0.8);
  color: var(--ink-2); font-size: 17px; transition: all 0.3s var(--ease);
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-body { display: grid; grid-template-columns: 0.95fr 1.05fr; }
.modal-media { background: var(--bg-3); min-height: 300px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: clamp(28px, 3.4vw, 44px); }
.modal-content h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); margin-bottom: 10px; }
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 24px; }
.modal-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line-soft); cursor: pointer; transition: border-color 0.3s var(--ease); }
.modal-gallery img:hover { border-color: var(--accent); }
.modal-tags { display: flex; flex-wrap: wrap; gap: 11px; }

/* ---------- placeholder / skeleton / empty ---------- */
.ph {
  width: 100%; height: 100%; min-height: 120px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px dashed var(--line);
}
.ph-inner { text-align: center; padding: 20px; }
.ph-mark {
  width: 46px; height: 46px; margin: 0 auto 12px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--accent); font-size: 21px;
}
.ph-label { font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }

.skeleton { background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border: 1px solid var(--line-soft); }
.skeleton-card { height: 340px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.empty, .empty-state {
  grid-column: 1 / -1; padding: 56px 24px; text-align: center;
  border: 1px dashed var(--line); color: var(--muted-2);
  font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em;
}

.boot-error {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999; padding: 13px 20px; text-align: center;
  background: var(--danger); color: #fff; font-family: var(--font-sans); font-size: 13.5px;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   案例展示 · 项目作品集
   ========================================================================== */

/* 页头统计 */
.case-stats { display: flex; flex-wrap: wrap; gap: clamp(30px, 5vw, 76px); margin-top: 40px; }
.case-stat b { display: block; font-family: var(--font-num); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; color: var(--accent); line-height: 1; }
.case-stat span { display: block; margin-top: 10px; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }

/* 交替式项目展示块 */
.project-showcase { max-width: 1400px; margin: 0 auto; }
.project-block {
  display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 76px;
  border: 1px solid var(--line-soft); background: var(--bg-2);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.project-block:last-child { margin-bottom: 0; }
.project-block:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.project-block.reverse .project-media { order: 2; }
.project-block.reverse .project-info { order: 1; }

.project-media { position: relative; min-height: 480px; overflow: hidden; background: var(--bg-3); }
.project-media .project-main {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.35s var(--ease), transform 0.9s var(--ease);
}
.project-block:hover .project-media .project-main { transform: scale(1.04); }
.project-media .ph { position: absolute; inset: 0; }
.project-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, rgba(10, 14, 20, 0.72) 0%, transparent 58%);
}
.project-block.reverse .project-shade { background: linear-gradient(to left, rgba(10, 14, 20, 0.72) 0%, transparent 58%); }

.project-thumbs { position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 3; display: flex; gap: 10px; flex-wrap: wrap; }
.project-block.reverse .project-thumbs { justify-content: flex-end; }
.thumb {
  width: 74px; height: 74px; padding: 0; flex-shrink: 0;
  border: 1px solid var(--line-2); overflow: hidden; background: var(--bg-3);
  transition: all 0.32s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--accent); transform: translateY(-4px); }
.thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.project-info { padding: clamp(34px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; }
.project-year {
  align-self: flex-start; display: inline-block; padding: 6px 16px; margin-bottom: 20px;
  border: 1px solid var(--line-2);
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.2em; color: var(--accent);
}
.project-name { font-size: clamp(1.3rem, 2.2vw, 1.85rem); font-weight: 400; margin-bottom: 10px; line-height: 1.35; }
.project-type { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.project-desc { color: var(--muted); font-size: 15px; line-height: 1.95; margin-bottom: 30px; }
.project-specs { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 44px); padding-top: 24px; border-top: 1px solid var(--line-soft); }
.project-specs .spec-item {}
.project-specs .spec-value { font-family: var(--font-num); font-size: 26px; color: var(--accent); line-height: 1; }
.project-specs .spec-label { margin-top: 8px; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.project-link { margin-top: 26px; }

/* 工程图集 */
.gallery-masonry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 196px; gap: 9px; max-width: 1400px; margin: 0 auto; }
.gallery-tile { position: relative; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-soft); cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s var(--ease); }
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile::after {
  content: ""; position: absolute; inset: 0; background: rgba(201, 169, 98, 0.12);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile.is-wide { grid-column: span 2; }
.gallery-tile.is-tall { grid-row: span 2; }
.gallery-tile.is-big { grid-column: span 2; grid-row: span 2; }

/* 合作客户 */
.client-group { max-width: 1400px; margin: 0 auto 58px; }
.client-group:last-of-type { margin-bottom: 0; }
.client-group-title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.client-group-title::before { content: ""; width: 4px; height: 16px; background: var(--accent); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }
.client-card { border: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; transition: all 0.42s var(--ease); }
.client-card:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.client-card-media { position: relative; height: 158px; overflow: hidden; background: var(--bg-3); }
.client-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.client-card:hover .client-card-media img { transform: scale(1.08); }
.client-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 48%, rgba(10, 14, 20, 0.85)); }
.client-card-info { padding: 16px 20px 19px; }
.client-card-name { font-size: 15px; color: var(--ink); transition: color 0.3s var(--ease); }
.client-card:hover .client-card-name { color: var(--accent); }
.client-card-en { margin-top: 5px; font-family: var(--font-sans); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted-2); }

.client-tags { max-width: 1180px; margin: 46px auto 0; text-align: center; }
.client-tags-title { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.client-tags-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.client-tag {
  padding: 9px 18px; border: 1px solid var(--line-soft); background: var(--bg-2);
  font-size: 13px; color: var(--muted); transition: all 0.3s var(--ease);
}
.client-tag:hover { border-color: var(--line-2); color: var(--accent); }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 54px;
  background: rgba(3, 5, 8, 0.96);
  overflow: hidden;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92%; max-height: 88vh; object-fit: contain; border: 1px solid var(--line);
  position: relative; z-index: 1; touch-action: none; cursor: zoom-in;
  transition: transform 0.2s var(--ease); will-change: transform;
}
.lightbox.is-zoomed img { cursor: grab; }
.lightbox.is-dragging img { transition: none; cursor: grabbing; }
.lightbox-close {
  position: absolute; top: 26px; right: 26px; width: 46px; height: 46px; z-index: 2;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  color: var(--ink); font-size: 20px; transition: all 0.3s var(--ease);
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-2); font-size: 20px;
  transition: all 0.3s var(--ease);
}
.lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-caption {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; text-align: center;
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .nav { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery-masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .project-block, .project-block.reverse { grid-template-columns: 1fr; }
  .project-block.reverse .project-media { order: 1; }
  .project-block.reverse .project-info { order: 2; }
  .project-media { min-height: 380px; }
  .project-shade, .project-block.reverse .project-shade { background: linear-gradient(to bottom, transparent 40%, rgba(10, 14, 20, 0.75) 100%); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-copy { order: 1; }
  .split--reverse .split-media { order: 2; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-media { min-height: 260px; max-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .color-detail { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-frame { aspect-ratio: 16 / 9; }
  .hc-prev { left: 12px; }
  .hc-next { right: 12px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 14, 20, 0.98); border-top: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease);
  }
  .site-header.is-open .nav { max-height: 460px; }
  .nav a { padding: 16px 32px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
  .nav a::after { display: none; }
  .brand-text em { display: none; }
  .brand-logo { width: 44px; height: 44px; }
  .gallery-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .gallery-tile.is-big { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 700px) {
  :root { --gutter: 22px; --header-h: 70px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hc-frame { aspect-ratio: 4 / 3; }
  .hc-arrow { width: 38px; height: 38px; }
  .hero-inner { padding: 120px 0 80px; }
  .hero-stats { gap: 30px; }
  .filter-bar { gap: 9px; }
  .chip { padding: 10px 18px; font-size: 11px; }
  .project-media { min-height: 280px; }
  .project-thumbs { left: 16px; right: 16px; bottom: 16px; }
  .thumb { width: 58px; height: 58px; }
  .project-specs { gap: 22px; }
  .project-specs .spec-value { font-size: 21px; }
  .client-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .client-card-media { height: 116px; }
  .client-card-info { padding: 12px 14px 15px; }
  .client-card-name { font-size: 13.5px; }
  .client-card-en { display: none; }
  .cd-related-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .modal-panel { width: calc(100vw - 24px); margin: 4vh auto; }
  .lightbox { padding: 20px; }
  .lightbox-nav { display: none; }
  .case-stats { gap: 28px; }
  .timeline { padding-left: 26px; }
}

/* ==========================================================================
   工厂实拍图廊（about 页静态板块）
   ========================================================================== */
.plant-gallery { column-count: 3; column-gap: 18px; }
.pg-group {
  column-span: all;
  margin: 10px 0 20px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent-light);
}
.pg-group:first-child { margin-top: 0; }
.pg-item {
  break-inside: avoid;
  position: relative;
  margin: 0 0 18px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-3);
}
.pg-item img {
  width: 100%;
  display: block;
  transition: transform 0.55s ease;
}
.pg-item:hover { border-color: var(--line-2); }
.pg-item:hover img { transform: scale(1.045); }
.pg-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #f3efe6;
  background: linear-gradient(to top, rgba(6, 9, 13, 0.82), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.pg-item:hover figcaption { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) { .plant-gallery { column-count: 2; } }
@media (max-width: 640px) {
  .plant-gallery { column-count: 1; }
  .pg-item figcaption { opacity: 1; transform: none; }
}

/* ==========================================================================
   资质荣誉证书网格（about 页静态板块）
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.cert-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.cert-img {
  background: #f4f1ea;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.cert-img img {
  width: 100%;
  display: block;
  border-radius: 3px;
}
.cert-card:hover .cert-img {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -20px rgba(0, 0, 0, 0.7);
}
.cert-card figcaption { padding: 12px 2px 0; }
.cert-card figcaption b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
}
.cert-card figcaption span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
  opacity: 0.72;
}
@media (max-width: 1024px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
