/* 风格依据：design-kit · Airbnb DESIGN.md（白底、照片优先、单一强调色、圆角 8/14/20/全圆、一档阴影）。
   强调色由 Airbnb Rausch 换成龙亭的朱红。 */
:root {
  --accent: #d2402a;
  --accent-press: #b8321e;
  --ink: #222222;
  --body: #3f3f3f;
  --muted: #6a6a6a;
  --hairline: #dddddd;
  --hairline-soft: #ebebeb;
  --canvas: #fdfdfc;
  --soft: #f5f5f4;
  --strong: #eeeeec;
  --shadow: 0 0 0 1px rgb(0 0 0 / .02), 0 2px 6px rgb(0 0 0 / .04), 0 4px 8px rgb(0 0 0 / .1);
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px;
  --line: #06c755; --whatsapp: #1fa855; --wechat: #07c160;
  --font: "Plus Jakarta Sans", -apple-system, system-ui, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans Thai", "Noto Sans Lao", "Noto Sans Khmer", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #ef5d45; --accent-press: #f47a66;
    --ink: #ececea; --body: #cfcfcc; --muted: #9a9a96;
    --hairline: #34343a; --hairline-soft: #2a2a2f;
    --canvas: #141416; --soft: #1c1c20; --strong: #26262b;
    --shadow: 0 0 0 1px rgb(255 255 255 / .05), 0 4px 12px rgb(0 0 0 / .4);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 80px }
body { background: var(--canvas); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased }
img, video { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em }
h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25 }
section { max-width: 1280px; margin: 0 auto; padding: 64px 32px 0 }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px }

/* 图标：Phosphor / Simple Icons 的 SVG 当遮罩，颜色跟随文字 */
.i { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor;
     -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat }
.i-globe { --m: url(assets/icons/globe.svg) } .i-caret-down { --m: url(assets/icons/caret-down.svg); width: 14px }
.i-magnifying-glass { --m: url(assets/icons/magnifying-glass.svg) } .i-x { --m: url(assets/icons/x.svg) }
.i-play { --m: url(assets/icons/play.svg) } .i-copy { --m: url(assets/icons/copy.svg) } .i-check { --m: url(assets/icons/check.svg) }
.i-video { --m: url(assets/icons/video-camera.svg); width: 16px; height: 16px }
.i-line { --m: url(assets/icons/line.svg) } .i-whatsapp { --m: url(assets/icons/whatsapp.svg) } .i-wechat { --m: url(assets/icons/wechat.svg) }

/* 按钮：主按钮 8px 圆角；筛选与语言是全圆 pill（Airbnb 规则） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px;
       border-radius: var(--r-sm); font-weight: 500; white-space: nowrap; transition: transform .15s, background .15s }
.btn:active { transform: scale(.98) }
.btn-primary { background: var(--accent); color: #fff }
.btn-primary:hover { background: var(--accent-press) }
.btn-ghost { border: 1px solid var(--ink); background: var(--canvas) }
.btn-ghost:hover { background: var(--soft) }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--hairline);
        border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--canvas) }
.pill:hover { box-shadow: var(--shadow) }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--strong) }

/* 顶栏 */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 32px;
       background: color-mix(in srgb, var(--canvas) 92%, transparent); backdrop-filter: saturate(160%) blur(12px);
       border-bottom: 1px solid var(--hairline-soft) }
.brand { display: flex; align-items: baseline; gap: 8px }
.brand b { color: var(--accent); font-size: 20px; font-weight: 700; letter-spacing: -.02em }
.brand span { color: var(--muted); font-size: 13px }
.links { display: flex; gap: 28px; margin: 0 auto; font-weight: 500; font-size: 15px }
.links a { color: var(--muted); padding: 24px 0; border-bottom: 2px solid transparent }
.links a:hover { color: var(--ink); border-color: var(--ink) }
.tools { display: flex; align-items: center; gap: 12px }
.lang { position: relative }
.lang ul { position: absolute; right: 0; top: 48px; min-width: 200px; list-style: none; padding: 8px; background: var(--canvas);
           border-radius: var(--r-md); box-shadow: var(--shadow) }
