/* =========================================================
   逗号校外托管服务中心 · 前台样式
   设计语言：暖纸底 + 陶土红 + 松绿，圆角柔阴影，克制的动效
   ========================================================= */

:root {
  --bg: #FAF6F0;
  --bg-warm: #F4EDE3;
  --surface: #FFFFFF;
  --ink: #1F1B16;
  --ink-2: #4B423A;
  --ink-3: #7A7065;
  --line: #EAE0D2;
  --line-soft: #F1E9DD;

  --primary: #D9532B;
  --primary-2: #BE411C;
  --primary-soft: #FBEDE6;
  --accent: #1F6F5C;
  --accent-soft: #E6F1ED;
  --gold: #DFA03C;
  --wechat: #07C160;
  --paypal: #003087;

  --ok: #1F7A5C;
  --warn: #B5761A;
  --danger: #C0392B;

  --r-xl: 32px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 10px;

  --sh-sm: 0 1px 2px rgba(31, 27, 22, .04), 0 2px 8px -4px rgba(31, 27, 22, .08);
  --sh: 0 2px 4px rgba(31, 27, 22, .03), 0 14px 34px -18px rgba(31, 27, 22, .18);
  --sh-lg: 0 4px 10px rgba(31, 27, 22, .04), 0 30px 60px -30px rgba(31, 27, 22, .28);

  --ff: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ff-num: "SF Pro Display", "DIN Alternate", "Helvetica Neue", Inter, system-ui, sans-serif;
  --ff-serif: Georgia, "Times New Roman", "Songti SC", serif;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(217, 83, 43, .18); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); position: relative; z-index: 1; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--ink);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn svg { flex: none; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px rgba(217, 83, 43, .7); }
.btn-primary:hover { background: var(--primary-2); box-shadow: 0 12px 26px -12px rgba(217, 83, 43, .8); }

