/* =========================================================
   三圆（河南）检测服务有限公司 官网全站样式
   品牌主色：湖蓝色
   ========================================================= */

:root {
  /* 品牌色 */
  --brand: #0ea5c9; /* 湖蓝主色 */
  --brand-dark: #0b82a3; /* 湖蓝深色（悬浮/选中） */
  --brand-darker: #0a6179; /* 湖蓝加深 */
  --brand-deep: #084a5e; /* 深湖蓝（顶部条/底部） */
  --brand-light: #e6f7fc; /* 湖蓝浅底 */
  --brand-grad: linear-gradient(135deg, #14b8d8 0%, #0a7ea4 100%);
  --footer-bg: #0d4b5f;
  --footer-bottom-bg: #093747;

  /* 中性色 */
  --text: #2b3a42;
  --text-light: #66787f;
  --text-muted: #9aa8ad;
  --border: #e4ecef;
  --bg: #ffffff;
  --bg-alt: #f4fafc;

  /* 布局 */
  --container: 1200px;
  --header-h: 70px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(10, 97, 121, 0.12);
  --shadow-hover: 0 18px 44px rgba(10, 97, 121, 0.2);
  --transition: all 0.3s ease;

  /* 封面图统一宽高比：修改此处即可全局调整（如 4 / 3） */
  --cover-ratio: 4 / 3;
}

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.display-none {
  display: none !important;
}
/* 通用箭头图标 */
.arrow {
  font-style: normal;
  transition: var(--transition);
}

/* =========================================================
   顶部信息条
   ========================================================= */
.topbar {
  /* background: var(--brand-deep); */
  /* color: rgba(255, 255, 255, 0.82); */
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar a {
  /* color: #ffffff; */
  font-weight: 600;
  letter-spacing: 0.5px;
}
.topbar a:hover {
  color: #8fe0f2;
}
.topbar .divider {
  margin: 0 8px;
  opacity: 0.4;
}
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.search-form {
  display: flex;
  margin: 5px 0 5px 20px;
}
.search-form input {
  width: 200px;
  padding: 0 14px;
  font-size: 12px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-sizing: border-box;
}
.search-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 201, 0.15);
}
.search-form .btn-submit {
  margin: 0 0 0 10px !important;
  padding: 5px 20px !important;
}

/* =========================================================
   通用头部
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(8, 74, 94, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: var(--header-h); */
  /* gap: 24px; */
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  height: 80px;
  width: auto;
}
.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-darker);
  letter-spacing: 3px;
  white-space: nowrap;
}

/* 主导航 */
.main-nav .nav-list {
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--header-h);
  padding: 0 18px;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  transition: var(--transition);
}

/* 底部高亮条 */
.nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--brand-grad);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.is-active,
.has-dropdown.is-open .nav-link {
  color: var(--brand);
}
.nav-link:hover::after,
.nav-link.is-active::after,
.has-dropdown:hover .nav-link::after,
.has-dropdown.is-open .nav-link::after {
  transform: scaleX(1);
}

/* 下拉小三角 */
.caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: var(--transition);
}
.has-dropdown:hover .caret,
.has-dropdown.is-open .caret {
  transform: rotate(180deg);
}

/* ---------- 悬浮下拉宽屏面板 ----------
   面板宽度不通栏，最大宽度与 container 一致并水平居中 */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100%;
  max-width: var(--container);
  background: #ffffff;
  border-top: 2px solid var(--brand);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 20px 40px rgba(8, 74, 94, 0.16);
  opacity: 0;
  /* visibility: hidden; */
  display: none;
  transform: translate(-50%, 14px);
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
  /* visibility 0.32s; */
}

.has-dropdown:hover .mega-panel,
.has-dropdown.is-open .mega-panel {
  opacity: 1;
  /* visibility: visible; */
  display: block;
  transform: translate(-50%, 0);
}

/* ---------- 首页专属：行业检测下拉常驻 ----------
   仅 body[data-page="home"] 生效。
   面板本体透明（无白色块、位置不动）；左侧一级栏目
   背景始终为 0.3 透明白 + 毛玻璃，可看到下方 Banner 图；
   悬浮左侧栏目时，右侧内容区以近白背景显示保证可读性。 */
