/* =========================================================
   宏阳防水材料 企业官网
   配色：logo 宝蓝色系  #0052B4
   排版：仿 changwuyu.com
   ========================================================= */

:root {
  --primary: #0052B4;
  --primary-dark: #003E8A;
  --primary-deep: #13294B;
  --light-blue: #EAF2FC;
  --bg-gray: #F5F7FA;
  --text-main: #333333;
  --text-sub: #666666;
  --text-light: #999999;
  --white: #FFFFFF;
  --border: #E5E9F0;
  --shadow: 0 6px 24px rgba(0, 82, 180, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 82, 180, 0.16);
  --radius: 10px;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 通用区块标题 ---------- */
.section { padding: 70px 0; }
.section.gray { background: var(--bg-gray); }
.section-head {
  text-align: center;
  margin-bottom: 45px;
}
.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  padding-bottom: 16px;
  letter-spacing: 1px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.section-head .sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-sub);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  transition: all .25s ease;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-lg { padding: 14px 44px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(19, 41, 75, 0.08);
}
.topbar {
  background: var(--primary-deep);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #fff; margin-left: 18px; }
.topbar a:hover { text-decoration: underline; }
.topbar .welcome span { margin-right: 8px; }

.header-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 14px; max-width: var(--container); margin: 0 auto; }
.header-main > .logo { justify-self: start; }
.header-main > nav { justify-self: center; min-width: 0; overflow: visible; }
.header-main > nav::-webkit-scrollbar { display: none; }
.header-main > nav { overflow: visible !important; }
.header-main > .header-right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.header-main > .header-right .lang-switch { margin-right: 0; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 52px; width: auto; aspect-ratio: 1600 / 800; }
.logo-text { margin-left: 14px; }
.logo-text .cn { font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: 1px; line-height: 1.2; }
.logo-text .en { font-size: 12px; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; }

.main-nav { display: flex; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 12px 9px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
  transition: color .2s;
}
.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--primary); }
.main-nav > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s;
}
.main-nav > li > a:hover::after,
.main-nav > li.active > a::after { transform: scaleX(1); }

/* 下拉菜单 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 1000;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .25s ease;
}
.main-nav > li:hover .dropdown-menu,
.main-nav > li.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav > li.has-dropdown > a .caret { display: inline-block; margin-left: 4px; font-size: 10px; transition: transform .2s; }
.main-nav > li.open > a .caret { transform: rotate(180deg); }
.dropdown-menu li a { display: block; padding: 9px 20px; font-size: 14px; color: var(--text-sub); }
.dropdown-menu li a:hover { color: var(--primary); background: var(--light-blue); }

/* 产品超级菜单 mega menu */
.has-mega { position: static !important; }
.main-nav > li.has-mega > a::after { left: 14px; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  width: min(960px, calc(100vw - 60px));
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 22px 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 1000;
}
.main-nav > li:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.mega-products a {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 8px 6px 10px;
  transition: background .2s;
}
.mega-products a:hover { background: var(--light-blue); }
.mega-products img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}
.mega-products .mp-name { display: block; font-size: 13px; color: var(--text-main); line-height: 1.35; min-height: 2.7em; }
.mega-all {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.mega-all:hover { background: var(--primary); color: #fff; }
@media (max-width: 1100px) {
  .mega-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .mega-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    padding: 10px 0;
  }
  .mega-products { grid-template-columns: repeat(2, 1fr); }
  .mega-products a { padding: 6px; }
  .mega-all { margin-top: 10px; }
}

.header-tel { display: flex; align-items: center; gap: 10px; }
.header-tel .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--light-blue); display: flex; align-items: center; justify-content: center; }
.header-tel .icon img { width: 22px; height: 22px; }
.header-tel .label { font-size: 12px; color: var(--text-sub); }
.header-tel .num { font-size: 19px; font-weight: 800; color: var(--primary); letter-spacing: .5px; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--primary); border-radius: 2px; }

