/* =========================================================
   青岛永合盛模具有限公司 官网改版 · 模板样式
   主色：#B82630（低饱和酒红，导航/标题）  强调：#F26430（橙红，行动按钮）
   字体：阿里巴巴普惠体 3.0
   无框架依赖，纯原生 CSS，Grid/Flex 布局
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root{
  /* 酒红主色：导航栏、标题装饰、选中态、链接强调 */
  --brand:        #B82630;
  --brand-600:    #9E1F28;
  --brand-700:    #7E161F;
  --brand-050:    #FBF1F2;
  --brand-100:    #F2DCDE;

  /* 橙红强调色：询价 / 联系 / 提交等行动按钮 */
  --accent:       #F26430;
  --accent-600:   #DB4E1D;
  --accent-050:   #FDF0EB;

  /* 多级灰阶 */
  --ink-900:      #171A20;
  --ink-800:      #2C313B;
  --ink-700:      #454C58;
  --ink-600:      #5E6673;
  --ink-500:      #7B8391;
  --ink-400:      #9BA2AD;
  --ink-300:      #C5CAD2;
  --line:         #E5E7EA;
  --line-soft:    #F0F2F4;
  --bg:           #FFFFFF;
  --bg-soft:      #F6F7F8;
  --bg-mute:      #EFF1F3;
  --bg-dark:      #1C1F25;

  --shadow-sm: 0 1px 2px rgba(23,26,32,.06), 0 1px 3px rgba(23,26,32,.05);
  --shadow-md: 0 6px 16px -4px rgba(23,26,32,.10), 0 2px 6px -2px rgba(23,26,32,.06);
  --shadow-lg: 0 22px 44px -14px rgba(23,26,32,.18);

  --radius:  10px;
  --radius-lg: 16px;
  --container: 1400px;
  --header-h: 78px;

  --font: 'AlibabaPuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI',
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; padding:0;
  font-family:var(--font);
  font-size:15px; line-height:1.75;
  color:var(--ink-700);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{ margin:0; color:var(--ink-900); font-weight:700; line-height:1.35; }
