/* ===== Shared Styles: 发小哥官网 ===== */
/* ---- Fluid typography scale (Impeccable modular) ---- */
:root {
  --ink: #1c1917;
  --ink-sub: #44403c;
  --muted: #78716c;
  --placeholder: #a8a29e;
  --amber: #d97706;
  --amber-light: #fdf2e9;
  --border: #e7e5e4;
  --card-bg: #ffffff;
  --page-bg: #fafaf9;
  --footer-bg: #1c1917;
  --footer-muted: #a8a29e;

  /* Fluid type scale: min (375px) → preferred (vw) → max (1440px) */
  --f-xs:   clamp(0.6875rem, 0.4vw + 0.55rem, 0.8125rem);  /* 11→13px */
  --f-sm:   clamp(0.8125rem, 0.6vw + 0.6rem,  0.9375rem);  /* 13→15px */
  --f-base: clamp(0.9375rem, 0.7vw + 0.7rem,  1.125rem);   /* 15→18px */
  --f-lg:   clamp(1.0625rem, 0.9vw + 0.75rem, 1.25rem);    /* 17→20px */
  --f-xl:   clamp(1.25rem,  1.2vw + 0.85rem, 1.5rem);      /* 20→24px */
  --f-2xl:  clamp(1.5rem,   1.8vw + 0.9rem,  2.25rem);     /* 24→36px */
  --f-3xl:  clamp(2rem,     3vw   + 1rem,    3rem);        /* 32→48px */
  --f-4xl:  clamp(2.5rem,   4vw   + 1rem,    3.5rem);      /* 40→56px */

  /* Fluid spacing */
  --sp-xs:  clamp(0.5rem,  0.5vw + 0.3rem,  1rem);         /* 8→16px */
  --sp-sm:  clamp(1rem,    1vw   + 0.5rem,  1.5rem);       /* 16→24px */
  --sp-md:  clamp(1.5rem,  2vw   + 0.5rem,  2.5rem);       /* 24→40px */
  --sp-lg:  clamp(2rem,    3vw   + 1rem,    3.5rem);       /* 32→56px */
  --sp-xl:  clamp(3rem,    5vw   + 1rem,    5rem);          /* 48→80px */

  /* Motion tokens — defined here so style.css is self-sufficient on every page
     (index.html does not load animate.css, where these were originally declared).
     Values mirror animate.css to avoid any conflict. */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur-fast: 220ms;
  --dur-instant: 120ms;

  /* Display font for Latin labels/numbers — dependency-free system stack.
     Avoids Google Fonts, which is unreliable behind the GFW for CN visitors. */
  --font-display: "Helvetica Neue", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ==============================================
   TOUCH FOUNDATION (mobile-first, harmless on desktop)
   ============================================== */
/* 消除 300ms 点按延迟 + 去掉 iOS 默认蓝色点按高亮，改由 :active 自定义反馈 */
html, body { touch-action: manipulation; }
*, *::before, *::after { -webkit-tap-highlight-color: transparent; }

/* 点按即时反馈：触摸/鼠标按下即轻微收缩（<120ms，符合 100/300 规则），
   仅动 transform，不触发布局重算，避免滚动时卡顿 */
.btn, .btn-primary, .btn-ghost, .btn-outline,
.store-card, .social-item, .faq-question, .mp-btn,
.nav-links a, .footer-contact-link, .ms-card {
  transition: transform var(--dur-instant) var(--ease-out-quart);
  will-change: transform;
}
.btn:active, .btn-primary:active, .btn-ghost:active, .btn-outline:active,
.store-card:active, .social-item:active, .faq-question:active, .mp-btn:active,
.nav-links a:active, .footer-contact-link:active, .ms-card:active {
  transform: scale(0.96);
}
/* 在滚动中禁用点击反馈动画，避免与惯性滚动冲突 */
body.is-scrolling .btn:active,
body.is-scrolling .store-card:active,
body.is-scrolling .mp-btn:active { transform: none; }

/* 安全区基座：刘海屏 / 底部 Home 条 不遮挡内容（配合 viewport-fit=cover） */
.nav {
  padding-left: max(var(--sp-md), env(safe-area-inset-left));
  padding-right: max(var(--sp-md), env(safe-area-inset-right));
}
.footer {
  padding-left: max(var(--sp-md), env(safe-area-inset-left));
  padding-right: max(var(--sp-md), env(safe-area-inset-right));
  padding-bottom: max(var(--sp-md), env(safe-area-inset-bottom));
}
body {
  /* 移动端给底部 Tabbar 留出安全空间（仅小屏生效，见媒体查询） */
  padding-bottom: 0;
  font-family: "Sarasa Gothic SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--page-bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---- Navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  width: 100%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-sm);
  padding: 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}
.nav .logo {
  display: block; height: 48px; width: 172px;
  flex-shrink: 0; text-decoration: none;
}
.nav .logo img {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: left center;
}
.nav-links {
  display: flex; gap: var(--sp-md); font-size: var(--f-sm);
  flex-shrink: 0;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  transition: color .15s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }

/* ---- Hamburger toggle (hidden on desktop) ---- */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; flex-direction: column; justify-content: center;
  width: 44px; height: 44px; cursor: pointer; gap: 5px;
  padding: 8px; z-index: 200;
}
.nav-toggle-label span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  border-radius: 1px; transition: transform 250ms var(--ease-out-quart), opacity 200ms;
  transform-origin: center;
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Tablet compact nav */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav .logo { width: 138px; height: 39px; }
}

