/* ============================================================================
   沧州水利勘测规划设计院有限公司 —— 全局样式
   主色调：深蓝 #0b3d6e / 辅助水蓝 #1e88c9 / 浅灰背景 #f4f6f9
   PC 优先，自动适配平板与手机
   ========================================================================== */

:root {
  --navy: #0b3d6e;          /* 主色：深蓝 */
  --navy-dark: #082c50;     /* 更深蓝 */
  --blue: #1e88c9;          /* 辅助水蓝 */
  --blue-light: #e8f3fb;    /* 浅蓝底 */
  --gold: #c9a25e;          /* 点缀金（克制使用） */
  --gray-bg: #f4f6f9;       /* 浅灰背景 */
  --text: #2b3440;          /* 正文文字 */
  --text-light: #5d6b7a;    /* 次要文字 */
  --line: #dde4ec;          /* 分隔线 */
  --white: #ffffff;
  --shadow: 0 4px 18px rgba(11, 61, 110, .08);
  --shadow-hover: 0 8px 26px rgba(11, 61, 110, .16);
  --radius: 6px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; color: var(--navy); line-height: 1.4; }

.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* ------------------------------ 通用按钮 ------------------------------ */
.btn {
  display: inline-block;
  padding: 10px 30px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 15px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ------------------------------ 顶部信息条 ------------------------------ */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  line-height: 34px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .tb-left span { margin-right: 26px; }
.topbar .tb-right a { margin-left: 22px; }

/* ------------------------------ 导航栏 ------------------------------ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(11,61,110,.08);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text .cn { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: 1px; white-space: nowrap; }
.logo-text .en { font-size: 9.5px; color: var(--text-light); letter-spacing: .6px; white-space: nowrap; }

.main-nav { display: flex; align-items: stretch; height: var(--header-h); }
.main-nav > ul { display: flex; height: 100%; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav a.nav-link {
  display: flex; align-items: center;
  height: 100%;
  padding: 0 20px;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.main-nav a.nav-link:hover, .main-nav li.active a.nav-link {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
/* 下拉菜单 */
.main-nav .submenu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 170px;
  box-shadow: var(--shadow);
  border-top: 2px solid var(--blue);
  display: none;
  z-index: 100;
}
.main-nav li:hover .submenu { display: block; }
.main-nav .submenu a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.main-nav .submenu a:last-child { border-bottom: 0; }
.main-nav .submenu a:hover { background: var(--blue-light); color: var(--blue); }

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* ------------------------------ 轮播 Banner ------------------------------ */
.banner { position: relative; overflow: hidden; background: var(--navy-dark); }
.banner-slides { position: relative; height: 520px; }
.banner-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.banner-slide.active { opacity: 1; }
.banner-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,44,80,.72) 0%, rgba(8,44,80,.35) 55%, rgba(8,44,80,.12) 100%);
}
.banner-content { position: relative; color: #fff; max-width: 720px; }
.banner-content h2 { color: #fff; font-size: 44px; letter-spacing: 3px; margin-bottom: 18px; }
.banner-content p { font-size: 19px; color: rgba(255,255,255,.9); margin-bottom: 32px; letter-spacing: 1px; }
.banner-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.banner-dots button {
  width: 34px; height: 4px; border: 0; background: rgba(255,255,255,.45);
  cursor: pointer; padding: 0; transition: background .25s;
}
.banner-dots button.active { background: #fff; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4);
  color: #fff; font-size: 20px; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.banner-arrow:hover { background: rgba(30,136,201,.8); }
.banner-arrow.prev { left: 26px; }
.banner-arrow.next { right: 26px; }

/* ------------------------------ 通用区块 ------------------------------ */
.section { padding: 66px 0; }
.section.gray { background: var(--gray-bg); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .en-title {
  font-size: 13px; color: var(--blue); letter-spacing: 4px; text-transform: uppercase;
  font-weight: 600;
}
.section-head h2 {
  font-size: 32px; letter-spacing: 3px; margin: 8px 0 14px;
  position: relative; display: inline-block; padding-bottom: 16px;
}
.section-head h2::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; background: var(--blue);
}
.section-head p { color: var(--text-light); max-width: 760px; margin: 0 auto; font-size: 15px; }
.section-head.left { text-align: left; }
.section-head.left h2 { padding-left: 16px; }
.section-head.left h2::after { left: 16px; transform: none; }

/* 区块头部（左标题+右更多） */
.section-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 34px; padding-bottom: 14px; border-bottom: 2px solid var(--line);
}
.section-bar h2 { font-size: 27px; letter-spacing: 2px; position: relative; padding-left: 16px; }
.section-bar h2::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 5px; background: var(--blue); border-radius: 2px;
}
.section-bar h2 small { display: block; font-size: 12px; color: var(--text-light); letter-spacing: 2px; font-weight: 400; margin-top: 2px; }
.more-link { color: var(--text-light); font-size: 14px; white-space: nowrap; }
.more-link:hover { color: var(--blue); }

/* ------------------------------ 首页-企业简介 ------------------------------ */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.intro-img { position: relative; }
.intro-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-img::after {
  content: ''; position: absolute; left: 18px; top: 18px; right: -18px; bottom: -18px;
  border: 2px solid var(--blue); border-radius: var(--radius); z-index: -1;
}
.intro-text h2 { font-size: 28px; letter-spacing: 2px; margin-bottom: 6px; }
.intro-text .sub-en { color: var(--blue); font-size: 13px; letter-spacing: 3px; margin-bottom: 20px; text-transform: uppercase; }
.intro-text p { color: var(--text-light); margin-bottom: 18px; text-align: justify; }
.intro-philosophy {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 14px 20px; margin: 22px 0;
  font-weight: 600; color: var(--navy); letter-spacing: 1px;
}
.intro-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.intro-stats .stat {
  text-align: center; padding: 18px 6px;
  background: var(--gray-bg); border-radius: var(--radius);
}
.intro-stats .num { font-size: 26px; font-weight: 700; color: var(--blue); line-height: 1.3; }
.intro-stats .label { font-size: 12.5px; color: var(--text-light); }

/* ------------------------------ 首页-核心业务卡片 ------------------------------ */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}
.biz-icon {
  width: 66px; height: 66px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.biz-card:hover .biz-icon { background: var(--navy); }
.biz-icon svg { width: 32px; height: 32px; stroke: var(--blue); transition: stroke .25s; }
.biz-card:hover .biz-icon svg { stroke: #fff; }
.biz-card h3 { font-size: 18px; margin-bottom: 10px; }
.biz-card p { font-size: 13.5px; color: var(--text-light); text-align: justify; }

/* ------------------------------ 首页-工程业绩 ------------------------------ */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.project-thumb { position: relative; height: 210px; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-thumb .cat-tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(11,61,110,.88); color: #fff;
  font-size: 12.5px; padding: 4px 12px; border-radius: 2px; letter-spacing: 1px;
}
.project-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { font-size: 17px; margin-bottom: 8px; }
.project-meta { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.project-body p { font-size: 13.5px; color: var(--text-light); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span {
  font-size: 12px; color: var(--blue); background: var(--blue-light);
  padding: 2px 10px; border-radius: 2px;
}

/* ------------------------------ 首页-新闻动态 ------------------------------ */
.news-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; }
.news-feature {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
}
.news-feature::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,44,80,.9) 0%, rgba(8,44,80,.25) 60%, transparent 100%);
}
.news-feature .nf-content { position: relative; padding: 30px; color: #fff; }
.news-feature .cat-tag {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 12.5px; padding: 3px 12px; border-radius: 2px; margin-bottom: 12px;
}
.news-feature h3 { color: #fff; font-size: 21px; margin-bottom: 10px; }
.news-feature p { color: rgba(255,255,255,.85); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-feature .date { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 10px; }

.news-list li { border-bottom: 1px dashed var(--line); }
.news-list a {
  display: flex; align-items: center; gap: 18px;
  padding: 15px 4px;
}
.news-list .n-date {
  flex-shrink: 0; width: 62px; text-align: center;
  border-right: 1px solid var(--line); padding-right: 16px;
}
.news-list .n-date .d { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.news-list .n-date .m { font-size: 12px; color: var(--text-light); }
.news-list .n-info { flex: 1; min-width: 0; }
.news-list .n-title {
  font-size: 15.5px; color: var(--text); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-list a:hover .n-title { color: var(--blue); }
.news-list .n-sub {
  font-size: 13px; color: var(--text-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px;
}
.news-list .n-cat {
  flex-shrink: 0; font-size: 12px; color: var(--blue);
  background: var(--blue-light); padding: 2px 10px; border-radius: 2px;
}

/* 首页新闻 tab */
.news-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.news-tabs button {
  background: none; border: 0; cursor: pointer;
  font-size: 15px; padding: 6px 16px; color: var(--text-light);
  border-bottom: 2px solid transparent;
}
.news-tabs button.active { color: var(--navy); font-weight: 700; border-bottom-color: var(--blue); }

/* ------------------------------ 首页-科技成果 ------------------------------ */
.tech-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-home-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.tech-home-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tech-home-card .t-num { font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.tech-home-card .t-num em { font-style: normal; font-size: 16px; color: var(--blue); }
.tech-home-card .t-label { font-size: 14px; color: var(--text-light); margin-top: 8px; }
.tech-home-card .t-icon { margin-bottom: 12px; }
.tech-home-card .t-icon svg { width: 38px; height: 38px; stroke: var(--blue); }

/* ------------------------------ 内页横幅 ------------------------------ */
.page-hero {
  height: 300px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(8,44,80,.68); }
.page-hero .container { position: relative; color: #fff; }
.page-hero h1 { color: #fff; font-size: 36px; letter-spacing: 4px; }
.page-hero .crumb { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 10px; }
.page-hero .crumb a:hover { color: #fff; }

/* ------------------------------ 内页布局 ------------------------------ */
.page-layout { padding: 50px 0; }
.layout-grid { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }

/* 侧边栏 */
.side-menu {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: sticky; top: 100px;
}
.side-menu .sm-title {
  background: var(--navy); color: #fff;
  padding: 16px 22px; font-size: 17px; font-weight: 700; letter-spacing: 1.5px;
}
.side-menu a {
  display: block; padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--text);
  position: relative; line-height: 1.5;
}
.side-menu a:last-child { border-bottom: 0; }
.side-menu a::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--blue); opacity: 0;
}
.side-menu a:hover, .side-menu a.active { background: var(--blue-light); color: var(--blue); }
.side-menu a.active::before, .side-menu a:hover::before { opacity: 1; }

/* 侧边联系卡片：统一外观 & 行距，避免各页面 HTML 写死不和谐 */
.side-contact.card-contact {
  margin-top: 20px;
  background: var(--navy);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  overflow: hidden;
}
.side-contact.card-contact h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 16px;
  padding: 0 0 10px;
  letter-spacing: 1px;
  line-height: 1.3;
  position: relative;
}
.side-contact.card-contact h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--blue);
}
.side-contact.card-contact > p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 6px;
  padding: 0;
}
.side-contact.card-contact > p svg {
  flex-shrink: 0;
  width: 15px; height: 15px;
  margin-top: 3px;
  opacity: .9;
}
.side-contact.card-contact > p span {
  flex: 1;
  word-break: break-all;
}
.side-contact.card-contact > p:last-child { margin-bottom: 0; }

/* 联系卡片底部 CTA */
.side-contact.card-contact .side-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.side-contact.card-contact .side-cta a {
  display: block;
  text-align: center;
  padding: 9px 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  font-size: 13.5px;
  transition: background .2s;
}
.side-contact.card-contact .side-cta a:hover { background: #1a76ad; }
.side-contact.card-contact .side-tip {
  margin-top: 10px;
  padding: 9px 10px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
}
/* 联系我们页面 服务热线专用：大号号码 */
.side-contact.card-contact .side-hotline {
  font-size: 22px !important;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin: 2px 0 10px !important;
  padding: 0 !important;
  display: block;
}
.side-contact.card-contact .side-meta {
  font-size: 12.5px !important;
  color: rgba(255,255,255,.75) !important;
}

/* 内容区 */
.content-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 42px;
}
.content-card h2.page-title { font-size: 26px; letter-spacing: 2px; padding-bottom: 16px; border-bottom: 2px solid var(--line); margin-bottom: 26px; }
.content-block { margin-bottom: 40px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h3.block-title {
  font-size: 19px; margin-bottom: 16px; padding-left: 14px;
  border-left: 4px solid var(--blue); letter-spacing: 1px;
}
.content-block p { color: var(--text); margin-bottom: 12px; text-align: justify; }

/* 发展历程时间轴 */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -31px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue);
}
.timeline-item .t-year { font-size: 17px; font-weight: 700; color: var(--blue); }
.timeline-item h4 { font-size: 16.5px; margin: 4px 0 6px; color: var(--navy); }
.timeline-item p { color: var(--text-light); font-size: 14px; }

/* 理念卡片 */
.concept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.concept-item {
  background: var(--gray-bg); border-radius: var(--radius);
  padding: 24px 26px; border-top: 3px solid var(--blue);
}
.concept-item h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.concept-item p { color: var(--text-light); font-size: 14.5px; }

/* 资质/荣誉列表 */
.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cert-list li {
  background: var(--gray-bg); border-radius: var(--radius);
  padding: 14px 18px 14px 46px; position: relative; font-size: 14.5px;
}
.cert-list li::before {
  content: ''; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* 人才队伍 */
.talent-points { margin-top: 16px; }
.talent-points li {
  padding: 12px 0 12px 34px; position: relative;
  border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--text);
}
.talent-points li::before {
  content: '◆'; position: absolute; left: 8px; top: 12px;
  color: var(--blue); font-size: 12px;
}

/* ------------------------------ 新闻列表页 ------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-bar button {
  background: var(--gray-bg); border: 1px solid var(--line);
  padding: 8px 22px; font-size: 14.5px; cursor: pointer; border-radius: 2px;
  color: var(--text); transition: all .2s;
}
.filter-bar button:hover { border-color: var(--blue); color: var(--blue); }
.filter-bar button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.news-table li { border-bottom: 1px solid var(--line); }
.news-table a {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 6px;
}
.news-table a:hover .nt-title { color: var(--blue); }
.news-table .nt-cat {
  flex-shrink: 0; width: 92px; text-align: center;
  font-size: 13px; color: var(--blue); background: var(--blue-light);
  padding: 5px 0; border-radius: 2px;
}
.news-table .nt-main { flex: 1; min-width: 0; }
.news-table .nt-title {
  font-size: 16px; font-weight: 600; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-table .nt-sub {
  font-size: 13.5px; color: var(--text-light); margin-top: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-table .nt-date { flex-shrink: 0; color: var(--text-light); font-size: 14px; }

/* 新闻详情 */
.article-head { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.article-head h1 { font-size: 25px; line-height: 1.6; letter-spacing: 1px; }
.article-meta { margin-top: 14px; font-size: 13.5px; color: var(--text-light); }
.article-meta span { margin: 0 12px; }
.article-hero { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin-bottom: 26px; }
.article-body p { margin-bottom: 18px; text-indent: 2em; text-align: justify; font-size: 15.5px; line-height: 2; }
.article-foot {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; font-size: 14px;
}
.article-foot a { color: var(--text-light); }
.article-foot a:hover { color: var(--blue); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  color: var(--text); font-size: 14px; border-radius: 2px;
}
.pagination button.active, .pagination button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }

/* ------------------------------ 业务范围页 ------------------------------ */
.biz-section {
  display: grid; grid-template-columns: 300px 1fr; gap: 34px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  align-items: center;
}
.biz-section:last-child { border-bottom: 0; }
.biz-section.reverse { grid-template-columns: 1fr 300px; }
.biz-section.reverse .biz-visual { order: 2; }
.biz-visual {
  height: 210px; border-radius: var(--radius); overflow: hidden;
  position: relative;
}
.biz-visual img { width: 100%; height: 100%; object-fit: cover; }
.biz-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,61,110,.15) 0%, rgba(11,61,110,.55) 100%);
}
.biz-visual svg { display: none; }
.biz-info h3 { font-size: 21px; margin-bottom: 12px; letter-spacing: 1px; }
.biz-info p { color: var(--text-light); margin-bottom: 14px; }
.biz-points { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-points span {
  background: var(--blue-light); color: var(--navy);
  font-size: 13.5px; padding: 5px 16px; border-radius: 2px;
  border: 1px solid #cfe3f3;
}

/* ------------------------------ 科技成果页 ------------------------------ */
.tech-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.tech-stat {
  background: linear-gradient(135deg, var(--navy), #12528f);
  color: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center;
}
.tech-stat .num { font-size: 34px; font-weight: 700; }
.tech-stat .label { font-size: 13.5px; color: rgba(255,255,255,.85); margin-top: 6px; }

.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.research-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.research-card:hover { box-shadow: var(--shadow-hover); border-color: var(--blue); }
.research-thumb { height: 180px; overflow: hidden; }
.research-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.research-card:hover .research-thumb img { transform: scale(1.05); }
.research-body { padding: 22px 24px; }
.research-body h4 { font-size: 17px; margin-bottom: 10px; color: var(--navy); }
.research-body p { font-size: 14px; color: var(--text-light); }

.equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.equipment-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.equipment-card img { height: 190px; width: 100%; object-fit: cover; }
.equipment-card .eq-body { padding: 20px 22px; }
.equipment-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.equipment-card p { font-size: 13.5px; color: var(--text-light); }

/* ------------------------------ 招聘页 ------------------------------ */
.job-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 22px; overflow: hidden;
}
.job-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px; background: var(--gray-bg); cursor: pointer;
  flex-wrap: wrap; gap: 10px;
}
.job-head h3 { font-size: 17.5px; }
.job-head .job-tags { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--text-light); }
.job-head .job-tags .dept { color: var(--blue); }
.job-body { padding: 24px 26px; display: none; }
.job-card.open .job-body { display: block; }
.job-body h4 { font-size: 15px; color: var(--navy); margin: 14px 0 8px; }
.job-body h4:first-child { margin-top: 0; }
.job-body li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: 14.5px; color: var(--text); }
.job-body li::before { content: '·'; position: absolute; left: 6px; color: var(--blue); font-weight: 700; }
.job-toggle { font-size: 13px; color: var(--blue); }

