/* ── Variables ───────────────────────────────────────────── */
:root {
  --c1:  rgba(9,57,140,1);
  --c1s: #09398c;
  --c2:  rgba(12,111,192,1);
  --c3:  rgb(7,60,140);
  --cg:  rgb(104,179,135);
  --sh:  1px 0 5px 1px rgba(218,225,244,1);
  /* 顶栏高度：随屏宽略变；≤960px 在媒体查询里固定 60px */
  --h: clamp(88px, 4.8vw + 54px, 100px);
  /* 内容宽度：与参考站一致，无上限（max-width:100%），靠两侧留白收窄 */
  --container-max: 100%;
  /* 横向槽宽：与参考站一致，两侧各 10%（内容区 = 80% 视口宽） */
  --site-gutter-x: 10%;
  --head-pad-x: var(--site-gutter-x);
  /* 桌面：Logo 与菜单紧挨；第三列吃掉剩余宽度把搜索/Quote 顶到右边。如需限制整行宽度，与 --head-slot-max 一起改 */
  --head-slot-max: var(--container-max);
  --head-logo-gap: clamp(10px, 1.2vw, 24px);
  --nav-gap: clamp(0.65rem, 1.35vw, 2rem);
  --nav-link-pad-y: clamp(6px, 0.65vw, 10px);
  --nav-link-pad-x: clamp(9px, 0.95vw, 16px);
  --nav-link-fs: clamp(18px, 0.55vw + 15px, 23px);
  --head-actions-gap: clamp(8px, 0.9vw, 16px);
  --quote-pad-x: clamp(14px, 1.9vw, 26px);
  --quote-fs: clamp(15px, 0.35vw + 13px, 18px);
  --head-icon-hit: clamp(44px, 3vw + 32px, 48px);
  /* 整站层：顶栏组 / 侧栏 / 底栏。顶栏内顺序用 .head-main(2) 与 .search-bar(1)，不靠变量算 */
  --z-sticky-header: 100;
  --z-float-side: 3000;
  --z-mobile-tabbar: 2000;
  --z-mobile-drawer: 5000;
}

/* ── Reset ───────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 62.5%; }
body  { font-family: Arial,sans-serif; font-size: 1.6rem; color: #434343; background: #fff; overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
img   { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; font-size: inherit; }
body,button,input,select,textarea { font-size: 1.6rem; font-family: Arial,sans-serif; }

/* ── Utilities ───────────────────────────────────────────── */
.full-main  { width: 100%; }
#maximg img { max-width: 100%; height: auto; }


/* 1. 搜索框内层 & 页头 banner 内层：父元素通栏，自身居中 */
.search-bar-inner,
.page-banner-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter-x);
  box-sizing: border-box;
}

/* 2. 白/浅底内容区：section 直接收窄（背景同色无视觉差异） */
.breadcrumb-bar,
.plist-wrap,
.product-detail-wrap,
.product-desc,
.product-related,
.newslist-wrap,
.news-detail-wrap,
.page-block:not(.block-banner):not(.block-side-panel):not(.block-banner-cards):not(.block-banner-cards-2):not(.block-banner-cards-4),
.block-banner .block-body,
.quote-section,
.contact-page {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter-x);
  box-sizing: border-box;
}

/* 3. 彩色底区块的通用内层容器（页脚三行共用） */
.ft-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--site-gutter-x);
  box-sizing: border-box;
}

/* 已在 .plist-wrap 上加容器；嵌套的 product-detail-wrap 不再重复两侧留白 */
.plist-wrap .plist-content > .product-detail-wrap {
  padding-inline: 0;
  padding-block: 0;
}

/* ── Header：sticky 主导航行 ── */
.head-box {
  position: sticky; top: 0; z-index: var(--z-sticky-header);
}

/* ── Header 主导航行：≤960 flex；≥961 grid ── */
.head-main {
  display: flex;
  align-items: center;
  height: var(--h);
  padding: 0 var(--head-pad-x);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 55%, #ffffff 100%);
  box-shadow:
    0 1px 0 rgba(9, 57, 140, .06),
    0 12px 28px rgba(7, 60, 140, .06);
  position: relative;
  z-index: 2;
}
.head-main::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cg) 0%, var(--c2) 55%, var(--c1s) 100%);
  opacity: .95;
  pointer-events: none;
}

.site-head-inner {
  display: contents;
}

.hd-logo { flex: 0 0 auto; margin-right: var(--head-logo-gap); display: flex; align-items: center; }
.hd-logo a { display: flex; align-items: center; }
.hd-logo img {
  height: clamp(44px, calc(var(--h) * 0.56), 58px);
  width: auto;
  max-width: clamp(128px, 22vw, 176px);
}

