/* =========================================
   【关于我们】页面专属 CSS (About Us Specific)
   维护记录：已彻底剥离全局冗余样式，完美适配移动端
========================================= */
  /* =========================================
           7. 响应式布局 (Media Queries)
        ========================================= */
        @media (max-width: 1024px) {
            .hero-carousel .hero-text h1 { font-size: 2.8rem !important; }
            .hero-carousel .hero-text p { font-size: 1.1rem !important; }
            .compliance-inner { grid-template-columns: repeat(2, 1fr); }
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .factory-inner { grid-template-columns: 1fr; gap: 40px; }
            .gallery-main { height: 400px; }
            .cases-grid { grid-template-columns: repeat(2, 1fr); }
            .service-grid { grid-template-columns: repeat(2, 1fr); }
            .news-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-inner { grid-template-columns: 1fr; gap: 50px; }
            .footer-nav-links { flex-wrap: wrap; gap: 30px; }
            .hero-carousel { height: 500px; min-height: auto; }
            .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
            .carousel-btn--left { left: 15px; }
            .carousel-btn--right { right: 15px; }
        }

        @media (max-width: 992px) {
            .header-phone { display: none; }
            .faq-inner { grid-template-columns: 1fr; gap: 40px; }
        }

        @media (max-width: 768px) {
            .top-bar-inner { flex-direction: column; gap: 10px; text-align: center; }
            .top-bar-right { display: flex; flex-direction: column; gap: 10px; }
            .top-bar-right .divider { display: none; }
            
            .logo { order: 1; }
            .mobile-menu-btn { display: block; font-size: 1.6rem; color: var(--auth-blue); cursor: pointer; order: 2; }
            .header-cta { display: none; } 
            
            /* 手机端下拉菜单 */
            .main-nav { display: none; position: absolute; top: 85px; left: 0; width: 100%; background-color: var(--white); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); padding: 20px 0; border-top: 1px solid var(--border-color); }
            .main-nav.active { display: block; } 
            .main-nav > ul { flex-direction: column; align-items: center; }
            .main-nav > ul > li { margin: 15px 0; width: 100%; text-align: center; }
            .main-nav > ul > li > a { display: block; padding: 10px; font-size: 1.1rem; }
            
            .main-nav .has-dropdown > ul { display: none; background-color: #f8fafc; border-left: 3px solid var(--eco-green); margin: 5px 20px 10px; border-radius: 4px; padding: 0; list-style: none; }
            .main-nav .has-dropdown:hover > ul, .main-nav .has-dropdown:active > ul { display: block; animation: slideDown 0.3s ease-out; }
            .main-nav .has-dropdown > ul > li > a { padding: 10px 20px; font-size: 0.95rem; color: var(--text-light); text-align: left; border-bottom: 1px dashed var(--border-color); display: block; }
            .main-nav .has-dropdown > ul > li:last-child > a { border-bottom: none; }
            @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
            
            .hero-carousel { height: calc(100vh - 60px); } 
            .hero-carousel .hero-text h1 { font-size: 2rem !important; margin-bottom: 20px !important; }
            .hero-carousel .hero-text p { font-size: 1rem !important; margin-bottom: 30px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } 
            .hero-carousel .hero-actions { flex-direction: column; gap: 15px; } 
            .hero-carousel .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; }
            .carousel-nav { bottom: 20px; }

            .compliance-inner { grid-template-columns: 1fr; gap: 25px; }
            .product-grid { grid-template-columns: 1fr; }
            .factory-stats { flex-wrap: wrap; gap: 20px; }
            .cases-grid { grid-template-columns: 1fr; }
            .service-grid { grid-template-columns: 1fr; }
            .news-grid { grid-template-columns: 1fr; }
            
            .form-group-half { flex-direction: column; gap: 0; }
            .footer-contact-form { padding: 30px 20px; }
            .copyright { flex-direction: column; gap: 15px; text-align: center; }
            .pc-float-bar { display: none; }
        }
  /* =========================================
           3. 页面大图 Banner & 面包屑
        ========================================= */
        .page-banner { background-color: var(--auth-blue-dark); background-image: linear-gradient(to right, rgba(23, 37, 84, 0.95), rgba(30, 58, 138, 0.8)); padding: 60px 0 40px; color: var(--white); border-bottom: 4px solid var(--eco-green); }
        .page-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; }
        .page-desc { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 25px; max-width: 1000px; }
        .breadcrumbs { font-size: 0.9rem; color: #94a3b8; }
        .breadcrumbs a { color: #cbd5e1; transition: var(--transition); }
        .breadcrumbs a:hover { color: var(--warn-yellow); }
        .breadcrumbs span { color: var(--warn-yellow); font-weight: 700; }
.about-page-content { background-color: var(--white, #ffffff); padding-bottom: 80px; }
.bg-gray { background-color: var(--bg-gray, #f1f5f9); }

/* --- 1. 通用内容区块排版 --- */
.pdp-section { padding: 80px 0; border-bottom: 1px solid var(--border-color, #e2e8f0); }
.pdp-section.bg-light { background-color: var(--bg-gray, #f1f5f9); padding: 80px 24px; border-radius: 8px; margin: 40px 0; }
.pdp-section-title { font-size: 2rem; color: var(--auth-blue, #1e3a8a); font-weight: 900; margin-bottom: 40px; text-align: center; position: relative; }
.pdp-section-title::after { content: ""; display: block; width: 60px; height: 4px; background-color: var(--eco-green, #059669); margin: 15px auto 0; border-radius: 2px; }

.section-badge { display: inline-block; padding: 6px 14px; background: rgba(5, 150, 105, 0.1); color: var(--eco-green, #059669); font-weight: 800; border-radius: 4px; margin-bottom: 15px; letter-spacing: 1px; font-size: 0.9rem; }

/* --- 2. 顶部公司简介与视频模块 --- */
.intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-text p { color: var(--text-light, #64748b); font-size: 1.05rem; line-height: 1.8; margin-bottom: 15px; }

.factory-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--border-color, #e2e8f0); padding-top: 30px; margin-top: 40px; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 900; color: var(--auth-blue, #1e3a8a); margin-bottom: 5px; line-height: 1; }
.stat-number small { font-size: 1rem; color: var(--text-light, #64748b); font-weight: 500; margin-left: 2px; }
.stat-label { font-size: 0.95rem; color: var(--text-main, #1e293b); font-weight: 700; }

.video-wrapper { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(30, 58, 138, 0.15); border: 4px solid var(--white, #ffffff); background: #000; aspect-ratio: 4/3; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.floating-cert { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.95); backdrop-filter: blur(4px); padding: 10px 15px; border-radius: 8px; display: flex; align-items: center; gap: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 10; pointer-events: none; }
.floating-cert i { font-size: 1.6rem; color: var(--warn-yellow, #f59e0b); }
.floating-cert strong { display: block; color: var(--auth-blue, #1e3a8a); font-size: 0.95rem; font-weight: 900; margin-bottom: 2px; line-height: 1.2; }
.floating-cert span { color: var(--text-light, #64748b); font-size: 0.75rem; font-weight: 500; line-height: 1.2; }

/* --- 3. 四大制造工艺模块 --- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 40px; }
.process-card { background: var(--white, #ffffff); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-color, #e2e8f0); transition: var(--transition, all 0.3s ease); }
.process-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(30, 58, 138, 0.08); border-color: var(--auth-blue, #1e3a8a); }
.p-card-img { height: 220px; background-size: cover; background-position: center; }
.p-card-content { padding: 30px 25px; }
.p-step { color: var(--warn-yellow, #f59e0b); font-weight: 900; margin-bottom: 10px; font-size: 1.2rem; letter-spacing: 1px; }
.process-card h3 { font-size: 1.2rem; color: var(--auth-blue, #1e3a8a); font-weight: 800; margin-bottom: 10px; }
.process-card p { font-size: 0.95rem; color: var(--text-light, #64748b); line-height: 1.6; margin: 0; }

/* --- 4. 资质证书网格 --- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cert-item { text-align: center; }
.cert-img { height: 350px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--white, #ffffff); border: 1px solid var(--border-color, #e2e8f0); border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); margin-bottom: 20px; transition: var(--transition, all 0.3s ease); padding: 10px; }
.cert-item:hover .cert-img { transform: scale(1.05); border-color: var(--auth-blue, #1e3a8a); box-shadow: 0 15px 30px rgba(30, 58, 138, 0.1); }
.cert-item h4 { font-size: 1.1rem; color: var(--auth-blue, #1e3a8a); font-weight: 700; line-height: 1.4; padding: 0 10px; margin: 0; }

/* --- 5. 底部 CTA 引导横幅 --- */
.infeed-cta { margin: 80px 0 0 0; background-image: linear-gradient(135deg, var(--auth-blue-dark, #172554) 0%, var(--auth-blue, #1e3a8a) 100%); border-radius: 12px; padding: 60px; color: var(--white, #ffffff); display: flex; justify-content: space-between; align-items: center; box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2); }
.infeed-text h3 { font-size: 2rem; font-weight: 900; margin-bottom: 15px; color: var(--white, #ffffff); }
.infeed-text p { color: #cbd5e1; font-size: 1.1rem; max-width: 600px; line-height: 1.6; margin: 0; }
.infeed-btn { display: flex; gap: 20px; align-items: center; }
.infeed-btn .btn { min-width: 220px; justify-content: center; }

/* --- 6. 移动端/平板响应式适配 --- */
@media (max-width: 1024px) {
    .intro-inner { grid-template-columns: 1fr; gap: 40px; }
    .process-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .infeed-cta { flex-direction: column; text-align: center; gap: 30px; padding: 40px 30px; }
    .infeed-text p { margin: 0 auto; }
}

@media (max-width: 768px) {
    .pdp-section { padding: 50px 0; }
    .pdp-section-title { font-size: 1.6rem; margin-bottom: 30px; }
    .factory-stats { grid-template-columns: 1fr; gap: 15px; }
    .process-grid, .cert-grid { grid-template-columns: 1fr; gap: 20px; }
    .cert-img { height: 250px; } /* 手机端证书图稍微缩小一点 */
    .infeed-text h3 { font-size: 1.5rem; }
    .infeed-btn { flex-direction: column; gap: 15px; width: 100%; }
    .infeed-btn .btn { width: 100%; min-width: auto; margin-top: 0; }
}

      /* =========================================
           4. 【核心修复】：弹窗与侧边栏兜底防丢 CSS 
           （直接写在这里，防止 foot.php 调用失效）
        ========================================= */
        .pc-float-bar { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 9999; }
        .float-item { width: 50px; height: 50px; background-color: var(--white); border: 1px solid var(--border-color); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.05); position: relative; transition: var(--transition); }
        .float-item i { font-size: 1.4rem; color: var(--auth-blue); transition: var(--transition); }
        .float-item:hover { background-color: var(--auth-blue); border-color: var(--auth-blue); }
        .float-item:hover i { color: var(--white); }
        .float-popup { position: absolute; right: 65px; top: 50%; transform: translateY(-50%) translateX(20px); background-color: var(--white); border: 1px solid var(--border-color); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 6px; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); white-space: nowrap; text-align: center; pointer-events: none; }
        .float-item:hover .float-popup { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
        .popup-arrow { position: absolute; right: -6px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 12px; height: 12px; background-color: var(--white); border-top: 1px solid var(--border-color); border-right: 1px solid var(--border-color); }
        .phone-popup strong { display: block; color: var(--warn-yellow); font-size: 1.5rem; font-weight: 900; margin-bottom: 5px; }
        .phone-popup span, .wechat-popup span { color: var(--text-main); font-size: 0.9rem; font-weight: 700; }

        .quote-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.7); backdrop-filter: blur(4px); z-index: 100000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
        .quote-modal-overlay.active { opacity: 1; visibility: visible; }
        .quote-modal-content { background-color: var(--white); width: 90%; max-width: 500px; border-radius: 8px; padding: 40px; position: relative; transform: translateY(30px) scale(0.95); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); border-top: 6px solid var(--warn-yellow); box-sizing: border-box; margin: auto; }
        .quote-modal-overlay.active .quote-modal-content { transform: translateY(0) scale(1); }
        .close-modal-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: var(--text-light); cursor: pointer; line-height: 1; transition: color 0.3s ease; }
        .close-modal-btn:hover { color: #ef4444; }
        .modal-header-box { margin-bottom: 25px; text-align: center; }
        .modal-header-box h3 { font-size: 1.6rem; color: var(--auth-blue); font-weight: 900; margin-bottom: 10px; }
        .modal-header-box p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin: 0;}
        
        .input-icon-wrapper { position: relative; margin-bottom: 18px; width: 100%; }
        .input-icon-wrapper i { position: absolute; left: 18px; top: 18px; color: #94a3b8; font-size: 1.1rem; transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; pointer-events: none; }
        .input-icon-wrapper .enhanced-input { width: 100%; padding: 16px 16px 16px 48px; border: 1px solid #cbd5e1; border-radius: 4px; font-family: inherit; font-size: 1rem; color: var(--text-main); background-color: #f8fafc; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin-bottom: 0; box-sizing: border-box;}
        .input-icon-wrapper .enhanced-textarea { resize: vertical; min-height: 110px; padding-top: 16px; }
        .input-icon-wrapper .enhanced-input:focus { outline: none; border-color: var(--auth-blue); background-color: var(--white); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); }
        .input-icon-wrapper:focus-within i { color: var(--auth-blue); }
        .modal-secure-text { text-align: center; font-size: 0.85rem; color: #94a3b8; margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; }
        .modal-secure-text i { color: var(--eco-green); }