/* ==========================================================================
   gandehao.cn 餐饮行业网站建设页专属样式 · canyin-jianzhan.css
   依赖：global.css
   独有签名：大圆角图容器 Hero（文字压在图上方）+ 做法对比表
   ========================================================================== */

/* ---------- ① 大圆角容器 Hero ---------- */
.cy-hero { background: linear-gradient(150deg, var(--c-sky), var(--c-mint)); padding: clamp(64px, 9vw, 100px) 0 clamp(50px, 7vw, 80px); }
.cy-hero h1 { font-size: clamp(30px, 4.4vw, 50px); margin: 14px 0 16px; line-height: 1.3; }
.cy-hero > .container > p { color: var(--c-muted); max-width: 640px; line-height: 1.95; }
.cy-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.cy-hero-media {
  margin-top: clamp(36px, 5vw, 56px);
  border-radius: 60px 60px 24px 24px; overflow: hidden; box-shadow: var(--sh-lg);
}
.cy-hero-media img { width: 100%; height: clamp(240px, 36vw, 420px); object-fit: cover; object-position: center 42%; }

/* ---------- ② 痛点卡 ---------- */
.cy-pain-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cy-pain-card::after {
  content: ""; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px;
  border-radius: 50%; background: var(--c-green-soft); opacity: .6;
}
.cy-pain-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.cy-pain-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.cy-pain-card p { font-size: 14.5px; color: var(--c-muted); line-height: 1.85; position: relative; z-index: 1; }

/* ---------- ③ 对比表 ---------- */
.cy-table-wrap { max-width: 900px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }

/* ---------- ④ 方案列表 ---------- */
.cy-svc-list { display: grid; gap: 12px; margin: 20px 0 26px; }
.cy-svc-list li {
  padding: 13px 16px; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-md); font-size: 15px; line-height: 1.8; color: var(--c-muted);
}
.cy-svc-list li b { color: var(--c-ink); }

/* ---------- ⑤ 案例卡 ---------- */
.cy-case {
  display: block; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cy-case:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.cy-case-media { height: 168px; overflow: hidden; }
.cy-case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cy-case:hover .cy-case-media img { transform: scale(1.06); }
.cy-case-body { padding: 16px 20px 20px; }
.cy-case-body h3 { font-size: 16px; margin-bottom: 4px; }
.cy-case-body p { font-size: 13.5px; color: var(--c-muted); }

/* ---------- ⑥ FAQ 链接 ---------- */
.faq-a a { color: var(--c-blue-deep); text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 560px) {
  .cy-hero-media { border-radius: 32px 32px 16px 16px; }
  .cy-hero h1 br { display: none; }
}

/* ---------- 交付保障卡 ---------- */
.cy-assure { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--sh-sm); transition: transform .3s ease, box-shadow .3s ease; }
.cy-assure:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.cy-assure h3 { font-size: 16px; margin-bottom: 6px; }
.cy-assure p { font-size: 13.5px; color: var(--c-muted); line-height: 1.8; }


/* ---------- 对比表列宽 ---------- */
.cy-table-wrap th:nth-child(1) { width: 22%; }
.cy-table-wrap th:nth-child(2) { width: 36%; }
.cy-table-wrap th:nth-child(3) { width: 42%; }