.hd-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

#menu-head-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  gap: 0 clamp(4px, 0.9vw, 14px);
  box-sizing: border-box;
}

#menu-head-nav li {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

#menu-head-nav li a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: var(--nav-link-fs);
  font-weight: 700;
  color: #1a2744;
  padding: var(--nav-link-pad-y) var(--nav-link-pad-x);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: .03em;
  transition: color .22s ease, background .22s ease, box-shadow .22s ease;
}

#menu-head-nav li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cg), var(--c2));
  transform: translateX(-50%);
  transition: width .25s ease;
}

#menu-head-nav li a:hover {
  color: var(--c1s);
  background: rgba(12, 111, 192, .08);
  box-shadow: 0 0 0 1px rgba(9, 57, 140, .08);
}

#menu-head-nav li a:hover::after {
  width: 46%;
}

#menu-head-nav li.current-menu-item a {
  color: var(--c1s);
  background: transparent;
  box-shadow: none;
}

#menu-head-nav li.current-menu-item a::after {
  width: 56%;
}

@media (min-width: 961px) {
  .head-main::before {
    width: 6px;
  }
  .site-head-inner {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto;
    align-items: center;
    width: 100%;
    max-width: var(--head-slot-max);
    margin: 0 auto;
    column-gap: clamp(12px, 1.5vw, 28px);
  }
  .hd-logo {
    grid-column: 1;
    margin-right: 0;
    justify-self: start;
    min-width: 0;
    padding-left: 0;
  }
  .hd-nav {
    grid-column: 2;
    flex: unset;
    justify-self: start;
    max-width: 100%;
    min-width: 0;
  }
  #menu-head-nav {
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }
  .hd-actions {
    grid-column: 3;
    margin-left: 0;
    justify-self: end;
  }
}

.hd-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  margin-left: var(--head-actions-gap);
  gap: clamp(8px, 1vw, 14px);
}

.hd-search-btn {
  flex: 0 0 auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: var(--head-icon-hit);
  min-width: var(--head-icon-hit);
  cursor: pointer;
  border: 2px solid rgba(9, 57, 140, .18);
  border-radius: 50%;
  background: #fff;
  font-size: clamp(17px, 0.35vw + 15px, 21px);
  color: var(--c3);
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 4px 12px rgba(7, 60, 140, .08);
}
.hd-search-btn:hover {
  color: var(--c1s);
  border-color: var(--c2);
  box-shadow: 0 6px 18px rgba(12, 111, 192, .18);
  transform: translateY(-1px);
}

