/* ============================================================
   juice.css — 果汁饮料行业陶瓷膜场景页专属样式
   依赖：public.css（变量 / 导航 / 页脚 / 按钮 / 弹窗 / 表单）
        plate.css  （plate-page 框架 / p-crumb / p-head / p-reveal / p-mbar）
   约定：主题色、中性色、阴影一律引用 public.css :root 变量，
         本文件不另设色板、不写死品牌 HEX；普通滚动页，不引入 style.css。
   ============================================================ */

body.juice-page{ background: var(--color-surface); }
.juice-page .section{ padding: 84px 0; }
.juice-page .section--soft{ background: var(--color-surface-alt); }
.juice-page .p-mbar{ display:none; }
.j-lead{ color: var(--color-text) !important; font-size:16px; line-height:1.95; }

/* ============ Hero · 通栏背景图（fruit-bg.jpg 左侧留白承载文字） ============ */
.j-hero{
  position:relative; overflow:hidden;
  background: var(--color-surface-alt) url('../images/fruit-bg.jpg') center center / cover no-repeat;
}
/* 左侧压一层浅色渐变，确保文案在背景图上可读（仅用变量派生的白，不写死品牌色） */
.j-hero::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg,
    color-mix(in srgb, var(--color-bg) 96%, transparent) 0%,
    color-mix(in srgb, var(--color-bg) 92%, transparent) 22%,
    color-mix(in srgb, var(--color-bg) 78%, transparent) 34%,
    transparent 50%);
}
.j-hero__body{
  display:flex; align-items:center; min-height:560px;
  padding-top:48px; padding-bottom:48px;
  position:relative; z-index:1;
}
.j-hero__copy{ position:relative; z-index:1; max-width:600px; }
.j-hero__eyebrow{
  display:inline-block; font-size:13px; font-weight:700; letter-spacing:.18em;
  text-transform:uppercase; color:var(--color-accent); margin-bottom:18px;
}
.j-hero h1{
  font-size:50px; line-height:1.2; font-weight:700; letter-spacing:.01em;
  color: var(--color-primary-dark); margin:0 0 26px;
}
.j-hero__desc{ font-size:16px; line-height:1.95; color: var(--color-text-muted); margin:0 0 30px; max-width:600px; }
.j-hero__btns{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:26px; }
.j-hero__btns .btn{ min-width:168px; }
.j-hero__trust{
  display:inline-flex; flex-wrap:wrap; gap:8px;
  font-size:13px; color: var(--color-text-muted);
  padding:12px 18px; background: var(--color-surface); border:1px solid var(--color-border);
}
.j-hero__media{
  border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md);
  background:var(--color-surface);
}
.j-hero__media img{ width:100%; height:440px; object-fit:cover; display:block; }

/* ============ 模块 02 ｜横向手风琴：点击展开变宽展示详情 ============ */
.j-accordion{ display:flex; gap:14px; align-items:stretch; min-height:560px; }
.j-acc{
  position:relative; flex:0 0 210px; overflow:hidden;
  background:var(--color-surface); cursor:pointer;
  transition:flex .38s ease;
}
.j-acc.is-active{ flex:1 1 0; }
/* 收起态：图片铺满整卡 + 标题/加号叠加在图片上 */
.j-acc__bar{
  position:absolute; inset:0; z-index:2; width:100%;
  display:flex; flex-direction:column; align-items:center;
  border:0; background:transparent; padding:0;
  font:inherit; text-align:center; cursor:pointer;
  opacity:1; transition:opacity .15s ease;
}
.j-acc.is-active .j-acc__bar{ opacity:0; pointer-events:none; }
.j-acc__thumb{
  position:absolute; inset:0; z-index:0;
  overflow:hidden; background:var(--color-surface-alt);
}
.j-acc__thumb img{
  width:100%; max-width:none; height:100%; object-fit:cover; object-position:left top; display:block;
}
/* 顶部浅色渐变托住叠加的标题（变量派生，不写死色值） */

