/* ===== 全局 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { color-scheme: light; }
html, body { background: #fff; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; font-size: 14px; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== 顶部信息条 ===== */
.topbar { background: #f5f5f5; border-bottom: 1px solid #e5e5e5; font-size: 12px; color: #888; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.topbar a { margin-left: 12px; color: #888; }
.topbar a:hover { color: #1e5bb8; }
.search-box { width: 140px; height: 22px; border: 1px solid #ddd; padding: 0 8px; font-size: 12px; border-radius: 11px 0 0 11px; outline: none; }
.search-btn { height: 22px; border: 1px solid #ddd; border-left: none; background: #fff; padding: 0 10px; cursor: pointer; font-size: 12px; border-radius: 0 11px 11px 0; }

/* ===== 主导航 ===== */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 56px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 22px; font-weight: bold; color: #1e5bb8; letter-spacing: 2px; }
.logo-sub { font-size: 11px; color: #c00; letter-spacing: 1px; }
.nav { display: flex; }
.nav a { padding: 0 16px; line-height: 72px; font-size: 15px; color: #333; position: relative; transition: color .2s; }
.nav a:hover, .nav a.active { color: #1e5bb8; font-weight: bold; }
.nav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 14px; height: 2px; background: #1e5bb8; }

/* ===== 站内搜索 ===== */
.search-wrap { position: relative; display: flex; align-items: center; margin-left: 18px; }
.site-search { width: 168px; height: 34px; border: 1px solid #dcdcdc; border-radius: 17px 0 0 17px; padding: 0 14px; font-size: 13px; outline: none; font-family: inherit; }
.site-search:focus { border-color: #1e5bb8; box-shadow: 0 0 0 3px rgba(30,91,184,.08); }
.site-search-btn { height: 34px; padding: 0 14px; border: 1px solid #1e5bb8; border-left: none; border-radius: 0 17px 17px 0; background: #1e5bb8; color: #fff; cursor: pointer; font-size: 13px; }
.site-search-btn:hover { background: #174a97; }
.search-results { position: absolute; top: 42px; right: 0; width: 330px; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.16); z-index: 300; overflow: hidden; }
.sr-item { display: block; padding: 11px 15px; border-bottom: 1px solid #f3f3f3; }
.sr-item:last-child { border-bottom: none; }
.sr-item strong { display: block; font-size: 14px; color: #14375f; font-weight: bold; }
.sr-item span { display: block; font-size: 12px; color: #888; margin-top: 3px; line-height: 1.55; }
.sr-item:hover { background: #f2f7ff; }
.sr-empty { padding: 16px 15px; font-size: 13px; color: #555; line-height: 1.8; }
.sr-empty span { color: #999; font-size: 12px; }

/* ===== 首页快捷面板 ===== */
.quick-panel { background: #fafafa; border-bottom: 1px solid #eee; padding: 16px 0; }
.quick-inner { display: flex; align-items: center; gap: 40px; }
.quick-product { display: flex; align-items: center; gap: 14px; min-width: 280px; }
.quick-product img { width: 90px; height: 80px; object-fit: contain; }
.quick-tip { font-size: 12px; color: #888; }
.quick-brand { font-size: 18px; color: #c00; font-style: italic; }
.quick-series { font-size: 15px; font-weight: bold; color: #333; }
.quick-links { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 16px; }
.quick-links a { font-size: 13px; color: #555; white-space: nowrap; }
.quick-links a:hover { color: #1e5bb8; }

/* ===== 轮播横幅 ===== */
.banner { position: relative; overflow: hidden; }
.banner-slides { position: relative; height: 460px; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.banner-slide.active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 20px 60px; text-align: center; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.25) 55%, transparent); text-shadow: 0 2px 10px rgba(0,0,0,.75); }
.banner-caption h2 { font-size: 42px; letter-spacing: 4px; }
.banner-caption p { font-size: 16px; margin-top: 8px; letter-spacing: 2px; color: #f2f2f2; }
.banner-dots { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); margin: 0 5px; cursor: pointer; }
.dot.active { background: #c00; }

/* ===== 通用区块 ===== */
.section { padding: 60px 0; background: #fff; }
.section-gray { background: #f7f8fa; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 30px; color: #333; letter-spacing: 3px; }
.section-title p { font-size: 13px; color: #bbb; letter-spacing: 4px; margin-top: 4px; text-transform: uppercase; }

/* 首页产品卡片 */
.product-card { background: #fff; border: 1px solid #eee; text-align: center; padding: 20px; transition: all .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.product-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; margin-bottom: 16px; }
.product-card h3 { font-size: 17px; color: #333; }
.product-card p { font-size: 13px; color: #999; margin-top: 4px; }

/* 首页公司简介 */
.about-brief { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about-img img { border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.about-text h2 { font-size: 26px; margin-bottom: 18px; color: #333; }
.about-text h2 small { font-size: 13px; color: #bbb; margin-left: 10px; letter-spacing: 3px; }
.about-text p { color: #666; margin-bottom: 12px; }
.btn-outline { display: inline-block; margin-top: 12px; padding: 10px 28px; border: 1px solid #1e5bb8; color: #1e5bb8; border-radius: 3px; transition: all .3s; }
.btn-outline:hover { background: #1e5bb8; color: #fff; }

/* 首页新闻卡片 */
.news-card { background: #fff; border: 1px solid #eee; padding: 24px; display: flex; gap: 18px; transition: all .3s; }
.news-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.news-date { text-align: center; color: #1e5bb8; min-width: 60px; border-right: 1px solid #eee; padding-right: 14px; }
.news-date strong { font-size: 28px; display: block; line-height: 1.2; }
.news-date span { font-size: 12px; color: #999; }
.news-card h3 { font-size: 16px; margin-bottom: 8px; }
.news-card p:last-child { font-size: 13px; color: #999; }

/* ===== 页脚 ===== */
.footer { background: #f5f7fa; color: #444; padding-top: 40px; border-top: 3px solid #1e5bb8; }
.footer-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; }
.footer-col h4 { color: #14375f; font-size: 16px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; margin-bottom: 8px; color: #555; }
.footer-col a:hover { color: #1e5bb8; }
.footer-col p { font-size: 13px; margin-bottom: 8px; color: #555; }
.footer-tel { font-size: 22px !important; font-weight: bold; color: #1e5bb8 !important; letter-spacing: 1px; }
.footer-bottom { border-top: 1px solid #e2e6ec; background: #fff; text-align: center; padding: 16px 0; font-size: 12px; color: #888; }

/* ===== 内页横幅 ===== */
.page-banner { position: relative; height: 340px; overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; background: linear-gradient(120deg, rgba(8,24,45,.72), rgba(8,24,45,.35)); }
.page-banner-text h1 { font-size: 38px; letter-spacing: 4px; margin-bottom: 10px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.page-banner-text p { font-size: 15px; color: #eaeaea; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* ===== 产品列表页 ===== */
.oil-card { background: #fff; border: 1px solid #eee; display: flex; align-items: stretch; min-height: 180px; transition: all .3s; }
.oil-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.1); border-color: #1e5bb8; }
.oil-name { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.oil-name strong { font-size: 16px; color: #333; line-height: 1.5; }
.oil-name span { font-size: 13px; color: #888; line-height: 1.7; }
.oil-card img { width: 160px; object-fit: cover; }
.scroll-down { text-align: center; margin-top: 40px; font-size: 34px; color: #1e5bb8; }

/* 适用范围 */
.scope-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.scope-img img { border-radius: 6px; }
.scope-text h2 { font-size: 26px; margin-bottom: 16px; }
.scope-text p { color: #666; margin-bottom: 10px; font-size: 14px; }
.scope-links { margin-top: 18px; display: flex; gap: 30px; }
.scope-links a { color: #1e5bb8; font-weight: bold; }
.scope-links a:hover { text-decoration: underline; }

/* ===== 产品详情页 ===== */
.detail-tabs { background: #f7f8fa; border-bottom: 1px solid #eee; padding: 18px 0; }
.detail-tabs-inner { display: flex; gap: 20px; }
.detail-tab { flex: 1; text-align: center; background: #fff; border: 1px solid #ddd; padding: 18px 0; color: #1e5bb8; font-size: 14px; transition: all .3s; }
.detail-tab:hover, .detail-tab.active { background: #1e5bb8; color: #fff; border-color: #1e5bb8; }
.detail-title { text-align: center; font-size: 32px; margin-bottom: 40px; letter-spacing: 2px; }
.detail-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; }
.detail-intro { margin-bottom: 24px; }
.detail-content h3 { font-size: 18px; margin: 22px 0 10px; color: #1e5bb8; }
.detail-content p { margin-bottom: 8px; color: #555; }
.dot-list { list-style: none; }
.dot-list li { padding-left: 16px; position: relative; color: #555; margin-bottom: 6px; }
.dot-list li::before { content: "◎"; position: absolute; left: 0; color: #1e5bb8; font-size: 12px; top: 1px; }
.detail-img img { width: 100%; object-fit: cover; border: 1px solid #eee; background: #fff; }
.detail-img-note { text-align: center; color: #999; font-size: 13px; margin-top: 10px; }
.detail-cat { display: inline-block; background: #eef3fb; color: #1e5bb8; font-size: 13px; padding: 4px 14px; border-radius: 12px; margin-bottom: 12px; letter-spacing: 1px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { border: 1px solid #e6e9ee; padding: 9px 14px; font-size: 13px; text-align: left; }
.spec-table th { width: 110px; background: #f5f8fc; color: #14375f; white-space: nowrap; }
.spec-table td { color: #555; }
.detail-contact { margin-top: 26px; padding: 14px 18px; background: #f5f8fc; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.detail-contact span { color: #333; font-size: 14px; }
.detail-contact strong { color: #1e5bb8; font-size: 18px; letter-spacing: 1px; }
.detail-contact .btn-outline { margin-top: 0; padding: 8px 20px; }

/* ===== 公司介绍页 ===== */
.stat-card { background: #fff; text-align: center; padding: 36px 20px; border: 1px solid #eee; }
.stat-card strong { font-size: 44px; color: #1e5bb8; display: block; }
.stat-card p { color: #777; margin-top: 6px; letter-spacing: 2px; }
.timeline { max-width: 720px; margin: 0 auto; border-left: 2px solid #1e5bb8; padding-left: 30px; }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ""; position: absolute; left: -38px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid #1e5bb8; }
.timeline-year { font-size: 22px; font-weight: bold; color: #1e5bb8; }
.timeline-item p { color: #666; }

/* ===== 联系页 ===== */
.contact-single { max-width: 560px; text-align: center; padding: 30px 20px 10px; }
.contact-icon-lg { font-size: 52px; margin-bottom: 10px; }
.contact-single h2 { font-size: 22px; color: #14375f; letter-spacing: 2px; margin-bottom: 14px; }
.contact-tel { display: block; font-size: 46px; font-weight: bold; color: #1e5bb8; letter-spacing: 2px; margin-bottom: 12px; }
.contact-tel:hover { color: #14375f; }
.contact-single-note { color: #888; font-size: 14px; margin-bottom: 26px; }
.contact-call { display: inline-block; width: auto; padding: 14px 60px; border-radius: 30px; }
.contact-card { background: #fff; border: 1px solid #eee; text-align: center; padding: 40px 24px; }
.contact-icon { font-size: 40px; margin-bottom: 14px; }
.contact-card h3 { font-size: 18px; margin-bottom: 12px; }
.contact-card p { color: #555; }
.contact-note { font-size: 13px; color: #999; margin-top: 6px; }
.contact-form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-form-text h2 { font-size: 26px; margin-bottom: 16px; }
.contact-form-text p { color: #666; margin-bottom: 10px; }
.contact-form { background: #fff; border: 1px solid #eee; padding: 30px; }
.contact-form label { display: block; margin-bottom: 16px; font-size: 14px; color: #555; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #ddd; font-size: 14px; outline: none; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #1e5bb8; }
.btn-primary { width: 100%; padding: 12px; background: #1e5bb8; color: #fff; border: none; font-size: 15px; cursor: pointer; letter-spacing: 4px; }
.btn-primary:hover { background: #174a97; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .header-inner { flex-direction: column; height: auto; padding: 12px 0; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .nav a { line-height: 40px; padding: 0 10px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-brief, .scope-inner, .contact-form-wrap, .detail-body { grid-template-columns: 1fr; }
  .search-wrap { width: 100%; margin: 10px 0 0; }
  .oil-card { flex-direction: column; align-items: stretch; }
  .oil-card img { width: 100%; height: 220px; }
  .oil-name { padding: 16px; }
  .site-search { flex: 1; width: auto; }
  .search-results { width: 100%; left: 0; right: auto; }
  .quick-inner { flex-direction: column; align-items: flex-start; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .banner-slides { height: 300px; }
  .banner-caption h2 { font-size: 26px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
