@charset "utf-8";
/* ==========================================================================
   贵州莹瑞新型环保建材有限公司 - 全站样式
   配色方案：2# 科技蓝  #003366 / #0099CC / #00CC66 / #FFFFFF / #CCFFFF / #000033
   ========================================================================== */

:root {
  --c-primary: #003366;
  --c-primary-dark: #000033;
  --c-accent: #0099cc;
  --c-accent-dark: #007ba6;
  --c-green: #00cc66;
  --c-green-dark: #00a552;
  --c-tint: #ccffff;
  --c-white: #ffffff;
  --c-text: #1f2d3d;
  --c-text-2: #5a6b7d;
  --c-text-3: #8b9aab;
  --c-line: #e2e9f0;
  --c-bg: #f4f8fb;
  --c-bg-2: #eef4f9;
  --shadow-s: 0 2px 8px rgba(0, 51, 102, .06);
  --shadow-m: 0 6px 22px rgba(0, 51, 102, .1);
  --shadow-l: 0 14px 40px rgba(0, 51, 102, .16);
  --radius: 10px;
  --radius-s: 6px;
  --w: 1200px;
  --ease: .3s cubic-bezier(.25, .8, .35, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.35; font-weight: 700; color: var(--c-primary); }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; }
button, input, textarea { font-family: inherit; font-size: inherit; }

.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* ---------- 顶部通栏 ---------- */
.topbar {
  background: var(--c-primary-dark);
  color: #b9d4e8;
  font-size: 13px;
  line-height: 34px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: #b9d4e8; }
.topbar a:hover { color: var(--c-white); }
.topbar .tb-l span { margin-right: 18px; }
.topbar .tb-r { white-space: nowrap; }

/* ---------- 头部 / 导航 ---------- */
.site-header {
  background: var(--c-primary);
  background-image: linear-gradient(120deg, #003366 0%, #00284f 55%, #000033 100%);
  position: relative;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.logo { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.logo-mark {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-green));
  color: #fff; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -1px;
  box-shadow: 0 4px 14px rgba(0, 204, 102, .28);
}
.logo-txt b { display: block; color: #fff; font-size: 19px; letter-spacing: .5px; line-height: 1.3; }
.logo-txt span { display: block; color: #8fb8d6; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; }

.nav { display: flex; align-items: center; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 0 17px; line-height: 82px;
  color: #e8f3fa; font-size: 15.5px; font-weight: 500; white-space: nowrap;
}
.nav > li > a::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 18px; height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-green));
  border-radius: 2px; transform: scaleX(0); transform-origin: center; transition: transform var(--ease);
}
.nav > li:hover > a, .nav > li.active > a, .nav > li > a:hover { color: #fff; }
.nav > li:hover > a::after, .nav > li.active > a::after { transform: scaleX(1); }

.subnav {
  position: absolute; left: 0; top: 100%; min-width: 178px;
  background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-m); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--ease); border-top: 3px solid var(--c-accent);
}
.nav > li:hover .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { display: block; padding: 9px 18px; font-size: 14px; color: var(--c-text-2); }
.subnav a:hover { background: var(--c-bg); color: var(--c-accent); padding-left: 24px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .12);
  border-radius: 8px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; content: "";
  transition: var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