.j-acc__title{
  position:relative; z-index:1;
  font-size:22px; font-weight:700; letter-spacing:.08em;
  color:var(--color-text); white-space:nowrap; margin-top:76px;
}
.j-acc__plus{
  position:relative; z-index:1;
  flex:0 0 30px; width:30px; height:30px;
  display:flex; align-items:center; justify-content:center; line-height:1;
  border:1px solid var(--color-border); border-radius:50%;
  font-size:20px; font-weight:400; color:var(--color-primary);
  background:var(--color-bg); margin-top:22px;
}
/* 展开态：图片铺满整卡 + 文字叠加在图片上 */
.j-acc__panel{
  position:absolute; inset:0;
  opacity:0; pointer-events:none; transition:opacity .15s ease;
}
.j-acc.is-active .j-acc__panel{ opacity:1; pointer-events:auto; }
.j-acc__media{ position:absolute; inset:0; overflow:hidden; background:var(--color-surface-alt); }
.j-acc__media img{
  width:100%; max-width:none; height:100%; min-height:560px; object-fit:cover; object-position:left top; display:block;
}
.j-acc__body{
  position:absolute; inset:0; z-index:1;
  display:flex; flex-direction:column; justify-content:center;
  padding:38px 42px; min-width:0; width:58%;
}
.j-acc__lead{ font-size:13px; font-weight:700; letter-spacing:.12em; color:var(--color-accent); margin:0 0 14px; }
.j-acc__body h3{ font-size:30px; line-height:1.3; color:var(--color-text); margin:0 0 16px; }
.j-acc__sub{ font-size:15.5px; line-height:1.85; color:var(--color-text-muted); margin:0 0 26px; }
.j-acc__points{ list-style:none; margin:0; padding:0; }
.j-acc__points li{
  position:relative; font-size:14px; line-height:1.6; color:var(--color-text);
  padding:10px 0 10px 24px; border-top:1px solid var(--color-border);
}
.j-acc__points li::before{
  content:""; position:absolute; left:2px; top:19px;
  width:8px; height:8px; border-radius:50%; background:var(--color-accent);
}

/* ============ 模块 03 ｜方案矩阵（工艺目标卡） ============ */
/* 板块通栏背景（id 优先级覆盖 .juice-page .section--soft 的浅灰底） */
#solutions{
  position:relative;
  background: url('../images/fruit-bg2.jpg') center center / cover no-repeat;
}
#solutions > .container{ position:relative; z-index:1; }
.j-solution-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.j-solution{
  background:color-mix(in srgb, var(--color-surface) 90%, transparent);
  padding:30px 30px 32px; display:flex; flex-direction:column; border-radius:5px;
}
.j-solution__top{ margin-bottom:16px; }
.j-solution__no{ font-size:12px; font-weight:700; letter-spacing:.14em; color:var(--color-accent); }
.j-solution h3{ font-size:23px; line-height:1.35; color:var(--color-text); margin:8px 0 0; }
.j-solution__need{
  font-size:14.5px; line-height:1.8; color:var(--color-text-muted);
  margin:0 0 18px;
}
/* 指标块：浅底 + 主题色左竖线，突出数据 */
.j-solution__metric{
  margin:auto 0 0; padding:14px 16px;
  font-size:14px; line-height:1.85; color:var(--color-text);
  background:var(--color-surface-alt);
  border-left:3px solid var(--color-primary);
}
.j-note{ font-size:13px; line-height:1.8; color:var(--color-text-muted); margin:24px 0 0; }

/* ============ 模块 04 ｜膜过滤应用（卡片网格，4 列） ============ */
.j-app-title{ font-size:30px; font-weight:700; color:var(--color-text); margin:0 0 40px; letter-spacing:.01em; }
.j-app-grid{
  --japp-gap:40px;
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:var(--japp-gap); row-gap:46px;
}
.j-app-card{ position:relative; display:flex; flex-direction:column; padding:0; }
.j-app-card::after{ content:""; position:absolute; display:none; background:var(--color-border); }
.j-app-card:not(:nth-child(4n)):not(:last-child)::after{
  display:block; right:calc(var(--japp-gap) / -2); top:0; bottom:0; width:1px;
}
.j-app-card__img{
  width:100%; aspect-ratio:16/10; overflow:hidden;
  border-radius:4px; background:var(--color-surface-alt);
}
.j-app-card__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.j-app-card__tit{
  font-size:16px; font-weight:700; color:var(--color-text);
  margin:18px 0 12px; line-height:1.45;
}
.j-app-card__desc{
  font-size:13px; line-height:1.75; color:var(--color-text-muted);
  margin:0 0 16px;
}
.j-app-card__link{
  margin-top:auto; align-self:flex-start;
  font-size:13px; font-weight:600; color:var(--color-primary);
  text-decoration:none; line-height:1.6;
}
.j-app-card__link:hover{ text-decoration:underline; }
.j-app-card__arrow{ font-size:16px; margin-left:4px; }

