/* 锦恋官网 - 高端克制型视觉体系
   配色：墨黑 + 香槟金 + 米白，低饱和，大留白，细字重 */

:root {
  --ink: #17181b;
  --ink-soft: #2b2d33;
  --champagne: #b99a5b;
  --champagne-light: #d8c49a;
  --cream: #faf8f4;
  --cream-deep: #f2eee7;
  --muted: #6f6d68;
  --muted-light: #97948d;
  --line: #e5e0d7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;

  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; margin: 0; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 32px;
  font-size: 15px; letter-spacing: 0.08em;
  border: 1px solid var(--champagne);
  background: var(--champagne); color: #fff;
  border-radius: var(--radius);
  cursor: pointer; transition: all .35s var(--ease);
  font-family: var(--font-sans);
}
.btn:hover { background: #a3864a; border-color: #a3864a; }
.btn--ghost { background: transparent; color: var(--champagne); }
.btn--ghost:hover { background: var(--champagne); color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }

/* ---------- 页头 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--header-h);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__mark {
  font-family: var(--font-serif); font-size: 26px; letter-spacing: 0.18em;
  color: var(--ink); line-height: 1;
}
.brand__sub { font-size: 11px; letter-spacing: 0.24em; color: var(--champagne); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 30px); flex-wrap: nowrap; }
.nav a {
  font-size: 15px; letter-spacing: 0.04em; color: var(--ink-soft); white-space: nowrap;
  position: relative; padding: 6px 0; transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--champagne); transition: width .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--champagne); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 18px; }
.header__phone {
  font-family: var(--font-serif); font-size: 19px; color: var(--champagne);
  letter-spacing: .04em; white-space: nowrap; transition: color .3s var(--ease);
}
.header__phone:hover { color: #a3864a; }

.btn--sm { padding: 9px 20px; font-size: 14px; letter-spacing: .06em; white-space: nowrap; }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0; }
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px auto; transition: all .3s var(--ease); }

/* ---------- 主视觉 ---------- */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 80px) 0 90px;
  background:
    linear-gradient(180deg, #1b1c20 0%, #232429 55%, #2c2b2a 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 22%, rgba(185, 154, 91, 0.22), transparent 62%),
    radial-gradient(620px 420px at 12% 82%, rgba(185, 154, 91, 0.10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero__eyebrow {
  font-size: 12px; letter-spacing: 0.32em; color: var(--champagne-light);
  text-transform: uppercase; margin-bottom: 26px;
}
.hero h1 {
  font-size: 48px; line-height: 1.42; color: #fff; font-weight: 500; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--champagne-light); }
.hero__lead { font-size: 17px; line-height: 2; color: rgba(255,255,255,.72); margin-bottom: 38px; max-width: 30em; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta { margin-top: 42px; display: flex; gap: 48px; flex-wrap: wrap; }
.hero__meta div { border-left: 1px solid var(--line-dark); padding-left: 18px; }
.hero__meta dt { font-size: 12px; letter-spacing: .16em; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.hero__meta dd { margin: 0; font-family: var(--font-serif); font-size: 30px; color: var(--champagne-light); line-height: 1.2; }

.hero__card {
  position: relative; border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.04); padding: 40px 34px;
}
.hero__card h2 { color: #fff; font-size: 21px; margin-bottom: 22px; }
.hero__card ul li {
  display: flex; gap: 14px; padding: 13px 0; color: rgba(255,255,255,.78); font-size: 15px;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}
.hero__card ul li:last-child { border-bottom: 0; }
.hero__card .n { font-family: var(--font-serif); color: var(--champagne-light); font-size: 14px; min-width: 26px; }

/* ---------- 区块通用 ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--cream-deep); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.8); }
.section--dark h2, .section--dark h3 { color: #fff; }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head__kicker { font-size: 12px; letter-spacing: 0.3em; color: var(--champagne); text-transform: uppercase; margin-bottom: 18px; }
.sec-head h2 { font-size: 34px; line-height: 1.55; margin-bottom: 18px; }
.sec-head p { color: var(--muted); font-size: 16px; margin: 0; }
.section--dark .sec-head p { color: rgba(255,255,255,.62); }

/* ---------- 企业形象 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-grid__text p { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.stat-row div { background: var(--cream); padding: 26px 18px; text-align: center; }
.stat-row .v { font-family: var(--font-serif); font-size: 32px; color: var(--champagne); line-height: 1.2; }
.stat-row .k { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .06em; }

/* 首页「关于锦恋」三屏轮播。
   做法：每个分屏都塞进同一个网格单元（grid-area: 1/1）互相叠放，
   轨道高度自然取最高的那一屏 —— 这样三屏文字长短不同，切换时
   下面的 stat-row / info-stack 也不会被顶来顶去。
   图片继续走 .photo-frame 的 16:10，尺寸与位置跟单张时完全一样，
   所以「换内容不动版式」是天然成立的，不需要为轮播另写一套尺寸 */
.about-slider__track { display: grid; }
/* 可见性不要跟着 opacity 一起渐变：
   - 出现的分屏：visibility 立刻变 visible（延迟 0），否则淡入的头一帧会被 hidden 吃掉；
   - 消失的分屏：visibility 延迟到 opacity 淡完（.55s）再变 hidden。
   这样交叉淡入淡出成立，且不依赖 transition 在可见性上的插值行为——
   浏览器对 visibility 的过渡是阶跃式的，写错一行就会新旧两屏同时可点。 */
.about-slider__pane {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
}
.about-slider__pane.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .55s var(--ease), visibility 0s linear 0s;
}
/* 原版式里最后一段的 margin-bottom 会和 stat-row 的 margin-top 折叠（取较大值 40px）。
   但网格容器不与子元素折叠外边距，包了一层轨道后会变成 16+40=56px，
   让 stat-row 整体下移。这里把最后一段的下外边距清掉，位置与原版式一致 */
.about-slider__pane > p:last-child { margin-bottom: 0; }
/* 非首屏的标题：与 h2 同款字号字重，只是不参与标题层级 */
.about-title {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: .02em;
  font-size: 32px; line-height: 1.55; margin-bottom: 20px;
}

.about-slider__nav { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.about-slider__arrow {
  width: 38px; height: 38px; border: 1px solid var(--line); background: #fff;
  color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.about-slider__arrow:hover { border-color: var(--champagne); color: var(--champagne); }
.slider-dots { display: flex; align-items: center; gap: 10px; }
.slider-dot {
  width: 26px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: var(--line);
  transition: background .35s var(--ease), width .35s var(--ease);
}
.slider-dot.is-active { background: var(--champagne); width: 40px; }

/* ---------- 六维认证 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card {
  background: #fff; border: 1px solid var(--line); padding: 36px 30px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cert-card:hover { transform: translateY(-4px); border-color: var(--champagne); box-shadow: 0 18px 40px -28px rgba(23,24,27,.35); }
.cert-card__no { font-family: var(--font-serif); font-size: 13px; letter-spacing: .2em; color: var(--champagne); margin-bottom: 14px; }
.cert-card h3 { font-size: 21px; margin-bottom: 14px; }
.cert-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 服务十节点 ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.flow__item { position: relative; padding: 0 0 34px 0; display: flex; gap: 22px; }
.flow__item::before {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--line);
}
.flow__item:last-child::before, .flow__item:nth-last-child(2)::before { display: none; }
.flow__dot {
  flex: 0 0 44px; height: 44px; border: 1px solid var(--champagne); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 17px; color: var(--champagne); background: var(--cream);
  position: relative; z-index: 2;
}
.flow__body h3 { font-size: 19px; margin-bottom: 8px; }
.flow__body p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 案例 / 文章卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -30px rgba(23,24,27,.4); }
.card__thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #efe9df, #ded5c6); position: relative; overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__thumb .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 42px; color: rgba(185,154,91,.5); letter-spacing: .08em;
  background:
    radial-gradient(260px 180px at 50% 45%, rgba(185,154,91,.16), transparent 72%),
    linear-gradient(135deg, #f4efe6, #e7dfd1);
}
.card__thumb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(185,154,91,.7), transparent);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover .card__thumb::after { opacity: 1; }
.card__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
/* 案例封面：锦旗合影多为手机竖拍，卡片封面改用 3:4，避免横裁切掉锦旗与人脸 */
.card-grid--cases .card__thumb { aspect-ratio: 3 / 4; }
.card__tag { font-size: 12px; letter-spacing: .18em; color: var(--champagne); margin-bottom: 12px; }
.card__body h3 { font-size: 19px; line-height: 1.6; margin-bottom: 12px; }
.card__body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card__more { margin-top: 18px; font-size: 13px; letter-spacing: .12em; color: var(--champagne); }
.card__date { font-size: 13px; color: var(--muted-light); margin-top: 14px; letter-spacing: .04em; }

/* ---------- 活动卡片 ---------- */
.activity-meta {
  display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 0;
  font-size: 13.5px; color: var(--muted);
}
.activity-meta span { display: inline-flex; align-items: center; gap: 6px; }
.activity-meta b { color: var(--champagne); font-weight: 500; letter-spacing: .04em; }
.card__status {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(23,24,27,.78); color: #fff; font-size: 12px;
  letter-spacing: .12em; padding: 4px 10px;
}
.card__status--done { background: rgba(111,109,104,.8); }
.card__thumbs { display: flex; gap: 6px; margin-top: 16px; }
.card__thumbs i {
  width: 34px; height: 34px; border: 1px solid var(--line); background: var(--cream-deep);
  display: block; background-size: cover; background-position: center; font-style: normal;
}

/* ---------- 图集（详情页多行展示） ---------- */
.gallery {
  max-width: 1000px; margin: 0 auto 40px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.gallery--lead { grid-template-columns: 1fr; }
.gallery--lead img { aspect-ratio: 16 / 9; }

/* 案例首图：素材是手机竖拍的锦旗合影，用 3:4 展示，横裁会切掉锦旗与人脸 */
.gallery--portrait { max-width: 640px; }
.gallery--portrait img { aspect-ratio: 3 / 4; }

/* ---------- 新闻列表页 ---------- */
.list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.list__item { display: grid; grid-template-columns: 150px 1fr 120px; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: center; transition: background .3s var(--ease); }
.list__item:hover { background: #fff; }
.list__date { font-family: var(--font-serif); font-size: 15px; color: var(--champagne); letter-spacing: .06em; }
.list__title { font-size: 19px; line-height: 1.6; }
.list__title:hover { color: var(--champagne); }
.list__sum { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.list__cat { justify-self: end; font-size: 12px; letter-spacing: .16em; color: var(--muted-light); border: 1px solid var(--line); padding: 4px 12px; }

.empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- 文章详情 ---------- */
.article { padding: calc(var(--header-h) + 60px) 0 90px; }
.article__head { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.article__head h1 { font-size: 34px; line-height: 1.55; margin-bottom: 20px; }
.article__meta { font-size: 14px; color: var(--muted-light); letter-spacing: .06em; }
.article__body { max-width: 800px; margin: 0 auto; font-size: 16.5px; line-height: 2.05; color: #33343a; }
.article__body h2 { font-size: 24px; margin: 44px 0 18px; }
.article__body h3 { font-size: 20px; margin: 34px 0 14px; }
.article__body p { margin: 0 0 20px; }
.article__body img { margin: 28px 0; border-radius: var(--radius); }
.article__foot { max-width: 800px; margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 24px 40px 24px 0; cursor: pointer; position: relative; font-size: 17px; font-family: var(--font-serif); color: var(--ink); }
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--champagne); font-size: 22px; font-family: var(--font-sans); }
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { display: none; padding: 0 40px 26px 0; color: var(--muted); font-size: 15.5px; }
.faq__item.is-open .faq__a { display: block; }

/* ---------- 联系 / CTA ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 84px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.62); margin-bottom: 34px; }
.cta-band .phone { font-family: var(--font-serif); font-size: 40px; color: var(--champagne-light); letter-spacing: .04em; display: block; margin-bottom: 30px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); padding: 34px 30px; text-align: center;
  display: flex; flex-direction: column;
}
.contact-card h3 { font-size: 18px; margin-bottom: 12px; }
.contact-card p { color: var(--muted); font-size: 15px; margin: 0; }
/* 三张卡片等高，按钮统一吸到卡片底部，保证横向对齐 */
.contact-card__action { margin-top: auto; padding-top: 26px; }
.contact-card__action .btn { min-width: 168px; }
.contact-card .big { font-family: var(--font-serif); font-size: 26px; color: var(--champagne); }
.qr-box { width: 168px; height: 168px; margin: 0 auto 18px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--cream-deep); overflow: hidden; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- 二维码弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__mask { position: absolute; inset: 0; background: rgba(20,20,22,.72); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; background: #fff; width: 100%; max-width: 420px; padding: 44px 38px 38px;
  text-align: center; animation: pop .32s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted-light); cursor: pointer; }
.modal__panel h3 { font-size: 22px; margin-bottom: 8px; }
.modal__panel .tip { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.modal__qr { width: 220px; height: 220px; margin: 0 auto 20px; border: 1px solid var(--line); background: var(--cream-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal__qr img { width: 100%; height: 100%; object-fit: contain; }
.modal__qr .ph { font-size: 13px; color: var(--muted-light); text-align: center; padding: 0 20px; line-height: 1.7; }
.modal__phone { font-family: var(--font-serif); font-size: 26px; color: var(--champagne); letter-spacing: .03em; }

/* ---------- 移动端底部条 ---------- */
.mobar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.mobar__inner { display: flex; gap: 10px; }
.mobar a, .mobar button { flex: 1; padding: 12px 0; font-size: 15px; border-radius: var(--radius); border: 1px solid var(--champagne); text-align: center; }
.mobar a { background: transparent; color: var(--champagne); }
.mobar button { background: var(--champagne); color: #fff; font-family: var(--font-sans); }
.mobar__inner--3 { gap: 8px; }
.mobar__inner--3 a, .mobar__inner--3 button { padding: 11px 0; font-size: 14px; }
.mobar__inner--3 .mobar__reg { background: var(--champagne); color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 72px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-family: var(--font-sans); font-weight: 500; letter-spacing: .08em; }
.footer li { padding: 6px 0; }
.footer a:hover { color: var(--champagne-light); }
.footer__brand .brand__mark { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.42); }

/* ---------- 页头横幅（内页） ---------- */
.page-banner {
  padding: calc(var(--header-h) + 72px) 0 64px; background: var(--ink); color: #fff; text-align: center;
  background-image: radial-gradient(700px 380px at 50% 0%, rgba(185,154,91,.20), transparent 70%);
}
.page-banner h1 { font-size: 38px; color: #fff; margin-bottom: 14px; }
.page-banner p { color: rgba(255,255,255,.6); margin: 0; font-size: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 16px; letter-spacing: .08em; }
.breadcrumb a:hover { color: var(--champagne-light); }

/* ---------- 后台 ---------- */
.admin-body { background: #f4f5f7; }
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 80px; }
.admin-login { max-width: 380px; margin: 12vh auto; background: #fff; padding: 40px 34px; border: 1px solid #e5e7eb; }
.admin-login h1 { font-size: 22px; margin-bottom: 24px; text-align: center; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: #4b5563; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid #d8dbe0; border-radius: 3px; font-size: 14px; font-family: inherit;
}
.field textarea { min-height: 220px; line-height: 1.8; }
.admin-bar { background: #17181b; color: #fff; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.admin-bar strong { font-family: var(--font-serif); letter-spacing: .1em; }
.admin-bar button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 6px 14px; border-radius: 3px; cursor: pointer; font-size: 13px; }
.tabs { display: flex; gap: 8px; margin: 24px 0; border-bottom: 1px solid #e5e7eb; }
.tabs button { background: none; border: 0; padding: 10px 18px; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; color: #6b7280; }
.tabs button.is-active { color: #17181b; border-bottom-color: #b99a5b; }
.panel { display: none; background: #fff; border: 1px solid #e5e7eb; padding: 26px; }
.panel.is-active { display: block; }
.post-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef0f3; }
.post-row .t { font-size: 15px; }
.post-row .m { font-size: 12px; color: #9ca3af; }
.mini { padding: 6px 12px; font-size: 13px; border: 1px solid #d8dbe0; background: #fff; border-radius: 3px; cursor: pointer; }
.mini--primary { background: #17181b; color: #fff; border-color: #17181b; }
.mini--danger { color: #b42318; border-color: #f0c9c4; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: #17181b; color: #fff; padding: 12px 22px; font-size: 14px; border-radius: 3px; display: none; z-index: 300; }
.toast.is-show { display: block; }

/* ============================================================
   二期 UI 升级：实景图 / 信任条 / 服务内容 / 认证详卡 /
   活动类型带 / 更多案例 / 富文本正文 / 细节打磨
   ============================================================ */

/* ---------- 主视觉补充 ---------- */
.hero__card-lead { color: rgba(255,255,255,.6); font-size: 14.5px; line-height: 1.8; margin: 0 0 18px; }
.hero__foot {
  margin: 28px 0 0; font-size: 13.5px; letter-spacing: .05em;
  color: rgba(255,255,255,.5); padding-top: 20px; border-top: 1px solid var(--line-dark);
}

/* ---------- 信任与背书条 ---------- */
.trust-band { background: var(--ink-soft); }
.trust-band__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 36px; }
.trust-band__item { border-left: 1px solid var(--line-dark); padding-left: 22px; }
.trust-band__item:first-child { border-left: 0; padding-left: 0; }
.trust-band__k { display: block; font-size: 11.5px; letter-spacing: .22em; color: var(--champagne-light); margin-bottom: 9px; }
.trust-band__v { display: block; font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.72); }

/* ---------- 实景图 ---------- */
.photo-frame { margin: 0; position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); }
.photo-frame::before { content: ""; position: absolute; left: 0; bottom: 34px; width: 68px; height: 2px; background: var(--champagne); }
.photo-frame figcaption { font-size: 13px; color: var(--muted-light); margin-top: 14px; line-height: 1.7; letter-spacing: .02em; }

/* ---------- 信息小卡堆叠 ---------- */
.info-stack { margin-top: 18px; display: grid; gap: 12px; }
.info-stack__item { border: 1px solid var(--line); padding: 20px 22px; background: #fff; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.info-stack__item:hover { border-color: var(--champagne); transform: translateX(3px); }
.info-stack__k { font-size: 12.5px; letter-spacing: .16em; color: var(--champagne); margin-bottom: 8px; }
.info-stack__v { font-size: 15px; }

/* ---------- 居中按钮组 ---------- */
.center-cta { margin-top: 46px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.center-cta .btn { min-width: 168px; }

/* ---------- 服务内容磁贴 ---------- */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.scope-tile { background: #fff; padding: 34px 30px; display: block; transition: background .4s var(--ease); }
.scope-tile:hover { background: var(--cream); }
.scope-tile__n { display: block; font-family: var(--font-serif); font-size: 12.5px; letter-spacing: .2em; color: var(--champagne); margin-bottom: 12px; }
.scope-tile h3 { font-size: 19px; margin-bottom: 10px; transition: color .3s var(--ease); }
.scope-tile:hover h3 { color: var(--champagne); }
.scope-tile p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- 认证详卡（六维展开） ---------- */
.dim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dim-card {
  background: #fff; border: 1px solid var(--line); padding: 34px 32px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.dim-card:hover { transform: translateY(-4px); border-color: var(--champagne); box-shadow: 0 18px 40px -28px rgba(23,24,27,.35); }
.dim-card__no { font-family: var(--font-serif); font-size: 12.5px; letter-spacing: .2em; color: var(--champagne); margin-bottom: 12px; }
.dim-card h3 { font-size: 21px; margin-bottom: 12px; }
.dim-card__desc { color: var(--muted); font-size: 15px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.dim-card__row { display: grid; grid-template-columns: 74px 1fr; gap: 14px; margin-top: 12px; font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.dim-card__label { color: var(--champagne); font-size: 13px; letter-spacing: .04em; }

/* ---------- 活动类型带 ---------- */
.type-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.type-band__item { background: #fff; padding: 26px 28px; transition: background .4s var(--ease); }
.type-band__item:hover { background: var(--cream); }
.type-band__item b { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 18px; margin-bottom: 8px; }
.type-band__item span { color: var(--muted); font-size: 14px; }

/* ---------- 更多案例 ---------- */
.more-cases { max-width: 780px; margin: 0 auto; text-align: center; }
.more-cases h2 { font-size: 32px; margin-bottom: 18px; }
.more-cases p { color: var(--muted); font-size: 16px; }
.more-cases__strong { font-family: var(--font-serif); font-size: 20px; color: var(--ink) !important; letter-spacing: .06em; margin-top: 22px; }
.more-cases__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.more-cases__actions .btn { min-width: 168px; }
.more-cases__note { font-size: 13.5px; color: var(--muted-light) !important; margin-top: 18px; }

/* ---------- 说明行 ---------- */
.note-line { margin-top: 32px; color: var(--muted-light); font-size: 13.5px; line-height: 1.95; border-left: 2px solid var(--champagne); padding: 2px 0 2px 16px; }

/* ---------- 紧致区块 ---------- */
.section--tight { padding: 76px 0 56px; }

/* ---------- 新闻筛选（链接版 tab） ---------- */
.tabs--filter { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 8px; flex-wrap: wrap; }
.tabs--filter a { padding: 10px 20px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; transition: all .3s var(--ease); }
.tabs--filter a:hover { color: var(--ink); }
.tabs--filter a.is-active { color: var(--ink); border-bottom-color: var(--champagne); }
.tabs--filter a em {
  font-style: normal; font-size: 12px; margin-left: 6px; padding: 1px 7px;
  border-radius: 10px; background: var(--cream-deep); color: var(--muted);
}
.tabs--filter a.is-active em { background: var(--champagne); color: #fff; }

/* ---------- 分类筛选条 ---------- */
.cat-filter {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 18px 0 6px; margin-bottom: 22px;
}
.cat-filter__label {
  font-size: 12px; letter-spacing: .18em; color: var(--muted);
  text-transform: uppercase; margin-right: 4px;
}
.cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  transition: all .28s var(--ease);
}
.cat-chip em {
  font-style: normal; font-size: 11.5px; color: var(--muted); opacity: .75;
}
.cat-chip:hover { color: var(--ink); border-color: var(--champagne); }
.cat-chip.is-active {
  color: #fff; background: var(--champagne); border-color: var(--champagne);
  box-shadow: 0 6px 16px rgba(185, 154, 91, .22);
}
.cat-chip.is-active em { color: #fff; opacity: .85; }

/* 列表项里的分类做成可点小标签 */
.list__cat a { color: inherit; border-bottom: 1px solid transparent; transition: all .25s var(--ease); }
.list__cat a:hover { color: var(--champagne); border-bottom-color: var(--champagne); }

/* ---------- 富文本正文增强（后台编辑器产出的排版） ---------- */
.article__body ul, .article__body ol { margin: 0 0 22px; padding-left: 1.45em; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 9px; }
.article__body blockquote { margin: 30px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--champagne); color: var(--muted); font-size: 16px; }
.article__body a { color: var(--champagne); border-bottom: 1px solid currentColor; }
.article__body strong { font-weight: 600; }
.article__body em { font-style: italic; }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.article__body figure { margin: 30px 0; }
.article__body figcaption { font-size: 13px; color: var(--muted-light); text-align: center; margin-top: 10px; }
.article__body table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 15px; }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.article__body th { background: var(--cream-deep); font-weight: 500; }
.article__body img { max-width: 100%; height: auto; margin: 26px auto; }
.article__body .muted { color: var(--muted-light); font-size: 14px; }
.article__body [style*="font-size"] { line-height: 1.9; }

/* ---------- 交互细节打磨 ---------- */
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(185,154,91,.75); }
.btn:active { transform: translateY(0); }
.card:hover .card__body h3 { color: var(--champagne); }
.footer { border-top: 1px solid rgba(185,154,91,.32); }
.faq__q:hover { color: var(--champagne); }

/* ---------- 响应式 ---------- */
/* 中等宽度：给导航让位，先收掉热线文字，保留右侧按钮 */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav a { font-size: 14.5px; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 18px 18px; gap: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .28s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .burger { display: block; }
  .header__right { display: none; }
  .brand__mark { font-size: 22px; }
  .brand__sub { display: none; }

  .hero { padding: calc(var(--header-h) + 44px) 0 56px; }
  .hero h1 { font-size: 30px; line-height: 1.5; }
  .hero__lead { font-size: 15.5px; margin-bottom: 28px; }
  .hero__actions .btn { flex: 1; min-width: 140px; padding: 13px 18px; }
  .hero__meta { gap: 22px; margin-top: 32px; }
  .hero__meta dd { font-size: 24px; }
  .hero__card { padding: 28px 22px; }

  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 26px; }
  .sec-head p { font-size: 15px; }

  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__item { padding-bottom: 26px; }
  .flow__item::before { left: 21px; top: 44px; bottom: -4px; }
  .flow__item:nth-last-child(2)::before { display: block; }

  .list__item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .list__cat { justify-self: start; }

  .page-banner { padding: calc(var(--header-h) + 44px) 0 40px; }
  .page-banner h1 { font-size: 27px; }
  .article { padding: calc(var(--header-h) + 36px) 0 60px; }
  .article__head h1 { font-size: 25px; }
  .article__body { font-size: 16px; line-height: 1.95; }

  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .phone { font-size: 30px; }

  .footer { padding: 48px 0 96px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; }

  .mobar { display: block; }
  body { padding-bottom: 64px; }

  .faq__q { font-size: 16px; padding: 20px 34px 20px 0; }
  .grid2 { grid-template-columns: 1fr; }
  .admin-wrap { padding: 20px 16px 80px; }
  .post-row { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .hero__actions .btn { min-width: 0; width: 100%; }
}

/* ---------- 二期组件响应式 ---------- */
@media (max-width: 1024px) {
  .trust-band__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-band__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .dim-grid { grid-template-columns: 1fr; }
  .type-band { grid-template-columns: repeat(2, 1fr); }
  .more-cases h2 { font-size: 28px; }
}

@media (max-width: 768px) {
  .trust-band__inner { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
  .trust-band__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: 18px; }
  .trust-band__item:first-child { border-top: 0; padding-top: 0; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-tile { padding: 26px 22px; }
  .type-band { grid-template-columns: 1fr; }
  .type-band__item { padding: 20px 22px; }
  .dim-card { padding: 26px 22px; }
  .dim-card__row { grid-template-columns: 1fr; gap: 4px; }
  .section--tight { padding: 52px 0 40px; }
  .more-cases h2 { font-size: 24px; }
  .more-cases__actions .btn { width: 100%; }
  .center-cta { margin-top: 32px; }
  .center-cta .btn { min-width: 0; flex: 1; }
  .photo-frame img { aspect-ratio: 16 / 11; }
  .hero__foot { font-size: 12.5px; line-height: 1.9; }
}

/* ============================================================
   首页主图轮播（后台「站点设置 → 首页主图轮播」控制）
   未配置轮播图时前台走 .hero 原版式，这里只负责有图的情况
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  height: clamp(420px, 62vh, 640px);
}
.hero-slider__track { position: absolute; inset: 0; }

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.hero-slider__slide.is-active { opacity: 1; visibility: visible; }
.hero-slider__slide img { width: 100%; height: 100%; object-fit: cover; }

/* 遮罩：保证白字在任何实景图上都能读清。
   实景图普遍偏亮（桌椅、墙面反光），单靠左右渐变兜不住，
   所以叠两层：一层从左往右变淡，一层从下往上变淡 ——
   文字永远落在左下这块较暗的区域里，右上仍保留照片的明亮感。 */
.hero-slider__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 14, 12, 0.80) 0%, rgba(15, 14, 12, 0.58) 46%, rgba(15, 14, 12, 0.26) 100%),
    linear-gradient(0deg, rgba(15, 14, 12, 0.62) 0%, rgba(15, 14, 12, 0.16) 56%, rgba(15, 14, 12, 0) 100%);
}

.hero-slider__content {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: clamp(56px, 8vh, 92px);
  color: #fff;
  z-index: 2;
}
.hero-slider__headline {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  max-width: 15em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-slider__lead {
  max-width: 620px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 26px;
}
.hero-slider .hero__actions { margin-top: 0; }
.hero-slider .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}
.hero-slider .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

.hero-slider__nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 18, 16, 0.28);
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-slider__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 1.6px solid #fff;
  border-right: 1.6px solid #fff;
}
.hero-slider__nav--prev { left: 22px; }
.hero-slider__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.hero-slider__nav--next { right: 22px; }
.hero-slider__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.hero-slider__nav:hover { background: rgba(20, 18, 16, 0.6); border-color: #fff; }

.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}
.hero-slider__dot {
  width: 26px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.hero-slider__dot.is-active { background: var(--champagne-light); width: 40px; }

@media (max-width: 768px) {
  .hero-slider { height: clamp(360px, 58vh, 460px); }
  .hero-slider__scrim {
    background: linear-gradient(180deg, rgba(15, 14, 12, 0.34) 0%, rgba(15, 14, 12, 0.82) 72%);
  }
  .hero-slider__content { padding-bottom: 46px; }
  .hero-slider__nav { display: none; }
  .hero-slider__dots { bottom: 16px; }
  .hero-slider__dot { width: 20px; }
  .hero-slider__dot.is-active { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide { transition: none; }
}
