/* ============================================================
   TradeiAid — 外贸采购代理独立站 主样式
   零依赖 / 纯静态 / 可直接双击打开
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand:        #0E3A5C;
  --brand-700:    #0A2C46;
  --brand-500:    #155A87;
  --brand-100:    #D8E6F0;
  --brand-50:     #EEF5FA;

  --accent:       #E8A33D;
  --accent-600:   #D08F28;
  --accent-50:    #FDF5E6;

  --ink:          #16232E;
  --ink-600:      #41525F;
  --ink-400:      #74858F;
  --ink-300:      #9AA8B2;

  --line:         #E4EAF0;
  --line-soft:    #EFF3F7;

  --bg:           #FFFFFF;
  --bg-soft:      #F6F9FB;
  --bg-mint:      #F1F7F5;

  --ok:           #128F7A;

  --radius-sm:    10px;
  --radius:       14px;
  --radius-lg:    22px;

  --shadow-sm:    0 1px 2px rgba(14, 58, 92, .06), 0 1px 3px rgba(14, 58, 92, .05);
  --shadow:       0 10px 28px rgba(14, 58, 92, .08);
  --shadow-lg:    0 24px 56px rgba(14, 58, 92, .13);

  --maxw:         1180px;
  --header-h:     72px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-600);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 极淡纸张肌理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

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

/* 图标统一类（配合 icons.js 的雪碧图） */
.ic { display: inline-block; vertical-align: middle; flex-shrink: 0; width: 20px; height: 20px; }
.btn .ic { width: 17px; height: 17px; }

a { color: var(--brand-500); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-600); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