/* ---------- 内页横幅 ---------- */
.page-banner {
  position: relative; color: #fff; text-align: center; padding: 62px 0;
  background: linear-gradient(120deg, #00284f, #003f7d 55%, #005b8f);
  overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 220px at 82% 12%, rgba(0, 204, 102, .3), transparent 70%),
              radial-gradient(520px 200px at 10% 92%, rgba(0, 153, 204, .34), transparent 70%);
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1, .page-banner .banner-title { color: #fff; margin-bottom: 8px; font-weight: 700; }
.page-banner h1 { font-size: 30px; }
.page-banner .banner-title { font-size: 30px; line-height: 1.35; }
.page-banner p { color: #c8e4f4; margin: 0; font-size: 14.5px; }
.crumb { margin-top: 14px; font-size: 13px; color: #a9cde4; }
.crumb a { color: #a9cde4; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 6px; opacity: .6; }

/* ---------- 通用区块 ---------- */
.section { padding: 68px 0; }
.section.alt { background: var(--c-bg); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 2.6px; color: var(--c-accent);
  text-transform: uppercase; font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: 28px; margin-bottom: 12px; }
.section-head h2 em { font-style: normal; color: var(--c-accent); }
.section-head p { color: var(--c-text-2); margin: 0; font-size: 14.5px; }
.section-head::after {
  content: ""; display: block; width: 54px; height: 3px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--c-accent), var(--c-green)); border-radius: 2px;
}

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: #001f3f; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0, 25, 51, .9) 0%, rgba(0, 40, 79, .76) 45%, rgba(0, 51, 102, .35) 100%);
}
.hero .wrap { position: relative; z-index: 3; padding-top: 46px; padding-bottom: 46px; }
.hero-txt { max-width: 660px; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #b8f0d5;
  background: rgba(0, 204, 102, .16); border: 1px solid rgba(0, 204, 102, .45);
  border-radius: 30px; padding: 5px 15px; margin-bottom: 18px;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); }
.hero h1 { color: #fff; font-size: 40px; line-height: 1.28; margin-bottom: 16px; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: #6fe0a8; }
.hero p { color: #cfe6f4; font-size: 16px; margin-bottom: 26px; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 4; }
.hero-dots i {
  width: 30px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .38); cursor: pointer;
  transition: var(--ease);
}
.hero-dots i.on { background: var(--c-green); width: 46px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all var(--ease); white-space: nowrap;
}
.btn-primary { background: linear-gradient(120deg, var(--c-accent), #00b3e0); color: #fff; box-shadow: 0 8px 22px rgba(0, 153, 204, .35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 153, 204, .45); }
.btn-green { background: linear-gradient(120deg, var(--c-green), #00e070); color: #003d20; }
.btn-green:hover { color: #002d18; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--c-primary); }
.btn-outline { border-color: var(--c-accent); color: var(--c-accent); }
.btn-outline:hover { background: var(--c-accent); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 数据条 ---------- */
.stats { background: var(--c-primary); color: #fff; padding: 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 18px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 36px; color: #6fe0a8; line-height: 1.2; letter-spacing: -.5px; }
.stat b i { font-style: normal; font-size: 17px; margin-left: 3px; }
.stat span { font-size: 13.5px; color: #b9d4e8; }

/* ---------- 网格卡片 ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: all var(--ease); display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: #cfe4f0; }
.card-pic { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-bg-2); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-pic img { transform: scale(1.07); }
.card-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(0, 51, 102, .88); color: #fff; font-size: 12px;
  padding: 3px 11px; border-radius: 20px; backdrop-filter: blur(3px);
}
.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 17px; margin-bottom: 8px; }
.card-body h3 a:hover { color: var(--c-accent); }
.card-body p { color: var(--c-text-2); font-size: 13.5px; margin: 0 0 14px; }
.card-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--c-text-3); }
.more-link { color: var(--c-accent); font-weight: 600; font-size: 13.5px; }
.more-link::after { content: " →"; }

/* 横向列表卡片（新闻/案例） */
.card-row { flex-direction: row; }
.card-row .card-pic { flex: 0 0 260px; aspect-ratio: auto; }
.card-row .card-body { padding: 20px 22px; }

/* ---------- 产品分类筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-bar a {
  padding: 8px 18px; border: 1px solid var(--c-line); border-radius: 24px;
  font-size: 14px; color: var(--c-text-2); background: #fff;
}
.filter-bar a:hover, .filter-bar a.on { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ---------- 优势 ---------- */
.adv { padding: 26px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); transition: var(--ease); height: 100%; }
.adv:hover { border-color: var(--c-accent); box-shadow: var(--shadow-m); transform: translateY(-4px); }
.adv .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0, 153, 204, .14), rgba(0, 204, 102, .16));
  color: var(--c-accent); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.adv h3 { font-size: 17px; margin-bottom: 8px; }
.adv p { color: var(--c-text-2); font-size: 13.5px; margin: 0; }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.detail-main { min-width: 0; }
.detail-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-m); margin-bottom: 26px; }
.detail-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-title { border-bottom: 1px solid var(--c-line); padding-bottom: 16px; margin-bottom: 22px; }
.detail-title h1 { font-size: 27px; margin-bottom: 10px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--c-text-3); }
.detail-meta b { color: var(--c-accent); font-weight: 600; }

.article { font-size: 15.5px; color: #33414f; }
.article h2 { font-size: 21px; margin: 30px 0 14px; padding-left: 13px; border-left: 4px solid var(--c-accent); }
.article h3 { font-size: 17px; margin: 22px 0 10px; color: #004f80; }
.article p { margin-bottom: 14px; }
.article ul { margin: 0 0 16px; }
.article ul li { position: relative; padding-left: 20px; margin-bottom: 8px; color: #33414f; }
.article ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--c-green);
}
.article img { border-radius: var(--radius-s); margin: 6px 0 16px; width: 100%; }
.article table { margin: 8px 0 20px; font-size: 14px; }
.article table th, .article table td { border: 1px solid var(--c-line); padding: 10px 13px; text-align: left; }
.article table th { background: var(--c-bg); color: var(--c-primary); font-weight: 600; width: 190px; }
.quote {
  background: var(--c-bg); border-left: 4px solid var(--c-green);
  padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; color: #2c3d4d; margin: 0 0 20px;
}

/* ---------- 侧栏 ---------- */
.side-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.side-box h2, .side-box h3 {
  font-size: 17px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--c-line);
  position: relative;
}
.side-box h2::after, .side-box h3::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-green)); border-radius: 2px;
}
.side-list li { border-bottom: 1px dashed var(--c-line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: flex; gap: 12px; padding: 11px 0; font-size: 14px; color: var(--c-text-2); align-items: center; }
.side-list a:hover { color: var(--c-accent); }
.side-list img { width: 74px; height: 56px; object-fit: cover; border-radius: var(--radius-s); flex: 0 0 74px; }
.side-list .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-cta {
  background: linear-gradient(140deg, var(--c-primary), #00527f);
  color: #fff; border-radius: var(--radius); padding: 24px 22px; text-align: center;
}
.side-cta h3 { color: #fff; border: 0; padding: 0; margin-bottom: 6px; }
.side-cta h3::after { display: none; }
.side-cta p { color: #bcd9ea; font-size: 13px; margin-bottom: 14px; }
.side-cta .tel { display: block; font-size: 22px; font-weight: 700; color: #6fe0a8; margin-bottom: 14px; letter-spacing: .5px; }

/* ---------- 上下篇 / 相关 ---------- */
.pager { display: flex; justify-content: space-between; gap: 14px; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 14px; }
.pager a { color: var(--c-text-2); max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pager a:hover { color: var(--c-accent); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--radius-s);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-text-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.pagination a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pagination .cur { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--c-accent), var(--c-green)); }
.timeline li { position: relative; padding: 0 0 26px 12px; }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--c-accent);
}
.timeline b { display: block; color: var(--c-primary); font-size: 16px; margin-bottom: 4px; }
.timeline p { color: var(--c-text-2); font-size: 14px; margin: 0; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-item { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.contact-item .ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  color: #fff; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.contact-item h3 { font-size: 15px; margin-bottom: 5px; }
.contact-item p { margin: 0; color: var(--c-text-2); font-size: 14px; word-break: break-all; }
.map-frame { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; background: var(--c-bg); }
.map-frame img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.map-note { padding: 14px 20px; font-size: 13.5px; color: var(--c-text-2); background: #fff; }

.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--c-text-2); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: var(--radius-s);
  background: #fff; color: var(--c-text); transition: var(--ease);
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(0, 153, 204, .13); }
.field textarea { min-height: 130px; resize: vertical; }
.form-tip { font-size: 12.5px; color: var(--c-text-3); }

/* ---------- CTA 条 ---------- */
.cta-bar {
  background: linear-gradient(120deg, #00284f, #004a86 60%, #00706e);
  color: #fff; border-radius: var(--radius); padding: 38px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cta-bar h3 { color: #fff; font-size: 23px; margin-bottom: 6px; }
.cta-bar p { color: #bcd9ea; margin: 0; font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #041c33; color: #9fb8cc; font-size: 14px; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 38px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--c-green); }
.site-footer .f-about p { font-size: 13.5px; line-height: 1.9; color: #93aec4; }
.site-footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .f-logo b { color: #fff; font-size: 16px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9fb8cc; font-size: 13.5px; }
.site-footer a:hover { color: var(--c-green); }
.site-footer .f-contact li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.7; }
.site-footer .f-contact b { color: #cfe3f2; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 22px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-bottom a { color: #9fb8cc; }
.footer-bottom a:hover { color: var(--c-green); }

/* ---------- 返回顶部 ---------- */
.gotop {
  position: fixed; right: 22px; bottom: 26px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--c-primary); color: #fff; border: 0; cursor: pointer; font-size: 19px;
  box-shadow: var(--shadow-m); opacity: 0; visibility: hidden; transition: var(--ease); z-index: 99;
}
.gotop.on { opacity: 1; visibility: visible; }
.gotop:hover { background: var(--c-accent); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .detail-layout { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav > li > a { padding: 0 12px; font-size: 14.5px; }
}

@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 31px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .section { padding: 52px 0; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .header-inner { min-height: 66px; }
  .nav-toggle { display: block; }
  .logo-mark { width: 42px; height: 42px; flex: 0 0 42px; font-size: 18px; }
  .logo-txt b { font-size: 16px; }
  .nav {
    position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 200;
    background: rgba(0, 26, 51, .97); flex-direction: column; align-items: stretch;
    padding: 84px 24px 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform var(--ease);
  }
  .nav-open .nav { transform: none; }
  .nav > li > a { line-height: 1.5; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav > li > a::after { display: none; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; border: 0; border-radius: 0; padding: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 6px;
  }
  .subnav a { color: #9fc4dd; padding: 5px 11px; background: rgba(255, 255, 255, .07); border-radius: 16px; font-size: 13px; }
  .subnav a:hover { background: var(--c-accent); color: #fff; padding-left: 11px; }
  .nav-toggle { position: relative; z-index: 300; }

  .hero { min-height: 430px; }
  .hero h1 { font-size: 25px; }
  .hero p { font-size: 14.5px; }
  .page-banner { padding: 42px 0; }
  h1 { font-size: 23px; }
  .page-banner h1, .page-banner .banner-title { font-size: 20px; }
  .section-head h2 { font-size: 22px; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .card-row { flex-direction: column; }
  .card-row .card-pic { flex: none; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .detail-title h1 { font-size: 21px; }
  .cta-bar { padding: 26px 22px; }
  .cta-bar h3 { font-size: 19px; }
  .pager { flex-direction: column; gap: 8px; }
  .pager a { max-width: 100%; }
  .stat b { font-size: 27px; }
  .article h2 { font-size: 18px; }
  .article table th, .article table td { padding: 8px 10px; font-size: 13px; display: block; width: auto; }
  .article table, .article table tbody, .article table tr { display: block; }
  .article table tr { margin-bottom: 12px; border: 1px solid var(--c-line); border-radius: var(--radius-s); overflow: hidden; }
  .article table th { background: var(--c-bg); }
  .gotop { right: 14px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 420px) {
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .hero h1 { font-size: 22px; }
}

@media print {
  .site-header, .topbar, .site-footer, .gotop, .side-box, .cta-bar { display: none; }
}