/* ---- Hero (shared pattern) ---- */
.hero {
  text-align: center; padding: var(--sp-xl) var(--sp-sm) var(--sp-lg);
  background: #fff; max-width: 1280px; margin: 0 auto;
}
.hero .kicker {
  color: var(--amber); font-size: var(--f-xs);
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 2px; margin-bottom: var(--sp-sm);
}
.hero h1 {
  font-size: var(--f-3xl); font-weight: 400; color: var(--ink);
  margin-bottom: var(--sp-sm); line-height: 1.2;
}
.hero .sub {
  font-size: var(--f-lg); color: var(--muted);
  max-width: 600px; margin: 0 auto;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; margin-top: 32px;
}

/* 内页 hero — 统一到首页暖琥珀设计语言（渐变底 + 噪点 + 精致标题） */
.hero--page {
  position: relative;
  max-width: none; margin: 0;
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% -25%, rgba(217,119,6,.12) 0%, rgba(217,119,6,0) 55%),
    linear-gradient(180deg, #FFF7EC 0%, #FFFFFF 84%);
  border-bottom: 1px solid var(--border);
  padding: clamp(52px, 7vw, 92px) var(--sp-sm) clamp(36px, 5vw, 64px);
  overflow: hidden;
}
.hero--page::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .035; mix-blend-mode: multiply;
}
.hero--page > * { position: relative; z-index: 1; }
.hero--page .kicker { margin-bottom: 14px; }
.hero--page h1 {
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 800; color: var(--ink); letter-spacing: 0;
  margin-bottom: var(--sp-sm);
}
.hero--page .sub { font-size: clamp(15px, 1.6vw, 18px); }
.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--f-sm); padding: var(--sp-xs) var(--sp-md); border-radius: 8px;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--amber); color: #fff; border: none; }
.btn-ghost { background: #fff; color: var(--amber); border: 2px solid var(--amber); }

/* ---- Home Hero: 全宽摄影式高级首屏（左文右图 + 暖色遮罩） ---- */
.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #FFF7EC; /* 无图时的暖色回退 */
}

/* 细微噪点纹理 — 高级感关键 */
.home-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .038; mix-blend-mode: multiply;
}

/* 照片层：锚定右侧，人物看向左侧留白 */
.hero-photo-wrap {
  position: absolute; inset: 0; z-index: 1;
}
.hero-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* 调色：统一到品牌暖琥珀调 — 提暖、加对比、微降冷色饱和、轻胶片颗粒感 */
  filter:
    saturate(1.06)
    contrast(1.05)
    brightness(1.02)
    sepia(0.04);
}

/* 照片区右下角品牌戳（磨砂药丸 + 反白 logo） */
.hero-brand-stamp {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 3vw, 40px);
  z-index: 2;
  display: flex; align-items: center;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  background: rgba(28,25,23,.32);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.hero-brand-stamp img {
  height: 22px; width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

/* 遮罩：左侧暖奶油 → 右侧透明，让文字可读且与照片无缝融合 */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(255,247,236,.88) 0%,
    rgba(255,247,236,.72) 35%,
    rgba(255,247,236,.40) 50%,
    rgba(255,247,236,.18) 62%,
    transparent 74%
  );
}

/* 内容容器 */
.home-hero-inner {
  position: relative; z-index: 4;
  width: 100%; max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--sp-sm);
}

/* 文案列 — 占左侧约 50%，在照片的负空间里 */
.home-hero-copy { max-width: 520px; }

/* 副标语（标题上方品牌主张） */
.hero-eyebrow {
  display: block;
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 4px;
  margin-bottom: 20px;
  font-style: italic;
  opacity: .85;
}

/* 主标题 — 超大、紧致、关键词琥珀高亮 */
.home-hero h1 {
  font-size: clamp(32px, 5.5vw, 62px); line-height: 1.08;
  font-weight: 800; color: var(--ink); margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.home-hero h1 .hl {
  color: var(--amber);
  position: relative;
  white-space: nowrap;
}
.home-hero h1 .hl::after {
  content: "";
  position: absolute; bottom: 2px; left: 0; right: 0;
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(217,119,6,.35), transparent);
}

/* 副文案 */
.home-hero .sub {
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.85;
  color: var(--muted); margin-bottom: 28px; max-width: 38em;
}

/* CTA 行 */
.home-hero .hero-actions {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
}
.home-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217,119,6,.30);
}
.home-hero .btn-ghost:hover { background: var(--amber-light); }

