/* =====================================================================
   东莞长发自动门 - 现代化样式表
   ===================================================================== */

:root {
    --primary: #1677ff;
    --primary-dark: #0b57d0;
    --primary-deep: #0b3d91;
    --ink: #0f2c4c;
    --ink-2: #1c3d5a;
    --accent: #ff6b00;
    --text: #56637a;
    --muted: #8a97ab;
    --line: #e9eef5;
    --bg-soft: #f5f8fc;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(15, 44, 76, .06);
    --shadow: 0 12px 32px rgba(15, 44, 76, .1);
    --shadow-lg: 0 24px 60px rgba(15, 44, 76, .16);
    --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.75;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--primary); transition: color .25s ease; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 84px 0; }
.bg-light { background: var(--bg-soft); }
.text-center { text-align: center; }

/* ---------- 标题体系 ---------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; letter-spacing: .3px; }

h1 { font-size: 2.6em; line-height: 1.3; }
h2 { font-size: 2em; text-align: center; margin-bottom: 14px; position: relative; }
h3 { font-size: 1.15em; }

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 1.02em;
    margin: 0 auto 46px;
    max-width: 680px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 13px 34px;
    border-radius: 999px;
    font-size: .98em;
    font-weight: 500;
    letter-spacing: .5px;
    box-shadow: 0 8px 22px rgba(22, 119, 255, .28);
    transition: all .3s ease;
    margin-top: 20px;
    border: none;
}

.btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22, 119, 255, .38);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .7);
    box-shadow: none;
}

.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* =====================================================================
   头部
   ===================================================================== */
.header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease, background .3s ease;
}

.header.scrolled { box-shadow: 0 6px 24px rgba(15, 44, 76, .08); }

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}

.logo img { height: 46px; width: auto; }

.nav ul { display: flex; align-items: center; }
.nav ul li { margin-left: 34px; }

.nav ul li a {
    color: var(--ink-2);
    font-weight: 500;
    font-size: .98em;
    padding: 8px 0;
    position: relative;
    border: none;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .3s ease;
}

.nav ul li a:hover,
.nav ul li a.active { color: var(--primary); }

.nav ul li a:hover::after,
.nav ul li a.active::after { width: 100%; }

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
}

.mobile-menu-icon span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--ink);
    border-radius: 3px;
    transition: all .3s ease;
}

.mobile-menu-icon.toggle span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-icon.toggle span:nth-child(2) { opacity: 0; }
.mobile-menu-icon.toggle span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* =====================================================================
   首页 Hero 轮播
   ===================================================================== */
.slider { position: relative; height: 540px; overflow: hidden; background: var(--ink); }

.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(8, 28, 51, .88) 0%, rgba(8, 28, 51, .62) 45%, rgba(8, 28, 51, .18) 100%);
    z-index: 1;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
}

.slider-caption h2 {
    color: #fff;
    font-size: 3em;
    font-weight: 700;
    text-align: left;
    margin-bottom: 0;
    max-width: 620px;
    line-height: 1.22;
}

.slider-caption h2::after { display: none; }

.slider-caption p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.18em;
    max-width: 560px;
    margin: 20px 0 10px;
}

.slider-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 107, 0, .16);
    border: 1px solid rgba(255, 107, 0, .5);
    color: #ffb27a;
    font-size: .88em;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.slider-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.slider-dots {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: all .3s ease;
}

.slider-dots span.active { background: var(--accent); width: 32px; border-radius: 6px; }

/* 快捷入口 */
.quick-entry {
    margin-top: -46px;
    position: relative;
    z-index: 5;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 18px;
}

.quick-item { display: block; color: inherit; text-align: center; padding: 8px 6px; border-radius: var(--radius-sm); transition: background .3s; }
.quick-item:hover { color: inherit; }
.quick-item:hover { background: var(--bg-soft); }
.quick-item .q-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(22, 119, 255, .12), rgba(22, 119, 255, .04));
    color: var(--primary);
    font-size: 24px;
    line-height: 52px;
}
.quick-item h3 { font-size: 1em; margin-bottom: 2px; }
.quick-item p { font-size: .85em; color: var(--muted); margin: 0; }

/* =====================================================================
   关于我们（首页）
   ===================================================================== */
