/* =============================================================================
 * 天天美味铺 · Web 版 —— 首页样式 Home
 * -----------------------------------------------------------------------------
 * 仅承载首页独有区块的样式；通用组件见 components.css。
 * 区块顺序与 index.html 保持一致：
 *   Hero → 数据条 → 快捷入口 → 分类区 → Banner 轮播 → 招牌菜品
 *   → 磁吸叙事（深色） → 校园场景 → 口碑跑马灯
 * ========================================================================== */

/* =============================================================================
 * 1. Hero —— 全屏 3D 粒子背景 + 大字号标题
 * ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  isolation: isolate;
  padding-top: var(--nav-h);
}

/* Three.js 画布容器 */
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__stage canvas { display: block; width: 100%; height: 100%; }

/* CSS 兜底光斑：即使 CDN 未加载或 WebGL 不可用也保持高级观感 */
.hero__aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 78% 26%, rgba(255, 90, 54, .40), transparent 70%),
    radial-gradient(38% 42% at 20% 78%, rgba(255, 61, 46, .30), transparent 72%),
    radial-gradient(30% 34% at 55% 60%, rgba(120, 190, 255, .12), transparent 70%);
  filter: blur(24px);
  animation: wm-aurora 18s ease-in-out infinite alternate;
}

/* 顶部暗角，保证导航可读 */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 21, 25, .78) 0%, rgba(15, 21, 25, .20) 34%, rgba(15, 21, 25, .82) 100%),
    radial-gradient(80% 60% at 50% 50%, transparent 40%, rgba(15, 21, 25, .55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: clamp(72px, 12vh, 140px) var(--page-x) clamp(90px, 14vh, 150px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: var(--sp-12);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 8px 16px 8px 10px;
  border-radius: var(--r-full);
  background: var(--c-white-06);
  border: 1px solid var(--c-white-18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--c-white-88);
  letter-spacing: .02em;
}
.hero__eyebrow b { color: var(--c-brand-light); font-weight: var(--fw-semi); }
.hero__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 0 rgba(255, 90, 54, .7);
  animation: wm-pulse-ring 2.2s var(--ease-out-expo) infinite;
}

.hero__title {
  margin-top: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-mega);
  line-height: var(--lh-tight);
  text-wrap: balance;
}
.hero__title .grad {
  background: var(--grad-brand-h);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .thin { font-weight: var(--fw-light); color: var(--c-white-64); }

.hero__lead {
  margin-top: var(--sp-6);
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  color: var(--c-white-64);
}
.hero__lead strong { color: var(--c-white-88); font-weight: var(--fw-semi); }

.hero__actions {
  margin-top: var(--sp-10);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.hero__stats {
  margin-top: var(--sp-12);
  display: flex;
  gap: var(--sp-10);
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero__stat-num i { font-style: normal; font-size: .6em; color: var(--c-brand-light); font-weight: var(--fw-semi); }
.hero__stat-label { margin-top: 4px; font-size: var(--fs-xs); color: var(--c-white-34); letter-spacing: var(--ls-wide); }

/* --- 右侧：漂浮玻璃卡组（体现"外卖"业务属性） --- */
.hero__deck {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__float {
  position: absolute;
  width: min(330px, 84%);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .42), var(--sh-inset-hair);
  animation: wm-float 7s var(--ease-out-expo) infinite;
}
.hero__float--dish { top: 4%; left: 0; animation-delay: -.4s; }
.hero__float--order { bottom: 4%; right: 0; animation-delay: -3.2s; animation-duration: 8.4s; }

.hero__float-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.hero__float-title { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: #fff; }

.hero__dish-row { display: flex; align-items: center; gap: var(--sp-4); }
.hero__dish-thumb {
  width: 58px; height: 58px;
  flex: 0 0 auto;
  border-radius: var(--r-md);
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: var(--sh-brand);
}
.hero__dish-name { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: #fff; }
.hero__dish-sub { margin-top: 2px; font-size: var(--fs-xs); color: var(--c-white-34); }
.hero__dish-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--c-brand-light);
  font-variant-numeric: tabular-nums;
}

.hero__timeline { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.hero__timeline span {
  height: 4px; flex: 1;
  border-radius: var(--r-full);
  background: var(--c-white-10);
  overflow: hidden;
  position: relative;
}
.hero__timeline span::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-brand-h);
  transform-origin: 0 50%;
  animation: wm-grow-x 2.6s var(--ease-out-expo) infinite;
  animation-delay: inherit;
}
.hero__timeline span:nth-child(1)::after { animation-delay: 0s; }
.hero__timeline span:nth-child(2)::after { animation-delay: .5s; }
.hero__timeline span:nth-child(3)::after { animation-delay: 1s; }

/* --- 滚动提示 --- */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-white-34);
}
.hero__scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--c-white-34), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; inset-inline: 0; top: -60%;
  height: 60%;
  background: var(--grad-brand-h);
  animation: wm-scroll-hint 2.1s var(--ease-out-expo) infinite;
}

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero__deck { min-height: 340px; }
  .hero__float { width: min(320px, 88%); }
}