/* 信任锚点行（细线分隔的数字行） */
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 18px;
  margin: 0; padding: 0;
}
.hero-trust li {
  font-size: var(--f-sm); color: var(--muted);
  display: flex; align-items: baseline; gap: 5px;
  padding-right: 18px; border-right: 1px solid var(--border);
}
.hero-trust li:last-child { border-right: none; padding-right: 0; }
.hero-trust strong {
  color: var(--ink); font-weight: 700; font-size: var(--f-lg);
}

/* 动画入场（文字与图片依次浮现） */
[data-animate="fadeInUp"] {
  opacity: 0; animation: heroFadeInUp .8s ease-out forwards;
}
[data-delay="200"] { animation-delay: .2s; }
[data-delay="400"] { animation-delay: .4s; }
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Section ---- */
.section {
  padding: var(--sp-xl) var(--sp-sm);
  max-width: 1280px; margin: 0 auto;
}
.section-header {
  text-align: center; margin-bottom: var(--sp-lg);
}
.section-header h2 {
  font-size: var(--f-2xl); font-weight: 400; color: var(--ink);
  margin-bottom: var(--sp-xs);
}
.section-header p {
  font-size: var(--f-lg); color: var(--muted);
}

/* ---- Benefits grid ---- */
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm);
}
.benefit-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; min-height: 200px;
  text-align: center; text-decoration: none; color: inherit;
}
a.benefit-card { display: block; }
.benefit-card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--amber-light);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--f-xl);
}
.benefit-card h3 { font-size: var(--f-xl); font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: var(--f-xs); color: var(--muted); line-height: 1.6; }

/* ---- Benefit card: layered hover (image + overlay + text) ---- */
.benefit-card { position: relative; overflow: hidden; cursor: pointer; }
.benefit-card .card-bg {
  position: absolute; inset: 0; z-index: 1;
  transform: translateY(calc(100% + 2px));
  transition: transform 500ms var(--ease-out-quart);
  background-size: cover; background-position: center;
}
.benefit-card .card-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(28,25,23,0.4) 0%, rgba(28,25,23,0.85) 100%);
  opacity: 0;
  transition: opacity 400ms var(--ease-out-quart);
}
.benefit-card .card-content {
  position: relative; z-index: 3;
  padding: var(--sp-md) var(--sp-md);
  transition: color 300ms var(--ease-out-quart);
}
.benefit-card:hover .card-bg { transform: translateY(0); }
.benefit-card:hover .card-overlay { opacity: 1; }
.benefit-card:hover .card-content h3 { color: #fafaf9; }
.benefit-card:hover .card-content p { color: #d6d4d1; }

/* Per-card layered backgrounds (placeholder gradients, swap with real images via bg-image) */
.benefit-card .card-bg.b1 {
  background-image:
    linear-gradient(135deg, rgba(217,119,6,0.0) 0%, rgba(217,119,6,0.15) 100%),
    radial-gradient(circle at 30% 30%, #f59e0b 0%, #b45309 45%, #78350f 100%);
}
.benefit-card .card-bg.b2 {
  background-image:
    linear-gradient(135deg, rgba(180,83,9,0.0) 0%, rgba(180,83,9,0.2) 100%),
    radial-gradient(circle at 70% 30%, #92400e 0%, #451a03 55%, #1c1917 100%);
}
.benefit-card .card-bg.b3 {
  background-image:
    linear-gradient(135deg, rgba(146,64,14,0.0) 0%, rgba(217,119,6,0.2) 100%),
    radial-gradient(circle at 50% 40%, #fbbf24 0%, #b45309 50%, #422006 100%);
}
/* Subtle pattern on the image layer for added visual texture */
.benefit-card .card-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

/* ---- Process steps ---- */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-sm); counter-reset: step;
}
.process-step {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: var(--sp-md) var(--sp-sm);
  position: relative;
}
.process-step .step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--amber); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--f-base); font-weight: 700; margin-bottom: var(--sp-sm);
}
.process-step h3 { font-size: var(--f-lg); font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: var(--f-xs); color: var(--muted); line-height: 1.6; }

/* ---- Timeline ---- */
.timeline {
  position: relative; padding-left: 40px;
  max-width: 800px; margin: 0 auto;
}
.timeline::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item {
  position: relative; margin-bottom: var(--sp-md);
  padding-left: 32px;
}
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--amber);
}
.timeline-item .year { font-size: var(--f-xl); font-weight: 700; color: var(--amber); }
.timeline-item h3 { font-size: var(--f-lg); margin: 4px 0; }
.timeline-item p { font-size: var(--f-xs); color: var(--muted); }

/* ---- CTA Banner ---- */
.cta-banner {
  text-align: center; padding: var(--sp-xl) var(--sp-sm);
  background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  max-width: 1280px; margin: 0 auto;
}
.cta-banner h2 { font-size: var(--f-2xl); font-weight: 400; margin-bottom: var(--sp-xs); }
.cta-banner p { font-size: var(--f-lg); color: var(--muted); margin-bottom: var(--sp-md); }

/* ---- Wiki cards ---- */
.wiki-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-sm); }
.wiki-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: var(--sp-md) var(--sp-sm); text-align: center;
}
.wiki-card h3 { font-size: var(--f-lg); font-weight: 700; margin-bottom: 8px; }
.wiki-card p { font-size: var(--f-xs); color: var(--muted); line-height: 1.6; }

