:root {
  --ink: #272727;
  --muted: #777;
  --subtle: #a2a2a2;
  --line: #e8e8e8;
  --paper: #fff;
  --surface: #f5f5f3;
  --surface-warm: #faf8f2;
  --red: #c91522;
  --red-soft: #e7332d;
  --orange: #f47c18;
  --gold: #ffd600;
  --green: #3f7755;
  --blue: #2d75c8;
  --container: min(90vw, 1440px);
  --shadow: 0 20px 60px rgba(35, 25, 10, .08);
  --radius: 28px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

.site-header {
  height: 80px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 5px 24px rgba(0, 0, 0, .1); }
.header-inner {
  width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 2px solid var(--red);
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
  transform: rotate(-1deg);
}
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.brand-name small { display: block; font-size: 9px; font-weight: 500; letter-spacing: .14em; color: var(--subtle); margin-top: 2px; }
.site-nav { display: flex; align-items: stretch; height: 100%; gap: 4px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; padding: 0 clamp(10px, 1.2vw, 22px); font-size: 15px; font-weight: 600; color: #333; transition: color .25s ease; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--red); transition: left .25s ease, right .25s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--red); }
.site-nav a:hover::after, .site-nav a.active::after { left: 25%; right: 25%; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }

main { padding-top: 80px; overflow: hidden; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 112px 0; }
.section--tight { padding: 78px 0; }
.section--soft { background: var(--surface-warm); }
.section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-head--wide { max-width: 1120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title { margin: 18px 0 14px; font-size: clamp(32px, 4vw, 58px); line-height: 1.12; letter-spacing: -.04em; font-weight: 800; }
.section-title--nowrap { white-space: nowrap; font-size: clamp(16px, 3.8vw, 54px); letter-spacing: -.055em; }
.section-summary { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.fine-print { color: var(--subtle); font-size: 12px; line-height: 1.8; }

.home-hero { position: relative; min-height: min(690px, calc(100vh - 80px)); background: #36281d; color: #fff; }
.hero-media { position: absolute; inset: 0; background: center/cover no-repeat; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 17, 12, .74), rgba(25, 17, 12, .17) 68%, rgba(25, 17, 12, .26)); }
.hero-content { position: relative; z-index: 1; min-height: inherit; display: flex; align-items: center; padding: 72px 0; }
.hero-copy { max-width: 760px; }
.hero-kicker { margin: 0 0 18px; color: #ffdca6; font-size: 15px; font-weight: 700; letter-spacing: .22em; }
.hero-title { margin: 0; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.14; letter-spacing: -.04em; font-weight: 900; text-wrap: balance; }
.hero-subtitle { max-width: 600px; margin: 24px 0 0; color: rgba(255,255,255,.84); font-size: clamp(16px, 1.6vw, 21px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 46px; background: currentColor; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(.55); transform-origin: top; opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.14); }
.btn--red { background: var(--red); color: #fff; }
.btn--gold { background: var(--gold); color: #201f1a; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost { border-color: #d7d7d7; background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.intro { text-align: center; padding-bottom: 72px; }
.intro .section-title { margin-bottom: 18px; }
.intro-copy { max-width: 850px; margin: 0 auto; color: #555; font-size: 17px; line-height: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 66px; }
.stat { min-height: 148px; padding: 10px 24px 0; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 15px; color: var(--red); background: #fff0e5; font-size: 22px; font-weight: 900; }
.stat-label { color: #444; font-size: 14px; font-weight: 700; line-height: 1.5; }
.stat-value { margin-top: 7px; color: var(--red); font-size: clamp(29px, 3vw, 44px); line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.stat-value small { margin-left: 4px; font-size: 14px; letter-spacing: 0; }

.brand-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.brand-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 670px; padding: 0 0 42px; border-radius: 30px; background: #f3f3f1; box-shadow: 0 9px 25px rgba(36, 27, 14, .05); transition: transform .35s ease, box-shadow .35s ease; }
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.brand-photo { width: 100%; height: 320px; object-fit: cover; object-position: center; }
.brand-card--aixiaowan .brand-photo { object-position: center 42%; }
.brand-card--zukangshu .brand-photo { object-position: center 55%; }
.brand-card--hengqingshu .brand-photo { object-position: center 45%; }
.brand-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px 38px 0; text-align: center; }
.brand-tag { align-self: center; display: inline-flex; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--green); font-size: 12px; font-weight: 800; }
.brand-name-row { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 10px; }
.brand-name-large { margin: 0; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.05em; line-height: 1.05; font-weight: 900; }
.brand-card--guxiaotui .brand-name-large { color: var(--orange); }
.brand-card--aixiaowan .brand-name-large { color: #bc2027; }
.brand-card--zukangshu .brand-name-large { color: #9c6b00; }
.brand-card--hengqingshu .brand-name-large { color: var(--green); }
.brand-card--leguangli .brand-name-large { color: #a15b2f; }
.brand-card--naiwan .brand-name-large { color: #8c4a3c; }
.brand-card--shisixun .brand-name-large { color: var(--blue); }
.brand-copy { margin: 0 auto; max-width: 450px; color: #555; font-size: 15px; line-height: 1.9; }
.brand-card .btn { align-self: center; margin-top: auto; }
.brand-card--small { min-height: 430px; }
.brand-card--small .brand-photo { height: 220px; }
.brand-card--small .brand-card-body { padding-left: 25px; padding-right: 25px; }
.brand-card--small .brand-name-large { font-size: 31px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 8vw, 120px); }
.split--reverse > :first-child { order: 2; }
.split-copy .section-title { margin-top: 14px; }
.split-copy p { color: var(--muted); font-size: 17px; line-height: 2; }
.feature-list { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 36px; font-weight: 700; line-height: 1.6; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ffefe1; color: var(--orange); font-size: 14px; }
.media-card { position: relative; overflow: hidden; border-radius: 28px; background: #eee; box-shadow: var(--shadow); }
.media-card img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.media-card--screen { max-width: 520px; justify-self: center; padding: 18px; background: linear-gradient(135deg, #fff 0%, #f5f6fa 100%); }
.media-card--screen img { min-height: 540px; max-height: 620px; width: auto; margin: auto; object-fit: contain; border-radius: 18px; box-shadow: 0 20px 40px rgba(22, 20, 18, .15); }
/* 双小程序屏并排展示（能力页·数字化入口） */
.screen-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; justify-self: center; }
.screen-pair figure { margin: 0; }
.screen-pair .media-card--screen { max-width: none; padding: 12px; }
.screen-pair .media-card--screen img { min-height: 430px; max-height: 580px; }
.screen-pair .media-caption { left: 24px; right: 24px; bottom: 24px; padding: 12px 14px; font-size: 13px; }
@media (max-width: 768px) { .screen-pair { grid-template-columns: 1fr; } }
/* 灵枢三款 App 入口：谷有方、有小方、方小匠各自占一个展示位。 */
.app-showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.app-showcase-grid figure { margin: 0; }
.app-showcase-grid .media-card--screen { max-width: none; padding: 12px; }
.app-showcase-grid .media-card--screen img { min-height: 430px; max-height: 580px; }
.app-showcase-grid .media-caption { left: 22px; right: 22px; bottom: 22px; padding: 12px 14px; font-size: 13px; }
.app-preview--qr { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 454px; padding: 34px 24px 72px; background: linear-gradient(145deg, #fff, #f5f1e8); }
.app-preview--qr img { width: auto; height: auto; min-height: 0; object-fit: contain; }
.app-preview--qr .app-preview-logo { width: min(82%, 220px); margin-bottom: 28px; }
.app-preview--qr .app-preview-qr { width: 172px; height: 172px; padding: 9px; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(36,27,14,.12); }
@media (max-width: 768px) { .app-showcase-grid { grid-template-columns: 1fr; max-width: 520px; } }
/* 数字化入口三个纵向块（能力页）之间的间距与小程序码卡片形态 */
.tab-panel .split + .split { margin-top: 52px; }
.media-card--qr { max-width: 400px; justify-self: center; display: grid; justify-items: center; padding: 26px 26px 20px; background: #fff; }
.media-card--qr img { min-height: 0; height: auto; object-fit: contain; border-radius: 18px; }
.media-card--qr .platform-qr-hint { margin-top: 14px; }
.media-caption { position: absolute; left: 22px; right: 22px; bottom: 20px; padding: 15px 18px; border-radius: 15px; background: rgba(26, 21, 16, .66); color: #fff; font-size: 14px; line-height: 1.6; backdrop-filter: blur(8px); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: process; }
.process-item { position: relative; min-height: 220px; padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); counter-increment: process; }
.process-item::before { content: counter(process, decimal-leading-zero); display: block; color: var(--red); font-size: 38px; line-height: 1; font-weight: 900; }
.process-item h3 { margin: 25px 0 10px; font-size: 20px; }
.process-item p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; }
.process-item::after { content: "→"; position: absolute; top: 36px; right: -18px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #4c3a00; font-weight: 900; }
.process-item:nth-child(4n)::after { display: none; }

.showcase-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 22px; }
.showcase-item { position: relative; overflow: hidden; min-height: 270px; border: 1px solid #d9d8d3; border-radius: 22px; background: #ddd; box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset; }
.showcase-item:first-child { min-height: 560px; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.showcase-item:hover img { transform: scale(1.04); }
.showcase-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.58), transparent 52%); pointer-events: none; }
.showcase-label { position: absolute; z-index: 1; left: 26px; bottom: 24px; color: #fff; }
.showcase-label strong { display: block; font-size: 24px; }
.showcase-label span { display: block; margin-top: 5px; color: rgba(255,255,255,.76); font-size: 13px; }
.showcase-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }

.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 23px 0; background: transparent; text-align: left; font-weight: 800; font-size: 17px; }
.faq-question::after { content: "+"; color: var(--red); font-size: 28px; font-weight: 400; transition: transform .25s ease; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; color: var(--muted); line-height: 1.9; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > div { padding: 0 40px 24px 0; }

.page-hero { position: relative; min-height: 360px; display: flex; align-items: center; color: #fff; background: #33261c; }
.page-hero .hero-media::after { background: linear-gradient(90deg, rgba(31, 23, 18, .8), rgba(31, 23, 18, .22)); }
.page-hero .hero-content { min-height: 360px; }
.page-hero .hero-title { font-size: clamp(42px, 6vw, 76px); }
.page-crumbs { margin-top: 15px; color: rgba(255,255,255,.72); font-size: 13px; }
.page-crumbs a:hover { color: #fff; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-grid--wide { gap: 20px 24px; }
.content-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 集团规模（官方数字，data-count 数字动画） */
.scale-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scale-item { padding: 30px 22px 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: center; }
.scale-value { color: var(--red); font-size: clamp(38px, 4.2vw, 56px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.scale-value small { margin-left: 5px; font-size: 15px; font-weight: 800; letter-spacing: 0; }
.scale-label { margin-top: 12px; color: #444; font-size: 15px; font-weight: 700; }
.scale-label small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.6; }
@media (max-width: 900px) { .scale-grid { grid-template-columns: repeat(2, 1fr); } }
/* 灵枢三平台卡：产品横版 logo + 平台角色 */
.platform-card { text-align: center; }
.platform-card .platform-name { margin: 4px 0 6px; }
.platform-card .platform-name img { height: 30px; width: auto; object-fit: contain; }
.platform-card .platform-role { margin: 0 0 10px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.platform-qr { display: block; width: 118px; height: 118px; margin: 18px auto 0; padding: 7px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(60,40,0,.1); }
.platform-qr-hint { display: block; margin-top: 9px; color: var(--red); font-size: 12px; font-weight: 800; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.info-card h3 { margin: 0 0 13px; font-size: 21px; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.9; font-size: 15px; }
.info-card .card-number { margin-bottom: 22px; color: var(--red); font-size: 36px; font-weight: 900; line-height: 1; }
.image-frame { overflow: hidden; border-radius: 26px; background: #eee; box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame--wide { aspect-ratio: 16 / 8; }
.image-frame--square { aspect-ratio: 1; }
.image-frame--portrait { aspect-ratio: 4 / 5; }
.prose { color: #505050; font-size: 17px; line-height: 2; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--ink); }
.quote { margin: 28px 0; padding: 24px 30px; border-left: 4px solid var(--red); background: #fff7f0; color: #4a3a2f; font-size: 20px; line-height: 1.7; font-weight: 700; }

.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #dedede; transform: translateX(-50%); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 28px 0; }
.timeline-item:nth-child(even) .timeline-copy { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-year { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-year { align-self: center; color: var(--red); font-size: 42px; font-weight: 900; }
.timeline-copy { padding: 22px 26px; border-radius: 18px; background: var(--surface); }
.timeline-copy h3 { margin: 0 0 8px; font-size: 19px; }
.timeline-copy p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
.timeline-item::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; border: 3px solid #fff; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red); transform: translate(-50%, -50%); }
.stage-flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1160px; margin: 0 auto; }
.stage-card { position: relative; padding: 30px 30px 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(36, 27, 14, .05); }
.stage-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 42px; right: -20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #5c4700; font-size: 21px; font-weight: 900; box-shadow: 0 6px 14px rgba(94, 73, 0, .12); }
.stage-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.stage-number { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: var(--red); color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -.05em; }
.stage-kicker { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.stage-card h3 { margin: 0 0 13px; font-size: 27px; }
.stage-card > p { min-height: 96px; margin: 0; color: var(--muted); line-height: 1.85; font-size: 14px; }
.stage-points { display: grid; gap: 9px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.stage-points li { position: relative; padding-left: 20px; color: #555; font-size: 13px; line-height: 1.6; }
.stage-points li::before { content: ""; position: absolute; top: .6em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.gallery-card-media { position: relative; overflow: hidden; }
.gallery-card img { width: 100%; height: 250px; object-fit: cover; }
.gallery-brand-label { position: absolute; left: 16px; bottom: 15px; padding: 7px 12px; border-radius: 999px; background: rgba(35, 28, 20, .76); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; backdrop-filter: blur(8px); }
.gallery-card-body { display: block; padding: 21px 22px 25px; }
.gallery-brand-name { display: flex; align-items: center; gap: 9px; min-height: 32px; }
.gallery-card h3 { margin: 0 0 7px; font-size: 20px; }
.gallery-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.gallery-card--interactive { display: block; cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.gallery-card--interactive:hover { transform: translateY(-4px); border-color: rgba(201,21,34,.35); box-shadow: var(--shadow); }
.gallery-card-caption { display: block; color: var(--muted); font-size: 14px; line-height: 1.7; }
.brand-name-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 25px; }
.brand-name-strip span { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #555; font-size: 13px; font-weight: 800; }

/* 门店照片灯箱：底部显示当前照片文案，左右按钮与键盘方向键共用同一套索引。 */
.lightbox-open { overflow: hidden; }
.gallery-lightbox { position: fixed; z-index: 120; inset: 0; display: none; align-items: center; justify-content: center; padding: 52px clamp(52px, 8vw, 120px); background: rgba(20, 16, 12, .88); }
.gallery-lightbox.open { display: flex; }
.gallery-lightbox-card { display: flex; flex-direction: column; width: min(1100px, 100%); max-height: 100%; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: #171310; box-shadow: 0 24px 80px rgba(0,0,0,.4); }
.gallery-lightbox-card img { display: block; width: 100%; max-height: calc(100vh - 170px); object-fit: contain; background: #0e0c0a; }
.gallery-lightbox-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 22px 19px; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.6; }
.gallery-lightbox-card figcaption small { flex: 0 0 auto; color: rgba(255,255,255,.55); font-size: 12px; }
.gallery-lightbox-close, .gallery-lightbox-nav { position: absolute; z-index: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; transition: background .2s ease, transform .2s ease; }
.gallery-lightbox-close:hover, .gallery-lightbox-nav:hover { background: var(--red); transform: scale(1.06); }
.gallery-lightbox-close { top: 18px; right: 22px; width: 42px; height: 42px; font-size: 30px; line-height: 1; }
.gallery-lightbox-nav { top: 50%; width: 48px; height: 48px; font-size: 38px; line-height: 1; transform: translateY(-50%); }
.gallery-lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.gallery-lightbox-prev { left: 18px; }
.gallery-lightbox-next { right: 18px; }
@media (max-width: 640px) {
  .gallery-lightbox { padding: 52px 12px 20px; }
  .gallery-lightbox-nav { width: 38px; height: 38px; font-size: 30px; }
  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }
  .gallery-lightbox-card figcaption { align-items: flex-start; flex-direction: column; gap: 4px; padding: 13px 16px 15px; }
}

.news-list { display: grid; gap: 20px; }
.news-item { display: grid; grid-template-columns: 260px minmax(0, 1fr) 90px; align-items: center; gap: 26px; padding: 18px; border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.news-item:hover { background: var(--surface-warm); transform: translateX(5px); }
.news-thumb { overflow: hidden; aspect-ratio: 16/10; border-radius: 13px; background: #eee; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-meta { color: var(--subtle); font-size: 12px; }
.news-item h3 { margin: 8px 0; font-size: 22px; }
.news-item p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.news-arrow { color: var(--red); font-size: 28px; text-align: right; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.tab-button { position: relative; padding: 0 19px 16px; background: transparent; color: var(--muted); font-size: 16px; font-weight: 800; }
.tab-button::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 3px; background: var(--red); transition: left .25s ease, right .25s ease; }
.tab-button.active, .tab-button:hover { color: var(--red); }
.tab-button.active::after { right: 0; left: 0; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: 18px 15px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.data-table th { color: var(--ink); background: #fafafa; font-weight: 800; }
.data-table td { color: var(--muted); }
.document-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.document-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.document-item strong { font-size: 16px; }
.document-item span { color: var(--subtle); font-size: 13px; }
.document-item em { color: var(--red); font-style: normal; font-size: 13px; font-weight: 800; }

.contact-layout { display: grid; grid-template-columns: 1fr .82fr; gap: 60px; align-items: start; }
.contact-list { display: grid; gap: 21px; margin: 34px 0 0; }
.contact-line { display: flex; gap: 17px; align-items: flex-start; }
.contact-icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #fff1e1; color: var(--orange); font-weight: 900; }
.contact-line small { display: block; color: var(--subtle); font-size: 12px; margin-bottom: 5px; }
.contact-line strong, .contact-line a { font-size: 17px; line-height: 1.6; }
.contact-value { color: var(--red); font-weight: 900; }
.contact-card { padding: 36px; border-radius: 26px; background: var(--surface-warm); text-align: center; }
.contact-card img { width: 190px; height: 190px; margin: 0 auto 20px; border-radius: 12px; object-fit: cover; background: #fff; }
.contact-card h3 { margin: 0 0 9px; font-size: 24px; }
.contact-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-layout > .program-grid { grid-template-columns: 1fr; }
.program-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface-warm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.program-card:hover { transform: translateY(-5px); border-color: rgba(201,21,34,.35); box-shadow: var(--shadow); }
.program-card img { width: 150px; height: 150px; padding: 8px; border-radius: 16px; object-fit: contain; background: #fff; }
.program-card .eyebrow { margin: 0; font-size: 11px; letter-spacing: .1em; }
.program-card h3 { margin: 12px 0 8px; font-size: 28px; }
.program-card p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.program-card small { display: inline-block; margin-top: 12px; color: var(--red); font-size: 12px; font-weight: 800; }
.contact-form { display: grid; gap: 15px; margin-top: 28px; }
.contact-form label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid #ddd; border-radius: 10px; background: #fff; outline: 0; }
.contact-form select { min-height: 50px; color: var(--ink); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,124,24,.12); }
.contact-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-fieldset legend { margin-bottom: 8px; padding: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.region-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.region-picker select:disabled { color: #aaa; background: #f7f7f7; cursor: not-allowed; }
.intent-brand-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-form .intent-brand-option { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 700; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.contact-form .intent-brand-option:hover { border-color: rgba(244,124,24,.55); }
.contact-form .intent-brand-option:has(input:checked) { border-color: var(--orange); background: #fff7ed; box-shadow: 0 0 0 3px rgba(244,124,24,.1); }
.contact-form .intent-brand-option input { width: auto; flex: 0 0 auto; margin: 0; padding: 0; accent-color: var(--orange); }
.form-status { min-height: 24px; color: var(--green); font-size: 13px; }
.form-status--warning { color: var(--orange); }
.form-status--error { color: var(--red); }
.fine-print a { color: var(--red); }

.legal-page .prose { max-width: 920px; margin: 0 auto; }
.legal-page .prose h2 { margin: 42px 0 12px; color: var(--ink); font-size: 24px; }
.legal-page .prose h2:first-of-type { margin-top: 0; }
.footer-secondary { float: right; }
.footer-secondary a { color: rgba(255,255,255,.85); font-size: 11px; opacity: .78; }
.footer-secondary a:hover { color: var(--gold); opacity: 1; }

.video-poster { position: relative; overflow: hidden; border-radius: 28px; background: #211914; box-shadow: var(--shadow); }
.video-poster img { width: 100%; height: min(620px, 55vw); min-height: 360px; object-fit: cover; }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 60%); }
.play-button { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 78px; height: 78px; border: 2px solid #fff; border-radius: 50%; background: rgba(0,0,0,.2); color: #fff; font-size: 30px; transform: translate(-50%, -50%); transition: background .25s ease, transform .25s ease; }
.play-button:hover { background: var(--red); transform: translate(-50%, -50%) scale(1.08); }
.video-caption { position: absolute; z-index: 1; left: 30px; bottom: 27px; color: #fff; }
.video-caption strong { display: block; font-size: 26px; }
.video-caption span { display: block; margin-top: 6px; color: rgba(255,255,255,.75); }
.modal { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 28px; background: rgba(0,0,0,.76); }
.modal.open { display: grid; }
.modal-card { position: relative; width: min(900px, 94vw); border-radius: 20px; overflow: hidden; background: #171310; color: #fff; }
.modal-card img { width: 100%; max-height: 74vh; object-fit: cover; }
.modal-card p { margin: 0; padding: 18px 22px 22px; line-height: 1.7; color: rgba(255,255,255,.76); }
.modal-close { position: absolute; z-index: 2; top: 10px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 26px; }

.site-footer { position: relative; overflow: hidden; padding: 140px 0 35px; background: var(--red); color: #fff; }
.footer-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 75px; }
.footer-title { margin: 0 0 25px; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .14em; font-weight: 900; }
.footer-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 38px; }
.footer-contact-item small { display: block; margin-bottom: 5px; color: rgba(255,255,255,.75); font-size: 13px; }
.footer-contact-item a, .footer-contact-item strong { font-size: 17px; font-weight: 800; line-height: 1.6; }
.footer-address { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); line-height: 1.8; font-size: 15px; }
.footer-disclosure { margin: 14px 0 0; color: rgba(255,255,255,.8); font-size: 13px; line-height: 2; }
.footer-disclosure a { color: #fff; }
.footer-disclosure a:hover { color: var(--gold); }
.footer-disclosure .sep { margin: 0 8px; opacity: .45; }

/* 品牌 logo（正圆徽章、圆外透明）：方形槽直接放，宽场景与品牌名文字组合 */
.brand-logo-chip { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0; }
.brand-logo-chip img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(60,40,0,.16)); }
.brand-logo-badge { width: 58px; height: 58px; object-fit: contain; margin: 0 0 16px; filter: drop-shadow(0 4px 12px rgba(60,40,0,.22)); }
/* header 集团横版 logo */
.brand-lockup-logo { display: block; height: 32px; width: auto; }
/* 品牌详情页 hero：上下锁定版 logo（图形上+品牌名下，替代文字标题） */
.brand-hero-lockup { display: block; height: auto; width: auto; max-height: 140px; max-width: 230px; margin: 4px 0 8px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.28)); }
/* 品牌门店形态（奈晚推拿） */
.brand-forms-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 22px; }
.brand-form-item { margin: 0; padding: 22px 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: center; }
.brand-form-item img { display: block; margin: 0 auto; height: 92px; width: auto; object-fit: contain; }
.brand-form-item figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
@media (max-width: 640px) { .brand-forms-grid { grid-template-columns: 1fr; } }
.gallery-card img.gallery-logo { flex: 0 0 auto; width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(60,40,0,.14)); }
/* 小程序卡名称位：产品横版 logo 锁定版式（SVG 矢量，含文字），无 logo 时回退纯文字 */
.program-card img.program-logo { height: 30px; width: auto; padding: 0; border-radius: 0; object-fit: contain; margin: 0; vertical-align: middle; background: none; box-shadow: none; }
.footer-qr { display: flex; justify-content: flex-end; gap: 22px; }
.qr-item { text-align: center; }
.qr-item img { width: 126px; height: 126px; padding: 8px; border-radius: 16px; background: #fff; object-fit: contain; }
.qr-item span { display: block; margin-top: 9px; color: rgba(255,255,255,.85); font-size: 12px; }
.copyright { position: relative; z-index: 1; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); font-size: 12px; }
.back-top { position: fixed; z-index: 40; right: 26px; bottom: 25px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-size: 22px; box-shadow: 0 10px 22px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1100px) {
  .site-nav a { padding: 0 9px; font-size: 13px; }
  .brand-name { font-size: 19px; }
  .brand-name small { display: none; }
  .footer-content { gap: 35px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-item:nth-child(2n)::after { display: none; }
}

@media (max-width: 820px) {
  .site-header { height: 64px; }
  .header-inner { width: 90vw; }
  .brand-mark { width: 27px; height: 27px; font-size: 18px; }
  .brand-name { font-size: 18px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 64px 0 0; display: block; height: auto; padding: 20px 5vw 40px; background: #fff; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .site-nav.open { transform: none; }
  .site-nav a { display: flex; align-items: center; height: 55px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a::after { display: none; }
  .site-nav a.active { color: var(--red); }
  main { padding-top: 64px; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 38px; }
  .home-hero { min-height: 660px; }
  .hero-content { align-items: flex-end; padding-bottom: 100px; }
  .hero-title { font-size: clamp(28px, 8vw, 40px); }
  .hero-subtitle { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: 42px; }
  .stat { min-height: 138px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+1) { grid-column: 1 / -1; border-bottom: 0; }
  .brand-grid, .split, .showcase-grid, .contact-layout { grid-template-columns: 1fr; }
  .brand-card { min-height: 580px; }
  .brand-photo { height: 260px; }
  .split--reverse > :first-child { order: initial; }
  .showcase-item:first-child { min-height: 360px; }
  .showcase-stack { min-height: 530px; }
  .page-hero, .page-hero .hero-content { min-height: 310px; }
  .content-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 9px; transform: none; }
  .timeline-item, .timeline-item:nth-child(even) { display: block; padding-left: 40px; }
  .timeline-item:nth-child(even) .timeline-copy, .timeline-item:nth-child(even) .timeline-year { display: block; text-align: left; }
  .timeline-year { margin-bottom: 11px; font-size: 32px; }
  .timeline-item::after { left: 9px; }
  .stage-flow { grid-template-columns: 1fr; gap: 18px; }
  .stage-card:not(:last-child)::after { top: auto; right: auto; bottom: -29px; left: 50%; content: "↓"; transform: translateX(-50%); }
  .stage-card > p { min-height: 0; }
  .footer-content { grid-template-columns: 1fr; gap: 38px; }
  .footer-qr { justify-content: flex-start; flex-wrap: wrap; }
  .program-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .container { width: 90vw; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .intro-copy, .split-copy p, .prose, .section-summary { font-size: 15px; }
  .brand-grid { gap: 24px; }
  .brand-card { min-height: 540px; border-radius: 22px; }
  .brand-photo { height: 220px; }
  .brand-card-body { padding: 22px 22px 0; }
  .brand-name-large { font-size: 33px; }
  .process-grid, .content-grid, .gallery-grid, .document-list { grid-template-columns: 1fr; }
  .process-item { min-height: 190px; }
  .process-item::after { display: none; }
  .news-item { grid-template-columns: 100px minmax(0, 1fr); gap: 15px; padding: 15px 0; }
  .news-item h3 { font-size: 16px; }
  .news-item p { display: none; }
  .news-arrow { display: none; }
  .news-thumb { height: 75px; }
  .data-table { min-width: 600px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab-button { flex: 0 0 auto; }
  .contact-card { padding: 27px 20px; }
  .program-card { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .program-card img { width: 100px; height: 100px; }
  .program-card h3 { margin-top: 8px; font-size: 23px; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-qr { gap: 11px; }
  .qr-item img { width: 96px; height: 96px; }
  .qr-item span { font-size: 11px; }
  .site-footer { padding-top: 112px; }
  .footer-secondary { float: none; display: block; margin-top: 8px; }
  .region-picker, .intent-brand-list { grid-template-columns: 1fr; }
}

/* 品牌视频块（2026-09）：16:9 播放器 + 海报帧；竖版视频限高居中 */
.video-block { margin: 0; }
.video-block video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #14100c; box-shadow: 0 24px 48px rgba(26, 21, 16, .18); }
.video-block .media-caption { position: static; margin-top: 14px; padding: 0; background: none; color: var(--ink-soft, #5c5347); font-size: 14px; backdrop-filter: none; text-align: center; }
.video-block--vertical { max-width: 420px; margin: 0 auto; }
.video-block--vertical video { aspect-ratio: 9 / 16; max-height: 600px; width: auto; max-width: 100%; margin: 0 auto; }

/* 720° 全景看店（mdzs 二级页） */
.vr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vr-card { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #14100c; }
.vr-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vr-card:hover img { transform: scale(1.04); }
.vr-card-badge { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(26, 21, 16, .68); color: #fff; font-size: 12px; letter-spacing: .06em; backdrop-filter: blur(6px); }
.vr-feature { display: block; overflow: hidden; border: 1px solid #d9d3c8; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(36,27,14,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vr-feature:hover { transform: translateY(-4px); border-color: rgba(201,21,34,.35); box-shadow: var(--shadow); }
.vr-feature-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 7; background: #241c15; }
.vr-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vr-feature:hover .vr-feature-media img { transform: scale(1.03); }
.vr-feature-media .vr-card-badge { top: 18px; right: 18px; }
.vr-feature-play { position: absolute; right: 24px; bottom: 22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 23px; box-shadow: 0 8px 18px rgba(0,0,0,.22); }
.vr-feature-copy { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px 26px; }
.vr-feature-copy strong { display: block; color: var(--ink); font-size: 22px; }
.vr-feature-copy small { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 640px) {
  .vr-feature-media { aspect-ratio: 4 / 3; }
  .vr-feature-copy { align-items: flex-start; flex-direction: column; padding: 20px; }
  .vr-feature-copy .btn { width: 100%; }
}

/* 官方公众号二维码（contact 页） */
.wechat-qr { max-width: 340px; margin: 0 auto; }
.wechat-qr img { width: 100%; height: auto; display: block; border-radius: 16px; }

@media (max-width: 860px) {
  .vr-grid { grid-template-columns: 1fr; }
  .video-block--vertical { max-width: 300px; }
}