body[data-page="home"] .has-dropdown.is-default-open .mega-panel {
  opacity: 1;
  /* visibility: visible; */
  display: block;
  transform: translate(-50%, 0);
  background: transparent;
  border-top: none;
  box-shadow: none;
}

/* 左侧一级栏目：默认始终 0.3 透明度 */
body[data-page="home"] .has-dropdown.is-default-open .split-left {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-right-color: rgba(255, 255, 255, 0.45);
  border-radius: 0 0 0 var(--radius);
}

/* 悬浮左侧栏目后：右侧内容区近白背景，保证可读 */
body[data-page="home"] .has-dropdown.is-default-open .split-right {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 var(--radius) 0;
}

/* 首页常驻面板：页面滚动后自动隐藏（视同随页面滚走），
   回到顶部时恢复；悬浮导航时仍正常展开（导航效果不变）。
   过渡加快至 0.15s，隐藏/恢复更灵敏。 */
@media (min-width: 769px) {
  body[data-page="home"] .has-dropdown.is-default-open .mega-panel {
    transition: opacity 0.15s ease;
    /* visibility 0.15s ease; */
  }
  body[data-page="home"].is-scrolled
    .has-dropdown.is-default-open:not(:hover)
    .mega-panel {
    opacity: 0;
    /* visibility: hidden; */
    display: none;
  }
}

.mega-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 一行 = 左侧一级栏目名 + 右侧二级栏目链接 */
.mega-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.mega-row:last-child {
  border-bottom: none;
}

.mega-cat {
  flex: 0 0 120px;
  font-weight: 700;
  color: var(--brand-darker);
  font-size: 16px;
}

.mega-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.mega-items a {
  color: var(--text-light);
  font-size: 15px;
  padding: 4px 12px;
  border-radius: 999px;
  transition: var(--transition);
}
.mega-items a:hover {
  color: #ffffff;
  background: var(--brand);
}

/* ---------- 行业检测/出口认证/科研服务：左右联动下拉面板 ----------
   左侧一级栏目，悬浮/点击后右侧显示对应二级栏目+检测项。
   面板整宽（与 container 一致），位置固定不动。 */
.split-inner {
  display: flex;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

/* 左侧一级栏目列表 */
.split-left {
  flex: 0 0 230px;
  border-right: 1px solid var(--border);
  padding: 14px 0;
}
.split-left li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.split-left li .arrow {
  font-size: 18px;
  color: var(--text-muted);
}
.split-left li:hover,
.split-left li.is-active {
  color: var(--brand);
  background: var(--brand-light);
}
.split-left li:hover .arrow,
.split-left li.is-active .arrow {
  color: var(--brand);
}
.split-left li a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}
.split-left li:hover a,
.split-left li.is-active a {
  color: inherit;
}

/* 右侧内容区（默认隐藏；高度自适应，无滚动条） */
.split-right {
  display: none;
  flex: 1;
  padding: 14px 10px 16px 28px;
  max-height: 600px;
  overflow-y: auto;
}
.split-right.is-show {
  display: block;
}

.split-content {
  display: none;
}
.split-content.is-active {
  display: block;
  animation: panelFade 0.35s ease;
}

/* 一组 = 二级栏目标题 + 检测项标题列表 */
.split-group {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.split-group:last-child {
  border-bottom: none;
}

.split-group h4 {
  flex: 0 0 132px;
  font-size: 15px;
}
.split-group h4 a {
  color: var(--brand-darker);
}
.split-group h4 a:hover {
  color: var(--brand);
}

.split-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-content: flex-start;
}
.split-items a {
  font-size: 14px;
  color: var(--text-light);
  padding: 3px 11px;
  border-radius: 999px;
  transition: var(--transition);
}
.split-items a:hover {
  color: #ffffff;
  background: var(--brand);
}

/* 一级栏目移动端正标题（桌面端隐藏，仅小屏平铺时显示） */
.split-cat-title {
  display: none;
}