/* ---- Contact body ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-sm); }
.contact-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: var(--sp-md) var(--sp-sm); text-align: center;
}
.contact-card .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--f-xl); margin: 0 auto var(--sp-xs);
}
.contact-card h3 { font-size: var(--f-lg); font-weight: 700; margin-bottom: 8px; }
.contact-card p { font-size: var(--f-xs); color: var(--muted); }

/* ---- FAQ (wiki page) ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: var(--f-base); font-weight: 600;
  color: var(--ink); cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out-quart);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: none; }
.faq-item summary::after {
  content: "";
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 250ms var(--ease-out-quart);
  flex-shrink: 0; margin-left: 12px;
}
.faq-item[open] summary { color: var(--amber); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: var(--f-sm); color: var(--ink-sub); line-height: 1.7;
  padding-bottom: 20px; margin: 0;
}
.faq-item:hover summary { color: var(--amber); }

/* Wiki CTA grid (2 cards side by side) */
.wiki-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  max-width: 880px; margin: 0 auto;
}
.wiki-cta-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  box-shadow: 0 2px 12px rgba(28,25,23,0.04);
  display: flex; flex-direction: column;
}
.wiki-cta-card h3 {
  font-size: var(--f-xl); font-weight: 700;
  color: var(--ink); margin-bottom: 8px;
}
.wiki-cta-card p {
  font-size: var(--f-sm); color: var(--muted);
  line-height: 1.6; margin-bottom: 24px; flex: 1;
}
.wiki-cta-card .btn-primary,
.wiki-cta-card .btn-ghost {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 24px;
  font-size: var(--f-base); font-weight: 600;
  border-radius: 10px; text-decoration: none;
  white-space: nowrap; box-sizing: border-box;
}
.wiki-cta-card .btn-primary { background: var(--amber); color: #fff; border: none; }
.wiki-cta-card .btn-ghost { background: #fff; color: var(--amber); border: 2px solid var(--amber); }
.wiki-cta-card .btn-primary:hover { background: #B45309; }
.wiki-cta-card .btn-ghost:hover { background: var(--amber-light); }
@media (max-width: 640px) {
  .wiki-cta-grid { grid-template-columns: 1fr; }
}

/* ---- FAQ bottom CTA ---- */
.faq-cta {
  max-width: 640px; margin: 0 auto;
  text-align: center; padding: var(--sp-lg) 0;
}
.faq-cta p {
  font-size: var(--f-base); color: var(--ink);
  margin-bottom: 24px;
}
.faq-cta .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px;
  font-size: var(--f-base); font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  background: var(--amber); color: #fff;
  transition: transform var(--dur-instant) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart);
}
.faq-cta .btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(217,119,6,0.25);
}

/* ---- Form ---- */
.form-section {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: var(--sp-lg);
  box-shadow: 0 1px 3px rgba(28,25,23,.06);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: var(--f-xs); font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; font-size: var(--f-sm);
  border: 1px solid var(--border); border-radius: 8px;
  background: #fff; font-family: inherit;
  transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--amber);
}
.form-submit {
  width: 100%; padding: 14px; font-size: var(--f-base); font-weight: 600;
  background: var(--amber); color: #fff;
  border: none; border-radius: 8px; cursor: pointer;
  transition: background .15s;
}
.form-submit:hover { background: #b45309; }

/* ---- Footer ---- */
.footer {
  background: var(--footer-bg); color: var(--footer-muted);
  padding: var(--sp-lg) var(--sp-xl) var(--sp-sm);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
  display: flex; justify-content: space-between; font-size: var(--f-xs);
  color: var(--footer-muted);
}

/* ---- Brand story ---- */
.brand-story {
  display: flex; align-items: center; gap: 64px;
  max-width: 1200px; margin: 0 auto;
}
.brand-story .story-text { flex: 1; }
.brand-story .story-text h3 { font-size: var(--f-2xl); font-weight: 400; margin-bottom: var(--sp-sm); }
.brand-story .story-text p { font-size: var(--f-base); color: var(--muted); line-height: 1.8; margin-bottom: var(--sp-xs); }
.brand-story .story-visual {
  width: 480px; height: 360px; flex-shrink: 0;
  background: #f5f5f4; border: 1px solid var(--border);
  border-radius: 16px;
}

/* ---- Overridden benefit / wiki / step layouts ---- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-sm); }
.benefit-card h3 { font-size: var(--f-xl); font-weight: 400; margin-bottom: var(--sp-xs); color: var(--ink); }
.benefit-card p { font-size: var(--f-xs); color: var(--ink-sub); line-height: 1.6; }
.benefit-card, .wiki-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: var(--sp-md) var(--sp-md);
  box-shadow: 0 1px 2px rgba(28,25,23,.04), 0 6px 16px rgba(28,25,23,.05);
}
.wiki-card h3 { font-size: var(--f-lg); font-weight: 400; margin-bottom: 8px; }
.wiki-card p { font-size: var(--f-xs); color: var(--muted); line-height: 1.55; }
/* 工艺卡片：可点击跳转 */
a.wiki-card.craft-link {
  text-decoration: none; color: inherit; cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-out-quart), box-shadow .25s var(--ease-out-quart), border-color .25s var(--ease-out-quart);
}
a.wiki-card.craft-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(217,119,6,.14);
  border-color: var(--amber);
}
a.wiki-card.craft-link:hover h3 { color: var(--amber); }
.craft-link-more {
  margin-top: auto; padding-top: var(--sp-sm);
  font-size: var(--f-xs); font-weight: 600; color: var(--amber);
  opacity: .85; transition: opacity .2s, transform .2s;
}
a.wiki-card.craft-link:hover .craft-link-more { opacity: 1; transform: translateX(3px); }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-sm); }
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: var(--sp-md) var(--sp-sm); box-shadow: 0 1px 3px rgba(28,25,23,.06);
}
.step-num { font-size: var(--f-3xl); font-weight: 700; color: var(--amber); font-family: var(--font-display); }
.step-card h3 { font-size: var(--f-lg); font-weight: 400; margin: 12px 0 8px; color: var(--ink); }
.step-card p { font-size: var(--f-xs); color: var(--ink-sub); line-height: 1.6; }