/* ============ 通栏 CTA ｜背景图 + 一句话 + 按钮 ============ */
.j-cta-band{
  position:relative; overflow:hidden;
  background: var(--color-primary-dark) url('../images/application-2.jpg') center center / cover no-repeat;
  padding:76px 0;
}
.j-cta-band::before{ content:""; position:absolute; inset:0; background:rgba(0,30,42,.58); }
.j-cta-band__inner{ position:relative; z-index:1; text-align:center; max-width:760px; margin:0 auto; }
.j-cta-band h2{
  font-size:36px; line-height:1.4; font-weight:700; color:var(--color-text-invert);
  margin:0 0 16px; text-shadow:0 2px 12px rgba(0,0,0,.25);
}
.j-cta-band p{ font-size:17px; line-height:1.7; color:rgba(255,255,255,.9); margin:0 0 28px; }
.j-cta-band__btn{ min-width:190px; }

/* ============ 模块 05 ｜膜过滤系统（bento 图文） ============ */
.j-sys-grid{
  display:grid; grid-template-columns:2fr 1fr;
  grid-template-rows:repeat(2, 1fr); gap:16px; height:560px;
}
.j-sys-card{ position:relative; overflow:hidden; display:block; border-radius:8px; background:var(--color-primary-dark); }
.j-sys-card--main{ grid-row:1 / 3; }
.j-sys-card__media{ position:absolute; inset:0; }
.j-sys-card__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.j-sys-card::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 45%, transparent 75%);
}
.j-sys-card__body{ position:absolute; left:24px; right:24px; bottom:22px; z-index:1; }
.j-sys-card__body h3{
  margin:0; color:var(--color-text-invert); font-weight:700; line-height:1.45;
  font-size:22px; text-shadow:0 1px 6px rgba(0,0,0,.35);
}
.j-sys-card--main .j-sys-card__body h3{ font-size:28px; text-decoration:underline; text-underline-offset:8px; }
.j-sys-card--main::after{
  background:linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.66) 34%, rgba(0,0,0,.18) 68%, transparent 88%);
}
.j-sys-card__points{ list-style:none; margin:16px 0 0; padding:0; display:grid; gap:8px; }
.j-sys-card__points li{
  position:relative; padding-left:18px;
  font-size:14px; line-height:1.5; color:rgba(255,255,255,.96);
  text-shadow:0 1px 4px rgba(0,0,0,.45);
}
.j-sys-card__points li::before{
  content:""; position:absolute; left:0; top:.55em;
  width:7px; height:7px; border-radius:50%; background:var(--color-accent);
}

/* ============ 相关链接（三列图文） ============ */
.j-rel{ margin-top:56px; }
.j-rel-title{ font-size:28px; font-weight:700; color:var(--color-text); margin:0 0 30px; }
.j-rel-grid{ --jrel-gap:32px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:var(--jrel-gap); }
.j-rel-card{ position:relative; display:flex; flex-direction:column; padding:0; }
.j-rel-card::after{
  content:""; position:absolute; display:none; background:var(--color-border);
  top:0; bottom:0; right:calc(var(--jrel-gap) / -2); width:1px;
}
.j-rel-card:not(:nth-child(3n)):not(:last-child)::after{ display:block; }
.j-rel-card__img{
  width:100%; aspect-ratio:16/10; overflow:hidden;
  border-radius:8px; background:var(--color-surface-alt);
}
.j-rel-card__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.j-rel-card__tit{ font-size:17px; font-weight:700; color:var(--color-text); margin:18px 0 10px; line-height:1.45; }
.j-rel-card__desc{ font-size:13px; line-height:1.8; color:var(--color-text-muted); margin:0 0 16px; }
.j-rel-card__link{
  margin-top:auto; align-self:flex-start;
  font-size:13px; font-weight:600; color:var(--color-primary);
  text-decoration:none; line-height:1.6;
}
.j-rel-card__link:hover{ text-decoration:underline; }
.j-rel-card__arrow{ font-size:16px; margin-left:4px; }

/* ============ 模块 06 ｜为什么是陶瓷膜 ============ */
.j-reason-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.j-reason{ background:var(--color-surface); border:1px solid var(--color-border); padding:30px 28px; }
.j-reason h3{ font-size:19px; margin:0 0 14px; color:var(--color-text); }
.j-reason p{ font-size:14px; line-height:1.9; color:var(--color-text-muted); margin:0; }

