/* ============ eblink 主题：LOGO 科技蓝 ============ */
:root {
  --brand: #0077d3;
  --brand-dark: #0059a8;
  --brand-deep: #0b2e59;
  --brand-cyan: #00b4e6;
  --brand-soft: #eaf4fc;
  --ink: #1d2733;
  --muted: #6b7685;
  --line: #e6ecf2;
  --bg: #f6f9fc;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 46, 89, .08);
  --shadow-lg: 0 14px 40px rgba(11, 46, 89, .14);
}

html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}
.wrap { max-width: 1380px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
/* g-4/g-5 的 -24px 负外边距会顶出 .wrap 的 16px 内边距，出现横向滚动条 */
.wrap > .row { margin-left: -16px; margin-right: -16px; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar .bi { color: var(--brand-cyan); margin-right: 5px; }
/* 顶栏是深底，语言按钮要反色，尺寸收小一档免得抢联系方式。
   多带一层 .site-head 是为了压过后面 body.has-hero 那组透明导航的按钮配色 */
.site-head .topbar .lang-switch .btn { color: rgba(255,255,255,.82);
                            border-color: rgba(255,255,255,.3);
                            padding: .1rem .6rem; font-size: 12.5px; border-radius: 6px; line-height: 1.5; }
.site-head .topbar .lang-switch .btn:hover,
.site-head .topbar .lang-switch .btn.on { color: var(--brand-deep); background: #fff; border-color: #fff; }

/* ---------- 导航 ---------- */
.main-nav {
  background: #fff;
  box-shadow: 0 2px 14px rgba(11,46,89,.06);
}
.main-nav .navbar-brand img { height: 54px; width: auto; }
.main-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: .95rem 1.05rem !important;
  position: relative;
}
/* 英文导航：短词 + 大写，避免长词挤行 */
html[lang="en"] .main-nav .nav-link { text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--brand); }
.main-nav .nav-link.active::after {
  content: ""; position: absolute; left: 1.05rem; right: 1.05rem; bottom: .55rem;
  height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-cyan));
}
.main-nav .dropdown-menu {
  border: 0; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: .75rem; margin-top: 0;
  columns: 2; column-gap: 1rem; min-width: 460px;
}
.main-nav .dropdown-item {
  border-radius: 8px; padding: .45rem .8rem; column-break: avoid;
  white-space: normal;
}
.main-nav .dropdown-item:hover { background: var(--brand-soft); color: var(--brand-dark); }
.main-nav .dropdown-item.group { font-weight: 700; pointer-events: none; color: var(--brand-deep); }
.lang-switch .btn {
  border: 1px solid var(--line); color: var(--muted); border-radius: 8px;
  padding: .3rem .7rem; font-size: 13px; font-weight: 600;
}
.lang-switch .btn.on, .lang-switch .btn:hover {
  color: #fff; background: var(--brand); border-color: var(--brand);
}
.nav-search-btn { color: var(--muted); }
.nav-search-btn:hover { color: var(--brand); }

/* ---------- Hero 轮播（整幅大图 + 文字叠加） ---------- */
.hero .carousel-item { height: clamp(340px, 46vw, 600px); }
.hero .carousel-item img, .hero-slide-bg {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,46,89,.72) 8%, rgba(11,46,89,.28) 46%, transparent 70%);
  display: flex; align-items: center;
}
.hero-copy { max-width: 620px; color: #fff; }
.hero-copy h1 {
  font-size: clamp(26px, 3.4vw, 46px); font-weight: 800; line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-copy p { font-size: clamp(14px, 1.3vw, 18px); opacity: .92; margin: 1rem 0 1.6rem; }
.hero .carousel-indicators button { width: 34px; height: 4px; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn-brand {
  background: linear-gradient(90deg, var(--brand), var(--brand-cyan));
  border: 0; color: #fff; font-weight: 600; border-radius: 10px;
  padding: .72rem 1.7rem; box-shadow: 0 8px 20px rgba(0,119,211,.32);
}
.btn-brand:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.75); color: #fff; border-radius: 10px;
  padding: .72rem 1.7rem; font-weight: 600; background: rgba(255,255,255,.08);
}
.btn-ghost:hover { color:#fff; background: rgba(255,255,255,.22); }
.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand); border-radius: 10px; font-weight: 600; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* ---------- 通用版块 ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head .en { color: var(--brand); font-weight: 700; letter-spacing: .18em; font-size: 13px; text-transform: uppercase; }
.sec-head h2 { font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); margin: .35rem 0 .5rem; }
.sec-head h2::after {
  content: ""; display: block; width: 58px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-cyan)); margin: 12px auto 0;
}
.sec-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.sec-head.left { text-align: left; margin-bottom: 0; }
.sec-head.left h2::after, .sec-head.left p { margin-left: 0; }
.sec-head.left p { max-width: 520px; }