/* ---- Section variants ---- */
.section-alt { background: #fff; border-top: 1px solid var(--border); max-width: 1280px; margin: 0 auto; padding-left: 80px; padding-right: 80px; }
.section-sub { font-size: var(--f-lg); color: var(--ink-sub); }
.section-header-left { text-align: left; margin-bottom: var(--sp-lg); }
.section-header-left h2 { text-align: left; }

/* ---- About: story layout ---- */
.story-body { display: flex; align-items: flex-start; gap: var(--sp-lg); }
.story-img {
  width: 480px; height: 360px; flex-shrink: 0;
  background: url("../assets/img/about-story.jpg") center/cover no-repeat;
  border: 1px solid var(--border); border-radius: 16px;
}
.story-text { flex: 1; }
.story-text p { font-size: var(--f-base); color: var(--muted); line-height: 1.625; margin-bottom: var(--sp-sm); }
.story-accent { font-size: var(--f-xl); font-weight: 400; color: var(--ink); margin-top: 4px; }

/* ---- About: vertical timeline ---- */
.v-timeline {
  position: relative;
  max-width: 960px; margin: 0 auto;
  padding: var(--sp-md) 0;
}
/* Center line */
.v-timeline::before {
  content: ""; position: absolute;
  left: calc(50% - 1px); top: 0; bottom: 0;
  width: 2px; background: var(--amber);
  border-radius: 1px;
}
.v-tl-item {
  position: relative;
  width: 50%; padding: var(--sp-sm) var(--sp-lg);
  box-sizing: border-box;
}
.v-tl-item.left  { text-align: right; left: 0; padding-right: calc(var(--sp-lg) + 24px); }
.v-tl-item.right { text-align: left;  left: 50%; padding-left: calc(var(--sp-lg) + 24px); }
/* Dot on the line: box-sizing border-box 让 14×14 含 border，圆点中心严格对齐到 item 边界（中线） */
.v-tl-item::before {
  content: ""; position: absolute;
  top: 32px;
  width: 14px; height: 14px;
  box-sizing: border-box;
  background: #fff; border: 2px solid var(--amber);
  border-radius: 50%; z-index: 2;
}
.v-tl-item.left::before  { right: -7px; }
.v-tl-item.right::before { left: -7px; }
.v-tl-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(28,25,23,.04);
}
.v-tl-year {
  font-size: var(--f-xl); font-weight: 700;
  color: var(--amber); font-family: var(--font-display);
  margin-bottom: 4px;
}

/* === 发小哥部署补丁：门店照片背景（bg-<城市key> 对应 assets/img/stores/<城市key>.jpg） === */
.card-bg.bg-beijing     { background-image: url(../assets/img/stores/beijing.jpg);     background-size: cover; background-position: center; }
.card-bg.bg-shanghai    { background-image: url(../assets/img/stores/shanghai.jpg);    background-size: cover; background-position: center; }
.card-bg.bg-guangzhou   { background-image: url(../assets/img/stores/guangzhou.jpg);   background-size: cover; background-position: center; }
.card-bg.bg-shenzhen    { background-image: url(../assets/img/stores/shenzhen.jpg);    background-size: cover; background-position: center; }
.card-bg.bg-hangzhou    { background-image: url(../assets/img/stores/hangzhou.jpg);    background-size: cover; background-position: center; }
.card-bg.bg-nanjing     { background-image: url(../assets/img/stores/nanjing.jpg);     background-size: cover; background-position: center; }
.card-bg.bg-chengdu     { background-image: url(../assets/img/stores/chengdu.jpg);     background-size: cover; background-position: center; }
.card-bg.bg-zhengzhou   { background-image: url(../assets/img/stores/zhengzhou.jpg);   background-size: cover; background-position: center; }
.card-bg.bg-changsha    { background-image: url(../assets/img/stores/changsha.jpg);    background-size: cover; background-position: center; }
.card-bg.bg-wuhan       { background-image: url(../assets/img/stores/wuhan.jpg);       background-size: cover; background-position: center; }
.card-bg.bg-xian-qujiang{ background-image: url(../assets/img/stores/xian-qujiang.jpg);background-size: cover; background-position: center; }
.card-bg.bg-xian-jingkai{ background-image: url(../assets/img/stores/xian-jingkai.jpg);background-size: cover; background-position: center; }
.card-bg.bg-huhehaote   { background-image: url(../assets/img/stores/huhehaote.jpg);   background-size: cover; background-position: center; }
.v-tl-text { font-size: var(--f-sm); color: var(--ink); line-height: 1.5; }
.v-tl-text b { font-weight: 600; color: var(--ink); }
.v-tl-text .tl-sub { color: var(--ink-sub); font-size: var(--f-xs); }