p{ margin:0 0 1em; }
a{ color:inherit; text-decoration:none; transition:color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
a:hover{ color:var(--brand-600); }
img{ max-width:100%; height:auto; border:0; display:block; }
ul,ol{ margin:0; padding:0; list-style:none; }
button,input,textarea,select{ font:inherit; color:inherit; }
table{ border-collapse:collapse; width:100%; }
::selection{ background:var(--brand); color:#fff; }

/* 内容排版（详情页富文本） */
.rich p{ margin:0 0 1.1em; }
.rich img{ margin:12px 0; border-radius:var(--radius); }
.rich ul,.rich ol{ margin:0 0 1.1em; padding-left:1.6em; list-style:disc; }
.rich ol{ list-style:decimal; }
.rich li{ margin-bottom:.4em; }
.rich h1,.rich h2,.rich h3,.rich h4{ margin:1.4em 0 .7em; }
.rich table{ margin:1em 0; border:1px solid var(--line); }
.rich th,.rich td{ border:1px solid var(--line); padding:8px 12px; }
.rich th{ background:var(--bg-soft); }

/* ---------- 3. 布局工具 ---------- */
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 20px; }
.section{ padding:78px 0; }
.section--soft{ background:var(--bg-soft); }
.section--dark{ background:var(--bg-dark); }
.section--dark h2, .section--dark h3{ color:#fff; }

/* 区块标题 */
.sec-head{ text-align:center; margin-bottom:52px; }
.sec-head__title{ font-size:32px; letter-spacing:.5px; }
.sec-head__sub{ margin-top:10px; color:var(--ink-500); font-size:15px; }
.sec-head__bar{ width:46px; height:4px; border-radius:2px; background:var(--brand); margin:18px auto 0; }
.sec-head--left{ text-align:left; }
.sec-head--left .sec-head__bar{ margin-left:0; }
.sec-head__more{ display:inline-flex; align-items:center; gap:6px; font-size:14px; color:var(--ink-500); }
.sec-head__more:hover{ color:var(--brand); }
.sec-head__row{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }

/* 按钮 */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 26px; border-radius:6px; border:1px solid transparent;
  font-size:15px; font-weight:600; cursor:pointer; white-space:nowrap; }
.btn--primary{ background:var(--accent); color:#fff; box-shadow:0 8px 20px -6px rgba(242,100,48,.45); }
.btn--primary:hover{ background:var(--accent-600); color:#fff; box-shadow:0 10px 24px -6px rgba(219,78,29,.5); }
.btn--ghost{ border-color:rgba(255,255,255,.6); color:#fff; background:transparent; }
.btn--ghost:hover{ background:rgba(255,255,255,.14); color:#fff; border-color:#fff; }
.btn--outline{ border-color:var(--line); color:var(--ink-800); background:#fff; }
.btn--outline:hover{ border-color:var(--brand); color:var(--brand); }
.btn--sm{ padding:8px 18px; font-size:14px; }

/* 标签徽章 */
.badge{ display:inline-block; padding:2px 9px; border-radius:4px; font-size:12px; line-height:1.7; }
.badge--top{ background:var(--accent); color:#fff; }
.badge--rec{ background:var(--brand); color:#fff; }
.badge--head{ background:#2E90FA; color:#fff; }

/* 图片比例占位 */
.ratio{ position:relative; overflow:hidden; background:var(--bg-soft); }
.ratio > img{ width:100%; height:100%; object-fit:cover; transition:transform .55s cubic-bezier(.2,.7,.3,1); }
.ratio--1x1::before, .ratio--4x3::before, .ratio--16x9::before, .ratio--3x2::before{ content:''; display:block; }
.ratio--1x1::before{ padding-top:100%; }
.ratio--4x3::before{ padding-top:75%; }
.ratio--3x2::before{ padding-top:66.667%; }
.ratio--16x9::before{ padding-top:56.25%; }
.ratio > img{ position:absolute; inset:0; }

/* 进场动画（IntersectionObserver 触发） */
/* 入场动画仅在 JS 可用时启用，避免无 JS 环境内容不可见 */
.js .reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .js .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- 4. 顶部信息条 ---------- */
.topbar{ background:var(--bg-dark); color:#AEB7C4; font-size:13px; }
.topbar__inner{ display:flex; align-items:center; justify-content:space-between; min-height:38px; gap:16px; }
.topbar__list{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.topbar__item{ display:inline-flex; align-items:center; gap:7px; }
.topbar__item svg{ width:14px; height:14px; stroke:var(--accent); fill:none; stroke-width:1.8; flex:none; }
.topbar__item a:hover{ color:#fff; }
.topbar__slogan{ color:#8A93A2; }
.topbar__slogan b{ color:#fff; font-weight:600; }

/* ---------- 5. 页头导航 ---------- */
.site-header{ position:sticky; top:0; z-index:1000; background:var(--brand);
  border-bottom:1px solid rgba(0,0,0,.14); }
.site-header.is-scrolled{ box-shadow:0 8px 24px -8px rgba(126,22,31,.55); }
.header__inner{ display:flex; align-items:center; gap:28px; height:var(--header-h); }
.logo{ display:flex; align-items:center; gap:11px; flex:none; }
.logo img{ height:46px; width:auto; }
.logo__text{ display:flex; flex-direction:column; line-height:1.2; }
.logo__cn{ font-size:21px; font-weight:700; color:var(--ink-900); letter-spacing:1px; }
.logo__en{ font-size:10.5px; color:var(--ink-400); letter-spacing:2.6px; text-transform:uppercase; }

.nav{ margin-left:auto; }
.nav__list{ display:flex; align-items:center; gap:4px; }
.nav__item{ position:relative; }
.nav__link{ display:flex; align-items:center; gap:5px; padding:10px 17px; border-radius:6px;
  font-size:16px; font-weight:500; color:rgba(255,255,255,.9); }
.nav__link:hover{ color:#fff; background:rgba(255,255,255,.14); }
.nav__item.is-active > .nav__link{ background:#fff; color:var(--brand); font-weight:600; }
.nav__item.is-active > .nav__link::after{ content:''; position:absolute; left:50%; bottom:2px;
  transform:translateX(-50%); width:22px; height:3px; border-radius:2px; background:var(--accent); }
.nav__caret{ width:11px; height:11px; stroke:currentColor; fill:none; stroke-width:2; opacity:.7; transition:transform .25s; }
.nav__item:hover .nav__caret{ transform:rotate(180deg); }
.nav__sub{ position:absolute; top:100%; left:8px; min-width:180px; padding:8px;
  background:#fff; border-radius:10px; box-shadow:var(--shadow-lg); border:1px solid var(--line);
  opacity:0; visibility:hidden; transform:translateY(10px); transition:.25s ease; z-index:20; }
.nav__item:hover > .nav__sub{ opacity:1; visibility:visible; transform:translateY(4px); }
.nav__sub a{ display:block; padding:9px 14px; border-radius:6px; font-size:14.5px; color:var(--ink-700); }
.nav__sub a:hover{ background:var(--brand-050); color:var(--brand); padding-left:18px; }

.header__cta{ flex:none; display:flex; align-items:center; gap:18px; }
.header__tel{ display:flex; align-items:center; gap:9px; }
.header__tel svg{ width:21px; height:21px; stroke:#fff; fill:none; stroke-width:1.7; }
.header__tel span{ display:block; font-size:11.5px; color:rgba(255,255,255,.72); line-height:1.2; }
.header__tel b{ display:block; font-size:18px; color:#fff; letter-spacing:.5px; line-height:1.3; }

/* 移动端抽屉与汉堡 */
.nav-toggle{ display:none; margin-left:auto; width:42px; height:42px; border:0; background:none;
  cursor:pointer; padding:9px; border-radius:8px; }
.nav-toggle span{ display:block; height:2px; background:#fff; border-radius:2px; margin:5px 0; transition:.3s; }
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.mobile-nav{ display:none; }

/* ---------- 6. 首屏横幅 ---------- */
.hero{ position:relative; overflow:hidden; background:var(--bg-dark); }
.hero__slides{ position:relative; }
.hero__slide{ position:relative; }
.hero__slide img{ width:100%; height:520px; object-fit:cover; opacity:.92; }
.hero__slide::after{ content:''; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(23,26,32,.88) 0%, rgba(23,26,32,.58) 45%, rgba(184,38,48,.32) 100%); }
.hero__body{ position:absolute; inset:0; z-index:2; display:flex; align-items:center; }
.hero__inner{ max-width:var(--container); margin:0 auto; padding:0 20px; width:100%; }
.hero__tag{ display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff; font-size:13px; letter-spacing:1px; }
.hero__tag i{ width:6px; height:6px; border-radius:50%; background:var(--accent); }
.hero__title{ margin:20px 0 0; font-size:46px; line-height:1.22; color:#fff; letter-spacing:1px;
  text-shadow:0 2px 20px rgba(0,0,0,.3); }
.hero__desc{ margin:16px 0 0; max-width:600px; font-size:17px; color:rgba(255,255,255,.85); }
.hero__actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.hero__dots{ position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:3; display:flex; gap:9px; }
.hero__dot{ width:26px; height:4px; border-radius:2px; background:rgba(255,255,255,.35); border:0; cursor:pointer; padding:0; }
.hero__dot.is-on{ background:#fff; }
.hero__arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:46px; height:46px;
  border-radius:50%; border:1px solid rgba(255,255,255,.3); background:rgba(28,31,37,.35); color:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:20px; }
.hero__arrow:hover{ background:var(--accent); border-color:var(--accent); }
.hero__arrow--prev{ left:26px; }
.hero__arrow--next{ right:26px; }

/* ---------- 7. 优势条 ---------- */
.feature-strip{ margin-top:-56px; position:relative; z-index:5; }
.feature-strip__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.f-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:26px 24px; box-shadow:var(--shadow-md); transition:.3s ease; position:relative; overflow:hidden; }
.f-card::before{ content:''; position:absolute; left:0; top:0; width:100%; height:3px;
  background:linear-gradient(90deg,var(--brand),var(--brand-700)); transform:scaleX(0); transform-origin:left; transition:.35s ease; }
.f-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.f-card:hover::before{ transform:scaleX(1); }
.f-card__icon{ width:50px; height:50px; border-radius:12px; background:var(--brand-050);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.f-card__icon svg{ width:26px; height:26px; stroke:var(--brand); fill:none; stroke-width:1.6; }
.f-card__title{ font-size:17px; margin-bottom:7px; }
.f-card__text{ margin:0; font-size:13.5px; color:var(--ink-500); line-height:1.7; }

/* ---------- 8. 产品卡片 ---------- */
.prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.prod-grid--3{ grid-template-columns:repeat(3,1fr); }
.p-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.p-card__media{ display:block; }
.p-card:hover .ratio > img{ transform:scale(1.07); }
.p-card__body{ padding:17px 18px 19px; border-top:1px solid var(--line); }
.p-card__cat{ font-size:12px; color:var(--brand); letter-spacing:.5px; margin-bottom:5px; }
.p-card__title{ font-size:16px; font-weight:600; line-height:1.45; margin:0; }
.p-card__title a{ color:var(--ink-900); }
.p-card__title a:hover{ color:var(--brand); }
.p-card__desc{ margin:8px 0 0; font-size:13px; color:var(--ink-500); line-height:1.7;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.p-card__foot{ margin-top:12px; display:flex; align-items:center; justify-content:space-between; }
.p-card__more{ font-size:13px; color:var(--ink-400); display:inline-flex; align-items:center; gap:4px; }
.p-card:hover .p-card__more{ color:var(--brand); }

/* 产品分类宫格 */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.cat-card{ position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--bg-dark); }
.cat-card img{ width:100%; height:200px; object-fit:cover; opacity:.72; transition:transform .55s ease, opacity .35s ease; }
.cat-card::after{ content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(23,26,32,.88) 8%, rgba(23,26,32,.16) 62%); }
.cat-card:hover img{ transform:scale(1.08); opacity:.88; }
.cat-card__body{ position:absolute; inset:auto 0 0 0; z-index:2; padding:18px 20px; color:#fff; }
.cat-card__body h3{ color:#fff; font-size:17px; margin:0; }
.cat-card__body p{ margin:4px 0 0; font-size:12.5px; color:rgba(255,255,255,.72); }
.cat-card__num{ position:absolute; right:16px; top:12px; z-index:2; font-size:26px; font-weight:700;
  color:rgba(255,255,255,.3); font-style:italic; }

/* ---------- 9. 关于我们 ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-media{ position:relative; }
.about-media__main{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.about-media__badge{ position:absolute; right:-14px; bottom:-18px; background:var(--brand); color:#fff;
  border-radius:var(--radius-lg); padding:20px 26px; box-shadow:0 14px 30px -8px rgba(126,22,31,.45); }
.about-media__badge b{ display:block; font-size:30px; line-height:1.1; }
.about-media__badge span{ font-size:12.5px; opacity:.92; }
.about-lead{ font-size:16px; color:var(--ink-800); line-height:1.9; }
.about-text{ color:var(--ink-500); }
.about-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:26px 0 30px; }
.stat{ border-left:3px solid var(--brand); padding-left:14px; }
.stat b{ display:block; font-size:27px; color:var(--ink-900); line-height:1.2; }
.stat span{ font-size:13px; color:var(--ink-500); }

/* ---------- 10. 设备/案例网格 ---------- */
.case-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.case-card{ position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--ink-900); }
.case-card img{ width:100%; height:230px; object-fit:cover; opacity:.85; transition:.5s ease; }
.case-card::after{ content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(23,26,32,.85), rgba(23,26,32,.05) 65%); }
.case-card:hover img{ transform:scale(1.06); opacity:1; }
.case-card__body{ position:absolute; inset:auto 0 0 0; z-index:2; padding:16px 18px; }
.case-card__body h3{ color:#fff; font-size:16px; font-weight:600; margin:0; }
.case-card__more{ position:absolute; right:16px; bottom:16px; z-index:2; width:32px; height:32px; border-radius:50%;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.3); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:15px; }
.case-card:hover .case-card__more{ background:var(--brand); border-color:var(--brand); }

/* ---------- 11. 资讯 ---------- */
.news-grid{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }
.news-item{ display:flex; gap:18px; padding:20px 0; border-bottom:1px dashed var(--line); }
.news-item:first-child{ padding-top:0; }
.news-item__media{ flex:none; width:132px; }
.news-item:hover .ratio > img{ transform:scale(1.06); }
.news-item__date{ flex:none; width:64px; text-align:center; border-radius:8px; background:var(--bg-soft);
  border:1px solid var(--line); padding:8px 4px; align-self:flex-start; }
.news-item__date b{ display:block; font-size:20px; color:var(--brand); line-height:1.15; }
.news-item__date span{ font-size:11.5px; color:var(--ink-400); }
.news-item__title{ font-size:16px; font-weight:600; line-height:1.5; margin:0; }
.news-item__title a{ color:var(--ink-900); }
.news-item:hover .news-item__title a{ color:var(--brand); }
.news-item__desc{ margin:7px 0 0; font-size:13px; color:var(--ink-500); line-height:1.75;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ---------- 12. 询价 CTA ---------- */
.cta-band{ background:linear-gradient(105deg,#20242B 0%,#43161C 48%,#7E161F 100%); color:#fff; }
.cta-band__inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; font-size:28px; margin:0; }
.cta-band p{ margin:8px 0 0; color:rgba(255,255,255,.9); font-size:15px; }
.cta-band__tel{ display:flex; align-items:center; gap:14px; }
.cta-band__tel svg{ width:38px; height:38px; stroke:#fff; fill:none; stroke-width:1.5; }
.cta-band__tel span{ display:block; font-size:13px; opacity:.85; }
.cta-band__tel b{ display:block; font-size:26px; letter-spacing:1px; }
.cta-band .btn--ghost{ background:var(--accent); border-color:var(--accent); color:#fff; font-weight:600;
  box-shadow:0 8px 20px -6px rgba(242,100,48,.4); }
.cta-band .btn--ghost:hover{ background:var(--accent-600); border-color:var(--accent-600); color:#fff; }

/* ---------- 13. 页脚 ---------- */
.site-footer{ background:var(--bg-dark); color:#8A93A2; font-size:14px; }
.footer__top{ display:grid; grid-template-columns:2.1fr 1fr 1fr 1.2fr; gap:38px; padding:60px 0 44px; }
.footer__brand .logo__cn{ color:#fff; }
.footer__brand .logo__en{ color:#5B6572; }
.footer__brand p{ margin:16px 0 0; line-height:1.9; }
.footer__col h4{ color:#fff; font-size:15.5px; margin-bottom:18px; letter-spacing:.5px; }
.footer__col li{ margin-bottom:11px; }
.footer__col a{ color:#8A93A2; }
.footer__col a:hover{ color:#fff; padding-left:3px; }
.footer__contact li{ display:flex; gap:9px; margin-bottom:13px; line-height:1.65; }
.footer__contact svg{ width:15px; height:15px; stroke:var(--accent); fill:none; stroke-width:1.8; flex:none; margin-top:4px; }
.footer__qr{ text-align:center; }
.footer__qr img{ width:126px; height:126px; border-radius:10px; margin:0 auto; background:#fff; padding:6px; }
.footer__qr p{ margin:10px 0 0; font-size:12.5px; }
.footer__bottom{ border-top:1px solid rgba(255,255,255,.08); padding:20px 0; }
.footer__bottom .container{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.footer__bottom a{ color:#8A93A2; }
.footer__bottom a:hover{ color:#fff; }

/* ---------- 14. 内页通用 ---------- */
.page-hero{ position:relative; background:var(--bg-dark); overflow:hidden; }
.page-hero img{ width:100%; height:230px; object-fit:cover; opacity:.55; }
.page-hero__body{ position:absolute; inset:0; display:flex; align-items:center; }
.page-hero h1{ color:#fff; font-size:30px; margin:0; }
.page-hero p{ margin:8px 0 0; color:rgba(255,255,255,.78); font-size:14.5px; }

.crumbs{ padding:18px 0; border-bottom:1px solid var(--line); font-size:13.5px; color:var(--ink-500); }
.crumbs .container{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.crumbs a{ color:var(--ink-500); }
.crumbs a:hover{ color:var(--brand); }
.crumbs svg{ width:13px; height:13px; stroke:var(--ink-400); fill:none; stroke-width:1.6; }
.crumbs .is-here{ color:var(--ink-900); }

.layout{ display:grid; grid-template-columns:262px 1fr; gap:40px; padding:44px 0 80px; align-items:start; }

/* 侧栏 */
.side{ display:flex; flex-direction:column; gap:26px; position:sticky; top:calc(var(--header-h) + 20px); }
.side-panel{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.side-panel__head{ background:var(--bg-soft); padding:15px 20px; font-size:16px; font-weight:600;
  color:var(--ink-900); border-bottom:1px solid var(--line); display:flex; align-items:center; gap:9px; }
.side-panel__head i{ width:4px; height:16px; border-radius:2px; background:var(--brand); }
.side-nav a{ display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:13px 20px; font-size:15px; color:var(--ink-700); border-bottom:1px solid var(--line); }
.side-nav a:last-child{ border-bottom:0; }
.side-nav a::before{ content:''; width:5px; height:5px; border-radius:50%; background:var(--ink-400); flex:none; }
.side-nav a span{ flex:1; padding-left:12px; }
.side-nav a:hover{ background:var(--brand-050); color:var(--brand); }
.side-nav a.is-active{ background:var(--brand); color:#fff; font-weight:600; }
.side-nav a.is-active::before{ background:#fff; }
.side-nav a.is-active em{ color:rgba(255,255,255,.8); font-style:normal; }
.side-nav a em{ font-style:normal; font-size:12px; color:var(--ink-400); }

.side-contact{ background:linear-gradient(160deg,var(--brand) 0%,var(--brand-700) 100%); color:#fff;
  border-radius:var(--radius-lg); padding:26px 22px; }
.side-contact h4{ color:#fff; font-size:17px; margin-bottom:14px; }
.side-contact p{ margin:0 0 8px; font-size:13.5px; opacity:.94; line-height:1.7; }
.side-contact b{ font-size:20px; letter-spacing:.5px; }
.side-contact .btn{ width:100%; margin-top:16px; background:var(--accent); color:#fff; border:0;
  box-shadow:0 8px 20px -8px rgba(242,100,48,.55); }
.side-contact .btn:hover{ background:#fff; color:var(--brand-700); }

/* 内容区标题 */
.panel-body{ padding:26px 28px 30px; }
.main-head{ display:flex; align-items:center; gap:12px; margin-bottom:26px; padding-bottom:15px; border-bottom:2px solid var(--ink-900); }
.main-head h2{ font-size:21px; margin:0; }
.main-head i{ width:4px; height:19px; border-radius:2px; background:var(--brand); }
.main-head span{ margin-left:auto; font-size:13px; color:var(--ink-400); }

/* 产品详情 */
.product-detail{ display:grid; grid-template-columns:460px 1fr; gap:40px; align-items:start; }
.pd-gallery__main{ border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.pd-meta h1{ font-size:24px; margin-bottom:10px; }
.pd-meta__row{ display:flex; gap:8px; margin:14px 0; flex-wrap:wrap; }
.pd-meta__actions{ display:flex; gap:12px; margin-top:26px; flex-wrap:wrap; }
.pd-specs{ margin:20px 0 0; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.pd-specs div{ display:flex; border-bottom:1px solid var(--line); font-size:14px; }
.pd-specs div:last-child{ border-bottom:0; }
.pd-specs dt{ width:112px; flex:none; background:var(--bg-soft); padding:11px 16px; color:var(--ink-500); }
.pd-specs dd{ margin:0; padding:11px 16px; color:var(--ink-800); }

/* 详情正文 */
.detail-body{ padding:28px 0 0; }
.detail-title{ font-size:23px; line-height:1.45; margin-bottom:12px; }
.detail-meta{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; padding:14px 0;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  font-size:13px; color:var(--ink-500); margin-bottom:26px; }
.detail-meta span{ display:inline-flex; align-items:center; gap:6px; }
.detail-meta svg{ width:14px; height:14px; stroke:var(--ink-400); fill:none; stroke-width:1.7; }
.detail-pager{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:38px; padding-top:22px; border-top:1px solid var(--line); }
.detail-pager a{ display:block; font-size:14px; color:var(--ink-500); }
.detail-pager a:hover{ color:var(--brand); }
.detail-pager span{ display:block; font-size:12.5px; color:var(--ink-400); margin-bottom:4px; }
.detail-pager div:last-child{ text-align:right; }

/* 单页 */
.page-article{ padding:10px 0 30px; }
.page-article h1{ font-size:26px; text-align:center; margin-bottom:8px; }
.page-article__sub{ text-align:center; color:var(--ink-400); font-size:13.5px; margin-bottom:28px; }

/* 列表行 */
.row-list li{ border-bottom:1px dashed var(--line); }
.row-list a{ display:flex; align-items:center; gap:14px; padding:17px 4px; }
.row-list__dot{ width:6px; height:6px; border-radius:50%; background:var(--brand-100); flex:none; transition:.25s; }
.row-list a:hover .row-list__dot{ background:var(--brand); transform:scale(1.5); }
.row-list__title{ flex:1; font-size:15.5px; color:var(--ink-800); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.row-list a:hover .row-list__title{ color:var(--brand); }
.row-list__date{ flex:none; font-size:13px; color:var(--ink-400); }

/* 分页 */
.pagination{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:44px; flex-wrap:wrap; }
.pagination a,.pagination span{ display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:38px; padding:0 12px; border-radius:8px; border:1px solid var(--line);
  font-size:14px; color:var(--ink-700); background:#fff; }
.pagination a:hover{ border-color:var(--brand); color:var(--brand); }
.pagination .is-current{ background:var(--brand); border-color:var(--brand); color:#fff; font-weight:600; }
.pagination .disabled{ color:var(--ink-400); background:var(--bg-soft); cursor:not-allowed; }

/* 搜索框 */
.search-form{ display:flex; gap:10px; margin-bottom:30px; }
.search-form input{ flex:1; height:44px; padding:0 16px; border:1px solid var(--line); border-radius:8px; outline:none; }
.search-form input:focus{ border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-100); }

/* ---------- 15. 表单 ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-item{ display:flex; flex-direction:column; gap:7px; }
.form-item--full{ grid-column:1 / -1; }
.form-item label{ font-size:14px; font-weight:600; color:var(--ink-800); }
.form-item label em{ color:var(--brand); font-style:normal; margin-left:3px; }
.form-item input,.form-item textarea,.form-item select{
  height:46px; padding:0 14px; border:1px solid var(--line); border-radius:8px; outline:none;
  background:#fff; transition:border-color .2s, box-shadow .2s; }
.form-item textarea{ height:auto; padding:12px 14px; resize:vertical; min-height:120px; line-height:1.7; }
.form-item input:focus,.form-item textarea:focus{ border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-100); }
.form-item .code-row{ display:flex; gap:10px; }
.form-item .code-row img{ height:46px; border-radius:8px; cursor:pointer; border:1px solid var(--line); }
.form-notice{ margin-top:18px; padding:14px 18px; border-radius:10px; background:var(--brand-050);
  border:1px solid var(--brand-100); font-size:13.5px; color:var(--brand-700); }

/* 留言列表 */
.msg-item{ border:1px solid var(--line); border-radius:var(--radius-lg); padding:20px 22px; margin-bottom:16px; background:#fff; }
.msg-item__head{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.msg-item__avatar{ width:38px; height:38px; border-radius:50%; background:var(--brand-050); color:var(--brand);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; flex:none; }
.msg-item__name{ font-weight:600; color:var(--ink-900); }
.msg-item__time{ font-size:12.5px; color:var(--ink-400); }
.msg-item p{ margin:0; color:var(--ink-700); }
.msg-item__reply{ margin-top:14px; padding:14px 16px; border-radius:10px; background:var(--bg-soft); border-left:3px solid var(--brand); }
.msg-item__reply span{ display:block; font-size:12.5px; color:var(--brand); font-weight:600; margin-bottom:5px; }

/* ---------- 16. 联系我们 ---------- */
.contact-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:44px; }
.contact-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px 26px; transition:.3s; }
.contact-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); }
.contact-card__icon{ width:48px; height:48px; border-radius:12px; background:var(--brand-050);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.contact-card__icon svg{ width:24px; height:24px; stroke:var(--brand); fill:none; stroke-width:1.6; }
.contact-card h3{ font-size:17px; margin-bottom:8px; }
.contact-card p{ margin:0; font-size:15px; color:var(--ink-700); line-height:1.75; word-break:break-all; }
.contact-map{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); background:var(--bg-soft); }
.contact-map iframe{ width:100%; height:360px; border:0; display:block; }
.contact-map--empty{ height:360px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--ink-400); font-size:14px; gap:10px; }

/* ---------- 17. 浮动工具 / 返回顶部 ---------- */
.float-bar{ position:fixed; right:18px; bottom:90px; z-index:900; display:flex; flex-direction:column; gap:10px; }
.float-bar button{ width:46px; height:46px; border-radius:10px; border:1px solid var(--line); background:#fff;
  box-shadow:var(--shadow-md); cursor:pointer; display:flex; align-items:center; justify-content:center; }
.float-bar button svg{ width:21px; height:21px; stroke:var(--ink-700); fill:none; stroke-width:1.7; }
.float-bar button:hover{ background:var(--brand); border-color:var(--brand); }
.float-bar button:hover svg{ stroke:#fff; }
.float-bar__pop{ position:absolute; right:58px; top:0; background:#fff; border:1px solid var(--line);
  border-radius:10px; box-shadow:var(--shadow-lg); padding:14px; white-space:nowrap; font-size:13px;
  opacity:0; visibility:hidden; transform:translateX(8px); transition:.25s; }
.float-bar button:hover + .float-bar__pop{ opacity:1; visibility:visible; transform:none; }

/* 移动端底部操作条 */
.mobile-bar{ display:none; position:fixed; left:0; right:0; bottom:0; z-index:1000; background:#fff;
  border-top:1px solid var(--line); box-shadow:0 -4px 16px rgba(23,26,32,.06); }
.mobile-bar a{ flex:1; display:flex; align-items:center; justify-content:center; gap:7px; height:52px; font-size:14.5px; color:var(--ink-800); }
.mobile-bar a svg{ width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.7; }
.mobile-bar a + a{ border-left:1px solid var(--line); }
.mobile-bar a.is-brand{ background:var(--accent); color:#fff; }

/* ---------- 18. 响应式 ---------- */
@media (max-width:1080px){
  :root{ --header-h:70px; }
  .hero__title{ font-size:38px; }
  .feature-strip__grid,.prod-grid,.case-grid,.cat-grid{ grid-template-columns:repeat(3,1fr); }
  .layout{ grid-template-columns:1fr; gap:30px; }
  .side{ position:static; }
  .product-detail{ grid-template-columns:1fr; gap:26px; }
  .footer__top{ grid-template-columns:1fr 1fr; gap:30px; }
}

@media (max-width:900px){
  .topbar{ display:none; }
  .header__cta{ display:none; }
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .mobile-nav{ display:block; position:fixed; inset:var(--header-h) 0 0; background:#fff; z-index:999;
    overflow-y:auto; padding:14px 20px 90px; transform:translateX(100%); transition:transform .3s ease; }
  .mobile-nav.is-open{ transform:none; }
  .mobile-nav__group{ border-bottom:1px solid var(--line); }
  .mobile-nav__group > a{ display:flex; align-items:center; justify-content:space-between;
    padding:16px 4px; font-size:16.5px; font-weight:600; color:var(--ink-900); }
  .mobile-nav__sub{ display:none; padding:0 0 12px; }
  .mobile-nav__group.is-open .mobile-nav__sub{ display:block; }
  .mobile-nav__sub a{ display:block; padding:11px 12px; font-size:15px; color:var(--ink-700);
    border-radius:8px; background:var(--bg-soft); margin-bottom:7px; }
  .mobile-nav__sub a.is-active{ background:var(--brand); color:#fff; }
  .mobile-nav__caret{ transition:transform .25s; }
  .mobile-nav__group.is-open .mobile-nav__caret{ transform:rotate(180deg); }
  .mobile-bar{ display:flex; }
  body{ padding-bottom:52px; }
  .float-bar{ bottom:76px; }
  .section{ padding:56px 0; }
  .hero__slide img{ height:420px; }
  .hero__title{ font-size:31px; }
  .hero__desc{ font-size:15px; }
  .feature-strip{ margin-top:0; }
  .feature-strip__grid{ grid-template-columns:1fr 1fr; }
  .prod-grid,.case-grid,.cat-grid{ grid-template-columns:1fr 1fr; gap:16px; }
  .prod-grid--3{ grid-template-columns:1fr 1fr; }
  .about-grid,.news-grid{ grid-template-columns:1fr; gap:34px; }
  .about-stats{ grid-template-columns:repeat(3,1fr); }
  .cta-band__inner{ flex-direction:column; text-align:center; }
  .form-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .detail-pager{ grid-template-columns:1fr; }
  .detail-pager div:last-child{ text-align:left; }
  .footer__top{ grid-template-columns:1fr; padding:44px 0 32px; }
  .footer__bottom .container{ justify-content:center; text-align:center; }
  .sec-head__title{ font-size:25px; }
  .sec-head{ margin-bottom:36px; }
}

@media (max-width:560px){
  .container{ padding:0 16px; }
  .prod-grid,.case-grid,.cat-grid,.feature-strip__grid{ grid-template-columns:1fr; }
  .prod-grid--3{ grid-template-columns:1fr; }
  .about-stats{ grid-template-columns:1fr 1fr; }
  .hero__slide img{ height:360px; }
  .hero__title{ font-size:26px; }
  .hero__actions .btn{ width:100%; }
  .page-hero img{ height:170px; }
  .page-hero h1{ font-size:24px; }
  .logo img{ height:40px; }
  .logo__cn{ font-size:19px; }
  .main-head span{ display:none; }
}

/* ---------- 19. 打印 ---------- */
@media print{
  .site-header,.site-footer,.float-bar,.mobile-bar,.topbar,.hero__arrow,.hero__dots{ display:none !important; }
  body{ padding:0; }
}