/* ---------- 内页页头（整幅质感大图 + 叠加） ---------- */
.page-hero {
  position: relative; min-height: 300px; display: flex; align-items: center;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand) 75%, var(--brand-cyan));
  color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 260px at 85% 20%, rgba(0,180,230,.35), transparent 60%),
              radial-gradient(520px 240px at 8% 90%, rgba(255,255,255,.12), transparent 55%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-weight: 800; font-size: clamp(24px, 3vw, 38px); }
.page-hero .breadcrumb { font-size: 14px; }
.page-hero a { color: rgba(255,255,255,.85); }
.page-hero a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }

/* ---------- 统计条 ---------- */
.stats-band { position: relative; z-index: 5; margin-top: -56px; }
.stats-card {
  background: #fff; border-radius: 18px; box-shadow: 0 18px 46px rgba(10,30,60,.13);
  padding: 8px 0; overflow: hidden;
}
.stat-cell { border-right: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
.stat-cell:nth-child(2) { border-right: none; }
@media (min-width: 992px) {
  .stat-cell { border-bottom: none; }
  .stat-cell:last-child { border-right: none; }
  .stat-cell:nth-child(2) { border-right: 1px solid #eef2f7; }
}
.stat-item { text-align: center; padding: 26px 12px; }
.stat-item .bi {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; font-size: 22px; margin-bottom: 10px;
  color: var(--brand); background: linear-gradient(135deg, rgba(0,119,211,.10), rgba(0,180,216,.12));
}
.stat-num { font-size: 38px; font-weight: 800; color: #0f2b4a; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 18px; font-weight: 700; color: var(--brand); margin-left: 2px; }
.stat-label { color: #5b6b7c; font-size: 14px; margin-top: 4px; }

/* ---------- 卡片 ---------- */
.card-soft {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease;
}
.card-soft:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card { display: flex; flex-direction: column; }
/* 254 张产品图里 225 张是纯黑底、29 张纯白底：图区用纯黑打底，黑底图完全无缝，
   白底图靠圆角收成一块"照片砖"，不再出现白卡片里嵌黑方块 */
.product-card .img-box {
  height: 220px; display: flex; align-items: center; justify-content: center;
  padding: 12px; overflow: hidden; background: #000;
}
.product-card .img-box img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px;
  transition: transform .3s;
}
.product-card:hover .img-box img { transform: scale(1.07); }
.product-card .p-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 4px; }
.product-card .p-cat, .product-card .p-sku { color: var(--brand); font-size: 12.5px; font-weight: 700; }
.product-card .p-name {
  font-weight: 700; font-size: 15.5px; line-height: 1.45; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .p-sum {
  color: var(--muted); font-size: 13px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .p-more {
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--brand); font-size: 13px; font-weight: 600;
}
.product-card .p-more i { transition: transform .25s; }
.product-card:hover .p-more i { transform: translateX(4px); }

/* 首页产品系列：整幅产品图打底 + 底部渐变标题，两行四列
   （产品图底色不统一——网卡/光模块多为黑底，光无源为白底，故不用白底容器） */
.cat-tile {
  position: relative; display: block; height: 100%; overflow: hidden;
  border-radius: var(--radius); background: var(--brand-deep);
}
.cat-tile img {
  width: 100%; height: 200px; object-fit: cover; object-position: center 42%;
  transition: transform .35s ease;
}
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile .nm {
  position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3;
  background: linear-gradient(to bottom, rgba(11,46,89,0) 0%, rgba(11,46,89,.45) 55%, rgba(11,46,89,.95) 85%);
}
.cat-tile .nm i { flex: none; transition: transform .25s; }
.cat-tile:hover .nm i { transform: translateX(4px); }
@media (max-width: 767px) { .cat-tile img { height: 158px; } }

.news-card { display: flex; flex-direction: column; }
.news-card .cover { height: 190px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--brand-soft); }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover .cover img { transform: scale(1.05); }
.news-card .n-title { font-weight: 700; line-height: 1.5; display: -webkit-box;
                      -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .meta { color: var(--muted); font-size: 13px; }
.news-card .n-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.news-card .n-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line);
                     display: flex; align-items: center; justify-content: space-between; }

.sol-icon {
  width: 58px; height: 58px; border-radius: 16px; font-size: 26px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-cyan));
  box-shadow: 0 8px 18px rgba(0,119,211,.28);
}

