/* 松鼠优才留学 · 官网样式
   品牌主色取自官方 Logo：#FF9E3E（透明底 PNG，含「松鼠优才 / Squirrel Education」）
   注意：#FF9E3E 对白底对比度仅 2.06:1，不可用于正文文字；
   文字与链接统一使用加深色 #A8570C（5.21:1），亮橙仅用于图形与按钮。
   零外部依赖：不引用 CDN 字体、图标库或 JS 框架，国内首屏加载稳定。 */

:root {
  --brand: #FF9E3E;
  --brand-soft: #FFF3E4;
  --brand-softer: #FFFAF3;
  --accent: #A8570C;
  --accent-hover: #8F4A08;
  --ink: #102A43;
  --ink-soft: #3F556C;
  --muted: #6B7C90;
  --line: #E3E9EF;
  --line-soft: #EFF2F6;
  --bg: #FFFFFF;
  --bg-soft: #FAFBFC;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1, h2, h3 { line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(23px, 2.6vw, 30px); margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* 锚点跳转时给吸顶头部留出空间，避免标题被遮住 */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
section[id], div[id] { scroll-margin-top: 84px; }

/* ---------- 演示提示 ---------- */
.demo-banner {
  background: var(--brand-soft);
  color: #7A4A0A;
  border-bottom: 1px solid #F6DCBB;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  padding: 7px 16px;
}

/* ---------- 头部与导航 ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: 42px; width: auto; }
.footer-logo { display: block; height: 44px; width: auto; margin-bottom: 14px; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav > a { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.primary-nav > a:hover,
.primary-nav > a[aria-current="page"] { color: var(--accent); text-decoration: none; }
.primary-nav > a[aria-current="page"] { font-weight: 600; }
.primary-nav > .nav-cta {
  background: var(--brand); color: var(--ink); padding: 9px 18px;
  border-radius: 6px; font-size: 14px; font-weight: 600;
}
.primary-nav > .nav-cta:hover { background: #F5952C; color: var(--ink); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 6px; width: 42px; height: 38px; padding: 9px 8px;
  cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 首页实景轮播 ---------- */
.gallery {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--brand-soft);
  border-bottom: 1px solid var(--line);
}
.gallery-track { position: relative; width: 100%; height: 100%; }
.gallery-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.gallery-slide.is-active { opacity: 1; visibility: visible; }
.gallery-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-slide[data-placeholder="true"] {
  background: linear-gradient(135deg, #FFF3E4 0%, #FFFAF3 55%, #EFF4F9 100%);
}
.gallery-placeholder {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  color: var(--ink);
}
.gallery-placeholder-icon {
  width: 46px; height: 38px; margin-bottom: 18px;
  border: 2px solid var(--brand); border-radius: 5px;
  position: relative;
}
.gallery-placeholder-icon::before {
  content: ""; position: absolute; width: 13px; height: 13px;
  border: 2px solid var(--brand); border-radius: 50%;
  top: 6px; left: 13px;
}
.gallery-placeholder-icon::after {
  content: ""; position: absolute; width: 30px; height: 2px;
  background: var(--brand); bottom: 6px; left: 6px;
}
.gallery-placeholder p { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.gallery-placeholder small { font-size: 13px; color: var(--muted); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 24px 28px;
  background: linear-gradient(to top, rgba(16,42,67,.78), rgba(16,42,67,0));
  color: #fff;
}
.gallery-caption > .wrap { max-width: 1120px; margin: 0 auto; }
.gallery-caption h2 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.gallery-caption p { color: #E4EBF2; font-size: 14px; margin: 0; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(16,42,67,.42); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gallery-arrow:hover { background: rgba(16,42,67,.72); }
.gallery-prev { left: 24px; }
.gallery-next { right: 24px; }
.gallery-dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 8px;
}
.gallery-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.85); background: transparent;
  cursor: pointer; transition: width .2s ease, background .2s ease;
}
.gallery-dot.is-active { width: 22px; border-radius: 5px; background: var(--brand); border-color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  background: var(--brand-softer);
  border-bottom: 1px solid var(--line-soft);
  border-top: 3px solid var(--brand);
  padding: 76px 0 72px;
}
.eyebrow {
  font-size: 13px; letter-spacing: 0.12em; color: var(--accent);
  font-weight: 600; margin-bottom: 20px;
}
.hero h1 { max-width: 820px; margin-bottom: 22px; }
.hero-lead { font-size: 18px; line-height: 1.85; color: var(--ink-soft); max-width: 720px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid #F0DFC9; padding-top: 22px; }
.hero-facts span {
  font-size: 13px; color: var(--ink-soft); padding-right: 22px; margin-right: 22px;
  border-right: 1px solid #F0DFC9;
}
.hero-facts span:last-child { border-right: 0; }
.hero-facts span::before { content: "·"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 24px; max-width: 720px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 6px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; line-height: 1.5; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.btn-primary:hover { background: #F5952C; border-color: #F5952C; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--accent-hover); }
.btn-light { color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-lead { color: var(--muted); font-size: 16px; max-width: 760px; margin-bottom: 32px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.7; }

.page-head { padding: 44px 24px 8px; }
.page-head h1 { margin: 18px 0 14px; max-width: 860px; }
.page-intro { font-size: 18px; color: var(--ink-soft); max-width: 760px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 数据 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 26px 22px; }
.stat-value { font-size: 26px; font-weight: 600; color: var(--accent); line-height: 1.3; }
.stat-label { font-size: 14px; color: var(--ink); margin-top: 6px; font-weight: 500; }
.stat-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.6; }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid-compact { grid-template-columns: repeat(3, 1fr); }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: var(--bg);
  transition: border-color .18s ease, background .18s ease;
}
.card:hover { border-color: #F3C795; background: var(--brand-softer); }
/* 整张卡片可点击：链接撑满卡片，去掉默认下划线与继承色，保持原有排版 */
.card-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.card-link:hover { text-decoration: none; color: inherit; }
.card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card-tag { font-size: 12px; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.card h3 { font-size: 17px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.card-meta { font-size: 12px !important; color: var(--muted) !important; margin-top: 12px; }

/* ---------- 正文 ---------- */
.prose-wrap > p { max-width: 820px; font-size: 16px; color: var(--ink-soft); }
.bullet-list { max-width: 820px; padding-left: 20px; margin: 18px 0 0; }
.bullet-list li { margin-bottom: 10px; color: var(--ink-soft); }
.prose-wrap blockquote {
  margin: 28px 0 0; padding: 18px 24px; border-left: 3px solid var(--brand);
  background: var(--brand-soft); color: #7A4A0A;
  font-size: 18px; font-weight: 500; max-width: 820px;
}

/* ---------- 步骤 ---------- */
.steps { list-style: none; padding: 0; margin: 0; }
.step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-num {
  flex: none; width: 76px; font-size: 14px; font-weight: 600; color: var(--accent);
  padding-top: 2px;
}
.step h3 { font-size: 17px; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 4px 0 0; max-width: 800px; }

/* ---------- 表格 ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
caption { text-align: left; padding: 14px 18px; font-size: 13px; color: var(--muted); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); line-height: 1.7; }
thead th { background: var(--brand-soft); color: #7A4A0A; font-weight: 600; white-space: nowrap; }
tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #FDFBF7; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; min-width: 0; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-item h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; overflow-wrap: anywhere; }
.faq-item h3::before { content: "Q"; color: var(--accent); font-weight: 600; margin-right: 10px; font-size: 14px; }
/* 备案编号、信用代码、公示网址都是不可断开的长串，窄屏下会把整个 FAQ 撑出屏幕 */
.faq-item p { font-size: 15px; color: var(--ink-soft); margin: 0; max-width: 820px; overflow-wrap: anywhere; word-break: break-word; }

/* ---------- 提示 / CTA / 链接列表 ---------- */
.callout {
  background: var(--brand-soft); border: 1px solid #F6DCBB; border-left: 3px solid var(--brand);
  border-radius: var(--radius); padding: 24px 28px;
}
.callout h2 { font-size: 19px; margin-bottom: 8px; }
.callout p { font-size: 15px; color: #7A4A0A; margin: 0; }

/* ---------- 备案信任卡（首页） ----------
   文字保留在 HTML 里（不用整张图片），搜索引擎与 AI 才读得到资质信息。 */
.trust-card {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center; gap: 24px; padding: 28px 30px;
  border: 1px solid #F3D9B8; border-radius: 14px;
  background: radial-gradient(circle at 8% 0%, rgba(255, 158, 62, .16), transparent 42%),
              linear-gradient(120deg, #FFFCF8 0%, #FFF6EA 100%);
  box-shadow: 0 8px 28px rgba(168, 87, 12, .07);
}
.trust-emblem {
  width: 72px; height: 72px; border-radius: 50%;
  background: #FFF1DD; box-shadow: inset 0 0 0 1px #F6DCBB;
  display: flex; align-items: center; justify-content: center;
}
.trust-emblem svg { width: 46px; height: 46px; display: block; }
.trust-body { min-width: 0; }
.trust-kicker { margin: 0 0 4px; font-size: 12px; letter-spacing: .06em; color: var(--accent); font-weight: 600; }
.trust-body h2 { font-size: 21px; margin: 0 0 8px; color: var(--ink); overflow-wrap: anywhere; }
.trust-text { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); max-width: 720px; }
.trust-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; max-width: 100%; }
.trust-fact { display: flex; align-items: baseline; gap: 8px; max-width: 100%; }
.trust-fact dt { font-size: 12px; color: var(--muted); flex: none; }
/* 统一社会信用代码是一整串字母数字，不强制断行会把整张卡撑出屏幕 */
.trust-fact dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; word-break: break-word; }
.trust-note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; word-break: break-word; }
.trust-action {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background .18s ease;
}
.trust-action:hover { background: #20415F; color: #fff; }
.trust-action span { font-size: 16px; line-height: 1; }

.cta-band { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; color: #fff; margin-bottom: 10px; }
.cta-band p { font-size: 15px; color: #C6D2DE; max-width: 640px; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta-band .btn-primary { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.cta-band .btn-primary:hover { background: #F5952C; color: var(--ink); }

/* ---------- 社媒关注（二维码） ---------- */
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 660px; }
.social-card {
  margin: 0; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.social-qr { width: 100%; max-width: 200px; height: auto; border-radius: 8px; display: block; }
.social-card figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.social-name { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.social-icon { width: 22px; height: 22px; border-radius: 5px; display: block; }
.social-text { font-size: 13px; color: var(--muted); line-height: 1.6; }

.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; gap: 18px; align-items: baseline; padding: 18px 4px; }
.link-list a:hover { text-decoration: none; background: var(--brand-softer); }
.link-list strong { font-size: 16px; color: var(--ink); min-width: 200px; }
.link-list span { font-size: 14px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 44px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 12px; max-width: 340px; }
.footer-brand .footer-slogan { color: var(--accent); font-size: 12px; letter-spacing: 0.02em; margin-top: 0; }
.footer-nap { font-style: normal; }
.footer-col h3 { font-size: 14px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent); }

/* 页脚社媒入口：悬停/点击弹出二维码 */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social-item { position: relative; display: inline-block; }
.footer-social-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--ink-soft); background: var(--bg);
  font-family: inherit; line-height: 1.4; cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.footer-social-pill img { width: 16px; height: 16px; border-radius: 4px; display: block; }
.footer-social-pill:hover { border-color: #F3C795; color: var(--accent); }
.footer-social-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.footer-social-item.is-open .footer-social-pill { border-color: #F3C795; color: var(--accent); }

/* 二维码浮层：桌面 hover 即显示，触屏点按钮显示 */
.footer-qr {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 60;
  width: 168px; padding: 10px 10px 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  text-align: center;
}
/* 指针从胶囊移到浮层要跨过 10px 间隙，补一层透明桥接区，否则一移就消失 */
.footer-qr::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; }
.footer-qr img { width: 100%; height: auto; display: block; border-radius: 6px; }
.footer-qr-tip { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }

.footer-social-item:hover .footer-qr,
.footer-social-item.is-open .footer-qr,
.footer-social-pill:focus-visible + .footer-qr {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* 触屏设备：hover 不生效，只靠点击态，避免点完又被 :hover 卡住 */
@media (hover: none) {
  .footer-social-item:hover .footer-qr { opacity: 0; visibility: hidden; transform: translateY(6px); }
  .footer-social-item.is-open .footer-qr { opacity: 1; visibility: visible; transform: translateY(0); }
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 22px;
  font-size: 12px; color: var(--muted);
}
.footer-filings { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.footer-filings a { color: var(--muted); }
.footer-filings a:hover { color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .primary-nav { gap: 18px; }
  .primary-nav > a { font-size: 13px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .header-inner { min-height: 68px; }
  .brand-logo { height: 36px; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .primary-nav > .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .hero { padding: 56px 0 52px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 52px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .link-list a { flex-direction: column; gap: 4px; }
}

@media (max-width: 820px) {
  .trust-card { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px; }
  .trust-emblem { width: 56px; height: 56px; }
  .trust-emblem svg { width: 36px; height: 36px; }
  .trust-action { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  /* 1fr 的最小宽度默认是 auto，长链接/信用代码会把卡片撑出屏幕，必须用 minmax(0,1fr) */
  .trust-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px 18px; }
  .trust-body h2 { font-size: 19px; }
  .trust-facts { gap: 6px 18px; }
  .trust-action { max-width: 100%; white-space: normal; }
  .gallery { height: 290px; }
  .gallery-arrow { width: 34px; height: 34px; font-size: 21px; }
  .gallery-prev { left: 12px; }
  .gallery-next { right: 12px; }
  .gallery-caption { padding: 36px 18px 26px; }
  .gallery-caption h2 { font-size: 20px; }
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .card-grid, .card-grid-compact { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .hero-facts span { border-right: 0; margin-right: 0; padding-right: 16px; }
  .step { gap: 12px; }
  .step-num { width: 62px; }
  .cta-actions .btn { flex: 1; }
  .social-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

@media print {
  .site-header, .site-footer, .cta-band, .demo-banner, .nav-toggle { display: none; }
  .section { padding: 20px 0; }
}
