/* QJ 海外仓 · 中国大陆中文站
   风格：克制、真实、业务感。蓝色品牌主色，真实仓库/展会素材。 */

/* 仅使用操作系统字体，避免中国大陆访问依赖境外字体服务。 */

:root {
  --brand: #0c4da2;
  --brand-dark: #083978;
  --brand-soft: #eaf1fb;
  --ink: #111a2b;
  --ink-soft: #33415c;
  --muted: #5b6b85;
  --line: #e3e8f0;
  --line-strong: #d3dae6;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0f1d33;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 43, 0.06), 0 1px 1px rgba(16, 26, 43, 0.04);
  --shadow-md: 0 2px 6px rgba(16, 26, 43, 0.06), 0 8px 22px -10px rgba(16, 26, 43, 0.14);
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ===== Opus 视觉精修包 ===== */

/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: rgba(12, 77, 162, 0.12);
}

.scroll-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--brand);
}

/* 滚动渐入（keyframes 实现，避免与卡片悬停 transition 冲突；
   仅在 JS 成功初始化后才隐藏，任何情况下正文不会永久不可见） */
.reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: qj-reveal 0.6s cubic-bezier(0.22, 1, 0.32, 1) backwards;
}

@keyframes qj-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* 导航当前板块高亮 */
.nav a.active {
  color: var(--brand);
}

