/* ============================================
   浩凯智能科技 企业官网主题样式
   主色: 科技蓝 #0d4f9e / 深蓝 #0a2e5c / 活力橙 #ff6a00
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 2px 12px rgba(10,46,92,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg,#0d4f9e,#0a2e5c); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; }
.logo-text { font-size: 22px; font-weight: 700; color: #0a2e5c; letter-spacing: 1px; }
.logo-text small { display: block; font-size: 11px; color: #888; font-weight: 400; letter-spacing: 2px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav ul li a { display: block; padding: 26px 0; font-size: 15px; color: #333; border-bottom: 3px solid transparent; transition: all .25s; }
.main-nav ul li a:hover, .main-nav ul li.current-menu-item a { color: #0d4f9e; border-bottom-color: #ff6a00; }
.nav-phone { font-size: 15px; color: #0d4f9e; font-weight: 700; white-space: nowrap; }
.nav-phone i { color: #ff6a00; margin-right: 6px; font-style: normal; }
@media (max-width: 900px) { .main-nav { display: none; } .header-inner { justify-content: space-between; } }

/* ---------- Banner ---------- */
.hero { position: relative; height: 520px; overflow: hidden; background: #0a2e5c; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,46,92,.85) 0%, rgba(13,79,158,.55) 55%, rgba(13,79,158,.15) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-content h1 { color: #fff; font-size: 46px; margin-bottom: 18px; letter-spacing: 2px; }
.hero-content p { color: rgba(255,255,255,.92); font-size: 18px; max-width: 640px; }
.hero-cta { margin-top: 30px; display: inline-block; padding: 13px 38px; background: #ff6a00; color: #fff; font-size: 16px; border-radius: 4px; transition: background .25s; }
.hero-cta:hover { background: #e05c00; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .25s; }
.hero-dots span.active { background: #ff6a00; }

/* ---------- 区块通用 ---------- */
.section { padding: 70px 0; }
.section-gray { background: #f5f7fa; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 30px; color: #0a2e5c; position: relative; display: inline-block; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 52px; height: 3px; background: #ff6a00; border-radius: 2px; }
.section-head p { color: #888; margin-top: 10px; font-size: 14px; }

/* ---------- 公司简介区 ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.intro-text h3 { font-size: 26px; color: #0a2e5c; margin-bottom: 18px; }
.intro-text p { color: #555; margin-bottom: 14px; text-indent: 2em; }
.intro-stats { display: flex; gap: 30px; margin-top: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 32px; color: #0d4f9e; }
.stat span { font-size: 13px; color: #888; }
.intro-img img { border-radius: 10px; box-shadow: 0 10px 30px rgba(10,46,92,.15); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- 产品中心 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.prod-card { background: #fff; border: 1px solid #eef1f5; border-radius: 8px; overflow: hidden; text-align: center; transition: all .3s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 10px 26px rgba(10,46,92,.12); border-color: #ff6a00; }
.prod-card .thumb { height: 168px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 14px; }
.prod-card .thumb img { max-height: 100%; object-fit: contain; }
.prod-card h4 { padding: 14px 8px; font-size: 15px; color: #0a2e5c; border-top: 1px solid #f0f2f5; }
.prod-card h4 a:hover { color: #ff6a00; }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 工程案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-item { position: relative; border-radius: 8px; overflow: hidden; height: 190px; }
.case-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-item:hover img { transform: scale(1.08); }
.case-item .cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(10,46,92,.85)); color: #fff; font-size: 13px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 资质/优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item { text-align: center; padding: 30px 18px; background: #fff; border-radius: 8px; border: 1px solid #eef1f5; transition: all .3s; }
.adv-item:hover { box-shadow: 0 10px 26px rgba(10,46,92,.12); transform: translateY(-4px); }
.adv-item .ico { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, #0d4f9e, #0a2e5c); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.adv-item h4 { color: #0a2e5c; margin-bottom: 8px; }
.adv-item p { font-size: 13px; color: #888; }
@media (max-width: 900px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 资质证书 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qual-item { border: 1px solid #eef1f5; border-radius: 8px; overflow: hidden; background: #fff; }
.qual-item img { width: 100%; height: 200px; object-fit: cover; }
.qual-item p { padding: 10px; text-align: center; font-size: 13px; color: #555; }
@media (max-width: 900px) { .qual-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 联系我们 CTA ---------- */
.contact-cta { background: linear-gradient(120deg, #0a2e5c, #0d4f9e); color: #fff; text-align: center; padding: 60px 20px; }
.contact-cta h2 { font-size: 30px; margin-bottom: 14px; }
.contact-cta p { color: rgba(255,255,255,.85); margin-bottom: 26px; }
.contact-cta .tel { font-size: 40px; font-weight: 700; color: #ff6a00; letter-spacing: 1px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #071f3f; color: #aab8cc; padding: 46px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 34px; }
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-grid p, .footer-grid li { font-size: 13px; line-height: 2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; text-align: center; font-size: 12px; color: #6d7c92; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 页面通用（内页） ---------- */
.page-banner { background: linear-gradient(120deg, #0a2e5c, #0d4f9e); padding: 56px 0; color: #fff; }
.page-banner h1 { font-size: 32px; }
.page-banner p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 14px; }
.page-body { padding: 50px 0 70px; }
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 26px; }
.breadcrumb a { color: #0d4f9e; }
.entry-content p { margin-bottom: 14px; color: #555; }
.entry-content h3 { color: #0a2e5c; margin: 22px 0 12px; }

/* 产品列表页（分类页） */
.prod-list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .prod-list-grid { grid-template-columns: repeat(2, 1fr); } }

/* 产品详情页 */
.prod-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.prod-detail .gallery img { border: 1px solid #eef1f5; border-radius: 8px; }
.prod-detail h1 { color: #0a2e5c; font-size: 28px; margin-bottom: 16px; }
.prod-detail .desc { color: #555; margin-bottom: 20px; }
.prod-spec { width: 100%; border-collapse: collapse; margin: 16px 0; }
.prod-spec th, .prod-spec td { border: 1px solid #e6eaf0; padding: 10px 14px; font-size: 14px; text-align: left; }
.prod-spec th { background: #f5f7fa; color: #0a2e5c; width: 130px; }
.tel-box { margin-top: 26px; padding: 18px 22px; background: #f5f7fa; border-left: 4px solid #ff6a00; border-radius: 4px; }
.tel-box b { color: #0a2e5c; }
.tel-box .num { color: #ff6a00; font-size: 24px; font-weight: 700; }
@media (max-width: 900px) { .prod-detail { grid-template-columns: 1fr; } }

/* 案例列表 */
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-list .case-item { height: 220px; }
@media (max-width: 900px) { .case-list { grid-template-columns: 1fr; } }

/* ---------- 联系方式页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info li { padding: 16px 0; border-bottom: 1px dashed #e6eaf0; display: flex; gap: 14px; align-items: flex-start; }
.contact-info .label { color: #0d4f9e; font-weight: 700; min-width: 60px; }
.contact-info .val { color: #555; }
.contact-map { border-radius: 8px; overflow: hidden; border: 1px solid #eef1f5; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* 关于我们 */
.about-section { margin-bottom: 40px; }
.about-section h3 { color: #0a2e5c; font-size: 22px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid #ff6a00; }
.about-section p { color: #555; margin-bottom: 12px; }

/* ---------- 资料下载 ---------- */
.doc-download { margin: 22px 0 8px; padding: 18px 22px; background: #f8fafc; border: 1px solid #e6eaf0; border-radius: 8px; }
.doc-download h3 { font-size: 17px; color: #0a2e5c; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.doc-download h3::after { content: ""; flex: 1; height: 1px; background: #e6eaf0; }
.doc-download ul li { margin-bottom: 8px; }
.doc-download ul li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid #e6eaf0; border-radius: 6px; transition: all .25s; }
.doc-download ul li a:hover { border-color: #0d4f9e; box-shadow: 0 4px 14px rgba(13,79,158,.1); }
.doc-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 6px; background: linear-gradient(135deg,#ff6a00,#e05c00); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.doc-name { flex: 1; color: #333; font-size: 14px; }
.doc-size { color: #999; font-size: 12px; }
.doc-btn { flex: 0 0 auto; padding: 5px 14px; background: #0d4f9e; color: #fff; font-size: 12px; border-radius: 4px; }
@media (max-width: 600px) { .doc-size { display: none; } }