/* ---------- 首页 Banner 轮播 ---------- */
.hero { position: relative; overflow: hidden; }
.hero-slide { position: relative; height: 560px; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,62,138,.72) 0%, rgba(0,82,180,.35) 55%, rgba(0,82,180,.08) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; color: #fff; }
.hero-content .tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 8px;
  margin-bottom: 22px;
  width: fit-content;
  letter-spacing: .3px;
}
.hero-content h1 { font-size: 54px; font-weight: 800; line-height: 1.18; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,.25); max-width: 820px; }
.hero-content .en { font-size: 18px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 30px; }
.hero-content p { max-width: 560px; font-size: 16.5px; color: rgba(255,255,255,.94); margin-bottom: 36px; line-height: 1.7; }
.hero-content .btn {
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  padding: 15px 48px;
  font-size: 16px;
  font-weight: 600;
  min-width: 230px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  text-align: left;
  justify-content: flex-start;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.hero-content .btn:hover { background: var(--light-blue); color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots span {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.hero-dots span.active { background: #fff; width: 44px; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s ease;
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.product-card .img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-gray); position: relative; }
.product-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .img img { transform: scale(1.06); }
.product-card .body { padding: 20px 22px 24px; text-align: center; }
.product-card .body h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 14px; }
.product-card .body .btn { padding: 8px 26px; font-size: 13px; }

/* ---------- 品牌优势 ---------- */
.advantage { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.advantage .left { position: relative; }
.advantage .left img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.advantage .badge {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-hover);
}
.advantage .badge .num { font-size: 34px; font-weight: 800; }
.advantage .badge .t { font-size: 13px; opacity: .9; }
.advantage .right h3 { font-size: 30px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.advantage .right .en { font-size: 13px; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.advantage .right .desc { color: var(--text-sub); margin-bottom: 28px; }
.adv-item { display: flex; gap: 16px; margin-bottom: 22px; }
.adv-item .icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--light-blue); display: flex; align-items: center; justify-content: center; }
.adv-item .icon img { width: 26px; height: 26px; }
.adv-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.adv-item p { font-size: 14px; color: var(--text-sub); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: all .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-card .img { aspect-ratio: 3 / 4; overflow: hidden; }
.case-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .img img { transform: scale(1.06); }
.case-card .mask {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(19,41,75,.82));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.case-card .hotline {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ---------- 企业介绍 + 表单 ---------- */
.about-section { background: var(--primary-deep); color: #fff; padding: 80px 0; }
.about-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-wrap .text h3 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.about-wrap .text .slogan { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 26px; }
.about-wrap .text p { color: rgba(255,255,255,.82); margin-bottom: 18px; font-size: 15px; text-align: justify; }
.service-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.service-icon { text-align: center; padding: 20px 8px; background: rgba(255,255,255,.08); border-radius: var(--radius); transition: all .3s; }
.service-icon:hover { background: var(--primary); }
.service-icon .icon { width: 48px; height: 48px; margin: 0 auto 10px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.service-icon .icon img { width: 24px; height: 24px; }
.service-icon .t { font-size: 15px; font-weight: 600; }

.about-form { background: #fff; border-radius: 16px; padding: 34px 32px; color: var(--text-main); box-shadow: var(--shadow-hover); }
.about-form h4 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.about-form .tip { font-size: 13px; color: var(--text-sub); margin-bottom: 24px; }
.form-item { margin-bottom: 16px; }
.form-item input,
.form-item textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border .2s, box-shadow .2s;
  color: var(--text-main);
}
.form-item input:focus,
.form-item textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,82,180,.12); }
.form-item textarea { min-height: 110px; resize: vertical; }
.form-row { display: flex; gap: 14px; }
.form-row .form-item { flex: 1; }
.form-captcha { display: flex; gap: 12px; align-items: center; }
.form-captcha .verify-img { height: 42px; border-radius: 6px; cursor: pointer; border: 1px solid var(--border); }
.form-submit { width: 100%; padding: 13px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 700; transition: background .25s; }
.form-submit:hover { background: var(--primary-dark); }
.form-tel { margin-top: 14px; text-align: center; font-size: 14px; color: var(--text-sub); }
.form-tel strong { color: var(--primary); font-size: 20px; margin-left: 6px; }

/* ---------- 新闻 ---------- */
.news-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.news-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-img img { width: 100%; height: 320px; object-fit: cover; }
.news-list .item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: all .25s;
}
.news-list .item:first-child { padding-top: 0; }
.news-list .item:last-child { border-bottom: none; padding-bottom: 0; }
.news-list .item .date {
  flex-shrink: 0;
  text-align: center;
  width: 60px;
  padding: 10px 0;
  background: var(--light-blue);
  border-radius: 8px;
  color: var(--primary);
}
.news-list .item .date .d { font-size: 22px; font-weight: 800; line-height: 1.1; }
.news-list .item .date .m { font-size: 12px; }
.news-list .item .txt h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text-main); transition: color .2s; }
.news-list .item:hover h4 { color: var(--primary); }
.news-list .item .txt p { font-size: 13px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 子页面 Banner ---------- */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 0;
}
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,62,138,.85), rgba(0,82,180,.55)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.page-banner .breadcrumb { font-size: 14px; color: rgba(255,255,255,.85); }
.page-banner .breadcrumb a { color: #fff; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ---------- 详情页布局 ---------- */
.detail-layout { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; padding: 50px 0 70px; }
.sidebar {
  position: sticky;
  top: 120px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.sidebar .title { background: var(--primary); color: #fff; padding: 16px 20px; font-size: 18px; font-weight: 700; }
.sidebar .menu li a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-sub); transition: all .2s; }
.sidebar .menu li:last-child a { border-bottom: none; }
.sidebar .menu li a:hover,
.sidebar .menu li.active a { background: var(--light-blue); color: var(--primary); padding-left: 26px; font-weight: 600; }
.sidebar .hotline { background: var(--bg-gray); padding: 22px 20px; text-align: center; }
.sidebar .hotline .t { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; }
.sidebar .hotline .num { font-size: 22px; font-weight: 800; color: var(--primary); }
.sidebar .cta { padding: 20px; }
.sidebar .cta .btn { width: 100%; text-align: center; }

.detail-main { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 34px 36px; }
.detail-main h1 { font-size: 26px; font-weight: 700; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--light-blue); position: relative; }
.detail-main h1::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--primary); }
.detail-main h2 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.detail-main p { color: var(--text-sub); margin-bottom: 14px; text-align: justify; }
.detail-main table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.detail-main table th, .detail-main table td { border: 1px solid var(--border); padding: 10px 14px; font-size: 14px; text-align: center; }
.detail-main table th { background: var(--light-blue); color: var(--primary-dark); font-weight: 700; }
.detail-main .prod-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; margin-bottom: 30px; }
.detail-main .prod-hero img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; width: 100%; aspect-ratio: 1/1; }
.detail-main .prod-hero .intro p { margin-bottom: 10px; }
.detail-main .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.detail-main .tags span { background: var(--light-blue); color: var(--primary-dark); font-size: 13px; padding: 6px 14px; border-radius: 20px; }

/* 新闻详情 */
.news-detail .meta { display: flex; gap: 24px; font-size: 13px; color: var(--text-light); padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px dashed var(--border); }
.news-detail .content p { margin-bottom: 16px; }
.news-detail .pager { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--border); font-size: 14px; }
.news-detail .pager a { color: var(--primary); }
.news-detail .pager a:hover { text-decoration: underline; }

