/* ==========================================================================
   SQ Packaging — Design System
   Reference structure: factory-direct flexible packaging manufacturer
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink:        #141414;
  --ink-2:      #232323;
  --ink-3:      #333333;
  --ink-4:      #4a4a4a;
  --muted:      #6b6b6b;
  --muted-2:    #8c8c8c;

  --line:       #e4e4e4;
  --line-2:     #efefef;
  --line-dark:  rgba(255, 255, 255, .14);

  --bg:         #ffffff;
  --bg-soft:    #f4f4f4;
  --bg-card:    #f9f9f9;
  --bg-shell:   #f7f5f2;

  --brand:      #ea4900;
  --brand-2:    #ff580d;
  --brand-dark: #c43c00;
  --brand-soft: #fff2ec;
  --brand-grad: linear-gradient(46deg, #ea4900 8%, #ea4900 32%, #ff580d 92%);
  --dark-grad:  linear-gradient(135deg, #333b43 0%, #292f36 56%, #141414 92%);

  --ok:         #1f8a4c;

  --shadow-xs:  0 1px 2px rgba(20, 20, 20, .06);
  --shadow-sm:  0 2px 8px rgba(20, 20, 20, .06);
  --shadow-md:  0 8px 24px rgba(20, 20, 20, .08);
  --shadow-lg:  0 18px 48px rgba(20, 20, 20, .12);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --shell: 1280px;
  --gut: 24px;
  --sec-y: 92px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  /* System font stack. The site used to pull Inter + Noto Sans SC from Google
     Fonts with a render-blocking <link>: ~125KB of @font-face CSS plus ~300KB of
     font files, on a third-party domain that is unreliable on mainland networks.
     Native UI faces render instantly, cost nothing, and never cause a swap
     reflow — the single biggest first-paint win on this site. `Inter` stays in
     front so machines that already have it installed still get it. CJK is served
     by PingFang / Microsoft YaHei, which are better tuned than any webfont. */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
          "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.16; letter-spacing: -.022em; }
p  { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

/* ---------- 3. Layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec-y); }
.section--tight { padding-block: 64px; }
.section--soft { background: var(--bg-soft); }
.section--shell { background: var(--bg-shell); }
.section--dark { background: var(--dark-grad); color: rgba(255, 255, 255, .78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--line { border-top: 1px solid var(--line-2); }

.stack-8 > * + * { margin-top: 8px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow--light { color: #ff9a6b; }
.eyebrow--light::before { background: #ff9a6b; }

.h-display { font-size: clamp(34px, 5.1vw, 62px); letter-spacing: -.03em; font-weight: 800; }
.h1 { font-size: clamp(30px, 3.9vw, 46px); font-weight: 800; }
.h2 { font-size: clamp(25px, 2.9vw, 36px); }
.h3 { font-size: clamp(19px, 1.7vw, 23px); }
.h4 { font-size: 17px; }
.lead { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--muted); line-height: 1.7; }
.lead--light { color: rgba(255, 255, 255, .76); }
.small { font-size: 14px; color: var(--muted); }
.tiny  { font-size: 12.5px; color: var(--muted-2); }
.measure { max-width: 68ch; }
.measure-sm { max-width: 52ch; }

.sec-head { max-width: 760px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: 14px; }
.sec-head .lead { margin-top: 16px; }
.sec-head--split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 18px rgba(234, 73, 0, .26); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(234, 73, 0, .34); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--onDark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .26); }
.btn--onDark:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--brand);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .8); font-size: 13px; }
.topbar__in { display: flex; align-items: center; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topbar__claim { display: inline-flex; align-items: center; gap: 7px; }
.topbar__claim svg { width: 14px; height: 14px; color: var(--brand-2); flex: none; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }
.topbar__spacer { margin-left: auto; }
.topbar__links { display: inline-flex; align-items: center; gap: 16px; }
.topbar__links a:hover { color: #fff; }

/* ---------- 7. Header ---------- */
/* No `backdrop-filter` here. The background is already 96% opaque, so the blur
   was almost invisible — but it forced the compositor to re-blur the whole band
   underneath on every scroll frame, which is exactly what made scrolling feel
   sticky. A plain near-opaque background looks the same and scrolls free. */
.header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line-2); }
.header.is-stuck { box-shadow: 0 4px 22px rgba(20, 20, 20, .07); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 40px; height: 40px; flex: none; position: relative; }
.logo__mark img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: inherit; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-size: 19px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.logo__sub { font-size: 9.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--muted-2); }

.nav { display: flex; align-items: center; margin-left: 8px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 11px; border-radius: var(--r-sm);
  font-size: 14.2px; font-weight: 550; color: var(--ink-2); white-space: nowrap;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--brand); background: var(--brand-soft); }
.nav__link svg { width: 13px; height: 13px; opacity: .65; transition: transform .2s var(--ease); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: max-content; max-width: min(92vw, 1080px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 26px 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 26px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .22s var(--ease), visibility .2s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__col { min-width: 0; }
.mega__title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted-2); padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid var(--line-2);
}
.mega__list li + li { margin-top: 2px; }
.mega__list a {
  display: block; padding: 7px 10px; margin-inline: -10px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink-4); transition: background-color .14s var(--ease), color .14s var(--ease);
}
.mega__list a:hover { background: var(--bg-soft); color: var(--brand); }
.mega__foot {
  grid-column: 1 / -1; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}

.header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r-sm); color: var(--ink-2);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.icon-btn:hover { background: var(--bg-soft); color: var(--brand); }
.icon-btn svg { width: 19px; height: 19px; }

.lang {
  display: inline-flex; align-items: center; padding: 3px; gap: 2px;
  background: var(--bg-soft); border-radius: var(--r-pill); flex: none;
}
.lang__btn {
  padding: 6px 13px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700;
  letter-spacing: .02em; color: var(--muted); transition: all .18s var(--ease);
}
.lang__btn.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }

.burger { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 400px); z-index: 120;
  background: #fff; transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.drawer__body { overflow-y: auto; padding: 12px 20px 28px; flex: 1; }
