/* ========================================================================
   鸿盛远（HSY）企业官网 — 全站样式（大气版）
   主色 #d11c19 | 蓝色高亮(优势序号/行业选中项) #d11c19 | 容器 1500px
   ======================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #d11c19;
  --primary-dark: #a81411;
  --primary-light: #fbe9e8;
  --blue: #d11c19;
  --blue-light: #e8f1fb;
  --text: #23272e;
  --text-light: #5b646e;
  --bg: #ffffff;
  --bg-gray: #f6f7f9;
  --bg-dark: #1d2127;
  --border: #e7eaee;
  --radius: 12px;
  --maxw: 1500px;
  --header-h: 82px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  
  color: var(--text); background: var(--bg); line-height: 1.75; font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-family: Noto Sans SC,"Microsoft Yahei",Arial;
  
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width:1600px; margin: 0 auto;}
.section { padding: 100px 0; }
.section-gray { background: var(--bg-gray); }

/* 区块通用标题 */
/* 区块通用标题组件 —— 简约外贸独立站风格
   居中：大号加粗中文标题 → 短红色装饰横线 → 浅灰色小字副标题 */
.sec-head { text-align: center; margin-bottom:50px; }
.sec-head1 { text-align: center; margin-bottom:20px;margin-top:30px;}
.sec-head__title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.sec-head__line {
  display: block;
  width: 72px;
  height: 5px;
  margin: 22px auto 18px;
  background: var(--primary);
  border-radius: 3px;
}
.sec-head__sub {
  margin: 0;
  font-size: 16px;
  color: #9aa3ab;
  letter-spacing: 1px;
  line-height: 1.7;
}

/* ========================================================================
   1. 头部导航栏
   ======================================================================== */
.topbar { background: var(--primary); color: #fff; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .tb-right span { margin-left: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

/* Logo 区：英文标识 + 中文公司名 + 英文全称 */
.logo { display: flex; align-items: center; gap: 14px; min-width: 0; flex-shrink: 0; }
.logo-img { height: 54px; width: auto; }
.logo-text { line-height: 1.15; }
.logo-en { display: block; font-size: 13px; font-weight: 800; letter-spacing: 4px; color: var(--primary); }
.logo-cn { display: block; font-size: 22px; font-weight: 700; color: var(--text); margin:5px 0 6px 0;}
.logo-full { display: block; font-size:11px; color:var(--text-light); letter-spacing:.9px;}

/* 导航菜单 */
.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; position: relative; padding: 28px 20px; font-size: 17px; color: var(--text); font-weight: 500;
  transition: color .2s; white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--primary); }
.main-nav > ul > li.has-menu > a::after { content: "▾"; font-size: 11px; margin-left: 5px; color: var(--text-light); }

/* 产品中心 mega 菜单 */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary);
  box-shadow: 0 16px 40px rgba(0,0,0,.14); padding: 26px 30px; border-radius: 0 0 12px 12px;
  display: none; z-index: 200; width: 880px;
}
.mega-head { font-size: 13px; color: var(--text-light); margin-bottom: 14px; letter-spacing: 3px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 20px; }
.mega-grid a { display: block; padding: 11px 12px; border-radius: 8px; font-size: 15px; color: var(--text); transition: .2s; }
.mega-grid a:hover { background: var(--primary-light); color: var(--primary); }

/* 普通下拉 */
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 190px;
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary);
  box-shadow: 0 16px 40px rgba(0,0,0,.14); border-radius: 0 0 12px 12px; display: none; z-index: 200; padding: 10px 0;
}
.dropdown a { display: block; padding: 12px 26px; font-size: 15px; color: var(--text); white-space: nowrap; transition: .2s; }
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }

/* 桌面端：鼠标悬停展开子菜单。
   限定「视口 > 768px」——移动端抽屉只认 .open 类；
   否则触屏设备点按产生的 :hover 粘滞会覆盖移动端 display:none，
   导致再次点击箭头 / 收起菜单后子菜单仍然展开（收不回去）。 */
@media (min-width: 769px) {
  .main-nav li.has-menu:hover .mega,
  .main-nav li.has-menu:hover .dropdown { display: block; }
}

/* 移动端子菜单展开按钮（桌面端隐藏，仅移动端显示） */
.submenu-toggle { display: none; }