/* ---------- 联系页 ---------- */
.contact-wrap { padding: 50px 0 70px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-info h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.contact-info .sub { color: var(--text-sub); font-size: 14px; margin-bottom: 24px; }
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--border); align-items: flex-start; }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--light-blue); display: flex; align-items: center; justify-content: center; }
.contact-row .icon img { width: 20px; height: 20px; }
.contact-row .t { font-size: 13px; color: var(--text-light); }
.contact-row .v { font-size: 15px; font-weight: 600; color: var(--text-main); }
.contact-row .v a { color: var(--primary); }
.contact-qr { display: flex; gap: 26px; margin-top: 22px; }
.contact-qr .qr { text-align: center; }
.contact-qr .qr img { width: 120px; height: 120px; border: 1px solid var(--border); border-radius: 8px; padding: 6px; object-fit: contain; background: #fff; }
.contact-qr .qr p { font-size: 13px; color: var(--text-sub); margin-top: 6px; }
.contact-map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 240px; }

/* ---------- 资质/案例/能力 图片墙 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 50px 0 70px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all .3s; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.gallery-item .img { aspect-ratio: 3/4; overflow: hidden; cursor: pointer; }
.gallery-item .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover .img img { transform: scale(1.05); }
.gallery-item .cap { padding: 14px 18px; font-size: 15px; font-weight: 600; text-align: center; color: var(--text-main); }
.gallery-item.landscape .img { aspect-ratio: 4/3; }
.honor-grid .img { aspect-ratio: 3/4; background: var(--bg-gray); }
.honor-grid .img img { object-fit: contain; padding: 16px; }

/* ---------- 列表页（产品中心/新闻） ---------- */
.list-main { padding: 50px 0 70px; }
.prod-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.prod-list-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; background: var(--bg-gray); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .3s; }
.prod-list-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.prod-list-item .info { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.prod-list-item .info h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.prod-list-item .info p { font-size: 13px; color: var(--text-sub); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod-list-item .img { overflow: hidden; }
.prod-list-item .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-list-item:hover .img img { transform: scale(1.05); }

.news-list-page .item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.news-list-page .item .thumb { width: 260px; height: 170px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.news-list-page .item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-page .item .meta { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.news-list-page .item h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.news-list-page .item h3 a:hover { color: var(--primary); }
.news-list-page .item p { font-size: 14px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.8); }
.footer-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; padding: 60px 0 45px; }
.footer-main h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-main h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--primary); }
.footer-main h4 .en { display: block; font-size: 12px; color: rgba(255,255,255,.45); letter-spacing: 2px; margin-top: 4px; font-weight: 400; }
.footer-main ul li { margin-bottom: 10px; font-size: 14px; }
.footer-main ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.footer-contact li .k { color: rgba(255,255,255,.55); flex-shrink: 0; }
.footer-qr { display: flex; gap: 24px; margin-top: 16px; }
.footer-qr .qr { text-align: center; }
.footer-qr .qr img { width: 108px; height: 108px; background: #fff; border-radius: 8px; padding: 6px; object-fit: contain; }
.footer-qr .qr p { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 6px; }
.footer-follow { margin-top: 22px; }
.footer-follow h4 { margin-bottom: 14px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social .soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  transition: background .25s ease, color .25s ease;
}
.footer-social .soc:hover { background: var(--primary); color: #fff; }
.footer-social .soc svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ---------- 悬浮工具 ---------- */
.float-bar { position: fixed; right: 20px; bottom: 40px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-bar a { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-hover); transition: all .25s; }
.float-bar a:hover { background: var(--primary-dark); transform: translateY(-3px); }
.float-bar a img { width: 22px; height: 22px; }
.float-bar.collapsed a:not([data-top]) { display: none; }
.float-bar a[data-top] { transition: all .3s; }
.float-bar.collapsed a[data-top] { transform: rotate(180deg); }
.float-bar.collapsed a[data-top]:hover { transform: rotate(180deg) translateY(-3px); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(19, 41, 75, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }

/* ---------- 表单提示 ---------- */
.form-msg { margin-top: 12px; font-size: 13px; text-align: center; display: none; }
.form-msg.ok { color: #16a34a; display: block; }
.form-msg.err { color: #dc2626; display: block; }

/* ---------- 栅格辅助类 ---------- */
.product-grid.cols-2, .case-grid.cols-2, .gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.product-grid.cols-3, .case-grid.cols-3, .gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mini-grid .gallery-item .img { aspect-ratio: 4/3; }

/* ---------- 滚动动画（内容默认可见，渐进增强） ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 1; transform: none; }
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .product-grid, .case-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-3, .case-grid.cols-3, .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage, .about-wrap, .news-wrap, .contact-grid, .detail-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .adv-item, .prod-list-item { grid-template-columns: 1fr; }
  .hero-slide { height: 440px; }
  .hero-content h1 { font-size: 38px; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 24px;
    box-shadow: -8px 0 24px rgba(0,0,0,.1);
    transition: right .3s;
    z-index: 1100;
  }
  .main-nav.open { right: 0; }
  .main-nav > li > a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav > li > a::after { display: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 12px; }
  .nav-toggle { display: flex; }
  .header-tel { display: none; }
  .news-list-page .item { flex-direction: column; }
  .news-list-page .item .thumb { width: 100%; height: 200px; }
}
@media (max-width: 600px) {
  .product-grid, .case-grid, .gallery-grid,
  .product-grid.cols-3, .case-grid.cols-3, .gallery-grid.cols-3,
  .product-grid.cols-2, .case-grid.cols-2, .gallery-grid.cols-2 { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 26px; }
  .hero-slide { height: 360px; }
  .hero-content h1 { font-size: 30px; }
  .form-row { flex-direction: column; gap: 0; }
  .detail-main { padding: 22px 18px; }
  .detail-main .prod-hero { grid-template-columns: 1fr; }
}

/* ---------- 新闻详情弹窗（后台动态渲染） ---------- */
.article-overlay { position: fixed; inset: 0; background: rgba(10, 20, 40, .62); z-index: 9999; display: none; padding: 40px 20px; overflow-y: auto; }
.article-overlay.active { display: block; }
.article-box { position: relative; max-width: 820px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 40px 44px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.article-close { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; border: none; background: #f0f3f8; color: #666; font-size: 24px; line-height: 1; border-radius: 50%; cursor: pointer; transition: .2s; }
.article-close:hover { background: var(--primary); color: #fff; }
.article-title { font-size: 24px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; padding-right: 36px; }
.article-meta { font-size: 13px; color: var(--text-light); border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 18px; }
.article-body { font-size: 15px; line-height: 1.85; color: var(--text-sub); }
.article-body p { margin-bottom: 12px; text-align: justify; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin: 20px 0 10px; }
.article-body ul { margin: 10px 0 14px; padding-left: 20px; }
.article-body ul li { list-style: disc; margin-bottom: 6px; }
.article-body table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.article-body table th, .article-body table td { border: 1px solid var(--border); padding: 8px 12px; font-size: 13px; text-align: center; }
.article-body table th { background: var(--light-blue); color: var(--primary-dark); }
.article-body img { max-width: 100%; border-radius: 8px; margin: 6px 0; }
@media (max-width: 768px) {
  .article-box { padding: 26px 20px; }
  .article-title { font-size: 20px; }
}

/* 动态加载提示 */
.load-err { color: #b91c1c; font-size: 14px; padding: 20px 0; }

/* ---------- FAQ 页面 ---------- */
.faq-list { max-width: 860px; margin: 0 auto 30px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 14px; overflow: hidden; background: #fff; transition: box-shadow .25s ease; }
.faq-item:hover { box-shadow: 0 6px 18px rgba(0,82,180,.08); }
.faq-item.open { border-color: var(--primary); }
.faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 22px; background: #fff; border: none; text-align: left; font-size: 16px; font-weight: 600; color: var(--text-main); cursor: pointer; font-family: inherit; }
.faq-q::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--primary); transition: transform .25s ease, color .25s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--primary-dark); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 20px; }
.faq-a p { font-size: 15px; line-height: 1.8; color: var(--text-sub); text-align: justify; }
.faq-foot { text-align: center; padding: 26px 20px; background: var(--light-blue); border-radius: 12px; max-width: 860px; margin: 0 auto; }
.faq-foot p { margin-bottom: 16px; color: var(--primary-dark); font-size: 16px; }

/* ---------- 隐私政策 / 服务协议 ---------- */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content .last-updated { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.legal-content h3 { font-size: 19px; font-weight: 700; color: var(--primary-dark); margin: 26px 0 10px; padding-top: 4px; }
.legal-content p { font-size: 15px; line-height: 1.85; color: var(--text-sub); margin-bottom: 10px; text-align: justify; }
.legal-content ul { margin: 8px 0 14px; padding-left: 22px; }
.legal-content ul li { list-style: disc; font-size: 15px; line-height: 1.8; color: var(--text-sub); margin-bottom: 6px; }

/* ---------- Cookie 弹窗 ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 28px; background: rgba(19,41,75,.97); color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.22); font-size: 14px; line-height: 1.6; transform: translateY(100%); transition: transform .45s ease; }
.cookie-bar.show { transform: translateY(0); }
.cookie-text { margin: 0; max-width: 860px; }
.cookie-text a { color: #7fc0ff; text-decoration: underline; }
.cookie-btns { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cookie-btns .btn { margin: 0; padding: 9px 22px; font-size: 14px; }
.cookie-decline { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 9px 20px; border-radius: 30px; font-size: 14px; cursor: pointer; font-family: inherit; transition: .2s; }
.cookie-decline:hover { background: rgba(255,255,255,.12); }
@media (max-width: 768px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; padding: 14px 18px; }
  .cookie-btns { width: 100%; justify-content: flex-end; }
}

/* ---------- 证书分类 Tab ---------- */
.cert-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.cert-tabs .tab { padding: 10px 26px; border: 2px solid var(--border); background: #fff; border-radius: 30px; font-size: 15px; font-weight: 600; color: var(--text-sub); cursor: pointer; transition: .25s; font-family: inherit; }
.cert-tabs .tab:hover { border-color: var(--primary); color: var(--primary); }
.cert-tabs .tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(0,82,180,.25); }

/* ---------- 3D 轮播 ---------- */
.carousel3d-wrap { position: relative; max-width: 1080px; margin: 0 auto; padding: 30px 0 10px; }
.carousel3d { position: relative; height: 440px; perspective: 1500px; perspective-origin: 50% 50%; }
.card3d { position: absolute; top: 4px; left: 50%; width: 300px; height: 420px; margin-left: -150px; cursor: pointer; transition: transform .65s cubic-bezier(.25,.8,.35,1), opacity .5s ease, filter .5s ease; transform-style: preserve-3d; }
.c3d-face { width: 100%; height: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.18); border: 1px solid var(--border); }
.c3d-face img { width: 100%; height: 100%; object-fit: contain; background: #f5f7fb; }
.card3d.active .c3d-face { box-shadow: 0 18px 48px rgba(0,82,180,.30); border-color: var(--primary); }
.c3d-cap { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(19,41,75,.88); color: #fff; font-size: 12px; line-height: 1.4; padding: 9px 12px; text-align: center; border-radius: 0 0 12px 12px; }
.card3d.active .c3d-cap { background: rgba(0,82,180,.94); }

.c3d-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.c3d-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: .25s; }
.c3d-dots .dot.active { background: var(--primary); width: 26px; border-radius: 6px; }

.c3d-caption { text-align: center; margin-top: 14px; min-height: 44px; }
.c3d-caption strong { display: block; font-size: 17px; color: var(--primary-dark); font-weight: 700; }
.c3d-caption span { font-size: 13px; color: var(--text-light); }

.c3d-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: none; border-radius: 50%; background: #fff; color: var(--primary); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.15); transition: .25s; z-index: 10; }
.c3d-nav:hover { background: var(--primary); color: #fff; }
.c3d-nav.prev { left: 8px; }
.c3d-nav.next { right: 8px; }

.cert-note { text-align: center; color: var(--text-light); font-size: 13px; margin-top: 20px; }

@media (max-width: 768px) {
  .carousel3d { height: 380px; }
  .card3d { width: 240px; height: 350px; margin-left: -120px; }
  .c3d-nav { width: 38px; height: 38px; font-size: 18px; }
  .c3d-nav.prev { left: 2px; }
  .c3d-nav.next { right: 2px; }
}

/* ===== 首页改版：统一 SVG 图标 + 统一变换效果 ===== */
/* 主营范围网格 */
.scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scope-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.scope-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.scope-icon {
  width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 14px; background: var(--light-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: .3s ease;
}
.scope-item:hover .scope-icon { background: var(--primary); color: #fff; transform: scale(1.08); }
.scope-icon svg { width: 30px; height: 30px; }
.scope-item h4 { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.scope-item p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* 资质徽章条 */
.badge-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.badge-strip .badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--light-blue); border-radius: 12px; padding: 12px 16px;
  color: var(--primary); transition: .3s ease;
}
.badge-strip .badge:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.badge-strip .badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.badge-strip .badge .num { font-size: 20px; font-weight: 800; line-height: 1; }
.badge-strip .badge .t { font-size: 12px; color: var(--text-sub); }
.badge-strip .badge:hover .t { color: rgba(255,255,255,.9); }

/* 企业优势 */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.adv-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--light-blue); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: .3s ease;
}
.adv-card:hover .adv-icon { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.06); }
.adv-icon svg { width: 28px; height: 28px; }
.adv-card h4 { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.adv-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }

/* 行业应用 */
.app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.app-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 12px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.app-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.app-icon { color: var(--primary); margin-bottom: 12px; display: flex; justify-content: center; transition: .3s ease; }
.app-item:hover .app-icon { color: #fff; }
.app-icon svg { width: 34px; height: 34px; }
.app-item span { font-size: 14px; font-weight: 600; color: var(--text-main); }
.app-item:hover { background: var(--primary); }
.app-item:hover span { color: #fff; }

/* 首页证书条 */
.cert-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cert-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; background: #fff; cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cert-card img { width: 100%; height: 170px; object-fit: contain; border-radius: 8px; background: #f5f7fa; }
.cert-card span { display: block; text-align: center; font-size: 12.5px; color: var(--text-main); font-weight: 600; padding: 10px 4px 4px; }
.cert-more { text-align: center; margin-top: 24px; }
.cert-more a { color: var(--primary); font-weight: 600; border-bottom: 1px dashed var(--primary); padding-bottom: 2px; transition: .3s; }
.cert-more a:hover { color: var(--primary-dark); }

/* 合作案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.case-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--light-blue); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: .3s ease;
}
.case-card:hover .case-icon { background: var(--primary); color: #fff; }
.case-icon svg { width: 28px; height: 28px; }
.case-card h4 { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.case-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }

/* 响应式 */
@media (max-width: 992px) {
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-strip { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .scope-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-strip { grid-template-columns: 1fr; }
}

/* View Details 按钮（产品块） */
.btn-detail {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-detail:hover { background: var(--primary); color: #fff; }

/* 详情页外层容器 */
.detail-section { padding: 50px 0 70px; }

/* SVG 图标尺寸 */
.header-tel .icon svg { width: 22px; height: 22px; }
.float-bar a svg { width: 22px; height: 22px; }
.contact-row .icon svg { width: 20px; height: 20px; }
.about-values .icon svg { width: 28px; height: 28px; }

/* 页眉询盘跳转按钮 */
.header-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 18px;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.header-inquiry:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,82,180,.35); }
.header-inquiry svg { width: 18px; height: 18px; }
@media (max-width: 992px) {
  .header-inquiry { margin-left: 0; padding: 8px 14px; font-size: 14px; }
}

/* ===== 证书全宽轮播 ===== */
.cf-wrap { position: relative; max-width: 960px; margin: 0 auto; }
.cf-stage {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  cursor: zoom-in;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-stage img {
  max-width: 100%;
  max-height: 640px;
  object-fit: contain;
  opacity: 0;
  transition: opacity .45s ease;
}
.cf-stage img.fade-in { opacity: 1; }
.cf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.22); color: #fff;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, transform .3s ease;
  z-index: 5;
}
.cf-nav:hover { background: rgba(255,255,255,.42); transform: translateY(-50%) scale(1.08); }
.cf-nav.prev { left: 22px; }
.cf-nav.next { right: 22px; }
@media (max-width: 1100px) {
  .cf-nav.prev { left: 6px; }
  .cf-nav.next { right: 6px; }
}

/* ===== 证书立体层叠轮播（深蓝背景） ===== */
.cf3d-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #06376e 0%, #0052b4 52%, #06376e 100%);
  padding: 74px 20px 96px;
  perspective: 1600px;
  overflow: hidden;
}
.cf3d { position: relative; height: 440px; transform-style: preserve-3d; }
.cf3d-card {
  position: absolute;
  top: 50%;
  width: 22%;
  transform: translate(-50%, -50%);
  transition: left .65s ease, transform .65s ease, filter .65s ease;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 22px 55px rgba(0,0,0,.4);
  cursor: pointer;
}
.cf3d-card img {
  width: 100%;
  aspect-ratio: 1415 / 2000;
  object-fit: contain;
  background: #f7f9fc;
  border-radius: 10px;
  opacity: 0;
  transition: opacity .5s ease;
}
.cf3d-card img.fade-in { opacity: 1; }
.cf3d-card .t {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-main);
  padding: 10px 6px 4px;
  font-weight: 600;
}
.cf3d-card.prev2 { left: 10%;  transform: translate(-50%, -50%) rotateY(45deg) scale(.6); filter: blur(1.6px); z-index: 1; }
.cf3d-card.prev  { left: 27%; transform: translate(-50%, -50%) rotateY(36deg) scale(.74); filter: blur(.4px); z-index: 2; }
.cf3d-card.current { left: 50%; transform: translate(-50%, -50%) rotateY(0deg) scale(1);   filter: blur(0); z-index: 3; }
.cf3d-card.next  { left: 73%; transform: translate(-50%, -50%) rotateY(-36deg) scale(.74); filter: blur(.4px); z-index: 2; }
.cf3d-card.next2 { left: 90%; transform: translate(-50%, -50%) rotateY(-45deg) scale(.6); filter: blur(1.6px); z-index: 1; }
@media (max-width: 768px) {
  .cf3d-hero { padding: 50px 12px 70px; }
  .cf3d { height: 400px; }
  .cf3d-card { width: 34%; }
  .cf3d-card img { aspect-ratio: 1415 / 2000; }
  .cf3d-card.prev2, .cf3d-card.next2 { display: none; }
  .cf3d-card.prev { left: 12%; }
  .cf3d-card.next { left: 88%; }
}

/* ============================================================
   Certifications & Patents 3D Carousel — Standalone CSS (v16)
   ============================================================ */
/* ============================================================
   Certifications & Patents 3D Carousel — Standalone CSS
   ============================================================
   自包含样式，不依赖宿主网站的 CSS 变量。
   如需调整主色调，修改下方 :root 中的变量即可。
   ============================================================ */

:root {
  --cert-dark: #003366;      /* 深蓝主色 */
  --cert-gold: #D4AF70;      /* 金色点缀 */
  --cert-white: #ffffff;
  --cert-gray: #9ca3af;      /* 未激活圆点/文字 */
  --cert-gray-bg: #f3f4f6;   /* meta 背景 */
}

/* ===== 轮播容器 ===== */
.cert-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1200px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* ===== 卡片 ===== */
.cert-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 420px;
  margin: -210px 0 0 -150px;
  transition: transform .8s cubic-bezier(.25, .46, .45, .94),
              opacity .6s cubic-bezier(.4, 0, .2, 1),
              filter .6s ease,
              box-shadow .6s ease;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.cert-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  color: var(--cert-white);
  padding: 30px 15px 15px;
  font-size: .8rem;
  font-weight: 500;
  text-align: center;
}

/* 位置状态 —— 3D 立体排列 */
.cert-card.pos-center {
  z-index: 10;
  transform: translateZ(0) scale(1) rotateY(0deg);
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.cert-card.pos-left-1 {
  z-index: 8;
  transform: translateX(-220px) translateZ(-100px) rotateY(25deg) scale(.85) translateY(10px);
  opacity: .7;
  filter: blur(1px);
}
.cert-card.pos-left-2 {
  z-index: 6;
  transform: translateX(-380px) translateZ(-250px) rotateY(35deg) scale(.7) translateY(20px);
  opacity: .4;
  filter: blur(2px);
}
.cert-card.pos-right-1 {
  z-index: 8;
  transform: translateX(220px) translateZ(-100px) rotateY(-25deg) scale(.85) translateY(10px);
  opacity: .7;
  filter: blur(1px);
}
.cert-card.pos-right-2 {
  z-index: 6;
  transform: translateX(380px) translateZ(-250px) rotateY(-35deg) scale(.7) translateY(20px);
  opacity: .4;
  filter: blur(2px);
}
.cert-card.pos-hidden {
  z-index: 1;
  transform: translateZ(-500px) scale(.4) rotateY(0deg);
  opacity: 0;
  filter: blur(8px);
}

/* ===== 导航箭头 ===== */
.cert-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  background: rgba(0, 51, 102, .8);
  color: var(--cert-white);
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  padding: 0;
}
.cert-nav svg { width: 24px; height: 24px; }
.cert-nav:hover { background: var(--cert-gold); color: var(--cert-dark); border-color: var(--cert-gold); }
.cert-prev { left: 10px; }
.cert-next { right: 10px; }

/* ===== 指示点 ===== */
.cert-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 20px 0;
}
.cert-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cert-gray);
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  padding: 0;
}
.cert-dot.active {
  background: var(--cert-dark);
  width: 30px;
  border-radius: 5px;
}

/* ===== 灯箱（点击大图） ===== */
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.cert-lightbox.open { display: flex; }
.cert-lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.cert-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  font-size: 2.5rem;
  color: var(--cert-white);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cert-lightbox-close svg { width: 32px; height: 32px; }
.cert-lightbox-close:hover { color: var(--cert-gold); }
.cert-lightbox-caption {
  color: rgba(255, 255, 255, .8);
  margin-top: 15px;
  font-size: .9rem;
  text-align: center;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .cert-carousel-wrapper { height: 380px; }
  .cert-card { width: 220px; height: 310px; margin: -155px 0 0 -110px; }
  .cert-card.pos-left-1 { transform: translateX(-150px) translateZ(-100px) rotateY(25deg) scale(.8) translateY(10px); }
  .cert-card.pos-right-1 { transform: translateX(150px) translateZ(-100px) rotateY(-25deg) scale(.8) translateY(10px); }
  .cert-card.pos-left-2 { transform: translateX(-260px) translateZ(-250px) rotateY(35deg) scale(.6) translateY(20px); }
  .cert-card.pos-right-2 { transform: translateX(260px) translateZ(-250px) rotateY(-35deg) scale(.6) translateY(20px); }
}

/* ===== 全宽深蓝背景容器（包裹 cert-carousel） ===== */
.cert-carousel-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #06376e 0%, #0052b4 52%, #06376e 100%);
  padding: 30px 20px 0;
  overflow: hidden;
}

/* ============================================================
   首页 Product Showcase & News & Insights 高级排版 (v17)
   ============================================================ */

/* 分区标题（左侧标题 + 右侧 View All） */
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head.row .section-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--primary);
  border: 2px solid var(--primary); border-radius: 30px;
  padding: 10px 22px; transition: all .3s; flex-shrink: 0; margin-bottom: 4px;
}
.section-head.row .section-more span { transition: transform .3s; }
.section-head.row .section-more:hover { background: var(--primary); color: #fff; }
.section-head.row .section-more:hover span { transform: translateX(4px); }

/* ===== Product Showcase — Bento 网格 ===== */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 22px;
}
.product-showcase-grid .product-card {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 34px rgba(2, 32, 71, .12);
  transition: transform .45s cubic-bezier(.25,.46,.45,.94), box-shadow .45s ease;
}
.product-showcase-grid .product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(2, 32, 71, .22); }
.product-showcase-grid .product-card .img {
  position: absolute; inset: 0; aspect-ratio: auto; background: var(--bg-gray);
}
.product-showcase-grid .product-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}
.product-showcase-grid .product-card:hover .img img { transform: scale(1.08); }

