/* =========================================================
   中良一机 官网样式 · 第三版
   设计语言：明亮专业企业风
   - 白底为主，深蓝品牌色，水蓝为辅，橙色仅点缀 CTA
   - 参考同行业头部企业官网的"干净、专业、可信"调性
   - 充足留白、细线边框、轻阴影、克制装饰
   ========================================================= */

:root {
    --navy: #0b2d5c;        /* 品牌深蓝 */
    --navy-deep: #081f3d;   /* 更深：页脚/暗底 */
    --navy-mid: #12406f;
    --blue: #1b6fd8;        /* 水蓝：辅助/链接 */
    --blue-deep: #1456a8;
    --cyan: #17a2d6;        /* 冷却水青 */
    --orange: #f07b1f;      /* CTA 橙：少量点睛 */
    --orange-deep: #d96912;
    --ink: #1c2430;         /* 正文 */
    --gray: #5b6b7c;        /* 次级 */
    --faint: #97a3b3;       /* 弱化 */
    --line: #e6eaf0;        /* 分隔线 */
    --line-strong: #cfd7e2;
    --bg: #f5f7fa;          /* 浅灰底 */
    --white: #fff;
    --shadow: 0 2px 8px rgba(11, 45, 92, .06);
    --shadow-lg: 0 10px 30px rgba(11, 45, 92, .12);
    --radius: 6px;
    --sans: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .18s, background .18s, border-color .18s; }
img { max-width: 100%; display: block; }

.container { width: 1200px; max-width: 92%; margin: 0 auto; }

/* 通用小标注（英文上标，清爽） */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 600;
}
.tag::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--orange);
}
.tag.light { color: rgba(255,255,255,.8); }

/* ---------- 顶部信息条（细、深蓝） ---------- */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
    letter-spacing: .5px;
}
.topbar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 34px;
}
.topbar-left { display: flex; gap: 24px; }
.topbar-right { display: flex; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item .dot { width: 4px; height: 4px; background: var(--orange); display: inline-block; border-radius: 50%; }
.topbar a:hover { color: var(--orange); }

/* ---------- 页头（白底） ---------- */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 4px 16px rgba(11, 45, 92, .08); }
.head-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.brand img { height: 42px; width: auto; }
.brand svg { height: 42px; width: auto; }
.brand-txt { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.brand-txt b { font-size: 11.5px; color: var(--navy); letter-spacing: 1.2px; font-weight: 600; white-space: nowrap; }
.brand-txt i { display: none; }

/* 导航（白底深蓝字）：加了视频中心后共 8 项，空间紧，禁止文字换行 */
.nav { display: flex; align-items: center; gap: 2px; height: 100%; flex-shrink: 0; }
.nav > a, .nav-drop > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    font-size: 15px;
    color: var(--ink);
    position: relative;
    white-space: nowrap;
}
.nav > a:hover, .nav-drop > a:hover { color: var(--blue); }
.nav > a.on, .nav-drop > a.on { color: var(--navy); font-weight: 700; }
.nav > a::after, .nav-drop > a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 0;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform .22s;
}
.nav > a:hover::after, .nav-drop > a:hover::after,
.nav > a.on::after, .nav-drop > a.on::after { transform: scaleX(1); }

.nav-drop { position: relative; height: 100%; display: flex; align-items: center; }
.drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 2px solid var(--blue);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s;
    box-shadow: var(--shadow-lg);
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a {
    display: block;
    padding: 9px 22px;
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
}
.drop-menu a:hover { background: var(--bg); color: var(--blue); }