.about-us-brief .about-content {
    display: flex;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.about-us-brief .about-img {
    flex: 1;
    min-width: 300px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-us-brief .about-text { flex: 1.15; min-width: 300px; }
.about-us-brief .about-text p { margin-bottom: 16px; font-size: 1.03em; }

.about-points { display: flex; gap: 26px; flex-wrap: wrap; margin: 22px 0 6px; }
.about-points li { font-size: .96em; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.about-points li::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(22, 119, 255, .14);
}

/* =====================================================================
   优势
   ===================================================================== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
    margin-top: 44px;
}

.advantage-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: all .35s ease;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(22, 119, 255, .28);
}

.advantage-item .adv-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    font-size: 30px;
    line-height: 68px;
    box-shadow: 0 10px 24px rgba(22, 119, 255, .28);
}

.advantage-item h3 { font-size: 1.08em; margin-bottom: 8px; }
.advantage-item p { font-size: .94em; color: var(--muted); margin: 0; }

/* =====================================================================
   产品 / 案例 卡片
   ===================================================================== */
.product-grid, .case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    margin-top: 44px;
}

.product-item, .case-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all .35s ease;
}

.product-item:hover, .case-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(22, 119, 255, .3);
}

.product-item img, .case-item img {
    width: 100%;
    height: 246px;
    object-fit: cover;
    transition: transform .7s ease;
}

.product-item:hover img, .case-item:hover img { transform: scale(1.07); }

.product-item h3, .case-item h3 {
    font-size: 1.06em;
    margin: 0;
    padding: 20px 18px;
    color: var(--ink);
    text-align: center;
    transition: color .3s;
}

.product-item:hover h3, .case-item:hover h3 { color: var(--primary); }

.product-item h3::after, .case-item h3::after {
    content: ' →';
    opacity: 0;
    transition: opacity .3s ease;
}

.product-item:hover h3::after, .case-item:hover h3::after { opacity: 1; }

/* =====================================================================
   数据统计
   ===================================================================== */
.stats-section {
    background: linear-gradient(135deg, #0b2e4f 0%, #14456f 55%, #0b57d0 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 460px; height: 460px;
    right: -160px; top: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    left: -120px; bottom: -160px;
    border-radius: 50%;
    background: rgba(255, 107, 0, .1);
}

.stats-section h2 { color: #fff; }
.stats-section .section-sub { color: rgba(255, 255, 255, .7); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.stat-item .stat-num {
    font-size: 2.8em;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
}

.stat-item .stat-label { color: rgba(255, 255, 255, .75); font-size: .98em; }

/* =====================================================================
   新闻（横向列表卡片）
   ===================================================================== */
.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
}

.news-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all .35s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(22, 119, 255, .3);
}

.news-item > a {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
}

.news-item img {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 100%;
    height: 226px;
    object-fit: cover;
    transition: transform .7s ease;
}

.news-item:hover img { transform: scale(1.05); }

.news-item h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.24em;
    margin: 28px 30px 10px;
    color: var(--ink);
    text-align: left;
    line-height: 1.5;
    transition: color .3s;
}

.news-item:hover h3 { color: var(--primary); }