.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.policy-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  border-left: 4px solid var(--blue);
}
.policy-card h4 { font-size: 17px; margin-bottom: 10px; }
.policy-card p { font-size: 14px; color: var(--text-light); }

/* ------------------------------ 联系我们页 ------------------------------ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-list li {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-info-list .ci-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
}
.contact-info-list .ci-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.contact-info-list h4 { font-size: 16px; margin-bottom: 2px; }
.contact-info-list p { font-size: 14.5px; color: var(--text-light); }
.map-placeholder {
  margin-top: 26px; height: 300px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); position: relative;
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-placeholder .map-label {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(11,61,110,.88); color: #fff;
  font-size: 13px; padding: 6px 16px; border-radius: 2px; letter-spacing: 1px;
}

/* 表单 */
.form-card { background: var(--gray-bg); border-radius: var(--radius); padding: 36px 38px; }
.form-card h3 { font-size: 20px; margin-bottom: 6px; }
.form-card .form-tip { font-size: 13.5px; color: var(--text-light); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14.5px; margin-bottom: 7px; color: var(--text); font-weight: 500; }
.form-group label em { color: #d33; font-style: normal; margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 14.5px; font-family: inherit; background: #fff;
  color: var(--text); outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { text-align: center; margin-top: 8px; }
.form-msg { margin-top: 14px; text-align: center; font-size: 14.5px; min-height: 22px; }
.form-msg.ok { color: #1a8a4c; }
.form-msg.err { color: #d33; }

/* ------------------------------ 页脚 ------------------------------ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.72);
  padding: 44px 0 0;
  font-size: 14px;
}

/* 品牌横幅：全宽顶部，LOGO + 公司名 + 简介 */
.footer-brand-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}
.footer-brand-bar .logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.footer-brand-bar .logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
}
.footer-brand-bar .logo-mark svg { width: 26px; height: 26px; }
.footer-brand-bar .logo-text .cn {
  color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1.2px;
  display: inline;
}
.footer-brand-bar .logo-text .en {
  color: rgba(255,255,255,.55); font-size: 12.5px; letter-spacing: 0.6px;
  margin-left: 6px;
}
.footer-brand-bar .brand-intro {
  margin: 0; flex: 1;
  font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,.65);
  padding-left: 24px; border-left: 2px solid rgba(255,255,255,.12);
}