/* =============================================================================
 * 2. 数据条 Stats Bar
 * ========================================================================== */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--sp-16) * -1);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: var(--sp-6) var(--sp-4);
  border-radius: var(--r-xl);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(var(--glass-saturate));
  box-shadow: var(--sh-4);
}
.stat {
  padding-inline: var(--sp-5);
  border-right: 1px solid var(--c-line);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
}
.stat__num i { font-style: normal; font-size: .58em; color: var(--c-brand); }
.stat__label { margin-top: 4px; font-size: var(--fs-xs); color: var(--c-ink-55); letter-spacing: var(--ls-wide); }

@media (max-width: 760px) {
  .stats-bar { margin-top: var(--sp-10); }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--c-line); padding-block: var(--sp-4); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* =============================================================================
 * 3. 分类区 Category
 * ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3) var(--ease-out-expo), border-color var(--dur-3);
}
/* 悬停时左上角渗出的品牌色光斑 */
.cat::before {
  content: "";
  position: absolute;
  top: -40%; right: -30%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 54, .22), transparent);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease-out-expo);
}
.cat:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: rgba(255, 90, 54, .3); }
.cat:hover::before { opacity: 1; }

.cat__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  font-size: 1.5rem;
  transition: transform var(--dur-3) var(--ease-out-back);
}
.cat:hover .cat__icon { transform: scale(1.1) rotate(-6deg); }

.cat__name { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.cat__desc { font-size: var(--fs-xs); color: var(--c-ink-55); line-height: var(--lh-normal); }
.cat__meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-ink-40);
}
.cat__go {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--c-ink-07);
  color: var(--c-ink);
  transition: background var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out-back);
}
.cat:hover .cat__go { background: var(--grad-brand); color: #fff; transform: translateX(3px); }
.cat__go svg { width: 15px; height: 15px; }

/* 快捷入口（场景按钮行） */
.quick-row {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

/* =============================================================================
 * 4. 招牌菜品 Dish Grid
 * ========================================================================== */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3) var(--ease-out-expo), border-color var(--dur-3);
}
.dish:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: rgba(255, 90, 54, .3); }

/* 图片区：真实图片缺失时展示渐变 + emoji 占位 */
.dish__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grad-cream);
}
.dish__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-5) var(--ease-out-expo);
}
.dish:hover .dish__img { transform: scale(1.07); }

.dish__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(255, 90, 54, .22), transparent 70%),
    var(--grad-cream);
}

.dish__tags { position: absolute; top: var(--sp-4); left: var(--sp-4); display: flex; gap: var(--sp-2); }
.dish__hot {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(23, 32, 37, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semi);
  display: inline-flex; align-items: center; gap: 4px;
  letter-spacing: var(--ls-wide);
}

