/* ================================================
   联昌机械 - 企业网站样式 v2.0
   参考风格: faygounion.cn 工业机械专业风格
   主色调: #003087 (深蓝)  #0066cc (亮蓝)  #ff6600 (橙色点缀)
   ================================================ */

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}
a { text-decoration: none; color: inherit; }
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: 70px 0; }

/* ── Typography ────────────────────────────────── */
.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: #003087;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 45px;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ff6600;
    margin: 12px auto 0;
}
.section-title-left { text-align: left; }
.section-title-left::after { margin: 12px 0 0; }

/* ── Header Top Bar ────────────────────────────── */
.header-top {
    background: #003087;
    color: #fff;
    padding: 7px 0;
    font-size: 13px;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-left { display: flex; gap: 20px; align-items: center; }
.header-top-right { display: flex; gap: 20px; align-items: center; }
.header-top a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.header-top a:hover { color: #ff6600; }
.header-top .phone-highlight {
    color: #ff6600;
    font-weight: 700;
    font-size: 15px;
}

/* ── Header Main ───────────────────────────────── */
header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #003087, #0066cc);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    flex-shrink: 0;
}
.logo-text h1 { font-size: 20px; color: #003087; font-weight: 800; line-height: 1.2; }
.logo-text span { font-size: 12px; color: #999; letter-spacing: 1px; }

/* ── Navigation ────────────────────────────────── */
.nav-menu { display: flex; gap: 0; }
.nav-menu > a {
    padding: 10px 20px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.25s;
    position: relative;
    white-space: nowrap;
}
.nav-menu > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: #ff6600;
    transition: all 0.3s;
}
.nav-menu > a:hover::after,
.nav-menu > a.active::after { left: 0; right: 0; }
.nav-menu > a:hover,
.nav-menu > a.active { color: #003087; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #003087;
    cursor: pointer;
    padding: 5px;
}

/* ── Banner / Hero Slider ─────────────────────── */
.banner {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: #003087;
}
.banner-slides { position: relative; height: 100%; }
.banner-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    color: #fff;
}
.banner-slide.active { opacity: 1; }
.banner-slide:nth-child(1) {
    background: url('/static/images/banner_1.jpg') center/cover no-repeat;
}
.banner-slide:nth-child(2) {
    background: url('/static/images/banner_2.jpg') center/cover no-repeat;
}
.banner-slide:nth-child(3) {
    background: url('/static/images/banner_3.jpg') center/cover no-repeat;
}
/* 装饰性几何图形 */
.banner-slide::before {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.banner-slide::after {
    content: '';
    position: absolute;
    right: 100px; bottom: -150px;
    width: 400px; height: 400px;
    background: rgba(255,102,0,0.08);
    border-radius: 50%;
}
.banner-content {
    max-width: 650px;
    padding: 0 0 0 80px;
    position: relative;
    z-index: 1;
}
.banner-content .tag {
    display: inline-block;
    background: rgba(255,102,0,0.9);
    color: #fff;
    padding: 4px 16px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.banner-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.banner-content p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.7;
}
.banner-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.banner-btn {
    display: inline-block;
    padding: 13px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}
.banner-btn-primary {
    background: #ff6600;
    color: #fff;
    border: 2px solid #ff6600;
}
.banner-btn-primary:hover { background: #e55a00; border-color: #e55a00; transform: translateY(-2px); }
.banner-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.banner-btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.banner-dots {
    position: absolute;
    bottom: 25px;
    left: 80px;
    display: flex;
    gap: 8px;
}
.banner-dot {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s;
}
.banner-dot.active { background: #ff6600; width: 50px; }
.banner-arrows {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.banner-arrow {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}
.banner-arrow:hover { background: #ff6600; border-color: #ff6600; }

/* ── Quick Info Bar ────────────────────────────── */
.quick-bar {
    background: #f5f7fa;
    border-bottom: 1px solid #e8ecf0;
    padding: 0;
}
.quick-bar-inner {
    display: flex;
    border-left: 1px solid #e8ecf0;
}
.quick-bar-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 25px;
    border-right: 1px solid #e8ecf0;
    transition: background 0.3s;
}
.quick-bar-item:hover { background: #fff; }
.quick-bar-icon {
    width: 42px; height: 42px;
    background: #003087;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.quick-bar-text h4 { font-size: 14px; color: #003087; font-weight: 700; }
.quick-bar-text p { font-size: 12px; color: #999; margin-top: 2px; }

/* ── Company Stats ─────────────────────────────── */
.stats-section {
    background: #003087;
    padding: 50px 0;
    color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ff6600;
    margin-bottom: 5px;
    line-height: 1;
}
.stat-item p { font-size: 14px; color: rgba(255,255,255,0.75); letter-spacing: 1px; }
.stat-item .unit { font-size: 1.2rem; font-weight: 400; }

/* ── Products Grid ─────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.product-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.35s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,48,135,0.12);
    border-color: #0066cc;
}
.product-card-image {
    height: 230px;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-image .placeholder-icon { font-size: 4rem; color: #0066cc; opacity: 0.3; }
.product-card-image .cat-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: #003087;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 3px;
}
.product-card-body { padding: 18px 20px; }
.product-card-body h3 { font-size: 16px; color: #003087; margin-bottom: 6px; font-weight: 700; }
.product-card-body .subtitle { font-size: 12px; color: #ff6600; margin-bottom: 10px; font-weight: 600; }
.product-card-body p { font-size: 13px; color: #777; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafbfc;
}
.product-card-footer .price { font-size: 16px; color: #e53e00; font-weight: 700; }
.product-card-footer .btn-sm {
    padding: 6px 18px;
    background: #003087;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
    transition: all 0.3s;
}
.product-card-footer .btn-sm:hover { background: #ff6600; }

/* ── Product Category Tabs ─────────────────────── */
.cat-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.cat-tab {
    padding: 8px 22px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
    display: inline-block;
}
.cat-tab:hover,
.cat-tab.active { background: #003087; color: #fff; border-color: #003087; }

/* ── Why Choose Us ─────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 6px;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: #ff6600;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,48,135,0.1); }
.feature-icon {
    width: 68px; height: 68px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #003087, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}
.feature-card h3 { font-size: 17px; color: #003087; margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 13px; color: #888; line-height: 1.8; }

/* ── News ───────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.news-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    transition: all 0.3s;
}
.news-card:hover { box-shadow: 0 6px 20px rgba(0,48,135,0.1); border-color: #0066cc; }
.news-card-image {
    width: 200px;
    min-height: 160px;
    flex-shrink: 0;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 32px;
    overflow: hidden;
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-body .date {
    font-size: 12px;
    color: #ff6600;
    margin-bottom: 8px;
    font-weight: 600;
}
.news-card-body h3 { font-size: 15px; color: #003087; margin-bottom: 8px; line-height: 1.5; font-weight: 700; }
.news-card-body h3 a:hover { color: #ff6600; }
.news-card-body p { font-size: 13px; color: #888; line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-body .read-more { font-size: 12px; color: #0066cc; margin-top: 10px; display: inline-block; }
.news-card-body .read-more:hover { color: #ff6600; }

/* ── Page Hero ─────────────────────────────────── */
.page-hero {
    background: linear-gradient(120deg, #001a4d 0%, #003087 60%, #0055aa 100%);
    color: #fff;
    text-align: center;
    padding: 65px 20px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    right: -50px; top: -80px;
    width: 350px; height: 350px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.page-hero h2 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; position: relative; }
.page-hero p { font-size: 14px; opacity: 0.8; position: relative; }
.breadcrumb { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.6); position: relative; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #ff6600; }
.breadcrumb span { color: #ff6600; }

/* ── About Page ────────────────────────────────── */
.about-content { display: flex; gap: 60px; align-items: center; }
.about-image {
    flex: 1;
    min-height: 420px;
    background: linear-gradient(135deg, #f0f4f8, #e0eaf5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 6rem;
    position: relative;
    overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.about-image::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 120px; height: 120px;
    background: #ff6600;
    opacity: 0.1;
    border-radius: 50%;
}
.about-text { flex: 1; }
.about-text h3 { font-size: 1.7rem; color: #003087; margin-bottom: 20px; font-weight: 800; }
.about-text p { font-size: 14px; color: #666; line-height: 1.9; margin-bottom: 15px; }
.about-text ul { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-text ul li {
    padding: 8px 12px 8px 30px;
    font-size: 13px;
    color: #555;
    position: relative;
    background: #f5f7fa;
    border-radius: 4px;
    border-left: 3px solid #ff6600;
}
.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 10px;
    color: #ff6600;
    font-weight: bold;
}

/* ── Timeline ──────────────────────────────────── */
.timeline { max-width: 750px; margin: 0 auto; }
.timeline-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
    padding-left: 0;
}
.timeline-year {
    width: 90px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 3px;
}
.timeline-year span {
    font-size: 15px;
    font-weight: 800;
    color: #003087;
    background: #e8f0fb;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}
.timeline-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.timeline-dot {
    width: 14px; height: 14px;
    background: #ff6600;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #ff6600;
    flex-shrink: 0;
    margin-top: 4px;
}
.timeline-connector {
    width: 2px;
    flex: 1;
    background: #e0e8f5;
    margin-top: 5px;
}
.timeline-item:last-child .timeline-connector { display: none; }
.timeline-content { flex: 1; padding-bottom: 20px; }
.timeline-content h4 { font-size: 15px; color: #003087; font-weight: 700; margin-bottom: 5px; }
.timeline-content p { font-size: 13px; color: #888; line-height: 1.7; }

/* ── Contact Page ──────────────────────────────── */
.contact-wrap { display: flex; gap: 50px; }
.contact-info { flex: 1; }
.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 46px; height: 46px;
    background: #003087;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info h4 { font-size: 15px; color: #003087; margin-bottom: 4px; font-weight: 700; }
.contact-info p { font-size: 14px; color: #777; }
.contact-info p a { color: #0066cc; }
.contact-info p a:hover { color: #ff6600; }
.contact-form { flex: 1.2; }
.contact-form h3 { font-size: 1.4rem; color: #003087; margin-bottom: 8px; font-weight: 800; }
.contact-form .sub { font-size: 13px; color: #999; margin-bottom: 22px; }
.contact-form .form-row { display: flex; gap: 15px; }
.contact-form .form-row .form-group { flex: 1; }
.contact-form .form-group { margin-bottom: 15px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
    background: #fff;
    color: #333;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: #003087; box-shadow: 0 0 0 3px rgba(0,48,135,0.08); }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form .btn {
    padding: 13px 45px;
    background: #003087;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}
.contact-form .btn:hover { background: #ff6600; }
.map-placeholder {
    background: #f0f4f8;
    border-radius: 8px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 1rem;
    margin-top: 25px;
    border: 1px solid #e0eaf5;
    flex-direction: column;
    gap: 10px;
}
.map-placeholder .map-icon { font-size: 3rem; }

/* ── Footer ────────────────────────────────────── */
footer {
    background: #001a4d;
    color: #b0bec5;
    padding: 55px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: #ff6600;
}
.footer-col p { font-size: 13px; line-height: 1.9; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: #b0bec5; transition: all 0.3s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a::before { content: '›'; color: #ff6600; font-size: 16px; }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item .icon { color: #ff6600; font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 13px; color: #b0bec5; line-height: 1.6; }
.footer-phone {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ff6600;
    margin: 10px 0;
    display: block;
}
.footer-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #ff6600; }

/* ── Buttons ───────────────────────────────────── */
.btn-primary {
    display: inline-block;
    padding: 11px 32px;
    background: #003087;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}
.btn-primary:hover { background: #ff6600; transform: translateY(-2px); }
.btn-outline {
    display: inline-block;
    padding: 10px 30px;
    background: transparent;
    color: #003087;
    border: 2px solid #003087;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-outline:hover { background: #003087; color: #fff; }

/* ── Pagination ────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 50px; }
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    color: #555;
}
.pagination a:hover { background: #003087; color: #fff; border-color: #003087; }
.pagination .current { background: #003087; color: #fff; border-color: #003087; }

/* ── News Detail ────────────────────────────────── */
.news-detail {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 45px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.news-detail h1 { font-size: 1.7rem; color: #003087; margin-bottom: 12px; line-height: 1.4; }
.news-detail .meta { font-size: 13px; color: #aaa; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.news-detail .content { font-size: 15px; line-height: 1.95; color: #555; }
.news-detail .content h3 { font-size: 1.2rem; color: #003087; margin: 25px 0 10px; }
.news-detail .content p { margin-bottom: 15px; }
.news-detail .content ul, .news-detail .content ol { margin: 10px 0 15px 25px; }
.news-detail .content li { margin-bottom: 8px; }
.news-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
}
.news-nav a { color: #0066cc; }
.news-nav a:hover { color: #ff6600; }

/* ── Product Detail ────────────────────────────── */
.prod-detail-wrap { display: flex; gap: 50px; margin-bottom: 50px; }
.prod-detail-image {
    flex: 1;
    min-height: 420px;
    background: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #0066cc;
    overflow: hidden;
    border: 1px solid #e0eaf5;
}
.prod-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.prod-detail-info { flex: 1; }
.prod-detail-info h1 { font-size: 1.7rem; color: #003087; margin-bottom: 8px; font-weight: 800; }
.prod-detail-info .subtitle { font-size: 14px; color: #ff6600; margin-bottom: 18px; font-weight: 600; }
.prod-detail-info .price { font-size: 1.6rem; color: #e53e00; font-weight: 800; margin-bottom: 20px; }
.prod-detail-info .params {
    background: #f5f7fa;
    padding: 18px 20px;
    border-radius: 6px;
    margin-bottom: 22px;
    font-size: 13px;
    line-height: 2.2;
    color: #555;
    border-left: 3px solid #003087;
}
.prod-detail-info .params strong { color: #003087; }
.prod-detail-info .action-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.prod-detail-info .action-btns a { padding: 12px 28px; border-radius: 4px; font-size: 14px; font-weight: 600; }

/* ── CTA Section ───────────────────────────────── */
.cta-section {
    background: linear-gradient(120deg, #003087, #0055aa);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    left: -100px; top: -100px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.cta-section h2 { font-size: 1.9rem; margin-bottom: 12px; position: relative; }
.cta-section p { font-size: 1rem; opacity: 0.85; margin-bottom: 30px; position: relative; }
.cta-section .cta-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-section .cta-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    background: #ff6600;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
}
.cta-section .cta-btn-phone:hover { background: #e55a00; transform: translateY(-2px); }
.cta-section .cta-btn-msg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}
.cta-section .cta-btn-msg:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ── Alert / Toast ─────────────────────────────── */
.alert { padding: 12px 18px; border-radius: 4px; margin-bottom: 15px; font-size: 14px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #fce4ec; color: #c62828; border: 1px solid #f8bbd0; }

/* ── Empty state ───────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: #bbb; }
.empty-state .icon { font-size: 4rem; margin-bottom: 15px; }
.empty-state p { font-size: 16px; }

/* ── Section backgrounds ───────────────────────── */
.bg-light { background: #f5f7fa; }
.bg-white { background: #fff; }
.bg-blue { background: #003087; color: #fff; }

/* ── Scroll to top ─────────────────────────────── */
#scrollTop {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: #003087;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
    border: none;
}
#scrollTop.show { opacity: 1; }
#scrollTop:hover { background: #ff6600; }

/* ── Animate on scroll ─────────────────────────── */
.animate-on-scroll { opacity: 0; transform: translateY(25px); transition: all 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-bar-inner { flex-wrap: wrap; }
    .quick-bar-item { min-width: 50%; }
}
@media (max-width: 900px) {
    .about-content { flex-direction: column; }
    .contact-wrap { flex-direction: column; }
    .news-card { flex-direction: column; }
    .news-card-image { width: 100%; height: 200px; }
    .prod-detail-wrap { flex-direction: column; }
    .prod-detail-image { min-height: 280px; }
    .banner-content { padding: 0 0 0 40px; }
    .banner-dots { left: 40px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > a { padding: 13px 25px; border-bottom: 1px solid #f5f5f5; }
    .nav-menu > a::after { display: none; }
    .banner { height: 380px; }
    .banner-content h2 { font-size: 1.9rem; }
    .banner-content p { font-size: 0.95rem; }
    .banner-arrows { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 1.5rem; }
    .page-hero { padding: 45px 20px; }
    .page-hero h2 { font-size: 1.5rem; }
    .header-top .container { flex-direction: column; gap: 4px; text-align: center; }
    .quick-bar-item { min-width: 100%; }
    .about-text ul { grid-template-columns: 1fr; }
    .news-detail { padding: 25px 20px; }
    .contact-form .form-row { flex-direction: column; gap: 0; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item h3 { font-size: 2rem; }
    .banner { height: 300px; }
    .banner-content h2 { font-size: 1.5rem; }
    .banner-content p { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .cat-tabs { justify-content: flex-start; }
}

/* ========== Video Section ========== */
.bg-dark-section {
    background: #1a1a2e;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    background: #000;
}
.video-card h4 {
    margin-top: 12px;
    font-size: 16px;
}
.video-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 30px;
}
.video-card-large {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.video-card-large .video-wrapper video {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}
.video-card-info {
    padding: 20px;
}
.video-card-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.video-card-info .subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ── 关键词蜘蛛网链接 ── */
.kw-link {
    color: #e74c3c;
    text-decoration: none;
    border-bottom: 1px dashed #e74c3c;
    padding-bottom: 1px;
    transition: all 0.2s;
}
.kw-link:hover {
    color: #c0392b;
    border-bottom-style: solid;
    background: #fff5f5;
}
