/* =========================================================
   厨师到家 (CKSSM) — 纯静态官网样式 · 黑金有光泽奢华主题
   设计基调：近黑暖底 #0d0c0b + 金属金 #d4af37 + 暖白文字
   移动端优先响应式（手机 ≤768 / 平板 768-1023 / 桌面 ≥1024）
   ========================================================= */

:root {
  --color-bg: #0d0c0b;
  --color-bg-2: #15120f;
  --color-bg-3: #1c1814;
  --color-ink: #000000;
  --color-gold: #d4af37;
  --color-gold-soft: #f3dca0;
  --color-gold-deep: #a8821f;
  --color-ivory: #f7f0e3;
  --color-text: #ece4d6;
  --color-text-soft: #b2a892;
  --color-line: rgba(212, 175, 55, 0.22);
  --color-line-strong: rgba(212, 175, 55, 0.5);

  --gold-gradient: linear-gradient(135deg, #f6e3ad 0%, #d4af37 42%, #b8860b 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(246, 227, 173, 0.18), rgba(212, 175, 55, 0.05));

  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --max-width: 1180px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.55);
  --nav-height: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.78;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(212, 175, 55, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(212, 175, 55, 0.06), transparent 55%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ivory);
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

strong {
  color: var(--color-gold-soft);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 12, 11, 0.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--color-line);
  background: rgba(13, 12, 11, 0.92);
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--color-ivory);
  /* 镀金立体光晕：暗描边 + 金色辉光，提升质感 */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 7px rgba(212, 175, 55, 0.35));
  transition: filter 0.3s var(--ease);
}

.nav__logo-text {
  /* 抛光金属金：明暗交替反光带，模拟镀金质感 */
  background: linear-gradient(
    100deg,
    #b8860b 0%,
    #f6e3ad 22%,
    #d4af37 42%,
    #8a6d1f 58%,
    #f9e9b8 78%,
    #c9962e 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldShimmer 7s linear infinite;
}

.nav__logo-dot {
  margin: 0 0.3em;
  /* 间隔点同样使用金属金质感 */
  background: linear-gradient(100deg, #f6e3ad 0%, #d4af37 50%, #b8860b 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goldShimmer 7s linear infinite;
}

@keyframes goldShimmer {
  from { background-position: 0% 50%; }
  to { background-position: 220% 50%; }
}

.nav__logo:hover {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 16px rgba(212, 175, 55, 0.65));
}

.nav__menu {
  list-style: none;
  display: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  font-size: 0.98rem;
  color: var(--color-text);
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--color-gold-soft);
}

.nav__link:hover::after {
  width: 100%;
}

/* 汉堡按钮（移动端显示） */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  cursor: pointer;
}

.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-gold);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded='true'] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单展开态（汉堡按钮触发 .open） */
@media (max-width: 767px) {
  .nav__menu.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13, 12, 11, 0.97);
    padding: 14px 20px 22px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-line);
  }

  .nav__menu.open .nav__link {
    padding: 12px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-line);
  }

  .nav__menu.open .nav__link:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 0 16px 0;
  }

  .hero-carousel {
    aspect-ratio: 16 / 9;
    --hero-radius: 14px;
  }

  /* 下单方式标签：窄屏改为单行横向滚动，避免胶囊被拆成两行 */
  .order-tabs__nav {
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .order-tabs__nav::-webkit-scrollbar {
    display: none;
  }
  .order-tab {
    flex: 0 0 auto;
    padding: 11px 20px;
    font-size: 0.95rem;
  }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn--primary {
  color: #1a1407;
  background: var(--gold-gradient);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 26px rgba(212, 175, 55, 0.32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 34px rgba(212, 175, 55, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--color-gold-soft);
  border: 1px solid var(--color-line-strong);
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.2);
}

/* ---------- Hero 首屏 ---------- */
.hero {
  position: relative;
  color: var(--color-ivory);
  padding: 0 24px 0;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, #0d0c0b 0%, #000000 100%);
}

/* 轮播容器：无边框、无阴影，顶部贴导航、底部贴下方元素 */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background: #0d0c0b;
}

.hero-carousel__track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
}

/* 图片完整展示，不裁剪海报上的文字 */
.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 72px 0;
}

.section--why {
  background: var(--color-bg);
}

.section--order {
  background: var(--color-bg-2);
}

.section.section--qr {
  padding-top: 0;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(212, 175, 55, 0.10), transparent 60%),
    var(--color-bg);
  color: var(--color-ivory);
}