/* featured 大卡：首款产品（跨 2x2） */
.product-showcase-grid .product-card.featured { grid-column: span 2; grid-row: span 2; }
.product-showcase-grid .product-card.featured .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 32px 30px;
  background: linear-gradient(to top, rgba(2, 22, 54, .94) 0%, rgba(2, 22, 54, .6) 52%, transparent 100%);
  color: #fff;
}
.product-showcase-grid .product-card.featured .overlay .idx {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 3px;
  color: #FFD98A; background: rgba(0,0,0,.25); border-radius: 6px; padding: 5px 12px;
}
.product-showcase-grid .product-card.featured .overlay h3 { font-size: 26px; font-weight: 800; color: #fff; margin: 12px 0 6px; line-height: 1.25; }
.product-showcase-grid .product-card.featured .overlay .cta { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.88); }

/* 普通卡：编号叠图 + 底部信息条 */
.product-showcase-grid .product-card .img .idx {
  position: absolute; top: 14px; left: 14px;
  font-size: 13px; font-weight: 800; color: #fff;
  background: rgba(0, 51, 102, .72); border-radius: 8px;
  padding: 5px 11px; letter-spacing: 1px;
}
.product-showcase-grid .product-card .body {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; padding: 18px 20px 16px; text-align: left;
}
.product-showcase-grid .product-card .body h3 { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-showcase-grid .product-card .body .more {
  font-size: 13px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.product-showcase-grid .product-card .body .more span { transition: transform .3s; }
.product-showcase-grid .product-card .body .more:hover span { transform: translateX(4px); }

/* CTA 卡：All Products */
.product-showcase-grid .product-card.cta {
  background: linear-gradient(140deg, #06376e 0%, #0052b4 60%, #0a63cc 100%);
}
.product-showcase-grid .product-card.cta a { display: block; height: 100%; color: #fff; text-decoration: none; }
.product-showcase-grid .product-card.cta .cta-inner {
  position: absolute; inset: 0; padding: 28px 26px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
}
.product-showcase-grid .product-card.cta .cta-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #FFD98A; font-weight: 700; }
.product-showcase-grid .product-card.cta h3 { font-size: 24px; font-weight: 800; color: #fff; }
.product-showcase-grid .product-card.cta .cta-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: transform .35s, background .35s;
}
.product-showcase-grid .product-card.cta:hover .cta-arrow { transform: translateX(6px); background: #FFD98A; color: #06376e; }

/* ===== News & Insights — 编辑式 ===== */
.news-editorial { display: grid; grid-template-columns: 1.06fr 1fr; gap: 26px; align-items: stretch; }

/* 左侧首条 featured 大卡 */
.news-editorial .news-featured {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 38px rgba(2,32,71,.10);
  display: flex; flex-direction: column;
  transition: transform .45s ease, box-shadow .45s ease;
}
.news-editorial .news-featured:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(2,32,71,.20); }
.news-editorial .nf-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-gray); }
.news-editorial .nf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.25,.46,.45,.94); }
.news-editorial .news-featured:hover .nf-media img { transform: scale(1.07); }
.news-editorial .nf-date {
  position: absolute; left: 22px; bottom: -26px;
  background: var(--primary); color: #fff; border-radius: 10px;
  padding: 10px 16px; text-align: center; line-height: 1.15;
  box-shadow: 0 10px 22px rgba(0,82,180,.35);
  min-width: 60px;
}
.news-editorial .nf-date b { display: block; font-size: 22px; font-weight: 800; }
.news-editorial .nf-date span { font-size: 11px; letter-spacing: 1px; }
.news-editorial .nf-body { padding: 44px 30px 26px; }
.news-editorial .nf-cat { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; }
.news-editorial .nf-body h3 { font-size: 21px; font-weight: 800; line-height: 1.35; color: var(--text-main); margin: 10px 0 10px; }
.news-editorial .nf-body h3 a:hover { color: var(--primary); }
.news-editorial .nf-body p { font-size: 14px; color: var(--text-sub); line-height: 1.75; margin-bottom: 14px; }
.news-editorial .nf-body .more {
  font-size: 14px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 7px;
}
.news-editorial .nf-body .more span { transition: transform .3s; }
.news-editorial .nf-body .more:hover span { transform: translateX(4px); }