.dish__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.dish__name { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.dish__desc {
  font-size: var(--fs-xs);
  color: var(--c-ink-55);
  line-height: var(--lh-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish__meta { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-xs); color: var(--c-ink-40); }
.dish__rating { display: inline-flex; align-items: center; gap: 4px; color: var(--c-ink-68); font-weight: var(--fw-semi); }

.dish__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.dish__price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  color: var(--c-brand-red);
  font-size: 1.22rem;
  font-variant-numeric: tabular-nums;
}
.dish__price small { font-size: .62em; font-weight: var(--fw-semi); }
.dish__price del { font-size: .58em; color: var(--c-ink-40); font-weight: var(--fw-regular); }

/* 圆形加号按钮 */
.dish__add {
  position: relative;
  width: 40px; height: 40px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
  transition: transform var(--dur-2) var(--ease-out-back), box-shadow var(--dur-3);
}
.dish__add:hover { transform: scale(1.12) rotate(90deg); box-shadow: var(--sh-brand-lg); }
.dish__add:active { transform: scale(.94); }
.dish__add svg { width: 18px; height: 18px; }
/* 加入成功后的对勾反馈 */
.dish__add.is-done { background: var(--c-ink); box-shadow: var(--sh-2); }
.dish__add.is-done svg { animation: wm-pop var(--dur-3) var(--ease-out-back) 1; }

/* 骨架屏（数据加载中） */
.skeleton {
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--c-cream-deep) 30%, rgba(255, 255, 255, .85) 50%, var(--c-cream-deep) 70%);
  background-size: 240% 100%;
  animation: wm-skeleton 1.4s linear infinite;
  min-height: 320px;
}

/* =============================================================================
 * 5. 磁吸叙事区 Pinned Story（深色）
 * ========================================================================== */
.story {
  position: relative;
  background: var(--grad-ink);
  color: #fff;
  overflow: hidden;
}
/* 用 grid 让左侧文案 sticky，右侧面板随滚动切换 —— 磁吸式段落 */
.story__inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  padding-block: var(--section-y);
}
.story__aside { position: sticky; top: calc(var(--nav-h-sm) + 48px); }
.story__title {
  margin-top: var(--sp-4);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-mega);
  line-height: var(--lh-snug);
}
.story__title .grad { background: var(--grad-brand-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__desc { margin-top: var(--sp-5); color: var(--c-white-64); line-height: var(--lh-loose); max-width: 42ch; }

.story__progress {
  margin-top: var(--sp-8);
  display: flex; align-items: center; gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-white-34);
  letter-spacing: var(--ls-wide);
}
.story__bar { flex: 1; height: 2px; background: var(--c-white-10); border-radius: var(--r-full); overflow: hidden; }
.story__bar i { display: block; height: 100%; width: 0; background: var(--grad-brand-h); }

.story__steps { display: flex; flex-direction: column; gap: var(--sp-6); }
.step {
  position: relative;
  padding: var(--sp-8) var(--sp-8) var(--sp-8) calc(var(--sp-8) + 46px);
  border-radius: var(--r-xl);
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .30);
  /* 未激活时压低存在感，随滚动进入视口后点亮 */
  opacity: .42;
  transform: translateY(14px) scale(.985);
  transition: opacity var(--dur-4) var(--ease-out-expo), transform var(--dur-4) var(--ease-out-expo), border-color var(--dur-4);
}
.step.is-live { opacity: 1; transform: none; border-color: rgba(255, 90, 54, .34); }

.step__idx {
  position: absolute;
  left: var(--sp-8);
  top: var(--sp-8);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  box-shadow: var(--sh-brand);
}
.step__title { font-size: var(--fs-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.step__desc { margin-top: var(--sp-3); color: var(--c-white-64); line-height: var(--lh-loose); font-size: var(--fs-sm); }
.step__chips { margin-top: var(--sp-5); display: flex; gap: var(--sp-2); flex-wrap: wrap; }

@media (max-width: 940px) {
  .story__inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .story__aside { position: static; }
  .step { padding: var(--sp-6) var(--sp-6) var(--sp-6) calc(var(--sp-6) + 42px); }
  .step__idx { left: var(--sp-6); top: var(--sp-6); }
}

/* =============================================================================
 * 6. 校园场景区 Campus Scenes
 * ========================================================================== */
.scene-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--sp-5);
}
.scene {
  position: relative;
  min-height: 200px;
  padding: var(--sp-7);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--grad-ink-2);
  isolation: isolate;
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3);
}
.scene:hover { transform: translateY(-6px); box-shadow: var(--sh-4); }
.scene::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(70% 80% at 85% 15%, rgba(255, 90, 54, .38), transparent 68%);
  transition: opacity var(--dur-4);
  opacity: .8;
}
.scene:hover::after { opacity: 1; }
.scene--wide { grid-row: span 2; min-height: 420px; }
.scene--brand { background: var(--grad-brand); }
.scene--brand::after { background: radial-gradient(70% 80% at 85% 15%, rgba(255, 255, 255, .28), transparent 68%); }

