/* ============================================================
   上海润育电气安装有限公司官网 主题样式
   深蓝 (电力/工业) + 中国红 (党建/logo) 企业风
   ============================================================ */
:root {
  --navy: #123a6d;
  --navy-dark: #0b2848;
  --navy-deep: #071d36;
  --red: #cf2b1f;
  --red-dark: #a81f15;
  --gold: #d5b076;
  --ink: #22303f;
  --gray: #6b7787;
  --line: #e5e9f0;
  --bg: #f5f7fa;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12, 40, 72, .10);
  --shadow-hover: 0 16px 40px rgba(12, 40, 72, .18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 12px 34px; border-radius: 999px; font-size: 15px; line-height: 1.4; cursor: pointer; transition: all .3s; border: 1px solid transparent; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(207, 43, 31, .3); }
.btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy-deep); color: #cdd8e6; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar strong { color: #fff; font-size: 13.5px; }
.topbar-right i { color: var(--gold); margin-right: 4px; }

/* ---------- 导航 ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 14px rgba(12, 40, 72, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-style: normal; font-size: 20px; font-weight: 700; color: var(--navy-dark); letter-spacing: 1px; white-space: nowrap; }
.brand-slogan { font-style: normal; font-size: 11.5px; color: var(--red); letter-spacing: 2px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: block; padding: 8px 18px; font-size: 16px; color: var(--ink); font-weight: 500; }
.nav-item:hover { color: var(--red); }
.nav-item.active { color: var(--navy); font-weight: 700; }
.nav-item.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--red); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; color: var(--navy); padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 74vh; min-height: 480px; max-height: 820px; overflow: hidden; background: var(--navy-deep); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center 35%; opacity: 0; transform: scale(1.05); transition: opacity 1.2s ease, transform 7s linear; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-mask { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 29, 54, .78) 0%, rgba(7, 29, 54, .45) 45%, rgba(7, 29, 54, .15) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.hero-title { font-size: 46px; font-weight: 700; letter-spacing: 2px; margin-bottom: 18px; text-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, .92); margin-bottom: 34px; max-width: 640px; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.hero-btn { padding: 13px 44px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 26px; display: flex; gap: 10px; }
.hero-dot { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .3s; }
.hero-dot.active { background: var(--red); }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; transition: background .3s; }
.hero-arrow:hover { background: rgba(207, 43, 31, .8); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* ---------- 数字带 ---------- */
.stats-band { background: var(--navy-dark); position: relative; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 120px at 80% 0, rgba(207, 43, 31, .25), transparent); pointer-events: none; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; position: relative; z-index: 1; }
.stat-item { text-align: center; color: #fff; }
.stat-item strong { display: block; font-size: 42px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.stat-item strong em { font-style: normal; font-size: 24px; }
.stat-item span { font-size: 14px; color: rgba(255, 255, 255, .8); letter-spacing: 2px; }

/* ---------- 通用区块 ---------- */
.sec { padding: 84px 0; }
.sec + .sec { padding-top: 0; }
.sec-gap-top { margin-top: 70px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 42px; gap: 20px; }
.sec-tag { font-size: 13px; letter-spacing: 3px; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.sec-tag-light { color: var(--gold); }
.sec-title { font-size: 34px; color: var(--navy-dark); font-weight: 700; letter-spacing: 1px; line-height: 1.3; }
.sec-desc { color: var(--gray); max-width: 420px; text-align: right; }
.sec-more { white-space: nowrap; color: var(--navy); font-size: 14.5px; padding-bottom: 6px; }
.sec-more:hover { color: var(--red); }
.sec-head-light .sec-title { color: #fff; }
.empty-tip { text-align: center; color: var(--gray); padding: 60px 0; grid-column: 1 / -1; }

/* ---------- 关于 ---------- */
.sec-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-desc { color: var(--gray); text-align: justify; margin-bottom: 20px; }
.about-points { margin-bottom: 30px; }
.about-points li { padding: 7px 0; color: var(--ink); }
.about-points i { color: var(--red); margin-right: 10px; }
.about-btns { display: flex; gap: 14px; }
.about-pic { position: relative; }
.about-pic img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about-badge { position: absolute; left: -26px; bottom: -26px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 26px; box-shadow: var(--shadow-hover); }
.about-badge strong { display: block; font-size: 38px; color: var(--gold); line-height: 1.1; }
.about-badge strong em { font-style: normal; font-size: 22px; }
.about-badge span { font-size: 13px; color: rgba(255, 255, 255, .85); }

/* ---------- 业务范围 ---------- */
.sec-business { background: var(--bg); padding-top: 84px; }
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 24px 28px; border-top: 3px solid transparent; transition: all .3s; box-shadow: 0 4px 18px rgba(12, 40, 72, .05); }
.biz-card:hover { border-top-color: var(--red); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.biz-no { position: absolute; top: 18px; right: 22px; font-size: 30px; font-weight: 700; color: rgba(18, 58, 109, .10); }
.biz-icon { font-size: 30px; color: var(--red); margin-bottom: 16px; display: block; }
.biz-card h3 { font-size: 17px; color: var(--navy-dark); margin-bottom: 8px; }
.biz-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ---------- 工程业绩 ---------- */
.sec-cases { background: var(--navy-dark); padding-top: 84px; }
.sec-more { color: #fff; }
.sec-cases .sec-more { color: rgba(255, 255, 255, .85); }
.sec-cases .sec-more:hover { color: var(--gold); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; transition: all .3s; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.case-pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.case-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .case-pic img { transform: scale(1.06); }
.case-pic-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.case-pic-empty i { font-size: 44px; color: rgba(255, 255, 255, .25); }
.case-tag { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.case-info { padding: 18px 20px 20px; }
.case-info h3 { font-size: 15.5px; color: var(--navy-dark); line-height: 1.5; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-info p { font-size: 12.5px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sec-cases .case-info h3 { color: var(--navy-dark); }

/* ---------- 资质荣誉 ---------- */
.sec-honor { background: #fff; padding-top: 84px; }
.honor-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 18px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.honor-thumb { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.honor-thumb:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.honor-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.honor-thumb p { font-size: 12.5px; color: var(--ink); padding: 10px 14px 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 新闻 ---------- */
.sec-news { background: var(--bg); padding-top: 84px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; transition: all .3s; box-shadow: 0 4px 16px rgba(12, 40, 72, .06); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-pic img { transform: scale(1.06); }
.news-info { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.news-info time { font-size: 12px; color: var(--red); margin-bottom: 6px; }
.news-info h3 { font-size: 15px; color: var(--ink); line-height: 1.55; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-info p { font-size: 12.5px; color: var(--gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 招投标公开 ---------- */
.sec-bid { background: #fff; padding-top: 84px; }
.bid-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.bid-head p { color: var(--gray); max-width: 640px; margin-top: 10px; }
.bid-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bid-row { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); transition: background .25s; }
.bid-row:last-child { border-bottom: 0; }
.bid-row:hover { background: #f8fafd; }
.bid-row:hover .bid-title { color: var(--red); }
.bid-type { flex: none; font-size: 12px; padding: 3px 12px; border-radius: 4px; color: #fff; }
.bid-type-zbgg { background: var(--red); }
.bid-type-zbgs { background: var(--navy); }
.bid-type-qtgg { background: #8a97a8; }
.bid-title { flex: 1; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bid-date { flex: none; color: var(--gray); font-size: 13px; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(100deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 40px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h3 { font-size: 24px; margin-bottom: 4px; }
.cta-inner p { color: rgba(255, 255, 255, .85); font-size: 14px; }
.cta-phone { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 700; color: #fff; }
.cta-phone i { width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* ---------- 内页 ---------- */
.page-hero { position: relative; height: 300px; background-size: cover; background-position: center 40%; display: flex; align-items: flex-end; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 29, 54, .55), rgba(7, 29, 54, .72)); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: 26px; color: #fff; width: 100%; }
.page-hero h2 { font-size: 32px; letter-spacing: 2px; margin-bottom: 6px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .8); }
.crumb a { color: rgba(255, 255, 255, .8); }
.crumb a:hover { color: #fff; }
.page-body { padding: 60px 0 80px; }
.page-h1 { font-size: 24px; color: var(--navy-dark); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.page-content { color: var(--ink); }
.page-content h3 { font-size: 19px; color: var(--navy); margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--red); }
.page-content p { margin-bottom: 14px; text-align: justify; }
.page-content strong { color: var(--red); }

/* 关于页 */
.about-page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.about-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.side-card { background: var(--bg); border-radius: var(--radius); padding: 26px; }
.side-card h3 { font-size: 17px; color: var(--navy-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--red); display: inline-block; }
.side-card ul li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.side-card ul li:last-child { border-bottom: 0; }
.side-card ul li span { color: var(--gray); flex: none; }
.side-card ul li strong { color: var(--ink); font-weight: 500; text-align: right; word-break: break-all; }
.side-card-img { padding: 0; overflow: hidden; }
.side-card-img img { width: 100%; }

/* 企业文化 */
.culture-wrap { max-width: 860px; margin: 0 auto; }
.culture-block { background: var(--bg); border-radius: var(--radius); padding: 34px 38px; margin-bottom: 22px; border-left: 4px solid var(--red); }
.culture-block h3 { font-size: 16px; color: var(--red); letter-spacing: 3px; margin-bottom: 10px; }
.culture-big { font-size: 26px !important; font-weight: 700; color: var(--navy-dark) !important; letter-spacing: 2px; }
.culture-block p { font-size: 16px; color: var(--ink); }

/* 资质荣誉页 */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.cert-pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.cert-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cert-card:hover .cert-pic img { transform: scale(1.05); }
.cert-info { padding: 14px 16px 18px; }
.cert-info h3 { font-size: 14px; color: var(--ink); line-height: 1.55; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 43px; }
.cert-info p { font-size: 12px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert-info time { display: block; font-size: 12px; color: var(--red); margin-top: 4px; }
.qual-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.qual-card { display: flex; gap: 20px; background: var(--bg); border-radius: var(--radius); padding: 24px 28px; transition: all .3s; }
.qual-card:hover { box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.qual-badge { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.qual-body h3 { font-size: 16.5px; color: var(--navy-dark); margin-bottom: 6px; }
.qual-detail { font-size: 13.5px; color: var(--ink); line-height: 1.8; margin-bottom: 6px; }
.qual-meta { font-size: 12.5px; color: var(--gray); }

/* 筛选 tab */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.ftab { padding: 8px 22px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 14px; border: 1px solid var(--line); }
.ftab:hover { color: var(--red); }
.ftab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 业绩页 grid */
.case-grid-page { grid-template-columns: repeat(3, 1fr); }

/* 新闻页 grid */
.news-grid-page { grid-template-columns: repeat(3, 1fr); }

/* 详情页 */
.detail-wrap { max-width: 900px; }
.detail-article { background: #fff; }
.bid-detail-flag { display: inline-block; background: var(--red); color: #fff; font-size: 13px; padding: 3px 14px; border-radius: 4px; margin-bottom: 14px; }
.detail-title { font-size: 26px; color: var(--navy-dark); line-height: 1.5; margin-bottom: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--gray); font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.detail-meta i { margin-right: 5px; color: var(--red); }
.detail-cover { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.detail-content { font-size: 15.5px; color: var(--ink); line-height: 2; }
.detail-content p { margin-bottom: 16px; text-align: justify; }
.detail-content img { border-radius: 8px; margin: 10px auto; }
.bid-files { margin-top: 30px; background: var(--bg); border-radius: var(--radius); padding: 22px 26px; }
.bid-files h3 { font-size: 16px; color: var(--navy-dark); margin-bottom: 12px; }
.bid-files h3 i { color: var(--red); margin-right: 6px; }
.bid-file { display: block; padding: 9px 0; color: var(--navy); font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.bid-file:hover { color: var(--red); }
.bid-file i { margin-right: 8px; }
.detail-nav { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.dn-item { flex: 1; min-width: 0; font-size: 13.5px; color: var(--gray); overflow: hidden; }
.dn-item em { display: block; font-style: normal; color: var(--red); font-size: 12px; margin-bottom: 4px; }
.dn-item:hover { color: var(--navy); }
.dn-next { text-align: right; }

/* 分页 */
.pager { margin-top: 44px; text-align: center; }
.pager ul { display: inline-flex; gap: 8px; list-style: none; }
.pager li a, .pager li span { display: block; min-width: 38px; padding: 8px 12px; border-radius: 6px; background: var(--bg); color: var(--ink); font-size: 14px; }
.pager li.active span, .pager li a:hover { background: var(--navy); color: #fff; }
.pager li.disabled span { color: #b6c0cc; }

/* 招投标页 */
.bid-intro { display: flex; gap: 14px; background: linear-gradient(100deg, rgba(18, 58, 109, .06), rgba(207, 43, 31, .05)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 28px; }
.bid-intro i { color: var(--red); font-size: 22px; margin-top: 3px; }
.bid-intro p { color: var(--ink); font-size: 14px; }
.bid-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bid-thead { display: flex; background: var(--navy); color: #fff; padding: 13px 22px; font-size: 14px; }
.bid-tr { display: flex; align-items: center; gap: 16px; padding: 15px 22px; border-top: 1px solid var(--line); transition: background .25s; }
.bid-tr:first-of-type { border-top: 0; }
.bid-tr:hover { background: #f8fafd; }
.bid-tr:hover .bc-title { color: var(--red); }
.bc-type { flex: none; width: 96px; }
.bc-title { flex: 1; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-date { flex: none; width: 100px; text-align: right; color: var(--gray); font-size: 13px; }

/* 联系页 */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 54px; }
.contact-card { background: var(--bg); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: all .3s; }
.contact-card:hover { background: var(--navy); transform: translateY(-6px); }
.contact-card i { font-size: 30px; color: var(--red); margin-bottom: 14px; }
.contact-card:hover i { color: var(--gold); }
.contact-card h3 { font-size: 17px; color: var(--navy-dark); margin-bottom: 8px; }
.contact-card:hover h3 { color: #fff; }
.contact-card p { font-size: 14px; color: var(--gray); }
.contact-card:hover p { color: rgba(255, 255, 255, .85); }
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: stretch; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 40px; box-shadow: var(--shadow); }
.contact-form-wrap .sec-title { margin-bottom: 8px; }
.form-tip { color: var(--gray); font-size: 14px; margin: 0 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item { margin-bottom: 18px; }
.form-item label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.form-item label em { color: var(--red); font-style: normal; }
.form-item input, .form-item textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; font-size: 14px; color: var(--ink); outline: none; transition: border .25s; resize: vertical; font-family: inherit; }
.form-item input:focus, .form-item textarea:focus { border-color: var(--navy); }
.btn-submit { width: 100%; border: 0; font-size: 16px; padding: 13px; }
.contact-img { border-radius: var(--radius); overflow: hidden; }
.contact-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0c3; }
.footer-main { display: grid; grid-template-columns: 1.4fr .7fr .9fr 1fr; gap: 40px; padding: 58px 0 46px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 44px; }
.footer-brand strong { color: #fff; font-size: 16px; letter-spacing: 1px; }
.footer-about p { font-size: 13px; line-height: 1.9; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges span { font-size: 12px; padding: 4px 12px; border: 1px solid rgba(213, 176, 118, .4); color: var(--gold); border-radius: 999px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-links a { display: block; padding: 5px 0; font-size: 13.5px; color: #9fb0c3; }
.footer-links a:hover { color: #fff; }
.footer-biz-item { display: block; padding: 5px 0; font-size: 13.5px; }
.footer-contact p { padding: 5px 0; font-size: 13.5px; }
.footer-contact i { color: var(--gold); width: 20px; margin-right: 6px; }
.footer-contact a:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 12.5px; }
.footer-bar .container { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-bar a { color: #9fb0c3; }
.footer-bar a:hover { color: #fff; }

/* ---------- 悬浮侧边 ---------- */
.float-side { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(16px); transition: all .35s; }
.float-side.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fs-item { width: 52px; height: 52px; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(12, 40, 72, .18); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); }
.fs-item i { font-size: 18px; }
.fs-item em { font-style: normal; font-size: 10px; margin-top: 2px; transform: scale(.9); }
.fs-item:hover { background: var(--red); color: #fff; }
.fs-phone { background: var(--red); color: #fff; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.reveal-in { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid-page, .case-grid-page { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .about-page-grid { grid-template-columns: 1fr; }
  .about-side { position: static; flex-direction: row; }
  .about-side .side-card { flex: 1; }
}
@media (max-width: 768px) {
  .topbar-welcome { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .header-inner { height: 64px; }
  .brand-logo { height: 40px; }
  .brand-name { font-size: 16px; }
  .brand-slogan { font-size: 10px; letter-spacing: 1px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 98px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px; gap: 0; transform: translateX(100%); transition: transform .3s; z-index: 99; overflow-y: auto; }
  .main-nav.nav-open { transform: translateX(0); }
  .nav-item { padding: 15px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-item.active::after { display: none; }
  .nav-item.active { color: var(--red); }
  .hero { height: 62vh; min-height: 420px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-arrow { display: none; }
  .sec { padding: 54px 0; }
  .sec-title { font-size: 26px; }
  .sec-desc { text-align: left; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .stat-item strong { font-size: 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { left: 14px; bottom: -20px; padding: 12px 18px; }
  .about-badge strong { font-size: 26px; }
  .biz-grid, .case-grid, .cert-grid, .news-grid, .news-grid-page, .case-grid-page { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .bid-head { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-phone { font-size: 22px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .bid-row { flex-wrap: wrap; }
  .bid-title { white-space: normal; font-size: 14px; }
  .bid-thead { display: none; }
  .about-side { flex-direction: column; }
  .page-hero { height: 220px; }
  .detail-title { font-size: 21px; }
}
@media (max-width: 420px) {
  .biz-grid, .case-grid, .cert-grid { grid-template-columns: 1fr; }
}
