/* ========== 餐饮行业页面 ========== */
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #252b3a; background: #fff; }
.w1440 { max-width: 1440px;
  margin: 0 auto; padding: 0 24px;
}

@media (max-width: 1500px) {
  .w1440  {
    max-width: 1200px;
  }
}

/* ========== Banner（全局统一标准：500px + object-fit:cover 铺满） ========== */
.en-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;

  background: linear-gradient(90deg, #0a2f66, #1857b8);}
.en-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: transparent;
  margin: 0;
}
.banner-text {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(5, 28, 62, 0.82) 0%, rgba(5, 28, 62, 0.55) 45%, rgba(5, 28, 62, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.banner-text .w1440 {
  padding-top: 20px;
  padding-bottom: 20px;
}
.banner-text h1 {
  font-size: 44px;
  color: #fff;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.25;
}
.banner-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 36px 0;
}
.banner-btn {
  display: inline-block;
  background: #1a6eff;
  color: #fff;
  padding: 14px 44px;
  font-size: 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}
.banner-btn:hover { background: #0f5be0; }

/* ========== Section通用 ========== */
.pain-section,
.help-section,
.blueprint-section,
.path-section,
.faq-section {
  padding: 80px 0;
}
.pain-section h2,
.help-section h2,
.blueprint-section h2,
.path-section h2,
.faq-section h2 {
  text-align: center;
  font-size: 36px;
  color: #1a2b4a;
  margin: 0 0 50px 0;
  font-weight: 700;
  line-height: 1.3;
}
.pain-section, .blueprint-section, .faq-section { background: #fff; }
.help-section, .path-section { background: #f5f7fb; }

/* ========== 痛点区域（3列） ========== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pain-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.pain-card {
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pain-icon {
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pain-icon img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
  margin: 0 auto;
}
.pain-text {
  width: 100%;
}
.pain-card h3 {
  font-size: 17px;
  color: #1a2b4a;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.5;
  text-align: center;
}
.pain-card p {
  font-size: 13px;
  color: #5a6a80;
  line-height: 1.85;
  margin: 0;
}

/* ========== 帮助标签（6悬停切换，Tab圆角6px父容器justify-center） ========== */
.help-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.help-tab {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #4a5a70;
  background: #eef1f6;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.help-tab:hover { color: #1a6eff; }
.help-tab.active {
  background: #1a6eff;
  color: #fff;
}
.help-content {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 2px 16px rgba(0, 60, 120, 0.05);
}
.help-content.active {
  display: flex;
  align-items: center;
  gap: 48px;
}
.help-text { flex: 1; min-width: 0; }
.help-text h3 {
  font-size: 24px;
  color: #1a2b4a;
  font-weight: 700;
  margin: 0 0 20px 0;
}
.help-text p {
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.85;
  margin: 0 0 20px 0;
}
.help-text ul {
  margin: 0 0 28px 0;
  padding-left: 22px;
}
.help-text ul li {
  font-size: 15px;
  color: #5a6a80;
  line-height: 1.9;
  list-style: none;
  position: relative;
  padding-left: 18px;
}
.help-text ul li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: #1a6eff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}
.consult-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #1a6eff;
  border-radius: 4px;
  color: #1a6eff;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.consult-btn:hover {
  background: #1a6eff;
  color: #fff;
}
.help-image {
  flex: 1.4;
  border-radius: 8px;
  overflow: hidden;
}
.help-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========== 蓝图 ========== */
.blueprint-section p {
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}
.blueprint-img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ========== 转型路径（8Tab悬停切换） ========== */
.path-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  justify-content: center;
}
.path-tab {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #4a5a70;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.path-tab:hover { color: #1a6eff; }
.path-tab.active {
  background: transparent;
  color: #1a6eff;
  border-bottom-color: #1a6eff;
}
.path-content {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0, 60, 120, 0.05);
}
.path-content.active {
  display: flex;
  align-items: center;
  gap: 4px;
}
.path-text { flex-grow: 0.55; flex-shrink: 1; flex-basis: 0%; min-width: 0; padding-left: 40px; }
.path-text h3 {
  font-size: 24px;
  color: #1a2b4a;
  font-weight: 700;
  margin: 0 0 20px 0;
}
.path-text p {
  font-size: 16px;
  color: #5a6a80;
  line-height: 1.85;
  margin: 0 0 20px 0;
}
.path-text ul {
  margin: 0 0 28px 0;
  padding-left: 22px;
}
.path-text ul li {
  font-size: 15px;
  color: #5a6a80;
  line-height: 1.9;
  list-style: none;
  position: relative;
  padding-left: 18px;
}
.path-text ul li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: #1a6eff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}
.path-image {
  flex-grow: 3.0;
  flex-shrink: 1;
  flex-basis: 0%;
  border-radius: 8px;
  overflow: hidden;
  padding: 5mm 5mm 5mm 0;
  background: #fff;
}
.path-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: left center;
}

/* ========== 客户案例轮播（2个：窑鸡王 + 爸爸糖，左右箭头切换） ========== */
.case-section-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.case-carousel {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #0f2d5f;
  overflow: hidden;
}
.case-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 520px;
  padding: 80px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  background: #0f2d5f center center / cover no-repeat;
  overflow: hidden;
}
.case-item.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.case-item.case-1 {
  background-image: url('/static/restaurant_img/case1_bg.jpg?v=2');
}
.case-item.case-2 {
  background-image: url('/static/restaurant_img/case2_bg.jpg?v=2');
}
.case-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg,
    rgba(15, 45, 95, 0.85) 0%,
    rgba(15, 45, 95, 0.55) 40%,
    rgba(15, 45, 95, 0.35) 65%,
    rgba(15, 45, 95, 0.15) 100%);
  z-index: 1;
}
.case-item .w1440 {
  position: relative;
  z-index: 2;
  margin-right: auto;
}
.case-content {
  max-width: 800px;
  color: #fff;
  text-align: left;
}
.case-content h2 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  margin: 0 0 16px 0;
  line-height: 1.2;
}
.case-content h3 {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  margin: 0 0 24px 0;
  line-height: 1.3;
}
.case-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.85;
  margin: 0 0 36px 0;
  text-align: left;
}
.case-btn {
  display: inline-block;
  padding: 12px 36px;
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.case-btn:hover {
  background: #fff;
  color: #0f2d5f;
}
.case-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: rgba(15, 45, 95, 0.25);
  color: #fff;
  font-size: 30px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.case-arrow:hover {
  background: rgba(255,255,255,0.95);
  color: #0f2d5f;
  border-color: #fff;
}
.case-arrow.case-prev { left: 32px; }
.case-arrow.case-next { right: 32px; }
.case-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.case-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}
.case-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* ========== FAQ ========== */
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-list > li { border-bottom: 1px solid #eef1f6; }
.faq-list > li:first-child { border-top: 1px solid #eef1f6; }
.faq-item {
  display: flex;
  align-items: flex-start;
  padding: 28px 0;
  cursor: pointer;
}
.faq-toggle {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #6b778c;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-right: 24px;
  flex-shrink: 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
}
.faq-title {
  font-size: 20px;
  color: #1a2b4a;
  font-weight: 700;
  flex: 1;
  padding-right: 0;
  line-height: 1.5;
}
.faq-answer {
  display: none;
  transition: max-height 0.4s ease;
  color: #7d8aa0;
  line-height: 1.8;
  padding-bottom: 28px;
}
.faq-answer p {
  font-size: 17px;
  margin: 0;
  padding-right: 0;
  color: #7d8aa0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .en-banner { height: 400px; }
  .banner-text h1 { font-size: 32px; }
  .banner-text p { font-size: 16px; }
  .pain-grid, .pain-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .help-tabs { gap: 6px; }
  .help-tab { padding: 8px 14px; font-size: 12px; }
  .path-tabs { gap: 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
  .path-tab { padding: 9px 16px; font-size: 14px; }
  .faq-section h2, .path-section h2 { font-size: 28px; }
  .case-content h2 { font-size: 32px; }
  .case-content h3 { font-size: 24px; }
  .case-section .w1440 { margin-left: 0; margin-right: auto; }
}
@media (max-width: 768px) {
  .w1440 { padding: 0 20px; }
  .en-banner { height: 300px; }
  .banner-text h1 { font-size: 24px; }
  .banner-text p { font-size: 14px; }
  .banner-text .w1440 { padding-top: 30px; padding-bottom: 30px; margin-left: 0; }
  .pain-section, .help-section, .blueprint-section, .path-section, .faq-section { padding: 50px 0; }
  .pain-section h2, .help-section h2, .blueprint-section h2, .path-section h2, .faq-section h2 { font-size: 28px; margin-bottom: 20px; }
  .pain-card { padding: 0; }
  .pain-card h3 { font-size: 17px; }
  .pain-icon { margin-bottom: 16px; }
  .pain-icon img { height: 34px; }
  .pain-grid, .pain-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .help-tab { padding: 9px 14px; font-size: 12px; }
  .help-content, .help-content.active { padding: 30px; gap: 20px; }
  .help-text h3 { font-size: 20px; }
  .path-tab { padding: 9px 16px; font-size: 13px; }
  .path-content, .path-content.active { padding: 30px; gap: 4px; }
  .path-text h3 { font-size: 20px; }
  .faq-title { font-size: 16px; padding-right: 0; }
  .faq-toggle { width: auto; height: auto; font-size: 24px; margin-right: 16px; min-width: 24px; }
  .faq-item { padding: 20px 0; }
  .faq-answer p { font-size: 15px; }
  .case-content h2 { font-size: 28px; }
  .case-content h3 { font-size: 20px; }
  .case-content p { font-size: 15px; }
  .case-carousel { min-height: 420px; }
  .case-item { min-height: 420px; padding: 50px 0; }
  .case-item .w1440 { margin-left: 0; }
  .case-arrow { width: 36px; height: 36px; line-height: 32px; font-size: 22px; }
  .case-arrow.case-prev { left: 12px; }
  .case-arrow.case-next { right: 12px; }
  .case-dots { bottom: 18px; gap: 8px; }
  .case-dot { width: 8px; height: 8px; }
  .case-dot.active { width: 22px; }
}
