/* ============================================================
   porous.css — 多孔陶瓷膜专题页专属样式
   依赖 public.css（导航 / 页脚 / 按钮 / 弹窗 / 变量 / 响应式基线）
   不引入 style.css（那是首页整屏翻页专属，避免样式串页）
   ============================================================ */

/* 主题色、中性色与阴影统一取自 public.css 的 :root，本页不另设色板 */

body.porous-page{ background: var(--color-surface); padding-top: var(--header-h); }
/* 专题页是普通滚动页：导航从一开始就固定白底，避免滚动到 200px 时跳变 */
.porous-page .site-header{
  position:fixed; background: var(--color-surface);
  border-bottom:1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.porous-page .container{ max-width: var(--container); }
section[id]{ scroll-margin-top: calc(var(--header-h) + 72px); }
.porous-page .section{ padding: 84px 0; }
.porous-page .section--soft{ background: var(--color-surface-alt); }
.porous-page .section--deep{ background: var(--color-primary-dark); color: rgba(255,255,255,.82); }
.porous-page .section--deep h2,
.porous-page .section--deep h3,
.porous-page .section--deep h4{ color: var(--color-text-invert); }

/* ============ 面包屑 ============ */
.p-crumb{
  padding: 22px 0 0; font-size:13px; color: var(--color-text-muted);
  background: var(--color-surface);
}
.p-crumb ol{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; padding:0; list-style:none; }
.p-crumb li{ display:flex; align-items:center; gap:8px; }
.p-crumb li + li::before{ content:"/"; color:var(--color-text-muted); }
.p-crumb a{ color: var(--color-text-muted); }
.p-crumb a:hover{ color: var(--color-primary); }
.p-crumb [aria-current="page"]{ color: var(--color-text); font-weight:600; }

/* ============ Hero ============ */
.p-hero{
  position:relative; overflow:hidden;
  background: var(--color-surface-alt) url('../images/al-mo-banner.png') center center / cover no-repeat;
}
/* 左侧斜切白色遮罩：与板式膜页一致，左侧白底压文字，右侧露出膜管实拍背景 */
.p-hero::before{
  content:""; position:absolute; inset:0; z-index:0;
  background: var(--color-bg);
  -webkit-clip-path: polygon(0 0, 46% 0, 38% 100%, 0 100%);
  clip-path: polygon(0 0, 46% 0, 38% 100%, 0 100%);
}
.p-hero__grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns: 1.02fr .98fr; align-items:stretch;
  min-height: 560px;
}
.p-hero__body{
  padding: 76px 60px 70px 0; display:flex; flex-direction:column; justify-content:center;
  position:relative; z-index:2;
}
.p-hero__eyebrow{
  display:inline-flex; align-items:center; gap:10px; align-self:flex-start;
  font-size:12px; letter-spacing:.22em; font-weight:700; color: var(--color-accent);
  text-transform:uppercase; margin-bottom:22px;
}
.p-hero__eyebrow::before{ content:""; width:28px; height:2px; background: var(--color-accent); }
.p-hero h1{
  font-size: 48px; line-height:1.22; font-weight:700; letter-spacing:.01em;
  color: var(--color-text); margin:0 0 10px;
}
.p-hero h1 em{ font-style:normal; color: var(--color-primary); }
.p-hero__sub{
  font-size:17px; color: var(--color-text-muted); margin:0 0 18px; font-weight:500;
}
.p-hero__desc{
  font-size:15px; line-height:1.95; color: var(--color-text-muted); margin:0 0 30px; max-width:560px;
}
.p-hero__btns{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:34px; }
.p-hero__btns .btn{ min-width:158px; }
.p-hero__btns .btn--primary{ background: var(--color-primary); }
.p-hero__btns .btn--primary:hover{ background:var(--color-primary-dark); }
.p-hero__btns .btn--ghost{ border-color:var(--color-primary); }
.p-hero__btns .btn--ghost:hover{ border-color: var(--color-primary); color: var(--color-primary); }