.hd-quote {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  overflow: visible;
  filter: drop-shadow(0 6px 14px rgba(9, 57, 140, .22));
}
.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--quote-pad-x);
  min-height: calc(var(--head-icon-hit) - 4px);
  color: #fff;
  font-size: var(--quote-fs);
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--c1s) 0%, #0b52b8 48%, var(--c2) 100%);
  border: 2px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, filter .2s ease;
}
.quote-btn:hover {
  opacity: 1;
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.quote-btn-arrow {
  font-size: .85em;
  opacity: .9;
  transition: transform .22s ease;
}
.quote-btn:hover .quote-btn-arrow {
  transform: translateX(4px);
}

.wap-menu {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: var(--head-actions-gap);
  flex-shrink: 0;
  align-self: center;
}
.wap-menu .btnIcon { width: 3rem; height: 3rem; line-height: 3rem; font-size: 3rem; color: var(--c3); display: block; }

/* ── Mobile Panel ────────────────────────────────────────── */
#SITE_PANEL {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: 100%; z-index: var(--z-mobile-drawer);
  transform: translateX(-100%); transition: transform .3s linear; visibility: hidden;
}
#SITE_PANEL.panelLeftOpen { transform: translateX(0); visibility: visible; }
@media screen and (min-width: 961px) { html body #SITE_PANEL { display: none; visibility: hidden; pointer-events: none; } }

.sideBasicPanel { position: relative; background: #fff; height: 100%; width: 85%; z-index: 1; }
.panel-header    { height: 45px; position: relative; }
.modal-close {
  color: #999; line-height: 4rem; font-size: 2.4rem;
  position: absolute; right: 0; top: 0;
  width: 4rem; text-align: center; cursor: pointer;
}
.opc { display: none; background: rgba(0,0,0,.5); position: fixed; inset: 0; z-index: 0; }
.moMenubox { height: calc(100% - 45px); overflow-y: auto; }
.SITE_PANELUl { width: 100%; background: #fff; }
#SITE_PANEL .SITE_PANELLi { border-bottom: 1px solid #eee; }
#SITE_PANEL .SITE_PANELA {
  font-size: 1.8rem; color: #434343; background: #fff;
  display: block; text-decoration: none;
}
#SITE_PANEL .SITE_PANELA.paneltextShow p { height: 46px; line-height: 46px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#SITE_PANEL .SITE_PANELA p { padding-left: 12px; margin: 0; }
#SITE_PANEL .SITE_PANELA:hover { background: #f5f5f5; }

/* ── Search：fixed；z:1 低于 .head-main:2，收起 pointer-events:none */
.search-bar {
  position: fixed; top: var(--h); left: 0; right: 0;
  z-index: 1;
  background: #fff;
  transform: translateY(-100%); transition: transform .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  pointer-events: none;
}
.search-bar.open {
  transform: translateY(0);
  pointer-events: auto;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: clamp(8px, 1vw, 12px);
  max-width: var(--head-slot-max);
  margin-left: auto;
  margin-right: auto;
}
.search-bar-inner form { flex: 1; display: flex; align-items: center; border-bottom: 2px solid #e0e0e0; }
.search-bar-inner input[type=text] {
  flex: 1; border: none; outline: none;
  font-size: 1.6rem; color: #333; padding: 0 10px; height: 40px; background: transparent;
}
.search-bar-inner input[type=text]::placeholder { color: #aaa; }
.search-bar-inner button[type=submit] {
  background: none; border: none; cursor: pointer;
  color: var(--c3); font-size: 1.8rem; padding: 0 8px;
  display: flex; align-items: center;
}
.search-bar-close {
  background: none; border: none; cursor: pointer;
  color: #999; font-size: 2rem; padding: 0;
  display: flex; align-items: center; flex-shrink: 0;
}

/* ── Hero Banner ─────────────────────────────────────────── */
.home-banner { position: relative; width: 100%; overflow: hidden; background: #09204a; }
#swiper1 { width: 100%; }
#swiper1 .swiper-slide { height: 460px; overflow: hidden; position: relative; }
#swiper1 .swiper-slide a { display: block; width: 100%; height: 100%; }
#swiper1 .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-text-wrap { position: absolute; bottom: 80px; left: var(--site-gutter-x); z-index: 10; max-width: 52%; }
.banner-slogan h2 { font-size: 4.9rem; font-weight: bold; color: rgba(51,154,101,1); line-height: 1.3; margin-bottom: 20px; }
.banner-slogan p   { font-size: 2rem; color: #fff; margin-bottom: 28px; }
.banner-btn {
  display: inline-block; background: var(--c1s); color: #fff;
  font-size: 1.6rem; font-weight: bold;
  padding: 12px 28px; border-radius: 25px; transition: background .2s;
}
.banner-btn:hover { background: #0755c8; }
.home-banner .swiper-button-next,
.home-banner .swiper-button-prev { color: #fff; }
.home-banner .swiper-pagination-bullet-active { background: #fff; }

/* ── Product Card ─────────────────────────────────────────── */
.pro-item-wrap { width: 25%; margin-bottom: 4rem; }
.pro-item {
  margin: 0 2rem;
  background: #fff; border-radius: 12px;
  border: 3px solid var(--c1s);
  box-shadow: var(--sh); overflow: hidden;
  transition: border-width .15s, box-shadow .15s; cursor: pointer;
}
.pro-item:hover { border-width: 1px; box-shadow: 2px 2px 14px rgba(9,57,140,.18); }
.pro-item a { display: block; }
.pro-item-img { padding: 5%; aspect-ratio: 1; overflow: hidden; background: #fff; }
.pro-item-img img { width: 100%; height: 100%; object-fit: contain; }
.pro-item-name { font-size: 1.8rem; color: #000; padding: 1rem .5rem 0 2rem; line-height: 1.35; transition: color .2s; }
.pro-item:hover .pro-item-name { color: var(--c3); }
.pro-item-dash {
  display: block; font-size: 3rem; font-weight: bold; color: var(--cg);
  margin: 0 1.42% 2.5rem 6%; line-height: 10px; transition: color .2s;
}
.pro-item:hover .pro-item-dash { color: var(--c1s); }

/* ── About Page ──────────────────────────────────────────── */
.ab-hero {
  display: flex;
  background: #fff;
  padding-inline: var(--site-gutter-x);  /* 两侧10%留白 */
  padding-block: 40px;                   /* 与其他内容页一致的上下间距 */
  box-sizing: border-box;
  gap: 0;
}

/* 左：蓝色文案区 */
.ab-hero-text {
  flex: 0 0 52%;
  background: var(--c3);    /* 蓝色背景 */
  padding: 52px 5% 52px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  box-sizing: border-box;
}
.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cg);            /* 绿色小标签 */
}
.ab-title {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;                 /* 白色标题 */
  line-height: 1.15;
}
.ab-lead {
  font-size: 1.7rem;
  color: rgba(255,255,255,.88);
  line-height: 1.8;
}
.ab-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ab-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: var(--cg);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 4px;
  transition: opacity .2s, transform .2s;
}
.ab-btn-solid:hover { opacity: .88; transform: translateY(-2px); }

/* 右：背景图面板（无<img>，空值也不破图） */
.ab-hero-media {
  flex: 0 0 48%;
  background-color: var(--c3);
  background-image: linear-gradient(
    135deg,
    rgba(7,60,140,.9) 0%,
    rgba(12,111,192,.6) 100%
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
}

/* ── WhatsApp 绿色覆盖（about.html 用）─────────────────────── */
.ab-btn-wa { background: #25d366 !important; }

/* ── Footer Top Bar ───────────────────────────────────────── */
/* 外层：通栏蓝底；内层 .ft-inner：内容居中，flex 布局在内层 */
.footer-topbar { background: var(--c1s); padding-block: 28px; }
.footer-topbar .ft-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-topbar-text h3 { font-size: 3.2rem; font-weight: bold; color: #fff; margin-bottom: 6px; }
.footer-topbar-text p  { font-size: 1.7rem; color: rgba(255,255,255,.9); }
.footer-inquiry-btn {
  display: inline-block; border: 1px solid #fff; color: #fff;
  font-size: 1.7rem; font-weight: bold;
  padding: 14px 28px; border-radius: 100px;
  background: rgba(6,59,139,1); white-space: nowrap; transition: background .2s;
}
.footer-inquiry-btn:hover { background: #0755c8; }

/* ── Footer Main ──────────────────────────────────────────── */
.footer-main { background: var(--c1s); padding-block: 50px; border-top: 1px solid rgba(255,255,255,.15); }
.footer-main .ft-inner { display: flex; gap: 40px; }
.footer-col1 { flex: 0 0 30%; }
.footer-col2 { flex: 0 0 36%; }
.footer-col3 { flex: 1; padding-left: 3%; }
.footer-col-title { font-size: 2.5rem; font-weight: bold; color: #fff; margin-bottom: 20px; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list a  { font-size: 1.6rem; color: rgba(255,255,255,.85); display: block; padding: 4px 0; transition: color .2s; }
.footer-nav-list a:hover { color: #fff; text-decoration: underline; }
.footer-connected-text { font-size: 2rem; color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 12px; }
.footer-email-wrap  { margin-top: 16px; }
.footer-contact-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--c1s);
  font-size: 1.6rem; font-weight: bold;
  padding: 12px 22px; border-radius: 100px; transition: opacity .2s;
}
.footer-contact-cta:hover { opacity: .85; }
.footer-contact-list li   { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 2rem; color: #fff; }
.footer-contact-list a    { color: #fff; transition: text-decoration .2s; }
.footer-contact-list a:hover { text-decoration: underline; }
.footer-contact-icon { width: 22px; flex-shrink: 0; margin-top: 3px; font-size: 1.8rem; text-align: center; }

/* ── Footer Bottom ────────────────────────────────────────── */
.footer-bottom { background: rgba(6,49,118,1); padding-block: 16px; }
.footer-bottom .ft-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p,
.footer-bottom a { font-size: 1.6rem; color: rgba(255,255,255,.85); }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem;
  transition: background .25s, transform .2s;
}
.social-icon:hover { background: var(--c1s); transform: translateY(-2px); }

/* ── Right Float Bar ──────────────────────────────────────── */
.right-bar { position: fixed; right: 0; bottom: 31%; z-index: var(--z-float-side); }
.rtbar-item { position: relative; width: 56px; overflow: visible; }
.rtbar-btn {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 54px;
  background: rgba(0,0,0,.5); border-bottom: 1px solid #ddd;
  color: #fff; font-size: 2rem; cursor: pointer;
  transition: background .3s; text-decoration: none;
}
.rtbar-item:hover .rtbar-btn { background: var(--c1s); }
.rtbar-btn-top { border-bottom: none; }
.rtbar-expand {
  position: absolute; right: 56px; top: 0;
  background: var(--c1s); color: #fff;
  display: flex; align-items: center;
  padding: 0 14px; height: 54px;
  white-space: nowrap; font-size: 1.8rem;
  visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility .3s; pointer-events: none;
}
.rtbar-item:hover .rtbar-expand { visibility: visible; opacity: 1; }
.rtbar-expand i { margin-right: 8px; font-size: 2rem; }
.rtbar-arrow {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 10px solid var(--c1s);
}

/* ── Page Banner ──────────────────────────────────────────── */
.page-banner {
  width: 100%; min-height: 140px; display: flex; align-items: center;
  background: #0c306e; background-size: cover; background-position: center; position: relative;
}
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(9,57,140,.55); }
.page-banner-inner {
  position: relative; z-index: 1; padding-block: 22px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 12px; width: 100%;
}
.page-banner-title  { font-size: 3.8rem; font-weight: bold; color: #fff; line-height: 1.15; letter-spacing: .02em; }
.page-banner-crumb  { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1.4rem; color: rgba(255,255,255,.92); }
.page-banner-crumb-prefix { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.95); white-space: nowrap; }
.page-banner-crumb-prefix .fa-home { font-size: 1.5rem; }
.page-banner-crumb-path a    { color: #fff; transition: opacity .2s; }
.page-banner-crumb-path a:hover { opacity: .85; text-decoration: underline; }
.page-banner-crumb-path span { color: rgba(255,255,255,.8); }
.breadcrumb-bar   { border-bottom: 1px solid #eee; padding-block: 12px; }
.breadcrumb-bar a,
.breadcrumb-bar span { font-size: 1.4rem; color: #888; }
.breadcrumb-bar a:hover { color: var(--c1s); }

/* ── Product List Page ────────────────────────────────────── */
.plist-wrap { display: flex; gap: 30px; padding-block: 40px; }
.plist-sidebar { flex: 0 0 220px; }
.plist-sidebar-title { background: var(--c1s); color: #fff; font-size: 1.8rem; font-weight: bold; padding: 14px 20px; border-radius: 4px 4px 0 0; }
.plist-sidebar-nav { border: 1px solid #e0e0e0; border-top: none; }
.plist-sidebar-nav li a { display: block; padding: 12px 20px; font-size: 1.5rem; color: #555; border-bottom: 1px solid #f0f0f0; transition: all .2s; }
.plist-sidebar-nav li a:hover,
.plist-sidebar-nav li.active a { color: var(--c1s); background: #f5f8ff; padding-left: 24px; }
.plist-content  { flex: 1; min-width: 0; }
/* 详情页侧栏 + 主栏时避免与 .plist-wrap 重复左右留白 */
.plist-title-bar { font-size: 2rem; font-weight: bold; color: #333; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid var(--c1s); }
.plist-grid { display: flex; flex-wrap: wrap; }
.plist-item-wrap { width: 25%; margin-bottom: 3rem; }

/* ── Product Detail Page ──────────────────────────────────── */
.product-detail-wrap { display: flex; gap: 40px; padding-block: 40px; align-items: flex-start; }
.product-gallery      { flex: 0 0 45%; }
.product-gallery-main { border: 1px solid #eee; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.product-gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8%; }
.product-info   { flex: 1; }
.product-info h1 { font-size: 2.8rem; font-weight: bold; color: #222; margin-bottom: 20px; }
.product-contact-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-whatsapp,
.btn-email {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 4px;
  font-size: 1.5rem; font-weight: bold; cursor: pointer; border: none; text-decoration: none;
}
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-email    { background: var(--c1s); color: #fff; }
.product-form-box { margin-top: 20px; border: 1px solid #eee; border-radius: 8px; padding: 20px; background: #fafbff; }
.product-form-box h3 { font-size: 2rem; font-weight: bold; color: var(--c1s); margin-bottom: 16px; }
.product-form-box input,
.product-form-box textarea {
  width: 100%; border: 1.5px solid #c2cfe0; border-radius: 4px;
  height: 46px; padding: 0 12px; font-size: 1.6rem; margin-bottom: 12px; outline: none; background: #fff;
  transition: border-color .2s;
}
.product-form-box input:focus,
.product-form-box textarea:focus { border-color: var(--c1s); }
.product-form-box textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.product-form-box button {
  background: var(--c1s); color: #fff; border: none; border-radius: 4px;
  font-size: 1.6rem; padding: 12px 28px; cursor: pointer; transition: background .2s;
}
.product-form-box button:hover { background: #0755c8; }
.product-desc { padding-block: 40px; border-top: 1px solid #eee; }
.product-desc h2 { font-size: 2.4rem; font-weight: bold; color: #222; margin-bottom: 20px; border-left: 4px solid var(--c1s); padding-left: 14px; }
.product-desc-content { font-size: 1.6rem; color: #444; line-height: 1.8; }
.product-related { padding-top: 0; padding-bottom: 40px; }
.product-related h2 { font-size: 2.2rem; font-weight: bold; color: #333; margin-bottom: 20px; border-left: 4px solid var(--c1s); padding-left: 12px; }
.product-related-grid { display: flex; flex-wrap: wrap; }
.product-related-item { width: 25%; margin-bottom: 4rem; }

/* ── News List Page ───────────────────────────────────────── */
.newslist-wrap { padding-block: 40px; display: flex; gap: 30px; }
.newslist-main { flex: 1; }
.newslist-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid #eee; align-items: flex-start; }
.newslist-item:last-child { border-bottom: none; }
.newslist-item .ni-img { flex: 0 0 280px; height: 160px; overflow: hidden; border-radius: 8px; }
.newslist-item .ni-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.newslist-item:hover .ni-img img { transform: scale(1.04); }
.newslist-item .ni-text { flex: 1; }
.newslist-item .ni-date  { font-size: 1.3rem; color: #999; margin-bottom: 8px; }
.newslist-item .ni-title a {
  font-size: 2rem; font-weight: bold; color: #222;
  display: block; margin-bottom: 10px; line-height: 1.4; transition: color .2s;
}
.newslist-item .ni-title a:hover { color: var(--c1s); }
.newslist-item .ni-desc { font-size: 1.5rem; color: #666; line-height: 1.6; margin-bottom: 12px; }
.newslist-readmore { display: inline-block; color: var(--c1s); font-size: 1.4rem; border-bottom: 1px solid transparent; transition: border-color .2s; }
.newslist-readmore:hover { border-color: var(--c1s); }

/* ── News Detail Page ─────────────────────────────────────── */
.news-detail-wrap    { padding-block: 40px; display: flex; gap: 30px; }
.news-detail-main    { flex: 1; min-width: 0; }
/* 无侧栏（如关于页仅主栏）：与可读宽收窄一致；新闻/案例有 .news-sidebar 时不生效 */
.news-detail-wrap:not(:has(.news-sidebar)) .news-detail-main {
  max-width: 960px;
  margin-inline: auto;
  width: 100%;
}
.news-detail-title   { font-size: 2.8rem; font-weight: bold; color: #222; margin-bottom: 12px; line-height: 1.4; }
.news-detail-meta    { font-size: 1.3rem; color: #999; margin-bottom: 24px; }
.news-detail-content { font-size: 1.6rem; color: #444; line-height: 1.8; }
.news-detail-content img { max-width: 100%; margin: 12px 0; }
.news-detail-content .about-lead-thumb img { border-radius: 8px; display: block; }
.news-detail-content .about-lead-thumb img[src=""] { display: none; }
.news-prevnext { display: flex; gap: 20px; margin-top: 36px; border-top: 1px solid #eee; padding-top: 24px; }
.news-prevnext a { flex: 1; font-size: 1.5rem; color: #555; line-height: 1.5; transition: color .2s; }
.news-prevnext a:hover { color: var(--c1s); }
.news-sidebar       { flex: 0 0 280px; }
.news-sidebar-title { font-size: 2rem; font-weight: bold; color: #222; border-left: 4px solid var(--c1s); padding-left: 12px; margin-bottom: 16px; }
.news-related-item  { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.news-related-item .nr-img { flex: 0 0 80px; height: 60px; overflow: hidden; border-radius: 4px; }
.news-related-item .nr-img img { width: 100%; height: 100%; object-fit: cover; }
.news-related-item a {
  font-size: 1.4rem; color: #555; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s;
}
.news-related-item a:hover { color: var(--c1s); }


/* ── Contact Page ─────────────────────────────────────────── */
.contact-page { padding-block: 50px; }
.contact-inner {
  display: flex; align-items: stretch; gap: 32px;
  min-height: 520px;
}

/* ── Contact Left Panel ──────────────────────────────────── */
.contact-panel {
  flex: 0 0 36%;
  background: var(--c1s);
  color: #fff;
  border-radius: 12px;
  padding: 44px 38px;
  display: flex; flex-direction: column; gap: 0;
}
.contact-panel-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.contact-panel-brand-icon {
  font-size: 2.8rem; opacity: .85; flex-shrink: 0;
}
.contact-panel-brand h2 {
  font-size: 2rem; font-weight: bold; line-height: 1.3; color: #fff;
}
.contact-panel-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px; font-size: 1.5rem;
}
.contact-panel-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-top: 2px;
}
.contact-panel-label {
  display: block; font-size: 1.2rem; text-transform: uppercase;
  letter-spacing: .06em; opacity: .7; margin-bottom: 3px;
}
.contact-panel-item a,
.contact-panel-item span { color: #fff; word-break: break-all; }
.contact-panel-item a:hover { text-decoration: underline; }

.contact-panel-qr {
  margin-top: 4px; margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.contact-panel-qr img {
  width: 90px; height: 90px; object-fit: contain;
  border-radius: 6px; background: #fff; padding: 4px; flex-shrink: 0;
}
.contact-panel-qr span { font-size: 1.3rem; opacity: .8; }

.contact-panel-social {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex; gap: 10px; flex-wrap: wrap;
}
/* Hide when no social links configured */
.contact-panel-social:not(:has(a)) { display: none; }
.contact-panel-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff; font-size: 1.4rem;
  transition: background .2s, transform .2s;
}
.contact-panel-social-icon:hover { background: rgba(255,255,255,.35); transform: translateY(-2px); }

/* ── Contact Right Form Panel ────────────────────────────── */
.contact-form-wrap {
  flex: 1;
  padding: 44px 40px;
  background: #f8faff;
  border-radius: 12px;
  border: 1px solid #e4eaf6;
}
.contact-form-wrap h2 {
  font-size: 2.6rem; font-weight: bold; color: var(--c1s); margin-bottom: 6px;
}
.contact-form-sub { font-size: 1.4rem; color: #888; margin-bottom: 24px; line-height: 1.5; }
.contact-form-row { display: flex; gap: 14px; }
.contact-form-row input { flex: 1; min-width: 0; }
.contact-form input,
.contact-form textarea {
  display: block; width: 100%;
  /* font-size ≥ 16px prevents iOS Safari auto-zoom on focus */
  font-size: 1.6rem;
  height: 50px; padding: 0 16px;
  border: 1.5px solid #c2cfe0; border-radius: 8px;
  background: #fff; color: #333;
  margin-bottom: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; /* remove iOS inset shadow */
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--c1s);
  box-shadow: 0 0 0 3px rgba(9,57,140,.1);
}
.contact-form textarea {
  height: 130px; padding: 14px 16px;
  resize: vertical; line-height: 1.6;
}
.contact-code-row {
  display: flex; gap: 10px; align-items: center; margin-bottom: 14px;
}
.contact-code-row input { flex: 1; margin-bottom: 0; }
.contact-code-row img {
  height: 50px; width: auto; border-radius: 8px; cursor: pointer; flex-shrink: 0;
}
.contact-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: var(--c1s); color: #fff; border: none; border-radius: 8px;
  font-size: 1.7rem; font-weight: bold; padding: 15px 0;
  cursor: pointer; transition: background .2s, transform .15s;
  letter-spacing: .03em;
}
.contact-submit:hover { background: #0755c8; transform: translateY(-1px); }
.contact-form-note {
  font-size: 1.3rem; color: #aaa; margin-top: 14px;
  display: flex; align-items: center; gap: 6px;
}

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 6px; padding: 30px 0;
}
/* nav arrows (First / Prev / Next / Last) */
.pagination a.page-index,
.pagination a.page-pre,
.pagination a.page-next,
.pagination a.page-last {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 1.8rem; color: #555; transition: all .2s;
}
/* number bar wrapper — remove its own border/size */
.pagination .page-numbar { display: contents; }
/* individual page numbers */
.pagination .page-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 4px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 1.4rem; color: #555; text-decoration: none; transition: all .2s;
}
.pagination .page-none { font-size: 1.5rem; color: #999; }
/* hover & active states */
.pagination a:hover,
.pagination .page-num:hover,
.pagination .page-num-current {
  background: var(--c1s); color: #fff; border-color: var(--c1s);
}

/* ── Mobile Bottom Bar ────────────────────────────────────── */
#MO_SITE_FOOTER { display: none; width: 100%; position: fixed; bottom: 0; left: 0; z-index: var(--z-mobile-tabbar); }
#MO_SITE_FOOTER .footerNavBox { display: flex; justify-content: space-around; height: 50px; background: #fff; border-top: 1px solid rgb(211,211,211); }
.mo-footer-item { display: flex; align-items: center; justify-content: center; flex-direction: column; flex: 1; height: 100%; border-left: 1px solid rgb(211,211,211); text-decoration: none; overflow: hidden; }
.mo-footer-item:first-child { border-left: 0; }
.MO_SITE_FOOTERiIc { display: block; font-size: 2.3rem; line-height: 2.3rem; max-width: 2.3rem; color: var(--c3); }
.MO_SITE_FOOTERset { display: block; font-weight: bold; font-size: 1.7rem; color: var(--c3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Responsive Font Scale ────────────────────────────────── */
@media (min-width: 1981px) and (max-width: 2560px) { html { font-size: 68.75%; } }
@media (min-width: 1681px) and (max-width: 1980px) { html { font-size: 62.5%;  } }
@media (min-width: 1441px) and (max-width: 1680px) { html { font-size: 60.9375%; } }
@media (min-width: 1281px) and (max-width: 1440px) { html { font-size: 58.59375%; } }
@media (min-width: 1025px) and (max-width: 1280px) { html { font-size: 56.25%; } }
@media (min-width: 961px)  and (max-width: 1024px) { html { font-size: 50%; } }

/* ── Mobile ≤ 960px ───────────────────────────────────────── */
@media (max-width: 960px) {
  :root {
    --h: 60px;
    --site-gutter-x: 16px;   /* 移动端固定 16px，防止 2% 在小屏过窄 */
    --head-logo-gap: 0px;
    --head-actions-gap: clamp(8px, 2.2vw, 14px);
  }
  body  { padding-bottom: 50px; }

  .hd-nav   { display: none; }
  .hd-quote { display: none; }
  .hd-actions { margin-left: auto; }
  .hd-logo  { width: 68%; flex: none; margin: 0; }
  .hd-logo img { height: clamp(42px, 11.5vw, 54px); width: auto; max-width: none; }
  .wap-menu {
    display: flex;
    flex: none;
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
  }
  .wap-menu .btnIcon { font-size: 2.4rem; }

  #swiper1 .swiper-slide { height: 220px; }
  .banner-text-wrap { bottom: 24px; left: var(--site-gutter-x); max-width: 88%; }
  .banner-slogan h2 { font-size: 2.4rem; }
  .banner-slogan p  { font-size: 1.4rem; margin-bottom: 14px; }
  .banner-btn       { font-size: 1.4rem; padding: 10px 20px; }
  .pro-item-wrap    { width: 50%; }

  /* About page Hero */
  .ab-hero       { flex-direction: column; min-height: auto; }
  .ab-hero-text  { flex: none; padding: 40px var(--site-gutter-x); gap: 16px; }
  .ab-title      { font-size: 2.6rem; }
  .ab-lead       { font-size: 1.6rem; }
  .ab-hero-media { flex: none; min-height: 220px; }

  .footer-topbar { text-align: center; }
  .footer-topbar .ft-inner { flex-direction: column; gap: 14px; }
  .footer-topbar-text h3 { font-size: 2.4rem; }
  .footer-main { padding-block: 36px; }
  .footer-main .ft-inner { flex-direction: column; gap: 28px; }
  .footer-col1,.footer-col2,.footer-col3 { flex: none; width: 100%; padding: 0; }
  .footer-bottom .ft-inner { flex-direction: column; gap: 8px; justify-content: center; }
  .footer-bottom { text-align: center; padding-block: var(--site-gutter-x); }

  .page-banner { min-height: 108px; }
  .page-banner-inner { padding-block: 18px; gap: 8px; }
  .page-banner-title { font-size: 2.6rem; }
  .page-banner-crumb { font-size: 1.25rem; }
  .breadcrumb-bar { padding-block: 10px; }

  .plist-wrap { flex-direction: column; padding-block: 24px; }
  .plist-sidebar { flex: none; width: 100%; }
  .plist-item-wrap { width: 50%; }

  .product-detail-wrap { flex-direction: column; padding-block: 24px; }
  .product-gallery { flex: none; width: 100%; }

  .newslist-wrap { flex-direction: column; padding-block: 24px; }
  .newslist-item { flex-direction: column; }
  .newslist-item .ni-img { flex: none; width: 100%; height: 200px; }

  .news-detail-wrap { flex-direction: column; padding-block: 24px; }
  .news-sidebar { flex: none; width: 100%; }

  /* Dynamic page blocks → see block-layouts.css */

  .contact-page { padding-block: 24px 36px; }
  .contact-inner { flex-direction: column; gap: 20px; min-height: auto; }
  .contact-panel { flex: none; width: 100%; padding: 28px 20px; border-radius: 10px; }
  .contact-panel-brand { margin-bottom: 24px; padding-bottom: 20px; }
  .contact-panel-item { margin-bottom: 18px; }
  .contact-form-wrap { padding: 28px 20px; border-radius: 10px; box-shadow: 0 2px 16px rgba(9,57,140,.08); }
  .contact-form-wrap h2 { font-size: 2.2rem; }
  .contact-form-row { flex-direction: column; gap: 0; }
  .contact-form-row input { width: 100%; flex: none; }
  .contact-submit { font-size: 1.6rem; padding: 14px 0; }

  #MO_SITE_FOOTER { display: block; }
}

/* ── Product Related — Responsive ────────────────────────── */
@media (max-width: 992px) {
  .product-related-item { width: 50%; }
}