.scene__title { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.scene__desc { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-white-64); line-height: var(--lh-loose); max-width: 40ch; }
.scene--brand .scene__desc { color: rgba(255, 255, 255, .86); }
.scene__tag { position: absolute; top: var(--sp-5); left: var(--sp-7); }

@media (max-width: 940px) {
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene--wide { grid-column: span 2; grid-row: auto; min-height: 260px; }
}
@media (max-width: 600px) {
  .scene-grid { grid-template-columns: 1fr; }
  .scene--wide { grid-column: auto; }
}

/* =============================================================================
 * 7. 口碑 / 尾段 CTA
 * ========================================================================== */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.quote {
  padding: var(--sp-7);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-3) var(--ease-out-expo), box-shadow var(--dur-3);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.quote__text { font-size: var(--fs-sm); line-height: var(--lh-loose); color: var(--c-ink-68); }
.quote__who { margin-top: var(--sp-5); display: flex; align-items: center; gap: var(--sp-3); }
.quote__avatar {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}
.quote__name { font-size: var(--fs-sm); font-weight: var(--fw-semi); }
.quote__role { font-size: var(--fs-2xs); color: var(--c-ink-40); }

/* 尾段行动号召 */
.cta {
  position: relative;
  padding: clamp(40px, 7vw, 88px) clamp(28px, 6vw, 76px);
  border-radius: var(--r-2xl);
  background: var(--grad-ink);
  color: #fff;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 140%;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 20% 30%, rgba(255, 90, 54, .40), transparent 70%),
    radial-gradient(45% 55% at 82% 70%, rgba(255, 61, 46, .32), transparent 72%);
  animation: wm-aurora 16s ease-in-out infinite alternate;
}
.cta__title { font-size: var(--fs-h2); font-weight: var(--fw-bold); letter-spacing: var(--ls-mega); }
.cta__desc { margin-top: var(--sp-4); color: var(--c-white-64); font-size: var(--fs-lead); }
.cta__actions { margin-top: var(--sp-8); display: flex; justify-content: center; gap: var(--sp-3); flex-wrap: wrap; }

/* =============================================================================
 * 8. 菜品区：统一「双列」栅格 + 响应式节奏
 *    桌面端用大卡片（16:10 图区，向苹果产品阵列靠拢），
 *    移动端收窄为紧凑双列（贴近主流外卖 App 的手感）。
 * ========================================================================== */
.dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 1000px) {
  .dish-grid { gap: var(--sp-8); }
  .dish__media { aspect-ratio: 16 / 10; }
  .dish__body { padding: var(--sp-6); gap: var(--sp-3); }
  .dish__name { font-size: var(--fs-h3); }
  .dish__desc { font-size: var(--fs-sm); }
}

@media (max-width: 720px) {
  .dish-grid { gap: var(--sp-4); }
  .dish__media { aspect-ratio: 1 / 1; }
  .dish__body { padding: var(--sp-4) var(--sp-4) var(--sp-5); gap: 6px; }
  .dish__name { font-size: .98rem; line-height: 1.32; }
  .dish__desc { display: none; }              /* 双列窄卡下隐藏描述，避免拥挤 */
  .dish__meta { font-size: var(--fs-2xs); gap: var(--sp-2); }
  .dish__price { font-size: 1.02rem; }
  .dish__add { width: 34px; height: 34px; }
  .dish__add svg { width: 16px; height: 16px; }
  .dish__ph { font-size: 2.4rem; }
  .dish__tags { top: var(--sp-3); left: var(--sp-3); }
  .dish__hot { top: var(--sp-3); right: var(--sp-3); padding: 4px 8px; }
  .dish__tags .badge { font-size: .68rem; padding: 3px 8px; }
}

/* 菜品区底部的说明文字（图片占位说明等） */
.dish-note {
  margin-top: var(--sp-8);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-ink-40);
  line-height: var(--lh-loose);
}