.p-hero__facts{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--color-border); padding-top:24px; }
.p-fact{ padding:0 18px; border-right:1px solid var(--color-border); text-align:center; }
.p-fact:last-child{ border-right:none; }
.p-fact b{ display:block; font-size:24px; font-weight:700; color: var(--color-text); line-height:1.2; letter-spacing:-.01em; }
.p-fact b small{ font-size:13px; font-weight:600; color: var(--color-text-muted); margin-left:2px; }
.p-fact span{ display:block; font-size:12px; color: var(--color-text-muted); margin-top:6px; line-height:1.5; }


/* ============ 区块标题 ============ */
.p-head{ margin-bottom:60px; max-width:820px; }
.p-head .p-kicker{
  display:block; font-size:12px; font-weight:700; letter-spacing:.22em;
  color: var(--color-accent); text-transform:uppercase; margin-bottom:14px;
}
.p-head h2{ font-size:34px; font-weight:700; color: var(--color-text); margin:0 0 14px; line-height:1.3; }
.p-head p{ font-size:15px; line-height:1.9; color: var(--color-text-muted); margin:0; }
.p-head--center{ margin-left:auto; margin-right:auto; text-align:center; }
.section--deep .p-head p{ color: rgba(255,255,255,.7); }
.section--deep .p-kicker{ color:var(--color-accent); }

