/* ===========================================================
   肇活道 · 首页样式（v2）
   参考：大品牌官网语言 —— 全屏大图 / 大字 / 分屏叙事
   配色：墨绿 + 稻金 + 暖白
   =========================================================== */

:root {
  --ink: #16211a;
  --ink-soft: #3d4a41;
  --green-900: #0d1f17;
  --green-800: #143024;
  --green-700: #1d4433;
  --green-600: #2a5a45;
  --gold: #b8873a;
  --gold-2: #e0bd7c;
  --gold-3: #f0d9a8;
  --paper: #f7f3e9;
  --paper-2: #efe9db;
  --paper-3: #e5ddca;
  --muted: #6d7469;
  --line: rgba(22, 33, 26, 0.14);
  --line-light: rgba(247, 243, 233, 0.22);

  --f-sans: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-num: "Fraunces", "Noto Serif SC", Georgia, serif;

  --w: 1240px;
  --pad: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }

.wrap {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: -999px;
  background: var(--green-800); color: var(--paper);
  padding: 12px 20px; z-index: 999;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------- 导航 ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 22px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
  transition: color 0.35s var(--ease);
}
.brand-mark {
  width: 72px; height: 72px;
  flex: none;
  display: block;
}
.brand-mark img {
  width: 100%; height: 100%;
  display: block;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt strong { font-size: 19px; font-weight: 900; letter-spacing: 0.04em; }
.brand-txt small { font-size: 11px; opacity: 0.72; letter-spacing: 0.16em; margin-top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.nav-links a {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0.92;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold-2);
  transition: right 0.35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { right: 0; }

.nav-tel {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.nav-tel:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }

/* 滚动后变白底 */
.nav.solid {
  background: rgba(247, 243, 233, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav.solid .brand,
.nav.solid .nav-links a,
.nav.solid .nav-tel { color: var(--ink); }
.nav.solid .nav-tel { border-color: var(--line); }
.nav.solid .nav-tel:hover { background: var(--green-800); color: var(--paper); border-color: var(--green-800); }

.nav-toggle { display: none; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--green-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  animation: heroIn 1.6s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 22, 15, 0.62) 0%, rgba(8, 22, 15, 0.10) 34%, rgba(8, 22, 15, 0.28) 62%, rgba(8, 22, 15, 0.86) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(64px, 10vh, 120px);
  padding-top: 140px;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold-3);
  margin: 0 0 26px;
}
.hero-kicker::before {
  content: "";
  width: 42px; height: 1px;
  background: var(--gold-2);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero h1 span { color: var(--gold-2); }

.hero-sub {
  margin: 28px 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
}
@media (max-width: 640px) { .hero-br { display: none; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.06em;
  transition: all 0.32s var(--ease);
  border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--green-900); font-weight: 700; }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.btn-dark { background: var(--green-800); color: var(--paper); font-weight: 700; }
.btn-dark:hover { background: var(--green-700); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  right: var(--pad);
  bottom: clamp(64px, 10vh, 120px);
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-scroll i {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.7));
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------------- 数据带 ---------------- */
.band-stats {
  background: var(--green-900);
  color: var(--paper);
  padding: clamp(56px, 8vw, 96px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 8px clamp(16px, 2.4vw, 40px);
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat b {
  display: block;
  font-family: var(--f-num);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  color: var(--gold-2);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat b em { font-style: normal; font-size: 0.4em; margin-left: 4px; color: var(--gold-3); }
.stat span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 233, 0.66);
}

/* ---------------- 通用区块 ---------------- */
.sec { padding: clamp(72px, 11vw, 140px) 0; }

/* 锚点跳转时给固定导航留出空间 */
section[id], main [id] { scroll-margin-top: 96px; }
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gold);
  margin: 0 0 20px;
  font-weight: 700;
}
.sec-tag::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
}
.sec-head.center .sec-tag::before { display: none; }
.sec h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.sec h2 em { font-style: normal; color: var(--green-600); }
.sec-lede {
  margin: 22px 0 0;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.95;
  color: var(--ink-soft);
}

/* ---------------- 品牌故事 ---------------- */
.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.story-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 70px -40px rgba(13, 31, 23, 0.55);
}
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,22,15,.42));
}
.story-stamp {
  position: absolute;
  left: 22px; bottom: 22px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-stamp b {
  font-family: var(--f-num);
  font-size: 26px;
  color: var(--gold-2);
  letter-spacing: 0;
}
.story-copy p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.story-quote {
  margin: 34px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  font-size: 18px;
  line-height: 1.8;
  color: var(--green-800);
  font-weight: 500;
}

/* ---------------- 产品 ---------------- */
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: stretch;
}
.p-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(22, 33, 26, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.p-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(13, 31, 23, 0.42);
}
.p-fig {
  position: relative;
  aspect-ratio: 1 / 1;
  flex: none;
  background: linear-gradient(160deg, #f6f1e4, #eee6d3);
  overflow: hidden;
}
.p-fig img {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.p-card:hover .p-fig img { transform: scale(1.045); }
.p-meta { padding: 18px 20px 22px; border-top: 1px solid rgba(22,33,26,.05); flex: 1; }
.p-series {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 7px;
  font-weight: 700;
}
.p-meta h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.p-spec { margin: 0; font-size: 13px; color: var(--muted); font-family: var(--f-num); }

.products-foot {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ---------------- 产地大图带 ---------------- */
.band-photo {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}
.band-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.band-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,22,15,.82) 0%, rgba(8,22,15,.42) 46%, rgba(8,22,15,.12) 100%);
}
.band-photo .wrap { position: relative; z-index: 2; color: #fff; padding-block: clamp(56px, 9vw, 110px); }
.band-photo h2 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  max-width: 16em;
}
.band-photo p {
  margin: 0;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
}
.band-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 40px;
}
.band-facts div {
  border-left: 1px solid rgba(255,255,255,.28);
  padding-left: 18px;
}
.band-facts b {
  display: block;
  font-family: var(--f-num);
  font-size: 30px;
  color: var(--gold-2);
  line-height: 1.1;
}
.band-facts span { font-size: 12px; letter-spacing: 0.14em; opacity: 0.75; }

