/* ========== 食品饮料行业页面 ========== */
* { 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 铺满） ========== */
.fd-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;

  background: linear-gradient(90deg, #0a2f66, #1857b8);}
.fd-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; }

/* ========== 痛点区域（6列，与agri/daily一致） ========== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.pain-grid-6 {
  grid-template-columns: repeat(6, 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;
}

/* ========== 帮助标签（8悬停切换，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; }
.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: "›";
  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;
  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;
}

/* ========== 转型路径（3Tab悬停切换） ========== */
.path-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.path-tab {
  padding: 9px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #4a5a70;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  border-bottom: 3px solid transparent;
}
.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: 48px;
  box-shadow: 0 2px 16px rgba(0, 60, 120, 0.05);
}
.path-content.active {
  display: flex;
  align-items: center;
  gap: 48px;
}
.path-text { flex: 1; }
.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: "›";
  position: absolute;
  left: 0;
  color: #1a6eff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}
.path-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}
.path-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========== 客户案例 今麦郎 ========== */
.case-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: url('/static/food_img/case_bg.jpg') center center / cover no-repeat;
  overflow: hidden;
  padding: 80px 0;
}
.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-section .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;
}

/* ========== 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) {
  .fd-banner { height: 400px; }
  .banner-text h1 { font-size: 32px; }
  .banner-text p { font-size: 16px; }
  .pain-grid, .pain-grid-6 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .help-content.active { flex-direction: column; gap: 30px; padding: 30px; }
  .help-image { flex: none; width: 100%; order: -1; }
  .help-tabs { gap: 6px; }
  .help-tab { padding: 8px 14px; font-size: 12px; }
  .path-content.active { flex-direction: column; gap: 30px; padding: 30px; }
  .path-image { flex: none; width: 100%; order: -1; }
  .path-tabs { gap: 6px; }
  .path-tab { padding: 9px 20px; 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; }
  .fd-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-6 { 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: 20px; }
  .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-section { min-height: 420px; padding: 50px 0; }
  .case-section .w1440 { margin-left: 0; }
}
