/* ============================================================
   中岩智测（重庆）科技有限公司 官网重建版
   纯原生 CSS · 无框架依赖 · 移动优先响应式
   ============================================================ */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3560;
  --primary-light: #e8f1f8;
  --accent: #f39c12;
  --accent-dark: #d68910;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --text: #22303e;
  --text-2: #5a6b7c;
  --line: #e3eaf1;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(15, 76, 129, .10);
  --shadow-hover: 0 12px 32px rgba(15, 76, 129, .18);
  --container: 1200px;
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
ul, ol { list-style-position: inside; }
table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--primary); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 顶部欢迎条 ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  height: 36px;
  display: flex; align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; }
.topbar a { color: #fff; }
.topbar .hotline strong { color: var(--accent); font-size: 15px; letter-spacing: .5px; }
@media (max-width: 768px) { .topbar { display: none; } }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(10, 53, 96, .12); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo img { height: 48px; width: auto; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo .logo-text b { font-size: 19px; color: var(--primary-dark); letter-spacing: 1px; white-space: nowrap; }
.logo .logo-text span { font-size: 11px; color: var(--text-2); white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; list-style: none; }
.main-nav > li > a {
  display: block; padding: 10px 18px;
  color: var(--text); font-weight: 600; font-size: 16px;
  border-radius: var(--radius-sm);
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--primary); background: var(--primary-light); }
.main-nav > li > a.active-line { position: relative; }
.nav-sub {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 8px; opacity: 0; visibility: hidden;
  transition: all .22s ease;
}
.main-nav > li:hover .nav-sub, .main-nav > li:focus-within .nav-sub {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-sub::before {
  content: ""; position: absolute; top: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: #fff;
}
.nav-sub a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 15px; white-space: nowrap;
}
.nav-sub a:hover { background: var(--primary-light); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-search {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; display: grid; place-items: center; color: var(--text-2);
  transition: all .2s;
}
.btn-search:hover { border-color: var(--primary); color: var(--primary); }
.btn-search svg { width: 18px; height: 18px; }

/* 汉堡按钮 */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: none; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center;
}
.nav-toggle span {
  width: 24px; height: 2.5px; background: var(--primary-dark); border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 移动端抽屉导航 */
@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -300px; width: 300px; height: 100dvh;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 84px 16px 24px; gap: 2px; z-index: 99;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
    transition: right .28s ease; overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav > li > a { padding: 13px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; padding: 0 0 6px 12px; min-width: 0; background: transparent;
  }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 8px 12px; color: var(--text-2); }
  .nav-mask {
    position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 98;
    opacity: 0; visibility: hidden; transition: all .25s;
  }
  .nav-mask.show { opacity: 1; visibility: visible; }
}

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; overflow: hidden; background: var(--primary-dark); }
.hero-track { display: flex; transition: transform .6s ease; }
.hero-slide {
  min-width: 100%; position: relative; aspect-ratio: 16 / 6.2;
  display: flex; align-items: center;
}
@media (max-width: 768px) { .hero-slide { aspect-ratio: 16 / 10; } }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 40, 74, .82) 8%, rgba(8, 40, 74, .35) 55%, rgba(8, 40, 74, .12));
}
.hero-copy {
  position: relative; z-index: 2; color: #fff; padding: 0 6vw; max-width: 720px;
}
.hero-copy h2 { font-size: clamp(26px, 4.2vw, 46px); letter-spacing: 2px; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-copy p { font-size: clamp(14px, 1.6vw, 18px); color: rgba(255,255,255,.88); letter-spacing: 3px; }
.hero-dots {
  position: absolute; bottom: 18px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 26px; height: 4px; border: none; border-radius: 2px;
  background: rgba(255, 255, 255, .45); transition: all .25s;
}
.hero-dots button.on { background: var(--accent); width: 40px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .22); color: #fff; font-size: 20px;
  display: grid; place-items: center; transition: background .2s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .4); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
@media (max-width: 640px) { .hero-arrow { display: none; } }

/* 快捷指标条 */
.quick-bar { background: #fff; border-bottom: 1px solid var(--line); }
.quick-bar .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px 20px;
}
.quick-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.quick-item .qi-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light);
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.quick-item b { display: block; font-size: 15px; color: var(--primary-dark); }
.quick-item span { font-size: 12.5px; color: var(--text-2); }
@media (max-width: 768px) {
  .quick-bar .container { grid-template-columns: repeat(2, 1fr); padding: 14px 20px; }
  .quick-item { justify-content: flex-start; }
}

/* ---------- 通用 Section ---------- */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .sec-en {
  font-size: 13px; letter-spacing: 5px; color: var(--accent);
  text-transform: uppercase; font-weight: 700;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--primary-dark); margin: 6px 0 10px; letter-spacing: 2px; }
.sec-head .sec-line { width: 56px; height: 3px; background: var(--accent); margin: 0 auto; border-radius: 2px; }
.sec-head p.sec-sub { color: var(--text-2); margin-top: 12px; font-size: 15px; }