/* 移动端汉堡 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); display: block; }

/* ---------- 首屏轮播（全屏大图） ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; max-height: 900px; overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 31, 61, .82) 0%, rgba(8, 31, 61, .55) 48%, rgba(8, 31, 61, .18) 100%);
}
.hero-txt {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}
.hero-txt .container { position: relative; z-index: 2; }
.hero-txt h1 {
    font-size: 48px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 2px;
    max-width: 660px;
    text-shadow: 0 2px 14px rgba(0,0,0,.35);
    margin-top: 16px;
}
.hero-txt h1 em { font-style: normal; color: var(--cyan); }
.hero-txt p {
    margin-top: 16px;
    font-size: 16.5px;
    color: rgba(255,255,255,.85);
    max-width: 540px;
    letter-spacing: .5px;
}
.hero-btns { display: flex; gap: 16px; margin-top: 32px; }

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 32px;
    font-size: 15px;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .22s;
    font-family: inherit;
    border-radius: var(--radius);
}
.btn-main { background: var(--blue); color: #fff; }
.btn-main:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27, 111, 216, .3); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); color: #fff; }

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}
.hero-dots i {
    width: 28px; height: 3px;
    background: rgba(255,255,255,.32);
    cursor: pointer;
    transition: background .25s;
}
.hero-dots i.on { background: var(--orange); }

/* ---------- 区块 ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--bg); }

/* 区块标题 */
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .tag { justify-content: center; }
.sec-head h2 {
    font-size: 30px;
    color: var(--navy);
    letter-spacing: 2px;
    font-weight: 700;
    margin-top: 12px;
}
.sec-head .sub { color: var(--gray); margin-top: 12px; font-size: 14.5px; }
.sec-head .line {
    width: 48px; height: 3px;
    background: var(--orange);
    margin: 16px auto 0;
}

/* 左对齐变体 */
.sec-head.left { text-align: left; }
.sec-head.left .tag { justify-content: flex-start; }
.sec-head.left .line { margin-left: 0; }
.sec-head .more {
    position: absolute;
    right: 0;
    bottom: 4px;
    font-size: 13.5px;
    color: var(--gray);
}
.sec-head .more:hover { color: var(--blue); }
.sec-head .more::after { content: " →"; }

