/* ============================================================
   lnwmold.com —— 五金工具行业方案页专属样式（儿童可爱风 · 独立原创布局）
   文件：css/page-industry-hardware.css  依赖：css/base.css
   布局思路：左文右图首屏 + 通栏背景 + 三卡痛点
             + 产品目录四卡（本页核心）+ 亮点排 + 模块表 + 案例双卡 + FAQ + CTA
   ============================================================ */

/* ---------- ① 首屏 ---------- */
.hw-hero{ padding:44px 0 10px; }
.hw-hero-grid{
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:44px; align-items:center;
}
.hw-hero-text h1{ margin:14px 0 16px; font-size:clamp(25px,3.6vw,42px); }
.hw-hero-sub{ font-size:15px; max-width:540px; }
.hw-hero-btns{ display:flex; gap:14px; margin-top:22px; flex-wrap:wrap; }
.hw-hero-media img{ border-radius:var(--r-xl); box-shadow:var(--shadow-l); }

/* ---------- 区块标题 ---------- */
.hw-sec{ max-width:640px; margin:0 auto 36px; text-align:center; }
.hw-sec h2{ margin:12px 0 10px; }

/* ---------- ② 通栏背景 ---------- */
.hw-bg{ padding:56px 0 10px; }
.hw-bg-inner{
  background:var(--white); border-radius:var(--r-xl);
  border:2px dashed var(--green-mid); box-shadow:var(--shadow-s);
  padding:34px 36px;
}
.hw-bg-inner h2{ margin:12px 0 14px; font-size:clamp(21px,2.6vw,30px); }
.hw-bg-inner p{ font-size:15px; }

/* ---------- ③ 痛点三卡 ---------- */
.hw-pain{ padding:56px 0 10px; }
.hw-pain-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.hw-pain-card{
  background:var(--white); border-radius:var(--r-l); padding:26px 24px;
  box-shadow:var(--shadow-s); border-left:8px solid var(--green);
  transition:transform .3s ease;
}
.hw-pain-card:hover{ transform:translateY(-6px); }
.hw-pain-ico{
  display:inline-flex; width:48px; height:48px; border-radius:14px;
  align-items:center; justify-content:center; margin-bottom:14px;
  background:var(--green-soft); color:var(--green-deep);
}
.hw-pain-p{ background:var(--pink-soft); color:var(--pink-deep); }
.hw-pain-ico svg{ width:24px; height:24px; }
.hw-pain-card h3{ font-size:16.5px; margin-bottom:8px; }
.hw-pain-card p{ font-size:13.5px; margin:0; }

/* ---------- ④ 产品目录卡 ---------- */
.hw-cat{ padding:56px 0 10px; }
.hw-cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.hw-cat-card{
  display:block; background:var(--white); border-radius:var(--r-l);
  padding:28px 22px; box-shadow:var(--shadow-s);
  border:2px dashed transparent; text-align:center;
  transition:transform .3s ease, border-color .3s ease, background .3s ease;
}
.hw-cat-card:hover{ transform:translateY(-6px); border-color:var(--pink-mid); background:var(--pink-soft); }
.hw-cat-ico{
  display:inline-flex; width:56px; height:56px; border-radius:50%;
  align-items:center; justify-content:center; margin-bottom:14px;
  background:var(--yellow-soft); color:var(--yellow-deep);
}
.hw-cat-p{ background:var(--pink-soft); color:var(--pink-deep); }
.hw-cat-g{ background:var(--green-soft); color:var(--green-deep); }
.hw-cat-ico svg{ width:27px; height:27px; }
.hw-cat-card h3{ font-size:17px; margin-bottom:8px; }
.hw-cat-card p{ font-size:13.5px; margin:0 0 14px; }
.hw-cat-card b{
  display:inline-block; font-size:13px; color:var(--pink-deep);
}

/* ---------- ⑤ 亮点 ---------- */
.hw-hl{ padding:56px 0 10px; }
.hw-hl-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:980px; margin:0 auto; }
.hw-hl-item{
  background:var(--white); border-radius:var(--r-m); padding:26px 24px;
  box-shadow:var(--shadow-s); border-top:6px solid var(--yellow);
  text-align:center; transition:transform .3s ease;
}
.hw-hl-item:hover{ transform:translateY(-5px); }
.hw-hl-ico{
  display:inline-flex; width:52px; height:52px; border-radius:16px;
  align-items:center; justify-content:center; margin-bottom:12px;
  background:var(--yellow-soft); color:var(--yellow-deep);
}
.hw-hl-p{ background:var(--pink-soft); color:var(--pink-deep); }
.hw-hl-g{ background:var(--green-soft); color:var(--green-deep); }
.hw-hl-ico svg{ width:25px; height:25px; }
.hw-hl-item h3{ font-size:16.5px; margin-bottom:8px; }
.hw-hl-item p{ font-size:13.5px; margin:0; }