.btn-outline { border-color: var(--line); background: rgba(255, 255, 255, .7); color: var(--ink); }
.btn-outline:hover { border-color: #D8CABA; background: #fff; box-shadow: var(--sh-sm); }

.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: rgba(31, 27, 22, .05); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.btn-light:hover { background: #fff; box-shadow: var(--sh-lg); }

.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-xs { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-pay {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 13px 16px; border-radius: 14px;
  font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}
.btn-pay:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(31, 27, 22, .45); }
.btn-wechat { border-color: rgba(7, 193, 96, .28); background: #F3FCF7; }
.btn-wechat:hover { border-color: rgba(7, 193, 96, .5); background: #EAF9F1; }
.btn-paypal { border-color: rgba(0, 48, 135, .18); background: #F4F8FF; }
.btn-paypal:hover { border-color: rgba(0, 48, 135, .34); background: #EBF3FF; }
.btn-pay-txt { display: flex; align-items: baseline; gap: 6px; color: var(--ink-2); font-weight: 500; }
.btn-pay-txt b { font-family: var(--ff-num); font-size: 15.5px; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }

/* ---------- 支付标识 ---------- */
.pay-logo {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1;
  box-shadow: var(--sh-sm);
  white-space: nowrap;
}
.pay-logo b { font-weight: 600; letter-spacing: -.01em; }
.pay-logo .pay-ico { width: 19px; height: 19px; }
.pay-wechat b { color: #0B8A47; }
.pay-paypal b { color: #0A3273; }
.pay-logo-sm { padding: 4px 10px 4px 6px; font-size: 12.5px; gap: 5px; box-shadow: none; }
.pay-logo-sm .pay-ico { width: 16px; height: 16px; }
.pay-logo-sm b { font-size: 12.5px; }
.pay-logo-ico {
  padding: 0; border: none; background: transparent; box-shadow: none;
  width: 24px; height: 24px; flex: none;
}
.pay-logo-ico .pay-ico { width: 24px; height: 24px; }

/* ---------- 语言切换 ---------- */
.lang-switch { position: relative; flex: none; }
.lang-switch > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .72);
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { border-color: #D8CABA; background: #fff; color: var(--ink); }
.lang-switch[open] > summary { border-color: var(--primary); background: #fff; color: var(--ink); }
.lang-switch .chev { opacity: .6; transition: transform .2s var(--ease); }
.lang-switch[open] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 61;
  min-width: 136px; padding: 6px; display: grid; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(31, 27, 22, .45);
  animation: dlgIn .18s var(--ease) both;
}
.lang-menu a {
  padding: 8px 12px; border-radius: 9px;
  font-size: 13.5px; color: var(--ink-2);
  transition: background .14s var(--ease), color .14s var(--ease);
}
.lang-menu a:hover { background: var(--bg-warm); color: var(--ink); }
.lang-menu a.is-active { background: var(--primary-soft); color: var(--primary-2); font-weight: 600; }

/* ---------- 头部 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 22px -20px rgba(31, 27, 22, .5); }

.head-inner { display: flex; align-items: center; gap: 20px; height: 74px; }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-family: var(--ff-serif);
  font-size: 40px; font-weight: 700; line-height: .2;
  padding-bottom: 16px;
  text-indent: -1px;
  box-shadow: 0 6px 16px -8px rgba(217, 83, 43, .8), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16.5px; font-weight: 700; letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--ink-3); letter-spacing: .16em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 9px 13px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink-2); font-weight: 500;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: rgba(31, 27, 22, .05); color: var(--ink); }

.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-query { display: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer; place-items: center;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 76px) clamp(30px, 4vw, 52px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0;
  background:
    radial-gradient(46% 52% at 22% 18%, rgba(217, 83, 43, .13), transparent 70%),
    radial-gradient(40% 46% at 82% 8%, rgba(31, 111, 92, .12), transparent 72%),
    radial-gradient(36% 40% at 60% 60%, rgba(223, 160, 60, .10), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line);
  font-size: 12.5px; letter-spacing: .06em; color: var(--ink-2);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 83, 43, .16);
}

.hero-title {
  font-size: clamp(31px, 4.2vw, 48px);
  line-height: 1.18;
  letter-spacing: -.04em;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--primary); }
/* 英文标题更长，单独收一档字号 */
html[lang="en"] .hero-title { font-size: clamp(26px, 3.1vw, 38px); letter-spacing: -.035em; line-height: 1.2; }
html[lang="en"] .sec-title { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.032em; }

.lead {
  font-size: clamp(15.5px, 1.35vw, 17px);
  color: var(--ink-2); line-height: 1.8;
  max-width: 34em;
  margin-bottom: 28px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero-pay {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-pay-label { font-size: 12.5px; color: var(--ink-3); letter-spacing: .08em; }

.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-points li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-2);
}
.hero-points svg { color: var(--accent); flex: none; }

/* ---------- 价格卡 ---------- */
.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--sh-lg);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card::after {
  content: ",";
  position: absolute; right: -8px; top: -46px;
  font-family: var(--ff-serif); font-size: 180px; line-height: 1;
  color: rgba(217, 83, 43, .07);
  pointer-events: none; z-index: -1;
}

.pc-top { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.pc-badge {
  align-self: flex-start;
  padding: 5px 12px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em;
  box-shadow: 0 6px 14px -8px rgba(217, 83, 43, .85);
}
.pc-title h2 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 5px; }
.pc-title p { font-size: 13.5px; color: var(--ink-3); }

.pc-prices {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px;
  padding: 18px 18px; margin-bottom: 20px;
  background: linear-gradient(180deg, #FDFBF7, #FAF6EF);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}
.pc-divider { width: 1px; background: var(--line); }
.pc-label { font-size: 11.5px; color: var(--ink-3); letter-spacing: .03em; margin-bottom: 6px; }
.pc-amount { display: flex; align-items: baseline; gap: 2px; font-family: var(--ff-num); }
.pc-amount .cur { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.pc-amount .num { font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.pc-amount .per { font-size: 12.5px; color: var(--ink-3); margin-left: 2px; }
.pc-orig { margin-top: 5px; font-size: 12px; color: var(--ink-3); }
.pc-orig s { color: #91857A; text-decoration-color: rgba(145,133,122,.7); }

.pc-actions { display: grid; gap: 9px; }
.pc-note {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 16px; font-size: 12px; color: var(--ink-3); line-height: 1.55;
}
.pc-note svg { flex: none; margin-top: 2px; }

/* ---------- 信任条 ---------- */
.trust-bar { position: relative; z-index: 1; padding-block: 6px 0; }
.trust-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 1px; min-width: 120px; }
.trust-num { font-size: 14.5px; font-weight: 600; }
.trust-txt { font-size: 12px; color: var(--ink-3); }
.trust-sep { width: 1px; height: 26px; background: var(--line); }

/* ---------- 通用区块 ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.sec-head { max-width: 44em; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary-2); font-weight: 600;
}
.sec-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.22; letter-spacing: -.03em;
  margin-bottom: 14px;
}
.sec-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }

/* ---------- 服务特性 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line); }
.feature-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 14px;
  background: var(--primary-soft); color: var(--primary-2);
}
.feature-card:nth-child(3n+2) .feature-icon { background: var(--accent-soft); color: var(--accent); }
.feature-card:nth-child(3n+3) .feature-icon { background: #FBF0DC; color: #A9711F; }
.feature-card h3 { font-size: 17px; margin-bottom: 7px; }
.feature-card p { font-size: 14px; color: var(--ink-2); line-height: 1.72; }

/* ---------- 流程 ---------- */
.section-flow { background: linear-gradient(180deg, rgba(244, 237, 227, .55), rgba(250, 246, 240, 0)); }
.flow-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 64px); }
.flow-intro { position: sticky; top: 100px; align-self: start; }
.flow-intro .btn { margin-top: 22px; }

.timeline { position: relative; padding-left: 6px; }
.timeline::before {
  content: ""; position: absolute; left: 82px; top: 12px; bottom: 12px; width: 1px;
  background: linear-gradient(180deg, #DED2C0, rgba(222, 210, 192, .25));
}
.tl-item { display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding-block: 15px; position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: 78px; top: 27px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 1;
}
.tl-time {
  font-family: var(--ff-num); font-size: 12.5px; font-weight: 600;
  color: var(--primary-2); padding-top: 3px; text-align: right; letter-spacing: -.01em;
}
.tl-body h3 { font-size: 16.5px; margin-bottom: 5px; }
.tl-body p { font-size: 14px; color: var(--ink-2); line-height: 1.72; }

/* ---------- 价格方案 ---------- */
.plan-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  flex: 1 1 320px; max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.plan-card.is-featured {
  border-color: rgba(217, 83, 43, .32);
  box-shadow: 0 2px 4px rgba(217, 83, 43, .06), 0 26px 50px -30px rgba(217, 83, 43, .4);
}
.plan-badge {
  position: absolute; top: -11px; left: 24px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  box-shadow: 0 6px 14px -8px rgba(217, 83, 43, .9);
}
.plan-name { font-size: 20px; margin-bottom: 6px; }
.plan-tag { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }

.plan-prices {
  display: grid; gap: 9px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.pp-row { display: flex; align-items: baseline; gap: 10px; }
.pp-label { flex: none; width: 58px; font-size: 11.5px; color: var(--ink-3); letter-spacing: .02em; }
.pp-val { font-family: var(--ff-num); font-size: 27px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.pp-val .cur { font-size: 15px; font-weight: 600; color: var(--ink-2); margin-right: 1px; }
.pp-val i { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--ink-3); margin-left: 2px; }
.pp-orig { margin-left: auto; font-size: 12px; color: #91857A; }

.plan-feats { display: grid; gap: 9px; margin-bottom: 20px; }
.plan-feats li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.plan-feats svg { flex: none; color: var(--accent); margin-top: 2px; }
.plan-desc { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }

.plan-actions { display: grid; gap: 8px; margin-top: auto; }

/* ---------- 支付说明 ---------- */
.pay-info {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  margin-top: 22px;
}
.pay-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .68); border: 1px solid var(--line-soft);
}
.pay-info-item > div h4 { font-size: 14.5px; margin-bottom: 4px; }
.pay-info-item > div p { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 940px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 500;
  transition: color .18s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-2); }
.faq-icon {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink-3);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; border-color: var(--primary); }
.faq-body { padding: 0 2px 22px; max-width: 46em; }
.faq-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ---------- CTA ---------- */
.cta-band { padding-block: 0 clamp(56px, 8vw, 96px); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(120deg, #241F1A, #3A2E24 60%, #4A3428);
  color: #fff;
  box-shadow: var(--sh-lg);
  position: relative; overflow: hidden;
}
.cta-inner::after {
  content: ","; position: absolute; right: 18%; bottom: -70px;
  font-family: var(--ff-serif); font-size: 220px; color: rgba(255, 255, 255, .05);
  pointer-events: none;
}
.cta-inner h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; letter-spacing: -.03em; }
.cta-inner p { color: rgba(255, 255, 255, .72); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 60px); position: relative; z-index: 1; }
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 32px; padding-bottom: 40px;
}
.foot-brand p { font-size: 13px; color: var(--ink-3); margin-top: 10px; line-height: 1.7; }
.foot-brand .brand { margin-bottom: 4px; }
.foot-muted { color: var(--ink-3); }
.foot-muted.tiny { font-size: 12px; line-height: 1.7; margin-top: 10px; }
.foot-col h4 { font-size: 12.5px; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; text-transform: uppercase; }
.foot-col a { display: block; font-size: 13.5px; color: var(--ink-2); padding-block: 5px; transition: color .16s var(--ease); }
.foot-col a:hover { color: var(--primary-2); }
.foot-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding-block: 4px; }
.foot-line svg { flex: none; margin-top: 3px; color: var(--ink-3); }
.pay-mini { display: flex; flex-wrap: wrap; gap: 7px; }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-block: 18px 26px; border-top: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--ink-3);
}

/* ---------- 弹层 ---------- */
.dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 0; border: none; border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(31, 27, 22, .5);
  color: var(--ink);
  overflow: visible;
}
.dialog::backdrop { background: rgba(31, 27, 22, .42); backdrop-filter: blur(3px); }
.dialog[open] { animation: dlgIn .28s var(--ease) both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }

.book-form { padding: 26px clamp(20px, 3vw, 30px) 24px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dialog-kicker { font-size: 11.5px; letter-spacing: .1em; color: var(--primary-2); font-weight: 600; }
.dialog-head h3 { font-size: 21px; margin-top: 4px; }
.dialog-close {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
  color: var(--ink-3); transition: background .16s var(--ease), color .16s var(--ease);
}
.dialog-close:hover { background: var(--bg-warm); color: var(--ink); }

.book-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; margin-bottom: 18px;
  background: linear-gradient(180deg, #FDFBF7, #FAF6EF);
  border: 1px solid var(--line-soft); border-radius: var(--r);
}
.book-svc { font-size: 14px; font-weight: 500; }
.book-amt { font-family: var(--ff-num); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

.field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field-label em { font-style: normal; color: var(--ink-3); font-weight: 400; font-size: 12px; margin-left: 4px; }
.field input,
.field textarea,
.field select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 14.5px; font-family: inherit;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #B3A899; }
.field input:hover, .field textarea:hover { border-color: #DCCFBE; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 83, 43, .12);
}
.field-hint { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.55; }

.book-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.book-pay-note {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3); margin-bottom: 12px; line-height: 1.5;
}
.book-pay-note .pay-logo { flex: none; }
.book-terms { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 10px; }

/* ---------- 提示条 ---------- */
.alert {
  padding: 12px 16px; border-radius: 12px; font-size: 13.5px;
  margin-bottom: 18px; border: 1px solid transparent; line-height: 1.6;
}
.alert-error { background: #FDF0EE; border-color: #F3CFC9; color: #9C3227; }
.alert-warn { background: #FDF6E7; border-color: #EEDCB8; color: #8A5D12; }
.alert-ok { background: #EDF7F2; border-color: #CBE7DA; color: #1B6A4F; }
.alert a { text-decoration: underline; font-weight: 600; }

/* ---------- 订单页 ---------- */
.order-page { padding-block: clamp(26px, 4vw, 44px) clamp(52px, 7vw, 88px); }
.order-wrap { max-width: 1040px; }
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.back-link:hover { color: var(--ink); }
.order-no { font-size: 13px; color: var(--ink-3); }
.order-no b { font-family: var(--ff-num); color: var(--ink-2); font-weight: 600; letter-spacing: .02em; }

.steps { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.steps li + li::before {
  content: ""; width: 28px; height: 1px; background: var(--line); margin-right: 6px;
}
.step-dot {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 600; color: var(--ink-3);
}
.steps .is-done .step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps .is-done { color: var(--ink-2); }
.steps .is-current .step-dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(217, 83, 43, .12); }
.steps .is-current { color: var(--ink); font-weight: 600; }

.order-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 18px; align-items: start; }

.pay-panel, .verify-panel {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--sh); text-align: center;
}
.panel-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--ink-2); margin-bottom: 14px;
}
.panel-title { font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 8px; }
.panel-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.panel-sub .hl { font-family: var(--ff-num); font-size: 19px; color: var(--primary-2); font-weight: 700; }

.qr-box {
  display: grid; place-items: center;
  width: 240px; height: 240px; margin: 0 auto 16px;
  padding: 10px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: inset 0 0 0 8px #fff, var(--sh-sm);
  position: relative;
}
.qr-box img, .qr-box canvas { display: block; width: 220px !important; height: 220px !important; }
.qr-skeleton {
  position: absolute; inset: 10px; border-radius: var(--r);
  background: linear-gradient(100deg, #F6F1E9 30%, #FBF7F1 50%, #F6F1E9 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.qr-box.is-ready .qr-skeleton { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

.qr-hint { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.pay-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-warm); font-size: 12.5px; color: var(--ink-2);
  margin-bottom: 10px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }

.ok-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12.5px; font-weight: 600; margin-bottom: 14px;
}
.qr-verify { width: 256px; height: 256px; }
.qr-verify img, .qr-verify canvas { width: 236px !important; height: 236px !important; }
.verify-code {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--bg-warm); margin-bottom: 14px;
}
.verify-code-label { font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; }
.verify-code code { font-family: var(--ff-num); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.verify-actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

.verified-mark {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
}
.verified-note { font-size: 13.5px; color: var(--ink-2); max-width: 34em; margin: 0 auto 20px; line-height: 1.75; }
.verify-panel.is-verified { text-align: center; }

.side-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); }
.side-title { font-size: 15px; margin-bottom: 14px; }
.kv { display: grid; gap: 0; margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.kv > div:last-child { border-bottom: none; }
.kv dt { color: var(--ink-3); flex: none; }
.kv dd { margin: 0; text-align: right; color: var(--ink); word-break: break-all; }
.kv dd .muted { color: var(--ink-3); font-size: 12.5px; }

.side-tip { margin-top: 14px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--primary-soft); }
.side-tip h3 { font-size: 13.5px; color: var(--primary-2); margin-bottom: 6px; }
.side-tip p { font-size: 12.5px; color: #8A4A32; line-height: 1.7; }

/* 状态徽章 */
.st {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.st-pending { background: #FDF4E4; color: #96631A; }
.st-paid { background: var(--accent-soft); color: var(--accent); }
.st-verified { background: #E8F0FB; color: #2A5590; }
.st-cancelled, .st-expired { background: #F1EEE9; color: #7A7065; }

/* ---------- 查询页 ---------- */
.query-page { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.query-wrap { max-width: 880px; }
.query-head { margin-bottom: 26px; }
.query-form { margin-bottom: 28px; }
.qf-row { display: flex; gap: 10px; flex-wrap: wrap; }
.qf-field {
  flex: 1 1 300px; display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.qf-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(217, 83, 43, .12); }
.qf-prefix { font-size: 14px; color: var(--ink-3); padding-right: 10px; border-right: 1px solid var(--line); }
.qf-field input { flex: 1; border: none; outline: none; padding: 14px 12px; font-size: 15px; font-family: var(--ff-num); letter-spacing: .04em; background: transparent; }
.qf-error { color: var(--danger); font-size: 13px; margin-top: 10px; }
.qf-hint { font-size: 12px; color: var(--ink-3); margin-top: 10px; }

.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--ink-2); }
.order-list { display: grid; gap: 10px; }
.order-item {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.order-item:hover { border-color: var(--line); box-shadow: var(--sh); transform: translateY(-1px); }
.oi-main { flex: 1 1 260px; }
.oi-top { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; flex-wrap: wrap; }
.oi-no { font-family: var(--ff-num); font-size: 11.5px; color: var(--ink-3); letter-spacing: .03em; }
.oi-name { font-size: 16px; margin-bottom: 5px; }
.oi-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: #C9BFB1; }
.oi-right { display: flex; align-items: center; gap: 16px; }
.oi-amount { text-align: right; }
.oi-amount b { display: block; font-family: var(--ff-num); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.oi-amount span { font-size: 11.5px; color: var(--ink-3); font-family: var(--ff-num); }

.empty-state, .query-help {
  text-align: center; padding: clamp(34px, 6vw, 56px) 24px;
  background: rgba(255, 255, 255, .6); border: 1px dashed var(--line);
  border-radius: var(--r-xl);
}
.empty-ico { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 20px; background: var(--bg-warm); color: var(--ink-3); }
.empty-state h3 { font-size: 17px; margin-bottom: 8px; }
.empty-state p { font-size: 13.5px; color: var(--ink-3); max-width: 32em; margin: 0 auto 18px; line-height: 1.75; }
.query-help { margin-top: 24px; padding: 26px 24px; }
.query-help h3 { font-size: 15px; margin-bottom: 6px; }
.query-help p { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }

/* ---------- 404 ---------- */
.err-page { padding-block: clamp(70px, 12vw, 140px); text-align: center; }
.err-code {
  display: block; font-family: var(--ff-serif); font-size: clamp(64px, 12vw, 120px);
  line-height: 1; color: rgba(217, 83, 43, .16); margin-bottom: -8px;
}
.err-inner h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.err-inner p { color: var(--ink-2); font-size: 14.5px; max-width: 34em; margin: 0 auto 24px; line-height: 1.8; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- 动效 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { max-width: 460px; }
  .flow-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-intro { position: static; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .site-head.nav-open .nav {
    display: flex; position: absolute; left: 0; right: 0; top: 74px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px clamp(20px, 4vw, 40px) 18px;
    background: rgba(250, 246, 240, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(31, 27, 22, .5);
    margin: 0;
  }
  .site-head.nav-open .nav a { padding: 12px 10px; border-radius: 10px; font-size: 15px; }
  .head-actions .btn-sm.nav-query { display: none; }
  .trust-sep { display: none; }
  .trust-inner { gap: 18px 26px; }
  .plan-prices { gap: 10px; }
  .pay-info { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .head-actions > .btn-primary { display: none; }
}

@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-cta { gap: 9px; }
  .trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .trust-item { min-width: 0; }
  .trust-num { font-size: 13.5px; }
  .steps li + li::before { width: 12px; }
  .qr-box { width: 220px; height: 220px; }
  .qr-box img, .qr-box canvas { width: 200px !important; height: 200px !important; }
  .qr-verify { width: 234px; height: 234px; }
  .qr-verify img, .qr-verify canvas { width: 214px !important; height: 214px !important; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .oi-right { width: 100%; justify-content: space-between; }
  .order-item { padding: 16px; }
  .dialog { width: calc(100vw - 20px); }
  .pc-prices { padding: 14px 12px; gap: 8px; }
  .pc-amount .num { font-size: 28px; }
  .kv > div { font-size: 13px; }
  .head-inner { height: 66px; }
  .site-head.nav-open .nav { top: 66px; }
  .brand-text em { display: none; }
}