.lang li button { width: 100%; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); font-size: 15px }
.lang li button:hover, .lang li button[aria-selected="true"] { background: var(--soft) }
.lang li button[aria-selected="true"] { font-weight: 600 }

/* 首屏：左文案 + 右侧三图拼贴 */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding-top: 48px }
.hero h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.025em; max-width: 14ch }
.hero-copy > p { margin-top: 16px; color: var(--body); font-size: 18px; max-width: 42ch }
.search { display: flex; align-items: center; gap: 10px; margin-top: 28px; height: 56px; padding: 0 20px; max-width: 460px;
          border: 1px solid var(--hairline); border-radius: 999px; box-shadow: var(--shadow); background: var(--canvas); color: var(--muted) }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--ink) }
.search input::placeholder { color: var(--muted) }
.search:focus-within { border-color: var(--ink) }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px }
.hero-photos { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: min(620px, 72vh) }
.hero-photos img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--r-lg) }
.hero-photos .a { grid-row: span 2 }

/* 目录 */
.catalog h2 { max-width: 32ch }
.strip { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none }
.strip button { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 6px; flex: none;
                border: 1px solid var(--hairline); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted) }
.strip button img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover }
.strip button[data-all] { padding-left: 18px }
.strip button[aria-selected="true"] { border-color: var(--ink); color: var(--ink); background: var(--soft) }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; margin-top: 28px }
.card { text-align: left; display: block; width: 100% }
.card .ph { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--soft) }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1) }
.card:hover .ph img { transform: scale(1.04) }
.card h3 { margin-top: 12px; font-size: 16px; line-height: 1.3 }
.card .meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--muted); font-size: 14px }
.empty { margin-top: 28px; color: var(--muted) }
.more { margin-top: 36px; display: flex; justify-content: center }

/* 落地案例：标题在上，照片拼贴 */
.onsite-head p { margin-top: 6px; color: var(--muted) }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 12px; margin-top: 24px }
.mosaic > * { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--r-md); background: #000 }
.mosaic .vid { aspect-ratio: auto }
.mosaic > :first-child { grid-row: span 2 }

/* 工厂：大数字 + 横向视频带 */
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 56px; margin-top: 28px }
.stats dt { white-space: nowrap; font-size: clamp(34px, 5vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1 }
.stats dd { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 18ch }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 16px; margin-top: 36px;
        overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px }
.reel figure { scroll-snap-align: start }
.reel figcaption { margin-top: 10px; font-weight: 500; font-size: 15px }
.vid { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: #000 }
.vid video, .vid img { width: 100%; height: 100%; object-fit: cover }
.vid .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff }
.vid .play span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgb(0 0 0 / .55) }
.vid .play .i { width: 22px; height: 22px }

/* 下单流程：横排四段，细线分隔 */
.how ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--hairline) }
.how li { padding: 24px 24px 0 0 }
.how li + li { padding-left: 24px; border-left: 1px solid var(--hairline-soft) }
.how h3 { font-size: 18px }
.how p { margin-top: 8px; color: var(--body); font-size: 15px }