.nav a {
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

/* 深色区块（明暗节奏） */
.section.dark {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.section.dark .section-head h2 {
  color: #fff;
}

.section.dark .section-head p {
  color: #aab6c9;
}

.section.dark .eyebrow {
  color: #8fbcf2;
}

.section.dark .eyebrow::before {
  background: #8fbcf2;
}

.section.dark .step {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.section.dark .step h3 {
  color: #fff;
}

.section.dark .step p {
  color: #aeb9cb;
}

.section.dark .step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.section.dark .step .idx {
  background: rgba(143, 188, 242, 0.16);
  color: #8fbcf2;
  border-color: rgba(143, 188, 242, 0.32);
}

.section.dark .step:hover .idx {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .scroll-progress > span {
    transition: none !important;
  }
  .capbar-item,
  .capbar-item::before,
  .capbar-trigger::after,
  .logo-chip {
    transition: none !important;
  }
  .capbar-item:hover,
  .capbar-item:focus-visible,
  .capbar-item.is-linked,
  .logo-chip:hover,
  .logos.has-logo-focus .logo-chip.is-related {
    transform: none !important;
  }
  .capbar-trigger:focus-visible::after,
  .capbar-trigger.is-linked::after {
    transform: rotate(45deg) !important;
  }
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 排版精修：标题更紧致、正文更易读、数字等宽 */
h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.section-head p,
.svc-item p,
.more-card > p,
.step p {
  max-width: 62ch;
}

.capbar-item b,
.count {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
video:focus-visible {
  outline: 3px solid #2f80ed;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px -12px rgba(16, 26, 43, 0.28);
  border-bottom-color: var(--line-strong);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name b {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.brand-name span {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-link {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.lang-link:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 11px 20px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-light {
  background: #fff;
  color: var(--brand);
}

.btn-light:hover {
  background: var(--brand-soft);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 0;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--bg-alt);
}

.mobile-nav .btn {
  margin-top: 10px;
  border-bottom: 0;
  color: #fff;
}

/* ---------- Hero (immersive real-photo) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 深色可读性蒙层（单色压暗，非彩色装饰渐变）：左侧更暗放文字，右侧透出真实仓库 */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 30, 0.92) 0%, rgba(9, 17, 30, 0.78) 42%, rgba(9, 17, 30, 0.5) 100%),
    linear-gradient(180deg, rgba(9, 17, 30, 0.4) 0%, rgba(9, 17, 30, 0) 30%, rgba(9, 17, 30, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0 84px;
  max-width: 640px;
}

.hero .eyebrow {
  color: #8fbcf2;
}

.hero .eyebrow::before {
  background: #8fbcf2;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: #fff;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 16px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #8fbcf2;
}

.hero .lead {
  margin-top: 14px;
  font-size: 1.06rem;
  color: #d4deec;
  max-width: 38rem;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(4px);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

.hero-points {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.hero-point {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  font-size: 14px;
  line-height: 1.6;
  color: #c4d1e3;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-point:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.26);
}

.hero-point svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 8px;
  margin-top: 1px;
  border-radius: 10px;
  background: rgba(143, 188, 242, 0.16);
  border: 1px solid rgba(143, 188, 242, 0.32);
  stroke: #8fbcf2;
}

.hero-point b {
  display: block;
  margin-bottom: 3px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

/* ---------- Capability bar ---------- */
.capbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.capbar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  align-items: stretch;
  background: var(--line);
}

.capbar-item {
  position: relative;
  min-width: 0;
  min-height: 120px;
  margin: 0;
  border: 0;
  background: var(--bg-alt);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font: inherit;
  color: inherit;
  overflow: hidden;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.capbar-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

@media (hover: hover) {
  .capbar-item:hover {
    z-index: 1;
    background: #fff;
    box-shadow: 0 10px 24px -18px rgba(12, 77, 162, 0.52);
    transform: translateY(-2px);
  }

  .capbar-item:hover::before {
    transform: scaleX(1);
  }
}

.capbar-trigger {
  width: 100%;
  appearance: none;
  cursor: pointer;
}

.capbar-trigger::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 27px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--muted);
  opacity: 0.42;
  transform: rotate(45deg);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.capbar-trigger:focus-visible {
  z-index: 2;
  outline: 3px solid rgba(12, 77, 162, 0.28);
  outline-offset: -4px;
}

.capbar-trigger:focus-visible,
.capbar-trigger.is-linked {
  background: #fff;
  box-shadow: 0 10px 24px -18px rgba(12, 77, 162, 0.52);
  transform: translateY(-2px);
}

.capbar-trigger:focus-visible::before,
.capbar-trigger.is-linked::before {
  transform: scaleX(1);
}

.capbar-trigger:focus-visible::after,
.capbar-trigger.is-linked::after {
  color: var(--brand);
  opacity: 0.9;
  transform: translateY(2px) rotate(45deg);
}

.capbar-item b {
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0;
  line-height: 1.2;
  text-wrap: balance;
}

.capbar-item > span {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
}

.capbar-trigger > span {
  padding-right: 24px;
}

/* ---------- Logo trust strip ---------- */
.logos {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 30px 0 34px;
}

.logos-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.logos-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.logo-chip:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px -14px rgba(12, 77, 162, 0.56);
  transform: translateY(-2px);
}

.logos.has-logo-focus .logo-chip.is-visible {
  opacity: 0.34;
}

.logos.has-logo-focus .logo-chip.is-visible.is-related,
.logos.has-logo-focus .logo-chip.is-visible:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: rgba(12, 77, 162, 0.3);
  box-shadow: 0 8px 18px -14px rgba(12, 77, 162, 0.56);
  transform: translateY(-2px);
}

.logo-chip img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.logo-chip span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

.logos-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- More services (platform / local / growth) ---------- */
.more-grid {
  margin-top: 36px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.more-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.more-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.more-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(12, 77, 162, 0.14);
  border-radius: 999px;
  padding: 4px 12px;
}

.more-card h3 {
  margin-top: 14px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
}

.more-card > p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  flex: 1;
}

.more-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.more-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.more-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Generic section spacing ---------- */
/* 吸顶导航高 ~65px，锚点跳转预留空隙，避免标题被挡（A3） */
main [id] {
  scroll-margin-top: 84px;
}

.section {
  padding: 76px 0;
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Service explanation ---------- */
.svc-grid {
  margin-top: 36px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.svc-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.svc-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.svc-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.svc-item:hover::before {
  transform: scaleX(1);
}

.svc-item .svc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(12, 77, 162, 0.14);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.svc-item .svc-ico svg {
  width: 24px;
  height: 24px;
}

.svc-item:hover .svc-ico {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.svc-item h3 {
  margin-top: 8px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}

.svc-item p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Country (VN / ID / MY) ---------- */
.country-grid {
  margin-top: 36px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.country-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.country-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.country-card .ph {
  transition: transform 0.4s ease;
}

.country-card:hover .ph {
  transform: scale(1.03);
}

.country-card .ph {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.country-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.country-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.country-body h3 {
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
}

.country-body p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.tag-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(12, 77, 162, 0.14);
  border-radius: 999px;
  padding: 5px 12px;
}

.country-note {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.country-guide-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 16px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 750;
  text-decoration: none;
}

.country-guide-link::after {
  content: "›";
  margin-left: 7px;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.country-guide-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Process ---------- */
.steps {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.step:hover .idx {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.step .idx {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* 单列清单式步骤（合作提醒区） */
.steps-single {
  max-width: 820px;
}

.step .idx {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(12, 77, 162, 0.14);
}

.step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.step p {
  margin-top: 5px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 仓网数据表 ---------- */
.network-table-wrap {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.network-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.network-table th,
.network-table td {
  padding: 13px 18px;
  text-align: left;
  white-space: nowrap;
}

.network-table thead th {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.network-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.network-table tbody tr:last-child {
  border-bottom: none;
}

.network-table tbody tr:hover {
  background: #fafbfd;
}

.network-table td:first-child {
  font-weight: 700;
  color: var(--brand);
}

.network-table td:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}

.network-table tfoot td {
  border-top: 2px solid var(--line-strong);
  background: var(--brand-soft);
  font-weight: 800;
  color: var(--brand);
}

.network-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 报价口径 ---------- */
.price-note {
  margin-top: 16px;
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid rgba(12, 77, 162, 0.18);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  font-size: 14px;
  color: var(--ink-soft);
}

.price-note b {
  color: var(--brand);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.article-impact-table-wrap {
  max-width: 880px;
}

.article-impact-table {
  min-width: 620px;
}

.article-impact-table tbody th {
  width: 36%;
}

/* ---------- 怎么开始（4 步横条） ---------- */
.start-grid {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  counter-reset: none;
}

/* 流程卡正文按可用宽度自然换行，避免 pretty 将长度接近的文案拆成 2/3 行。 */
.start-grid .step > div:last-child {
  min-width: 0;
}

.start-grid .step p {
  text-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 36px;
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(12, 77, 162, 0.28);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item > p {
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */
.gallery {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.gallery figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.gallery figure img,
.gallery figure video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

/* 统一品牌色调：轻微降饱和 + 提对比，让真实素材整体更统一 */
.gallery figure img,
.country-card .ph,
.hero-bg img {
  filter: saturate(0.9) contrast(1.03);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

/* 图上叠标题（图片图）：底部深色压条，标题压在图上 */
.gallery figure:not(.has-video)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 26, 51, 0) 45%, rgba(8, 26, 51, 0.82) 100%);
  pointer-events: none;
}

.gallery figure:not(.has-video) figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.gallery figure:not(.has-video) figcaption b {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 2px;
}

/* 视频图：标题保留在下方，避免遮挡播放控件 */
.gallery figure.has-video figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.gallery figure.has-video figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.gallery-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Quote ---------- */
.quote-contact-strip {
  margin-top: 32px;
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.quote-contact-kicker,
.quote-form-kicker,
.contact-dialog-kicker {
  display: block;
  margin-bottom: 7px;
  color: #7fb0ef;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-contact-copy h3 {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.quote-contact-copy p {
  margin-top: 8px;
  max-width: 760px;
  color: #aab6c9;
  font-size: 14px;
}

.quote-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quote-contact-phone {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

.quote-contact-phone:hover {
  border-color: #fff;
  color: #fff;
}

.quote-grid {
  margin-top: 36px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

.quote-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.quote-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.quote-list li:last-child {
  border-bottom: none;
}

.quote-list .k {
  flex-shrink: 0;
  min-width: 64px;
  font-weight: 800;
  color: var(--brand);
  font-size: 14.5px;
}

.quote-list .v {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 88px;
}

.quote-form-kicker {
  color: var(--brand);
}

.quote-form h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.quote-form p.hint {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.field {
  margin-top: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(12, 77, 162, 0.12);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid #2f80ed;
  outline-offset: 3px;
}

.field [aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.qf-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.qf-consent {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
  cursor: pointer;
}

.qf-consent-group {
  margin-top: 12px;
}

.qf-consent-group .qf-consent {
  margin-top: 4px;
}

.qf-privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qf-privacy-link:hover {
  color: var(--brand-dark);
}

.qf-consent-control {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.qf-consent input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.qf-consent-box {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
}

.qf-consent input:checked + .qf-consent-box {
  border-color: var(--brand);
  background: var(--brand);
}

.qf-consent input:checked + .qf-consent-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.qf-consent input:focus-visible + .qf-consent-box {
  outline: 3px solid rgba(47, 128, 237, 0.35);
  outline-offset: 3px;
}

.qf-consent input[aria-invalid="true"] + .qf-consent-box {
  border-color: #b42318;
  outline: 2px solid rgba(180, 35, 24, 0.2);
  outline-offset: 2px;
}

.quote-form .btn {
  margin-top: 18px;
  width: 100%;
}

.quote-form .btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.qf-chat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 5px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qf-chat-link:hover {
  color: var(--brand-dark);
}

.qf-status {
  min-height: 1.5em;
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.qf-status[data-state="accepted"] {
  color: #087443;
}

.qf-status[data-state="validation-error"],
.qf-status[data-state="rate-limited"],
.qf-status[data-state="delivery-unavailable"],
.qf-status[data-state="network-error"],
.qf-status[data-state="server-error"] {
  color: #b42318;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-dark);
  color: #fff;
}

.contact .section-head h2 {
  color: #fff;
}

.contact .section-head p {
  color: #aab6c9;
}

.contact .eyebrow {
  color: #7fb0ef;
}

.contact .eyebrow::before {
  background: #7fb0ef;
}

.contact-body {
  margin-top: 32px;
  display: grid;
  gap: 32px;
}

.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-content: center;
}

.wechat-qr {
  margin: 0;
  justify-self: center;
  text-align: center;
}

.wechat-qr img {
  width: 240px;
  height: auto;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.45);
}

.wechat-qr figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #aab6c9;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 22px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.contact-card-button {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.contact-card-button:hover {
  border-color: rgba(127, 176, 239, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.contact-card-action {
  color: #aab6c9;
  font-size: 12.5px;
}

a.contact-card:hover {
  border-color: rgba(127, 176, 239, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.contact-card .label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fb0ef;
}

.contact-card .value {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  word-break: break-all;
}

/* ---------- Quick contact dialog ---------- */
.contact-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(8, 20, 38, 0.32);
  overflow: auto;
}

.contact-dialog::backdrop {
  background: rgba(8, 20, 38, 0.66);
  backdrop-filter: blur(4px);
}

.contact-dialog-shell {
  padding: 28px;
}

.contact-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.contact-dialog-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.3;
}

.contact-dialog-kicker {
  color: var(--brand);
}

.contact-dialog-close {
  flex: 0 0 auto;
  min-width: 52px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.contact-dialog-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.contact-dialog-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.contact-dialog-body {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.contact-dialog-qr {
  margin: 0;
  text-align: center;
}

.contact-dialog-qr img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.contact-dialog-qr figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.contact-dialog-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-dialog-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contact-dialog-details strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.contact-dialog-details .btn {
  width: 100%;
  min-height: 46px;
}

.copy-status {
  min-height: 1.5em;
  color: #087443;
  font-size: 12.5px;
  font-weight: 600;
}

.contact-dialog-form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-contact-bar {
  display: none;
}

.contact-dialog-close:focus-visible,
.qf-chat-link:focus-visible,
.contact-card-button:focus-visible {
  outline: 3px solid #2f80ed;
  outline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1626;
  color: #8d9bb3;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-inner .f-brand {
  font-size: 14px;
  color: #c5cedd;
  max-width: 38rem;
}

.footer-inner .f-brand b {
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #8d9bb3;
}

.footer-links a:hover {
  color: #fff;
}

.mps-beian-entry {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.mps-beian-entry img {
  flex: 0 0 auto;
  width: 18px;
  height: 20px;
  margin-left: 5px;
}

.mps-beian-entry a {
  padding-left: 5px;
}

.footer-note {
  font-size: 12px;
  color: #5d6a82;
}

.footer-legal {
  font-size: 12.5px;
  line-height: 1.7;
  color: #8d9bb3;
}

/* ---------- Production topic pages ---------- */
.topic-page .nav a[aria-current="page"] {
  color: var(--brand);
}

.topic-page .nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.topic-hero {
  min-height: 590px;
}

.topic-hero .hero-inner {
  max-width: 700px;
  padding: 76px 0 72px;
}

.topic-hero-lead {
  max-width: 42rem;
  margin-top: 20px;
  color: #d4deec;
  font-size: 1.05rem;
  line-height: 1.8;
}

.topic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.topic-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
}

.topic-stats div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  padding: 15px 18px;
  background: rgba(9, 17, 30, 0.72);
}

.topic-stats strong {
  color: #fff;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.topic-stats span {
  color: #b9c7da;
  font-size: 12px;
}

.topic-section.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.topic-two-col {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.topic-check-list {
  display: grid;
  gap: 12px;
}

.topic-check-list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.topic-check-list span,
.topic-process-grid > article > span {
  color: #6b9edc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.topic-check-list p {
  color: var(--ink-soft);
  font-weight: 600;
}

.topic-note,
.topic-boundary {
  border: 1px solid #c9d8eb;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: #f1f6fc;
  padding: 24px;
}

.topic-note strong,
.topic-boundary strong {
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.topic-note p,
.topic-boundary p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.topic-warehouse-grid,
.topic-process-grid,
.topic-three-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.topic-warehouse-grid article,
.topic-process-grid article,
.topic-three-grid article {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 2px var(--radius-sm) var(--radius-sm) 2px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.topic-warehouse-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.topic-warehouse-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
}

.topic-warehouse-grid p,
.topic-process-grid p,
.topic-three-grid p {
  margin-top: 9px;
  color: var(--muted);
}

.topic-process-grid h3,
.topic-three-grid h3 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.4;
}

.topic-three-grid h3 {
  margin-top: 0;
}

.topic-boundary {
  margin-top: 22px;
}

.topic-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.topic-faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 22px;
}

.topic-faq-list summary {
  min-height: 62px;
  padding: 17px 28px 17px 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.topic-faq-list details p {
  padding: 0 0 20px;
  color: var(--muted);
}

.article-wrap {
  max-width: 880px;
}

.article-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-intro p + p {
  margin-top: 20px;
}

.article-answer {
  margin-top: 30px;
}

.article-table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.article-decision-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.article-decision-table th,
.article-decision-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.article-decision-table thead th {
  color: var(--brand-dark);
  background: #edf4fc;
  font-size: 13px;
  font-weight: 800;
}

.article-decision-table tbody th {
  width: 24%;
  color: var(--ink);
  font-size: 14px;
}

.article-decision-table tbody td {
  color: var(--ink-soft);
  font-size: 14px;
}

.article-decision-table tr:last-child th,
.article-decision-table tr:last-child td {
  border-bottom: 0;
}

.article-location-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.article-location-grid article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 2px var(--radius-sm) var(--radius-sm) 2px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.article-location-grid span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.article-location-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
}

.article-location-grid p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.article-location-grid .article-location-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.article-checklist-layout {
  display: grid;
  gap: 30px;
  align-items: start;
}

.article-checklist {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  background: #fff;
}

.article-checklist li span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.article-checklist-note {
  margin-top: 0;
}

.article-checklist-note .btn {
  margin-top: 20px;
}

@media (min-width: 760px) {
  .article-location-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-checklist-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }
}

.topic-page .contact-section {
  padding: 76px 0;
  background: var(--bg-dark);
  color: #fff;
}

.topic-page .contact-section .section-head h2 {
  color: #fff;
}

.topic-page .contact-section .section-head p {
  color: #aab6c9;
}

.topic-page .contact-section .eyebrow {
  color: #7fb0ef;
}

.topic-page .contact-section .eyebrow::before {
  background: #7fb0ef;
}

.topic-page .contact-actions {
  display: grid;
  gap: 14px;
  align-content: center;
}

.topic-page .contact-card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.topic-page .contact-card span {
  color: #7fb0ef;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topic-page .contact-card strong {
  color: #fff;
  font-size: 17px;
  word-break: break-word;
}

.topic-page .contact-card small {
  color: #aab6c9;
  font-size: 12.5px;
}

@media (min-width: 680px) {
  .topic-process-grid,
  .topic-three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-warehouse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .topic-two-col {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
  }

  .topic-process-grid,
  .topic-three-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topic-warehouse-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 879px) {
  body.topic-page {
    padding-bottom: 74px;
  }

  body.topic-page.contact-dialog-open {
    overflow: hidden;
  }

  body.topic-page.contact-dialog-open .mobile-contact-bar {
    opacity: 0;
    pointer-events: none;
  }

  .topic-hero {
    min-height: 0;
  }

  .topic-hero .hero-inner {
    padding: 62px 0 58px;
  }
}

@media (max-width: 639px) {
  .topic-stats {
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .topic-page .contact-section {
    padding: 52px 0;
  }
}

/* ---------- Legal / privacy page ---------- */
.legal-page {
  background: #f5f7fb;
}

.legal-site-header {
  position: static;
}

.legal-home-link {
  min-width: 96px;
}

.legal-main {
  padding: 56px 0 72px;
}

.legal-layout {
  max-width: 940px;
}

.legal-hero {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.legal-hero h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
  color: var(--ink);
}

.legal-hero > p {
  max-width: 720px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-meta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.legal-meta div,
.legal-contact-list div {
  display: grid;
  gap: 4px;
}

.legal-meta dt,
.legal-contact-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legal-meta dd,
.legal-contact-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.legal-summary {
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: #eaf2ff;
  color: var(--ink);
}

.legal-summary h2 {
  font-size: 1.2rem;
}

.legal-summary ul,
.legal-content ul {
  margin: 14px 0 0;
  padding-left: 1.35rem;
}

.legal-summary li,
.legal-content li {
  margin-top: 8px;
  line-height: 1.75;
}

.legal-content {
  margin-top: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
}

.legal-content > p,
.legal-section p {
  line-height: 1.9;
}

.legal-content a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-section {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.legal-section h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.35;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 14px;
}

.legal-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid #b42318;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fff3f2;
  color: #7a271a;
  line-height: 1.8;
}

.legal-contact-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.legal-footer {
  margin-top: 0;
}

@media (min-width: 640px) {
  .legal-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 639px) {
  .legal-main {
    padding: 28px 0 48px;
  }

  .legal-hero,
  .legal-content {
    padding: 24px 20px;
  }

  .legal-summary {
    padding: 24px 20px;
  }

  .legal-home-link {
    min-width: 88px;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .start-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .hero-media .main-img {
    height: 380px;
  }
  .quote-contact-strip {
    grid-template-columns: 1fr auto;
    padding: 28px 30px;
  }
  .contact-dialog-body {
    grid-template-columns: 230px 1fr;
  }
}

@media (max-width: 879px) {
  body.home-page {
    padding-bottom: 74px;
  }

  body.home-page.contact-dialog-open {
    overflow: hidden;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 10px;
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 30px rgba(16, 26, 43, 0.12);
    backdrop-filter: blur(12px);
    transition: opacity 0.18s ease;
  }

  .mobile-contact-bar .btn {
    min-height: 48px;
    padding: 10px 14px;
  }

  body.home-page.contact-dialog-open .mobile-contact-bar {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 639px) {
  .quote-contact-strip {
    padding: 22px 20px;
  }

  .quote-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .quote-contact-actions .btn {
    min-height: 48px;
    padding-inline: 12px;
  }

  .contact-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 16px;
  }

  .contact-dialog-shell {
    padding: 20px;
  }

  .contact-dialog-head {
    gap: 12px;
  }

  .contact-dialog-body {
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
  }

  .contact-dialog-qr img {
    width: 170px;
  }

  .contact-dialog-details strong {
    font-size: 1.35rem;
  }
}

@media (min-width: 880px) {
  .capbar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .country-body > p {
    min-height: 150px;
  }
  .country-body > .tag-row {
    min-height: 110px;
    align-content: flex-start;
  }
  .country-body > .country-note {
    min-height: 110px;
  }
  .more-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .start-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nav {
    display: flex;
  }
  .lang-link {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .svc-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .country-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps.steps-single {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .quote-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .contact-body {
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .country-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