.news-item .news-excerpt {
    grid-column: 2;
    grid-row: 2;
    margin: 0 30px 12px;
    color: var(--muted);
    font-size: .97em;
    line-height: 1.75;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item p.news-date {
    grid-column: 2;
    grid-row: 3;
    font-size: .9em;
    color: var(--muted);
    margin: 0 30px 28px;
    text-align: left;
}

.news-item p.news-date::before { content: '🗓 '; }

/* =====================================================================
   服务流程
   ===================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 22px;
    margin-top: 46px;
}

.process-item { text-align: center; position: relative; }

.process-item .step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.35em;
    font-weight: 700;
    line-height: 52px;
    box-shadow: 0 8px 20px rgba(22, 119, 255, .18);
    transition: all .3s;
}

.process-item:hover .step-num { background: var(--primary); color: #fff; transform: scale(1.08); }

.process-item h3 { font-size: 1.04em; margin-bottom: 6px; }
.process-item p { font-size: .92em; color: var(--muted); margin: 0; }

/* CTA 横幅 */
.cta-banner {
    background: linear-gradient(120deg, var(--primary-deep), var(--primary) 70%, #2b9bff);
    color: #fff;
    padding: 58px 0;
    text-align: center;
}

.cta-banner h2 { color: #fff; }
.cta-banner h2::after { background: rgba(255, 255, 255, .6); }
.cta-banner p { color: rgba(255, 255, 255, .85); font-size: 1.08em; margin: 0; }
.cta-phone { font-size: 2.1em; font-weight: 700; color: #ffd7b5; letter-spacing: 2px; display: block; margin: 10px 0 4px; }
.cta-banner .btn { background: #fff; color: var(--primary-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.cta-banner .btn:hover { color: var(--primary-dark); }

/* =====================================================================
   内页 Banner / 面包屑
   ===================================================================== */
.page-banner {
    background: linear-gradient(135deg, #0b2e4f 0%, #14507f 60%, var(--primary) 160%);
    color: #fff;
    padding: 62px 0 58px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    right: -80px; top: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.page-banner h1 { color: #fff; font-size: 2.2em; margin: 0 0 8px; }
.page-banner p { color: rgba(255, 255, 255, .72); font-size: 1.05em; margin: 0; }

.breadcrumb { font-size: .92em; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 10px; color: #c9d2de; }

/* =====================================================================
   产品详情
   ===================================================================== */
.product-detail-content { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 30px; }
.product-detail-gallery { flex: 1.25; min-width: 320px; }
.product-detail-gallery > img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    cursor: zoom-in;
    transition: transform .5s ease;
}

.product-detail-gallery > img:hover { transform: scale(1.02); }

.product-detail-info { flex: 1.35; min-width: 300px; text-align: left; }
.product-detail-info h2 { text-align: left; font-size: 1.5em; margin: 34px 0 14px; }
.product-detail-info h2:first-child { margin-top: 0; }
.product-detail-info h2::after { margin-left: 0; }
.product-detail-info p { margin-bottom: 16px; line-height: 1.9; }
.product-detail-info ul { margin-bottom: 20px; padding-left: 22px; list-style: disc; }
.product-detail-info ul li { margin-bottom: 10px; }
.product-detail-info .btn { margin-top: 0; }

.spec-table, .case-info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.spec-table th, .spec-table td,
.case-info th, .case-info td {
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 13px 16px;
    text-align: left;
    font-size: .96em;
}

.spec-table th, .case-info th {
    background: var(--bg-soft);
    color: var(--ink);
    width: 32%;
    font-weight: 500;
}

.spec-table tr:last-child th, .spec-table tr:last-child td,
.case-info tr:last-child th, .case-info tr:last-child td { border-bottom: none; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 224px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform .5s;
    cursor: zoom-in;
}

.gallery-grid img:hover { transform: scale(1.04); }

/* ---------- 图片灯箱 ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 18, 33, .93);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: zoom-out;
    animation: lbIn .25s ease;
}

.lightbox.show { display: flex; }

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 34px;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================
   新闻 / 案例 详情
   ===================================================================== */
.article-layout { display: flex; flex-wrap: wrap; gap: 44px; }
.article-main { flex: 2.6; min-width: 300px; }
.article-side { flex: 1; min-width: 260px; }

.article-meta {
    color: var(--muted);
    font-size: .92em;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.article-meta span { margin-right: 22px; }

.article-content h2 { text-align: left; font-size: 1.5em; margin: 38px 0 14px; }
.article-content h2::after { margin-left: 0; }
.article-content p { margin-bottom: 18px; line-height: 1.95; }
.article-content img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow-sm); }
.article-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.article-content ul li { margin-bottom: 10px; line-height: 1.85; }

.article-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.side-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    padding: 24px;
    margin-bottom: 24px;
}

.side-box h3 {
    font-size: 1.05em;
    text-align: left;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.side-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95em; line-height: 1.6; }
.side-list li:last-child { border-bottom: none; }

/* 旧版详情结构 */
.news-meta { color: var(--muted); font-size: .92em; margin-bottom: 18px; }
.news-main-img, .case-main-img { width: 100%; border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.news-content, .case-content { text-align: left; }
.news-content p, .case-content p { margin-bottom: 18px; line-height: 1.95; }
.news-content h2, .case-content h2 { text-align: left; font-size: 1.42em; margin: 34px 0 14px; }
.news-content h2::after, .case-content h2::after { margin-left: 0; }
.news-content ul, .case-content ul { list-style: disc; padding-left: 22px; margin-bottom: 20px; }
.news-content ul li, .case-content ul li { margin-bottom: 10px; line-height: 1.85; }

/* =====================================================================
   关于我们
   ===================================================================== */
.about-intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-bottom: 20px; }
.about-intro img { flex: 1; min-width: 280px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-intro .about-text { flex: 1.35; min-width: 280px; }
.about-intro .about-text p { margin-bottom: 16px; }

.culture-list { list-style: none; padding: 0; }

.culture-list li {
    background: #fff;
    border-left: 4px solid var(--primary);
    padding: 18px 22px;
    margin-bottom: 14px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
}

.timeline { border-left: 2px solid var(--line); padding-left: 28px; margin-top: 24px; }
.timeline-item { position: relative; margin-bottom: 28px; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, .18);
}

.timeline-item h3 { text-align: left; font-size: 1.05em; margin-bottom: 6px; color: var(--ink); }
.timeline-item p { margin: 0; color: var(--muted); font-size: .96em; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin-top: 26px; }

.partner-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px 12px;
    text-align: center;
    color: var(--ink-2);
    font-size: .96em;
    transition: all .3s;
}

.partner-item:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-sm); }

/* =====================================================================
   联系我们
   ===================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin: 36px 0 10px;
}

.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    border-top: 3px solid var(--primary);
    transition: all .3s;
}

.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1em; margin-bottom: 10px; color: var(--muted); font-weight: 500; }
.contact-card p { margin: 0; color: var(--ink); font-size: 1.06em; font-weight: 500; word-break: break-all; }

.contact-content ul { list-style: none; padding: 0; margin: 24px 0; }
.contact-content ul li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-form { max-width: 660px; margin-top: 24px; }
.contact-form .form-group { margin-bottom: 20px; }

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 500;
    font-size: .95em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1em;
    background: var(--bg-soft);
    color: var(--ink);
    transition: all .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(22, 119, 255, .12);
}

.contact-form button { border: none; cursor: pointer; }
.form-tip { color: #12a150; font-size: .96em; margin-top: 14px; display: none; }

.map-box {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-soft), #eaf1fa);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px solid var(--line);
}

/* =====================================================================
   分页 / 返回顶部
   ===================================================================== */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }

.pagination a, .pagination span {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .95em;
    transition: all .3s;
}

.pagination a:hover, .pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    text-align: center;
    line-height: 46px;
    font-size: 20px;
    cursor: pointer;
    z-index: 998;
    display: none;
    box-shadow: 0 8px 22px rgba(22, 119, 255, .35);
    transition: transform .3s;
}

.back-to-top.show { display: block; }
.back-to-top:hover { transform: translateY(-4px); color: #fff; }

/* =====================================================================
   页脚
   ===================================================================== */
.footer {
    background: #0b2e4f;
    color: rgba(255, 255, 255, .68);
    padding: 62px 0 24px;
    font-size: .96em;
}

.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-col { flex: 1; min-width: 220px; }

.footer-col h3 {
    color: #fff;
    margin-bottom: 22px;
    font-size: 1.08em;
    text-align: left;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.footer-col p, .footer-col ul li a { color: rgba(255, 255, 255, .68); margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 4px; }
.footer-col ul li a { display: inline-block; transition: all .25s; }
.footer-col ul li a:hover { color: #fff; transform: translateX(4px); }

.footer .telephone { font-size: 1.5em; color: #fff; font-weight: 600; letter-spacing: 1px; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
    color: rgba(255, 255, 255, .5);
    font-size: .92em;
}

.footer-bottom p { margin-bottom: 6px; }
.qr-code { width: 116px; height: auto; margin-top: 10px; background: #fff; padding: 6px; border-radius: 10px; }

/* =====================================================================
   滚动动画
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =====================================================================
   响应式
   ===================================================================== */
@media (max-width: 992px) {
    .nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--line);
    }

    .nav.active { display: block; }
    .nav.active ul { flex-direction: column; padding: 10px 0; }
    .nav.active ul li { margin: 0; }
    .nav.active ul li a { display: block; padding: 14px 24px; text-align: center; }
    .nav.active ul li a::after { display: none; }

    .mobile-menu-icon { display: flex; }
    .header .container { flex-wrap: nowrap; }
    .logo img { height: 40px; }

    .slider { height: 440px; }
    .slider-caption h2 { font-size: 2.1em; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-entry { margin-top: -30px; }

    .article-layout, .product-detail-content, .about-intro { flex-direction: column; }
    .about-us-brief .about-content { gap: 32px; }
    .section-padding { padding: 62px 0; }
}

@media (max-width: 768px) {
    .section-padding { padding: 52px 0; }
    h1 { font-size: 1.9em; }
    h2 { font-size: 1.6em; }

    .slider { height: 400px; }
    .slider-caption h2 { font-size: 1.65em; text-align: left; }
    .slider-caption p { font-size: 1em; }
    .slider-mask { background: linear-gradient(100deg, rgba(8, 28, 51, .9), rgba(8, 28, 51, .55)); }

    .page-banner { padding: 42px 0 38px; }
    .page-banner h1 { font-size: 1.7em; }

    .product-grid, .case-grid, .news-list { grid-template-columns: 1fr; }

    .news-item > a { grid-template-columns: 1fr; }
    .news-item img { grid-column: 1; grid-row: 1; height: 200px; }
    .news-item h3 { grid-column: 1; grid-row: 2; margin: 20px 20px 8px; font-size: 1.12em; }
    .news-item .news-excerpt { grid-column: 1; grid-row: 3; margin: 0 20px 12px; }
    .news-item p.news-date { grid-column: 1; grid-row: 4; margin: 0 20px 22px; }
    .quick-entry { margin-top: 0; padding-top: 20px; }

    .product-detail-info h2, .article-content h2, .news-content h2, .case-content h2 { text-align: left; }
    .product-detail-info h2::after, .article-content h2::after { margin-left: 0; }

    .stat-item .stat-num { font-size: 2.2em; }
    .slider-btns .btn { padding: 11px 24px; }
    .footer-content { gap: 28px; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .footer-col { text-align: center; }
    .footer-col h3 { text-align: center; }
}