/* ---------------- 产业链 ---------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(44px, 5vw, 68px);
  border-top: 1px solid var(--line);
}
.flow-step {
  padding: 34px clamp(14px, 1.6vw, 26px) 10px;
  border-left: 1px solid var(--line);
  position: relative;
}
.flow-step:first-child { border-left: 0; }
.flow-step b {
  display: block;
  font-family: var(--f-num);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.flow-step h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}
.flow-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------- 新闻 ---------------- */
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(36px, 4vw, 56px);
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(22, 33, 26, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -30px rgba(13, 31, 23, 0.4);
}
.news-fig { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.news-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-fig img { transform: scale(1.05); }
.news-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.16em; color: var(--gold); font-weight: 700;
}
.news-meta span { position: relative; }
.news-meta span::after {
  content: "";
  position: absolute;
  right: -8px; top: 50%;
  width: 1px; height: 10px;
  transform: translateY(-50%);
  background: var(--line);
}
.news-meta time { color: var(--muted); font-family: var(--f-num); letter-spacing: 0.04em; font-weight: 400; }
.news-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.news-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--green-600); font-weight: 700; }

/* ---------------- 联系 ---------------- */
.contact {
  background: var(--green-900);
  color: var(--paper);
  padding: clamp(72px, 10vw, 130px) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.contact h2 {
  margin: 0 0 28px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.24;
}
.tel-big {
  display: inline-block;
  font-family: var(--f-num);
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--gold-2);
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color 0.3s var(--ease);
}
.tel-big:hover { color: var(--gold-3); }
.tel-note { margin: 14px 0 0; font-size: 12px; letter-spacing: 0.16em; color: rgba(247,243,233,.55); }

.info-list { border-top: 1px solid var(--line-light); }
.info-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}
.info-list dt { color: rgba(247, 243, 233, 0.5); letter-spacing: 0.08em; }
.info-list dd { margin: 0; color: rgba(247, 243, 233, 0.92); }