.drawer__group { border-bottom: 1px solid var(--line-2); }
.drawer__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.drawer__toggle svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.drawer__group.is-open .drawer__toggle svg { transform: rotate(180deg); }
.drawer__sub { display: none; padding-bottom: 12px; }
.drawer__group.is-open .drawer__sub { display: block; }
.drawer__sub a { display: block; padding: 8px 0 8px 14px; font-size: 14.5px; color: var(--muted); border-left: 2px solid var(--line); }
.drawer__sub a:hover { color: var(--brand); border-color: var(--brand); }
.drawer__simple { display: block; padding: 15px 0; font-size: 15.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.drawer__foot { padding: 20px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.scrim { position: fixed; inset: 0; background: rgba(20, 20, 20, .45); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }

/* Search panel */
.searchpanel { position: fixed; inset: 0; z-index: 130; background: rgba(20, 20, 20, .5); display: grid; place-items: start center; padding-top: 12vh; opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility .22s; }
.searchpanel.is-open { opacity: 1; visibility: visible; }
.searchpanel__box { width: min(92vw, 640px); background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg); transform: translateY(-10px); transition: transform .24s var(--ease); }
.searchpanel.is-open .searchpanel__box { transform: none; }
.searchpanel__row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 6px 4px 14px; }
.searchpanel__row svg { width: 18px; height: 18px; color: var(--muted-2); flex: none; }
.searchpanel__row input { flex: 1; border: 0; outline: none; padding: 12px 0; font-size: 16px; }
.searchpanel__hint { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; color: var(--ink-4); transition: all .16s var(--ease); }
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark-grad); color: rgba(255, 255, 255, .8); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 520px at 88% 8%, rgba(234, 73, 0, .30), transparent 62%),
    radial-gradient(560px 420px at 4% 96%, rgba(255, 88, 13, .14), transparent 68%);
  pointer-events: none;
}
.hero__grid-lines { position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 68px 68px; mask-image: radial-gradient(80% 70% at 60% 40%, #000, transparent 78%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 56px; align-items: center; padding-block: 84px 88px; }
.hero h1 { color: #fff; }
.hero .lead { margin-top: 22px; max-width: 560px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07);
  font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .9); letter-spacing: .01em;
}
.pill svg { width: 13px; height: 13px; color: var(--brand-2); flex: none; }
.pill--light { border-color: var(--line); background: var(--bg-card); color: var(--ink-3); }
.pill--light svg { color: var(--brand); }
.hero__cta { margin-top: 30px; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__stat b { display: block; font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.hero__stat span { font-size: 12.5px; color: rgba(255, 255, 255, .58); }

.hero__art { position: relative; }
/* Matches the built-in illustration's 640x520 viewBox, so swapping in an
   uploaded photo never changes the hero's height — that mismatch was the main
   source of the 0.26 layout shift Google measured on this page. */
.hero__art-inner { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .42); aspect-ratio: 640 / 520; }
.hero__art::after {
  content: ""; position: absolute; inset: -14% -10% auto auto; width: 240px; height: 240px; border-radius: 50%;
  /* Was a radial-gradient + `filter: blur(12px)`. A pre-blurred gradient is
     pixel-identical here and costs nothing to composite. */
  background: radial-gradient(closest-side, rgba(255, 88, 13, .42), rgba(255, 88, 13, .16) 62%, transparent 100%);
  z-index: -1;
}

/* Page hero (inner pages). The whole band is ONE full-width image slot:
   `.phero__bg` is the slot (1980 design width, editor-adjustable height via
   min-height on the section), the copy overlays it. The band must stay a real
   flow box (display:grid + min-height) so extra text can never overflow an
   absolutely-positioned picture behind it. */
.phero { background: var(--dark-grad); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; display: grid; min-height: 400px; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 420px at 82% 0%, rgba(234, 73, 0, .26), transparent 64%); }
/* A real photo painted into the slot must show at ORIGINAL brightness: the
   brand tint above is for the built-in illustration only — over a photo the
   operator uploaded it read as a dark/dirty veil. */
.phero:has(.phero__bg img)::before { display: none; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The default drawing ships with width="100%" attributes; CSS must win over
   them or the art stretches across the whole band and lands on the copy. */
.phero__bg svg { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: auto; height: 72%; max-width: 42%; }
/* Soft left-edge scrim so white copy stays readable over a bright photo. It
   only appears once a photo is actually painted over the default drawing. */
/* No dark veil on top of the photo (users read it as "the picture looks dirty").
   Copy readability is handled by the stroke-style text-shadow below, same as
   the home banner: photo at full brightness, text readable on any image. The
   outline is fairly strong because real factory photos are often near-white. */
.phero__txt {
  text-shadow:
    0 1px 2px rgba(10, 12, 16, .65),
    1px 1px 0 rgba(10, 12, 16, .55), -1px 1px 0 rgba(10, 12, 16, .55),
    1px -1px 0 rgba(10, 12, 16, .55), -1px -1px 0 rgba(10, 12, 16, .55),
    0 0 14px rgba(10, 12, 16, .45),
    0 2px 26px rgba(10, 12, 16, .45);
}
.phero__in { position: relative; z-index: 2; align-self: center; padding-block: 66px 62px; }
.phero__txt { min-width: 0; }
.phero h1 { color: #fff; margin-top: 14px; max-width: 20ch; }
@media (max-width: 999px) {
  .phero { min-height: 320px; }
  .phero__bg svg { right: -4%; opacity: .4; }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 12px; height: 12px; opacity: .55; }
.crumbs--light { color: var(--muted-2); }
.crumbs--light a:hover { color: var(--brand); }

/* ---------- 9. Media / art frames ---------- */
.art {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(150deg, #f7f5f2 0%, #eceae6 48%, #e2e0dc 100%);
  border-radius: var(--r-lg);
}
.art--dark { background: linear-gradient(150deg, #3a424b 0%, #2b3138 52%, #1b1e22 100%); }
.art--warm { background: linear-gradient(150deg, #fff3ec 0%, #ffe3d4 52%, #ffd2ba 100%); }
.art--sage { background: linear-gradient(150deg, #eef4ef 0%, #dfeae1 52%, #cfded2 100%); }
.art--slate { background: linear-gradient(150deg, #eef1f5 0%, #e0e6ed 52%, #cfd8e3 100%); }
.art--ink { background: linear-gradient(150deg, #f2f2f2 0%, #e6e6e6 52%, #d8d8d8 100%); }
.art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20, 20, 20, .05) 1px, transparent 1px);
  background-size: 14px 14px; opacity: .5;
}
.art > svg { position: relative; z-index: 1; }
.art--ratio { aspect-ratio: 4 / 3; }
.art--wide { aspect-ratio: 16 / 10; }
.art--tall { aspect-ratio: 3 / 4; }
.art--sq { aspect-ratio: 1 / 1; }

.media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--dark-grad); min-height: 460px; display: grid; place-items: center;
}
.media__stage { position: absolute; inset: 0; opacity: .9; }
.media__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.12), rgba(20,20,20,.5)); }
.media__center { position: relative; display: grid; place-items: center; gap: 18px; text-align: center; padding: 40px 24px; }
.play {
  width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34); color: #fff;
  transition: transform .22s var(--ease), background-color .22s var(--ease); position: relative;
}
.play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); animation: pulse 2.6s infinite; }
.play:hover { transform: scale(1.07); background: var(--brand); border-color: var(--brand); }
.play svg { width: 26px; height: 26px; margin-left: 4px; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 70% { transform: scale(1.22); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 10. Cards ---------- */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-6 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.feature {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 28px 26px 30px; position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.feature::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--brand-grad); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.feature:hover::after { transform: none; }
.feature__icon {
  width: 50px; height: 50px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.feature__icon svg { width: 25px; height: 25px; }
.feature .h4 { margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--muted); }

.cat {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line); }
.cat__art { aspect-ratio: 4 / 3; border-radius: 0; position: relative; overflow: hidden; }
.cat__art svg { transition: transform .34s var(--ease); }
.cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cat:hover .cat__art svg { transform: translateY(-6px) scale(1.035); }
.cat:hover .cat__img { transform: scale(1.035); transition: transform .34s var(--ease); }
.cat__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.cat__body .h4 { font-size: 16.5px; }
.cat__body p { font-size: 14px; color: var(--muted); flex: 1; }
.cat__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: var(--r-xs); background: var(--bg-soft); font-size: 11.5px; font-weight: 600; color: var(--ink-4); letter-spacing: .01em; }
.tag--brand { background: var(--brand-soft); color: var(--brand-dark); }

/* Sled / scroller */
.sled { position: relative; }
.sled__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
  scrollbar-width: none;
}
.sled__track::-webkit-scrollbar { display: none; }
.sled__track > * { scroll-snap-align: start; }
.sled__nav { display: flex; align-items: center; gap: 8px; }
.sbtn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-3);
  transition: all .18s var(--ease); flex: none;
}
.sbtn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.sbtn:disabled { opacity: .35; cursor: default; }
.sbtn svg { width: 17px; height: 17px; }
.sled__dots { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.sled__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: all .2s var(--ease); }
.sled__dot.is-active { background: var(--brand); width: 22px; border-radius: var(--r-pill); }

