/* EGGER 爱格 品牌官网 - 共享样式
   配色：墨黑 / 米白 / 香槟金 / EGGER 红
   设计原则：高奢质感 · 大留白 · AI 引擎可读（文字全部保留在 DOM） */

/* ========== 设计令牌 ========== */
:root {
  --ink: #0F0F0F;
  --ink-2: #171717;
  --ink-3: #242424;
  --paper: #FBF9F5;
  --paper-2: #F4F1EA;
  --gold: #C6A667;
  --gold-2: #DCC28C;
  --gold-soft: rgba(198, 166, 103, .28);
  --red: #E31837;
  --red-dark: #B5132C;
  --text: #2A2A2A;
  --muted: #6E6A63;
  --line: #E8E3D9;
  --sh-sm: 0 2px 12px rgba(15, 15, 15, .05);
  --sh-md: 0 12px 34px rgba(15, 15, 15, .09);
  --sh-lg: 0 26px 70px rgba(15, 15, 15, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ========== 重置与基础 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "WenQuanYi Micro Hei", "Noto Sans CJK SC", "Source Han Sans SC", "Heiti SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--paper);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

/* ========== 排版 ========== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.28; color: var(--ink); letter-spacing: .01em; }
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 {
  font-size: 2.05rem;
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: none;
  display: block;
}
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; color: var(--ink); font-weight: 600; }
h4 { font-size: 1.05rem; margin: 1.5rem 0 .35rem; font-weight: 600; }
p { margin-bottom: 1rem; }
a { color: var(--red); text-decoration: none; transition: opacity .25s var(--ease), color .25s var(--ease); }
a:hover { opacity: .78; text-decoration: none; }
strong { color: var(--ink); font-weight: 600; }
ul, ol { margin: .5rem 0 1rem 1.5rem; }
li { margin-bottom: .35rem; }

/* 金色小标签 */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.section-head { margin-bottom: 2.75rem; }
.section-head h2 { margin-bottom: .85rem; }
.section-head p { color: var(--muted); max-width: 860px; margin-bottom: 0; }

/* ========== 布局 ========== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

header.site-header {
  background: rgba(15, 15, 15, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: #fff;
  padding: 1.05rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gold-soft);
}
.nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.brand {
  font-size: 1.14rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .1em;
}
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 1.05rem; list-style: none; flex-wrap: wrap; }
.nav-links a {
  color: rgba(255, 255, 255, .82);
  font-size: .83rem;
  letter-spacing: .04em;
}
.nav-links a:hover { color: var(--gold); opacity: 1; }

main { min-height: 60vh; padding: 0 0 5rem; }

/* ========== Hero ========== */
.hero { color: #fff; text-align: center; position: relative; overflow: hidden; background: var(--ink); }
.hero--photo { min-height: clamp(560px, 88vh, 920px); display: flex; flex-direction: column; justify-content: center; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/cases/14老钱风古币金奢石大别墅-客厅.jpg");
  background-size: cover;
  background-position: center 42%;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.11); } }

.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(15, 15, 15, .28) 0%, rgba(15, 15, 15, .72) 58%, rgba(15, 15, 15, .93) 100%),
    linear-gradient(180deg, rgba(15, 15, 15, .62) 0%, rgba(15, 15, 15, .38) 34%, rgba(15, 15, 15, .9) 100%);
}

.hero-inner { position: relative; z-index: 2; padding: 7rem 0 3rem; width: 100%; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 {
  color: #fff;
  font-size: 3.35rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero h1 .h1-sub {
  display: block;
  font-size: .44em;
  font-weight: 400;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .82);
  margin-top: 1rem;
}
.hero .lead {
  font-size: 1.06rem;
  opacity: .92;
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .92);
}
.hero .hero-note {
  font-size: .9rem;
  color: rgba(255, 255, 255, .72);
  margin: .6rem auto 0;
  letter-spacing: .04em;
}
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* 按钮 */
.btn {
  display: inline-block;
  padding: .95rem 2.3rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(227, 24, 55, .32); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .42); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }

/* 原 .hero .cta 兼容（内页仍在用） */
.hero .cta {
  display: inline-block;
  margin-top: 2rem;
  padding: .95rem 2.3rem;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.hero .cta:hover { background: var(--red-dark); opacity: 1; transform: translateY(-2px); }

/* Hero 数据带 */
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(198, 166, 103, .3);
  background: rgba(15, 15, 15, .58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: .02em;
  line-height: 1.2;
}
.hero-stats .stat span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .68);
  letter-spacing: .14em;
}

/* ========== 区块 ========== */
section.block { padding: 5rem 0; position: relative; }
section.block:nth-child(even of .block) { background: #fff; }

/* ========== 内页 Hero（各内页标题区，满幅实景头图） ========== */
.page-hero {
  position: relative;
  background-color: var(--ink);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.25rem, 7vw, 5.5rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, .84) 0%, rgba(15, 15, 15, .5) 46%, rgba(15, 15, 15, .93) 100%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff;
  font-size: 2.7rem;
  letter-spacing: .03em;
  margin-bottom: .9rem;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .4);
}
.page-hero h1::after { display: none; }
.page-hero .eyebrow { color: var(--gold-2); margin-bottom: .8rem; }
.page-hero .lead {
  color: rgba(255, 255, 255, .85);
  font-size: 1.02rem;
  max-width: 940px;
  margin-bottom: 0;
}
.page-hero a { color: var(--gold-2); }
.page-hero strong { color: #fff; }

.section-head + .grid, .section-head + table { margin-top: 0; }

.grid { display: grid; gap: 1.75rem; margin-top: 2rem; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  background: #fff;
  padding: 2.1rem 1.85rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--gold-soft); }
.card:hover::before { width: 100%; }
.card h3 { margin-top: 0; margin-bottom: .7rem; }
.card h3::after {
  content: "";
  display: block;
  width: 26px; height: 1px;
  margin-top: .6rem;
  background: var(--gold);
}
.card p { color: var(--muted); margin-bottom: 0; }
.card p:last-child { margin-bottom: 0; }

/* ========== 深色奢华区块 ========== */
.block--dark {
  background: var(--ink) !important;
  color: rgba(255, 255, 255, .82);
  position: relative;
}
.block--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 12% 0%, rgba(198, 166, 103, .1) 0%, rgba(15, 15, 15, 0) 60%);
  pointer-events: none;
}
.block--dark > .container { position: relative; z-index: 1; }
.block--dark h2 { color: #fff; }
.block--dark h3 { color: #fff; }
.block--dark p { color: rgba(255, 255, 255, .72); }
.block--dark strong { color: var(--gold-2); }
.block--dark .card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(198, 166, 103, .22);
  box-shadow: none;
}
.block--dark .card:hover { background: rgba(255, 255, 255, .07); border-color: var(--gold); }
.block--dark .card p { color: rgba(255, 255, 255, .68); }

/* ========== 知识文章页（seo/article-*.html） ========== */
.article-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3rem 3.25rem;
  box-shadow: var(--sh-sm);
  max-width: 940px;
  margin: 0 auto;
}
.article-meta-line {
  font-size: .86rem;
  color: var(--muted);
  letter-spacing: .06em;
  margin-bottom: 2.25rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.article-body { font-size: 1.02rem; line-height: 1.95; color: var(--text); }
.article-body .hp-section { margin: 2.25rem 0; }
.article-body .hp-section:first-child { margin-top: 0; }
.article-body .hp-section-title {
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .75rem;
  padding-left: .85rem;
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}
.article-body .hp-example {
  background: var(--paper-2);
  border-left: 3px solid var(--red);
  padding: 1rem 1.3rem;
  margin: 1.4rem 0;
  border-radius: 3px;
  font-size: .97rem;
}
.article-body .hp-tip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.3rem;
  margin: 1.4rem 0;
  border-radius: 3px;
  font-size: .97rem;
  color: var(--muted);
}
.article-body p { margin-bottom: 1rem; }
.article-body strong, .article-body b { color: var(--red); font-weight: 600; }
.article-body ul, .article-body ol { margin: .75rem 0 1rem 1.4rem; }
.article-body li { margin-bottom: .4rem; }