@media (max-width: 768px) {
  .v-timeline { padding-left: 24px; }
  .v-timeline::before { left: 20px; }
  .v-tl-item { width: 100%; left: 0 !important; padding-left: 58px !important; padding-right: 16px !important; text-align: left !important; }
  .v-tl-item::before { left: 13px !important; right: auto !important; }
}

/* ---- Contact layout ---- */
.contact-layout { display: flex; gap: var(--sp-md); }
.contact-main { flex: 1; display: flex; flex-direction: column; gap: var(--sp-sm); }
.contact-side {
  width: 420px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 32px; box-shadow: 0 1px 3px rgba(28,25,23,.06);
}
.contact-side h3 { font-size: var(--f-lg); font-weight: 400; margin-bottom: var(--sp-sm); }
.contact-side p { font-size: var(--f-xs); color: var(--muted); line-height: 1.55; margin-bottom: var(--sp-sm); }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; box-shadow: 0 1px 3px rgba(28,25,23,.06);
}
.info-label { font-size: var(--f-xs); color: var(--muted); margin-bottom: 8px; }
.info-value { font-size: var(--f-lg); color: var(--ink); }
.info-value.highlight { font-size: var(--f-xl); font-weight: 600; color: var(--amber); font-family: var(--font-display); }
.qr-row { display: none; }
.qr-item { display: none; }
/* ---- Social grid ---- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
}
.social-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: var(--sp-sm) 8px;
  border-radius: 10px; background: #fafaf9;
  border: 1px solid var(--border);
  text-decoration: none; color: var(--ink);
  transition: all .2s;
}
.social-item:hover {
  background: var(--amber-light);
  border-color: var(--amber);
  transform: translateY(-2px);
}
.app-icon {
  width: 48px; height: 48px;
  border-radius: 11px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.app-icon svg, .app-icon img { width: 48px; height: 48px; display: block; object-fit: cover; }
.social-item:hover .app-icon { box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.social-item span {
  font-size: var(--f-xs); font-weight: 500; color: var(--ink-sub);
}

/* ---- QR Popover ---- */
.qr-popover {
  position: fixed; z-index: 999;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  text-align: center; width: 220px;
}
.qr-popover.show { opacity: 1; visibility: visible; transform: translateY(0); }
.qr-popover img { width: 100%; border-radius: 6px; display: block; }
.qr-popover div {
  font-size: var(--f-xs); color: var(--ink-sub);
  margin-top: 8px; font-weight: 500;
}

/* ---- Form ---- */
.form-container {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: var(--sp-lg); box-shadow: 0 1px 3px rgba(28,25,23,.06);
}
.form-group label { font-size: var(--f-xs); color: var(--ink-sub); }
.form-group textarea { resize: vertical; min-height: 88px; }
.required { color: #dc2626; }
.optional { color: var(--muted); font-weight: 400; }
.form-disclaimer {
  font-size: var(--f-xs); color: var(--muted); text-align: center; margin-top: 12px;
  line-height: 1.5;
}

/* ---- Footer variants ---- */
.footer.compact { padding: var(--sp-lg) var(--sp-xl); text-align: center; }
.footer-brand-line { color: #fafaf9; font-size: var(--f-xs); margin-bottom: var(--sp-sm); }
.brand-accent { color: var(--amber); }

/* ---- 公安联网备案（页脚）---- */
.footer-mps {
  text-align: center; font-size: var(--f-xs);
  color: var(--footer-muted); margin-top: 10px;
  padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.08);
}
.footer-mps:empty { display: none; }
.mps-beian-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--footer-muted); text-decoration: none;
  transition: color .2s;
}
.mps-beian-link:hover { color: var(--amber); }
.mps-beian-icon { flex-shrink: 0; vertical-align: middle; }
.footer.compact .footer-mps { text-align: center; }

/* ==============================================
   MOBILE ADAPTATION (≤768px)
   ============================================== */