/* ---------- ⑥ 模块表 ---------- */
.hw-mod{ padding:56px 0 10px; }
.hw-table-wrap{
  overflow-x:auto; border-radius:var(--r-l); background:var(--white);
  border:2px dashed var(--green-mid); box-shadow:var(--shadow-s);
}
.hw-table{ width:100%; border-collapse:collapse; min-width:560px; }
.hw-table th{
  background:var(--green-soft); color:var(--green-deep);
  text-align:left; padding:13px 18px; font-size:14.5px;
}
.hw-table td{ padding:12px 18px; font-size:14px; border-top:2px dashed var(--pink-soft); }
.hw-table td:first-child{ font-weight:700; color:var(--ink); white-space:nowrap; }
.hw-table tbody tr:hover td{ background:var(--cream); }

/* ---------- ⑦ 案例 ---------- */
.hw-cases{ padding:56px 0 10px; }
.hw-case-row{ display:grid; grid-template-columns:1fr 1fr; gap:22px; max-width:880px; margin:0 auto; }
.hw-case{
  background:var(--white); border-radius:var(--r-l); overflow:hidden;
  box-shadow:var(--shadow-s); border:2px dashed transparent;
  transition:transform .3s ease, border-color .3s ease;
}
.hw-case:hover{ transform:translateY(-6px); border-color:var(--yellow); }
.hw-case img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.hw-case h3{ font-size:16.5px; padding:14px 18px 4px; }
.hw-case h3 a:hover{ color:var(--pink-deep); }
.hw-case p{ font-size:13.5px; padding:0 18px 18px; margin:0; }
.hw-cases-more{ text-align:center; margin-top:26px; }
.hw-cases-more a{ color:var(--pink-deep); font-weight:700; }

/* ---------- ⑧ 行业推荐 ---------- */
.hw-more{ padding:46px 0 10px; }
.hw-more-t{ font-size:17px; text-align:center; margin-bottom:16px; }
.hw-more-chips{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.hw-more-chips a{
  background:var(--white); border:2px dashed var(--pink-mid); color:var(--ink);
  font-weight:700; font-size:14px; padding:10px 20px; border-radius:var(--r-full);
  transition:transform .25s ease, background .25s ease, color .25s ease;
}
.hw-more-chips a:hover{ transform:translateY(-3px); background:var(--pink-soft); color:var(--pink-deep); }

/* ---------- ⑨ FAQ ---------- */
.hw-faq{ padding:46px 0 10px; }
.hw-faq-wrap{ max-width:820px; }
.hw-faq-item{
  background:var(--white); border-radius:var(--r-m);
  border:2px dashed var(--yellow-soft); box-shadow:var(--shadow-s);
  margin-bottom:14px; transition:border-color .25s ease;
}
.hw-faq-item[open]{ border-color:var(--yellow); }
.hw-faq-item summary{
  cursor:pointer; list-style:none; display:flex; align-items:center;
  justify-content:space-between; gap:14px;
  padding:16px 22px; font-weight:800; color:var(--ink); font-size:15.5px;
}
.hw-faq-item summary::-webkit-details-marker{ display:none; }
.hw-faq-plus{
  flex:none; width:28px; height:28px; border-radius:50%;
  background:var(--yellow-soft); color:var(--yellow-deep);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:18px; transition:transform .25s ease;
}
.hw-faq-item[open] .hw-faq-plus{ transform:rotate(45deg); background:var(--yellow); color:#fff; }
.hw-faq-item p{ padding:0 22px 16px; font-size:14.5px; margin:0; }
.hw-faq-item p a{ color:var(--pink-deep); font-weight:700; }

/* ---------- ⑩ CTA ---------- */
.hw-cta{ position:relative; margin:70px 20px 0; overflow:hidden; border-radius:var(--r-xl); }
.hw-cta-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hw-cta::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(232,160,32,.92) 0%, rgba(111,191,115,.86) 100%);
}
.hw-cta-inner{ position:relative; z-index:1; text-align:center; padding:64px 20px; }
.hw-cta-inner h2{ color:#fff; text-shadow:0 3px 10px rgba(140,90,20,.3); margin-bottom:14px; }
.hw-cta-inner p{ color:#fff; font-weight:600; margin-bottom:24px; }
.hw-cta-btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- 响应式 ---------- */
@media (max-width:1023.98px){
  .hw-hero-grid{ grid-template-columns:1fr; gap:28px; }
  .hw-pain-grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; }
  .hw-cat-grid{ grid-template-columns:repeat(2,1fr); }
  .hw-hl-grid{ grid-template-columns:1fr; }
  .hw-case-row{ grid-template-columns:1fr; max-width:480px; }
}
@media (max-width:767.98px){
  .hw-hero-btns .btn{ width:100%; }
  .hw-cat-grid{ grid-template-columns:1fr; }
  .hw-cta{ margin:56px 12px 0; }
  .hw-cta-inner{ padding:50px 18px; }
}