/* ---------------- 页脚 ---------------- */
.foot {
  background: #081712;
  color: rgba(247, 243, 233, 0.5);
  padding: 40px 0 34px;
  font-size: 12.5px;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.foot a { color: rgba(247, 243, 233, 0.62); }
.foot a:hover { color: var(--gold-2); }

/* ---------------- 动效 ---------------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story-media { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-tel { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 42px; height: 42px;
    background: none;
    border: 0;
    cursor: pointer;
    color: #fff;
  }
  .nav.solid .nav-toggle { color: var(--ink); }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block;
    width: 22px; height: 2px;
    background: currentColor;
    position: relative;
    transition: 0.3s var(--ease);
  }
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute; left: 0;
  }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 8px; border-left: 1px solid var(--line-light); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
  .flow { grid-template-columns: 1fr; border-top: 0; }
  .flow-step { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .band-facts { gap: 24px; }
  .band-photo { min-height: 62vh; }
  .band-photo::after {
    background: linear-gradient(180deg, rgba(8,22,15,.35) 0%, rgba(8,22,15,.88) 100%);
  }
}

@media (max-width: 520px) {
  .brand-mark { width: 56px; height: 56px; }
  .brand { gap: 9px; }
  .brand-txt strong { font-size: 17px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .p-meta { padding: 14px 14px 16px; }
  .p-meta h3 { font-size: 14px; }
  .story-quote { font-size: 16px; }
}

/* 移动端菜单展开 */
@media (max-width: 860px) {
  .nav.open {
    background: var(--green-900);
    box-shadow: none;
    transition: none;      /* 直接切到深绿，避免背景过渡时闪白 */
  }
  .nav.open .brand,
  .nav.open .brand-txt strong,
  .nav.open .nav-tel { color: #fff; }
  .nav.open .brand-txt small { color: rgba(255, 255, 255, 0.72); }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--green-900);
    padding: 12px var(--pad) 26px;
  }
  .nav.open .nav-links a { color: #fff; font-size: 17px; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open .nav-toggle { color: #fff; }
}

/* ---------------- 产品筛选 ---------------- */
.p-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(26px, 3.2vw, 40px) 0 clamp(22px, 2.6vw, 30px);
}
.p-tab {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(22, 33, 26, 0.12);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.p-tab b {
  font-family: var(--f-num);
  font-weight: 400;
  font-size: 12px;
  opacity: 0.45;
  margin-left: 6px;
}
.p-tab:hover { border-color: var(--gold); }
.p-tab.on { background: var(--green-900); color: var(--paper); border-color: var(--green-900); }
.p-tab.on b { color: var(--gold-2); opacity: 0.85; }

.p-card { cursor: pointer; }
.p-card[hidden] { display: none; }
.p-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.p-note { margin: clamp(22px, 2.8vw, 32px) 0 0; font-size: 13px; color: var(--muted); }

/* ---------------- 产品大图灯箱 ---------------- */
.plb {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 20, 14, 0.93);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  animation: plbIn 0.25s var(--ease) both;
}
.plb[hidden] { display: none; }
@keyframes plbIn { from { opacity: 0; } to { opacity: 1; } }

.plb-body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 100%;
}
.plb-img {
  max-width: min(660px, 88vw);
  max-height: 64vh;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: clamp(12px, 2vw, 22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.plb-cap { text-align: center; color: #fff; }
.plb-series {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
}
.plb-title {
  margin: 0 0 4px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.plb-spec {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--f-num);
  letter-spacing: 0.06em;
}
.plb-count {
  margin: 10px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--f-num);
  letter-spacing: 0.12em;
}

.plb-btn {
  position: fixed;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.plb-btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); }
.plb-close { top: 22px; right: 26px; font-size: 22px; }
.plb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.plb-next { right: 26px; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .plb-btn { width: 40px; height: 40px; font-size: 22px; }
  .plb-close { top: 12px; right: 12px; }
  .plb-prev { left: 8px; }
  .plb-next { right: 8px; }
  .plb-img { max-height: 56vh; }
}

/* 浅色导航态：强制子元素为深色，避免继承白字看不清（排除菜单展开态） */
.nav.solid:not(.open) .brand,
.nav.solid:not(.open) .brand-txt,
.nav.solid:not(.open) .brand-txt strong,
.nav.solid:not(.open) .nav-toggle {
  color: var(--ink);
}
.nav.solid:not(.open) .brand-txt small {
  color: var(--muted);
  opacity: 1;
}