/* ---------- 11. Marquee ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.section--dark .marquee::before { background: linear-gradient(90deg, #2c3238, transparent); }
.section--dark .marquee::after  { background: linear-gradient(270deg, #2c3238, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--slow .marquee__track { animation-duration: 58s; }
@keyframes slide { to { transform: translateX(-50%); } }

.logo-card {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 196px; height: 84px; padding: 0 26px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md);
  font-size: 16px; font-weight: 800; letter-spacing: -.03em; color: #b4b4b4;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.logo-card:hover { color: var(--ink-3); border-color: var(--line); }
/* 品牌商标（2026-10-18 第二版）：5 真实客户官方商标图 + 5 虚构品牌彩色 SVG */
.logo-card svg.wm { width: 150px; height: 36px; flex: none; display: block; }
.logo-card--img { padding: 0 22px; }
.logo-card img.bimg { max-height: 46px; max-width: 152px; width: auto; height: auto;
                      object-fit: contain; display: block; }

.cert-card {
  display: flex; align-items: center; gap: 13px;
  min-width: 232px; padding: 16px 20px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--r-md);
}
.cert-card__badge {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 88, 13, .16); border: 1px solid rgba(255, 88, 13, .34); color: #ff9a6b;
}
.cert-card__badge svg { width: 20px; height: 20px; }
.cert-card b { display: block; font-size: 14px; color: #fff; letter-spacing: -.01em; }
.cert-card span { font-size: 11.5px; color: rgba(255, 255, 255, .5); }
/* 证书 LOGO 卡（2026-10-18）：白底图源在深色卡上统一落白圆角片 */
.cert-card--logo { min-width: 264px; }
.cert-card--logo img.clogo { height: 54px; max-width: 112px; object-fit: contain; flex: none;
  background: #fff; border-radius: 10px; padding: 7px; }

/* ---------- 12. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 22px 0 0; }
.step::before {
  content: ""; position: absolute; top: 23px; left: 0; right: 0; height: 2px;
  background: var(--line); z-index: 0;
}
.step:last-child::before { display: none; }
.step__dot {
  position: relative; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--muted-2);
  font-size: 15px; font-weight: 800; margin-bottom: 20px;
  transition: all .24s var(--ease);
}
.step:hover .step__dot { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(234, 73, 0, .3); }
.step__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); }
.step .h4 { margin: 8px 0 10px; }
.step p { font-size: 13.8px; color: var(--muted); }
.step ul { margin-top: 8px; }
.step li { font-size: 13.3px; color: var(--muted); padding-left: 14px; position: relative; }
.step li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* Numbered list (dark section) */
.numlist { display: grid; gap: 12px; }
.numlist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 18px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.numlist b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; }
.numlist span { font-size: 14.2px; color: rgba(255, 255, 255, .8); }

/* ---------- 13. Check lists ---------- */
.checks { display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.6px; color: var(--muted); }
.checks svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.section--dark .checks li { color: rgba(255, 255, 255, .78); }
.section--dark .checks svg { color: var(--brand-2); }

/* ---------- 14. Blog cards ---------- */
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post__art { aspect-ratio: 16 / 10; border-radius: 0; }
.post__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.post__kicker span { color: var(--muted-2); font-weight: 600; letter-spacing: 0; text-transform: none; }
.post .h4 { font-size: 17px; line-height: 1.35; }
.post p { font-size: 14px; color: var(--muted); flex: 1; }
.post__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line-2); }

/* Featured blog (large) */
.post--wide { flex-direction: row; }
.post--wide .post__art { width: 46%; aspect-ratio: auto; min-height: 100%; }
.post--wide .post__body { padding: 30px; justify-content: center; }
.post--wide .h3 { line-height: 1.3; }