/* ---------- 汉堡菜单按钮 ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  flex: 0 0 2px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Banner 轮播区
   ========================================================= */
.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 3;  /* 对应 1920 × 720 */
  max-height: 1500px;
  min-height: 100px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.is-active {
  opacity: 1;
}

/* 轮播文字内容 */
.slide-caption {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
}

.caption-en {
  font-size: 14px;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  padding-left: 4px;
  border-left: 3px solid #ffffff;
}

.caption-title {
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.caption-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* 描边按钮（Banner / 特色面板用） */
.btn-ghost {
  display: inline-block;
  padding: 12px 40px;
  font-size: 15px;
  letter-spacing: 2px;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: #ffffff;
  color: var(--brand-darker);
}

/* 左右箭头 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.slider-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.slider-arrow.prev {
  left: 30px;
}
.slider-arrow.next {
  right: 30px;
}

/* 条形指示器 */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.slider-dots button {
  width: 30px;
  height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.slider-dots button.is-active {
  background: #ffffff;
  width: 44px;
}

/* =========================================================
   通用区块标题（英文小标题 + 中文主标题 + 装饰线）
   ========================================================= */
.hyjc-section,
.ckrz-section,
.kyfw-section,
.faq-section,
.news-section {
  padding: 30px 0;
}

.ckrz-section,
.news-section {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin: 40px 0;
}

.section-head h2 {
  font-size: 34px;
  color: var(--text);
  letter-spacing: 4px;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

/* 装饰线 + 菱形 */
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--brand-grad);
  border-radius: 2px;
}

.section-desc {
  margin-top: 14px;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* =========================================================
   一级栏目选项卡（通用）
   ========================================================= */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 11px 34px;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(10, 97, 121, 0.12);
}
.tab-btn.is-active {
  color: #ffffff;
  background: var(--brand-grad);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(14, 165, 201, 0.35);
}

/* 选项卡末尾的「查看更多 »」链接（样式与选项卡类似的描边胶囊） */
.tab-more {
  display: inline-block;
  color: var(--brand);
  border: 1px dashed var(--brand);
  background: var(--brand-light);
  cursor: pointer;
}
.tab-more:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(14, 165, 201, 0.35);
}

/* 面板内部的「查看更多」（进入当前面板的栏目页，居中显示） */
.panel-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.btn-small {
  padding: 9px 32px;
  font-size: 14px;
  letter-spacing: 2px;
}

.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
  animation: panelFade 0.45s ease;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   出口认证：图文卡片网格
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 每行 4 个，模块更大 */
  gap: 26px;
}

.cat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* 卡片配图占位（4:3 纯色 + 文字） */
.card-thumb {
  aspect-ratio: var(--cover-ratio);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  transition: var(--transition);
}
.card-thumb span {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}
.cat-card:hover .card-thumb {
  filter: brightness(1.08);
}

