/* ==========================================================================
   跨境创业服务 · 官网样式表
   - 设计令牌统一，全站响应式（1200 / 1024 / 768 / 480 四档）
   - 无第三方依赖，单文件交付
   ========================================================================== */

:root {
  /* 品牌色：保留原站蓝橙基因，降低饱和度以提升专业感 */
  --brand: #0b63f6;
  --brand-dark: #0846b3;
  --brand-ink: #072b5c;
  --brand-soft: #eef4ff;
  --accent: #ff7a1a;
  --accent-soft: #fff2e6;

  /* 中性色 */
  --ink: #0a1f3c;
  --text: #37475e;
  --muted: #6b7c93;
  --line: #e3eaf3;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-dark: #08213f;

  /* 语义色 */
  --ok: #12a150;
  --warn: #d98600;

  /* 尺寸 */
  --wrap: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 31, 60, .06);
  --shadow: 0 10px 30px rgba(10, 31, 60, .08);
  --shadow-lg: 0 24px 60px rgba(10, 31, 60, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(11, 99, 246, .45); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: .5px;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: linear-gradient(135deg, var(--brand), #2b84ff); color: #fff; box-shadow: 0 10px 24px rgba(11, 99, 246, .28); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 99, 246, .34); }
.btn-accent { background: linear-gradient(135deg, #ff8a2b, var(--accent)); color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 26, .28); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand); border-color: rgba(11, 99, 246, .35); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--bg-dark); color: rgba(255, 255, 255, .76);
  font-size: 13px; line-height: 1;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.topbar b { color: #fff; font-weight: 600; }
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
/* 顶栏电话：图标与号码垂直居中对齐（内联 SVG 默认 20px，这里收到 14px） */
.topbar .tb-tel { display: inline-flex; align-items: center; gap: 5px; }
.topbar .tb-tel svg { width: 14px; height: 14px; flex: none; }
.topbar .tb-left span + span::before { content: "|"; margin-right: 20px; opacity: .3; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #35d07f; margin-right: 7px; vertical-align: middle; }

/* ---------- 页头 ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; }
/* 品牌 logo：原站素材，透明底 PNG（227×64），头部为白底可直接叠放 */
.brand-logo { display: block; height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block; padding: 10px 16px; border-radius: 10px;
  color: var(--text); font-size: 15.5px; font-weight: 600;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
/* 页头转化按钮：桌面端隐藏，避免与导航争抢横向空间；
   仅在 900px 以下的移动端抽屉菜单里显示（见响应式段落），那里不占导航位置 */
.nav .nav-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger i { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--bg-dark);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url("../img/home-banner.png");
  background-size: cover; background-position: center right;
  /* 原素材图上自带文案：压暗 + 轻模糊，只保留港口轮廓作为氛围底 */
  filter: brightness(.52) blur(4px) saturate(.9);
  transform: scale(1.06); opacity: .62;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 27, 55, 1) 0%, rgba(6, 27, 55, .98) 32%, rgba(6, 27, 55, .82) 58%, rgba(6, 27, 55, .5) 100%);
}
.hero .wrap { padding-top: 76px; padding-bottom: 76px; }
.hero-inner { max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 13.5px; letter-spacing: .6px; color: rgba(255, 255, 255, .92);
}
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.24; letter-spacing: 1px;
}
.hero h1 em { font-style: normal; color: #ffd08a; }
.hero-sub {
  margin-top: 20px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.9;
  color: rgba(255, 255, 255, .84); max-width: 600px;
}
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.hero-points svg { flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 46px; padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-stats div { padding-right: 16px; }
.hero-stats b { display: block; font-size: clamp(24px, 2.6vw, 34px); color: #fff; letter-spacing: 1px; }
.hero-stats b i { font-style: normal; font-size: .55em; margin-left: 2px; color: #ffd08a; }
.hero-stats span { font-size: 13.5px; color: rgba(255, 255, 255, .68); }

/* ---------- 页头（内页）---------- */
.pagehead {
  position: relative; isolation: isolate; color: #fff; background: var(--brand-ink);
}
.pagehead::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url("../img/home-banner.png");
  background-size: cover; background-position: center 42%;
  filter: brightness(.46) blur(4px) saturate(.85);
  transform: scale(1.06); opacity: .5;
}
.pagehead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 27, 55, .98), rgba(6, 27, 55, .88) 55%, rgba(6, 27, 55, .74));
}
.pagehead .wrap { padding-top: 46px; padding-bottom: 46px; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .66); display: flex; gap: 8px; align-items: center; }
.crumb a { color: rgba(255, 255, 255, .8); }
.crumb a:hover { color: #fff; }
.pagehead h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin-top: 14px; letter-spacing: 1px; }
.pagehead p { margin-top: 14px; max-width: 760px; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.9; }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--bg-dark); color: rgba(255, 255, 255, .8); }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-tag {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
}
.section.dark .sec-tag { background: rgba(255, 255, 255, .12); color: #9dc2ff; }
.sec-head h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: 1px; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.section.dark .sec-head p { color: rgba(255, 255, 255, .74); }

/* ---------- 服务卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), #59a0ff);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfe0ff; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 18px; mix-blend-mode: multiply; }
.svc-card h3 { font-size: 21px; }
.svc-card p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.svc-card .more { margin-top: auto; padding-top: 20px; font-weight: 700; font-size: 15px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.svc-card:hover .more { gap: 12px; }
.svc-card .more span { transition: transform .25s var(--ease); }

/* ---------- 对比表（替代原站位图） ---------- */
.compare { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; }
.compare-row { display: grid; grid-template-columns: 64px 1fr 1fr; border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-head { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.compare-head > div { padding: 18px 24px; font-size: 17px; }
.compare-head .col-us { background: linear-gradient(135deg, var(--brand), #2b84ff); color: #fff; border-radius: 0; }
.compare-row > div { padding: 22px 24px; }
.compare-num {
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
  background: var(--bg-soft); color: var(--muted);
}
.compare .col-them { color: var(--muted); border-right: 1px solid var(--line); }
.compare .col-us { background: #f7fbff; color: var(--ink); }
.compare .col-us strong { color: var(--brand); }

/* ---------- 流程 ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; padding: 28px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: block; margin-bottom: 12px;
  font-size: 30px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--brand), #66a6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 17.5px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.step .tag { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 600; }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- 报价 ---------- */
.price-card {
  position: relative; padding: 34px 30px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card.hot { border-color: var(--brand); box-shadow: 0 20px 50px rgba(11, 99, 246, .18); }
.price-card .hot-badge {
  position: absolute; top: -13px; right: 24px;
  padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #ff8a2b, var(--accent)); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
}
.price-card h3 { font-size: 20px; }
.price-card .desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; min-height: 44px; }
.price-card .amount { margin: 18px 0 6px; color: var(--accent); font-weight: 800; font-size: 40px; line-height: 1; }
.price-card .amount small { font-size: 16px; font-weight: 600; margin-right: 4px; }
.price-card .amount-note { font-size: 13px; color: var(--muted); }
.price-card ul { margin-top: 22px; display: grid; gap: 12px; }
.price-card li { position: relative; padding-left: 28px; font-size: 15px; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  background: var(--brand-soft); border-radius: 50%;
}
.price-card li::after {
  content: ""; position: absolute; left: 5px; top: 10px; width: 6px; height: 3px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: 28px; }

/* ---------- 资质 / 案例 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile .thumb { height: 200px; background: var(--bg-soft); overflow: hidden; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
/* 证书类图片需完整展示，不做裁切 */
.tile.contain .thumb { height: 230px; background: #fff; }
.tile.contain .thumb img { object-fit: contain; padding: 10px; }
.tile:hover .thumb img { transform: scale(1.06); }
.tile figcaption { padding: 14px 16px; text-align: center; font-weight: 600; font-size: 15px; color: var(--ink); border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 940px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq details[open] { border-color: #cfe0ff; box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b63f6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/13px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::before { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px 62px; color: var(--text); font-size: 15.5px; line-height: 1.95; }
.faq .answer ul { margin-top: 10px; display: grid; gap: 8px; }
.faq .answer li { position: relative; padding-left: 16px; }
.faq .answer li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .55; }

/* ---------- 图文双栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-copy h2 { font-size: clamp(23px, 2.6vw, 32px); letter-spacing: .6px; }
.split-copy > p { margin-top: 18px; font-size: 16px; line-height: 2; color: var(--text); }
.split-copy > p + p { margin-top: 14px; }
.split-media { display: grid; gap: 16px; }
.split-media.two { grid-template-columns: 1fr 1fr; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.kv { display: grid; gap: 14px; margin-top: 26px; }
.kv li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.8; }
.kv li b { flex: none; min-width: 108px; color: var(--brand); }

.checklist { display: grid; gap: 14px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.8; }
.checklist svg { flex: none; margin-top: 5px; }

/* ---------- 优势卡 ---------- */
.feat {
  padding: 30px 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.feat h3 { font-size: 18px; }
.feat p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.85; }

/* ---------- 表单 ---------- */
.lead { background: linear-gradient(135deg, #072b5c, #0b63f6 70%, #2b84ff); color: #fff; }
.lead .wrap { padding: 76px 24px; }
.lead-grid { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: center; }
.lead h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); }
.lead .lead-copy p { margin-top: 18px; color: rgba(255, 255, 255, .84); font-size: 16px; line-height: 1.95; }
.lead .lead-list { margin-top: 26px; display: grid; gap: 12px; }
.lead .lead-list li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: rgba(255, 255, 255, .92); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 21px; }
.form-card .hint { margin-top: 8px; font-size: 14px; color: var(--muted); }
.form-grid { display: grid; gap: 16px; margin-top: 22px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: #e5342b; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fbfdff; border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 99, 246, .12); background: #fff;
}
.field .err { margin-top: 6px; font-size: 13px; color: #e5342b; display: none; }
.field.invalid input, .field.invalid select { border-color: #e5342b; background: #fff6f5; }
.field.invalid .err { display: block; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.form-consent input { width: 16px; height: 16px; margin-top: 4px; flex: none; accent-color: var(--brand); }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #eafaf1; color: #0d7f42; border: 1px solid #b8ebcf; }
.form-msg.bad { background: #fff3f2; color: #c0261c; border: 1px solid #ffd0cc; }

/* ---------- 浮动咨询 ---------- */
.side-contact {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 70;
  display: grid; gap: 10px;
}
.side-contact a {
  width: 62px; padding: 12px 6px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; gap: 6px; justify-items: center; text-align: center;
  font-size: 12px; font-weight: 600; color: var(--text);
}
.side-contact a:hover { color: var(--brand); border-color: #cfe0ff; transform: translateY(-2px); }
.side-contact a.hot { background: linear-gradient(135deg, var(--brand), #2b84ff); color: #fff; border-color: transparent; }
.side-contact a.hot:hover { color: #fff; }
.side-contact .top { opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.side-contact .top.show { opacity: 1; pointer-events: auto; }

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.mobile-bar a {
  min-height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--bg-soft);
}
.mobile-bar a.hot { background: linear-gradient(135deg, var(--brand), #2b84ff); color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-dark); color: rgba(255, 255, 255, .62); padding: 60px 0 0; font-size: 14.5px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: .5px; }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer .fbrand { display: flex; align-items: center; margin-bottom: 20px; }
/* 页脚是深蓝底，logo 为透明底且含深蓝色块 —— 用白色底衬保证标体可读 */
.fbrand-plate {
  display: inline-flex; align-items: center;
  padding: 10px 16px; border-radius: 14px; background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}
.fbrand-plate img { display: block; height: 42px; width: auto; }
.footer .fbrand strong { color: #fff; font-size: 18px; }
.footer .fbrand span { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); letter-spacing: 1px; }
.footer ul { display: grid; gap: 11px; }
.footer .address { display: grid; gap: 12px; }
.footer .address li { display: flex; gap: 10px; line-height: 1.7; }
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px;
}

/* ---------- 发展历程 ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(to bottom, var(--brand), #cfe0ff);
}
.tl-item { position: relative; padding: 0 0 34px 12px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 99, 246, .12);
}
.tl-year {
  display: inline-block; margin-bottom: 8px; padding: 3px 12px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: 13.5px; font-weight: 700; letter-spacing: 1px;
}
.tl-item h3 { font-size: 19px; }
.tl-item p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.9; }

/* ---------- 滚动进场 ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 富文本（服务详情页正文）---------- */
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 18px; }
.prose h3 { font-size: 19px; margin: 30px 0 12px; }
.prose p { margin-bottom: 14px; font-size: 15.5px; line-height: 2; }
.prose p:last-child { margin-bottom: 0; }
.prose ul.bullets { display: grid; gap: 10px; margin-bottom: 16px; }
.prose ul.bullets li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.9; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .5; }
.prose .note { padding: 16px 18px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; font-size: 14.5px; color: var(--text); }

/* ---------- 外贸知识：文章卡片 ---------- */
.post-grid { align-items: stretch; }
.post-card {
  display: flex; flex-direction: column;
  padding: 26px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(11, 99, 246, .32); }
.post-card .post-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.post-card h3 { font-size: 19px; line-height: 1.55; margin-bottom: 10px; color: var(--ink); }
.post-card p { flex: 1; font-size: 14.5px; line-height: 1.85; color: var(--text); }
.post-card .post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.post-card .post-tags span { padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12px; }
.post-card .more { margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease); }
.post-card:hover .more { gap: 12px; }
/* 文章页深色页头里的元信息 */
.post-meta-lg { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .68); }
/* 文章正文限制阅读宽度，避免一行过长 */
.article-body { max-width: 800px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 10px 12px; font-size: 15px; }
  .lead-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps, .steps.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; padding: 96px 24px 32px;
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
    box-shadow: var(--shadow-lg); transform: translateY(-110%); transition: transform .35s var(--ease);
    max-height: 100vh; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { padding: 16px 14px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav-cta { display: block; margin-top: 18px; }
  .grid-4, .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .compare-row { grid-template-columns: 44px 1fr 1fr; }
  .compare-row > div { padding: 16px 14px; font-size: 14.5px; }
  .compare-head > div { padding: 14px; font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 1px; }
  .section { padding: 60px 0; }
  .side-contact { display: none; }
  .mobile-bar { display: grid; }
  .footer { padding-bottom: 74px; }
}

@media (max-width: 620px) {
  .topbar .tb-left { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-5, .gallery, .gallery.cols-3, .steps, .steps.cols-3, .steps.cols-5, .split-media.two { grid-template-columns: 1fr; }
  .hero .wrap, .pagehead .wrap { padding-top: 46px; padding-bottom: 46px; }
  .hero h1 { font-size: 27px; }
  .brand-logo { height: 38px; }
  .fbrand-plate { padding: 9px 14px; }
  .fbrand-plate img { height: 36px; }
  .hero-actions .btn { width: 100%; }
  .form-card { padding: 24px 20px; }
  .faq .answer { padding-left: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .tile .thumb { height: 232px; }
}
