/* ========== 全局重置与基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: #2c3e50;
    line-height: 1.7;
    background: #f5f8fb;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { width: 1200px; max-width: 96%; margin: 0 auto; }

/* ========== 顶栏（信息条） ========== */
.topbar {
    background: linear-gradient(90deg, #0b2545 0%, #134074 100%);
    color: #c9d6e8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #e6eef9; margin-left: 14px; }
.topbar .ico { display: inline-block; margin-right: 4px; }
.topbar .city-link { color: #ffd166; }
.topbar .city-link:hover { color: #fff; }

/* ========== 导航 + Banner 一体 ========== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0b2545 0%, #134074 45%, #1d4e89 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
/* 水波纹动画背景 */
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(64,180,229,.35), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0,119,182,.35), transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(173,216,230,.25), transparent 45%);
    z-index: -2;
}
.hero::after {
    content: "";
    position: absolute; left: -10%; right: -10%; bottom: -2px; height: 220px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23ffffff' fill-opacity='0.08' d='M0,224L60,213.3C120,203,240,181,360,176C480,171,600,181,720,186.7C840,192,960,192,1080,170.7C1200,149,1320,107,1380,85.3L1440,64L1440,320L0,320Z'/></svg>") no-repeat bottom center / cover;
    z-index: -1;
    animation: wave 12s linear infinite;
}
@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 导航 */
.nav {
    position: relative;
    z-index: 5;
    padding: 18px 0 6px;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
    display: flex; align-items: center; gap: 14px;
    font-weight: 700; letter-spacing: 1px;
}
.logo .mark {
    width: 50px; height: 50px; border-radius: 12px;
    background: linear-gradient(135deg, #40b4e5, #1d4e89);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px; font-weight: 800;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    border: 2px solid rgba(255,255,255,.4);
}
.logo .name { font-size: 24px; line-height: 1.1; }
.logo .name small { display: block; font-size: 12px; font-weight: 400; color: #b9d4ee; letter-spacing: 2px; margin-top: 2px; }
.logo .sep { color: #ffd166; font-weight: 400; margin: 0 6px; }
.logo .sub { color: #ffd166; font-size: 18px; font-weight: 600; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
    display: block; padding: 10px 18px; color: #eaf2fb;
    font-size: 15px; font-weight: 500; position: relative; border-radius: 6px;
    transition: all .3s;
}
.nav-list a:hover, .nav-list a.active {
    background: rgba(255,255,255,.12);
    color: #fff;
}
.nav-list a.active::after {
    content: ""; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
    width: 24px; height: 3px; border-radius: 2px; background: #ffd166;
}

/* Banner */
.banner {
    padding: 70px 0 110px;
    position: relative; z-index: 2;
}
.banner h1 {
    font-size: 42px; font-weight: 800; line-height: 1.25;
    max-width: 800px;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.banner h1 em { font-style: normal; color: #ffd166; }
.banner .sub-h {
    margin-top: 18px; font-size: 18px; color: #d6e4f3;
    max-width: 720px; line-height: 1.7;
}
.banner .tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.banner .tags span {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    padding: 6px 14px; border-radius: 30px; font-size: 13px;
    backdrop-filter: blur(6px);
}
.banner .cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: all .3s; border: none;
}
.btn-primary { background: #ffd166; color: #0b2545; box-shadow: 0 8px 24px rgba(255,209,102,.35); }
.btn-primary:hover { background: #ffc233; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* 浮动气泡装饰 */
.bubble {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,.08);
    animation: float 8s ease-in-out infinite;
}
.bubble.b1 { width: 80px; height: 80px; top: 30%; right: 8%; animation-delay: 0s; }
.bubble.b2 { width: 40px; height: 40px; top: 18%; right: 22%; animation-delay: 2s; }
.bubble.b3 { width: 60px; height: 60px; top: 60%; right: 14%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: .6; }
    50% { transform: translateY(-30px) scale(1.05); opacity: .9; }
}

/* ========== 通用板块 ========== */
.section { padding: 70px 0; }
.section h2.sec-title {
    text-align: center; font-size: 32px; font-weight: 800; color: #0b2545;
    position: relative; padding-bottom: 16px; margin-bottom: 14px;
}
.section h2.sec-title::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 60px; height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, #40b4e5, #1d4e89);
}
.section .sec-sub {
    text-align: center; color: #6b7a90; font-size: 15px; max-width: 760px; margin: 0 auto 50px;
}

/* 核心优势 */
.advantages { background: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
    text-align: center; padding: 36px 22px; border-radius: 12px;
    background: #f5f8fb; transition: all .35s;
    border: 1px solid transparent;
}
.adv-card:hover {
    background: #fff; transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(19,64,116,.12);
    border-color: rgba(64,180,229,.3);
}
.adv-card .ico {
    width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
    background: linear-gradient(135deg, #40b4e5, #1d4e89);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px; font-weight: 800;
    box-shadow: 0 8px 18px rgba(29,78,137,.25);
}
.adv-card h3 { font-size: 18px; color: #0b2545; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: #6b7a90; }

/* 产品 */
.products { background: #f5f8fb; }
.prod-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.prod-tabs .tab {
    padding: 8px 20px; border-radius: 30px; cursor: pointer;
    background: #fff; color: #134074; font-size: 14px; font-weight: 500;
    border: 1px solid #d6e4f3; transition: all .25s;
}
.prod-tabs .tab:hover, .prod-tabs .tab.active {
    background: linear-gradient(135deg, #134074, #1d4e89);
    color: #fff; border-color: transparent;
}
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 14px rgba(11,37,69,.06);
    transition: all .3s; cursor: pointer;
    display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(11,37,69,.12); }
.prod-card .img-wrap { width: 100%; height: 180px; overflow: hidden; background: #eaf2fb; }
.prod-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .img-wrap img { transform: scale(1.06); }
.prod-card .info { padding: 14px 16px 18px; flex: 1; }
.prod-card .info h4 { font-size: 15px; color: #0b2545; line-height: 1.5; min-height: 45px; }
.prod-card .info p { font-size: 13px; color: #7d8a9e; margin-top: 8px; line-height: 1.6; }
.prod-card .info .more { display: inline-block; margin-top: 10px; color: #1d4e89; font-size: 13px; font-weight: 600; }
.prod-card .info .more::after { content: " →"; }

/* 产品分类分组（用于 JS 切换） */
.prod-group { display: none; }
.prod-group.active { display: grid; }

/* 应用领域 */
.applications { background: #fff; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card {
    position: relative; height: 180px; border-radius: 12px; overflow: hidden;
    cursor: pointer;
}
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.app-card:hover img { transform: scale(1.08); }
.app-card .mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(11,37,69,.85));
    display: flex; flex-items: flex-end; padding: 18px; color: #fff;
}
.app-card .mask h4 { font-size: 18px; }
.app-card .mask p { font-size: 13px; opacity: .85; margin-top: 4px; }

/* 公司介绍 */
.about { background: linear-gradient(135deg, #0b2545 0%, #134074 100%); color: #fff; position: relative; overflow: hidden; }
.about::before {
    content: ""; position: absolute; inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'><circle cx='40' cy='40' r='1' fill='%23ffffff' opacity='0.08'/></svg>") repeat;
    z-index: 0;
}
.about .container { position: relative; z-index: 1; }
.about h2.sec-title { color: #fff; }
.about h2.sec-title::after { background: linear-gradient(90deg, #ffd166, #40b4e5); }
.about .sec-sub { color: #c9d6e8; }
.about-content { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about-text p { font-size: 15px; color: #d6e4f3; margin-bottom: 14px; line-height: 1.9; }
.about-text .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.about-text .stat { text-align: center; padding: 18px 10px; background: rgba(255,255,255,.08); border-radius: 8px; border: 1px solid rgba(255,255,255,.12); }
.about-text .stat .num { font-size: 28px; font-weight: 800; color: #ffd166; }
.about-text .stat .lbl { font-size: 13px; color: #c9d6e8; margin-top: 4px; }
.about-img { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.about-img img { width: 100%; height: 380px; object-fit: cover; }

/* 工艺流程 */
.process { background: #f5f8fb; }
.proc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.proc-step {
    text-align: center; padding: 26px 14px; background: #fff; border-radius: 10px;
    position: relative; transition: all .3s;
}
.proc-step:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(19,64,116,.1); }
.proc-step .n {
    width: 44px; height: 44px; line-height: 44px; margin: 0 auto 12px;
    border-radius: 50%; background: linear-gradient(135deg, #40b4e5, #1d4e89);
    color: #fff; font-weight: 800; font-size: 18px;
}
.proc-step h4 { font-size: 15px; color: #0b2545; margin-bottom: 6px; }
.proc-step p { font-size: 12px; color: #7d8a9e; }
.proc-step:not(:last-child)::after {
    content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
    color: #40b4e5; font-size: 20px; font-weight: 800;
}

/* 资质 */
.qual { background: #fff; }
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qual-card { background: #f5f8fb; border-radius: 10px; padding: 16px; text-align: center; }
.qual-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; }
.qual-card h4 { font-size: 14px; color: #0b2545; margin-top: 10px; }

/* FAQ */
.faq { background: #f5f8fb; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: #fff; border-radius: 10px; margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(11,37,69,.05);
    overflow: hidden; transition: all .3s;
}
.faq-item:hover { box-shadow: 0 10px 24px rgba(11,37,69,.1); }
.faq-q {
    padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-size: 16px; font-weight: 600; color: #0b2545;
}
.faq-q .q-no { color: #1d4e89; margin-right: 10px; }
.faq-q .arrow { transition: transform .3s; color: #40b4e5; font-size: 18px; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
    padding: 0 22px; color: #4a5a72; font-size: 14px; line-height: 1.9;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 20px; }

/* 联系方式 */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.contact-info { background: linear-gradient(135deg, #0b2545 0%, #134074 100%); color: #fff; border-radius: 14px; padding: 40px; position: relative; overflow: hidden; }
.contact-info::before {
    content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,209,102,.18), transparent 70%);
}
.contact-info h3 { font-size: 24px; margin-bottom: 22px; position: relative; }
.contact-info ul li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.15); position: relative; }
.contact-info ul li:last-child { border-bottom: none; }
.contact-info .li-ico {
    flex: 0 0 36px; height: 36px; border-radius: 50%;
    background: rgba(255,209,102,.18); color: #ffd166;
    display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
}
.contact-info .li-txt small { display: block; color: #b9d4ee; font-size: 12px; }
.contact-info .li-txt span { font-size: 15px; font-weight: 600; }
.contact-info .wx-row { display: flex; gap: 16px; margin-top: 22px; align-items: center; position: relative; }
.contact-info .wx-row img { width: 110px; height: 110px; border-radius: 6px; border: 2px solid #ffd166; }
.contact-info .wx-row p { color: #c9d6e8; font-size: 13px; }

.contact-form { background: #f5f8fb; border-radius: 14px; padding: 40px; }
.contact-form h3 { font-size: 22px; color: #0b2545; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%; padding: 12px 14px; border: 1px solid #d6e4f3; border-radius: 6px;
    background: #fff; font-size: 14px; font-family: inherit; color: #2c3e50;
    transition: border-color .25s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: #1d4e89; }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row.full { grid-template-columns: 1fr; }
.form-submit { width: 100%; padding: 14px; background: linear-gradient(135deg, #134074, #1d4e89); color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all .3s; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(19,64,116,.25); }

/* 友情链接 / 城市导航 */
.flinks { background: #fff; padding: 40px 0; border-top: 1px solid #e8eef5; }
.flinks h3 { font-size: 18px; color: #0b2545; margin-bottom: 16px; }
.flinks h3 span { font-size: 13px; color: #6b7a90; font-weight: 400; margin-left: 6px; }
.flinks-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.flinks-grid a {
    display: block; padding: 8px 12px; background: #f5f8fb; border-radius: 6px;
    font-size: 13px; color: #4a5a72; text-align: center; transition: all .25s;
}
.flinks-grid a:hover { background: #134074; color: #fff; }

/* footer */
/* footer 精致排版 */
footer { background: linear-gradient(180deg, #0b2545 0%, #08182f 100%); color: #b9c8dc; padding: 0; font-size: 13px; }
.footer-top {
    padding: 24px 0 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(90deg, transparent, rgba(255,209,102,.06), transparent);
}
.footer-top .brand-line {
    color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.footer-top .brand-line .pipe { color: rgba(255,255,255,.3); }
.footer-top .brand-line .domain { color: #ffd166; }
.footer-middle {
    padding: 16px 0; text-align: center; color: #c9d6e8; font-size: 13px;
    line-height: 1.9;
}
.footer-middle .row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0 10px; }
.footer-middle .item { display: inline-flex; align-items: center; gap: 6px; }
.footer-middle .sep { color: rgba(255,255,255,.25); }
.footer-middle a { color: #c9d6e8; transition: color .25s; }
.footer-middle a:hover { color: #ffd166; }
.footer-middle .gov-icon {
    display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #c0392b, #e74c3c); border-radius: 3px;
    color: #fff; font-size: 10px; font-weight: 800;
}
.footer-bottom {
    padding: 14px 0; text-align: center; font-size: 12px;
    color: #8094ad; background: rgba(0,0,0,.18);
}
.footer-bottom .tech { color: #8094ad; }
.footer-bottom .tech:hover { color: #ffd166; }
@media (max-width: 640px) {
    .footer-top .brand-line { font-size: 13px; gap: 6px; }
    .footer-middle { font-size: 12.5px; }
}

/* 悬浮工具栏 */
.float-tools { position: fixed; right: 18px; bottom: 80px; z-index: 99; display: flex; flex-direction: column; gap: 8px; }
.float-tools a {
    width: 52px; height: 52px; border-radius: 50%;
    background: #fff; box-shadow: 0 8px 20px rgba(11,37,69,.15);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 11px; color: #0b2545; transition: all .3s;
}
.float-tools a:hover { background: #134074; color: #fff; transform: translateX(-3px); }
.float-tools a .ic { font-size: 18px; font-weight: 800; margin-bottom: 1px; }
.float-tools a.top { background: #134074; color: #fff; }

/* 回到顶部 */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: #ffd166; color: #0b2545; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 99; font-weight: 800; box-shadow: 0 6px 16px rgba(255,209,102,.4); }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; z-index: 9999; }
.lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; }
.lightbox.active { display: flex; cursor: zoom-out; }

/* 响应式 */
@media (max-width: 1024px) {
    .adv-grid, .prod-grid, .qual-grid { grid-template-columns: repeat(2, 1fr); }
    .proc-grid { grid-template-columns: repeat(3, 1fr); }
    .proc-step::after { display: none; }
    .app-grid, .about-content, .contact-grid { grid-template-columns: 1fr; }
    .flinks-grid { grid-template-columns: repeat(3, 1fr); }
    .nav-list { display: none; }
}
@media (max-width: 640px) {
    .banner h1 { font-size: 26px; }
    .section h2.sec-title { font-size: 24px; }
    .adv-grid, .prod-grid, .qual-grid, .flinks-grid { grid-template-columns: 1fr 1fr; }
    .proc-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-text .stats { grid-template-columns: 1fr 1fr; }
}
