/* =====================================================================
   SFA 页面改版 · 增量样式
   位置：站点框架之外单独一层，排 site.css 之后加载
   作用域：全部规则挂在 <main class="apple sfax"> 下，只用 sfax- 前缀类名
   铁律：不改 site.css 一行；不加英文小标题；不加 emoji / 外部图标库；
        全页无深色大区、无数字条 —— SFA 是六页里最轻的一页
   设计语言来源：products/sfa.html（已验收打样）+ products/base.css
   ===================================================================== */

.sfax {
  --blue: #2863ff;
  --ink: #152b49;
  --muted: #64748c;
  --paper: #f8faff;
  --line: #e1e8f3;
  color: var(--ink);
  /* 全站统一字体栈：思源黑体（自托管 OFL）优先，系统字体只作兜底 */
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif);
}
.sfax * { box-sizing: border-box; }
.sfax p { margin: 0; }
.sfax a { color: inherit; text-decoration: none; }
.sfax ul { margin: 0; padding: 0; list-style: none; }
.sfax h2, .sfax h3 { margin: 0; }
.sfax a:focus-visible { outline: 3px solid #f5ae42; outline-offset: 5px; }

/* ---------- 通用骨架 ---------- */
.sfax-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.sfax-sec { max-width: 1240px; margin: 0 auto; padding: 105px 40px; }
/* 浅色底带铺满视口，内容仍走 1240 容器，与上下区块左右对齐 */
.sfax-band-soft { background: var(--paper); border-block: 1px solid var(--line); }
.sfax-kicker { display: block; font-size: 13px; font-weight: 500; color: var(--blue); letter-spacing: .02em; }
.sfax-h2 { font-size: clamp(28px, 3.2vw, 39px); line-height: 1.35; letter-spacing: -1.4px; font-weight: 600; margin: 18px 0 0; }
.sfax-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.sfax-head aside { font-size: 14px; color: var(--muted); margin-bottom: 4px; max-width: 34em; line-height: 1.8; }

/* ============ 1. 首屏 ============ */
.sfax-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  min-height: 640px; overflow: hidden; margin: 0 auto; max-width: 1440px;
  padding: 64px 3% 56px 7%;
  background: linear-gradient(120deg, #fff 45%, #f4f8ff);
}
.sfax-hero-copy { position: relative; z-index: 2; }
/* 2026-11-13：面包屑全站补齐（build.py 里 {BREAD} 恢复为 breadcrumb(crumbs)），沿用 site.css 默认灰样式 */
.sfax-label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #3d5e89; }
.sfax-label i { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px #e8eeff; flex: none; }
.sfax-hero h1 { font-weight: 700; letter-spacing: -.045em; margin: 26px 0 20px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.16; }
.sfax-lead { font-size: 16.5px; line-height: 1.9; color: #5c6d88; max-width: 32em; }
.sfax-actions { display: flex; align-items: center; gap: 27px; margin-top: 32px; flex-wrap: wrap; }
.sfax-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 17px 22px; font-size: 14px; font-weight: 500; color: #fff; border-radius: 7px;
  background: var(--blue); box-shadow: 0 10px 26px rgba(40, 99, 255, .22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sfax-btn span { font-size: 18px; line-height: 1; }
.sfax-btn:hover { background: #184fe4; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(40, 99, 255, .30); }
/* 注意：.sfax a 的优先级高于单个类，蓝色链接必须带上 a 选择器才压得住 */
.sfax a.sfax-tlink { font-size: 13px; color: var(--blue); }
.sfax-tlink span { margin-left: 10px; }
.sfax-tlink:hover { text-decoration: underline; }
.sfax-foot { display: flex; align-items: center; gap: 14px; margin-top: 46px; font-size: 11px; color: #64748c; letter-spacing: .06em; flex-wrap: wrap; }
.sfax-foot i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #c2cee2; flex: none; }

/* ---------- 双手机界面（纯 CSS，无图片） ---------- */
.sfax-phones { position: relative; width: 100%; max-width: 470px; height: 420px; justify-self: center; }
.sfax-phone {
  position: absolute; width: calc(50% - 4px); max-width: 232px; border-radius: 26px; background: #fff; border: 1px solid #e0e8f6;
  box-shadow: 0 26px 54px -28px rgba(21, 43, 73, .42); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.sfax-phone:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -32px rgba(21, 43, 73, .4); }
.sfax-phone--a { left: 0; top: 22px; z-index: 2; }
.sfax-phone--b { right: 0; top: 76px; z-index: 1; }
.sfax-notch { height: 22px; display: grid; place-items: center; }
.sfax-notch i { width: 64px; height: 5px; border-radius: 3px; background: #e7edf6; }
.sfax-top { padding: 10px 16px 12px; border-bottom: 1px solid #f0f4fa; display: flex; align-items: center; justify-content: space-between; }
.sfax-top b { font-size: 13px; font-weight: 600; }
.sfax-top small { font-size: 10px; color: #a3b3ca; }
.sfax-rows { padding: 6px 0; }
.sfax-row { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid #f6f8fc; }
.sfax-row:last-child { border-bottom: 0; }
.sfax-dot { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: #eef3fc; display: grid; place-items: center; font-size: 10.5px; color: var(--blue); font-weight: 600; }
.sfax-row-main { flex: 1; min-width: 0; }
.sfax-row b { display: block; font-size: 12px; font-weight: 600; line-height: 1.4; }
.sfax-row small { display: block; font-size: 10px; color: #a3b3ca; margin-top: 2px; }
.sfax-tag { flex: 0 0 auto; font-size: 9.5px; padding: 3px 9px; border-radius: 999px; }
.sfax-tag--ok { background: #e8f7ef; color: #2c8a5b; }
.sfax-tag--wait { background: #fff3e4; color: #b97a1f; }
.sfax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 14px; }
.sfax-cell { aspect-ratio: 1 / 1; border-radius: 8px; background: #f2f6fc; display: grid; place-items: center; font-size: 9.5px; color: #9db0c8; text-align: center; line-height: 1.5; padding: 4px; }
.sfax-cell--ok { background: #e8f7ef; color: #2c8a5b; }
.sfax-ph-btn { margin: 12px 16px 16px; background: var(--blue); color: #fff; text-align: center; border-radius: 9px; padding: 11px; font-size: 12.5px; font-weight: 600; box-shadow: 0 10px 22px -10px rgba(40, 99, 255, .55); }
.sfax-ph-link { margin: 10px 16px 0; font-size: 10.5px; color: var(--blue); text-align: center; }

/* ---------- 能力条 ---------- */
.sfax-strip { padding: 26px 40px; border-block: 1px solid var(--line); font-size: 14px; }
.sfax-strip-in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.45fr repeat(6, 1fr); align-items: center; gap: 16px; }
.sfax-strip span { font-size: 12px; color: #64748c; }
.sfax-strip b { font-weight: 500; }

/* ============ 2. 一线执行 ============ */
.sfax-real { display: grid; grid-template-columns: .86fr 1.14fr; gap: 60px; align-items: start; }
.sfax-real .sfax-h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -1.2px; }
.sfax-real-body { padding-top: 4px; }
.sfax-real-lead { font-size: 14.5px; line-height: 2.05; color: #4a5f7c; }
/* 注意：.sfax ul 的优先级高于单个类，这里的 margin 必须带 ul 才生效 */
.sfax ul.sfax-list { margin: 26px 0 0; }
.sfax-list li { padding: 15px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.9; color: #4a5f7c; }
.sfax-list li:first-child { border-top: 0; padding-top: 0; }
.sfax-list b { color: var(--ink); font-weight: 600; }

/* ---------- 常见起点 ---------- */
.sfax-start { margin-top: 56px; border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px 30px; background: #fff; }
.sfax-start h3 { font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.sfax-start-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 30px; }
.sfax-start-row li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.85; color: #4a5f7c; }
.sfax-start-row li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* ---------- 完美门店提示 ---------- */
.sfax-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 22px;
  padding: 20px 24px; border-radius: 12px; background: #f6f9ff; border: 1px solid var(--line);
}
.sfax-note svg { flex: none; color: var(--blue); margin-top: 2px; }
.sfax-note div { font-size: 13.5px; line-height: 1.9; color: #4a5f7c; }
.sfax-note b { color: var(--ink); font-weight: 600; }
.sfax-note a { color: var(--blue); border-bottom: 1px solid rgba(40, 99, 255, .35); }

/* ============ 3. 六个能力 ============ */
.sfax-six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sfax-six-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sfax-six-card:hover { transform: translateY(-4px); border-color: #cfdcf2; box-shadow: 0 16px 38px rgba(21, 43, 73, .09); }
.sfax-six-card i { font-style: normal; font-size: 11px; letter-spacing: .14em; color: var(--blue); font-variant-numeric: tabular-nums; }
.sfax-six-card h3 { margin: 11px 0 8px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.sfax-six-card p { font-size: 12.5px; line-height: 1.85; color: var(--muted); }

/* ============ 4. 上线节奏：竖向步骤条 ============ */
.sfax-steps { max-width: 780px; }
.sfax-step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; position: relative; padding-bottom: 34px; }
.sfax-step:last-child { padding-bottom: 0; }
.sfax-step::before { content: ""; position: absolute; left: 27px; top: 38px; bottom: 0; width: 1px; background: #d9e4f3; }
.sfax-step:last-child::before { display: none; }
.sfax-step i { font-style: normal; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid #d5e1f4; color: var(--blue); font-size: 13px; font-weight: 700; z-index: 1; }
.sfax-step h3 { margin: 14px 0 7px; font-size: 17px; font-weight: 600; }
.sfax-step p { font-size: 13.5px; line-height: 1.95; color: var(--muted); }

/* ============ 5. 联系区：全页唯一一块蓝色 ============ */
.sfax-contact-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px 96px; }
.sfax-contact {
  position: relative; overflow: hidden; border-radius: 14px; padding: 56px 7%;
  background: var(--blue); color: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.sfax-contact::after {
  content: ""; position: absolute; width: 400px; height: 400px; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%; right: -180px; top: -200px;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); pointer-events: none;
}
.sfax-contact > div { position: relative; z-index: 1; }
.sfax-contact h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; letter-spacing: -.8px; font-weight: 600; }
.sfax-contact small { display: block; margin-top: 14px; font-size: 12.5px; line-height: 1.9; color: #f4f8ff; max-width: 34em; }
.sfax-contact-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sfax-contact .sfax-btn--light { background: #fff; color: var(--blue); box-shadow: 0 12px 28px rgba(8, 32, 74, .18); }
.sfax-contact .sfax-btn--light:hover { background: #eef3ff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(8, 32, 74, .22); }
.sfax-tel { font-size: 18px; letter-spacing: 1px; font-weight: 600; color: #fff; }

/* ============ 6. 响应式 ============ */
@media (max-width: 1000px) {
  .sfax-hero { grid-template-columns: 1fr; min-height: auto; padding: 52px 5% 40px; }
  .sfax-phones { height: 420px; max-width: 470px; margin-top: 40px; }
  .sfax-sec { padding: 88px 5%; }
  .sfax-strip { padding: 22px 5%; }
  .sfax-strip-in { grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
  .sfax-strip span { grid-column: 1 / -1; }
  .sfax-real { grid-template-columns: 1fr; gap: 30px; }
  .sfax-start-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfax-six { grid-template-columns: repeat(2, 1fr); }
  .sfax-contact-wrap { padding: 0 5% 72px; }
  .sfax-contact { grid-template-columns: 1fr; padding: 44px 7%; }
}
@media (max-width: 700px) {
  .sfax-hero { padding: 40px 6% 32px; }
  .sfax-hero h1 { font-size: 34px; letter-spacing: -.03em; }
  .sfax-lead { font-size: 15px; }
  .sfax-actions { gap: 20px; margin-top: 26px; }
  .sfax-btn { padding: 15px 18px; font-size: 13px; gap: 18px; }
  .sfax-foot { margin-top: 30px; gap: 10px; }
  /* 手机改为纵向堆叠，不溢出 */
  .sfax-phones { height: auto; display: grid; grid-template-columns: 1fr; gap: 20px; justify-items: center; max-width: none; }
  .sfax-phone { position: static; width: 100%; max-width: 300px; }
  .sfax-phone--a, .sfax-phone--b { left: auto; right: auto; top: auto; }
  .sfax-phone--a, .sfax-phone--b { left: auto; right: auto; top: auto; }
  .sfax-strip { padding: 20px 6%; }
  .sfax-strip-in { grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
  .sfax-strip b { font-size: 12px; }
  .sfax-sec { padding: 64px 6%; }
  .sfax-head { display: block; margin-bottom: 28px; }
  .sfax-head aside { margin-top: 14px; }
  .sfax-six { grid-template-columns: 1fr; }
  .sfax-start { padding: 22px 20px 24px; }
  .sfax-start-row { grid-template-columns: 1fr; gap: 12px; }
  .sfax-step { grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 28px; }
  .sfax-step::before { left: 21px; top: 32px; }
  .sfax-step i { width: 44px; height: 44px; }
  .sfax-contact-wrap { padding: 0 6% 56px; }
  .sfax-contact { padding: 34px 7%; border-radius: 12px; }
  .sfax-contact small { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .sfax * { transition: none !important; animation: none !important; }
}