/* 三列等宽平铺导航区 */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  align-items: start;
}
.footer-col h4 {
  color: #fff; font-size: 16.5px; margin: 0 0 20px; letter-spacing: 2px;
  position: relative; padding-bottom: 10px; line-height: 1.3;
}
.footer-col h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 2px; background: var(--blue);
}
.footer-col ul {
  margin: 0; padding: 0; list-style: none;
}
.footer-col p {
  margin: 0 0 10px; line-height: 1.9;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #fff; }

/* 联系方式列专属：紧凑 + 图标对齐 */
.footer-col.contact-col p {
  margin-bottom: 6px;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-col.contact-col p svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  opacity: .85;
}
.footer-col.contact-col p:last-child { margin-bottom: 0; }
.footer-bottom {
  padding: 14px 0;
  font-size: 12.5px; color: rgba(255,255,255,.52);
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}
.footer-bottom .fb-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px;
}
.footer-bottom .fb-left,
.footer-bottom .fb-right { margin: 0; }
.footer-bottom .fb-right a { color: rgba(255,255,255,.52); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom span { margin: 0 10px; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 40px;
  width: 46px; height: 46px; border-radius: 4px;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  font-size: 20px; opacity: 0; visibility: hidden;
  transition: opacity .3s, background .2s; z-index: 900;
  display: flex; align-items: center; justify-content: center;
}
.back-top.show { opacity: .92; visibility: visible; }
.back-top:hover { background: var(--blue); }

/* 空状态 */
.empty-tip { text-align: center; color: var(--text-light); padding: 50px 0; font-size: 15px; }

/* 内页内容区内的网格降为两列（内容区较窄） */
.layout-grid .project-grid,
.layout-grid .equipment-grid { grid-template-columns: repeat(2, 1fr); }

/* ============================================================================
   响应式适配
   ========================================================================== */
@media (max-width: 1100px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-home-grid, .tech-stats { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-brand-bar { gap: 18px; flex-direction: column; align-items: flex-start; }
  .footer-brand-bar .brand-intro { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav a.nav-link { padding: 0 13px; font-size: 15px; }
  .logo-text .cn { font-size: 18px; }
  .footer-bottom .fb-row { padding: 0 18px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .footer-bottom .fb-row {
    flex-direction: column; justify-content: center; text-align: center;
  }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .footer-brand-bar .logo-text .cn { font-size: 18px; display: block; margin-bottom: 4px; }
  .footer-brand-bar .logo-text .en { margin-left: 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; height: auto; max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 12px 20px rgba(0,0,0,.12);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; height: auto; }
  .main-nav li { display: block; border-bottom: 1px solid var(--line); }
  .main-nav a.nav-link {
    height: auto; padding: 14px 20px;
    border-bottom: 0; border-left: 3px solid transparent;
  }
  .main-nav a.nav-link:hover, .main-nav li.active a.nav-link {
    border-bottom: 0; border-left-color: var(--blue);
  }
  .main-nav .submenu {
    position: static; box-shadow: none; border-top: 0;
    background: var(--gray-bg); display: none; min-width: 0;
  }
  .main-nav li.sub-open .submenu { display: block; }
  .main-nav .submenu a { border-bottom: 1px solid var(--line); padding-left: 40px; }

  .banner-slides { height: 380px; }
  .banner-content h2 { font-size: 28px; letter-spacing: 2px; }
  .banner-content p { font-size: 15px; }
  .banner-arrow { display: none; }

  .intro-grid, .news-wrap, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-stats { grid-template-columns: repeat(2, 1fr); }
  .layout-grid { grid-template-columns: 1fr; gap: 26px; }
  .side-menu { position: static; }
  .biz-section, .biz-section.reverse { grid-template-columns: 1fr; }
  .biz-section.reverse .biz-visual { order: 0; }
  .concept-grid, .cert-list, .research-grid, .policy-grid, .equipment-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .page-hero { height: 220px; }
  .page-hero h1 { font-size: 27px; letter-spacing: 2px; }
  .content-card { padding: 26px 22px; }
  .section { padding: 46px 0; }
  .section-head h2 { font-size: 25px; }
  .news-table .nt-cat { display: none; }
  .news-table .nt-date { display: none; }
  .news-feature { min-height: 300px; }
}

@media (max-width: 600px) {
  .biz-grid, .project-grid, .tech-home-grid, .tech-stats,
  .layout-grid .project-grid, .layout-grid .equipment-grid { grid-template-columns: 1fr; }
  .banner-slides { height: 320px; }
  .banner-content h2 { font-size: 23px; }
  .banner-content .btn { padding: 9px 22px; font-size: 14px; }
  .intro-stats { grid-template-columns: repeat(2, 1fr); }
  .news-list .n-cat { display: none; }
  .article-foot { flex-direction: column; gap: 8px; }
  .form-card { padding: 26px 20px; }
  .job-head { padding: 16px 18px; }
  .job-body { padding: 18px; }
  .back-top { right: 16px; bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================================
   移动端专项优化（手机 / 微信内置浏览器）
   ----------------------------------------------------------------------------
   解决：顶部英文副标题与轮播副标题溢出造成的整页横向滚动、内容被撑宽、
   以及小屏下留白过大、文字过大的问题。
   ========================================================================== */
html, body { overflow-x: hidden; }

@media (max-width: 900px) {
  .logo .logo-text .cn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 600px) {
  .header-inner { padding: 0 12px; gap: 10px; }
  .logo { flex: 1; min-width: 0; gap: 8px; }
  .logo-text { min-width: 0; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-text .cn { font-size: 16px; letter-spacing: 0; }
  .logo-text .en { display: none; }
  .nav-toggle { flex-shrink: 0; }

  .banner-slides { height: 300px; }
  .banner-content h2 { font-size: 21px; letter-spacing: 1px; }
  .banner-content p {
    font-size: 13.5px;
    word-break: break-all;
  }
  .banner-content .btn { padding: 8px 18px; font-size: 13px; }

  .intro-img::after { left: 10px; top: 10px; right: -10px; bottom: -10px; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 22px; letter-spacing: 2px; }
  .section-bar h2 { font-size: 22px; }
  .content-card { padding: 22px 18px; }
  .filter-bar button { padding: 7px 16px; font-size: 14px; }

  .news-list a { gap: 12px; padding: 14px 2px; }
  .news-list .n-date { width: 54px; padding-right: 12px; }
  .news-tabs { flex-wrap: wrap; }
  .news-tabs button { padding: 6px 12px; font-size: 14px; }
  .news-table .nt-title, .news-table .nt-sub { white-space: normal; }

  .article-head h1 { font-size: 20px; }
  .article-meta span { display: inline-block; margin: 0 6px; }
  .article-meta { line-height: 2; }

  .biz-card { padding: 24px 20px; }
  .biz-icon { width: 56px; height: 56px; }
  .biz-icon svg { width: 28px; height: 28px; }
  .project-thumb { height: 180px; }
  .tech-home-card { padding: 22px 16px; }
  .tech-stat { padding: 22px 14px; }
  .tech-stat .num { font-size: 28px; }
  .equipment-card img { height: 160px; }
  .research-thumb { height: 160px; }

  .job-head .job-tags { width: 100%; }
  .contact-info-list li { gap: 12px; }
  .map-placeholder { height: 220px; }
  .form-card { padding: 22px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-brand-bar .logo-text .en { display: none; }
  .footer-brand-bar .brand-intro { font-size: 12.5px; }
}
