/* ============================================================
   华为全屋智能体验馆 · 官网样式  (tuyizn.vip)
   设计语言：黑金质感 · 与交付手册同源
   ============================================================ */
:root {
  --bg: #0f0f0f;
  --bg-soft: #141414;
  --card: #1a1a1a;
  --line: rgba(201, 160, 98, .18);
  --gold: #c9a062;
  --gold-light: #e8c89c;
  --white: #f5f2ec;
  --gray: #b0b0b0;
  --gray-dark: #707070;
  --radius: 20px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 锚点跳转时给固定导航留出空间，避免标题被导航条盖住 */
section[id] { scroll-margin-top: 88px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ---------- 通用 ---------- */
.kicker {
  font-size: 14.5px;
  letter-spacing: .26em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.section { max-width: 1200px; margin: 0 auto; padding: 110px 24px; }
.section-alt { max-width: none; background: var(--bg-soft); }
.section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head-wide { max-width: 1120px; }
/* 品牌矩阵标题：桌面端一行排开，窄屏再回落换行 */
@media (min-width: 1180px) {
  .section-head-wide h2 { white-space: nowrap; }
}
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-sub { color: var(--gray); font-size: 15px; max-width: 62ch; }
.section-head-wide .section-sub { max-width: none; white-space: nowrap; }
@media (max-width: 1179px) {
  .section-head-wide .section-sub { white-space: normal; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .04em;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, background .25s;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  background: linear-gradient(135deg, #d9b57e, var(--gold));
  color: #16110a;
  box-shadow: 0 8px 28px rgba(201,160,98,.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(201,160,98,.4); }
.btn-ghost {
  border: 1px solid var(--line); color: var(--gold-light);
}
.btn-ghost:hover { background: rgba(201,160,98,.08); }
.btn-lg { padding: 18px 44px; font-size: 18px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15,15,15,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: .02em; display: flex; flex-direction: column; line-height: 1.3; }
.brand-name small { font-size: 9px; letter-spacing: .3em; color: var(--gold); font-weight: 600; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px; color: var(--gray); position: relative; padding: 6px 0;
  white-space: nowrap;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .3s cubic-bezier(.16,1,.3,1);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--gold-light);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px;
  transition: background .25s, transform .25s;
}
.nav-cta svg { width: 15px; height: 15px; }
.nav-cta:hover { background: rgba(201,160,98,.1); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 24px 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;   /* 装饰层不能挡住按钮点击 */
  background-image:
    linear-gradient(rgba(201,160,98,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,160,98,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 60% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 60% 35%, #000 30%, transparent 75%);
}
.hero-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  position: relative; z-index: 1;   /* 确保内容层在装饰网格之上，可点击 */
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.12; letter-spacing: -.02em; font-weight: 800;
  margin: 8px 0 22px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, #a97f42);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--gray); font-size: 16.5px; max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-points { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-points li {
  font-size: 13px; color: var(--gray-dark);
  display: flex; align-items: center; gap: 8px;
}
.hero-points li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: none;
}

.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  animation: photoIn 1s cubic-bezier(.16,1,.3,1) both;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0) 55%, rgba(15,15,15,.72) 100%);
  pointer-events: none;
}
.hero-photo img {
  display: block; width: 100%; height: auto;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.hero-visual:hover .hero-photo img { transform: scale(1.035); }
.hero-photo figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 16px;
  z-index: 2;
  font-size: 12.5px; color: #d6d1c6; letter-spacing: .06em;
  line-height: 1.6;
}
@keyframes photoIn {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.chip {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  background: rgba(26,26,26,.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; padding: 12px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.45);
  animation: chipFloat 5.2s ease-in-out infinite;
}
.chip b { font-size: 13.5px; color: var(--gold-light); letter-spacing: .04em; }
.chip span { font-size: 11.5px; color: var(--gray); }
.chip-a { top: 5%; left: -9%; }
.chip-b { top: 38%; right: 4%; animation-delay: 1.4s; }
.chip-c { bottom: 4%; left: -6%; animation-delay: 2.6s; }
.chip-d { top: 10%; right: -5%; animation-delay: .7s; }
.chip-e { top: 26%; left: 1%; animation-delay: 1.9s; }
.chip-f { top: 62%; right: -8%; animation-delay: 2.3s; }
.chip-g { bottom: 25%; left: -2%; animation-delay: 3s; }
.chip-h { bottom: 1%; right: 5%; animation-delay: 3.4s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-stats {
  max-width: 1200px; width: 100%; margin: 70px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding: 34px 0 56px; gap: 20px;
}
.stat b {
  display: block; font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800; color: var(--gold-light); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13px; color: var(--gray-dark); letter-spacing: .1em; }

/* ---------- 首屏能力清单 ---------- */
.hero-modules {
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 0 72px;
}
.modules-title {
  font-size: 14px; letter-spacing: .14em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 18px;
}
.modules-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.module {
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 16px 16px 15px;
  transition: border-color .3s, background .3s, transform .3s;
}
.module:hover {
  border-color: rgba(201,160,98,.45);
  background: rgba(201,160,98,.05);
  transform: translateY(-3px);
}
.module b {
  display: block; font-size: 14.5px; color: var(--white);
  margin-bottom: 5px; letter-spacing: .02em;
}
.module span { font-size: 12px; color: var(--gray-dark); line-height: 1.6; }
.modules-note {
  margin-top: 14px; font-size: 12.5px; color: var(--gold-light);
  letter-spacing: .06em; opacity: .8;
}

/* ---------- 生态四宫格 ---------- */
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 34px 32px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 21px; letter-spacing: .01em; margin: 10px 0 10px; }
.card p { color: var(--gray); font-size: 14px; line-height: 1.8; flex: 1; }
.card-tag {
  display: inline-block; align-self: flex-start;
  font-size: 12.5px; letter-spacing: .1em;
  color: var(--gold); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 6px;
}
.card-foot {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 13.5px; color: var(--gold-light); letter-spacing: .02em;
}

/* ---------- 品牌矩阵 ---------- */
.brand-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.brand {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.brand:hover { transform: translateY(-3px); border-color: var(--line); }
.brand b { font-size: 17px; letter-spacing: .02em; color: var(--gold-light); }
.brand span { font-size: 12.5px; color: var(--gray-dark); }
/* 品牌矩阵内的矢量字标（欧普 OPPLE） */
.brand-head {
  display: flex; align-items: center; gap: 8px;
  min-height: 21px; margin: 2px 0 4px;
}
.brand-cn { flex: none; }
.brand-logo {
  display: block;
  height: 19px;
  width: auto;
}
.brand-logo .bl-word {
  fill: var(--gold-light);
  font-family: "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

/* ---------- 服务流程 ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-top: 2px solid var(--gold);
  border-radius: 14px;
  padding: 28px 26px 30px;
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.step:hover { transform: translateY(-4px); }
.step b {
  font-size: 13px; color: var(--gold); letter-spacing: .2em;
  display: block; margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: .01em; }
.step p { font-size: 13px; color: var(--gray); line-height: 1.78; flex: 1; }
.process-note {
  margin-top: 26px; text-align: center;
  font-size: 14px; color: var(--gold-light);
  letter-spacing: .04em; opacity: .85;
}

/* ---------- 案例（交付地图） ---------- */
.case-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 34px;
}
.case-stat {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: border-color .3s, transform .3s cubic-bezier(.16,1,.3,1);
}
.case-stat:hover { border-color: var(--line); transform: translateY(-3px); }
.case-stat b {
  display: block;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.case-stat span { display: block; color: var(--gray-dark); font-size: 13px; margin-top: 6px; letter-spacing: .06em; }

/* 小区卡片墙 */
.case-masonry {
  display: grid;
  /* 5 列为基准（1200 容器下正好 5×3 铺满不留空），窄屏由 minmax 自动降列 */
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.case-unit {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
  padding: 17px 18px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
  /* 网格行高一致，所有卡片等高 */
  display: flex; flex-direction: column;
}
.case-unit::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.case-unit:hover { transform: translateY(-3px); border-color: var(--line); }
.case-unit:hover::before { opacity: 1; }
.case-unit-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.case-unit-name { font-size: 15.5px; font-weight: 600; color: var(--white); letter-spacing: .01em; }
.case-unit-n {
  font-size: 11.5px; color: var(--gold); font-weight: 600;
  background: rgba(201,160,98,.1); border: 1px solid rgba(201,160,98,.2);
  padding: 1px 8px; border-radius: 999px; flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}
.case-unit-rooms {
  margin-top: 10px; font-size: 12.5px; color: var(--gray-dark);
  line-height: 1.85; letter-spacing: .02em; word-break: break-word;
  /* 卡片高度统一：房号最多两行，超出省略，别让某一张把整行撑高 */
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.85em * 2);
}
.case-unit-rooms b { color: var(--gray); font-weight: 500; }
.case-more { text-align: center; margin-top: 30px; }
.case-foot { text-align: center; color: #5a5a5a; font-size: 12.5px; margin-top: 22px; letter-spacing: .04em; }

/* ---------- 门店 ---------- */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.store-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: left;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.store-card:hover { transform: translateY(-4px); border-color: var(--line); }
.store-card > svg { width: 30px; height: 30px; stroke: var(--gold); margin-bottom: 18px; }
.store-card h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: .04em; }
.store-card p { color: var(--gray); font-size: 14px; }
.store-tel { font-size: 26px !important; font-weight: 800; color: var(--gold-light) !important; letter-spacing: .02em; }
.store-note { font-size: 12px !important; color: var(--gray-dark) !important; margin-top: 8px; }
.text-link {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 700; color: var(--gold);
}
.text-link:hover { color: var(--gold-light); }

/* ---------- 交付实景图廊 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 208px;
  gap: 16px;
}
.g-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.05);
  transition: border-color .35s;
}
.g-item:hover { border-color: var(--line); }
.g-item img,
.g-item video {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.g-item:hover img,
.g-item:hover video { transform: scale(1.05); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0) 42%, rgba(15,15,15,.88) 100%);
  pointer-events: none;
}
.g-item figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 15px;
  z-index: 2;
}
.g-item figcaption b {
  display: block; font-size: 15.5px; color: var(--white);
  letter-spacing: .02em; margin-bottom: 4px;
}
.g-item figcaption span {
  display: block; font-size: 12.5px; color: #b9b4a9; line-height: 1.6;
}
/* 视频：控件永远可点，不被 ::after 遮罩和 hover 缩放影响 */
.g-item video { position: relative; z-index: 1; pointer-events: auto; }
.g-item:hover video { transform: none; }
.g-item-video::after {
  background: linear-gradient(180deg, rgba(15,15,15,0) 62%, rgba(15,15,15,.82) 100%);
}
.g-big  { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 3; grid-row: span 1; }
.gallery-foot {
  margin-top: 26px; text-align: center;
  font-size: 12.5px; color: #5a5a5a; line-height: 1.8;
}

/* 交付效果：素材未上架时的占位 */
.showcase-empty {
  display: flex; justify-content: center;
  padding: 4px 0 6px;
}
.showcase-empty-inner {
  width: 100%; max-width: 860px; text-align: center;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 46px 44px 42px;
}
.showcase-empty-inner h3 {
  font-size: 20px; letter-spacing: .04em; margin-bottom: 14px;
}
.showcase-empty-inner p {
  color: var(--gray-dark); font-size: 14.5px; line-height: 1.9;
  max-width: 620px; margin: 0 auto;
}
.showcase-points {
  list-style: none; margin: 22px auto 0; max-width: 520px; text-align: left;
  display: inline-block;
}
.showcase-points li {
  position: relative; padding-left: 20px; margin-bottom: 10px;
  font-size: 13.5px; color: var(--gray); line-height: 1.8;
}
.showcase-points li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.showcase-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 20px; margin-top: 28px;
}

.map-btn {
  display: inline-flex; align-items: center;
  padding: 11px 22px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--white);
  font-size: 13.5px; letter-spacing: .04em;
  transition: border-color .25s, background .25s, color .25s;
}
.map-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.map-btn-primary {
  background: var(--gold); border-color: var(--gold);
  color: #17150F; font-weight: 600;
}
.map-btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: #17150F; }


/* 导航里的高亮项 */
.nav-links a.nav-highlight { color: var(--gold); }

/* ---------- 微信入口 ---------- */
.btn svg, .text-link svg { width: 18px; height: 18px; flex: none; }
.btn.wx-copy {
  display: inline-flex; align-items: center; gap: 8px;
}
.store-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.store-actions .text-link { margin-top: 14px; }
.wx-copy {
  background: none; border: none; padding: 0; margin-top: 14px;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--gold);
  cursor: pointer; text-align: left;
}
.wx-copy:hover { color: var(--gold-light); }
/* 页脚里的复制微信号按钮：样式统一交给 .footer-links button，这里只定字色 */
.footer-wx {
  font-family: inherit; font-weight: 600; color: var(--gold);
  cursor: pointer;
}
.cta-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; align-items: center;
}

/* ---------- 复制提示 toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 34px;
  transform: translate(-50%, 20px);
  background: rgba(20,20,20,.97);
  border: 1px solid var(--line);
  color: var(--white); font-size: 14.5px;
  padding: 14px 24px; border-radius: 12px;
  opacity: 0; pointer-events: none;
  transition: opacity .28s, transform .28s;
  z-index: 9999; max-width: calc(100vw - 40px);
  text-align: center; line-height: 1.5;
  box-shadow: 0 10px 34px rgba(0,0,0,.5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 移动端底部联系条 ---------- */
.mobile-bar { display: none; }
.to-top {
  position: fixed; right: 22px; bottom: 34px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(20,20,20,.94);
  border: 1px solid var(--line);
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 900;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--card); }