/* 联系 */
.contact { margin-top: 64px; padding: 56px 48px; border-radius: var(--r-lg); background: var(--soft); max-width: 1216px }
.contact p { margin-top: 8px; color: var(--body); max-width: 50ch }
.channels { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.ch { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: var(--r-sm);
      color: #fff; font-weight: 600; transition: transform .15s, filter .15s }
.ch:hover { filter: brightness(1.06) } .ch:active { transform: scale(.98) }
.ch .i { width: 22px; height: 22px }
.ch-line { background: var(--line) } .ch-whatsapp { background: var(--whatsapp) } .ch-wechat { background: var(--wechat) }

/* 右下角常驻三按钮 */
.dock { position: fixed; right: 20px; bottom: 20px; z-index: 15; display: flex; flex-direction: column; gap: 10px }
.dock .ch { width: 52px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: var(--shadow) }
.dock .ch span { display: none }

.foot { max-width: 1280px; margin: 64px auto 0; padding: 32px 32px 96px; display: flex; justify-content: space-between; gap: 24px;
        border-top: 1px solid var(--hairline-soft); color: var(--muted); font-size: 14px; line-height: 1.7 }
.foot b { color: var(--ink) }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 16px; align-content: start; justify-content: flex-end; max-width: 420px }
.foot-langs button { color: var(--muted); font-size: 14px; min-height: 44px } .foot-langs button:hover { color: var(--ink); text-decoration: underline }

/* 弹窗 */
.modal { margin: auto; width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border: 0; border-radius: var(--r-lg);
         background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); overflow: auto }
.modal::backdrop { background: rgb(0 0 0 / .5) }
.modal-sm { width: min(420px, calc(100vw - 32px)) }
.close { position: sticky; top: 16px; margin: 16px 16px -52px auto; z-index: 2 }
.modal-body { padding: 32px }
.detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px }
.detail > * { min-width: 0 }
.stage { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--soft) }
.stage img, .stage video { width: 100%; height: 100%; object-fit: contain; background: #111 }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px }
.thumbs button { position: relative; flex: none; width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; opacity: .7 }
.thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--ink); outline-offset: 2px }
.thumbs img { width: 100%; height: 100%; object-fit: cover }
.thumbs .i { position: absolute; inset: 0; margin: auto; color: #fff; width: 22px; height: 22px; filter: drop-shadow(0 1px 2px #000) }
.info h2 { padding-right: 40px }
.info .series { margin-top: 4px; color: var(--muted) }
.info .spec { margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft) }
.info .spec span { display: block; color: var(--muted); font-size: 14px }
.info .spec b { font-size: 20px; font-weight: 600 }
.info .note { margin-top: 16px; color: var(--body); font-size: 15px }
.info .channels { margin-top: 20px; flex-direction: column }
.info .ch { justify-content: center; flex: none !important }
.wx { text-align: center }
.wx .id { margin: 16px 0; font-size: 26px; font-weight: 700; letter-spacing: .02em }

/* 卡片进入视口的淡入：只用 transform/opacity，减少动效时关闭 */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1) }
  .reveal.in { opacity: 1; transform: none }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important } }

@media (max-width: 1128px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 900px) {
  /* 手机：导航放到顶栏第二行，可横滑 */
  html { scroll-padding-top: 116px }
  .top { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 0 }
  .tools { margin-left: auto }
  .links { order: 3; width: 100%; margin: 0; gap: 24px; overflow-x: auto; scrollbar-width: none }
  .links a { padding: 12px 0; white-space: nowrap }
  .hero { grid-template-columns: 1fr; gap: 32px }
  .hero-photos { height: 420px }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .how ol { grid-template-columns: 1fr 1fr }
  .how li:nth-child(3) { padding-left: 0; border-left: 0 }
  .detail { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 744px) {
  section { padding: 48px 16px 0 }
  .top { padding: 8px 16px 0; column-gap: 12px }
  .brand span, .hide-sm { display: none }
  .hero { padding-top: 24px }
  .hero-photos { height: 340px; gap: 8px }
  .grid { gap: 24px 12px }
  .card h3 { font-size: 15px }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px }
  .mosaic > :first-child { grid-column: span 2; grid-row: auto }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px }
  .how ol { grid-template-columns: 1fr }
  .how li, .how li + li { padding: 20px 0 0; border-left: 0 }
  .contact { margin: 48px 16px 0; padding: 32px 20px }
  .channels .ch { flex: 1 1 100% }
  .dock { right: 12px; bottom: 12px }
  .dock .ch { width: 46px; height: 46px }
  .foot { flex-direction: column; padding: 32px 16px 88px }
  .foot-langs { justify-content: flex-start }
  .modal-body { padding: 20px }
}