::selection { background: var(--accent); color: #fff; }

/* ---------- 3. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.section { padding: 92px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.section--tight { padding: 64px 0; }

.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--ink-400); font-size: 1.05rem; margin-bottom: 0; }
.section-head--left { margin-left: 0; text-align: left; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(14, 58, 92, .22); }
.btn--primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 12px 26px rgba(14, 58, 92, .3); }

.btn--accent { background: var(--accent); color: #24170A; box-shadow: 0 8px 20px rgba(232, 163, 61, .32); }
.btn--accent:hover { background: var(--accent-600); color: #fff; }

.btn--ghost { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }

.btn--outline { border-color: var(--line); color: var(--brand); background: #fff; }
.btn--outline:hover { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }

.btn--sm { padding: 10px 20px; font-size: .87rem; }
.btn--block { width: 100%; }

/* ---------- 5. 页头 / 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(14,58,92,.06); }
.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo:hover { color: inherit; }
.logo__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(14,58,92,.24);
  flex-shrink: 0;
  color: #fff;
}
.logo__mark svg { width: 21px; height: 21px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-weight: 800; font-size: 1.06rem; color: var(--ink); letter-spacing: -.02em; }
.logo__sub { font-size: .63rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-300); font-weight: 700; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px;
  border-radius: 100px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-600);
  position: relative;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.is-active { color: var(--brand-700); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #0C3350 0%, var(--brand) 42%, #17517A 100%);
  color: #fff;
  padding: 88px 0 104px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 18%, rgba(232,163,61,.24), transparent 44%),
                    radial-gradient(circle at 12% 92%, rgba(21,90,135,.55), transparent 52%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 30px; }
.hero .eyebrow { color: var(--accent); }
.hero .eyebrow::before { background: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin: 0;
}
.hero__points svg { width: 17px; height: 17px; flex-shrink: 0; }
.hero__points { padding-left: 0; }

.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; filter: drop-shadow(0 28px 50px rgba(0,0,0,.3)); }

/* ---------- 配图槽位 ----------
 * 容器加 data-media，内部放 <img data-cfg-src="images.xxx">
 *   配了图  → .has-img，显示图片、隐藏兜底插画
 *   留空 "" → 保留兜底插画，绝不破图
 * 容器再加 data-optional：没配图时整块隐藏（用于纯配图位，如服务配图）
 * ------------------------------------------------------------ */
[data-media] > [data-cfg-src] { display: none; }
[data-media].has-img > [data-cfg-src] {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
[data-media].has-img > .is-fallback { display: none; }
[data-media][data-optional]:not(.has-img) { display: none; }

/* 通用配图尺寸（用在内容区的横图） */
.img-band { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.img-band img { width: 100%; height: auto; display: block; }

/* 卡片顶部配图（服务页 Private Label / Photography 两张卡） */
.card__media { margin: 0 0 20px; }
.card__media img { width: 100%; height: auto; display: block; border-radius: 12px; }

/* ---------- 7. 卡片 / 通用块 ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  margin-bottom: 18px;
}
.card__icon svg { width: 25px; height: 25px; }
.card__icon--accent { background: var(--accent-50); color: var(--accent-600); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-400); font-size: .95rem; margin-bottom: 0; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-weight: 700; font-size: .9rem;
}
.card__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card__link:hover svg { transform: translateX(3px); }

/* ---------- 8. 优势条 ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.feature-row > div {
  padding: 30px 26px;
  border-right: 1px solid var(--line-soft);
}
.feature-row > div:last-child { border-right: 0; }
.feature-row h3 { font-size: 1.02rem; margin-bottom: 7px; display: flex; align-items: center; gap: 9px; }
.feature-row h3 svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
.feature-row p { font-size: .9rem; color: var(--ink-400); margin-bottom: 0; }

/* ---------- 9. 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 34px 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stat__num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -.03em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat__num i { font-style: normal; font-size: 1.35rem; color: var(--accent); }
.stat__label { font-size: .88rem; color: var(--ink-400); font-weight: 600; margin-top: 6px; }

/* ---------- 10. 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__no {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(14,58,92,.22);
}
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-400); margin-bottom: 0; }
.step::after {
  content: "";
  position: absolute;
  top: 30px; left: 58px; right: -14px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-100) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }

/* ---------- 11. 品类网格 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.cat__thumb {
  height: 108px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-50), #fff 70%);
  border-bottom: 1px solid var(--line-soft);
  color: var(--brand-100);
}
.cat__thumb svg { width: 46px; height: 46px; color: var(--brand); opacity: .85; }
.cat__body { padding: 14px 16px 17px; }
.cat__body h3 { font-size: .95rem; margin-bottom: 3px; }
.cat__body span { font-size: .78rem; color: var(--ink-300); font-weight: 600; }

/* ---------- 12. 客户评价 ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testi__quote { font-size: .93rem; color: var(--ink-600); flex: 1; margin-bottom: 18px; }
.testi__stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 12px; }
.testi__stars svg { width: 15px; height: 15px; }
.testi__who { display: flex; align-items: center; gap: 11px; padding-top: 16px; border-top: 1px dashed var(--line); }
.testi__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  flex-shrink: 0;
}
.testi__name { font-weight: 700; color: var(--ink); font-size: .93rem; }
.testi__meta { font-size: .77rem; color: var(--ink-300); }

/* ---------- 13. FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px 24px; color: var(--ink-400); font-size: .95rem; }

/* ---------- 14. 博客 ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post__art {
  height: 158px;
  background: linear-gradient(135deg, #17517A, var(--brand-700));
  display: grid; place-items: center;
  color: rgba(255,255,255,.28);
}
.post__art svg { width: 54px; height: 54px; }
.post__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post__tag {
  font-size: .71rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: 9px;
}
.post__body h3 { font-size: 1.02rem; margin-bottom: 8px; }
.post__body p { font-size: .9rem; color: var(--ink-400); flex: 1; }
.post__date { font-size: .79rem; color: var(--ink-300); margin-top: 12px; }

/* ---------- 15. CTA 通栏 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-700), var(--brand-500));
  color: #fff;
  padding: 56px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,.28), transparent 66%);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 0; max-width: 560px; }
.cta-band .btn { flex-shrink: 0; }

/* ---------- 16. 表单 ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field label .req { color: #D9483B; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21,90,135,.1);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-300); }
.form-note { font-size: .82rem; color: var(--ink-300); margin-top: 14px; margin-bottom: 0; }
.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-alert.is-ok { display: block; background: #E8F6F1; color: #0B6B58; border: 1px solid #BFE6DA; }
.form-alert.is-err { display: block; background: #FDEDEB; color: #B03227; border: 1px solid #F5C7C1; }

/* ---------- 17. 联系信息块 ---------- */
.contact-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item__ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-item__ic svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: .95rem; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: .93rem; color: var(--ink-400); margin-bottom: 0; word-break: break-word; }

/* ---------- 18. 页脚 ---------- */
.site-footer {
  background: var(--brand-700);
  color: rgba(255,255,255,.72);
  padding: 68px 0 0;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: .93rem; display: flex; align-items: flex-start; gap: 9px; }
.footer-links li .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }
.footer-links li a, .footer-links li span { word-break: break-word; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__sub { color: rgba(255,255,255,.45); }
.site-footer .logo__mark { background: rgba(255,255,255,.12); box-shadow: none; }
.footer-about { font-size: .92rem; line-height: 1.75; margin: 18px 0 22px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--accent); color: #24170A; transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
}

/* ---------- 19. 悬浮 WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.42);
  transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; fill: #fff; }
.float-wa::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- 20. 页面小标题区（内页顶栏） ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--brand-700), var(--brand-500));
  color: #fff;
  padding: 62px 0 66px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(232,163,61,.2), transparent 46%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.78); margin-bottom: 0; max-width: 620px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 21. 内容排版（关于页等） ---------- */
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; color: var(--brand); }
.prose ul { color: var(--ink-600); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.split--rev .split__media { order: -1; }
.split__media {
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--brand-50), #fff);
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 11px; align-items: flex-start;
  margin-bottom: 13px; font-size: .96rem;
}
.check-list svg { width: 19px; height: 19px; color: var(--ok); flex-shrink: 0; margin-top: 4px; }

/* ---------- 22. 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1080px) {
  .g-4, .cat-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature-row > div:nth-child(2) { border-right: 0; }
  .feature-row > div:nth-child(1),
  .feature-row > div:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--rev .split__media { order: 0; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 20px;
    transform: translateY(-120%);
    transition: transform .28s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 14px; border-radius: var(--radius-sm); }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .header-cta { margin-left: 0; }
  .header-cta .btn { padding: 10px 18px; font-size: .87rem; }
  .section { padding: 68px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .g-2, .g-3, .g-4, .cat-grid, .testi-grid, .post-grid, .steps, .stats, .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .feature-row > div:last-child { border-bottom: 0; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 24. 打印 ---------- */
@media print {
  .site-header, .float-wa, .cta-band, .site-footer { display: none; }
}