@media (max-width: 768px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0;
    background: rgba(15,15,15,.97);
    border-top: 1px solid var(--line);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    z-index: 950;
    backdrop-filter: blur(8px);
  }
  .mb-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 6px 4px;
    font-family: inherit; font-size: 12px; color: var(--gray);
    background: none; border: none; cursor: pointer;
    transition: color .2s;
  }
  .mb-item svg { width: 21px; height: 21px; }
  .mb-item b { font-weight: 700; letter-spacing: .04em; }
  .mb-call { color: var(--gold); }
  .mb-wx { color: var(--gold); }
  .mb-store { color: var(--gold-light); }
  .mb-item:active { opacity: .7; }
  /* 底部条占位，避免遮住页脚内容 */
  .footer { padding-bottom: 78px; }
  .to-top { bottom: 88px; right: 16px; }
}

/* ---------- 客户评价 ---------- */
.review-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.review-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--line); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.review-who { min-width: 0; flex: 1; }
.review-who b { display: block; font-size: 15px; color: var(--white); letter-spacing: .02em; }
.review-who span {
  display: block; font-size: 12px; color: var(--gray-dark);
  margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.review-stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; flex: none; }
.review-card p { color: var(--gray); font-size: 13.5px; line-height: 1.85; margin: 0; }
@media (max-width: 1024px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(140deg, #181410, #0f0f0f 55%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-inner { max-width: 800px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.cta-inner h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.01em; margin-bottom: 12px; }
.cta-inner p { color: var(--gray); margin-bottom: 34px; font-size: 15.5px; }

/* ---------- 页脚 ---------- */
.footer { background: #0b0b0b; }
/* 品牌独占一行，下方两组横向排布，避免一条条竖着拉长 */
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 52px 24px 34px;
  /* minmax(0,…) 而非 1fr：否则长文本的 min-content 会把轨道撑破，横向溢出 */
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px 48px;
  align-items: start;
}
.footer-brand {
  grid-column: 1 / -1;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand b { font-size: 19px; display: block; margin-bottom: 8px; letter-spacing: .01em; }
.footer-brand p { color: var(--gray-dark); font-size: 13.5px; }
.footer-col { display: block; }
.footer-col b { font-size: 12.5px; letter-spacing: .16em; color: var(--gold); margin-bottom: 14px; display: block; }
/* 链接横向流动排布，自动换行，不再一条一行往下堆 */
.footer-links { display: flex; flex-wrap: wrap; gap: 9px 10px; }
.footer-links a, .footer-links span, .footer-links button {
  font-size: 13px; color: var(--gray);
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  transition: color .25s, border-color .25s, background .25s;
  white-space: nowrap;
  max-width: 100%; min-width: 0; overflow-wrap: anywhere;
}
/* 长内容（地址、微信提示）在窄屏允许折行，不撑出横向滚动条 */
@media (max-width: 560px) {
  .footer-links span, .footer-links button, .footer-links a { white-space: normal; }
}
.footer-links a:hover {
  color: var(--gold-light); border-color: rgba(201,160,98,.4);
  background: rgba(201,160,98,.07);
}
.footer-links .footer-wx:hover { color: var(--gold-light); border-color: rgba(201,160,98,.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  max-width: 1200px; margin: 0 auto;
  padding: 22px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--gray-dark);
}
.footer-bottom span, .footer-bottom a { min-width: 0; overflow-wrap: anywhere; }
.footer-bottom a { color: var(--gray-dark); }
.footer-bottom a:hover { color: var(--gray); }

/* ---------- 进场动画 ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .modules-row { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .g-big { grid-column: span 2; grid-row: span 2; }
  .g-wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(15,15,15,.97);
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }
  .nav-links.open { display: flex; flex-direction: column; gap: 4px; }
  .nav-links.open a { padding: 12px 8px; font-size: 16px; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 110px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .modules-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .module { padding: 13px 13px 12px; }
  .module b { font-size: 13.5px; }
  .module span { font-size: 11.5px; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px 24px 24px; }
  .steps { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-big, .g-wide { grid-column: span 1; grid-row: span 1; }
  .showcase-empty-inner { padding: 32px 22px 30px; }
  .showcase-actions { flex-direction: column; align-items: stretch; }
  .showcase-actions .map-btn { justify-content: center; }
  .case-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .case-stat { padding: 17px 12px; }
  .case-masonry { grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 11px; }
  .case-unit { padding: 14px 14px; }
  .case-unit-name { font-size: 14.5px; }
  .section { padding: 76px 20px; }
  .chip { padding: 9px 13px; border-radius: 12px; }
  .chip b { font-size: 12.5px; }
  .chip span { font-size: 10.5px; }
  .chip-a { left: 0; top: 4%; } .chip-b { right: 0; top: 40%; }
  .chip-c { left: 0; bottom: 4%; } .chip-d { right: 0; top: 15%; }
  .chip-e { left: 0; top: 62%; } .chip-f { right: 0; bottom: 17%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 40px 20px 28px; }
  .footer-brand { padding-bottom: 20px; }
  .footer-brand b { font-size: 17px; }
  .footer-links { gap: 8px; }
  .footer-links a, .footer-links span, .footer-links button { font-size: 12.5px; padding: 6px 12px; }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