.section--process {
  background: var(--color-bg-2);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.section__eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.6rem, 4.4vw, 2.3rem);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section__title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 54px;
  height: 2px;
  background: var(--gold-gradient);
}

.section__lead {
  color: var(--color-text-soft);
  font-size: 1.02rem;
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: 22px;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--4 {
  grid-template-columns: 1fr;
}

/* ---------- 优势卡片 ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

/* 顶部光泽细线 */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

/* 悬停光泽扫光（对角高光划过，呼应黑金质感） */
.card::after,
.order-card::after,
.timeline__step::after,
.qr-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}

/* 桌面悬停：明显上浮 + 金色光环 + 图标提亮（用 .section 提高优先级，避免被 .reveal 的 transform:none 覆盖） */
.section .card:hover {
  transform: translateY(-8px);
  border-color: var(--color-line-strong);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 32px rgba(212, 175, 55, 0.16);
}

.section .card:hover .card__icon {
  transform: translateY(-2px) scale(1.06);
  color: var(--color-gold-soft);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.55), 0 0 20px rgba(212, 175, 55, 0.38);
}

.section .card:hover::after {
  left: 130%;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-gold);
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.card__text {
  color: var(--color-text-soft);
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- 下单方式卡片 ---------- */
.order-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.order-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.section .order-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-line-strong);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4), 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 32px rgba(212, 175, 55, 0.16);
}

.section .order-card:hover::after {
  left: 130%;
}

.order-card--feature {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #1a1407;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 18px 44px rgba(212, 175, 55, 0.28);
}

.order-card--feature::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.order-card--feature .order-card__title,
.order-card--feature .order-card__desc,
.order-card--feature .order-card__scene {
  color: #1a1407;
}

.order-card--feature .order-card__title::after {
  background: rgba(26, 20, 7, 0.5);
}

.order-card--feature .order-card__scene-label {
  color: #5a4410;
}

.order-card--feature .tag {
  color: #1a1407;
  border-color: rgba(26, 20, 7, 0.35);
  background: rgba(255, 255, 255, 0.25);
}

.order-card__title {
  font-size: 1.5rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}

.order-card__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--gold-gradient);
}

.order-card__desc {
  color: var(--color-text-soft);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.order-card--feature .order-card__desc {
  color: #3a2c0c;
}

.order-card__scene {
  font-size: 0.92rem;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}

.order-card__scene-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-right: 8px;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.tag {
  font-size: 0.82rem;
  padding: 5px 12px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-text-soft);
  background: rgba(212, 175, 55, 0.06);
}

/* ---------- 三种下单方式（标签切换式，替代卡片） ---------- */
.order-tabs {
  max-width: 760px;
  margin: 0 auto;
}

.order-tabs__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 38px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-line);
  border-radius: 999px;
}

.order-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--color-text-soft);
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}

.order-tab:hover {
  color: var(--color-ivory);
}

.order-tab:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.order-tab.is-active {
  color: #1a1407;
  background: var(--gold-gradient);
  box-shadow: var(--shadow-sm);
}

.order-tabs__panels {
  position: relative;
}

.order-panel {
  display: none;
  text-align: center;
  animation: orderFade .35s ease both;
}

.order-panel.is-active {
  display: block;
}

@keyframes orderFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.order-panel__index {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.18);
  margin-bottom: 4px;
}

.order-panel__title {
  font-size: 1.7rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.order-panel__title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 44px;
  height: 2px;
  background: var(--gold-gradient);
}

.order-panel .order-card__desc {
  color: var(--color-text-soft);
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto 18px;
}

.order-panel .order-card__scene {
  font-size: 0.94rem;
  color: var(--color-text-soft);
  margin-bottom: 20px;
}

.order-panel .tag-list {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .order-panel { animation: none; }
}

/* ---------- 二维码区 ---------- */
.qr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 560px;
  margin: 0 auto;
}

.qr-card {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.qr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.qr-card__link {
  display: block;
}

.qr-card__img {
  width: 196px;
  height: 196px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 0 auto 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.qr-card__caption {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-ivory);
  margin-bottom: 6px;
}

.qr-card__hint {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin: 0 0 12px;
}

.qr-card__btn {
  margin-top: 4px;
}

.qr-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: rgba(236, 228, 214, 0.7);
}

.qr-note strong {
  color: var(--color-gold-soft);
}