/* ============ 响应式 ============ */
@media (max-width:1100px){
  .j-hero h1{ font-size:42px; }
  .j-hero__body{ gap:32px; }
  .j-app-title{ font-size:26px; margin-bottom:30px; }
  .j-app-grid{ --japp-gap:34px; grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:34px; }
  .j-app-card:not(:nth-child(4n)):not(:last-child)::after{ display:none; }
  .j-app-card:not(:nth-child(2n)):not(:last-child)::after{
    display:block; right:calc(var(--japp-gap) / -2); top:0; bottom:0; width:1px;
  }
  .j-cta-band{ padding:60px 0; }
  .j-cta-band h2{ font-size:29px; }
  .j-rel-title{ font-size:25px; }
  .j-rel-grid{ --jrel-gap:24px; }
  .j-solution-grid{ grid-template-columns:repeat(3,1fr); gap:16px; }
  .j-solution{ padding:24px 20px; }
  .j-sys-grid{ height:480px; gap:12px; }
  .j-sys-card__body{ left:20px; right:20px; bottom:18px; }
  .j-sys-card__body h3{ font-size:19px; }
  .j-sys-card--main .j-sys-card__body h3{ font-size:24px; }
}
@media (max-width:860px){
  /* 移动端 cover 裁切后瓶子压到文字区，改用自上而下的白色渐变托住文案 */
  .j-hero::before{
    background:linear-gradient(180deg,
      color-mix(in srgb, var(--color-bg) 98%, transparent) 0%,
      color-mix(in srgb, var(--color-bg) 96%, transparent) 58%,
      color-mix(in srgb, var(--color-bg) 88%, transparent) 74%,
      color-mix(in srgb, var(--color-bg) 55%, transparent) 90%,
      transparent 100%);
  }
  .j-hero__body{ grid-template-columns:1fr; gap:28px; padding-top:48px; padding-bottom:48px; min-height:0; }
  .j-hero__media img{ height:320px; }
  .j-solution-grid{ grid-template-columns:1fr; }
  /* 手风琴 → 移动端：取消点击展开，三张卡直接上下排布、图文常显 */
  .j-accordion{ flex-direction:column; gap:12px; min-height:0; }
  .j-acc, .j-acc.is-active{ flex:0 0 auto; cursor:default; }
  .j-acc__bar{ display:none; }
  .j-acc__panel{ position:static; inset:auto; display:block; opacity:1; pointer-events:auto; }
  .j-acc__media{ position:relative; inset:auto; }
  .j-acc__media img{ position:static; transform:none; width:100%; min-height:0; height:210px; object-position:left top; }
  .j-acc__body{ position:static; inset:auto; width:auto; padding:24px 22px 28px; }
  .j-acc__body h3{ font-size:25px; }
  .j-acc__sub{ font-size:14.5px; }
  .j-reason-grid{ grid-template-columns:1fr; }
  .j-sys-grid{ grid-template-columns:1fr; grid-template-rows:none; height:auto; gap:14px; }
  .j-sys-card{ height:220px; }
  .j-sys-card--main{ grid-row:auto; height:400px; }
  .j-rel{ margin-top:44px; }
  .j-rel-grid{ grid-template-columns:1fr; row-gap:0; }
  .j-rel-card::after{ display:none !important; }
  .j-rel-card:not(:last-child)::after{
    display:block !important; top:auto; bottom:0; left:0; right:0; width:auto; height:1px;
  }
  .j-rel-card{ padding-bottom:28px; margin-bottom:28px; }
  .j-rel-card:last-child{ padding-bottom:0; margin-bottom:0; }
}
@media (max-width:560px){
  .juice-page .section{ padding:60px 0; }
  .j-app-title{ font-size:23px; margin-bottom:24px; }
  .j-app-grid{ grid-template-columns:1fr; row-gap:0; }
  .j-app-card::after{ display:none !important; }
  .j-app-card:not(:last-child)::after{
    display:block !important; left:0; right:0; top:auto; bottom:0; width:auto; height:1px;
  }
  .j-app-card{ padding-bottom:30px; margin-bottom:30px; }
  .j-app-card:last-child{ padding-bottom:0; margin-bottom:0; }
  .j-app-card__img{ aspect-ratio:16/9; }
  .j-hero h1{ font-size:29px; }
  .j-hero__desc{ font-size:15px; }
  .j-hero__btns .btn{ min-width:0; width:100%; }
  .j-hero__trust{ font-size:12px; }
  .j-hero__media img{ height:240px; }
  .j-sys-card{ height:190px; }
  .j-sys-card--main{ height:360px; }
  .j-sys-card__body{ left:18px; right:18px; bottom:16px; }
  .j-sys-card__body h3{ font-size:17px; }
  .j-sys-card--main .j-sys-card__body h3{ font-size:19px; text-underline-offset:6px; }
  .j-sys-card__points{ gap:6px; margin-top:12px; }
  .j-sys-card__points li{ font-size:12.5px; padding-left:15px; }
  .j-sys-card__points li::before{ width:6px; height:6px; top:.5em; }
  .j-cta-band{ padding:52px 0; }
  .j-cta-band h2{ font-size:24px; }
  .j-cta-band p{ font-size:15px; }
  .j-cta-band__btn{ min-width:170px; }
  .j-solution{ padding:26px 20px 28px; }
  .j-solution h3{ font-size:20px; }
}