/* ---------- 15. CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--dark-grad); color: rgba(255, 255, 255, .78); padding: 60px 56px;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 420px at 88% 10%, rgba(234, 73, 0, .34), transparent 62%); }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.cta h2 { color: #fff; }
.cta .lead { margin-top: 16px; }
.cta__side { display: grid; gap: 12px; }
.cta__card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--r-md); padding: 16px 18px; display: flex; gap: 13px; align-items: center; }
.cta__card svg { width: 20px; height: 20px; color: var(--brand-2); flex: none; }
.cta__card b { display: block; font-size: 14px; color: #fff; }
.cta__card span { font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* ---------- 16. FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color .2s var(--ease); }
.faq__item.is-open { border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; text-align: left; font-size: 15.6px; font-weight: 650; color: var(--ink); }
.faq__q svg { width: 18px; height: 18px; color: var(--muted-2); flex: none; transition: transform .24s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); color: var(--brand); }
.faq__a { display: none; padding: 0 22px 22px; font-size: 14.6px; color: var(--muted); }
.faq__item.is-open .faq__a { display: block; }
.faq__group-title { margin: 26px 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }

/* ---------- 17. Spec table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; min-width: 620px; }
table.spec th, table.spec td { padding: 15px 20px; text-align: left; font-size: 14.4px; vertical-align: top; }
table.spec thead th { background: var(--bg-soft); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
table.spec tbody tr + tr td { border-top: 1px solid var(--line-2); }
table.spec td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
table.spec td { color: var(--muted); }

/* ---------- 18. Forms ---------- */
.formcard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 7px; }
.field > label { font-size: 13.4px; font-weight: 650; color: var(--ink-3); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 14.6px; color: var(--ink-2); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #b5b5b5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234, 73, 0, .12);
}
.field textarea { min-height: 118px; resize: vertical; }
.field .hint { font-size: 12.4px; color: var(--muted-2); }
.formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.formgrid .span-2 { grid-column: 1 / -1; }
.contact-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; }
.contact-tile__ico { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.contact-tile__ico svg { width: 20px; height: 20px; }
.contact-tile b { display: block; font-size: 14px; color: var(--ink); }
.contact-tile span, .contact-tile a { font-size: 14px; color: var(--muted); }
.contact-tile a:hover { color: var(--brand); }
.formdone { display: none; padding: 18px 20px; border-radius: var(--r-md); background: #eef8f1; border: 1px solid #cbe9d6; color: #1c6b3e; font-size: 14.4px; }
.formerror { display: none; margin-top: 18px; padding: 18px 20px; border-radius: var(--r-md); background: #fff4ef; border: 1px solid #ffd6c4; color: #a33c10; font-size: 14.4px; }
.formdone[data-zh] { margin-top: 20px; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .58); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1.15fr 1.15fr 1.35fr; gap: 40px; padding-block: 68px 52px; }
.footer h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer a:hover { color: #fff; }
.footer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; }
.footer__list--1 { grid-template-columns: 1fr; }
.footer__list a { font-size: 13.8px; }
/* Deleted entries hide the anchor (content fingerprint match), leaving the
   wrapper <li> behind. The list is a grid, so each empty li still opens a
   9px gap row — collapse the shell so the column reads without holes. */
.footer__list li:has(> [hidden]) { display: none; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: rgba(255, 255, 255, .42); }
.footer__about { margin-top: 20px; max-width: 34ch; font-size: 13.6px; line-height: 1.7; }
.footer__contact { margin-top: 22px; display: grid; gap: 11px; }
.footer__contact div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.4px; }
.footer__contact svg { width: 15px; height: 15px; color: var(--brand-2); flex: none; margin-top: 4px; }
.newsletter { display: grid; gap: 12px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .38); }
.newsletter input:focus { outline: none; border-color: var(--brand-2); background: rgba(255, 255, 255, .1); }
.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .7); transition: all .18s var(--ease); }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__pay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay { padding: 5px 12px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .08); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: rgba(255, 255, 255, .76); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 20. Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 9px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--art-first > .split__art { order: -1; }
.quote-mark { font-size: 56px; line-height: 1; color: var(--line); font-weight: 800; letter-spacing: -.05em; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.stat { padding: 26px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); }
.stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.1; }
.stat span { font-size: 13.4px; color: var(--muted); }
.stat--brand b { color: var(--brand); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 14px; flex: none; }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); padding-left: 26px; }
.timeline__item { position: relative; padding-bottom: 26px; }
.timeline__item::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.timeline__item b { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--brand); }
.timeline__item .h4 { margin: 5px 0 6px; }
.timeline__item p { font-size: 14.2px; color: var(--muted); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }

/* Scroll-in reveal. The hidden state is opt-in (`.sqx-rv`, added by JS only to
   blocks that are genuinely below the fold). The old rule hid EVERY reveal block
   the moment main.js ran — so the page painted its content, blinked it away, then
   faded it back in. Above-the-fold copy is now never hidden, and if the JS never
   runs the content is simply visible. */