/* 右侧编号列表 */
.news-list-col { display: flex; flex-direction: column; gap: 22px; }
.news-list-col .nl-item {
  display: flex; align-items: flex-start; gap: 20px;
  background: #fff; border: 1px solid #e9eef5; border-radius: 16px;
  padding: 22px 24px; box-shadow: 0 10px 26px rgba(2,32,71,.07);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.news-list-col .nl-item:hover { transform: translateX(6px); border-color: var(--primary); box-shadow: 0 16px 36px rgba(0,82,180,.16); }
.news-list-col .nl-idx {
  font-size: 30px; font-weight: 900; font-style: italic; line-height: 1;
  color: #d3dfee; min-width: 38px; transition: color .35s;
}
.news-list-col .nl-item:hover .nl-idx { color: var(--primary); }
.news-list-col .nl-date { font-size: 12px; color: var(--text-light); letter-spacing: 1.2px; text-transform: uppercase; }
.news-list-col .nl-txt h4 { font-size: 16px; font-weight: 700; color: var(--text-main); margin: 6px 0 5px; line-height: 1.4; }
.news-list-col .nl-txt p { font-size: 13px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list-col .nl-arrow { margin-left: auto; font-size: 18px; color: #b9c6d8; transition: transform .3s, color .3s; flex-shrink: 0; padding-top: 4px; }
.news-list-col .nl-item:hover .nl-arrow { transform: translateX(4px); color: var(--primary); }

/* 响应式 */
@media (max-width: 992px) {
  .product-showcase-grid { grid-auto-rows: 220px; gap: 16px; }
  .product-showcase-grid .product-card.featured { grid-column: span 2; grid-row: span 1; }
  .news-editorial { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .product-showcase-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .product-showcase-grid .product-card.featured { grid-column: span 2; }
  .product-showcase-grid .product-card.featured .overlay h3 { font-size: 21px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
}

/* ===== 产品按钮区（图标填充） ===== */
.prod-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.prod-actions .btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--light-blue); color: var(--primary);
  border: 1px solid rgba(0,82,180,.25);
  transition: all .3s ease;
}
.prod-actions .btn-icon svg { width: 20px; height: 20px; }
.prod-actions .btn-icon:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* 详情页 pager 图标链接 */
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--border); font-size: 14px; }
.pager a { color: var(--primary); }
.pager a:hover { text-decoration: underline; }
.pager .pager-icon { display: inline-flex; align-items: center; gap: 8px; }
.pager .pager-icon svg { width: 18px; height: 18px; }
.pager .pager-icon:hover { text-decoration: none; color: var(--primary); }

/* 产品列表简介（去掉详情后） */
.prod-lead { color: var(--text-sub); font-size: 15px; line-height: 1.7; margin-bottom: 16px; text-align: justify; }

/* ===== 多语言切换器 ===== */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 20px; padding: 5px 14px; font-size: 13px;
  cursor: pointer; font-family: inherit; transition: background .25s;
}
.lang-btn svg { width: 15px; height: 15px; }
.lang-btn:hover { background: rgba(255,255,255,.3); }
.lang-btn .caret { font-size: 10px; opacity: .8; }
.lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border-radius: 12px; box-shadow: 0 12px 34px rgba(2,32,71,.18);
  padding: 8px; min-width: 168px; list-style: none; z-index: 120; margin: 0;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 14px; color: var(--text-main); text-decoration: none; white-space: nowrap;
}
.lang-menu a:hover { background: var(--light-blue); color: var(--primary); }
.lang-menu a.active { background: var(--primary); color: #fff; font-weight: 700; }
@media (max-width: 768px) {
  .lang-btn span:first-of-type { display: none; }
}

/* ===== 语言切换器（导航栏 header-main 版） ===== */
.header-main .lang-switch { margin-right: 12px; }
.header-main .lang-btn {
  background: #fff; border: 1.5px solid var(--primary); color: var(--primary);
  padding: 8px 16px; border-radius: 22px; font-weight: 600;
}
.header-main .lang-btn:hover { background: var(--light-blue); }
@media (max-width: 992px) {
  .header-main .lang-btn span:first-of-type { display: none; }
}

/* ===== 实验室页面 ===== */
.lab-env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lab-env { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(2,32,71,.10); margin: 0; transition: transform .4s, box-shadow .4s; }
.lab-env:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(2,32,71,.18); }
.lab-env img { width: 100%; height: 260px; object-fit: cover; display: block; }
.lab-env figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(2,22,54,.9), transparent); color: #fff; padding: 26px 16px 12px; font-size: 14px; font-weight: 600; }
.lab-env-desc { margin-top: 26px; color: var(--text-sub); line-height: 1.85; font-size: 15px; text-align: justify; }
.lab-equip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.lab-equip { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(2,32,71,.09); display: flex; flex-direction: column; transition: transform .4s, box-shadow .4s; }
.lab-equip:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(2,32,71,.18); }
.lab-equip .eq-img { position: relative; overflow: hidden; }
.lab-equip .eq-img img { width: 100%; height: 300px; object-fit: cover; transition: transform .7s; }
.lab-equip:hover .eq-img img { transform: scale(1.05); }
.lab-equip .eq-cn { position: absolute; left: 14px; top: 14px; background: rgba(0,82,180,.88); color: #fff; padding: 5px 13px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.lab-equip .eq-body { padding: 20px 22px 24px; }
.lab-equip .eq-body h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.lab-equip .eq-body p { font-size: 14px; color: var(--text-sub); line-height: 1.75; }
@media (max-width: 992px) { .lab-equip-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .lab-env-grid { grid-template-columns: 1fr; } .lab-env img { height: 220px; } }