/* ---- Base mobile typography boost ---- */
@media (max-width: 768px) {
  html { font-size: 16px; -webkit-text-size-adjust: 100%; }
  body { line-height: 1.6; }

  /* ---- Section headers bigger ---- */
  .section-header .kicker { font-size: 13px; letter-spacing: 1.5px; }
  .section-header h2 { font-size: clamp(22px, 6vw, 30px); }

  /* ---- Buttons / touch targets ---- */
  .btn, .btn-primary, .btn-ghost, .btn-outline,
  a.btn, a.btn-primary, a.btn-ghost, a.btn-outline {
    min-height: 48px; font-size: 15px; padding: 12px 20px;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* ---- Hero ---- */
  /* Show hamburger, hide desktop nav */
  .nav-toggle-label { display: flex; }
  .nav .nav-links { display: none; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 8px 0;
    z-index: 150;
  }
  .nav-toggle:checked ~ .nav-links a {
    padding: 16px 24px; font-size: 18px;
    border-bottom: 1px solid var(--border);
    min-height: 44px; display: flex; align-items: center;
    position: relative; z-index: 160;
    pointer-events: auto;
  }
  .nav-toggle:checked ~ .nav-links a:last-child { border-bottom: none; }

  .nav { justify-content: space-between; padding: 0 16px; }
  .nav .logo { width: 127px; height: 35px; }

  /* Hero */
  .hero { padding: var(--sp-lg) 16px var(--sp-md); }
  .hero h1 { font-size: clamp(26px, 7vw, 38px); line-height: 1.15; }
  .hero .sub { font-size: clamp(15px, 4vw, 19px); padding: 0 16px; }

  /* Home hero → 移动端：照片做背景，文字居中叠在上方 */
  .home-hero {
    min-height: auto; min-height: 80svh;
  }
  .hero-photo-wrap img {
    object-position: center 25%;
  }
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(255,247,236,.94) 0%,
      rgba(255,247,236,.86) 42%,
      rgba(255,247,236,.78) 68%,
      rgba(255,247,236,.58) 88%,
      rgba(255,247,236,.30) 100%
    );
  }
  .home-hero-inner {
    padding: var(--sp-lg) 16px calc(var(--sp-lg) + 60px);
  }
  .home-hero-copy { max-width: none; text-align: center; }
  .home-hero .sub { max-width: none; margin-left: auto; margin-right: auto; }
  .home-hero .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .home-hero .hero-actions a { justify-content: center; padding: 15px; }
  .hero-eyebrow { justify-content: center; }
  .hero-trust { justify-content: center; gap: 14px 22px; }
  .hero-trust li { border-right: none; padding-right: 0; }

  /* 品牌戳在移动端保持小巧可见 */
  .hero-brand-stamp {
    right: 16px; bottom: 16px;
    padding: 7px 13px 7px 11px;
  }
  .hero-brand-stamp img { height: 18px; }

  /* Section padding */
  .section { padding: var(--sp-lg) 16px; }
  .section-alt { padding: var(--sp-lg) 16px; }

  /* Grids → single column */
  .cards-3, .steps-4, .timeline-grid, .wiki-cards,
  .process-steps, .contact-grid, .benefits-grid {
    grid-template-columns: 1fr; gap: var(--sp-sm);
  }

  /* Two-column layouts → stacked */
  .story-body { flex-direction: column; gap: var(--sp-sm); }
  .story-img { width: 100%; height: clamp(180px, 40vw, 300px); }
  .contact-layout { flex-direction: column; gap: var(--sp-sm); }
  .contact-side { width: 100%; }
  .brand-story { flex-direction: column; gap: var(--sp-sm); }
  .brand-story .story-visual { width: 100%; height: 240px; }

  /* Form */
  .form-section, .form-container { padding: var(--sp-sm); }
  .form-submit { padding: 16px; font-size: 18px; min-height: 52px; }

  /* CTA banner */
  .cta-banner { padding: var(--sp-lg) 16px; }

  /* Footer */
  .footer { padding: var(--sp-lg) 16px var(--sp-sm); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Store page columns */
  .stores-main { flex-direction: column; padding: var(--sp-sm) 12px 0; }
  .store-list { width: 100%; flex: none; }
  .store-list .card { padding: 14px 16px; }
  .store-list .list-title { padding: 16px; font-size: 18px; }

  /* Touch targets — 按钮已在顶部分配 48px，此处仅补表单元素 */
  input, textarea, select { min-height: 44px; font-size: 16px !important; }

  /* ---- Timeline (about page) mobil enhance ---- */
  .v-tl-year { font-size: clamp(24px, 8vw, 36px); }
  .v-tl-text { font-size: var(--f-base); line-height: 1.6; }
  .v-tl-card { padding: 16px; }

  /* ---- FAQ 移动端加大 ---- */
  .faq-question { font-size: var(--f-base); padding: 14px 16px; }
  .faq-answer { font-size: var(--f-sm); padding: 0 16px 14px; }

  /* ---- Store cards in stores.html 移动端加大 ---- */
  .store-card .card-content h3 { font-size: 16px; }
  .store-card .card-content .card-meta { font-size: 13px; }

  /* ---- CTA banner 按钮加大 ---- */
  .cta-banner .btn, .cta-banner .btn-primary,
  .cta-banner .btn-ghost, .cta-banner .btn-outline { min-height: 52px; font-size: 16px; }

  /* ---- Contact page form 加大 ---- */
  .contact-form .btn, .contact-form .btn-primary,
  .form-submit { min-height: 52px; font-size: 17px; }

  /* ---- 通用卡片内容加大 ---- */
  .benefit-card h3, .step-card h3 { font-size: var(--f-lg); }
  .benefit-card p, .step-card p { font-size: var(--f-base); }

  /* ---- 底部拇指导航（仅 ≤768px 显示）---- */
  /* 给固定底栏留出空间，避免遮住 footer / 末屏内容 */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  .mobile-tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    display: flex;
    align-items: stretch;
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid rgba(231,229,228,.9);
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  }
  .mobile-tabbar a {
    flex: 1 1 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--muted);
    font-size: 11px; font-weight: 600;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--dur-instant) var(--ease-out-quart);
  }
  .mobile-tabbar a svg { width: 23px; height: 23px; }
  .mobile-tabbar a.active { color: var(--amber); }
  .mobile-tabbar a:active { transform: scale(0.92); }
  /* 中间「预约」主按钮：上浮圆形，强调拇指热区 */
  .mobile-tabbar a.tab-cta {
    position: relative;
    color: #fff;
  }
  .mobile-tabbar a.tab-cta .tab-cta-circle {
    width: 46px; height: 46px; border-radius: 50%;
    margin-top: -18px;
    display: flex; align-items: center; justify-content: center;
    background: var(--amber);
    box-shadow: 0 6px 16px rgba(217,119,6,.4);
  }
  .mobile-tabbar a.tab-cta svg { width: 24px; height: 24px; }
  /* 底栏出现时的入场：从下方滑入（transform 仅，符合动效规则） */
  .mobile-tabbar.tabbar-enter {
    animation: tabbarSlideUp var(--dur-fast) var(--ease-out-quart) both;
  }
  @keyframes tabbarSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
  /* 大屏隐藏底栏 */
  @media (min-width: 769px) { .mobile-tabbar { display: none; } }

  /* ---- map-picker 弹窗：安全区（具体样式由 map-picker.js 内联注入）---- */
  #map-picker-overlay {
    z-index: 300;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ---- Small phone (≤480px) ---- */