.reveal.sqx-rv {
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.reveal.sqx-rv.is-in { opacity: 1; transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cat__body .link-arrow { margin-top: 6px; }
.faq__a b { color: var(--ink-2); font-weight: 650; }

@media (max-width: 1400px) { .header__cta--ghost { display: none; } }
.header__in { gap: 14px; }
.header__tools { gap: 4px; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.sqx-rv { opacity: 1; transform: none; transition: none; }
  /* 跑马灯不跟随 reduced-motion：42s 一圈的慢速横移是内容展示（证书/客户
     名单巡览），不是装饰性动效——手机系统开「减弱动态」时若连它也停，
     整块就像坏了（2026-10-18 用户反馈）。 */
  html { scroll-behavior: auto; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding-inline: 10px; font-size: 14px; }
  .header__cta { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { max-width: 620px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
  .step::before { display: none; }
}
@media (max-width: 1024px) {
  :root { --sec-y: 68px; }
  .nav, .header__tools .lang { display: none; }
  .burger { display: grid; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--art-first > .split__art { order: 0; }
  .cta__in { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 42px 34px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post--wide { flex-direction: column; }
  .post--wide .post__art { width: 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  :root { --gut: 18px; --sec-y: 56px; }
  .topbar__in { justify-content: center; gap: 10px; min-height: 36px; font-size: 12px; }
  .topbar__spacer, .topbar__sep, .topbar__links { display: none; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .formgrid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; padding-block: 48px 36px; }
  .footer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__in { padding-block: 54px 60px; }
  .hero__stats { gap: 16px 26px; }
  .hero__stat b { font-size: 22px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 27px; }
  .formcard { padding: 22px; }
  .cta { padding: 34px 22px; }
  .lede-br { display: none; }
}

/* ==========================================================================
   30. Cloud content — replaceable image slots + banner hero
   ========================================================================== */

/* uploaded photos dropped into the illustration frames */
.cat__art, .post__art { position: relative; }
.cat__art > img, .post__art > img, .art > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; display: block;
}
.media__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__art-inner > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- full-width banner hero (mode = banner + at least one slide) */
.hero__slides { display: none; }
.hero--banner .hero__slides[hidden] { display: none; }
.hero--banner { min-height: 68vh; }
.hero--banner[data-banner-spec="16:9"] { min-height: 62vh; }
.hero--banner[data-banner-spec="3:2"]  { min-height: 68vh; }
.hero--banner[data-banner-spec="4:3"]  { min-height: 74vh; }
.hero--banner[data-banner-spec="1:1"]  { min-height: 82vh; }
.hero--banner[data-banner-spec="3:4"]  { min-height: 88vh; }
.hero--banner[data-banner-spec="9:16"] { min-height: 92vh; }
/* An explicit pixel height wins over the ratio presets above — the operator can
   set the band to an exact height instead of picking one of six vh steps. Kept
   as a custom property (not inline min-height) so the mobile rules at the bottom
   of this block still collapse the band on phones. */
.hero--banner[data-hero-h] { min-height: var(--hero-h, 68vh); }
/* spec = auto（跟随原设计）→ 高度贴合第一张轮播图的原始比例（cms.js 在图片
   加载后写入 --hero-ar）。1920×800 的上传图在任何视口宽度都满铺显示：
   零黑边、零裁切（contain 的信箱黑边就是用户抱怨的「上下间隙」）。 */
.hero--banner[data-hero-auto] { min-height: 0; height: auto; aspect-ratio: var(--hero-ar, 12 / 5); }
.hero--banner .hero__slides {
  display: block; position: absolute; inset: 0; z-index: 0; background: #14161a;
}
/* The old full-surface dark gradient that sat over the slides is gone — the
   photos now show at full brightness. Readability of the white copy is kept
   with a soft text shadow instead of dimming the whole image. */
.hero--banner .hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero--banner .hero__slide.is-on { opacity: 1; }
.hero--banner .hero__slide { overflow: hidden; }
.hero--banner .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; }
/* The blurred cover copy underneath is GONE: the strips beside a contained
   photo are the band's own flat background, and the photo keeps its full
   brightness and completeness (no crop, no blur halo). */
/* a slide that has not been given a photo yet still has to look intentional */
.hero--banner .hero__slide:not(:has(img)) {
  background:
    radial-gradient(120% 140% at 82% 18%, rgba(234, 73, 0, .34) 0%, rgba(234, 73, 0, 0) 58%),
    radial-gradient(90% 120% at 12% 88%, rgba(255, 88, 13, .22) 0%, rgba(255, 88, 13, 0) 60%),
    #14161a;
}
.hero--banner .hero__grid-lines { display: none; }
.hero--banner .hero__in { position: relative; z-index: 3; grid-template-columns: minmax(0, 1fr); }
/* With the dark veil gone, the copy sits straight on the photo. White text is
   unreadable on the light halves of real product photos, so every line carries
   a tight dark outline plus a soft halo — readable on any image, and unlike the
   old overlay the photo itself stays at full brightness. */
.hero--banner .hero__in {
  text-shadow:
    0 1px 2px rgba(10, 12, 16, .62),
    1px 1px 0 rgba(10, 12, 16, .28), -1px 1px 0 rgba(10, 12, 16, .28),
    1px -1px 0 rgba(10, 12, 16, .28), -1px -1px 0 rgba(10, 12, 16, .28),
    0 2px 26px rgba(10, 12, 16, .45);
}
.hero--banner .hero__art { display: none; }
.hero--banner .hero__in > div:first-child { max-width: 780px; }
/* 轮播模式下整层文案退场（2026-10-18）：运营上传的横幅图自带标题文字，
   站点文案已逐条在后台删除，但 .hero__stats 空壳仍占位——它的
   border-top:1px 白线横贯照片、每张轮播图同一位置（用户截图实锤）。
   banner 模式下整层 display:none，首屏成为纯图片轮播。 */
.hero--banner .hero__in { display: none; }

@media (max-width: 900px) {
  .hero--banner { min-height: 0; }
  .hero--banner[data-banner-spec] { min-height: 0; }
}
/* ==========================================================================
   30b. Long-form copy keeps its line breaks AND its indentation
   Anything marked data-cms-multiline is prose the admin writes inside the
   editor: Enter breaks the line and leading spaces indent it. The original
   rule (`.faq__a { white-space: pre-line }`) preserved breaks but still
   collapsed runs of spaces, so an indent never survived a save and the text
   snapped back into one block; `pre-wrap` keeps both. The build collapses the
   authoring indentation in the source HTML, so the default page is unchanged.
   ========================================================================== */
.faq__a,
[data-cms-multiline] { white-space: pre-wrap; }

/* ==========================================================================
   31. The `hidden` attribute must really hide
   Class rules such as `.play { display: grid }` outrank the browser default
   for [hidden], so an element marked hidden stayed visible. One global rule
   keeps every future case honest.
   ========================================================================== */
[hidden] { display: none !important; }

/* ==========================================================================
   32. Video lightbox — used by the factory-tour player
   ========================================================================== */
.vlight {
  position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center;
  padding: 28px; background: rgba(9, 10, 12, .9);
}
.vlight__box { position: relative; width: min(1080px, 100%); }
.vlight__stage {
  position: relative; aspect-ratio: 16 / 9; background: #000;
  border-radius: 14px; overflow: hidden; box-shadow: 0 34px 90px rgba(0, 0, 0, .55);
}
.vlight__stage iframe, .vlight__stage video {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0;
}
.vlight__note {
  margin-top: 14px; text-align: center; color: rgba(255, 255, 255, .74);
  font: 500 14px/1.6 var(--font);
}
.vlight__x {
  position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; font-size: 19px; line-height: 1;
  color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26);
  transition: background-color .2s var(--ease);
}
.vlight__x:hover { background: var(--brand); border-color: var(--brand); }
.vlight__spin {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .24); border-top-color: #fff;
  animation: vl-spin .8s linear infinite;
}
@keyframes vl-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .vlight { padding: 14px; }
  .vlight__x { top: -42px; }
}

/* --------------------------------------- editor text overrides (per text key)
   The admin's font size / alignment / bold / colour are applied as an attribute
   marker plus a CSS variable. A marker only exists when an override WAS set, so
   copy that carries its own inline style in the build (a dark section's white
   heading, a small-print paragraph) keeps it untouched — which is exactly what a
   direct inline style could not do. `!important` is what lets the admin's
   explicit choice beat the build's own inline declaration. */
[data-fmt-size] { font-size: var(--fmt-size) !important; }
[data-fmt-align] { text-align: var(--fmt-align) !important; }
[data-fmt-bold] { font-weight: 700 !important; }
[data-fmt-color] { color: var(--fmt-color) !important; }
/* Box width the admin dragged out ("多两个字就另起一行" → widen the column).
   `max-width: none` is what actually frees the copy: most of these paragraphs
   sit inside a 760px .sec-head, and inheriting that cap would ignore the drag. */
[data-fmt-w] { width: var(--fmt-w) !important; max-width: none !important; }
/* optional dashed frame (the admin can ring a paragraph or a free text) */
[data-fmt-box] {
  border-style: var(--fmt-bs, dashed) !important;
  border-width: var(--fmt-bw, 0px) !important;
  border-color: var(--fmt-bc, transparent) !important;
}

/* ------------------------------------------------ free text ("自由文字")
   Text dropped straight onto a page with a double-click. It is NOT a module:
   it lives in an absolutely positioned layer over <main>, so placing it never
   reflows a single existing element and it can sit on top of anything —
   a section, a card, an image. Coordinates are (x = % of the page width,
   y = px from the top of <main>) so the horizontal spot survives a resize. */
#main { position: relative; }
#sqx-free {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  z-index: 6; pointer-events: none;
}
/* interactive only while editing: on the public page a free text must never
   swallow a click meant for the button or card it happens to sit on */
.sqx-on #sqx-free > * { pointer-events: auto; }
.sq-free {
  position: absolute; box-sizing: border-box;
  padding: 8px 12px; border-radius: 8px;
  font-size: 17px; line-height: 1.55; color: var(--ink, #171a1f);
  border: 0 solid transparent;
  max-width: 100%;
}
.sq-free__txt { outline: none; min-height: 1.4em; word-break: break-word; }
/* the "type here" hint is editor-only — a visitor must never see it */
.sqx-on .sq-free__txt:empty::before {
  content: '在这里输入文字'; color: #b3aca0;
}
@media (max-width: 900px) {
  .sq-free { font-size: 16px; }
}

/* ----------------------------------------------- admin-added free modules */
.cms-add { padding-top: 34px; padding-bottom: 34px; }
/* a module dropped INSIDE an existing section: same copy, no band padding, and
   full width of whatever column it was placed in */
.cms-add--inline { padding-top: 10px; padding-bottom: 10px; }
.cms-add--inline > .shell { max-width: none; padding-left: 0; padding-right: 0; }
.cms-add > .shell > .cms-add__text {
  font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 880px;
}
.cms-add--inline > .shell > .cms-add__text { max-width: none; }
.cms-add__img {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: var(--tint, #f4f1ea); position: relative;
}
.cms-add__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-add__hint {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #a39a8b; font-size: 13.5px; letter-spacing: .02em;
}
/* full-width banner image: edge-to-edge, height the admin picks in the panel */
.cms-add--bleed { padding: 0; }
.cms-add--bleed .cms-add__img { border-radius: 0; aspect-ratio: auto; }
/* side-by-side image layouts (2–5 images) */
.cms-add__row { display: grid; gap: 20px; }
.cms-add__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cms-add__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cms-add__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cms-add__row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cms-add__cell { aspect-ratio: 4 / 3; }
/* An image module that never got a picture is an empty grey box to a visitor —
   keep it off the public page (the editor, marked html.sqx-on, still shows it). */
html:not(.sqx-on) .cms-add--bleed:not(:has(img)),
html:not(.sqx-on) .cms-add--img:not(:has(img)),
html:not(.sqx-on) .cms-add__cell:not(:has(img)) { display: none; }
@media (max-width: 900px) {
  .cms-add__row { grid-template-columns: 1fr; }
  .cms-add--bleed .cms-add__img { height: 300px !important; }
}

/* ==========================================================================
   Product / article detail pages  (product.html · article.html)
   The two pages are generated as empty shells; assets/js/catalog.js paints the
   copy, the gallery, the attribute table and the detail blocks from
   site_content.catalog / .posts. Everything below is presentation only.
   ========================================================================== */
.sqd__loading { display: grid; place-items: center; min-height: 260px; }
.sqd__spin {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid rgba(234, 73, 0, .2); border-top-color: var(--brand);
  animation: sqd-spin .8s linear infinite;
}
@keyframes sqd-spin { to { transform: rotate(360deg); } }

.sqd .crumbs { margin-bottom: 26px; color: var(--muted); font-size: 13.4px; }
.sqd .crumbs a { color: var(--muted); }
.sqd .crumbs a:hover { color: var(--brand); }
.crumbs__sep { margin: 0 8px; color: var(--line); }

.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 34px 54px; }
.pdp__media { grid-column: 1; }
.pdp__info { grid-column: 2; }
.pdp__strip {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px; margin-top: 6px;
}
.pdp__detail { grid-column: 1 / -1; max-width: 860px; margin: 26px auto 0; }

.pdp__hero {
  aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-shell); border: 1px solid var(--line-2);
}
.pdp__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pdp__thumb {
  padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-card); overflow: hidden; cursor: pointer;
  aspect-ratio: 1 / 1; transition: border-color .16s, box-shadow .16s;
}
.pdp__thumb:hover { border-color: var(--muted-2); }
.pdp__thumb.is-on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.pdp__thumbin, .pdp__thumbin img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pdp__thumbin { background: var(--bg-shell); }