/* ---------- 产品分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 22px; }
@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; display: block; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-mask {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(to top, rgba(8, 40, 74, .78), rgba(8, 40, 74, .18) 55%);
  color: #fff;
}
.cat-card h3 { font-size: 21px; letter-spacing: 2px; }
.cat-card .more {
  font-size: 13px; padding: 5px 16px; border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px; transition: all .25s;
}
.cat-card:hover .more { background: var(--accent); border-color: var(--accent); }

/* ---------- 关于我们 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
@media (max-width: 991px) { .about-wrap { grid-template-columns: 1fr; } }
.about-text h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 8px; }
.about-text .slogan { color: var(--accent); font-weight: 700; letter-spacing: 2px; margin-bottom: 16px; }
.about-text p { color: var(--text-2); margin-bottom: 14px; text-align: justify; }
.about-text .link-more {
  display: inline-block; margin-top: 8px; padding: 10px 28px;
  background: var(--primary); color: #fff; border-radius: 999px; font-weight: 600;
  transition: all .25s;
}
.about-text .link-more:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow); }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-hover); width: 100%; }
.about-img .badge {
  position: absolute; left: -14px; bottom: -14px;
  background: var(--accent); color: #fff; border-radius: var(--radius);
  padding: 14px 22px; text-align: center; box-shadow: var(--shadow-hover);
}
.about-img .badge b { display: block; font-size: 26px; line-height: 1.2; }
.about-img .badge span { font-size: 12.5px; }
@media (max-width: 480px) { .about-img .badge { left: 8px; bottom: 8px; } }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .thumb img { transform: scale(1.06); }
.case-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.case-card .body h3 { font-size: 16.5px; color: var(--text); line-height: 1.5; }
.case-card .body h3 a { color: inherit; }
.case-card .body h3 a:hover { color: var(--primary); }
.case-card .meta { font-size: 12.5px; color: var(--text-2); margin-top: auto; display: flex; gap: 14px; }

/* ---------- 荣誉资质 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .honor-grid { grid-template-columns: 1fr; } }
.honor-item {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s;
}
.honor-item:hover { transform: translateY(-5px); }
.honor-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.honor-item p { padding: 14px 16px; text-align: center; font-weight: 600; color: var(--primary-dark); }

/* ---------- 联系 CTA ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--primary-dark), var(--primary) 70%);
  color: #fff; padding: 56px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(20px, 2.6vw, 28px); letter-spacing: 1px; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 6px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: all .25s; border: 1px solid transparent;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- 页头横幅（内页） ---------- */
.page-banner {
  position: relative; padding: 64px 0 54px; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(10, 53, 96, .92), rgba(15, 76, 129, .78)),
    radial-gradient(1200px 400px at 85% -10%, rgba(243, 156, 18, .35), transparent);
}
.page-banner .container { position: relative; }
.page-banner .en { letter-spacing: 5px; font-size: 13px; color: rgba(255,255,255,.7); text-transform: uppercase; font-weight: 700; }
.page-banner h1 { font-size: clamp(24px, 3.2vw, 36px); letter-spacing: 3px; margin-top: 6px; }