@media (max-width: 480px) {
  .nav .logo { width: 104px; height: 29px; }
  .hero h1 { font-size: clamp(22px, 7vw, 32px); }
  .hero .sub { font-size: 14px; }
  .section-header h2 { font-size: clamp(20px, 6vw, 28px); }
  .qa-grid { grid-template-columns: 1fr; }
  .info-card { padding: var(--sp-sm); }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .footer-contact-link { justify-content: center; }

  /* 极小屏按钮微调 */
  .btn, .btn-primary, .btn-ghost, .btn-outline { min-height: 44px; font-size: 14px; padding: 10px 16px; }
  .cta-banner .btn, .cta-banner .btn-primary { min-height: 48px; font-size: 15px; }

  /* Timeline 更紧凑 */
  .v-tl-year { font-size: clamp(20px, 6vw, 28px); }
  .v-tl-card { padding: 12px 14px; }
}

/* ---- Accessibility ---- */
/* Keyboard focus visibility (polish + a11y) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect users who prefer reduced motion (also prevents hero text staying invisible) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-animate="fadeInUp"] { animation: none !important; opacity: 1 !important; }
  .mobile-tabbar.tabbar-enter { animation: none !important; transform: none !important; }
  #map-picker-overlay .mp-panel { transition: none !important; transform: none !important; }
  .btn::after, .btn-primary::after, .btn-ghost::after { display: none !important; }
  /* 禁用点按收缩反馈 */
  .btn:active, .store-card:active, .mp-btn:active,
  .nav-links a:active, .ms-card:active { transform: none !important; }
}

/* ---- 按钮点击涟漪（ink ripple）---- */
.btn, .btn-primary, .btn-ghost, .btn-outline {
  position: relative; overflow: hidden;
}
.btn::after, .btn-primary::after, .btn-ghost::after, .btn-outline::after {
  content: ""; position: absolute;
  left: var(--ripple-x, 50%); top: var(--ripple-y, 50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  transition: transform var(--dur-fast) var(--ease-out-quart), opacity var(--dur-fast) var(--ease-out-quart);
  pointer-events: none;
}
.btn.ripple::after, .btn-primary.ripple::after,
.btn-ghost.ripple::after, .btn-outline.ripple::after {
  opacity: .22; transform: translate(-50%, -50%) scale(14);
  transition: transform 0s, opacity var(--dur-fast) var(--ease-out-quart);
}

/* ---- Card interaction polish: consistent hover lift + amber depth ---- */
.step-card,
.contact-card,
.wiki-card,
.info-card,
.v-tl-card {
  transition: transform var(--dur-fast) var(--ease-out-quart),
              box-shadow var(--dur-fast) var(--ease-out-quart),
              border-color var(--dur-fast) var(--ease-out-quart);
}
.step-card:hover,
.contact-card:hover,
.wiki-card:hover,
.info-card:hover,
.v-tl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(217,119,6,.10);
  border-color: rgba(217,119,6,.35);
}