/* ============ 产品概述 / 三层结构 ============ */
.p-split{ display:grid; grid-template-columns: 1fr 1.05fr; gap:56px; align-items:center; margin-top: 80px;}
.p-split__text h3{ font-size:22px; color: var(--color-text); margin:0 0 16px; }
.p-split__text p{ font-size:16px; line-height:2; color: var(--color-text-muted); margin:0 0 18px; }
.p-split__text strong{ color: var(--color-text); font-weight:600; }
.p-layerlist{ display:grid; gap:24px; margin:26px 0 0; }
.p-layerlist li{
  padding:14px 26px; border-left:4px solid var(--color-primary); background: var(--color-surface);
}
.p-layerlist i{
  width:26px; height:26px; border-radius:7px; background: var(--color-surface-alt);
  color: var(--color-primary-dark); font-style:normal; font-size:12px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.p-layerlist b{ display:block; font-size:16px; color: var(--color-text); margin-bottom:3px; }
.p-layerlist span{ font-size:14px; line-height:1.7; color: var(--color-text-muted); }

.p-figure{

}
.p-figure svg{ width:100%; height:auto; display:block; }
.p-sem__fig{ margin:0; }
.p-sem__fig img{
  display:block; width:100%; height:auto; border-radius:8px;
  background: var(--color-primary-dark);
}

/* ============ 可选精度 ============ */
#pore-options{
  /* border-top:1px solid var(--color-border); */
  background: var(--color-surface) url('../images/shape-1.jpg') center repeat;
}
#models{
  /* background: var(--color-surface) url('../images/shape-1.jpg') center repeat; */
}
/* 错流（切向流）过滤原理：纹理背景 */
#flow-principle{
  background: var(--color-surface) url('../images/shape-1.jpg') center repeat;
}
.p-pore{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.p-pore__card{
  padding:30px 28px; background: var(--color-surface); position:relative;
}
.p-pore__corner{ position:absolute; top:0; right:0; width:360px; height:auto; z-index:0; }
.p-pore__top{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap; margin-bottom:18px;
  position:relative; z-index:1;
}
.p-pore__badge{
  font-size:30px; 
  font-weight:700; 
  color: var(--color-primary);
  margin-top:20px; 
  line-height:1.5;
}
.p-pore__desc{
  font-size:16px;
  line-height:2.2; 
  color: var(--color-text);
  margin:40px 0 30px; padding:0;
}
ul.p-pore__desc{ list-style:none; }
ul.p-pore__desc li{ position:relative; padding-left:20px; }
ul.p-pore__desc li::before{
  content:""; position:absolute; left:2px; top:.82em;
  width:6px; height:6px; border-radius:50%;
  background: var(--color-primary);
}
.p-pore__list{
  list-style:none; display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px; margin:0; padding:0;
}
.p-pore__list li{
  display:flex; 
  align-items:center; 
  justify-content:center;
  min-width:0; 
  padding:11px 8px; 
  text-align:center;
  border-radius:8px;
  /* background: var(--color-surface-alt);  */
  color: var(--color-primary);
  font-size:14px; font-weight:500; line-height:1.4;
  border: 1px solid var( --color-primary);
}
.p-pore__list li.is-boundary{
  flex-direction:column; gap:2px;
  border-color: var(--color-accent); color: var(--color-accent);
}
.p-pore__list i{ font-style:normal; font-size:11px; font-weight:400; opacity:.85; }

/* ============ 优势卡片 ============ */
.p-adv{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; background: var(--color-surface); padding:28px;}
.p-adv__card{
  background: var(--color-surface); border:1px solid var(--color-border); border-radius:12px;
  padding:28px 26px; position:relative; overflow:hidden;
}
.p-adv__no{
  font-size:12px; font-weight:700; letter-spacing:.14em; color: var(--color-accent); margin-bottom:16px;
}
.p-adv__card h3{ font-size:17px; color: var(--color-text); margin:0 0 10px; line-height:1.5; }
.p-adv__card p{ font-size:13.5px; line-height:1.9; color: var(--color-text-muted); margin:0; }

/* 切向流原理 SVG */
.p-flow{
  background: var(--color-surface); 
  padding:28px; margin-top:24px;
}
.p-flow__svg{ width:100%; height:auto; display:block; }
.p-flow__legend{
  display:flex; flex-wrap:wrap; gap:22px; justify-content:center;
  margin-top:16px; font-size:12.5px; color: var(--color-text-muted);
}
.p-flow__legend span{ display:inline-flex; align-items:center; gap:7px; }
.p-flow__legend i{ width:18px; height:3px; border-radius:2px; display:inline-block; }
.fl-title{ font:600 13px var(--font-sans); fill: var(--color-text); }
.fl-label{ font:400 11px var(--font-sans); fill: var(--color-text-muted); }
.fl-wall{ fill:var(--color-surface-alt); stroke:var(--color-border); stroke-width:1; }
.fl-pore{ fill: var(--color-text-muted); opacity:.45; }
.fl-main{ stroke: var(--color-primary-dark); stroke-width:2.4; fill:none; }
.fl-perm{ stroke: var(--color-primary); stroke-width:2; fill:none; }
.fl-ret{ stroke: var(--color-accent); stroke-width:2; fill:none; }
.fl-particle{ fill: var(--color-accent); }
.fl-water{ fill: var(--color-primary); }
@keyframes pFlowDash{ to{ stroke-dashoffset:-40; } }
.p-flow__svg .fl-moving{ stroke-dasharray:8 8; animation: pFlowDash 1.6s linear infinite; }
@keyframes pPermFade{ 0%{ opacity:0; transform:translateY(0); } 30%{opacity:1;} 100%{ opacity:0; transform:translateY(26px); } }
@keyframes pPermFadeUp{ 0%{ opacity:0; transform:translateY(0); } 30%{opacity:1;} 100%{ opacity:0; transform:translateY(-26px); } }
.p-flow__svg .fl-drop{ animation: pPermFade 2.4s ease-in infinite; }
.p-flow__svg .fl-drop--up{ animation-name: pPermFadeUp; }
.p-flow__svg .fl-drop:nth-of-type(2n){ animation-delay:.5s; }
.p-flow__svg .fl-drop:nth-of-type(3n){ animation-delay:1.1s; }
@media (prefers-reduced-motion: reduce){
  .p-flow__svg .fl-moving, .p-flow__svg .fl-drop{ animation:none; }
}

/* ============ 型号与规格：规格总表（对照说明书表格版式） ============ */
.p-spec{ margin-top:24px; background:#fff; padding:24px; }
.p-spec__scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.p-spec__table{ width:100%; min-width:960px; border-collapse:collapse; }
.p-spec__table th{
  background:var(--color-primary); color:var(--color-text-invert);
  padding:12px 14px; font-size:15px; line-height:1.4; text-align:center;
  border:1px solid var(--color-primary); font-weight:700;
}
.p-spec__cn{ display:block; }
/* 列宽：尺寸列加宽（尺寸标注图较宽），面积列收窄 */
.p-spec__table th:nth-child(1){ width:12%; }
.p-spec__table th:nth-child(2){ width:22%; }
.p-spec__table th:nth-child(3){ width:10%; }
.p-spec__table th:nth-child(4){ width:16%; }
.p-spec__table th:nth-child(5){ width:15%; }
.p-spec__table th:nth-child(6){ width:25%; }
.p-spec__table td{
  border:1px solid var(--color-border); padding:12px 14px; text-align:center;
  font-size:14px; color:var(--color-text); line-height:1.5; vertical-align:middle;
}
.p-spec__model{ font-weight:700; letter-spacing:.02em; }
/* 两类图片分开定尺寸：尺寸列（尺寸标注图）大一些保证标注可读；示意图列（管状立体图）小一些 */
.p-spec__fig img{ width:auto; display:inline-block; max-width:100%; }
.p-spec__fig--size img{ height:150px; }
.p-spec__fig--pic img{ height:90px; }
.p-spec__todo{ color:var(--color-text-muted); }
.p-spec__note{ margin:14px 2px 0; font-size:13px; color:var(--color-text-muted); line-height:1.6; }
/* 每个 tab 对应一块表格面板，仅显示当前项 */
.p-spec__panel{ display:none; }
.p-spec__panel.is-active{ display:block; }

/* ============ 横截面 tab 条（切换上方规格表） ============ */
.p-cs__thumbs{ position:relative; display:flex; flex-wrap:wrap; gap:20px; justify-content:center; margin-top:26px; overflow:hidden; padding:2px; }
.p-cs__thumb{ width:60px; height:60px; padding:5px; background:none; border:none; cursor:pointer; border-radius:4px; position:relative; z-index:1; }
.p-cs__thumb img{ width:100%; height:auto; display:block; }
/* 选中框：独立元素，固定在第一格，不随缩略图移动。
   白底 + z-index:0 置于缩略图下方（透明线稿图透出白底），描边向外扩 2px 仍可见 */
.p-cs__frame{
  position:absolute; z-index:0; pointer-events:none; border-radius:4px;
  background:var(--color-surface);
  box-shadow:0 0 0 2px var(--color-primary);
  width:60px; height:60px;
}
@media (max-width:560px){
  .p-spec{ padding:14px; }
  .p-spec__fig--size img{ height:100px; }
  .p-spec__fig--pic img{ height:60px; }
  .p-cs__thumbs{ gap:10px; }
  .p-cs__thumb{ width:50px; height:50px; padding:4px; }
}

/* ============ 选型：型号切换 + 参数表 ============ */
.p-tabs{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.p-tab{
  padding:11px 22px; border-radius:9px; border:1px solid var(--color-border);
  background: var(--color-surface); color: var(--color-text); font-family:inherit; font-size:14px;
  font-weight:600; cursor:pointer; transition: all .2s ease;
}
.p-tab:hover{ border-color: var(--color-primary); }
.p-tab.is-active{ background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: var(--color-text-invert); }
.p-len button.is-active{ background: var(--color-surface); color: var(--color-primary-dark); box-shadow: var(--shadow-sm); }

/* ============ 应用领域 ============ */
.p-apps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.p-app{
  border:1px solid var(--color-border); border-radius:12px; overflow:hidden; background: var(--color-surface);
  display:flex; flex-direction:column; transition: transform .25s ease, box-shadow .25s ease;
}
.p-app:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.p-app:hover .p-app__pic img{ transform: scale(1.05); }
.p-app__body{ padding:24px 24px 26px; display:flex; flex-direction:column; flex:1; }
.p-app__body h3{ font-size:19px; color: var(--color-text); margin:0 0 10px; }
.p-app__body > p{ font-size:13.5px; line-height:1.85; color: var(--color-text-muted); margin:0 0 18px; }
.p-tags{ display:flex; flex-wrap:wrap; gap:7px; margin-top:auto; }
.p-tags span{
  font-size:12px; padding:5px 10px; border-radius:5px;
  background: var(--color-surface-alt); color: var(--color-primary-dark);
}

/* ============ 底部转化区（与首页 cta-band 同构）============ */
.p-cta-band{ padding:76px 0; background: var(--color-bg); }
.cta-band{
  position:relative; padding:12px 0;
  display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center;
  text-align:left;
}
.cta-band h2{ font-size:30px; letter-spacing:.02em; margin:0 0 12px; color: var(--color-text); line-height:1.4; }
.cta-band__info > p{ color: var(--color-text-muted); margin:0 0 22px; font-size:15px; }
/* 左列：联系信息（图标徽章 + 小标签 + 大数值） */
.cta-band__contact{ list-style:none; margin:0 0 26px; padding:0; display:flex; flex-direction:column; }
.cta-band__contact li{ display:flex; align-items:center; gap:14px; padding:18px 0; border-bottom:1px solid var(--color-border); }
.cta-band__contact li:first-child{ padding-top:8px; }
.cta-band__contact li:last-child{ border-bottom:0; }
.cta-band__ico{
  flex:0 0 44px; width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(192,121,46,.14), rgba(192,121,46,.04));
  border:1px solid rgba(192,121,46,.24); color: var(--color-accent-dark);
}
.cta-band__ico svg{ width:22px; height:22px; display:block; }
.cta-band__ct{ display:flex; flex-direction:column; min-width:0; }
.cta-band__key{ font-size:12px; font-weight:600; letter-spacing:.16em; color: var(--color-text-muted); line-height:1.5; }
.cta-band__val{ font-size:18px; font-weight:600; color: var(--color-text); line-height:1.45; word-break:break-word; }
/* 右列：白底表单卡 */
.cta-band__form{
  background: var(--color-surface); border:1px solid var(--color-border); border-radius:14px;
  padding:28px 30px; box-shadow: var(--shadow-md);
  display:flex; flex-direction:column; gap:14px;
}
.cta-band__form-title{ margin:0 0 8px; font-size:18px; font-weight:600; color: var(--color-text); }
.cta-band__row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.cta-band__form input,
.cta-band__form textarea{
  width:100%; min-height:52px; padding:14px 15px; border:1px solid var(--color-border);
  border-radius:10px; font-size:15px; font-family:inherit; line-height:1.5;
  background: var(--color-bg); color: var(--color-text); resize:vertical;
}
.cta-band__form textarea{ min-height:136px; }
.cta-band__form input:focus,
.cta-band__form textarea:focus{
  outline:none; border-color: var(--color-primary);
  box-shadow:0 0 0 2px rgba(0,188,212,.15);
}
.cta-band__form .btn{ width:100%; justify-content:center; min-height:54px; font-size:16px; border-radius:10px; }
.cta-band__form .form-ok{ color: var(--color-text); text-align:center; padding:20px 0; }

/* ============ 移动端吸底 CTA ============ */
.p-mbar{ display:none; }

/* ============ 滚动显现 ============ */
.p-reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.p-reveal.is-in{ opacity:1; transform:none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px){
  .porous-page .section{ padding:64px 0; }
  .p-hero__grid{ min-height:480px; }
  .p-hero__body{ padding:56px 34px 56px 0; }
  .p-hero h1{ font-size:38px; }
  .p-hero__facts{ grid-template-columns:repeat(2,1fr); gap:18px 0; }
  .p-fact:nth-child(2){ border-right:none; }
  .p-split{ gap:34px; }
  .p-sem{ grid-template-columns:340px 1fr; gap:24px; }
  .p-pore{ gap:18px; }
  .p-adv{ grid-template-columns:repeat(2,1fr); }
  .p-chan__body{ grid-template-columns:190px 1fr; }
  .p-apps{ gap:14px; }
  .cta-band{ gap:30px; }
}

@media (max-width: 860px){
  .p-hero{ background: var(--color-surface); }
  .p-hero__grid{ grid-template-columns:1fr; min-height:0; }
  .p-hero__body{ padding:48px 0 36px; }
  .p-split, .p-maint{ grid-template-columns:1fr; gap:30px; }
  .p-sem{ grid-template-columns:1fr; gap:22px; padding:20px; }
  .p-sem__fig img{ max-width:420px; margin:0 auto; }
  .p-pore{ grid-template-columns:1fr; }
  .p-pore__desc{ min-height:0; }
  .p-channels{ gap:14px; }
  .p-chan__body{ grid-template-columns:150px 1fr; padding:18px; }
  .p-chan__top{ padding:16px 18px; }
  .p-apps{ grid-template-columns:1fr; }
  .p-app__pic{ height:210px; }
  .p-head h2{ font-size:28px; }
}

@media (max-width: 768px){
  /* 移动端顶栏实际高度 60px */
  body.porous-page{ --header-h: 60px; }
  section[id]{ scroll-margin-top: 76px; }
  .porous-page .section{ padding:52px 0; }
  .p-crumb{ padding-top:16px; }
  .p-hero h1{ font-size:32px; }
  .p-hero__sub{ font-size:15px; }
  .p-hero__desc{ font-size:14px; }
  .p-fact b{ font-size:20px; }
  .p-adv{ grid-template-columns:1fr; }
  .p-channels{ grid-template-columns:1fr; }
  .p-chan__body{ grid-template-columns: 1fr; }
  .p-chan__svg{ max-width:220px; margin:0 auto; }
  .p-flow{ padding:16px; }
  .p-table th, .p-table td{ padding:12px 14px; font-size:13px; }
  .p-table th{ width:44%; }
  .p-cta-band{ padding:52px 0; }
  .cta-band{ grid-template-columns:1fr; gap:28px; }
  .cta-band__form{ padding:22px; }
  .cta-band__row{ grid-template-columns:1fr; }
  .p-mbar{
    position:fixed; left:0; right:0; bottom:0; z-index:150;
    display:grid; grid-template-columns:1fr 1fr; gap:0;
    background: var(--color-surface); border-top:1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
  }
  .p-mbar a{
    display:flex; align-items:center; justify-content:center; gap:8px;
    padding:14px 8px; font-size:14px; font-weight:600; color: var(--color-text-invert);
  }
  .p-mbar a:first-child{ background: var(--color-primary-dark); }
  .p-mbar a:last-child{ background: var(--color-accent); }
  body.porous-page{ padding-bottom:52px; }
  .site-footer{ padding-bottom:24px; }
}

@media (max-width: 560px){
  .p-hero__facts{ grid-template-columns:repeat(2,1fr); }
  .p-hero__btns .btn{ flex:1 1 100%; }
  .p-tab{ flex:1 1 100%; text-align:center; }
  .p-len{ display:flex; width:100%; }
  .p-len button{ flex:1; padding:8px 6px; }
  .p-chart{ padding:16px 12px 12px; }
  .p-sem{ padding:16px; }
  .p-sem__list li{ gap:6px; }
  .p-pore__card{ padding:20px; }
  .p-pore__corner{ top:0; right:0; width:180px; }
  .p-pore__list{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .p-pore__list li{ padding:7px 6px; font-size:13px; }
  .p-pore__pic{ max-width:220px; margin-bottom:14px; }
  .p-maint__box{ padding:20px; }
  .p-clean{ font-size:12px; }
  .p-clean th, .p-clean td{ padding:9px 6px; }
}