/* ========== 授权链路（关于我们页 · 四级体系） ========== */
.chain-section { margin: 1rem 0 4rem; }
.chain {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}
.chain-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.9rem 1.6rem 1.7rem;
  box-shadow: var(--sh-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.chain-item::after {
  content: "";
  position: absolute;
  top: 3.05rem;
  right: -1.5rem;
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(198, 166, 103, .2));
}
.chain-item:last-child::after { display: none; }
.chain-item:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--gold-soft); }
.chain-no {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold);
  margin-bottom: .8rem;
}
.chain-item h3 { font-size: 1.02rem; margin: 0 0 .4rem; line-height: 1.5; }
.chain-item h3::after { display: none; }
.chain-role { font-size: .82rem; color: var(--red); font-weight: 600; letter-spacing: .05em; margin-bottom: .8rem; }
.chain-item p:last-child { font-size: .92rem; color: var(--muted); margin-bottom: 0; }
.chain-foot {
  margin-top: 2.25rem;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  font-size: .94rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ========== 风格卡片（首页） ========== */
.style-grid { display: grid; gap: 2rem; margin-top: 2.5rem; grid-template-columns: repeat(3, 1fr); }
.style-card { padding: 0; overflow: hidden; border: none; background: transparent; }
.style-card::before { display: none; }
.style-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.style-card:hover { transform: none; box-shadow: none; }
.style-card .style-card-body { padding: 1.35rem .25rem 0; }
.style-card h3 { margin: 1.4rem 0 .35rem; font-size: 1.22rem; font-weight: 600; letter-spacing: .05em; }
.style-card h3::after { display: none; }
.style-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.block--dark .style-card p { color: rgba(255, 255, 255, .62); }
.style-card:hover img { transform: scale(1.06); filter: saturate(1.06); }

/* ========== FAQ（核心 GEO 模块） ========== */
.faq-item {
  background: #fff;
  margin-bottom: 1rem;
  padding: 1.6rem 1.9rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.faq-item:hover { box-shadow: var(--sh-md); border-color: var(--gold-soft); }
.faq-item h3 { margin: 0 0 .6rem; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.faq-item h3::after { display: none; }
.faq-item h3::before { content: "Q  "; color: var(--red); font-weight: 700; letter-spacing: .06em; }
.faq-item p { margin: 0 0 .5rem; color: var(--muted); }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item p:first-of-type::before { content: "A  "; color: var(--gold); font-weight: 700; letter-spacing: .06em; }

/* ========== 表格 ========== */
table { border-radius: 3px; }
th { font-weight: 600; letter-spacing: .04em; }

/* ========== 知识库文章列表 ========== */
.article-list { list-style: none; margin: 2rem 0; padding: 0; }
.article-list li {
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  transition: padding-left .4s var(--ease);
}
.article-list li:hover { background: transparent; padding-left: .8rem; }
.article-list a { flex: 1; color: var(--ink); }
.article-list a:hover { color: var(--red); }
.article-list .meta { font-size: .82rem; color: var(--muted); letter-spacing: .05em; }

/* ========== 联系信息块 ========== */
.contact-info { display: grid; gap: 1.35rem; margin-top: 2rem; }
.contact-info .item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info .item strong { min-width: 80px; color: var(--ink); }
.contact-info .item .label { color: var(--red); font-weight: 700; min-width: 80px; letter-spacing: .05em; }

/* ========== 页脚 ========== */
footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .55);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
  font-size: .88rem;
  border-top: 1px solid var(--gold-soft);
}
footer .footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2.25rem; }
footer h4 { color: #fff; margin-bottom: .9rem; font-size: .95rem; letter-spacing: .12em; font-weight: 600; }
footer ul { list-style: none; margin: 0; }
footer ul li { margin-bottom: .45rem; }
footer a { color: rgba(255, 255, 255, .6); }
footer a:hover { color: var(--gold-2); opacity: 1; }
footer .copyright {
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .4);
  font-size: .82rem;
  letter-spacing: .05em;
}

/* ========== 工具类 ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.highlight { background: linear-gradient(transparent 62%, rgba(198, 166, 103, .38) 62%); font-weight: 600; }

/* ========== 风格案例画廊（cases.html 用） ========== */
.style-section { margin: 4rem 0; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.style-section:last-of-type { border-bottom: none; }
.style-section h2 { font-size: 1.65rem; display: block; border-bottom: none; }
.style-section > p { color: var(--muted); margin-bottom: 1rem; }
.style-gallery { gap: 1rem; margin-top: 1.25rem; }
.style-gallery figure {
  margin: 0;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.style-gallery figure:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.style-gallery img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.style-gallery figure:hover img { transform: scale(1.05); }
.style-gallery figcaption {
  padding: .7rem;
  text-align: center;
  background: var(--ink);
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .12em;
}

/* ========== 授权证书（certification.html 用） ========== */
.cert-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  margin: 2.5rem 0;
}
.cert-details h2 { margin-top: 3rem; }
.cert-table th { font-weight: 600; color: var(--ink); }
.cert-table tr:hover { background: var(--paper); }

.cert-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.cert-thumb { margin: 0; }
.cert-thumb img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  cursor: zoom-in;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--sh-sm);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.cert-thumb img:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.cert-thumb figcaption { margin-top: .7rem; text-align: center; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.cert-hint { text-align: center; color: var(--muted); font-size: .86rem; }

/* 图片灯箱（JS 渐进增强） */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, .92);
  padding: 2rem;
  z-index: 9999;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 100%; max-height: 100%; border-radius: 3px; box-shadow: 0 20px 70px rgba(0, 0, 0, .6); }