/* A gallery slot / detail block the operator never filled is an empty beige
   box to a visitor — and from their seat "the site looks broken". Keep empty
   ones off the public page; the editor (html.sqx-on) still shows every slot so
   each one stays clickable for uploads. */
html:not(.sqx-on) .pdp__thumb:not(:has([data-cms-img] img)),
html:not(.sqx-on) .pdp__fig:not(:has([data-cms-img] img)) { display: none; }
html:not(.sqx-on) .pdp__strip:not(:has(.pdp__thumb [data-cms-img] img)) { display: none; }

.pdp__info h1 { margin: 0 0 14px; }
.pdp__info .lead { margin-bottom: 18px; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.pdp__attrs {
  width: 100%; border-collapse: collapse; margin-top: 6px;
  border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
}
.pdp__attrs th, .pdp__attrs td {
  padding: 11px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line-2); font-size: 14.4px; line-height: 1.65;
}
.pdp__attrs th {
  width: 36%; color: var(--ink-2); font-weight: 640;
  background: var(--bg-card); white-space: normal;
}
.pdp__attrs td { color: var(--ink-3); }
.pdp__attrs tr:last-child th, .pdp__attrs tr:last-child td { border-bottom: 0; }

.pdp__p { font-size: 16.4px; line-height: 1.9; color: var(--ink-3); margin: 0 0 18px; }
/* Detail-body images stack seamlessly: no vertical gap between consecutive
   figures and no rounded corners (operator request). Text keeps breathing
   room: a paragraph keeps its 18px above/below a figure. */