/* 固定像素高度 + overflow:hidden 会把半行字露在卡片底部，压住链接；按行截断 */
.sum-3, .sum-2 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
                 color: var(--muted); line-height: 1.8; }
.sum-3 { font-size: 14.5px; -webkit-line-clamp: 3; }
.sum-2 { font-size: 14px; line-height: 1.75; -webkit-line-clamp: 2; }

/* 解决方案卡片：正文撑开，链接统一钉在底部，六张卡视觉齐平 */
.sol-card { display: flex; flex-direction: column; }
.sol-card .sol-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
                      overflow: hidden; min-height: 2.9em; }

/* 列表页布局：侧边分类树 */
.side-cat { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-cat .cat-title { background: var(--brand-deep); color: #fff; padding: 16px 20px; font-weight: 700; }
.side-cat a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 20px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; }
.side-cat a:hover, .side-cat a.on { background: var(--brand-soft); color: var(--brand); }
.side-cat .nm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.side-cat a.grp > i { flex: 0 0 auto; font-size: 11px; color: #9aa5b3; transition: color .2s; }
.side-cat a.grp:hover > i, .side-cat a.grp.on > i { color: var(--brand); }
.side-cat a.grp.open { font-weight: 600; }
.side-cat a.sub { padding-left: 38px; font-size: 14px; color: var(--muted); }
.side-cat .n { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--muted);
               background: var(--bg); border-radius: 20px; padding: 1px 8px;
               font-variant-numeric: tabular-nums; }
.side-cat a:hover .n, .side-cat a.on .n { background: #fff; color: var(--brand); }
.side-cat .plain { display: flex; justify-content: space-between; align-items: center; gap: 10px;
                   padding: 11px 20px; border-bottom: 1px solid var(--line);
                   font-size: 15px; color: #a7b0bd; }
.side-cat .plain.sub { padding-left: 38px; font-size: 14px; }
.empty-cat { border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg);
             text-align: center; padding: 56px 20px; }
.empty-cat i { font-size: 34px; color: var(--brand); opacity: .45; }
.empty-cat .t { margin-top: 12px; font-weight: 700; color: var(--ink); }
.empty-cat .d { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 460px;
                margin-left: auto; margin-right: auto; }
.side-contact { background: var(--brand-deep); color: #fff; border-radius: var(--radius); padding: 22px; }
.side-contact a { color: var(--brand-cyan); }

/* ---------- 详情页 ---------- */
.prote-detail h1 { font-size: 26px; font-weight: 800; }
.spec-table th { width: 34%; background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.spec-table td, .spec-table th { padding: .8rem 1rem; border: 1px solid var(--line); font-size: 15px; }
.pro-img-box { border: 1px solid var(--line); border-radius: var(--radius); background:#fff; min-height: 320px; display:flex; align-items:center; justify-content:center; padding: 20px; }
.pro-img-box img { max-height: 420px; object-fit: contain; }
.article-body { font-size: 16.5px; line-height: 1.9; color: #2c3743; }
.article-body img { border-radius: 10px; margin: 14px 0; height: auto; }
.article-body h2, .article-body h3 { font-weight: 700; margin: 1.4rem 0 .7rem; color: var(--brand-deep); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: .55rem .8rem; }
.rich-preview img { max-width: 100%; }

/* ---------- 关于我们 ---------- */
/* 正文行宽：1380px 通栏一行近 90 字，中文阅读极吃力 */
.article-body { max-width: 860px; margin-left: auto; margin-right: auto; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden;
               box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.about-photo .est { position: absolute; left: 18px; bottom: 18px; padding: 7px 14px;
                     border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
                     color: #fff; background: rgba(11,46,89,.72); backdrop-filter: blur(4px); }
.about-stats { border-top: 1px solid var(--line); padding-top: 30px; }
.about-stat { text-align: center; }
.about-stat > i { display: inline-flex; align-items: center; justify-content: center;
                  width: 42px; height: 42px; border-radius: 12px; font-size: 20px; margin-bottom: 8px;
                  color: var(--brand); background: linear-gradient(135deg, rgba(0,119,211,.10), rgba(0,180,216,.12)); }
.about-stat .num { font-size: 30px; font-weight: 800; color: var(--brand-deep); line-height: 1.1;
                   font-variant-numeric: tabular-nums; }
.about-stat .num small { font-size: 15px; font-weight: 700; color: var(--brand); margin-left: 2px; }
.about-stat .lb { color: var(--muted); font-size: 14px; margin-top: 3px; }
.culture-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
                padding: 26px 22px; height: 100%; transition: transform .25s, box-shadow .25s; }
.culture-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.culture-card .ct { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16.5px;
                    color: var(--brand-deep); margin-bottom: 10px; }
.culture-card .ct i { color: var(--brand); font-size: 20px; }
.culture-card .cd { color: var(--muted); font-size: 14px; line-height: 1.9; }
.proc-step { position: relative; padding: 0 0 18px; border: 1px solid var(--line);
             border-radius: var(--radius); background: #fff; height: 100%;
             transition: transform .25s, box-shadow .25s; }
.proc-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proc-step .ph { height: 158px; overflow: hidden; padding: 0;
                 border-radius: var(--radius) var(--radius) 0 0; }
.proc-step .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proc-step .no { position: absolute; right: 28px; top: 12px; font-size: 34px; font-weight: 800;
                 color: #fff; line-height: 1; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.proc-step > div { padding: 0 20px; }
.proc-step .ps-t { position: relative; color: var(--brand-deep); font-size: 16px; margin-top: 16px; }
.proc-step .sum-3 { font-size: 14px; line-height: 1.85; -webkit-line-clamp: 3; }

.cert-card { display: block; width: 100%; padding: 6px; border: 1px solid var(--line);
             border-radius: var(--radius); background: #fff; overflow: hidden;
             aspect-ratio: 3 / 4; position: relative; cursor: zoom-in;
             transition: transform .25s, box-shadow .25s; }
/* 截图里的证书宽窄不一（151-195px），contain 保证不裁掉边框，也几乎不用放大 */
.cert-card img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cert-card .zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
                   color: #fff; font-size: 22px; background: rgba(11,46,89,.45); opacity: 0;
                   transition: opacity .25s; }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-card:hover .zoom { opacity: 1; }
/* 证书名两行以内，超出截断，保证一排底部对齐 */
.cert-cap { margin-top: 8px; text-align: center; font-size: 12.5px; line-height: 1.5;
            color: var(--muted); min-height: 3em; display: -webkit-box;
            -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cert-modal-t { font-weight: 700; font-size: 15px; color: var(--brand-deep); }

/* 证书排成一行横向滚动：7 张排成两行会留一张孤的在下面 */
.cert-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
             scrollbar-width: none; -ms-overflow-style: none; }
.cert-rail::-webkit-scrollbar { display: none; }
.cert-col { flex: 0 0 auto; width: calc((100% - 2 * 12px) / 3); scroll-snap-align: start; }
@media (min-width: 768px) { .cert-col { width: calc((100% - 3 * 16px) / 4); } }
@media (min-width: 992px) { .cert-col { width: calc((100% - 5 * 16px) / 6); } }
.rail-btns { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.rail-btns button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
                    background: #fff; color: var(--brand-deep); display: inline-flex;
                    align-items: center; justify-content: center; transition: .2s; }
.rail-btns button:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
.rail-btns button:disabled { opacity: .3; cursor: default; }

.store-card { display: flex; flex-direction: column; align-items: center; text-align: center;
              height: 100%; padding: 22px 20px; border: 1px solid var(--line);
              border-radius: var(--radius); background: #fff; transition: box-shadow .25s; }
.store-card:hover { box-shadow: var(--shadow-lg); }
.store-card .st { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 16px;
                  color: var(--brand-deep); margin-bottom: 14px; }
.store-card .st i { color: var(--brand); font-size: 19px; }
.store-card img { width: 116px; height: 116px; object-fit: contain;
                  border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: #fff; }
.store-card .hint { margin-top: 10px; font-size: 13px; color: var(--muted); }
.store-card .body { display: flex; flex-direction: column; align-items: center; gap: 6px;
                    font-size: 14px; color: var(--muted); line-height: 1.8; }
.store-card .body p { margin: 0; }
#certModal .modal-content { box-shadow: var(--shadow-lg); }
/* 证书来自原站截图，原生宽度仅 150-200px，弹层按原尺寸展示避免放大发虚 */
#certModal img { max-width: 100%; height: auto; }
#certModal .modal-footer { background: transparent; }
.about-contact { background: linear-gradient(110deg, var(--brand-deep), var(--brand) 68%, var(--brand-cyan));
                 color: #fff; }
.about-contact .en { color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .18em; font-size: 13px; }
.about-contact .ac-list li { padding: 7px 0; font-size: 15px; color: rgba(255,255,255,.9); }
.about-contact .ac-list i { width: 26px; color: #fff; }
.about-contact a { color: #fff; }
.about-contact a:hover { color: #fff; text-decoration: underline; }

/* ---------- 分页 ---------- */
.pagination .page-link { color: var(--muted); border-color: var(--line); border-radius: 8px; margin: 0 3px; }
.pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .page-link:hover { color: var(--brand); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.75); }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--brand-cyan); }
.site-footer .foot-link li { margin-bottom: 10px; font-size: 14.5px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; }
.footer-logo { height: 48px; filter: brightness(0) invert(1); opacity: .95; }

/* ---------- 悬浮工具 ---------- */
.float-tools { position: fixed; right: 18px; bottom: 24px; z-index: 1030; display: flex; flex-direction: column; gap: 10px; }
.float-tools a {
  width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: var(--shadow-lg); transition: all .2s;
}
.float-tools a:hover { background: var(--brand); color: #fff; }
#backTop { display: none; }

/* ---------- 留言表单 ---------- */
.msg-form .form-control { border-radius: 10px; border-color: var(--line); padding: .7rem 1rem; }
.msg-form .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(0,119,211,.12); }
.hp-field { position: absolute; left: -9999px; }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .main-nav .navbar-brand img { height: 44px; }
  .main-nav .dropdown-menu { columns: 1; min-width: 0; box-shadow: none; }
  .hero .carousel-item { height: 300px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(11,46,89,.75), rgba(11,46,89,.25)); }
  .section { padding: 48px 0; }
  .stat-num { font-size: 30px; }
}
@media (max-width: 575px) {
  .topbar { font-size: 12px; }
  .product-card .img-box { height: 160px; }
}

/* ---------- 悬浮透明导航 + 900px 质感 Hero ---------- */
.site-head { position: relative; z-index: 1045; }

body.has-hero .site-head {
  position: absolute; top: 0; left: 0; right: 0; background: transparent;
}
body.has-hero .main-nav { position: static; }
body.has-hero .topbar {
  background: transparent; color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
body.has-hero .topbar .bi { color: #6fd3ff; }
body.has-hero .topbar a { color: rgba(255,255,255,.9); }
body.has-hero .main-nav { background: transparent; box-shadow: none; }
body.has-hero .main-nav .nav-link { color: rgba(255,255,255,.88); text-shadow: 0 1px 6px rgba(4,20,40,.35); }
body.has-hero .main-nav .nav-link:hover,
body.has-hero .main-nav .nav-link.active { color: #fff; }
body.has-hero .main-nav .nav-link.active::after { background: #45c6ff; }
body.has-hero .main-nav .navbar-brand img { filter: brightness(0) invert(1); opacity: .96; }
body.has-hero .main-nav .input-group .form-control {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff;
}
body.has-hero .main-nav .input-group .form-control::placeholder { color: rgba(255,255,255,.6); }
body.has-hero .main-nav .input-group .form-control:focus { background: rgba(255,255,255,.18); color: #fff; }
body.has-hero .lang-switch .btn { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.4); }
body.has-hero .lang-switch .btn.on { background: #fff; color: var(--brand-dark); border-color: #fff; }
body.has-hero .navbar-toggler { border-color: rgba(255,255,255,.5); }
body.has-hero .navbar-toggler-icon { filter: invert(1); }

/* 滚动后：毛玻璃实底 */
body.has-hero .site-head.stuck {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(10,30,60,.10);
}
body.has-hero .site-head.stuck .topbar { display: none !important; }
body.has-hero .site-head.stuck .main-nav { background: transparent; }
body.has-hero .site-head.stuck .main-nav .nav-link { color: #2b3a4d; text-shadow: none; }
body.has-hero .site-head.stuck .main-nav .nav-link:hover,
body.has-hero .site-head.stuck .main-nav .nav-link.active { color: var(--brand); }
body.has-hero .site-head.stuck .main-nav .navbar-brand img { filter: none; }
body.has-hero .site-head.stuck .main-nav .input-group .form-control { background: #fff; border-color: var(--line); color: #333; }
body.has-hero .site-head.stuck .main-nav .input-group .form-control::placeholder { color: #9aa7b5; }
body.has-hero .site-head.stuck .lang-switch .btn { color: #5b6b7c; border-color: var(--line); }
body.has-hero .site-head.stuck .lang-switch .btn.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Hero：原站图按原始比例自适应展示 */
.hero { position: relative; }
.hero .carousel-item { height: auto; }
.hero .carousel-item img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .hero .carousel-item img { height: 190px; object-fit: cover; object-position: center 40%; }
}
.hero-scrim {
  position: absolute; top: 0; left: 0; right: 0; height: 170px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,16,34,.52) 0%, rgba(4,16,34,0) 100%);
}
.hero .carousel-indicators { bottom: 80px; }
.hero .carousel-indicators button { background-color: rgba(30,60,95,.45); border: none; opacity: 1; }
.hero .carousel-indicators button.active { background-color: var(--brand); }
.hero-copy { max-width: 680px; padding-top: 60px; }
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .22em; color: #7fd6ff; font-weight: 600; margin-bottom: 18px;
}
.hero-copy .eyebrow::before { content: ""; width: 42px; height: 3px; background: linear-gradient(90deg, #45c6ff, transparent); border-radius: 2px; }
.hero-copy h1 { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.18; font-weight: 800; letter-spacing: .01em; }
.hero-copy p { font-size: clamp(15px, 1.25vw, 20px); opacity: .9; margin: 1.2rem 0 2rem; }
.hero-copy .btn { padding: .72rem 1.7rem; font-size: 16px; border-radius: 10px; }
.hero .carousel-indicators { bottom: 34px; }
.hero .carousel-indicators button { width: 40px; height: 4px; border-radius: 2px; }