.breadcrumb { font-size: 13.5px; color: var(--text-2); padding: 16px 0 0; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: #b8c4d0; }

/* ---------- 产品列表页 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-bar a {
  padding: 8px 22px; border-radius: 999px; background: #fff; color: var(--text);
  border: 1px solid var(--line); font-size: 14.5px; transition: all .2s;
}
.filter-bar a:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary-light); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 16px 18px 18px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.product-card .body h3 { font-size: 16.5px; line-height: 1.5; }
.product-card .body h3 a { color: var(--text); }
.product-card .body h3 a:hover { color: var(--primary); }
.product-card .body .tag { font-size: 12px; color: var(--accent); letter-spacing: 1px; }
.product-card .body .view {
  display: inline-block; margin: 0 auto; padding: 6px 22px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600;
  transition: all .25s;
}
.product-card:hover .body .view { background: var(--primary); color: #fff; }

/* 侧栏（详情页布局） */
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
@media (max-width: 991px) { .detail-layout { grid-template-columns: 1fr; } }

/* 图集 */
.gallery { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.gallery-main { border-radius: var(--radius-sm); overflow: hidden; background: var(--primary-light); aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button {
  flex: 0 0 76px; height: 60px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; padding: 0; background: #fff; transition: border-color .2s;
}
.gallery-thumbs button.on { border-color: var(--accent); }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }

/* 侧栏卡片 */
.side-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; margin-bottom: 20px;
}
.side-card h4 {
  font-size: 16px; color: var(--primary-dark); padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.side-card ul { list-style: none; }
.side-card li a {
  display: block; padding: 9px 4px; border-bottom: 1px dashed var(--line);
  color: var(--text-2); font-size: 14.5px;
}
.side-card li a:hover { color: var(--primary); padding-left: 8px; }
.side-contact { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.side-contact h4 { color: #fff; border-color: rgba(255,255,255,.2); }
.side-contact p { font-size: 14.5px; margin: 6px 0; color: rgba(255,255,255,.92); }
.side-contact strong { color: var(--accent); font-size: 19px; letter-spacing: .5px; }

/* 产品/文章正文 */
.article {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 36px;
}
@media (max-width: 640px) { .article { padding: 22px 18px; } }
.article-head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(20px, 2.6vw, 28px); color: var(--primary-dark); line-height: 1.5; }
.article-head .meta { color: var(--text-2); font-size: 13px; margin-top: 8px; display: flex; gap: 18px; flex-wrap: wrap; }
.article-body h2 {
  font-size: 20px; color: var(--primary-dark); margin: 30px 0 14px;
  padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.4;
}
.article-body h3 { font-size: 17px; color: var(--primary-dark); margin: 24px 0 10px; }
.article-body p { color: var(--text); margin: 10px 0; text-align: justify; }
.article-body ul, .article-body ol { margin: 10px 0 10px 6px; }
.article-body li { margin: 6px 0; color: var(--text); padding-left: 4px; }
.article-body ul li::marker { color: var(--accent); }
.article-body img { border-radius: var(--radius-sm); margin: 14px auto; box-shadow: var(--shadow); }
.article-body figure { margin: 18px 0; }
.article-body figcaption { text-align: center; font-size: 13px; color: var(--text-2); margin-top: 6px; }
.article-body strong { color: var(--primary-dark); }

/* 参数表 */
.spec-table { width: 100%; margin: 14px 0; font-size: 14.5px; }
.spec-table th, .spec-table td {
  border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top;
}
.spec-table thead th { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.spec-table tbody tr:nth-child(even) { background: #fafcfe; }

/* 特点卡片 */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 14px 0; }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.feat-item b { color: var(--primary-dark); display: block; margin-bottom: 4px; }
.feat-item span { font-size: 14px; color: var(--text-2); }

/* 上下篇 */
.pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager a { font-size: 14px; color: var(--text-2); max-width: 48%; }
.pager a:hover { color: var(--primary); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 26px; text-align: center; transition: transform .3s;
}
.contact-card:hover { transform: translateY(-5px); }
.contact-card .ico {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--primary-light); display: grid; place-items: center; font-size: 26px;
}
.contact-card h3 { color: var(--primary-dark); font-size: 17px; margin-bottom: 8px; }
.contact-card p { color: var(--text-2); font-size: 14.5px; }
.contact-card p b { color: var(--text); font-size: 17px; }
.contact-addr { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.contact-addr h3 { color: var(--primary-dark); margin-bottom: 14px; font-size: 18px; }
.contact-addr li { margin: 10px 0; color: var(--text-2); list-style: none; padding-left: 26px; position: relative; }
.contact-addr li::before { content: "📍"; position: absolute; left: 0; font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0c2c4e; color: rgba(255,255,255,.75); margin-top: 0; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding: 54px 0 40px;
}
@media (max-width: 991px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.footer-main h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-main ul { list-style: none; }
.footer-main li { margin: 8px 0; }
.footer-main a { color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-main a:hover { color: var(--accent); }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.9; }
.footer-contact p { font-size: 14.5px; margin: 7px 0; }
.footer-contact strong { color: var(--accent); font-size: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px;
  color: rgba(255,255,255,.5); text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.6); margin: 0 6px; }
.footer-links { margin-top: 8px; }
.footer-links a { font-size: 13px; }

/* ---------- 悬浮工具 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 96px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; font-size: 18px;
  box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden;
  transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--primary-dark); }
@media (max-width: 768px) { .to-top { bottom: 78px; right: 14px; } }

/* 移动端底部工具条 */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: #fff; box-shadow: 0 -4px 18px rgba(10, 53, 96, .10);
}
.mobile-bar ul { display: flex; list-style: none; }
.mobile-bar li { flex: 1; }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 0 7px; font-size: 12px; color: var(--text-2);
}
.mobile-bar a i { font-style: normal; font-size: 19px; }
.mobile-bar a.hot { color: var(--accent); }
@media (max-width: 768px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 58px; }
}

/* ---------- 搜索页 ---------- */
.search-box { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 30px; }
.search-box input {
  flex: 1; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 15px; outline: none; transition: border-color .2s; font-family: inherit;
}
.search-box input:focus { border-color: var(--primary); }
.search-box button {
  padding: 0 30px; border: none; border-radius: 999px; background: var(--primary);
  color: #fff; font-weight: 600; font-size: 15px;
}
.search-box button:hover { background: var(--primary-dark); }
.search-result-item {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 24px; margin-bottom: 16px;
}
.search-result-item h3 { font-size: 17px; margin-bottom: 6px; }
.search-result-item p { font-size: 14px; color: var(--text-2); }
.search-result-item .cat-tag {
  display: inline-block; font-size: 12px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px; padding: 1px 10px; margin-bottom: 8px;
}
.search-empty { text-align: center; color: var(--text-2); padding: 50px 0; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