.pdp__fig { margin: 0; }
.pdp__fig img {
  width: 100%; max-width: 800px; height: auto; display: block;
  margin: 0 auto; border-radius: 0;
}
.pdp__fig--hero { margin: 0; }
.pdp__fig--hero img { max-width: 900px; }
.pdp__fig + .pdp__p { margin-top: 18px; }
.pdp__empty { color: var(--muted); font-size: 14.4px; }

/* An operator-chosen aspect ratio turns the frame into a fixed box; the picture
   fills it and is cropped, instead of stretching the page to the image's own
   proportions. No ratio (the default) leaves the natural height untouched. */
.pdp__fig[data-fmt-ratio] { max-width: 800px; margin-left: auto; margin-right: auto; }
.pdp__fig[data-fmt-ratio] img { height: 100%; object-fit: cover; }
.pdp__fig--hero[data-fmt-ratio] { max-width: 900px; }

.artcls { max-width: 860px; margin: 0 auto; }
.artcls h1 { margin: 10px 0 16px; }
.artcls .post__kicker { margin-bottom: 6px; }

.sqd__404 { text-align: center; padding: 70px 0 40px; }
.sqd__404 .btn-row { justify-content: center; margin-top: 24px; }

@media (max-width: 980px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pdp__media, .pdp__info { grid-column: 1; }
  .pdp__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pdp__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp__attrs th { width: 42%; }
}

/* ==========================================================================
   Customer support widget (assets/js/support.js)
   Runtime-injected, so it must not rely on any surrounding markup. Everything
   is namespaced "sqx-cs" — the "sqx-" prefix also keeps it out of the CMS DOM
   path keys, exactly like the editor's own chrome.
   ========================================================================== */
.sqx-cs, .sqx-cs * { box-sizing: border-box; }
.sqx-cs {
  position: fixed; right: 22px; bottom: 78px; z-index: 95;
  font-family: var(--font);
}

.sqx-cs__fab {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 0 20px 0 16px; height: 52px; border: 0; cursor: pointer;
  border-radius: var(--r-pill); background: var(--brand-grad); color: #fff;
  font: 600 14.5px/1 var(--font); letter-spacing: -.01em;
  box-shadow: 0 10px 26px rgba(234, 73, 0, .34);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.sqx-cs__fab:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(234, 73, 0, .42); }
.sqx-cs__fab svg { width: 22px; height: 22px; flex: none; }
.sqx-cs__dot {
  position: absolute; top: 4px; right: 6px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 2px solid var(--brand);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
}
.sqx-cs.is-open .sqx-cs__fab { opacity: 0; visibility: hidden; }

.sqx-cs__panel {
  position: absolute; right: 0; bottom: 0;
  width: min(376px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 26px 70px rgba(20, 20, 20, .22);
  animation: sqxCsIn .2s var(--ease);
}
@keyframes sqxCsIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }

.sqx-cs__hd {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px;
  background: var(--dark-grad); color: #fff; flex: none;
}
.sqx-cs__ava {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  font: 800 14px/1 var(--font); letter-spacing: -.03em;
}
.sqx-cs__who { display: grid; gap: 2px; min-width: 0; }
.sqx-cs__who strong { font: 700 14.5px/1.2 var(--font); }
.sqx-cs__who em {
  font: 400 11.8px/1.3 var(--font); font-style: normal;
  color: rgba(255, 255, 255, .68); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sqx-cs__x {
  margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  font: 400 13px/1 var(--font);
}
.sqx-cs__x:hover { background: rgba(255, 255, 255, .24); }

.sqx-cs__tabs { display: flex; gap: 6px; padding: 10px 14px 0; flex: none; }
.sqx-cs__tabs button {
  flex: 1; padding: 9px 10px; border: 0; cursor: pointer; border-radius: var(--r-sm);
  background: var(--bg-soft); color: var(--ink-4); font: 600 13.2px/1 var(--font);
}
.sqx-cs__tabs button.is-on { background: var(--brand-soft); color: var(--brand-dark); }

.sqx-cs__bd { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px 14px 14px; }
.sqx-cs__pane { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.sqx-cs__intro, .sqx-cs__form, .sqx-cs__thread { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sqx-cs__intro { justify-content: center; gap: 16px; }
.sqx-cs__intro p { margin: 0; font-size: 14px; line-height: 1.62; color: var(--ink-4); }

.sqx-cs__go {
  align-self: flex-start; padding: 12px 22px; border: 0; cursor: pointer;
  border-radius: var(--r-pill); background: var(--brand-grad); color: #fff;
  font: 600 14px/1 var(--font); box-shadow: 0 6px 18px rgba(234, 73, 0, .26);
}
.sqx-cs__go:hover { transform: translateY(-1px); }
.sqx-cs__go:disabled { opacity: .6; cursor: default; transform: none; }

.sqx-cs__form { gap: 10px; overflow: auto; }
.sqx-cs__form label { display: grid; gap: 5px; }
.sqx-cs__form label > span { font: 600 12.4px/1 var(--font); color: var(--muted); }
.sqx-cs__form input, .sqx-cs__form textarea, .sqx-cs__send textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 400 14px/1.5 var(--font); color: var(--ink); background: #fff; resize: vertical;
}
.sqx-cs__form input:focus, .sqx-cs__form textarea:focus, .sqx-cs__send textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
.sqx-cs__err {
  padding: 9px 11px; border-radius: var(--r-sm); background: var(--brand-soft);
  color: var(--brand-dark); font: 500 12.8px/1.5 var(--font);
}

.sqx-cs__msgs { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 12px; align-content: start; padding: 4px 2px 8px; }
.sqx-cs__empty { margin: 6px 0; font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.sqx-cs__m { display: grid; gap: 4px; max-width: 88%; }
.sqx-cs__m.is-me { justify-self: end; justify-items: end; }
.sqx-cs__ma { font: 600 11.4px/1 var(--font); color: var(--muted-2); }
.sqx-cs__mb {
  padding: 10px 13px; border-radius: 14px; font: 400 14px/1.6 var(--font);
  background: var(--bg-soft); color: var(--ink-2); white-space: pre-wrap; word-break: break-word;
}
.sqx-cs__m.is-me .sqx-cs__mb { background: var(--brand); color: #fff; }
.sqx-cs__mt { font: 400 10.8px/1 var(--font); color: var(--muted-2); font-style: normal; }

.sqx-cs__send { flex: none; display: flex; gap: 8px; align-items: flex-end; padding-top: 10px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.sqx-cs__send textarea { max-height: 108px; resize: none; }
.sqx-cs__send button {
  flex: none; padding: 11px 16px; border: 0; cursor: pointer; border-radius: var(--r-sm);
  background: var(--brand-grad); color: #fff; font: 600 13.6px/1 var(--font);
}
.sqx-cs__send button:disabled { opacity: .6; cursor: default; }

.sqx-cs__wx { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.sqx-cs__wx img {
  width: 190px; height: 190px; object-fit: contain; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.sqx-cs__wxcap { margin: 0; font: 600 14px/1.4 var(--font); color: var(--ink); }
.sqx-cs__wxid { display: flex; align-items: center; gap: 8px; font-size: 13.4px; color: var(--ink-4); }
.sqx-cs__wxid b { color: var(--ink); user-select: all; }
.sqx-cs__wxid button {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; cursor: pointer; font: 600 12.4px/1 var(--font); color: var(--ink-3);
}
.sqx-cs__wxid button:hover { border-color: var(--brand); color: var(--brand); }
.sqx-cs__none { margin: 0; max-width: 280px; font-size: 13.4px; line-height: 1.6; color: var(--muted); }
.sqx-cs__wxwho { margin: 0; font: 600 13px/1.4 var(--font); color: var(--ink-3); }
.sqx-cs__wxhint { color: var(--muted); font-weight: 400; max-width: 280px; }
.sqx-cs__wxopen {
  display: inline-block; padding: 10px 22px; border-radius: var(--r-pill);
  background: #07c160; color: #fff; font: 600 13.4px/1 var(--font);
  text-decoration: none;
}
.sqx-cs__wxjump {
  margin: 0 0 8px; padding: 8px 10px; width: 100%;
  border: 1px dashed var(--line); border-radius: 10px; background: #faf7f2;
  cursor: pointer; font: 500 12.6px/1.45 var(--font); color: var(--ink-3); text-align: center;
}
.sqx-cs__wxjump:hover { border-color: var(--brand); color: var(--brand); }

/* 联系渠道页：微信 + WhatsApp 两块。只配了一个时居中铺满，两个都有时可滚动上下看。 */
.sqx-cs__pane[data-csp="wx"] { overflow-y: auto; gap: 4px; }
.sqx-cs__pane[data-csp="wx"].is-single .sqx-cs__wx { flex: 1; justify-content: center; }
.sqx-cs__pane[data-csp="wx"]:not(.is-single) .sqx-cs__wx { flex: none; padding: 6px 0 14px; }
.sqx-cs__pane[data-csp="wx"]:not(.is-single) .sqx-cs__wx:not([hidden]) + .sqx-cs__wx:not([hidden]) {
  border-top: 1px dashed var(--line-2);
}
.sqx-cs__pane[data-csp="wx"]:not(.is-single) .sqx-cs__wx img { width: 148px; height: 148px; }
.sqx-cs__wxopen--wx { background: #07c160; }
.sqx-cs__wxopen--wa { background: #25d366; }
.sqx-cs__wxid b { overflow-wrap: anywhere; }

/* 「产品目录」＝发送一个文件，不是一个产品网格：点一下，对话里多一条带附件的
   客服消息，同时把 PDF 打开（新标签 / 系统阅读器），聊天页原地不动。 */
.sqx-cs__quick { flex: none; display: flex; padding-top: 8px; margin-top: 2px; }
.sqx-cs__chip {
  display: inline-flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fbf9f5; color: var(--ink-3); cursor: pointer; text-align: left;
  font: 600 13px/1.2 var(--font);
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.sqx-cs__chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.sqx-cs__chip .sqx-cs__ico { flex: none; color: var(--brand); }
.sqx-cs__chip em { margin-left: auto; font: 400 11.4px/1.2 var(--font); font-style: normal; color: var(--muted-2); }
.sqx-cs__chip.is-busy { opacity: .6; pointer-events: none; }

/* 附件气泡：整块可点（打开 PDF），右侧是明确的「下载」。 */
.sqx-cs__file {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); text-decoration: none; white-space: normal;
}
.sqx-cs__file:hover { border-color: var(--brand); }
.sqx-cs__file .sqx-cs__ico { color: #d9463f; }
.sqx-cs__fmeta { display: grid; gap: 3px; min-width: 0; }
.sqx-cs__fmeta b { font: 600 13px/1.35 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sqx-cs__fmeta em { font: 400 11px/1.3 var(--font); font-style: normal; color: var(--muted-2); }
.sqx-cs__fgo {
  padding: 6px 10px; border-radius: var(--r-pill); background: var(--brand-soft);
  color: var(--brand-dark); font: 600 11.6px/1 var(--font); white-space: nowrap;
}

.sqx-cs__toast {
  position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%);
  max-width: 82%; padding: 9px 13px; border-radius: var(--r-pill);
  background: rgba(28, 25, 21, .92); color: #fff;
  font: 500 12.4px/1.45 var(--font); z-index: 3; pointer-events: none;
}

@media (max-width: 720px) {
  .sqx-cs { right: 14px; bottom: 74px; }
  .sqx-cs__fab { width: 52px; padding: 0; justify-content: center; }
  .sqx-cs__fabT { display: none; }
  .sqx-cs__panel {
    position: fixed; inset: auto 0 0 0; width: 100%;
    height: min(78vh, 620px); border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .sqx-cs__wx img { width: 168px; height: 168px; }
  .sqx-cs__tabs button { font-size: 12.2px; padding: 9px 6px; }
}
