/* =========================================================
 * 湖南省神力建筑胶粘剂技术研究院 — 全站样式
 * ======================================================= */
:root {
  --blue: #1296db;
  --blue-deep: #0b6cb3;
  --blue-dark: #0a4a7d;
  --sky: #40b8f0;
  --cyan: #35c2ec;
  --red: #c8342b;
  --gold: #f0a830;
  --text: #333;
  --text-light: #777;
  --line: #e2edf6;
  --bg: #f2f8fd;
  --shadow: 0 6px 24px rgba(11, 108, 179, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
em, i { font-style: normal; }
.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* ---------------- 页头（设计稿：蓝色通栏 + 搜索） ---------------- */
.site-header {
  background: linear-gradient(165deg, #529fd6 0%, #2f83c6 48%, #2a73b4 100%);
  position: relative; z-index: 50;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255, 255, 255, .28);
}
.site-header-in { display: flex; align-items: center; height: 92px; position: relative; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text em { font-size: 27px; font-weight: 700; color: #fff; letter-spacing: 1px; line-height: 1.25; }
.logo-text em span { font-size: 13px; font-weight: 400; margin-left: 8px; color: #e8f3fc; letter-spacing: 0; }
.logo-text i { font-size: 11px; color: rgba(255, 255, 255, .82); letter-spacing: 1.6px; margin-top: 5px; }

.site-header .header-search { margin-left: auto; width: 264px; height: 38px; border: 0; border-radius: 19px; box-shadow: 0 2px 8px rgba(9, 52, 92, .18); }
.site-header .header-search button { width: 32px; height: 32px; margin-right: 3px; }
.site-header .nav-toggle { margin-left: 16px; }

/* 站内搜索框 */
.header-search { position: relative; width: 300px; height: 38px; display: flex; align-items: center; background: #fff; border: 1px solid #a8d6f2; border-radius: 20px; transition: .2s; }
.header-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 150, 219, .12); }
.header-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; padding: 0 8px 0 18px; font-size: 14px; color: #345; font-family: inherit; }
.header-search input::placeholder { color: #9bb4c9; }
.header-search button { flex: none; width: 34px; height: 30px; margin-right: 4px; border: 0; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue), var(--sky)); transition: .2s; }
.header-search button:hover { box-shadow: 0 3px 10px rgba(18, 150, 219, .45); }
.search-results { display: none; position: absolute; top: calc(100% + 10px); right: 0; width: 380px; max-width: 86vw; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 36px rgba(10, 74, 125, .18); padding: 6px; z-index: 1000; }
.search-results.open { display: block; }
.sr-item { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 6px; font-size: 14px; }
.sr-item:hover { background: #eaf6fd; }
.sr-group { flex: none; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--sky)); border-radius: 4px; padding: 1px 8px; line-height: 1.7; }
.sr-name { flex: 1; min-width: 0; color: #345; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.sr-name b { color: var(--red); font-weight: 700; }
.search-empty { padding: 16px 12px; text-align: center; color: #98a8b8; font-size: 13px; }

/* ---------------- 导航 ---------------- */
.mainnav { background: linear-gradient(90deg, #1c6ead 0%, #2a86c8 50%, #1c6ead 100%); position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 10px rgba(10, 74, 125, .25); }
.menu { display: flex; }
.menu-item { flex: 1; text-align: center; position: relative; }
.menu-item > a { display: block; color: #fff; font-size: 16px; padding: 0 6px; line-height: 52px; letter-spacing: 1px; position: relative; white-space: nowrap; }
.menu-item > a::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 3px; border-radius: 2px; background: #fff; transition: all .25s; transform: translateX(-50%); }
.menu-item:hover > a::after, .menu-item.current > a::after { width: 26px; }
.menu-item.current > a, .menu-item:hover > a { background: rgba(255, 255, 255, .08); }

.subnav {
  position: absolute; left: 50%; top: 100%;
  transform: translate(-50%, 8px);
  min-width: 200px; max-width: 260px;
  background: #fff; border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 30px rgba(13, 44, 83, .18);
  padding: 6px 0; opacity: 0; visibility: hidden;
  transition: all .25s; z-index: 950;
}
.menu-item.has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.subnav a { display: block; padding: 9px 18px; font-size: 14px; color: #445; border-left: 3px solid transparent; }
.subnav a:hover, .subnav a.on { color: var(--blue); background: #f2f6fc; border-left-color: var(--blue); }

.nav-toggle { display: none; }

/* ---------------- 首页轮播（真实 banner 图自带标语） ---------------- */
.hero { position: relative; aspect-ratio: 1920 / 706; overflow: hidden; background: #cfeafb; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background-size: cover; background-position: center center; }
.hero-slide.active { opacity: 1; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots span { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: .25s; box-shadow: 0 1px 4px rgba(10,74,125,.35); }
.hero-dots span.active { background: var(--blue-deep); width: 40px; }

/* ---------------- 首页通用区块 ---------------- */
.section { padding: 66px 0 70px; }
.section.gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 32px; color: var(--blue-deep); letter-spacing: 2px; }
.sec-head p { color: var(--text-light); margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.sec-head .bar { width: 46px; height: 4px; margin: 14px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--blue-deep), var(--sky)); }
.sec-more { display: inline-block; margin-top: 34px; padding: 9px 34px; border: 1px solid var(--blue); color: var(--blue); border-radius: 22px; font-size: 14px; letter-spacing: 2px; transition: .25s; }
.sec-more:hover { background: var(--blue); color: #fff; }

/* 走进研究院 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 10px; box-shadow: var(--shadow); }
.about-img::before { content: ""; position: absolute; left: -16px; bottom: -16px; width: 60%; height: 60%; border: 3px solid var(--sky); border-radius: 10px; z-index: -1; opacity: .65; }
.about-txt h3 { font-size: 26px; color: var(--blue-deep); margin-bottom: 18px; letter-spacing: 1px; }
.about-txt p { color: #556; margin-bottom: 14px; text-align: justify; }
.about-stats { display: flex; gap: 12px; margin-top: 26px; }
.about-stats div { flex: 1; background: #f2f6fc; border-radius: 8px; text-align: center; padding: 16px 6px; }
.about-stats b { display: block; font-size: 26px; color: var(--blue); }
.about-stats span { font-size: 13px; color: var(--text-light); }

/* 检测服务网格 */
.test-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.test-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 6px; text-align: center; font-size: 14px; color: #445; transition: .25s;
}
.test-item:hover { transform: translateY(-4px); border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.test-item b { display: block; font-weight: 600; }

/* 科技亮点卡片 */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: .3s; display: block; }
.tech-card:hover { transform: translateY(-6px); }
.tech-card .tc-img { height: 190px; background-size: cover; background-position: center; }
.tech-card .tc-body { padding: 20px 22px 24px; }
.tech-card h3 { font-size: 18px; color: var(--blue-deep); margin-bottom: 10px; }
.tech-card p { font-size: 14px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tech-card .tc-more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--blue); }

/* 新闻列表 */
.news-wrap { display: grid; grid-template-columns: 460px 1fr; gap: 44px; align-items: start; }
.news-feat { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); display: block; }
.news-feat img { height: 300px; width: 100%; object-fit: cover; }
.news-feat figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; background: linear-gradient(transparent, rgba(9, 30, 60, .85)); font-size: 17px; }
.news-list li { border-bottom: 1px dashed var(--line); }
.news-list a { display: flex; align-items: center; gap: 18px; padding: 15px 4px; }
.news-list .date { flex: none; width: 66px; text-align: center; background: #f2f6fc; border-radius: 6px; padding: 7px 0; }
.news-list .date b { display: block; font-size: 22px; color: var(--blue); line-height: 1.15; }
.news-list .date span { font-size: 12px; color: var(--text-light); }
.news-list h4 { flex: 1; font-size: 15px; font-weight: 500; color: #345; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover h4 { color: var(--blue); }

/* 党建 */
.party-wrap { background: linear-gradient(120deg, #a52a22 0%, #c8342b 55%, #d8544a 100%); border-radius: 12px; padding: 46px 50px; color: #fff; display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.party-wrap h3 { font-size: 28px; letter-spacing: 2px; margin-bottom: 14px; }
.party-wrap p { color: #ffe3de; margin-bottom: 22px; }
.party-list li { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.party-list a { display: block; padding: 11px 2px; color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.party-list li::before { content: "◆"; color: #ffd77a; font-size: 10px; margin-right: 8px; }
.party-img img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* 世界领先产品胶囊 + 入口卡 */
.product-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.product-pills a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 13px 16px; font-size: 14px; color: #2e6b97; transition: .25s; min-height: 54px;
}
.product-pills a::before { content: "▶"; font-size: 10px; color: var(--blue); margin-right: 8px; }
.product-pills a:hover { background: linear-gradient(90deg, var(--blue), var(--sky)); color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow); }
.product-pills a:hover::before { color: #fff; }

.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.entry-card { border-radius: 10px; padding: 30px 28px; color: #fff; transition: .3s; display: block; }
.entry-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11, 108, 179, .25); }
.entry-card h3 { font-size: 21px; letter-spacing: 2px; margin-bottom: 12px; }
.entry-card p { font-size: 13.5px; color: rgba(255,255,255,.9); margin-bottom: 16px; min-height: 60px; }
.entry-card span { font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; }
.entry-blue { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.entry-cyan { background: linear-gradient(135deg, #16b3c9, var(--cyan)); }
.entry-deep { background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep)); }

/* 荣誉 */
.honor-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); text-align: center; padding-bottom: 16px; transition: .3s; }
.honor-card:hover { transform: translateY(-5px); }
.honor-card .hc-img { height: 150px; background-size: cover; background-position: center; }
.honor-card h4 { font-size: 15px; color: var(--blue-deep); padding: 14px 12px 0; }

/* ---------------- 内页横幅（青蓝山水风 + 胶囊标题） ---------------- */
.page-banner {
  height: 230px; position: relative; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(180deg, #b9e3fa 0%, #dcf1fe 55%, #c8e8fb 100%);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 620px 150px at 18% 100%, rgba(64, 184, 240, .22), transparent 62%),
    radial-gradient(ellipse 720px 170px at 78% 100%, rgba(18, 150, 219, .20), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0) 45%);
}
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.35));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h2 {
  display: inline-block; color: #fff; font-size: 30px; letter-spacing: 4px;
  padding: 12px 52px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue) 55%, var(--sky) 100%);
  box-shadow: 0 8px 22px rgba(11, 108, 179, .28);
}
.page-banner p { color: var(--blue-deep); letter-spacing: 3px; font-size: 13px; margin-top: 10px; padding-left: 10px; font-weight: 600; }
.banner-party { background: linear-gradient(180deg, #f6cfcc 0%, #fde7e5 55%, #f7d7d4 100%); }
.banner-party::before {
  background:
    radial-gradient(ellipse 620px 150px at 18% 100%, rgba(200, 52, 43, .18), transparent 62%),
    radial-gradient(ellipse 720px 170px at 78% 100%, rgba(165, 42, 34, .16), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0) 45%);
}
.banner-party h2 { background: linear-gradient(90deg, #a52a22 0%, #c8342b 60%, #e0604f 100%); box-shadow: 0 8px 22px rgba(165, 42, 34, .28); }
.banner-party p { color: #a52a22; }

.crumbbar { background: #fff; border-bottom: 1px solid var(--line); }
.crumb-in { display: flex; align-items: center; height: 48px; font-size: 14px; color: var(--text-light); }
.crumb-in .ico { margin-right: 4px; }
.crumb-in .sep { margin: 0 10px; color: #c3cdd9; }
.crumb-in .cur { color: var(--blue); }

.page-main { background: var(--bg); padding: 34px 0 60px; }
.page-layout { display: flex; gap: 26px; align-items: flex-start; }
.side-col { width: 260px; flex: none; }
.side-menu { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.side-head { background: linear-gradient(90deg, var(--blue), var(--blue-deep)); color: #fff; font-size: 17px; letter-spacing: 2px; padding: 14px 20px; }
.side-menu li + li { border-top: 1px solid #f0f3f8; }
.side-menu a { display: block; padding: 11px 20px; font-size: 14px; color: #456; position: relative; transition: .2s; }
.side-menu a::after { content: "›"; position: absolute; right: 16px; color: #c3cdd9; }
.side-menu a:hover { color: var(--blue); background: #f6f9fd; padding-left: 26px; }
.side-menu a.active { color: #fff; background: var(--blue); }
.side-menu a.active::after { color: #fff; }
.side-contact { margin-top: 20px; background: linear-gradient(150deg, var(--blue), var(--blue-deep)); border-radius: 10px; color: #dfe8f4; padding: 24px 22px; }
.side-contact h4 { color: #fff; font-size: 17px; margin-bottom: 10px; letter-spacing: 2px; }
.side-contact p { font-size: 13px; margin-bottom: 12px; }
.side-contact .tel { font-size: 20px; color: #ffd77a; font-weight: 700; }
.btn-line { display: inline-block; margin-top: 8px; padding: 7px 22px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 18px; color: #fff; font-size: 13px; transition: .2s; }
.btn-line:hover { background: #fff; color: var(--blue); }

.content-col { flex: 1; min-width: 0; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 34px 40px 44px; }
.article-title { text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 26px; }
.article-title h1 { font-size: 25px; color: var(--blue-deep); line-height: 1.5; }
.article-title .meta { margin-top: 10px; font-size: 13px; color: #9aa7b8; }
.article-title .meta span { margin: 0 10px; }

.article h2 { font-size: 20px; color: var(--blue-deep); margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--blue); }
.article h3 { font-size: 17px; color: #23456e; margin: 20px 0 10px; }
.article p { margin-bottom: 14px; text-align: justify; color: #445; }
.article ul.disc, .article ol.disc { margin: 0 0 16px 0; }
.article ul.disc li { position: relative; padding: 5px 0 5px 20px; color: #445; }
.article ul.disc li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.article ol.disc { list-style: decimal inside; }
.article ol.disc li { padding: 5px 0 5px 6px; color: #445; }
.article img { border-radius: 8px; margin: 10px auto; }
.article .lead { color: var(--blue-deep); font-weight: 600; }
.article table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
.article th, .article td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article th { background: #f2f6fc; color: var(--blue-deep); white-space: nowrap; }
.article blockquote { background: #eaf6fd; border-left: 4px solid var(--blue); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 14px 0; color: #2c6a96; }

/* 产品 / 文集 / 话题列表 */
.article ul.product-list li,
.article ul.paper-list li,
.article ul.topic-list li { padding: 9px 0 9px 24px; border-bottom: 1px dashed var(--line); }
.article ul.product-list li::before { content: "▶"; background: none; top: 9px; left: 2px; width: auto; height: auto; font-size: 11px; color: var(--blue); }
.article ul.paper-list, .article ul.topic-list { column-count: 2; column-gap: 40px; }
.article ul.paper-list li, .article ul.topic-list li { break-inside: avoid; }
.article ul.topic-list li::before { content: "●"; background: none; top: 11px; left: 4px; width: auto; height: auto; font-size: 9px; color: var(--sky); }

/* 联系我们表格 */
.article table.contact-table { font-size: 13.5px; min-width: 860px; }
.article table.contact-table th { background: linear-gradient(90deg, var(--blue-deep), var(--blue)); color: #fff; text-align: center; white-space: nowrap; }
.article table.contact-table td { padding: 8px 10px; }
.article table.contact-table tr:nth-child(even) td { background: #f4fafe; }
.table-scroll { overflow-x: auto; margin: 12px 0 18px; -webkit-overflow-scrolling: touch; }

/* 专家卡片 */
.expert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.expert-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; transition: .25s; }
.expert-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.expert-card .avatar { width: 84px; height: 84px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; }
.expert-card h4 { font-size: 17px; color: var(--blue-deep); }
.expert-card .tag { display: inline-block; font-size: 12px; color: var(--blue); background: #eef4fc; border-radius: 4px; padding: 2px 8px; margin: 4px 6px 6px 0; }
.expert-card p { font-size: 13px; color: var(--text-light); }

/* 服务索引页 */
.svc-cloud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 12px; text-align: center; transition: .25s; }
.svc-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--blue); }
.svc-card b { font-weight: 600; }

/* 荣誉证书页 */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card { background: linear-gradient(160deg, #fffdf5, #fdf6e4); border: 1px solid #ecd9a8; border-radius: 10px; padding: 22px; text-align: center; transition: .3s; }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(201, 162, 84, .3); }
.cert-card .seal { width: 66px; height: 66px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.cert-card h4 { color: #7a5c1e; font-size: 16px; margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: #a08b57; }

/* 荣誉条(首页) */
.honor-strip { grid-template-columns: repeat(4, 1fr); }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--blue-dark); color: #9fb2ca; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 34px; padding: 46px 0 36px; }
.f-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; margin-bottom: 16px; }
.f-logo .logo-mark {
  width: 44px; height: 44px; font-size: 17px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; font-weight: 700; letter-spacing: 2px;
}
.f-about p { font-size: 13px; margin-bottom: 10px; }
.f-slogan { color: #8fd8f7; letter-spacing: 2px; }
.f-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--sky); }
.f-links li { margin-bottom: 8px; font-size: 13px; }
.f-links a:hover { color: #fff; }
.f-links-top { column-count: 2; column-gap: 20px; }
.f-contact li { font-size: 13px; margin-bottom: 10px; padding-left: 22px; position: relative; }
.f-contact li::before { content: "▪"; position: absolute; left: 0; color: var(--sky); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: 12px; text-align: center; color: #75879f; }

.backtop { position: fixed; right: 26px; bottom: 40px; width: 44px; height: 44px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; z-index: 999; box-shadow: 0 6px 16px rgba(11, 58, 114, .4); }
.backtop.show { opacity: 1; visibility: visible; }
.backtop:hover { background: var(--blue-deep); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .test-grid { grid-template-columns: repeat(6, 1fr); }
  .svc-cloud { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .site-header .header-search { display: none; }
  .logo-text em { font-size: 20px; }
  .logo-text i { font-size: 9px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 6px; }
  .nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .3s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mainnav { position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(9, 30, 60, .98); transform: translateX(100%); transition: .3s; overflow-y: auto; padding: 70px 0 30px; }
  .nav-open .mainnav { transform: translateX(0); }
  .nav-open::before { content: "✕"; position: fixed; top: 18px; right: 6%; color: #fff; font-size: 24px; z-index: 1001; }
  .menu { flex-direction: column; }
  .menu-item { flex: none; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menu-item > a { line-height: 48px; padding: 0 26px; }
  .menu-item > a::after { display: none; }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 0; display: none; max-width: none; }
  .menu-item.open .subnav { display: block; }
  .subnav a { color: #cfdcee; border-left-color: transparent; }
  .subnav a:hover, .subnav a.on { background: rgba(255, 255, 255, .06); color: #fff; }

  .hero { aspect-ratio: 1920 / 706; }
  .hero-slide { background-size: contain; background-repeat: no-repeat; }
  .hero-slide h3 { font-size: 28px; }
  .about-grid, .news-wrap, .party-wrap { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .product-pills { grid-template-columns: repeat(2, 1fr); }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card p { min-height: 0; }
  .honor-strip { grid-template-columns: 1fr 1fr; }
  .page-layout { flex-direction: column; gap: 18px; }
  .side-col { width: 100%; }
  /* 侧栏折叠为横向可滑动标签条，避免整屏纵向铺开 */
  .side-menu { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .side-head { display: none; }
  .side-menu ul { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch; }
  .side-menu li { flex: none; }
  .side-menu li + li { border-top: none; }
  .side-menu a { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 13px; white-space: nowrap; }
  .side-menu a::after { display: none; }
  .side-menu a:hover { padding-left: 16px; }
  .side-contact { margin-top: 6px; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
  .side-contact h4 { margin-bottom: 0; font-size: 15px; letter-spacing: 1px; }
  .side-contact p { margin-bottom: 0; font-size: 12.5px; }
  .side-contact p:not(.tel) { display: none; }
  .side-contact .tel { font-size: 18px; }
  .side-contact .btn-line { margin-top: 0; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  /* 页脚改两列，避免小屏四列挤压 */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .f-about { grid-column: 1 / -1; }
  .f-links-top { column-count: 1; }
}
@media (max-width: 640px) {
  .site-header-in { height: 70px; }
  .logo { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .logo-text { min-width: 0; }
  .logo-text em { font-size: 16px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-text em span { font-size: 10px; margin-left: 4px; }
  .logo-text i { font-size: 7.5px; letter-spacing: .3px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { flex: none; }
  .topbar-welcome { display: none; }
  .test-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .svc-cloud { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .product-pills { grid-template-columns: 1fr; }
  .article ul.paper-list, .article ul.topic-list { column-count: 1; }
  .hero-slide { background-size: contain; background-repeat: no-repeat; background-color: #dceefb; }
  .sec-head h2 { font-size: 24px; }
  .section { padding: 44px 0 48px; }
  .page-banner { height: 160px; }
  .page-banner h2 { font-size: 24px; }
  .content-col { padding: 24px 20px 34px; }
  .news-list h4 { font-size: 14px; }
  .article-title h1 { font-size: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .f-links-top { column-count: 1; }
  .cert-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; }
  .about-stats div { min-width: 46%; }
}

/* ---------------- 一级目录页（设计稿：整页山形渐变 + 胶囊标题） ---------------- */
.dir-page {
  background:
    url("../images/bg-mountains.svg") bottom / 100% 460px no-repeat,
    linear-gradient(180deg, #4E95C7 0%, #67BAE0 16%, #98CAE5 38%, #D7ECF3 62%, #A9D6EB 80%, #5E93BE 100%);
  min-height: 100vh;
  padding-bottom: 60px;
}
.dir-hero { padding: 56px 0 24px; text-align: center; position: relative; }
.dir-title {
  display: inline-block; padding: 12px 64px;
  background: linear-gradient(90deg, #1B4A76 0%, #2C72A9 50%, #1B4A76 100%);
  color: #fff; font-size: 26px; font-weight: 700; letter-spacing: 6px;
  border-radius: 6px; box-shadow: 0 6px 16px rgba(15, 55, 90, .4);
}
.dir-grid {
  max-width: 1080px; margin: 0 auto; padding: 26px 24px 50px;
  display: flex; gap: 18px 56px; justify-content: center; flex-wrap: wrap;
}
.dir-col { flex: 1 1 420px; max-width: 500px; }
.dir-grid a {
  display: flex; align-items: center; gap: 12px;
  color: #0E3B5C; font-size: 17px; padding: 9px 6px;
  border-bottom: 1px dashed rgba(15, 70, 110, .25);
  transition: color .2s, transform .2s;
}
.dir-grid a:hover { color: #b91c1c; transform: translateX(4px); }
.dir-grid a .tri {
  width: 0; height: 0; flex: none;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 11px solid #2f7fc1;
}
.dir-grid a:hover .tri { border-left-color: #b91c1c; }
.dir-desc { max-width: 1080px; margin: 0 auto; padding: 0 24px; color: #163f5e; font-size: 15px; line-height: 2; }

/* 目录页在 992 以下继续两列（规则须置于基础样式之后） */
@media (max-width: 992px) {
  .dir-grid { gap: 14px 28px; padding: 22px 20px 44px; }
  .dir-col { flex: 1 1 300px; max-width: none; }
}

@media (max-width: 720px) {
  .dir-page { background-size: 100% 300px, auto; }
  .dir-grid { padding: 18px 20px 40px; gap: 2px; }
  .dir-col { flex: 1 1 100%; }
  .dir-grid a { font-size: 15px; }
  .dir-title { font-size: 20px; letter-spacing: 3px; padding: 10px 36px; }
}

/* 联系表（设计稿风格：山形渐变上的半透明表格） */
.dir-table-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 16px 50px; overflow-x: auto; }
.dir-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.88); font-size: 14px; color: #0E3B5C; min-width: 860px; }
.dir-table th, .dir-table td { border: 1px solid #6fa3c6; padding: 9px 8px; text-align: center; vertical-align: middle; }
.dir-table thead th { background: linear-gradient(180deg, #2C72A9, #1B4A76); color: #fff; font-weight: 600; }
.dir-table tbody tr:nth-child(even) td { background: rgba(230, 242, 250, .55); }
.dir-table .td-l { text-align: left; line-height: 1.85; }
.dir-table .sub { display: block; font-size: 12.5px; color: #2a5a7e; margin-top: 2px; }
@media (max-width: 720px) { .dir-table { font-size: 12.5px; min-width: 760px; } }

/* 窄屏表格需横向滑动时给出提示 */
@media (max-width: 820px) {
  .dir-table-wrap::before {
    content: "← 左右滑动查看完整表格 →";
    display: block; text-align: center; font-size: 12px; color: #24506f;
    background: rgba(255, 255, 255, .55); border-radius: 14px;
    padding: 6px 0; margin-bottom: 10px;
  }
}

/* ================= 首页骨架占位（内容待录入） ================= */
.sk { background: #e8f1f9; border-radius: 8px; min-height: 56px; }
.sk-hero { background: #d7e8f5; }
.hero-slide.sk-hero { background-image: none; }
.sk-line { height: 14px; background: #e8f1f9; border-radius: 7px; margin-bottom: 14px; }
.sk-line.tall { height: 20px; }
.sk-line.w30 { width: 30%; }
.sk-line.w40 { width: 40%; }
.sk-line.w50 { width: 50%; }
.sk-line.w60 { width: 60%; }
.sk-line.w70 { width: 70%; }
.sk-line.w80 { width: 80%; }
.sk-line.w90 { width: 90%; }
.sk-line.light { background: rgba(255, 255, 255, .32); }
.sk-card { background: #fff; box-shadow: var(--shadow); }
.sk-entry .sk-line:last-child { margin-bottom: 0; }
.center { text-align: center; }
.test-grid .sk { min-height: 78px; }
.product-pills .sk { min-height: 44px; }
.about-stats .sk { min-height: 58px; }
.news-list .sk-line { margin-bottom: 22px; }

/* ================= 骨架版：隐藏二级下拉 / 搜索下拉，站内链接不跳转 ================= */
.subnav,
.search-results { display: none !important; }
a[href^="#/"] { pointer-events: none; cursor: default; }