/* ---------- 产品系列（首页） ---------- */
.series-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}
.series-tabs a {
    padding: 8px 22px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 14.5px;
    color: var(--gray);
    border-radius: 20px;
    transition: all .2s;
}
.series-tabs a:hover, .series-tabs a.on {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.pro-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .28s;
    display: block;
}
.pro-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: transparent;
}
.pro-img { height: 200px; overflow: hidden; position: relative; background: var(--bg); }
.pro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pro-card:hover .pro-img img { transform: scale(1.07); }
.pro-img .noimg {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    letter-spacing: 3px;
}
.pro-body { padding: 15px 17px 17px; }
.pro-body h3 {
    font-size: 15.5px;
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pro-card:hover .pro-body h3 { color: var(--blue); }
.pro-body .cat {
    font-size: 12.5px;
    color: var(--faint);
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pro-body .cat b {
    color: var(--blue);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1px;
}
.pro-card:hover .cat b::after { content: " →"; }

.more-line { text-align: center; margin-top: 40px; }

/* ---------- 数据条（深蓝渐变，克制） ---------- */
.advance {
    background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-item { text-align: center; color: #fff; padding: 8px 0; }
.adv-item + .adv-item { border-left: 1px solid rgba(255,255,255,.12); }
.adv-num { font-size: 42px; font-weight: 700; font-family: var(--mono); letter-spacing: 1px; color: #fff; line-height: 1.1; }
.adv-num i { font-style: normal; font-size: 18px; color: var(--orange); margin-left: 4px; }
.adv-item p { color: rgba(255,255,255,.7); font-size: 13.5px; margin-top: 8px; letter-spacing: 1px; }

/* ---------- 关于（首页图文） ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.about-img::after {
    content: "";
    position: absolute;
    right: -14px; bottom: -14px;
    width: 130px; height: 130px;
    border-right: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    z-index: -1;
}
.about-txt h2 { font-size: 28px; color: var(--navy); letter-spacing: 2px; margin: 10px 0 18px; }
.about-txt .desc { color: var(--gray); line-height: 2; font-size: 14.5px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 26px 0 32px; }
.about-points li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
}
.about-points li::before {
    content: "✓";
    color: var(--blue);
    font-weight: 700;
    font-size: 13px;
    flex: none;
}

/* ---------- 新闻（首页列表式） ---------- */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; }
.news-item { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding-left .2s; }
.news-item:hover { padding-left: 8px; }
.news-date {
    flex: none;
    width: 62px;
    text-align: center;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 6px 0;
}
.news-date b { display: block; font-size: 22px; color: var(--navy); font-family: var(--mono); line-height: 1.2; }
.news-date span { font-size: 11px; color: var(--faint); letter-spacing: 1px; }
.news-item:hover .news-date { background: var(--blue); }
.news-item:hover .news-date b, .news-item:hover .news-date span { color: #fff; }
.news-body h3 { font-size: 16px; line-height: 1.5; font-weight: 600; }
.news-item:hover .news-body h3 { color: var(--blue); }
.news-body p { font-size: 13px; color: var(--faint); margin-top: 5px; line-height: 1.7; }
.news-body .tag { font-size: 11px; color: var(--blue); margin-top: 7px; letter-spacing: 1px; font-weight: 400; }
.news-body .tag::before { width: 12px; }

/* ---------- 首页联系 CTA ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 100%);
    padding: 50px 0;
}
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-in h3 { color: #fff; font-size: 25px; letter-spacing: 2px; }
.cta-in p { color: rgba(255,255,255,.68); margin-top: 8px; font-size: 14.5px; letter-spacing: 1px; }

/* ---------- 内页横幅（浅底、清爽） ---------- */
.page-banner {
    height: 220px;
    position: relative;
    background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-mid) 100%);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.page-banner::after {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 260px; height: 260px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
}
.page-banner::before {
    content: "";
    position: absolute;
    right: 40px; top: 40px;
    width: 120px; height: 120px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: 32px; letter-spacing: 3px; font-weight: 700; }
.crumb { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: 1px; }
.crumb a { color: rgba(255,255,255,.9); }
.crumb a:hover { color: var(--orange); }

/* ---------- 列表页双栏 ---------- */
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-title {
    background: var(--navy);
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.side-title i { font-style: normal; font-size: 10px; color: rgba(255,255,255,.55); letter-spacing: 2px; }
.side-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    font-size: 14.5px;
    color: var(--ink);
    transition: all .18s;
}
.side-menu a:hover, .side-menu a.on { background: var(--white); color: var(--blue); }
.side-menu a.on { font-weight: 700; border-left: 3px solid var(--blue); }
.side-menu a.on::after { content: "›"; color: var(--blue); font-size: 18px; }

.list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--navy);
}
.list-head h2 { font-size: 21px; color: var(--navy); letter-spacing: 2px; }
.list-head .count { font-size: 13px; color: var(--faint); }
.list-head .count b { color: var(--blue); }

.pro-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- 详情页 ---------- */
.detail-head {
    border-bottom: 2px solid var(--navy);
    padding-bottom: 16px;
    margin-bottom: 30px;
}
.detail-head h1 { font-size: 24px; color: var(--navy); }
.detail-meta { font-size: 13px; color: var(--faint); margin-top: 8px; display: flex; gap: 22px; }
.detail-meta b { color: var(--blue); font-weight: 400; }

.detail-body { line-height: 2; }
.single-content { max-width: 920px; margin: 0 auto; }
.single-content-head { margin-bottom: 22px; }
.single-content-head .tag { margin-bottom: 8px; }
.single-content-head h2 { font-size: 26px; color: var(--navy); }
.single-content-body img { max-width: 100%; height: auto; border-radius: 8px; }
.single-content-body p { margin: 0 0 14px; }
.single-content-body h2, .single-content-body h3 { color: var(--navy); margin: 24px 0 12px; }
.detail-body img { max-width: 100%; height: auto; margin: 16px auto; }
.detail-body p { margin: 10px 0; }
.detail-body h2, .detail-body h3 { color: var(--navy); margin: 22px 0 10px; }
.detail-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.detail-body table td, .detail-body table th { border: 1px solid var(--line); padding: 9px 14px; font-size: 14px; }
.detail-body table th { background: var(--bg); color: var(--navy); }

.detail-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    font-size: 14px;
}
.detail-nav a { color: var(--gray); max-width: 48%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-nav a:hover { color: var(--blue); }
.detail-nav .nav-next { text-align: right; }

/* ---------- 联系/留言页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.contact-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px 32px;
}
.contact-card h3 {
    color: var(--navy);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--blue);
}
.contact-line { display: flex; gap: 14px; padding: 13px 0; align-items: flex-start; }
.contact-line .ic {
    flex: none;
    width: 40px; height: 40px;
    background: var(--bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius);
}
.contact-line b { display: block; font-size: 13px; color: var(--faint); font-weight: 400; letter-spacing: 1px; }
.contact-line span { font-size: 15px; color: var(--ink); }

/* 地址卡片：点击跳转百度导航 */
.map-guide {
    margin-top: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.map-guide::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--orange);
}
.map-guide-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 28px 34px;
    flex-wrap: wrap;
}
.map-guide h3 {
    color: var(--navy);
    font-size: 19px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.map-guide h3::before {
    content: "";
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
    display: inline-block;
}
.map-guide .addr {
    color: var(--gray);
    font-size: 14.5px;
    margin-top: 8px;
    line-height: 1.8;
}
.map-guide .addr b { color: var(--navy); font-weight: 700; }
.map-guide .mg-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    border-radius: var(--radius);
    transition: all .2s;
}
.nav-btn:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); }
.nav-btn.ghost { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.nav-btn.ghost:hover { background: var(--navy); color: #fff; }

/* 表单 */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; color: var(--gray); margin-bottom: 7px; letter-spacing: 1px; }
.form-row label i { color: var(--orange); font-style: normal; margin-right: 3px; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: inherit;
    transition: border-color .2s;
    border-radius: var(--radius);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 111, 216, .12);
}
.form-row textarea { height: 120px; resize: vertical; }
.form-tip { padding: 11px 16px; font-size: 14px; margin-bottom: 18px; border-left: 3px solid; border-radius: var(--radius); }
.form-tip.ok { background: #edf9f0; color: #1d7a3e; border-color: #34a853; }
.form-tip.err { background: #fdf0f0; color: #b3372f; border-color: #d84a4a; }

/* 搜索框 */
.search-bar {
    display: flex;
    gap: 0;
    margin-bottom: 34px;
    max-width: 560px;
}
.search-bar input {
    flex: 1;
    border: 1px solid var(--line);
    border-right: 0;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border-radius: var(--radius) 0 0 var(--radius);
}
.search-bar input:focus { outline: none; border-color: var(--blue); }
.search-bar button {
    border: 0;
    background: var(--blue);
    color: #fff;
    padding: 0 26px;
    font-size: 15px;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: inherit;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.search-bar button:hover { background: var(--blue-deep); }

/* ---------- 文章列表 ---------- */
.art-list { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.art-item {
    display: flex;
    gap: 24px;
    padding: 24px 26px;
    transition: background .2s;
}
.art-item:hover { background: var(--bg); }
.art-item .d {
    flex: none;
    width: 66px;
    text-align: center;
    padding-right: 14px;
}
.art-item .d b { display: block; font-size: 24px; color: var(--navy); font-family: var(--mono); }
.art-item .d span { font-size: 11.5px; color: var(--faint); }
.art-item h3 { font-size: 16.5px; }
.art-item:hover h3 { color: var(--blue); }
.art-item p { font-size: 13.5px; color: var(--faint); margin-top: 5px; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span {
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 14px;
    color: var(--ink);
    padding: 0 10px;
    border-radius: var(--radius);
}
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .cur { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 空状态 ---------- */
.empty {
    text-align: center;
    padding: 70px 0;
    color: var(--gray);
    background: var(--bg);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    font-size: 14.5px;
    letter-spacing: 2px;
}

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); }
.foot-in {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 44px;
    padding: 56px 0 44px;
}
.foot-logo { height: 40px; width: auto; margin-bottom: 14px; }
.foot-name { display: block; font-size: 15px; color: #fff; letter-spacing: 1px; font-weight: 600; margin-bottom: 10px; }
.foot-about p { font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.5); }
.foot-col h4 {
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    position: relative;
}
.foot-col h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 34px; height: 2px;
    background: var(--orange);
}
.foot-col a { display: block; font-size: 13.5px; padding: 5px 0; color: rgba(255,255,255,.55); }
.foot-col a:hover { color: var(--orange); padding-left: 6px; }
.foot-contact p { font-size: 13.5px; padding: 5px 0; line-height: 1.8; color: rgba(255,255,255,.55); }
.foot-bar { border-top: 1px solid rgba(255,255,255,.1); }
.foot-bar-in {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 12.5px;
    color: rgba(255,255,255,.45);
}
.foot-bar-in a:hover { color: var(--orange); }

/* ---------- 右侧浮动 ---------- */
.float-box { position: fixed; right: 18px; bottom: 60px; z-index: 90; }
.fb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    font-size: 12px;
    color: var(--gray);
    padding: 9px 0;
    margin-top: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    border-radius: var(--radius);
}
.fb-item:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.fb-tel b { font-size: 12px; color: var(--navy); font-family: var(--mono); }
.fb-tel:hover b { color: #fff; }
.fb-tel i { font-style: normal; font-size: 10px; margin-top: 2px; }
.fb-item .fb-ic { font-size: 17px; line-height: 1; margin-bottom: 3px; }

/* ---------- 响应式 ---------- */
/* ---------- 企业荣誉 / 合作伙伴 ---------- */
/* 多张证书比例不一致时（有横版有竖版），卡片各按各的高度，不强行拉齐留出空白 */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.honor-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.honor-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(11,45,92,.12); }
/* 荣誉证书图：框的比例由 JS 按图片自身宽高设定（竖版证书配竖框、横版配横框），
   图片铺满框子、没有多余留白。不写死高度——JS 没跑起来时图片也能按原比例把框撑开 */
.honor-img {
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.honor-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.honor-body { padding: 12px 10px 14px; text-align: center; }
.honor-body h3 { color: var(--navy); font-size: 16px; margin: 0 0 4px; }
.honor-body p { color: var(--gray); font-size: 13px; line-height: 1.7; margin: 0; }
.partner-section { background: var(--bg); }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.partner-card { min-height: 92px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; transition: border-color .2s, box-shadow .2s; }
.partner-card:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(11,45,92,.08); }
.partner-card img { max-width: 100%; max-height: 54px; object-fit: contain; }
.partner-card span { color: var(--navy); font-size: 14px; font-weight: 600; text-align: center; }
@media (max-width: 1024px) {
    .pro-grid, .pro-list { grid-template-columns: repeat(2, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .adv-item:nth-child(odd) { border-right: none; }
    .contact-grid, .news-grid { grid-template-columns: 1fr; }
    .list-layout { grid-template-columns: 1fr; }
    .foot-in { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .nav-toggle { display: flex; }
    .hero { height: 88vh; min-height: 480px; }
    .hero-txt h1 { font-size: 34px; }
    .cta-in { flex-direction: column; align-items: flex-start; }
    .nav.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 10px 0 20px; }
    .nav.open > a, .nav.open .nav-drop > a { height: auto; padding: 12px 24px; }
    .nav.open .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--blue); margin-left: 24px; }
    .honor-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .pro-grid, .pro-list { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
    .foot-in { grid-template-columns: 1fr; }
    .topbar-in { justify-content: center; gap: 14px; height: auto; padding: 8px 0; flex-wrap: wrap; }
    .topbar-left, .topbar-right { gap: 14px; flex-wrap: wrap; }
    .section { padding: 50px 0; }
    .head-in { min-height: 72px; height: auto; padding: 8px 0; }
    .brand { gap: 3px; min-width: 0; }
    .brand img { height: 34px; }
    .brand-txt b { font-size: 10px; letter-spacing: .5px; white-space: nowrap; }
    .nav.open { top: 72px; }
    .hero { height: 100svh; min-height: 480px; max-height: 760px; }
    .hero-txt { padding: 0 4px; }
    .hero-txt h1 { font-size: 28px; line-height: 1.35; }
    .hero-txt p { font-size: 14px; line-height: 1.8; max-width: 300px; }
    .hero-btns { flex-direction: row; gap: 10px; }
    .hero-btns .btn { width: auto; min-width: 120px; }
    .float-box { display: none; }
    .page-banner { height: 150px; }
    .page-banner h1 { font-size: 24px; }
    .map-guide-in { padding: 22px; }
    .sec-head h2 { font-size: 24px; }
    .contact-card { padding: 22px; }
    .honor-grid { grid-template-columns: 1fr; gap: 16px; }
    /* 手机单列：证书占满整行宽度，比例跟随图片本身（JS 设定），不封顶免得压出两侧白边 */
    .honor-img { max-height: none; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .partner-card { min-height: 78px; padding: 10px; }
    .foot-name { font-size: 13px; }
}

/* ---------- 兼容补丁 ---------- */
/* 内页/相关产品的区块标题：左排变体 */
.sec-head .row { text-align: left; position: relative; }
.sec-head .row .tag { justify-content: flex-start; }
.sec-head .row .line { margin-left: 0; }

/* 页脚直接用反白版 logo 文件，不需要滤镜 */

/* banner 内的英文标注用浅色，深蓝底上更清晰 */
.page-banner .tag { color: rgba(255,255,255,.85); }
.page-banner .tag::before { background: var(--orange); }

/* ===== 产品详情：淘宝式左图右参数 ===== */
.pd-top { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 46px; align-items: start; }
.pd-gallery { position: sticky; top: 22px; }
.pd-main-img { border: 1px solid var(--line); border-radius: var(--radius, 8px); overflow: hidden; background: #fff; }
.pd-main-img img { width: 100%; height: 420px; object-fit: contain; display: block; }
.pd-main-img .noimg { height: 420px; display: flex; align-items: center; justify-content: center; color: var(--faint); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs i { width: 74px; height: 74px; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; display: block; background: #fff; }
.pd-thumbs i.on { border-color: var(--blue); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 26px; color: var(--navy); line-height: 1.45; }
.pd-meta { color: var(--gray); font-size: 13.5px; margin: 14px 0 20px; display: flex; gap: 22px; flex-wrap: wrap; }
.pd-attrs { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); margin-bottom: 26px; }
.pd-attrs th, .pd-attrs td { border-bottom: 1px solid var(--line); padding: 10px 14px; font-size: 14px; text-align: left; vertical-align: top; }
.pd-attrs tr:nth-child(odd) { background: var(--bg); }
.pd-attrs th { width: 128px; color: var(--navy); font-weight: 600; white-space: nowrap; }
.pd-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-desc { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-desc-h { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.pd-desc-h::before { content: ''; width: 4px; height: 20px; border-radius: 2px; background: var(--blue); }
.pd-desc-c { color: var(--text, #334155); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.pd-desc-c p { margin: 0 0 12px; }
.pd-desc-c h2, .pd-desc-c h3, .pd-desc-c h4 { color: var(--navy); line-height: 1.45; margin: 22px 0 10px; }
.pd-desc-c img { display: block; max-width: 100%; height: auto; margin: 14px 0; border-radius: 6px; }
.pd-desc-c table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.pd-desc-c td, .pd-desc-c th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
/* 中等宽度下左列收窄一点，保持图左文右不竖排 */
@media (max-width: 1180px) and (min-width: 781px) {
    .pd-top { grid-template-columns: minmax(300px, 400px) 1fr; gap: 30px; }
    .pd-main-img img, .pd-main-img .noimg { height: 340px; }
}
@media (max-width: 780px) {
    .pd-top { grid-template-columns: 1fr; gap: 26px; }
    .pd-main-img img, .pd-main-img .noimg { height: 300px; }
    .pd-gallery { position: static; }
}

/* 关于版块同样：窄窗口也保持图左文右，只有手机宽度才竖排 */
@media (max-width: 760px) {
    .about-wrap { grid-template-columns: 1fr; gap: 30px; }
    .about-img img { height: 300px; }
}

/* ===== 视频中心 ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s, border-color .22s; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9dcf4; }
.video-cover { position: relative; background: var(--navy-deep); overflow: hidden; }
.video-cover img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .5s; }
.video-cover .noimg { display: flex; align-items: center; justify-content: center; height: 230px; color: rgba(255,255,255,.32); letter-spacing: 5px; font-size: 13px; }
.video-card:hover .video-cover img { transform: scale(1.05); }
.video-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(11,45,92,.5); border: 2px solid rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; transition: background .22s, transform .22s; }
.video-play i { width: 0; height: 0; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video-card:hover .video-play { background: var(--orange); transform: scale(1.08); }
.video-dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 3px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; letter-spacing: .5px; }
.video-body { padding: 16px 18px 20px; }
.video-body h3 { font-size: 16px; color: var(--navy); font-weight: 700; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-body p { margin-top: 8px; color: var(--gray); font-size: 13.5px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 播放弹层：16:9 居中，点遮罩或右上角都能关 */
.video-modal { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 900; display: none; }
.video-modal.on { display: block; }
.vm-mask { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(4,12,28,.9); }
.vm-box { position: relative; width: 900px; max-width: 92%; margin: 7vh auto 0; }
.vm-stage { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vm-stage video, .vm-stage iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; background: #000; }
.vm-stage video { object-fit: contain; }
.vm-title { margin-top: 12px; color: rgba(255,255,255,.9); font-size: 15px; text-align: center; }
.vm-close { position: absolute; right: -16px; top: -16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s; }
.vm-close:hover { background: var(--orange); }

@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
    .video-grid { grid-template-columns: 1fr; }
    .video-cover img, .video-cover .noimg { height: 200px; }
    .vm-box { margin-top: 13vh; }
    .vm-close { right: 0; top: -42px; }
}

/* ===== 头部搜索 ===== */
.nav-search { position: relative; display: flex; align-items: center; height: 100%; margin-left: 4px; }
.ns-btn { border: 0; background: none; cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--navy); border-radius: 50%; transition: background .2s; }
.ns-btn:hover { background: var(--bg); }
.ns-btn svg { width: 19px; height: 19px; }
.ns-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-lg); padding: 10px; display: none; z-index: 80; }
.nav-search.open .ns-panel { display: flex; gap: 8px; }
.ns-panel input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 10px; font-size: 14px; color: var(--ink); }
.ns-panel input:focus { outline: none; border-color: var(--blue); }
.ns-panel button { height: 38px; padding: 0 16px; border: 0; background: var(--navy); color: #fff; border-radius: 4px; cursor: pointer; font-size: 14px; }
.ns-panel button:hover { background: var(--navy-mid); }

@media (max-width: 1024px) {
    .nav-search { margin-left: auto; }
}

/* ===== 企业文化板块 ===== */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.culture-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 30px 24px 26px;
    position: relative;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.culture-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--blue), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.culture-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11, 45, 92, .1); border-color: transparent; }
.culture-card:hover::before { transform: scaleX(1); }
.culture-card h3 { font-size: 19px; color: var(--navy); letter-spacing: 1px; margin-bottom: 10px; }
.culture-card h3::after { content: ""; display: block; width: 26px; height: 3px; background: var(--orange, #f08300); margin-top: 10px; border-radius: 2px; }
.culture-card p { font-size: 14px; line-height: 1.8; color: var(--gray); }
@media (max-width: 1024px) { .culture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .culture-grid { grid-template-columns: 1fr; } .culture-card { padding: 24px 20px 22px; } }

/* ===== 首页进场动画：hero 文案与按钮依次浮现 ===== */
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-slide.on .hero-txt .container > * { animation: riseIn .8s ease both; }
.hero-slide.on .hero-txt .container > .tag { animation-delay: .15s; }
.hero-slide.on .hero-txt .container > h1 { animation-delay: .3s; }
.hero-slide.on .hero-txt .container > p { animation-delay: .45s; }
.hero-slide.on .hero-txt .container > .hero-btns { animation-delay: .6s; }

/* ===== 滚动浮现：JS 给板块容器加 reveal，进入视口后加 show ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* 尊重系统"减少动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
    .hero-slide.on .hero-txt .container > * { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