/* 占位图配色（湖蓝色系） */
.thumb-1 {
  background: linear-gradient(135deg, #12a8cd, #0b82a3);
}
.thumb-2 {
  background: linear-gradient(135deg, #38bddb, #0ea5c9);
}
.thumb-3 {
  background: linear-gradient(135deg, #0b82a3, #095268);
}
.thumb-4 {
  background: linear-gradient(135deg, #5ecde2, #12a8cd);
}
.thumb-5 {
  background: linear-gradient(135deg, #0ea5c9, #0a6179);
}
.thumb-6 {
  background: linear-gradient(135deg, #2bb3d4, #0d7291);
}

.cat-card .card-title {
  display: flex;
  align-items: center;
  justify-content: center; /* 标题居中 */
  gap: 6px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.cat-card .card-title .arrow {
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
}
.cat-card:hover .card-title {
  color: var(--brand);
}
.cat-card:hover .card-title .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   行业检测：左特色面板 + 右列表（与出口认证差异化）
   ========================================================= */
.ind-panel {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: stretch;
}

/* 左侧特色面板：上图下文，无背景色（参考截图布局） */
.ind-feature {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 特色面板顶部大图占位 */
.ind-feature-img {
  aspect-ratio: var(--cover-ratio);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  overflow: hidden;
}
.ind-feature-img span {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

/* 特色面板配图配色 */
.thumb-feat-1 {
  background: linear-gradient(135deg, #12a8cd, #0b82a3);
}
.thumb-feat-2 {
  background: linear-gradient(135deg, #38bddb, #0d7291);
}
.thumb-feat-3 {
  background: linear-gradient(135deg, #5ecde2, #12a8cd);
}
.thumb-feat-4 {
  background: linear-gradient(135deg, #0ea5c9, #095d75);
}

.ind-feature-body {
  padding: 22px 4px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
}

.ind-feature h3 {
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 12px;
}
.ind-feature-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 「进入栏目」：简介下方居中显示 */
.ind-feature .btn-ghost {
  align-self: center;
  padding: 9px 34px;
  font-size: 14px;
  color: var(--brand);
  border-color: var(--brand);
}
.ind-feature .btn-ghost:hover {
  background: var(--brand);
  color: #ffffff;
}

/* 右侧二级栏目图文列表（每行 2 个：标题上方带配图） */
.ind-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-content: start;
}

.ind-list li a {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.ind-list li a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* 列表项配图占位 */
.ind-thumb {
  aspect-ratio: var(--cover-ratio);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 1px;
  transition: var(--transition);
}
.ind-thumb span {
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}
.ind-list li a:hover .ind-thumb {
  filter: brightness(1.08);
}

.ind-list-body {
  display: flex;
  align-items: center;
  justify-content: center; /* 文字居中 */
  gap: 8px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.ind-list .arrow {
  color: var(--text-muted);
  opacity: 0.6;
}
.ind-list li a:hover .ind-list-body {
  color: var(--brand);
}
.ind-list li a:hover .arrow {
  color: var(--brand);
  opacity: 1;
  transform: translateX(4px);
}

/* =========================================================
   资讯展示区（横向卡片：左图右文，每行 1 个）
   ========================================================= */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.news-card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* 左侧大图（每个卡片代码一致，方便循环） */
.news-thumb {
  position: relative;
  flex: 0 0 380px;
  aspect-ratio: var(--cover-ratio);
  align-self: flex-start;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  /* background: linear-gradient(135deg, #12a8cd, #0b82a3); */
  transition: var(--transition);
}
.news-card:hover .news-thumb {
  filter: brightness(1.08);
}

/* 右侧文字区 */
.news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 34px;
}
.news-body h3 {
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.news-body h3 a:hover {
  color: var(--brand);
}
.news-body p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 底部一行：发布时间在左，查看详情在右 */
.news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-foot time {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--brand);
  transition: var(--transition);
}
.news-more .arrow {
  transform: translateX(0);
}
.news-more:hover .arrow {
  transform: translateX(5px);
}

/* 资讯首页分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-light);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.pagination a:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.pagination .current {
  color: #ffffff;
  background: var(--brand-grad);
  border-color: transparent;
  font-weight: 600;
}
.pagination .disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
}

/* =========================================================
   查看更多按钮（渐变）
   ========================================================= */
.section-action {
  text-align: center;
  margin-top: 48px;
}
.btn-primary {
  display: inline-block;
  padding: 13px 52px;
  font-size: 16px;
  letter-spacing: 3px;
  color: #ffffff;
  background: var(--brand-grad);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(14, 165, 201, 0.32);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 165, 201, 0.45);
  filter: brightness(1.05);
}

/* =========================================================
   通用底部
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 50px;
}

.footer-col h3 {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--brand);
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-phone a {
  color: #ffffff;
  font-weight: 600;
}
.footer-phone a:hover {
  color: #8fe0f2;
}
.footer-desc {
  color: rgba(255, 255, 255, 0.6);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}
.quick-links a {
  font-size: 14px;
  transition: var(--transition);
}
.quick-links a:hover {
  color: #8fe0f2;
  padding-left: 4px;
}

.footer-bottom {
  background: var(--footer-bottom-bg);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a {
  margin-left: 10px;
}

/* =========================================================
   滚动渐显动画（JS 添加 .is-visible）
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   内页通用：Banner + 面包屑 + 单栏内容页
   （关于我们 / 联系我们 等单内容页面共用）
   ========================================================= */
.page-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 4.8 / 1;   /* 对应 1920 × 400 */
  max-height: 1000px;
  min-height: 100px;
}
.page-banner img {
  width: 100%;
}
.breadcrumb {
  margin: 10px 0;
  font-size: 14px;
  letter-spacing: 1px;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .sep {
  margin: 0 10px;
  opacity: 0.6;
}

/* 单栏内容区 */
.page-content {
  padding: 20px 0 50px;
}
.content-narrow {
  max-width: 960px;
}

.page-content h3 {
  font-size: 22px;
  color: var(--brand-darker);
  letter-spacing: 2px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  margin: 44px 0 20px;
}
.page-content h3:first-child {
  margin-top: 0;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--text-light);
  text-indent: 2em;
}

/* 内容区大图占位 */
.content-img {
  aspect-ratio: 12 / 5;
  margin: 26px 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #12a8cd, #0b82a3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
}
.content-img span {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

/* 企业文化卡片 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 10px 0 8px;
}
.culture-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: var(--transition);
}
.culture-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.culture-item h4 {
  font-size: 17px;
  color: var(--brand);
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.culture-item p {
  font-size: 14px;
  margin-bottom: 0;
  text-indent: 0;
}

/* 联系方式块 */
.about-contact {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.about-contact p {
  margin-bottom: 10px;
  text-indent: 0;
}
.about-contact p:last-child {
  margin-bottom: 0;
}
.about-contact strong {
  color: var(--text);
}
.about-contact a {
  color: var(--brand);
  font-weight: 600;
}
.about-contact a:hover {
  color: var(--brand-dark);
}

/* 联系方式卡片 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 8px 0 4px;
}
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.contact-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 24px;
  line-height: 52px;
}
.contact-card h4 {
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--brand-darker);
  margin-bottom: 12px;
}
.contact-card p {
  margin-bottom: 4px;
  font-size: 14px;
  text-indent: 0;
  color: var(--text-light);
}
.contact-card a {
  color: var(--brand);
  font-weight: 600;
}
.contact-card a:hover {
  color: var(--brand-dark);
}
.contact-card .contact-note {
  color: var(--text-muted);
  font-size: 13px;
}

/* 地图占位区域 */
.map-wrap {
  position: relative;
  aspect-ratio: 21 / 9;
  margin: 22px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.35),
      transparent 60%
    ),
    linear-gradient(135deg, #d8eef5 0%, #c4e4ee 45%, #b3dbe8 100%);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-grid::after {
  content: "";
  position: absolute;
  top: 38%;
  left: -10%;
  width: 120%;
  height: 14px;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-12deg);
}
.map-grid::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 60%;
  width: 16px;
  height: 120%;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(18deg);
}
.map-pin {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.pin-dot {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand);
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(11, 130, 163, 0.4);
}
.pin-label {
  margin-top: 12px;
  padding: 6px 14px;
  background: #ffffff;
  color: var(--brand-darker);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.map-tip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  background: rgba(8, 74, 94, 0.78);
  color: #ffffff;
  font-size: 12px;
  border-radius: 999px;
  letter-spacing: 1px;
}

/* 留言表单 */
.contact-form {
  margin: 18px 0 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 0px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group p {
  margin-bottom: 18px;
  text-indent: 0;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.form-group .req {
  color: #e54d42;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 201, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form input.btn-submit,
.search-form .btn-submit {
  display: block;
  width: fit-content;
  margin: 4px auto 0;
  padding: 12px 38px;
  font-size: 15px;
  letter-spacing: 2px;
  color: #ffffff;
  background: var(--brand-grad);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.contact-form .btn-submit:hover,
.search-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 130, 163, 0.3);
}

/* 联系页响应式 */
@media (max-width: 992px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .map-wrap {
    aspect-ratio: 16 / 10;
  }
  .pin-label {
    font-size: 12px;
  }
}

/* =========================================================
   资讯详情页（单栏文章）
   ========================================================= */
.article-title {
  font-size: 28px;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-align: center;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
  justify-content: flex-end;
}
.ico {
  font-style: normal;
}
.article-meta .ico {
  margin-right: 5px;
  color: var(--brand);
  font-style: normal;
}

.article-content p {
  text-indent: 2em;
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.95;
}
/* 详情页正文内的小标题：复用品牌左侧色条风格，去掉文字缩进 */
.article-content h3 {
  text-indent: 0;
  margin: 30px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  color: var(--brand-darker);
  letter-spacing: 1px;
}
.article-content h3:first-child {
  margin-top: 0;
}

.article-actions,
.show-more {
  margin-top: 38px;
  text-align: center;
}
.btn-back,
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 30px;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--brand);
  background: #ffffff;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-back .arrow,
.btn-more .arrow {
  font-style: normal;
}
.btn-back:hover,
.btn-more:hover {
  color: #ffffff;
  background: var(--brand-grad);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 130, 163, 0.3);
}

/* 资讯详情页响应式 */
@media (max-width: 930px) {
  .article-title {
    font-size: 23px;
  }
  .article-content p {
    line-height: 1.85;
  }
}

/* 上一篇 / 下一篇 */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.post-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text-light);
  transition: var(--transition);
}
.post-nav .post-prev {
  justify-content: flex-start;
  text-align: left;
}
.post-nav .post-next {
  justify-content: flex-end;
  text-align: right;
}
.post-nav a:hover {
  color: var(--brand);
}
.post-nav .arrow {
  font-style: normal;
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}
.post-nav .pn-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.post-nav .pn-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.post-nav .pn-title {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 最新资讯（大屏 4 列 / 平板 2 列 / 手机 1 列） */
.latest-news {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 22px;
}
.latest-card {
  display: block;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.latest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.latest-cover {
  position: relative;
  aspect-ratio: var(--cover-ratio);
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #12a8cd, #0b82a3); */
  /* color: #ffffff; */
  font-size: 13px;
  letter-spacing: 1px;
}
.latest-cover span {
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}
.latest-body {
  padding: 14px 16px 16px;
}
.latest-body h4 {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.latest-body h4 a:hover {
  color: var(--brand);
}
.latest-intro {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-body div {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-align: right;
}

/* 最新资讯响应式 */
@media (max-width: 992px) {
  .latest-news {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .latest-news {
    grid-template-columns: 1fr;
  }
  .post-nav {
    flex-direction: column;
    gap: 12px;
  }
  .post-nav .post-next {
    justify-content: flex-start;
    text-align: left;
  }
}

/* =========================================================
   科研服务首页（左右两栏：左侧固定栏目导航 + 右侧图文卡片）
   ========================================================= */
.res-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 左侧固定栏目导航 */
.res-side {
  flex: 0 0 260px;
  position: sticky;
  top: 100px;
}
.res-side-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
  background: var(--brand-grad);
  margin-bottom: 0 !important;
  text-indent: 0em !important;
  text-align: center;
  padding: 14px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.res-nav {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.res-nav-item {
  border-bottom: 1px solid var(--border);
}
.res-nav-item:last-child {
  border-bottom: none;
}
.res-nav-link {
  display: block;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}
.res-nav-link:hover,
.res-nav-link.active {
  color: #fff;
  background: #1e3a4f;
}
.res-subnav {
  padding: 4px 0 12px;
  background: var(--bg-alt);
}
.res-subnav li a {
  display: block;
  padding: 8px 18px 8px 34px;
  font-size: 14px;
  color: var(--text-light);
  position: relative;
  transition: var(--transition);
}
.res-subnav li a::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  transform: translateY(-50%);
}
.res-subnav li a:hover,
.res-subnav li a.active {
  color: var(--brand);
}
.res-subnav li a.active::before {
  background: var(--brand);
}

/* 右侧内容区 */
.res-main {
  flex: 1;
  min-width: 0;
}
.res-cat-block {
  margin-bottom: 46px;
  scroll-margin-top: 100px;
}
.res-cat-block:last-child {
  margin-bottom: 0;
}
.res-cat-title {
  font-size: 22px;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  margin-bottom: 22px;
}
.res-cat-title a {
  color: var(--brand-darker);
}
.res-cat-title a:hover {
  color: var(--brand-dark);
}
.rc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rc-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  scroll-margin-top: 100px;
}
.rc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.rc-cover {
  position: relative;
  aspect-ratio: var(--cover-ratio);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9f6fb 0%, #d3eef7 100%);
}
.res-lead {
  margin-bottom: 30px;
  color: var(--text-light);
}
.rc-body {
  padding: 14px 16px;
  text-align: center;
}
.rc-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.rc-card:hover .rc-body h4 {
  color: var(--brand);
}

/* 科研服务栏目页（单页，hash 切换一级栏目） */
.res-cat-section {
  margin-bottom: 8px;
}
.res-detail-block {
  margin-top: 30px;
  scroll-margin-top: 140px;
}
.res-detail-head {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-light);
}

/* 科研服务一级栏目页：二级栏目 + 详情标题 */
.res-sub-block {
  margin-bottom: 36px;
  scroll-margin-top: 100px;
}
.res-sub-title {
  font-size: 19px;
  color: var(--text);
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  margin: 0 0 16px;
}
.rc-detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.rc-detail-list li a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-light);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.rc-detail-list li a:hover {
  color: #fff;
  background: var(--brand);
  border-color: transparent;
  padding-left: 22px;
}

/* 科研服务首页 响应式（置于基础样式之后，确保媒体查询不被基础规则覆盖） */
@media (max-width: 992px) {
  .rc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .res-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .res-side {
    display: none;
  }
}
@media (max-width: 930px) {
  .rc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rc-detail-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .rc-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   常见问题列表（单栏，宽度与全站主容器对齐）
   ========================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}
.faq-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 26px 30px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand);
}
.faq-main {
  min-width: 0;
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
}
.faq-no {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #ffffff;
  background: var(--brand-grad);
  border-radius: 8px;
}
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-light);
}
.faq-tag-a {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 8px;
}
.faq-a-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.faq-more {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 1px;
  white-space: nowrap;
}
.faq-more .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.faq-item:hover .faq-more .arrow {
  transform: translateX(5px);
}

/* FAQ 页面专属：去掉内页 h3 左侧竖杠与缩进（仅限本页，不影响其它页面） */
.faq-page .page-content h3 {
  border-left: none;
  padding-left: 0;
  font-size: 19px;
  color: var(--text);
  letter-spacing: normal;
  margin: 0 0 12px;
}
/* FAQ 页面：段落不首行缩进（覆盖全局 .page-content p 的 text-indent:2em），
   仅作用于本页，不影响其他页面 */
.faq-page .page-content p {
  text-indent: 0;
}

@media (max-width: 930px) {
  .faq-item {
    padding: 22px;
  }
}

/* =========================================================
   图片占位容器规范
   说明：所有占位容器均有固定尺寸/比例。替换真实图片时，
   直接在容器内放入 <img> 即可 —— 图片会被裁剪填满容器，
   不会撑大区域、不会留空白、不会变形。
   ========================================================= */
/* 轮播占位图为绝对定位铺底（保留原有 absolute，不改为 relative） */
.slide-placeholder {
  overflow: hidden;
}
.slide-placeholder img {
  width: 100%;
}

.card-thumb,
.ind-thumb,
.ind-feature-img,
.news-thumb,
.content-img,
.latest-cover,
.rc-cover {
  position: relative;
  overflow: hidden;
}

.card-thumb img,
.ind-thumb img,
.ind-feature-img img,
.news-thumb img,
.content-img img,
.latest-cover img,
.rc-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 等比裁剪填满，不变形 */
  object-position: center;
}

/* =========================================================
   响应式适配
   ========================================================= */

/* 平板端（≤992px） */
@media (max-width: 992px) {
  .nav-link {
    padding: 0 12px;
    font-size: 15px;
  }
  .nav-link::after {
    left: 12px;
    right: 12px;
  }
  .caption-title {
    font-size: 32px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-panel {
    grid-template-columns: 300px 1fr;
    gap: 24px;
  }
  .news-thumb {
    flex: 0 0 300px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* 手机端（≤930px）：导航折叠为汉堡菜单 */
@media (max-width: 930px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    height: var(--header-h);
  }

  /* 顶部信息条简化 */
  .topbar-inner {
    display: none;
  }

  .brand img {
    height: 40px;
  }
  .brand-name {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .menu-toggle {
    display: flex;
  }

  /* 导航抽屉 */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.nav-open {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    height: auto;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    justify-content: space-between;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover,
  .has-dropdown.is-open .nav-link {
    border-left-color: var(--brand);
    background: var(--brand-light);
  }

  /* 移动端下拉：默认收起，点击展开（JS 切换 .is-open） */
  .mega-panel {
    position: static;
    opacity: 1;
    transform: none;
    border-top: none;
    box-shadow: none;
    background: var(--bg-alt);
    display: none;
  }
  .has-dropdown.is-open .mega-panel {
    display: block;
  }
  .has-dropdown:hover .mega-panel {
    display: none;
  }
  .has-dropdown.is-open:hover .mega-panel {
    display: block;
  }

  .mega-inner {
    padding: 4px 20px 12px;
  }
  .mega-row {
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
  }
  .mega-cat {
    flex: none;
    font-size: 15px;
  }
  .mega-items {
    gap: 6px 8px;
  }
  .mega-items a {
    font-size: 14px;
  }

  /* 行业检测/出口认证/科研服务 联动面板：
     小屏幕改为普通平铺列表（一级标题 + 二级栏目 + 检测项），
     无左右切换效果；大屏幕保持左右联动不受影响 */
  .split-inner {
    flex-direction: column;
    padding: 4px 0 12px;
  }
  .split-left {
    display: none;
  }
  .split-right,
  .split-right.is-show {
    display: block;
    width: auto;
    padding: 0 20px 12px;
  }
  .split-content {
    display: block;
  }
  .split-cat-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-darker);
    padding: 14px 0 2px;
  }
  .split-group {
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
  }
  .split-group h4 {
    flex: none;
  }

  /* 小屏幕：不展示子级栏目（面板整体隐藏），
     并隐藏导航项右侧下拉小三角；三项导航点击直接跳转。
     大屏幕悬浮下拉不受影响。 */
  .mega-panel,
  .has-dropdown.is-open .mega-panel,
  .has-dropdown.is-open:hover .mega-panel {
    display: none;
  }
  .nav-link .caret {
    display: none;
  }

  .caption-en {
    font-size: 12px;
    letter-spacing: 3px;
  }
  .caption-title {
    font-size: 24px;
    letter-spacing: 2px;
  }
  .caption-sub {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .btn-ghost {
    padding: 10px 28px;
    font-size: 14px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .slider-arrow.prev {
    left: 10px;
  }
  .slider-arrow.next {
    right: 10px;
  }

  /* 区块 */
  .section-head {
    margin-bottom: 32px;
  }
  .section-head h2 {
    font-size: 25px;
    letter-spacing: 2px;
  }

  /* 行业检测布局改为纵向 */
  .ind-panel {
    grid-template-columns: 1fr;
  }
  .ind-feature-body {
    padding: 18px 2px 0;
  }
  .ind-feature h3 {
    font-size: 22px;
  }

  /* 选项卡 */
  .tab-btn {
    padding: 9px 22px;
    font-size: 15px;
  }
  .tabs {
    gap: 10px;
    margin-bottom: 30px;
  }

  /* 资讯改为纵向卡片（图片在上） */
  .news-card {
    flex-direction: column;
  }
  .news-thumb {
    flex: none;
    width: 100%;
    aspect-ratio: var(--cover-ratio);
    min-height: 0;
  }
  .news-body {
    padding: 22px 20px 26px;
  }

  /* 内页（关于我们等） */
  .page-content h3 {
    font-size: 19px;
    margin: 34px 0 16px;
  }
  .culture-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .about-contact {
    padding: 20px;
  }

  /* 底部单列 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 34px;
  }
}

/* 小屏手机（≤480px） */
@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .cat-card .card-title {
    font-size: 14px;
    padding: 12px 10px;
  }
  .ind-list {
    grid-template-columns: 1fr;
  }
}