/* 可点击放大的图片 */
img.zoomable { cursor: zoom-in; }
img.zoomable:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain-item::after { display: none; }
}
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container { padding: 0 20px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }
  section.block { padding: 3.5rem 0; }
  .hero--photo { min-height: 80vh; }
  .hero h1 { font-size: 2.05rem; letter-spacing: .02em; }
  .hero h1 .h1-sub { font-size: .5em; letter-spacing: .12em; margin-top: .7rem; }
  .hero-inner { padding: 5rem 0 2.5rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero .lead { font-size: .96rem; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .hero-stats .stat strong { font-size: 1.5rem; }
  .nav { flex-direction: column; align-items: center; }
  .nav-links { gap: 1rem; font-size: .82rem; justify-content: center; }
  .card { padding: 1.75rem 1.5rem; }
  .faq-item { padding: 1.35rem 1.4rem; }
}
@media (max-width: 560px) {
  .style-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .chain { grid-template-columns: 1fr; }
  .chain-section { margin-bottom: 3rem; }
}
/* 页脚二维码组：微信 / 公众号 / 抖音 / 小红书 四个官方号并排 */
.footer-qr {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: flex-start;
}
.footer-qr figure {
  margin: 0;
  width: 100px;
  text-align: center;
}
.footer-qr img {
  width: 100px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  background: #fff;
}
.footer-qr figcaption {
  margin-top: .5rem;
  font-size: .74rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}
.footer-qr figcaption span {
  color: rgba(255, 255, 255, .48);
  font-size: .69rem;
}
@media (max-width: 768px) {
  .footer-qr { gap: .8rem; }
  .footer-qr figure { width: 82px; }
  .footer-qr img { width: 82px; }
}
/* 爱格现货色卡：色板网格 */
.decor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 2.4rem;
}
.decor-item {
  margin: 0;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
}
.decor-item img {
  width: 100%;
  height: auto;
  display: block;
  background: #f4f2ee;
}
.decor-item figcaption {
  padding: .55rem .6rem .7rem;
  border-top: 1px solid #f4f4f4;
}
.decor-code {
  display: block;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .02em;
  color: #1a1a1a;
}
.decor-name {
  display: block;
  font-size: .76rem;
  line-height: 1.45;
  color: #555;
  margin-top: .12rem;
}
.decor-name.is-pending { color: #b3b3b3; }
.decor-tex {
  display: block;
  font-size: .68rem;
  line-height: 1.5;
  color: #9a9a9a;
  margin-top: .22rem;
}
.decor-legend {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 0;
  font-size: .88rem;
}
.decor-legend th,
.decor-legend td {
  text-align: left;
  padding: .62rem .8rem;
  border-bottom: 1px solid #eee;
}
.decor-legend th {
  background: #fafafa;
  font-weight: 600;
  color: #333;
}
.decor-legend td:last-child,
.decor-legend th:last-child { text-align: right; }
.decor-note {
  margin: 1.2rem 0 0;
  padding: 1rem 1.25rem;
  background: #fff;
  border-left: 3px solid #E31837;
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1.85;
  color: #666;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.decor-note strong { color: #333; }
@media (max-width: 1100px) {
  .decor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .decor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1rem 0 1.8rem; }
  .decor-code { font-size: .78rem; }
  .decor-name { font-size: .7rem; }
  .decor-tex { font-size: .64rem; }
}
@media (max-width: 520px) {
  .decor-grid { grid-template-columns: 1fr; }
}
.decor-desc {
  display: block;
  margin: .5rem 0 0;
  padding-top: .5rem;
  border-top: 1px dashed #ededed;
  font-size: .71rem;
  line-height: 1.62;
  color: #767676;
}
/* 页头导航：中等宽度改为品牌居中 + 链接居中换行，避免随机折行 */
@media (max-width: 1210px) {
  .nav { flex-direction: column; align-items: center; gap: .55rem; }
  .nav-links { justify-content: center; gap: 1.05rem; }
}
/* 爱格花色大全：编号索引表 */
.dt-legend { width:100%; border-collapse:collapse; margin:1.2rem 0 0; font-size:.88rem; }
.dt-legend th, .dt-legend td { text-align:left; padding:.62rem .8rem; border-bottom:1px solid #eee; vertical-align:top; line-height:1.7; }
.dt-legend th { background:#fafafa; font-weight:600; color:#333; }
.dt-note { margin:1.2rem 0 0; padding:1rem 1.25rem; background:#fff; border-left:3px solid #E31837; border-radius:4px; font-size:.9rem; line-height:1.85; color:#666; box-shadow:0 1px 4px rgba(0,0,0,.05); }
.dt-note strong { color:#333; }
.dt-wrap { overflow-x:auto; margin:1.3rem 0 2.4rem; }
.dtable { width:100%; border-collapse:collapse; font-size:.82rem; min-width:980px; }
.dtable th { text-align:left; padding:.6rem .55rem; background:#fafafa; border-bottom:2px solid #e8e8e8; font-weight:600; color:#333; white-space:nowrap; }
.dtable td { padding:.6rem .55rem; border-bottom:1px solid #f0f0f0; vertical-align:top; line-height:1.6; }
.dtable tbody tr:hover td { background:#fcfcfc; }
.dt-img { width:60px; }
.dt-img img { width:48px; height:48px; display:block; border-radius:4px; border:1px solid #eee; background:#f4f2ee; }
.dt-code { font-weight:700; white-space:nowrap; }
.dt-name { color:#222; min-width:100px; }
.dt-tex, .dt-thk { color:#8a8a8a; white-space:nowrap; }
.dt-state { white-space:nowrap; }
.dt-spot { display:inline-block; padding:.12rem .5rem; border-radius:3px; background:#e8f6ee; color:#0a7d3c; font-size:.74rem; font-weight:600; }
.dt-desc { color:#666; min-width:250px; }
.dt-pair { color:#8a8a8a; min-width:200px; font-size:.78rem; }
.dt-tbd { color:#c8c8c8; }
.dt-codes { display:flex; flex-wrap:wrap; gap:.5rem; margin:1.3rem 0 0; }
.dt-tag { display:inline-block; padding:.36rem .7rem; border:1px solid #e8e8e8; border-radius:4px; font-size:.82rem; font-weight:600; color:#444; background:#fafafa; }
.dt-tag:hover { border-color:#E31837; color:#E31837; background:#fff; }
@media (max-width: 860px) {
  .dtable { min-width:0; }
  .dtable thead { display:none; }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display:block; width:auto; }
  .dtable tr { border:1px solid #ececec; border-radius:8px; padding:.75rem .85rem; margin-bottom:.8rem; background:#fff; }
  .dtable td { border:none; padding:.12rem 0; }
  .dt-img img { width:64px; height:64px; float:left; margin:0 .8rem .5rem 0; }
  .dt-code { font-size:.96rem; display:inline; }
  .dt-name { font-size:.96rem; display:inline; color:#555; }
  .dt-desc { margin-top:.5rem; }
  .dt-pair { margin-top:.35rem; }
  .dt-wrap { overflow-x:visible; }
}
/* 花色检索框 */
.dt-search { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; margin:1.2rem 0 0; }
.dt-search input {
  flex:1 1 320px; min-width:0; padding:.8rem 1rem; font-size:.95rem; color:#222;
  border:1px solid #ddd; border-radius:6px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.03);
}
.dt-search input:focus { outline:none; border-color:#E31837; box-shadow:0 0 0 3px rgba(227,24,55,.08); }
.dt-count { font-size:.84rem; color:#8a8a8a; }
.dt-fx { color:#8a8a8a; min-width:110px; font-size:.78rem; }
.dt-empty { padding:1.4rem 0; color:#999; }
/* 花色大全：门店可订制状态标记 */
.dt-order {
  display: inline-block;
  padding: .12rem .5rem;
  border-radius: 3px;
  background: #fdf3e7;
  color: #a9660f;
  font-size: .74rem;
  font-weight: 600;
}
.dt-sub {
  margin: 1.6rem 0 .6rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1a1a1a;
}

.decor-desc.is-pending {
  color: #b0b0b0;
  font-style: normal;
}
/* 门店实拍：照片网格 */
.store-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 0;
}
.store-gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.store-gallery figure:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.store-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.store-gallery .sg-lead { grid-column: span 2; }
.store-gallery .sg-lead img { object-position: center 34%; }
.store-gallery .sg-portrait img { object-position: center 20%; }
.store-gallery figcaption {
  flex: 1;
  padding: .85rem 1rem 1.05rem;
  background: var(--ink);
}
.store-gallery figcaption .sg-title {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, .95);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.store-gallery figcaption .sg-title::after { display: none; }
.store-gallery figcaption span {
  display: block;
  margin-top: .42rem;
  color: rgba(255, 255, 255, .6);
  font-size: .8rem;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .store-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-gallery .sg-lead { grid-column: span 2; }
  .store-gallery img { height: 230px; }
}
@media (max-width: 560px) {
  .store-gallery { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .store-gallery .sg-lead { grid-column: span 1; }
  .store-gallery img { height: 200px; }
}
/* 风格方案：两级结构（风格系 → 方案）*/
.style-group {
  margin: 3.4rem 0 1.4rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.18rem;
  letter-spacing: .07em;
  color: var(--ink);
}
.style-group:first-of-type { margin-top: 2rem; }
.style-group em {
  margin-left: .55rem;
  font-style: normal;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
  vertical-align: .12em;
}
.style-section .style-name {
  margin: 2.3rem 0 .9rem;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink);
}
.style-section .style-name::after {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-top: .55rem;
  background: var(--gold);
}
@media (max-width: 768px) {
  .style-group { margin: 2.4rem 0 1rem; font-size: 1.06rem; }
  .style-section .style-name { margin: 1.8rem 0 .8rem; font-size: .98rem; }
}
/* ============================================
   手机适配补丁
   1) 4 列图组在手机上降为 2 列（原 minmax(230px) 在 390px 下退化成 1 列，页面被拉得过长）
   2) 色板网格在 ≤520px 保持 2 列（原为 1 列，66 款会拉到 3 万像素）
   3) 卡片式表格补字段标签（≤860px 隐藏表头后，数值失去说明）
   ============================================ */
@media (max-width: 768px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-4.style-gallery { gap: .7rem; }
  .style-gallery img { height: 132px; }
  .grid.cols-4 .card { padding: 1.4rem 1.2rem; }
}
@media (max-width: 400px) {
  .style-gallery img { height: 112px; }
}
@media (max-width: 520px) {
  .decor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decor-item figcaption { padding: .45rem .45rem .6rem; }
}
@media (max-width: 860px) {
  .dtable td.dt-tex::before,
  .dtable td.dt-thk::before {
    display: inline-block;
    min-width: 2.4em;
    margin-right: .3rem;
    color: #b0b0b0;
    font-size: .76rem;
  }
  .dtable td.dt-tex::before { content: "纹理"; }
  .dtable td.dt-thk::before { content: "厚度"; }
  .dtable td.dt-tex, .dtable td.dt-thk { font-size: .84rem; color: #555; }
}
/* ============================================
   手机端优化 v2：汉堡导航 + 排版收敛
   追加在最后，覆盖前面所有移动端规则
   ============================================ */

/* 汉堡按钮：桌面隐藏 */
.nav-burger { display: none; }

/* checkbox 视觉隐藏但可点（不能影响 :checked 与可访问性） */
.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 1024px) {
  header.site-header { padding: .78rem 0; }
  .nav {
    position: relative;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
  }
  .brand { font-size: 1.02rem; letter-spacing: .06em; white-space: nowrap; }

  .nav-burger {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    width: 84px;
    height: 40px;
    padding: 0 12px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    transition: background .25s ease, border-color .25s ease;
  }
  .nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  /* 提示词：绝对定位 + 精确垂直居中，避免任何行高错位 */
  .nav-burger::after {
    content: "菜单";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: .8rem;
    line-height: 1;
    letter-spacing: .06em;
    color: rgba(255,255,255,.9);
    white-space: nowrap;
  }
  .nav-toggle:checked ~ .nav-burger::after { content: "收起"; }
  .nav-burger:active { background: rgba(255,255,255,.14); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--gold, #c9a227); outline-offset: 2px; }

  /* 链接默认收起；展开时以「下拉浮层」出现，不占布局、不推走内容 */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + .7rem);
    left: 0;
    right: 0;
    z-index: 130;
    flex-direction: column;
    flex-wrap: nowrap;
    width: auto;
    gap: 0;
    margin: 0;
    padding: .35rem 1rem .5rem;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    box-shadow: 0 20px 46px rgba(0,0,0,.5);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: .74rem .2rem;
    font-size: .95rem;
    letter-spacing: .05em;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links li:last-child a { border-bottom: none; }
  /* 拉开菜单时限制正文被误点 */
  .nav-toggle:checked ~ .nav-links::before { content: none; }
}

@media (max-width: 768px) {
  /* Hero：手机别占满整屏，文案更紧凑 */
  .hero--photo { min-height: auto; padding: 3.2rem 0 2.4rem; }
  .hero-inner { padding: 0; }
  .hero h1 { font-size: 1.6rem; line-height: 1.36; }
  .hero h1 .h1-sub { font-size: .48em; letter-spacing: .1em; margin-top: .5rem; }
  .hero .lead { font-size: .9rem; line-height: 1.75; }
  .hero-actions { gap: .6rem; margin-top: 1.4rem; }
  .hero-actions .btn { width: 100%; }

  .page-hero { padding: 2.3rem 0 1.9rem; }
  .page-hero h1 { font-size: 1.48rem; line-height: 1.38; }
  .page-hero .lead { font-size: .9rem; }

  /* 章节与文字节奏 */
  section.block { padding: 2.5rem 0; }
  .container { padding: 0 18px; }
  h1 { font-size: 1.66rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.06rem; }
  .decor-note, .dt-note { padding: .85rem 1rem; font-size: .86rem; line-height: 1.8; }
  .decor-legend th, .decor-legend td, .dt-legend th, .dt-legend td { padding: .55rem .5rem; font-size: .82rem; }

  /* 表格卡片模式再收一点 */
  .dtable tr { padding: .7rem .8rem; }
  .dt-img img { width: 58px; height: 58px; }

  /* 页脚二维码 */
  .footer-qr { gap: .6rem; }
  .footer-qr figure, .footer-qr img { width: 78px; }
}
/* ============================================
   花色大全 · 手机端紧凑两列小卡（方案 A）
   每卡：色板 + 编号 + 名称 + 纹理 + 状态
   厚度 / 适配风格 / 产品描述 / 官方搭配 在手机上收起（HTML 仍在，桌面端不变）
   ============================================ */
@media (max-width: 860px) {
  .dt-wrap { margin: 1rem 0 1.6rem; overflow-x: visible; }
  .dtable, .dtable tbody { display: block; }
  .dtable tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }
  .dtable tr {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: .5rem;
    row-gap: .06rem;
    align-items: start;
    margin: 0;
    padding: .5rem .55rem;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
  }
  .dtable td { padding: 0; border: none; line-height: 1.45; }

  .dt-img { grid-column: 1; grid-row: 1 / span 4; width: auto; }
  .dt-img img {
    float: none;
    width: 84px;
    height: 84px;
    margin: 0;
    border-radius: 6px;
    object-fit: cover;
  }
  .dt-code  { grid-column: 2; font-size: .8rem; }
  .dt-name  { grid-column: 2; display: block; font-size: .71rem; min-width: 0; color: #666; }
  .dt-tex   { grid-column: 2; display: block; font-size: .62rem; white-space: normal; }
  .dt-state { grid-column: 2; margin-top: .12rem; }
  .dt-spot, .dt-order { font-size: .6rem; padding: .06rem .34rem; border-radius: 3px; }

  /* 手机上收起长文本列 */
  .dt-thk, .dt-fx, .dt-desc, .dt-pair { display: none !important; }
  /* 去掉卡片模式自动加的「纹理/厚度」前缀 */
  .dtable td.dt-tex::before,
  .dtable td.dt-thk::before { content: none !important; display: none !important; }
}

@media (max-width: 400px) {
  .dtable tr { grid-template-columns: 70px minmax(0, 1fr); }
  .dt-img img { width: 70px; height: 70px; }
  .dt-name { font-size: .68rem; }
}
/* ============================================
   花色详情弹层：点击任意花色查看大图与全部信息
   （手机端表格收起的长文本，在这里完整呈现）
   ============================================ */
.dtable tbody tr, .decor-item { cursor: pointer; }
.dtable tbody tr:active, .decor-item:active { background: #fbfbfb; }

.decor-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 8, 8, .9);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.decor-modal.active { display: flex; }

.decor-modal__box {
  position: relative;
  width: min(700px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.decor-modal__close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  color: #666;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.decor-modal__close:hover { background: #e8e8e8; color: #222; }

.decor-modal__head {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 3.2rem 1rem 1.2rem;
  border-bottom: 1px solid #f2f2f2;
}
.decor-modal__swatch {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  background: #f4f2ee;
  border: 1px solid #eee;
}
.decor-modal__meta { min-width: 0; }
.decor-modal__code { font-size: 1.18rem; font-weight: 700; letter-spacing: .02em; color: #1a1a1a; }
.decor-modal__name { margin-top: .15rem; font-size: .95rem; color: #444; }
.decor-modal__tags { margin-top: .55rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.decor-modal__tags span { font-size: .74rem; color: #666; background: #f6f6f6; border-radius: 4px; padding: .18rem .5rem; }
.decor-modal__tags span.is-spot { background: #e8f6ee; color: #0a7d3c; font-weight: 600; }
.decor-modal__tags span.is-order { background: #fdf3e7; color: #a9660f; font-weight: 600; }

.decor-modal__body { padding: 1rem 1.2rem 1.3rem; }
.decor-modal__body h4 {
  margin: 1rem 0 .4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: #aaa;
}
.decor-modal__body h4:first-child { margin-top: 0; }
.decor-modal__body p { font-size: .87rem; line-height: 1.9; color: #555; }
.decor-modal__body p a { color: #555; text-decoration: none; border-bottom: 1px solid #e6e6e6; }
.decor-modal__body p a:hover { color: #E31837; border-bottom-color: #E31837; }

@media (max-width: 640px) {
  .decor-modal { padding: 0; align-items: flex-end; }
  .decor-modal__box { max-height: 92vh; border-radius: 16px 16px 0 0; }
  /* 手机上：色板整幅铺满顶部，色差看得最清楚 */
  .decor-modal__head { flex-direction: column; gap: 0; padding: 0 0 .95rem; border-bottom: 1px solid #f2f2f2; }
  .decor-modal__swatch { width: 100%; height: auto; aspect-ratio: 4 / 3; border: none; border-radius: 16px 16px 0 0; }
  .decor-modal__meta { padding: .85rem 3.2rem 0 1rem; }
  .decor-modal__code { font-size: 1.06rem; }
  .decor-modal__name { font-size: .9rem; }
  .decor-modal__close { top: .6rem; right: .6rem; background: rgba(255,255,255,.88); box-shadow: 0 1px 6px rgba(0,0,0,.18); }
  .decor-modal__body { padding: .9rem 1rem 1.3rem; }
  .decor-modal__body p { font-size: .84rem; line-height: 1.85; }
  .decor-modal__tags { margin-top: .6rem; }
}
/* ============================================
   页脚链接菜单：手机上改成等宽三列
   原来是用 flex-wrap 硬换行，每行项数不同、列位置对不齐（看着乱）
   注意：<ul> 自带行内 style="display:flex; gap:1.9rem"，
        行内样式优先级最高，所以必须用 !important 覆盖
   ============================================ */
@media (max-width: 768px) {
  footer.site-footer > .container > ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex-wrap: nowrap !important;
    gap: .75rem .5rem !important;
  }
  footer.site-footer > .container > ul li {
    margin: 0;
    min-width: 0;
  }
  footer.site-footer > .container > ul li a {
    display: block;
    font-size: .84rem;
    line-height: 1.5;
  }
  footer.site-footer .copyright {
    margin-top: 1.2rem;
    font-size: .74rem;
    line-height: 1.7;
  }
}

@media (max-width: 430px) {
  /* 小屏：二维码从 78px 收到 70px，四个正好一行 */
  .footer-qr { gap: .5rem; }
  .footer-qr figure, .footer-qr img { width: 70px; }
  footer.site-footer > .container > ul li a { font-size: .8rem; }
}

/* ============================================================
   首页「多种主流风格实景方案」区：手机端改两列
   原因：14 张风格卡在手机上各占一整屏，区块高达约 7000px（9 屏滚动），观感沉重
   只用 #styles 限定，不影响 cases.html 等其他页面的 .style-grid
   ============================================================ */
@media (max-width: 560px) {
  #styles .style-grid { grid-template-columns: repeat(2, 1fr); gap: 1.15rem .8rem; margin-top: 1.6rem; }
  #styles .style-card .style-card-body { padding: .65rem .05rem 0; }
  #styles .style-card h3 { margin: .6rem 0 .18rem; font-size: .97rem; letter-spacing: .02em; }
  #styles .style-card h3::after { display: none; }
  #styles .style-card p { font-size: .75rem; line-height: 1.5; }
  /* 手机上简介与按钮更紧凑 */
  #styles .section-head p { font-size: .86rem; line-height: 1.65; }
  #styles .mx-auto-btn { margin-top: 1.6rem; }
}

/* ============================================================
   首页下半部分（为什么选择 / 了解我们 / 口碑 / FAQ / 预约）
   手机端排版收紧
   ============================================================ */
@media (max-width: 560px) {
  section.block { padding: 2.6rem 0; }
  .section-head { margin-bottom: 1.9rem; }
  .section-head p { font-size: .87rem; line-height: 1.72; }
  .card { padding: 1.3rem 1.15rem; }
  .card h3 { font-size: 1.02rem; line-height: 1.5; margin-bottom: .5rem; }
  .card h3::after { width: 20px; margin-top: .45rem; }
  .card p { font-size: .86rem; line-height: 1.72; }
  #explore .grid.cols-4 { gap: 1.1rem .8rem; }
  #explore .card .btn { font-size: .76rem; padding: .48rem .78rem; letter-spacing: .02em; }
  #reviews .card p { font-size: .85rem; }
  #contact-cta p { font-size: .88rem; line-height: 1.75; }
}

/* ---- FAQ 手风琴（仅首页；答案仍在 DOM 里，SEO / AEO 不受影响）---- */
#faq .faq-list { display: grid; gap: .7rem; }
#faq details.faq-item { padding: 0; overflow: hidden; }
#faq details.faq-item summary {
  position: relative; display: block; cursor: pointer;
  padding: 1.05rem 2.7rem 1.05rem 1.2rem; list-style: none;
}
#faq details.faq-item summary::-webkit-details-marker { display: none; }
#faq details.faq-item summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 1rem;
  color: var(--gold); font-size: 1.2rem; line-height: 1;
}
#faq details.faq-item[open] summary::after { content: "−"; }
#faq details.faq-item summary h3 { margin: 0; }
#faq details.faq-item > p { padding: 0 1.2rem 1.15rem; margin: 0; }
@media (max-width: 560px) {
  #faq .faq-list { gap: .6rem; }
  #faq details.faq-item summary { padding: .92rem 2.4rem .92rem 1rem; }
  #faq details.faq-item summary h3 { font-size: .98rem; line-height: 1.5; }
  #faq details.faq-item > p { padding: 0 1rem 1rem; font-size: .84rem; line-height: 1.75; }
}

/* ============================================================
   内页 Hero（.page-hero）里的白底提示条
   坑：.page-hero { color:#fff } + .page-hero strong { color:#fff }
       是给深色 Hero 用的；一旦 Hero 内有自带白底的 <p>，
       里面的 <strong> 就变成「白字压白底」→ 对比度 1.0，完全看不见。
   .hero-note 把该提示条内的文字色强制回深色。
   （注意：与首页 .hero .hero-note 是两套规则，互不影响）
   ============================================================ */
.page-hero .hero-note { color: #555; }
.page-hero .hero-note strong { color: #16161a; font-weight: 700; }
.page-hero .hero-note a { color: var(--red); font-weight: 600; }

/* ============================================================
   花色检索：结果面板（显示在搜索框正下方）
   ============================================================ */
.dt-results { margin: .7rem 0 0; background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 8px 26px rgba(15,15,15,.07); overflow: hidden; }
.dt-results[hidden] { display: none; }
.dt-results__head { padding: .6rem .9rem; font-size: .78rem; color: #8a8a8a; background: #fafafa; border-bottom: 1px solid #f2f2f2; }
.dt-results__head b { color: #E31837; font-weight: 700; }
.dt-results__item { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; padding: .62rem .9rem; border: 0; border-bottom: 1px solid #f6f6f6; background: #fff; cursor: pointer; font: inherit; }
.dt-results__item:last-child { border-bottom: 0; }
.dt-results__item:hover, .dt-results__item:focus { background: #fdf7f8; outline: none; }
.dt-results__code { flex: 0 0 auto; min-width: 3.4rem; font-weight: 700; font-size: .82rem; color: #1a1a1a; letter-spacing: .02em; }
.dt-results__name { flex: 1 1 auto; min-width: 0; font-size: .84rem; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-results__state { flex: 0 0 auto; font-size: .7rem; padding: .12rem .42rem; border-radius: 3px; }
.dt-results__state.is-spot { background: #e8f6ee; color: #0a7d3c; font-weight: 600; }
.dt-results__state.is-order { background: #fdf3e7; color: #a9660f; font-weight: 600; }
.dt-results__state.is-tbd { background: #f2f2f2; color: #999; }
.dt-results__more { padding: .55rem .9rem; font-size: .76rem; color: #999; background: #fafafa; border-top: 1px solid #f2f2f2; }
@media (max-width: 560px) {
  .dt-results__head { font-size: .74rem; }
  .dt-results__item { padding: .58rem .75rem; gap: .45rem; }
  .dt-results__code { min-width: 3rem; font-size: .78rem; }
  .dt-results__name { font-size: .8rem; }
}

/* 「门店可咨询」做成可点（点开联系方式弹窗）*/
.dt-order { cursor: pointer; }
.dt-order::after { content: " ☎"; font-size: .85em; opacity: .8; }
.dt-order:hover { background: #f7e3c8; }
.decor-modal__tags span.is-order { cursor: pointer; }
.decor-modal__tags span.is-order::after { content: " ☎"; font-size: .85em; opacity: .8; }

/* ============================================================
   联系门店弹窗（电话 / 微信）
   ============================================================ */
.contact-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(15,15,15,.62); }
.contact-modal.active { display: flex; }
.contact-modal__box { position: relative; width: 100%; max-width: 360px; max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: 14px; padding: 1.5rem 1.25rem 1.3rem; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.contact-modal__close { position: absolute; top: .55rem; right: .55rem; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f2f2f2; color: #666; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.contact-modal__close:hover { background: #e8e8e8; color: #222; }
.contact-modal__eyebrow { font-size: .7rem; letter-spacing: .18em; color: #C6A667; text-transform: uppercase; margin: 0 0 .35rem; }
.contact-modal__title { font-size: 1.08rem; color: #1a1a1a; margin: 0 0 .4rem; }
.contact-modal__decor { font-size: .86rem; font-weight: 600; color: #E31837; margin: 0 0 .5rem; }
.contact-modal__decor[hidden] { display: none; }
.contact-modal__desc { font-size: .82rem; line-height: 1.72; color: #666; margin: 0 0 1rem; }
.contact-modal__action { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 10px; text-decoration: none; background: linear-gradient(135deg, #E31837, #B5132C); color: #fff; }
.contact-modal__action:hover, .contact-modal__action:focus { color: #fff; filter: brightness(1.05); }
.contact-modal__ic { font-size: 1.3rem; line-height: 1; }
.contact-modal__tx strong { display: block; font-size: 1.06rem; letter-spacing: .05em; }
.contact-modal__tx em { display: block; font-style: normal; font-size: .73rem; opacity: .88; margin-top: .12rem; }
.contact-modal__wx { margin-top: 1rem; text-align: center; }
.contact-modal__wx img { width: 170px; height: 170px; object-fit: cover; border: 1px solid #eee; border-radius: 8px; background: #fafafa; }
.contact-modal__wx p { margin: .55rem 0 0; font-size: .82rem; color: #333; }
.contact-modal__wx em { display: block; font-style: normal; font-size: .73rem; color: #999; margin-top: .18rem; }
.contact-modal__addr { margin: 1.1rem 0 0; padding-top: .9rem; border-top: 1px solid #f2f2f2; font-size: .76rem; color: #999; text-align: center; }
@media (max-width: 560px) {
  .contact-modal { padding: 0; align-items: flex-end; }
  .contact-modal__box { max-width: none; border-radius: 16px 16px 0 0; padding: 1.35rem 1.15rem 1.5rem; }
  .contact-modal__wx img { width: 158px; height: 158px; }
}
.dt-results__hint { color: #b0b0b0; }

/* ============================================================
   状态标签放大成「点得准」的触点
   原因：原来手机上只有 70×16px、字号 9.6px，手指点不中
   （放在文件末尾以覆盖前面媒体查询里的 .6rem 小字号规则）
   ============================================================ */
.dt-spot, .dt-order, .dt-tbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 30px; padding: .3rem .64rem; font-size: .78rem; line-height: 1.15; border-radius: 5px;
}
.dt-order { min-width: 5.4rem; cursor: pointer; }
.dt-spot  { min-width: 4.8rem; cursor: pointer; }
.dt-order::after { content: " ☎"; font-size: .9em; opacity: .85; }
.dt-spot::after  { content: " ☎"; font-size: .9em; opacity: .7; }
@media (max-width: 560px) {
  .dt-spot, .dt-order, .dt-tbd { min-height: 34px; padding: .36rem .7rem; font-size: .82rem; }
}

/* ============================================================
   常驻悬浮咨询按钮（电话 / 微信）
   ============================================================ */
.contact-fab {
  position: fixed; right: 14px; bottom: 16px; z-index: 1100;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .68rem 1rem; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #E31837, #B5132C); color: #fff;
  box-shadow: 0 8px 26px rgba(227, 24, 55, .4);
  font: inherit; font-size: .88rem; font-weight: 600; letter-spacing: .04em; cursor: pointer;
}
.contact-fab:hover, .contact-fab:focus { filter: brightness(1.06); outline: none; }
.contact-fab__ic { font-size: 1.1rem; line-height: 1; }
.contact-modal.active ~ .contact-fab { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .contact-fab { right: 12px; bottom: 12px; padding: .66rem .95rem; font-size: .86rem; }
}

/* ============================================================
   联系方式弹窗必须盖在花色详情弹层之上
   实测层级：.decor-modal 9998 / .lightbox-overlay 9999
   原来 .contact-modal 只有 1200 → 从详情页里点开时被压在下面，看不见 ✗
   ============================================================ */
.contact-modal { z-index: 10000; }

/* 花色详情弹层里的电话 / 微信按钮 */
.decor-modal__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; }
.decor-modal__tel, .decor-modal__wx {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-height: 40px; padding: .55rem .9rem; border-radius: 7px; border: 1px solid transparent;
  font: inherit; font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1;
}
.decor-modal__tel { background: linear-gradient(135deg, #E31837, #B5132C); color: #fff; }
.decor-modal__tel:hover, .decor-modal__tel:focus { color: #fff; filter: brightness(1.06); }
.decor-modal__wx { background: #fff; color: #0a7d3c; border-color: #cbe8d8; }
.decor-modal__wx:hover, .decor-modal__wx:focus { background: #f2fbf6; }
.decor-modal__hint { flex: 1 1 100%; margin: .1rem 0 0; font-size: .78rem; color: #999; line-height: 1.6; }
@media (max-width: 560px) {
  .decor-modal__cta { gap: .45rem; }
  .decor-modal__tel, .decor-modal__wx { flex: 1 1 auto; min-height: 44px; font-size: .88rem; }
}

/* ============================================================
   电话号链接：正文里也能一眼看出可点，点了直接进拨号盘
   ============================================================ */
.tel-link, a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 166, 103, .55);
  white-space: nowrap;
}
a[href^="tel:"]:hover, a[href^="tel:"]:focus { color: var(--red); border-bottom-color: var(--red); }
/* 深色区块（页脚 / Hero）里的电话号用金色 */
.block--dark a[href^="tel:"], footer a[href^="tel:"], .page-hero a[href^="tel:"] {
  color: var(--gold-2); border-bottom-color: rgba(220, 194, 140, .5);
}
.block--dark a[href^="tel:"]:hover, footer a[href^="tel:"]:hover { color: #fff; border-bottom-color: #fff; }

/* ============================================================
   页脚免责说明
   行业通用兜底：价格/活动/库存/工期以报价单与合同为准；
   花色站尤其需要「显示器色差以实物为准」这一条（避免色差纠纷）
   ============================================================ */
.site-disclaimer {
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .74rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .5);
  text-align: center;
  letter-spacing: .01em;
}
@media (max-width: 560px) {
  .site-disclaimer { font-size: .72rem; line-height: 1.85; margin-top: 1.2rem; padding-top: .95rem; }
}

.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ============================================================
   首页主视觉 · 信息分层（原来全用「·」连成一长串，手机上挤成 4-5 行）
   ============================================================ */
.hero h1 { line-height: 1.26; }
.hero h1 .h1-name { display: block; }
.hero h1 .h1-tag {
  display: block; margin-top: .3rem;
  font-size: .8em; font-weight: 500; letter-spacing: .06em;
  color: rgba(255, 255, 255, .95);
}
.hero h1 .h1-sub {
  display: block; margin-top: .95rem;
  font-size: .42em; font-weight: 400; letter-spacing: .16em;
  color: rgba(255, 255, 255, .78);
}
.hero-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem; margin: 1.2rem auto 0; max-width: 760px;
}
.hero-facts span {
  display: inline-block; padding: .32rem .78rem;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .76rem; letter-spacing: .06em; color: rgba(255, 255, 255, .88); line-height: 1.4;
}
.hero-call {
  margin: 1.05rem auto 0;
  font-size: .86rem; letter-spacing: .03em; color: rgba(255, 255, 255, .78);
}
.hero-call a {
  color: var(--gold-2); font-weight: 700;
  border-bottom: 1px solid rgba(220, 194, 140, .55);
}
@media (max-width: 560px) {
  .hero h1 { font-size: 1.74rem; line-height: 1.28; }
  .hero h1 .h1-tag { font-size: .76em; letter-spacing: .04em; margin-top: .35rem; }
  .hero h1 .h1-sub { font-size: .44em; letter-spacing: .1em; margin-top: .8rem; }
  .hero-facts { gap: .42rem; margin-top: 1rem; }
  .hero-facts span { font-size: .72rem; padding: .28rem .66rem; letter-spacing: .04em; }
  .hero-call { font-size: .8rem; margin-top: .9rem; line-height: 1.7; }
}

/* ============================================================
   PC-HERO-RESTORE
   主视觉的新分层（三行标题 + 胶囊标签 + 电话行）只用于手机。
   桌面端恢复改动前：h1 一行「石家庄欣泰善居 · 爱格全屋系统定制」+ 单独一行副标题，
   不显示胶囊标签与电话行。
   说明：「·」用 ::after 生成，只在 PC 出现，HTML 不用改（文案手机 PC 完全一致）
   ============================================================ */
@media (min-width: 561px) {
  .hero h1 { line-height: 1.2; }
  .hero h1 .h1-name,
  .hero h1 .h1-tag {
    display: inline;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    margin-top: 0;
  }
  .hero h1 .h1-name::after { content: ' · '; }
  .hero h1 .h1-sub {
    display: block;
    font-size: .44em;
    letter-spacing: .22em;
    color: rgba(255, 255, 255, .82);
    margin-top: 1rem;
  }
  .hero-facts,
  .hero-call { display: none; }
}
/* ============================================================
   DOC-CARD-POLISH
   「检测报告与官方技术文件」区的排版：文件清单行、官方引用块
   手机优先：清单在手机上单列堆叠，字号 0.84rem 起步
   ============================================================ */
.doc-list { list-style: none; margin: .2rem 0 .9rem; padding: 0; display: grid; gap: .55rem; }
.doc-list li { display: grid; grid-template-columns: auto 1fr; gap: .3rem .6rem; align-items: baseline;
  padding: .6rem .7rem; border: 1px solid #ececec; border-radius: 8px; background: #fafafa; }
.doc-list .doc-type { font-size: .72rem; letter-spacing: .04em; color: #8a7a55;
  background: rgba(200,170,110,.16); border-radius: 4px; padding: .16rem .42rem; white-space: nowrap; }
.doc-list a { font-weight: 600; line-height: 1.5; }
.doc-list .doc-meta { grid-column: 1 / -1; font-size: .72rem; color: #999; }
.doc-name { font-size: .86rem; line-height: 1.7; margin: .2rem 0 .6rem; }
.doc-quote { margin: .2rem 0 .7rem; padding: .65rem .8rem; border-left: 3px solid rgba(200,170,110,.7);
  background: rgba(200,170,110,.08); border-radius: 0 6px 6px 0; font-size: .86rem; line-height: 1.75; color: #444; }
.doc-src { font-size: .76rem; color: #999; margin: 0; line-height: 1.7; }
@media (max-width: 560px) {
  .doc-list li { grid-template-columns: 1fr; padding: .55rem .6rem; }
  .doc-list .doc-type { justify-self: start; }
  .doc-list a { font-size: .9rem; }
  .doc-name, .doc-quote { font-size: .84rem; line-height: 1.75; }
  .doc-quote { padding: .55rem .7rem; }
  .doc-src { font-size: .74rem; }
}
/* ============================================================
   REPORT-CARD-V2
   检测报告卡：实测值做成大号数字，细节收进折叠区
   ============================================================ */
.metric { display: flex; align-items: baseline; gap: .45rem; margin: .35rem 0 .5rem; flex-wrap: wrap; }
.metric strong { font-size: 2.2rem; line-height: 1; letter-spacing: .01em; color: #131313; }
.metric .unit { font-size: .86rem; color: #666; }
.metric .verdict { font-style: normal; font-size: .74rem; color: #1a7f37; background: rgba(26,127,55,.1);
  border-radius: 4px; padding: .18rem .46rem; letter-spacing: .02em; }
.metric-note { font-size: .78rem; color: #777; line-height: 1.7; margin: 0 0 .5rem; }
.report-detail { margin: .2rem 0 .7rem; border-top: 1px solid #eee; padding-top: .5rem; }
.report-detail summary { cursor: pointer; font-size: .82rem; color: #8a7a55; list-style: none; padding: .15rem 0; }
.report-detail summary::-webkit-details-marker { display: none; }
.report-detail summary::after { content: ' ▾'; }
.report-detail[open] summary::after { content: ' ▴'; }
.report-detail p { font-size: .82rem; line-height: 1.78; color: #666; margin: .45rem 0; }
@media (max-width: 560px) {
  .metric strong { font-size: 1.95rem; }
  .metric-note { font-size: .76rem; }
  .report-detail summary { font-size: .8rem; }
  .report-detail p { font-size: .8rem; line-height: 1.8; }
}
/* ============================================================
   CERT-MOBILE
   长页面（品牌授权 / 资质档案）手机端更紧凑，减少"太长"感
   ============================================================ */
@media (max-width: 560px) {
  main h2 { font-size: 1.16rem; line-height: 1.45; margin-top: 1.9rem; margin-bottom: .7rem; }
  main h3 { font-size: 1rem; line-height: 1.5; }
  main .block { padding: 2.3rem 0; }
  main .grid { gap: .9rem; }
  main table { font-size: .84rem; }
  main table th, main table td { padding: .6rem .7rem !important; }
  .cert-hint { font-size: .78rem; line-height: 1.7; }
  .doc-list li { padding: .5rem .55rem; }
  details > summary { font-size: .84rem; }
}
/* ============================================================
   DOC-GRID-FIX
   检测报告区：卡片不再被拉成等高（消除大片空白），
   官方技术文件卡整行铺开，桌面端内部两栏，手机端单栏
   ============================================================ */
.doc-grid { align-items: start; }
.doc-grid > .card { display: flex; flex-direction: column; }
.doc-grid > .card > .mt-2 { margin-top: auto; padding-top: 1.1rem; }
.doc-grid > .doc-card { grid-column: 1 / -1; }
@media (min-width: 561px) {
  .doc-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1rem 1.8rem; align-items: start; }
  .doc-card h3 { grid-column: 1 / -1; margin-top: 0; }
  .doc-card .doc-list { margin-bottom: 0; }
  .doc-card .doc-name { margin-top: 0; }
  .doc-card .doc-quote { grid-column: 1 / -1; }
  .doc-card .doc-src { grid-column: 1 / -1; margin-top: .1rem; }
}
@media (max-width: 560px) {
  .doc-grid > .card > .mt-2 { padding-top: .8rem; }
}
/* ============================================================
   DOC-GRID-3COL
   检测报告区：三张卡并排一行、等宽、等高、按钮齐底
   （覆盖 DOC-GRID-FIX 的两行方案）
   ============================================================ */
.doc-grid { grid-template-columns: repeat(3, 1fr) !important; align-items: stretch !important; }
.doc-grid > .card { display: flex !important; flex-direction: column; }
.doc-grid > .card > .mt-2 { margin-top: auto !important; padding-top: 1.05rem; }
.doc-grid > .doc-card { grid-column: auto !important; display: flex !important;
  grid-template-columns: none !important; gap: 0 !important; }
.doc-grid > .doc-card .doc-list { margin: 0 0 .5rem; gap: .4rem; }
.doc-grid > .doc-card .doc-list li { padding: .42rem .5rem; }
.doc-grid > .doc-card .doc-list .doc-type { font-size: .68rem; }
.doc-grid > .doc-card .doc-quote { margin: .1rem 0 .4rem; padding: .45rem .6rem; font-size: .8rem; line-height: 1.7; }
.doc-grid > .doc-card .doc-src { font-size: .72rem; }
@media (max-width: 900px) { .doc-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .doc-grid { grid-template-columns: 1fr !important; } }
/* ============================================================
   CERT-2COL-MOBILE
   品牌授权页手机端：只让「短句卡」两列
   · 为什么选择授权体系门店（6 条短句 → 2×3）：两列合适、卡片等高整齐 ✔
   · 检测报告与官方技术文件：改回单列 —— 两列会把
     「GB/T 39600-2021（1m³ 气候箱法）· 限值 ≤0.025mg/m³ · 编号 No. 2026W0116」
     这类技术串挤成 4 行，且两卡被拉成等高后，短的那张按钮上方留 88px 空洞
   · 板材溯源说明：改回单列 —— 215px 窄列会把「溯源」「材料」等词拆行，
     且短卡底部留 110px 空洞
   授权证书扫描图 / 登记信息表 / 常见问题 / 关于爱格：一律单列
   ============================================================ */
@media (max-width: 560px) {
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr) !important; gap: .7rem !important; }
  .grid.cols-3 > .card { padding: .95rem .8rem !important; }
  .grid.cols-3 > .card h3 { font-size: .92rem; line-height: 1.42; margin-bottom: .35rem; }
  .grid.cols-3 > .card h3::after { width: 16px; margin-top: .35rem; }
  .grid.cols-3 > .card p { font-size: .8rem; line-height: 1.7; }
}

/* ============================================================
   CERT-MOBILE-SPACING
   品牌授权页手机端间距统一：
   · 报告区原 margin-top 只有 1rem（16px），与上一节「黏」在一起，
     而全站其他区块之间是 30–48px
   · h2 顶距 3rem（48px）与全站其他 h2 的 30px 不一致
   ============================================================ */
@media (max-width: 560px) {
  .chain-section { margin-top: 2rem; }
  .cert-details h2 { margin-top: 2rem; }
}
/* ============================================================
   风格卡跳转 + 锚点定位 + 灯箱左右切换（2026-10-16）
   ============================================================ */
/* 整张风格卡可点，跳到案例页对应板块 */
.style-card-link { display: block; color: inherit; text-decoration: none; }
.style-card-link h3 { transition: color .35s ease; }
.style-card-link:hover h3 { color: var(--gold, #c9a961); }

/* 锚点跳转时给 sticky 导航留位置（否则标题被导航挡住） */
html { scroll-padding-top: 78px; }
.style-section { scroll-margin-top: 78px; }

/* 灯箱左右切换按钮 + 计数 */
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .45); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease;
}
.lightbox-nav:hover { background: rgba(0, 0, 0, .72); border-color: var(--gold, #c9a961); }
.lightbox-prev { left: 2.5%; }
.lightbox-next { right: 2.5%; }
.lightbox-counter {
  position: absolute; bottom: 3.4%; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .82); font-size: .86rem; letter-spacing: .12em; z-index: 2;
}
@media (max-width: 560px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  html { scroll-padding-top: 68px; }
  .style-section { scroll-margin-top: 68px; }
}

/* 风格卡图片可点开放大 */
.style-card img { cursor: zoom-in; }
.style-card-link h3 { text-decoration: none; }

/* 从首页跳到案例页某一板块时，让目标板块闪一下金色，明确告诉用户「到了」 */
@keyframes targetFlash {
  0%   { box-shadow: 0 0 0 3px rgba(201, 169, 97, .95); background: rgba(201, 169, 97, .10); }
  60%  { box-shadow: 0 0 0 3px rgba(201, 169, 97, .55); background: rgba(201, 169, 97, .06); }
  100% { box-shadow: 0 0 0 3px rgba(201, 169, 97, 0);   background: transparent; }
}
.style-section:target, .style-section.is-target {
  animation: targetFlash 2.6s ease-out 1;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .style-section:target, .style-section.is-target { animation: none; box-shadow: 0 0 0 2px rgba(201, 169, 97, .8); }
}

/* 长文正文：标题与表格样式（2026-10-16，供 300 篇长文统一使用）*/
.article-body h2 { font-size: 1.34rem; line-height: 1.5; margin: 2.6rem 0 .95rem; padding-left: .85rem; border-left: 3px solid var(--gold); color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.12rem; margin: 1.9rem 0 .7rem; color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: .68rem .85rem; text-align: left; vertical-align: top; line-height: 1.7; }
.article-body th { background: var(--paper-2); color: var(--ink); font-weight: 600; white-space: nowrap; }
.article-body tbody tr:nth-child(even) td { background: rgba(0, 0, 0, .015); }
@media (max-width: 560px) { .article-body h2 { font-size: 1.14rem; margin-top: 2.1rem; } .article-body table { font-size: .84rem; } .article-body th, .article-body td { padding: .55rem .6rem; } }

/* 长文正文插图（2026-10-16）*/
.article-body figure { margin: 1.7rem 0; }
.article-body figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; cursor: zoom-in; display: block; }
.article-body figcaption { margin-top: .6rem; font-size: .86rem; color: var(--muted); text-align: center; letter-spacing: .03em; }
@media (max-width: 560px) { .article-body figcaption { font-size: .78rem; } }

/* 首页「最新更新」窗口（2026-10-16）*/
.block--tight { padding: 2.6rem 0 2.2rem; }
.latest-list { list-style: none; margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.latest-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: .95rem .2rem; border-bottom: 1px solid var(--line); }
.latest-list li a { color: var(--ink); font-size: 1.02rem; font-weight: 600; text-decoration: none; }
.latest-list li a:hover { color: var(--gold); }
.latest-list li time { flex: 0 0 auto; color: var(--muted); font-size: .84rem; letter-spacing: .06em; }
@media (max-width: 560px) { .latest-list li { flex-direction: column; gap: .25rem; padding: .8rem .1rem; } .latest-list li a { font-size: .95rem; line-height: 1.5; } }