/* ---------- 卡片交互态：悬停 / 触屏点按 ---------- */
/* 服务流程步骤、二维码卡片的桌面悬停 */
.section .timeline__step:hover .timeline__num {
  transform: scale(1.07);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.18), 0 10px 26px rgba(0, 0, 0, 0.5);
}

.section .timeline__step:hover .timeline__title {
  color: var(--color-gold);
}

.section .qr-card:hover {
  border-color: var(--color-line-strong);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.45), 0 26px 54px rgba(0, 0, 0, 0.6), 0 0 34px rgba(212, 175, 55, 0.18);
}

.section .qr-card:hover .qr-card__img {
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.5), 0 0 24px rgba(212, 175, 55, 0.22);
}

.section .qr-card:hover::after {
  left: 130%;
}

/* 触屏点按：按下瞬间的按压反馈（桌面鼠标按下同样生效，通用） */
.section .card:active,
.section .order-card:active,
.section .qr-card:active {
  transform: scale(0.985);
  transition-duration: 0.08s;
}

/* 触屏点按后保持的高亮态（由 JS 在 (hover:none) 设备上切换 .is-active 实现"点击效果"） */
.section .card.is-active,
.section .order-card.is-active,
.section .qr-card.is-active {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.5), 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
}

.section .timeline__step.is-active .timeline__num {
  transform: scale(1.07);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2), 0 10px 26px rgba(0, 0, 0, 0.5);
}

.section .timeline__step.is-active .timeline__title {
  color: var(--color-gold);
}

/* ---------- 服务流程：上下竖向流程（整体左右居中） ---------- */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 560px;
  position: relative;
  text-align: center;
}

.timeline__step {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

/* 关闭卡片式扫光（末项无连接器，扫光伪元素直接隐藏） */
.timeline__step::after {
  display: none;
}

/* 节点之间的居中竖线连接器（位于每项底部的留白中，不压文字） */
.timeline__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.12));
  z-index: 0;
}

.timeline__num {
  position: relative;
  z-index: 2;
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1407;
  -webkit-text-fill-color: #1a1407;
  background: var(--gold-gradient);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.10), 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform .25s ease, box-shadow .25s ease;
}

.timeline__title {
  font-size: 1.2rem;
  margin: 0 0 8px;
  text-align: center;
}

.timeline__text {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 420px;
  text-align: center;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #060504;
  color: rgba(236, 228, 214, 0.82);
  padding: 56px 0 26px;
  border-top: 1px solid var(--color-line);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.site-footer__slogan {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.site-footer__desc {
  font-size: 0.95rem;
  max-width: 460px;
  color: rgba(236, 228, 214, 0.7);
}

.site-footer__desc strong {
  color: var(--color-gold-soft);
}

.site-footer__title {
  font-size: 1.15rem;
  color: var(--color-ivory);
  margin-bottom: 14px;
}

.site-footer__contact p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.site-footer__contact a {
  color: var(--color-gold-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

.site-footer__contact a:hover {
  border-bottom-color: var(--color-gold-soft);
}

.site-footer__links {
  margin-top: 14px;
  font-size: 0.9rem;
}

.site-footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 0.82rem;
  color: rgba(236, 228, 214, 0.5);
}

.site-footer__bottom p {
  margin: 0;
}

.footer__beian {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer__beian:hover,
.footer__beian:focus-visible {
  color: var(--color-gold-soft);
  border-bottom-color: var(--color-gold-soft);
}

/* ---------- 滚动渐显动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 不支持 IntersectionObserver 时直接显示（JS 降级） */
.no-io .reveal {
  opacity: 1;
  transform: none;
}

/* 尊重用户的减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card,
  .order-card,
  .timeline__step,
  .qr-card {
    transition: none;
  }
  .nav__logo-text,
  .nav__logo-dot {
    animation: none;
    background-size: 100% 100%;
  }
  .card::after,
  .order-card::after,
  .timeline__step::after,
  .qr-card::after {
    display: none;
  }
}

/* =========================================================
   响应式：平板 (≥768px)
   ========================================================= */
@media (min-width: 768px) {
  .section {
    padding: 92px 0;
  }

  .hero {
    padding: 0 32px 0;
  }

  /* 平板起显示横向导航，隐藏汉堡 */
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    display: flex;
    gap: 30px;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .qr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
  }
}

/* =========================================================
   响应式：桌面 (≥1024px)
   ========================================================= */
@media (min-width: 1024px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 0 32px;
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .order-card {
    padding: 40px 32px;
  }
}