/* 导航右侧电话 */
.header-phone {
  display: flex; align-items: center; gap: 9px; margin-left: 18px; padding: 10px 22px;
  border: 1.5px solid var(--primary); border-radius: 32px; color: var(--primary); font-weight: 600; white-space: nowrap;
  transition: .2s;
}
.header-phone:hover { background: var(--primary); color: #fff; }
.header-phone svg { width: 19px; height: 19px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: 12px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========================================================================
   2. 全屏 Banner 轮播（大气版）
   ======================================================================== */
.banner { position: relative; height:750px; min-height: 640px; overflow: hidden; }
.banner-slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease; display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-img { display: none; }
.slide::after {
  content: ""; position: absolute; inset: 0;
background: linear-gradient(105deg, rgba(34,24,21,.85) 0%, rgba(34,24,21,.58) 15%, rgba(34,24,21,.12) 100%);
}
.banner-content { position: relative; z-index: 2; color: #fff;}
.banner-content .b-tag {
  display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  padding: 9px 22px; border-radius: 24px; font-size: 15px; margin-bottom: 22px;
}
.banner-content h2 { font-size: 62px; line-height: 1.2; margin-bottom: 22px; letter-spacing: 1px; text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.banner-content p { font-size: 20px;  margin-bottom: 34px; }
.banner-content .btn-white {
  display: inline-block; padding: 16px 44px; border-radius: 34px; background: #fff; color: var(--primary);
  font-weight: 700; font-size: 17px; transition: .2s;
}
.banner-content .btn-white:hover { background: var(--primary-light); }

.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 56px; height: 56px;
  border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 28px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.banner-arrow:hover { background: rgba(255,255,255,.42); }
.banner-arrow.prev { left: 32px; }
.banner-arrow.next { right: 32px; }
.banner-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 12px; }
.banner-dots button { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .2s; }
.banner-dots button.active { background: #fff; width: 36px; border-radius: 7px; }

/* ========================================================================
   3. About 我们（左右分栏）
   ======================================================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.about-left { position: relative; padding: 10px 0; }
.about-left .watermark {
  position: absolute; top: -20px; right: -20px; writing-mode: vertical-rl;
  font-size: 120px; font-weight: 800; letter-spacing: 8px; color: #f1f3f5; z-index: 0; user-select: none; pointer-events: none;
}
.about-left > * { position: relative; z-index: 1; }
.company-name { font-size: 42px; color: var(--text); }
.about-subtitle { font-size: 21px; font-weight: 700; color: var(--primary); margin: 10px 0 30px; }
.about-stats { display: flex; gap: 56px; margin-bottom: 30px; }
.about-stats .num { display: block; font-size: 56px; font-weight: 800; color: var(--primary); line-height: 1; }
.about-stats .cap { font-size: 15px; color: var(--text-light); }
.about-desc { font-size: 16px; color: var(--text-light); margin-bottom: 30px; }
.btn-outline-arrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 80px; border: 1.5px solid var(--primary);
  border-radius: 32px; color: var(--primary); font-weight: 600; font-size: 16px; transition: .2s;
}
.btn-outline-arrow:hover { background: var(--primary); color: #fff; }
.about-right { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.about-right img { width: 100%; height: 500px; object-fit: cover; }

/* ========================================================================
   4. 产品中心
   ======================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.prod-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: .25s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(0,0,0,.14); border-color: var(--primary); }
.prod-card .pc-img { height:auto; overflow: hidden; background: var(--bg-gray); }
.prod-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.prod-card:hover .pc-img img { transform: scale(1.06); }
.prod-card .pc-body { padding: 26px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.prod-card h3 { font-size: 21px; margin-bottom: 10px; }
.prod-card p { font-size: 15px; color: var(--text-light); flex: 1; }
.prod-card .pc-more { margin-top: 16px; color: var(--primary); font-size: 15px; font-weight: 600; }
.prod-card .pc-more::after { content: " →"; }
.prod-more-wrap { text-align: center; margin-top: 48px; }
.btn-more {
  display: inline-block; padding: 8px 80px; border: 1.5px solid var(--primary); border-radius: 32px;
  color: var(--primary); font-weight: 600; font-size: 16px; transition: .2s;
}
.btn-more:hover { background: var(--primary); color: #fff; }

/* ========================================================================
   5. 行业应用（全屏切换）
   ======================================================================== */
.industry { position: relative; min-height:800px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.ind-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image .6s ease, opacity .6s ease; }
.ind-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,28,40,.8) 0%, rgba(20,28,40,.42) 50%, rgba(20,28,40,.1) 100%); }
.industry-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 90px 0; }
.ind-content { max-width: 640px; color: #fff; }
.ind-content h2 { font-size: 56px; margin-bottom: 20px; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.ind-content p { font-size: 20px; color: #eaf0f6; margin-bottom: 30px; }
.ind-content .btn-white {
  display: inline-block; padding: 8px 80px; border: 1.5px solid #fff; border-radius: 32px;
  color: #fff; font-weight: 600; font-size: 16px; transition: .2s;
}
.ind-content .btn-white:hover { background: #fff; color: var(--text); }
.ind-tabs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 44px; }
.ind-tab {
  display: flex; align-items: center; gap: 9px; padding: 8px 60px; border-radius: 32px;
  background: rgba(255,255,255,.14); color: #fff; font-size: 16px; border: 1px solid rgba(255,255,255,.35); transition: .2s;
}
.ind-tab .ico { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.ind-tab:hover { background: rgba(255,255,255,.3); }
.ind-tab.active { background: var(--blue); border-color: var(--blue); }
.ind-tab.active .ico { background: #fff; color: var(--blue); }

/* ========================================================================
   6. 工厂参观
   ======================================================================== */
.factory-scroll { position: relative;margin-top: 50px;}
.factory-grid { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.factory-card { flex: 0 0 clamp(350px, 40%, 250px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; transition: .25s; }
.factory-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.factory-card img { width: 100%; height:auto; object-fit: cover; }
.factory-card .fc-cap { padding: 18px 22px; font-size: 17px; color: var(--text); }
.factory-card .fc-cap span { display: block; color: var(--text-light); font-size: 14px; }

/* 工厂参观 左右滚动箭头 */
.fac-arrow {
  position: absolute; top: calc(50% - 20px); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--primary); font-size: 26px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: .2s;
}
.fac-arrow:hover { background: var(--primary); color: #fff; }
.fac-prev { left: -10px; }
.fac-next { right: -10px; }
.fac-arrow.disabled { opacity: .3; cursor: default; pointer-events: none; }

/* ========================================================================
   7. 企业优势
   ======================================================================== */
.adv-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.adv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 34px; transition: .25s; }
.adv-card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.1); transform: translateY(-6px); }
.adv-card .adv-num {
  width: 54px; height: 54px; border-radius: 10px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 23px; margin-bottom: 22px;
}
.adv-card h3 { font-size: 23px; margin-bottom: 16px; }
.adv-card ul li { font-size: 15px; color: var(--text-light); padding: 5px 0 5px 18px; position: relative; }
.adv-card ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ========================================================================
   8. 新闻中心 + 常见问题（左右）
   ======================================================================== */
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.nf-news .news-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px dashed var(--border); }
.nf-news .news-item .n-date { flex: 0 0 72px; text-align: center; }
.nf-news .news-item .n-date .d { display: block; font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1; }
.nf-news .news-item .n-date .m { font-size: 13px; color: var(--text-light); }
.nf-news .news-item h3 { font-size: 18px; }
.nf-news .news-item h3:hover { color: #a8140f; }
.nf-news .news-item p { font-size: 14px; color: var(--text-light); }
.nf-faq .faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.nf-faq .faq-item .faq-q {
  display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 52px 18px 24px; font-size: 17px; font-weight: 600; color: var(--text);
  position: relative; font-family: inherit; line-height: 1.5;
}
.nf-faq .faq-item .faq-q:hover { color: var(--primary); }
.nf-faq .faq-item .faq-ic { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; }
.nf-faq .faq-item .faq-ic::before, .nf-faq .faq-item .faq-ic::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; }
.nf-faq .faq-item .faq-ic::before { left: 0; top: 50%; width: 18px; height: 3px; transform: translateY(-50%); }
.nf-faq .faq-item .faq-ic::after { left: 50%; top: 0; width: 3px; height: 18px; transform: translateX(-50%); transition: opacity .25s, transform .25s; }
.nf-faq .faq-item.open .faq-ic::after { opacity: 0; transform: translateX(-50%) scaleY(0); }
.nf-faq .faq-item.open .faq-q { color: var(--primary); }
.nf-faq .faq-item .faq-body { display: none; padding: 0 24px 22px; }
.nf-faq .faq-item.open .faq-body { display: block; }
.nf-faq .faq-item .faq-a { color: var(--text-light); font-size: 15px; line-height: 1.75; }
.nf-faq .faq-item .faq-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 14px 0 0; font-size: 14px; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.nf-faq .faq-item .faq-more span { transition: transform .2s; }
.nf-faq .faq-item .faq-more:hover { color: #a8140f; }
.nf-faq .faq-item .faq-more:hover span { transform: translateX(4px); }

/* ========================================================================
   9. 底部 Footer
   ======================================================================== */
.site-footer { background: var(--bg-dark); color: #c9ced6; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #2c3138; }
.footer-grid h4 { color: #fff; font-size: 18px; margin-bottom: 22px; position: relative; padding-left: 14px;}
.footer-grid h4::before { content: ""; position: absolute; left: 0; top:8px; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
.footer-grid ul li { padding: 7px 0; font-size: 15px; }
.footer-grid ul li a:hover { color: #fff; }
.footer-about {width: 320px;}
.footer-about .f-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-about .f-logo img { height: 46px; }
.footer-about .f-logo strong { color: #fff; font-size: 20px; }
.footer-about p { font-size: 14.5px; color: #aeb4bd; }
.footer-contact {}
.footer-contact p { font-size: 14.5px; color: #aeb4bd; padding: 5px 0; }
.footer-contact p strong { color: #fff; }
.footer-qr {}
.footer-qr .qr { background: #fff; border-radius: var(--radius); padding: 14px; display: inline-block; margin-top: 6px; }
.footer-qr .qr img { width: 130px; height: 130px; object-fit: contain; }
.footer-qr span { display: block; font-size: 13px; color: #aeb4bd; margin-top: 10px; }
.footer-bottom { background: #14171c; color: #8b919b; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; height: 52px; flex-wrap: wrap; gap: 6px; }
.footer-bottom a { color: #aeb4bd; }
.footer-bottom .sep { color: #3a4048; margin: 0 12px; }

/* ========================================================================
   响应式
   ======================================================================== */

/* ===== 右侧悬浮固定栏 ===== */
.side-float {
  position: fixed;
  right: 18px;
  top: 80%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sf-btn {
  width: 54px;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.sf-contact { flex-direction: column; gap: 6px; padding: 12px 0; }
.sf-contact .sf-ico { width: 24px; height: 24px; color: var(--primary); transition: color .25s, transform .25s; }
.sf-contact .sf-text {
  writing-mode: vertical-rl;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--primary);
  transition: color .25s;
}
.sf-scroll { height: 54px; }
.sf-scroll .sf-ico { width: 26px; height: auto; display: block; transition: transform .25s; }
.sf-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;text-align: center;}
.sf-btn:hover { transform: translateX(-5px); box-shadow: 0 8px 22px rgba(209, 28, 25, .28); }
.sf-contact:hover .sf-ico { color: #a8140f; transform: scale(1.08); }
.sf-contact:hover .sf-text { color: #a8140f; }
.sf-scroll:hover .sf-ico { color: #a8140f; transform: translateY(4px); }


/* ===== 联系弹窗 ===== */
.contact-popup { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.contact-popup[hidden] { display: none; }
.cp-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.cp-panel {
  position: relative;
  background: #fff;
  width: 380px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 28px 26px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  animation: cp-in .25s ease;
}
@keyframes cp-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.cp-close {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px;
  border: none; background: transparent;
  font-size: 26px; line-height: 1; color: #9aa3ab;
  cursor: pointer; border-radius: 8px; transition: .2s;
}
.cp-close:hover { color: var(--primary); background: #f4f5f7; }
.cp-group { padding: 18px 0; border-bottom: 1px solid #eef0f2; }
.cp-group:last-child { border-bottom: none; padding-bottom: 4px; }
.cp-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; font-weight: 700; color: var(--text); }
.cp-ico { width: 22px; height: 22px; flex: none; color: var(--primary); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cp-qrs { display: flex; gap: 18px; justify-content: center; }
.cp-qr { margin: 0; text-align: center; }
.cp-qr img { width: 108px; height: 108px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 6px; }
.cp-qr--green img { border-color: #07C160; box-shadow: 0 0 0 2px rgba(7, 193, 96, .14); }
.cp-qr figcaption { margin-top: 8px; font-size: 12px; color: #9aa3ab; }
.cp-line { margin: 6px 0; font-size: 15px; color: #333; }
.cp-tip { margin: 4px 0 0; font-size: 13px; color: #9aa3ab; }

@media (max-width: 1280px) {
  .section { padding: 84px 0; }
  .banner-content h2 { font-size: 50px; }
  .sec-head__title { font-size: 38px; }
  .about-stats .num { font-size: 46px; }
  .ind-content h2 { font-size: 46px; }
  .company-name { font-size: 36px; }

  /* 头部：让出空间给导航，隐藏超长英文全称 */
  .header-inner { gap: 14px; }
  .logo-full { display: none; }
  .logo-cn { font-size: 16px; letter-spacing: 1px; }
  .main-nav > ul > li > a { padding: 28px 13px; font-size: 15px; }
  .header-phone { padding: 9px 16px; font-size: 14px; margin-left: 12px; }
  
  .banner {height: auto;}
}

@media (max-width: 1024px) {
  .topbar {display: none;}
  .container { padding: 0 24px; }
  .container_a{margin-bottom: 30px;}
  :root { --header-h: 74px; }

  .header-inner { gap: 12px; }
  .logo-img { height: 46px; }
  .main-nav > ul > li > a { padding: 24px 9px; font-size: 14px; }
  .mega { width: 640px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-right img { height: 360px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .factory-card { flex-basis: 46%; }
  .adv-row { grid-template-columns: repeat(2, 1fr); }
  .nf-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .mega { width: 720px; }
  .banner-content h2 { font-size: 42px; }
  .sec-head__title { font-size: 34px; }
  
  .header-phone{display: none;}
  
}

@media (max-width: 768px) {
  .cp-qrs { flex-wrap: wrap; gap: 14px; }


  .side-float { right: 10px; gap: 10px; }
  .sf-btn { width: 46px; }
  .sf-contact { padding: 9px 0; }
  .sf-contact .sf-text { font-size: 12px; letter-spacing: 2px; }
  .sf-scroll { height: 46px; }
  .sf-scroll .sf-ico { width: 22px; }

  :root { --header-h: 64px; }

  .header-inner { gap: 8px; }
  .logo-img { height: 38px; }
  .logo-cn { font-size: 14px; letter-spacing: 0; }
  .logo-full { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed; top: calc(var(--header-h) + 0px); left: 0; right: 0; bottom: 0;
    background: #fff; transform: translateX(100%); transition: .3s; overflow-y: auto; z-index: 99;
    border-top: 1px solid #eee;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 10px 0; align-items: stretch;width: 100%;}
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a { padding: 16px 22px; font-size: 16px; }
  .mega, .dropdown { position: static; transform: none; box-shadow: none; border: none; display: none; width: 100% !important; padding: 4px 0 14px 18px; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  /* 移动端只认 .open，彻底屏蔽 hover（防触屏 :hover 粘滞） */
  .main-nav li.has-menu:hover .mega,
  .main-nav li.has-menu:hover .dropdown { display: none; }
  .main-nav li.has-menu.open .mega,
  .main-nav li.has-menu.open .dropdown { display: block; }

  /* 父级栏目：文字可点击跳转，右侧另留箭头按钮展开子菜单 */
  .main-nav > ul > li.has-menu > a { padding-right: 66px; }
  .main-nav > ul > li.has-menu > a::after { display: none; }
  .submenu-toggle {
    display: flex; position: absolute; top: 0; right: 0; width: 58px; height: 100%;
    align-items: center; justify-content: center; cursor: pointer;
    color: var(--text-light); border-left: 1px solid var(--border);
    -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
  }
  .submenu-toggle::before { content: "▾"; font-size: 14px; line-height: 1; display: block; transition: transform .25s; }
  .main-nav li.has-menu.open > a > .submenu-toggle::before { transform: rotate(180deg); color: var(--primary); }

  .section { padding: 56px 0; }
  .sec-head__title { font-size: 28px; }
  .sec-head { margin-bottom: 44px; }

  .banner { height: 56vh; min-height: 340px; }
  /* 移动端：用 <img> 展示 Banner 图片（图片写在 HTML，不在 JS），隐藏背景图 */
  .slide { background-image: none !important; }
  .slide-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .banner-content h2 { font-size: 32px; }
  .banner-content p { font-size: 16px; }
  .banner-arrow { width: 42px; height: 42px; font-size: 22px; }
  .banner-arrow.prev { left: 14px; }
  .banner-arrow.next { right: 14px; }

  .about-left .watermark { font-size: 72px; }
  .about-stats { gap: 24px; }
  .about-stats .num { font-size: 34px; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-row { grid-template-columns: 1fr; }
  .factory-card { flex-basis: 82%; }
  .fac-arrow { width: 40px; height: 40px; font-size: 22px; }
  .fac-prev { left: -4px; }
  .fac-next { right: -4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; height: auto; padding: 14px 20px; }

  .industry { min-height: 600px; }
  .ind-content h2 { font-size: 34px; }
  .ind-content p { font-size: 16px; }
  .ind-tabs { gap: 8px; }
  .ind-tab { padding: 11px 18px; font-size: 14px; }
}

/* ===== 产品分类 选项卡 ===== */
.prod-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px;
  margin: 8px 0 30px; padding-bottom: 2px;
  border-bottom: 1px solid var(--border);
}
.prod-tab {
  position: relative; appearance: none; background: none; border: none;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--text-light);
  padding: 12px 18px; cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -1px; transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.prod-tab:hover { color: var(--primary); }
.prod-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.prod-panels { position: relative; }
.prod-panel { display: none; }
.prod-panel.active { display: block; animation: prodFade .35s ease; }
@keyframes prodFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.prod-intro {
  max-width: 880px; margin: 0 0 26px; font-size: 15px; line-height: 1.8;
  color: var(--text-light);
}
.prod-more-wrap {margin-top: 44px;}
@media (max-width: 768px) {
  .prod-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .prod-tab { padding: 10px 12px; font-size: 14px; }
}

@media (max-width: 480px) {
  .prod-grid { grid-template-columns: 1fr; }
}

/* ---------- 8. 图片懒加载（淡入 + 占位，配合原生 loading="lazy"） ---------- */
.lazy-img { opacity: 0; transition: opacity .45s ease; }
.lazy-img.loaded { opacity: 1; }

/* ============================================================
   首页新增区块 — 核心优势 / 应用案例 / 资质证书 / Banner 双按钮
   ============================================================ */
/* Banner 双按钮 */
.banner-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.banner-content .btn-outline {
  display: inline-block; padding: 16px 44px; border-radius: 34px;
  border: 2px solid #fff; color: #fff; font-weight: 700; font-size: 17px;
  background: transparent; transition: .2s;
}
.banner-content .btn-outline:hover { background: #fff; color: var(--primary); }



/* 应用案例 */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; cursor: zoom-in; transition: .25s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.12); border-color: var(--primary); }
.case-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.case-card figcaption { padding: 16px 18px; font-size: 16px; font-weight: 600; color: var(--text); text-align: center; }
.case-card:hover figcaption { color: var(--primary); }
.cases-tip { margin-top: 18px; font-size: 13px; color: var(--text-light); text-align: center; }

/* 资质证书（与内页荣誉墙一致） */
.honor-imgs img { cursor: zoom-in; }
.honor-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.honor-imgs figure, .honor-imgs .honor-item { margin: 0; }
.honor-imgs figcaption { margin-top: 8px; font-weight: 600; color: var(--text); text-align: center; line-height: 1.4; }
.honor-item:hover figcaption { color: var(--primary); }
.honor-imgs img { width: 100%; height:auto; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px; transition: .25s; }
.honor-imgs img:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(209,28,25,.10); }

/* 锚点平滑滚动时避开吸顶导航 */
section[id] { scroll-margin-top: 96px; }

/* 图片点击放大（lightbox 画廊：左右箭头 + 名称 + 计数） */
.lightbox { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); cursor: zoom-out; }
.lb-stage { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 90vw; }
.lb-img { max-width: 90vw; max-height: 78vh; width: auto; border-radius: 8px; box-shadow: 0 12px 50px rgba(0,0,0,.6); background: #fff; }
.lb-cap { margin-top: 12px; font-size: 15px; font-weight: 600; color: #fff; text-align: center; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-arrow:hover { background: rgba(255,255,255,.32); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.92); font-size: 14px; background: rgba(0,0,0,.45); padding: 6px 16px; border-radius: 999px; }
.lb-close { position: absolute; top: 18px; right: 22px; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,.32); }

@media (max-width: 1024px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; }
  .honor-imgs { grid-template-columns: repeat(2, 1fr); }
  .honor-imgs img { height: 110px; }
  .lb-arrow { width: 42px; height: 42px; font-size: 18px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
}
