/* ===== 华强化工 - 自定义样式 (scoped under .hq-wrap) ===== */
.hq-wrap html { scroll-behavior: smooth; }

/* ===== Hero ===== */
.hq-wrap .hero { padding: 140px 0 80px; background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%); }
.hq-wrap .hero-inner { display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hq-wrap .hero-tag { display: inline-block; background: #dbeafe; color: #2563eb; padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; margin-bottom: 20px; }
.hq-wrap .hero-text { flex: 1; }
.hq-wrap .hero-text h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.25; margin-bottom: 20px; color: #1a1a2e; }
.hq-wrap .hero-text h1 span { color: #2563eb; }
.hq-wrap .hero-text p { font-size: 1.1rem; color: #555; max-width: 560px; margin-bottom: 32px; }
.hq-wrap .hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hq-wrap .hero-stats { display: flex; gap: 40px; }
.hq-wrap .hero-stats strong { display: block; font-size: 1.6rem; color: #2563eb; }
.hq-wrap .hero-stats span { font-size: 0.85rem; color: #888; }
.hq-wrap .hero-visual { flex: 0 0 380px; }
.hq-wrap .hero-img-placeholder { width: 100%; height: 320px; background: linear-gradient(135deg, #dbeafe, #bfdbfe); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hq-wrap .img-icon { font-size: 4rem; margin-bottom: 10px; }
.hq-wrap .img-label { font-size: 1rem; color: #1e40af; font-weight: 500; }

/* ===== 痛点与方案 ===== */
.hq-wrap .pain-solution { padding: 80px 0; background: #fff; }
.hq-wrap .section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem; color: #1a1a2e; }
.hq-wrap .section-subtitle { text-align: center; color: #666; font-size: 1.05rem; margin-bottom: 2.5rem; }
.hq-wrap .ps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.hq-wrap .ps-card { background: #f8fafc; border: 1px solid #eef0f4; border-radius: 12px; padding: 28px; transition: all 0.3s; }
.hq-wrap .ps-card:hover { border-color: #2563eb; box-shadow: 0 8px 24px rgba(37,99,235,0.08); }
.hq-wrap .ps-icon { font-size: 2rem; margin-bottom: 12px; }
.hq-wrap .ps-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #1a1a2e; }
.hq-wrap .ps-card p { color: #666; font-size: 0.95rem; }
.hq-wrap .ps-arrow { color: #2563eb; font-size: 1.2rem; margin: 14px 0 10px; }
.hq-wrap .ps-solution { font-size: 0.95rem; color: #1a1a2e; padding-top: 10px; border-top: 1px dashed #dbeafe; }

/* ===== 主推产品 ===== */
.hq-wrap .product { padding: 80px 0; background: #f8fafc; }
.hq-wrap .product-detail { display: flex; gap: 40px; margin-top: 40px; }
.hq-wrap .product-info { flex: 1; }
.hq-wrap .product-specs { display: grid; gap: 1px; background: #eef0f4; border-radius: 10px; overflow: hidden; margin-bottom: 32px; }
.hq-wrap .spec-item { display: flex; justify-content: space-between; padding: 16px 24px; background: #fff; }
.hq-wrap .spec-label { font-weight: 600; color: #444; }
.hq-wrap .spec-value { color: #1a1a2e; }
.hq-wrap .product-cta-note { display: block; margin-top: 10px; font-size: 0.9rem; color: #888; }
.hq-wrap .product-side { flex: 0 0 340px; display: flex; flex-direction: column; gap: 20px; }
.hq-wrap .product-param-card, .hq-wrap .product-apply-card { background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 24px; }
.hq-wrap .product-param-card h4, .hq-wrap .product-apply-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: #2563eb; }
.hq-wrap .product-param-card ul, .hq-wrap .product-apply-card ul { list-style: none; padding: 0; margin: 0; }
.hq-wrap .product-param-card li, .hq-wrap .product-apply-card li { padding: 6px 0; font-size: 0.95rem; color: #444; border-bottom: 1px solid #f0f0f0; }
.hq-wrap .product-param-card li:last-child, .hq-wrap .product-apply-card li:last-child { border-bottom: none; }

/* ===== 定制流程 ===== */
.hq-wrap .process { padding: 80px 0; background: #fff; }
.hq-wrap .process-steps { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.hq-wrap .step { text-align: center; flex: 0 0 200px; padding: 24px; }
.hq-wrap .step-num { width: 48px; height: 48px; background: #2563eb; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin: 0 auto 16px; }
.hq-wrap .step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.hq-wrap .step p { font-size: 0.9rem; color: #666; }
.hq-wrap .step-arrow { color: #2563eb; font-size: 1.5rem; font-weight: 700; padding-top: 32px; }
.hq-wrap .process-cta { text-align: center; margin-top: 40px; }

/* ===== 工厂实力 ===== */
.hq-wrap .factory { padding: 80px 0; background: #f8fafc; }
.hq-wrap .factory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
.hq-wrap .factory-card { background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 28px; text-align: center; transition: all 0.3s; }
.hq-wrap .factory-card:hover { border-color: #2563eb; transform: translateY(-4px); }
.hq-wrap .factory-img { margin-bottom: 16px; }
.hq-wrap .factory-img .img-icon { font-size: 3rem; }
.hq-wrap .factory-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.hq-wrap .factory-card p { font-size: 0.9rem; color: #666; }

/* ===== 客户案例 ===== */
.hq-wrap .cases { padding: 80px 0; background: #fff; }
.hq-wrap .cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 40px; }
.hq-wrap .case-card { background: #f8fafc; border: 1px solid #eef0f4; border-radius: 12px; padding: 28px; transition: all 0.3s; }
.hq-wrap .case-card:hover { border-color: #2563eb; }
.hq-wrap .case-tag { display: inline-block; background: #dbeafe; color: #2563eb; font-size: 0.8rem; padding: 4px 12px; border-radius: 12px; font-weight: 500; margin-bottom: 12px; }
.hq-wrap .case-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: #1a1a2e; }
.hq-wrap .case-card p { font-size: 0.95rem; color: #444; line-height: 1.8; }

/* ===== FAQ ===== */
.hq-wrap .faq { padding: 80px 0; background: #f8fafc; }
.hq-wrap .faq-list { max-width: 800px; margin: 40px auto 0; }
.hq-wrap .faq-item { background: #fff; border: 1px solid #eef0f4; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.hq-wrap .faq-q { padding: 18px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #1a1a2e; }
.hq-wrap .faq-q::after { content: "+"; font-size: 1.3rem; color: #2563eb; transition: transform 0.3s; }
.hq-wrap .faq-open .faq-q::after { transform: rotate(45deg); }
.hq-wrap .faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.3s; color: #666; font-size: 0.95rem; }
.hq-wrap .faq-open .faq-a { padding: 0 24px 18px; max-height: 200px; }

/* ===== 咨询表单 ===== */
.hq-wrap .contact { padding: 80px 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
.hq-wrap .contact-inner { display: flex; gap: 60px; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hq-wrap .contact-info { flex: 1; }
.hq-wrap .contact-info h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.hq-wrap .contact-info > p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 36px; }
.hq-wrap .contact-methods { display: flex; flex-direction: column; gap: 20px; }
.hq-wrap .contact-method { display: flex; align-items: center; gap: 16px; }
.hq-wrap .cm-icon { font-size: 1.5rem; }
.hq-wrap .contact-method strong { display: block; font-size: 0.9rem; color: #94a3b8; }
.hq-wrap .contact-method span { font-size: 1.05rem; }
.hq-wrap .contact-form { flex: 0 0 460px; background: #fff; border-radius: 16px; padding: 36px; }
.hq-wrap .form-group { margin-bottom: 16px; }
.hq-wrap .form-group input, .hq-wrap .form-group select, .hq-wrap .form-group textarea { width: 100%; padding: 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s; background: #fff; color: #333; }
.hq-wrap .form-group input:focus, .hq-wrap .form-group select:focus, .hq-wrap .form-group textarea:focus { outline: none; border-color: #2563eb; }
.hq-wrap .form-row { display: flex; gap: 12px; }
.hq-wrap .form-source { flex: 1; }
.hq-wrap .form-source span { display: block; font-size: 0.85rem; color: #666; margin-bottom: 6px; }
.hq-wrap .form-note { font-size: 0.8rem; color: #999; text-align: center; margin-top: 12px; }

/* ===== 底部 ===== */
.hq-wrap .hq-footer { background: #111827; color: #94a3b8; padding: 48px 0 24px; }
.hq-wrap .hq-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hq-wrap .hq-footer strong { font-size: 1.1rem; color: #fff; display: block; margin-bottom: 12px; }
.hq-wrap .hq-footer p { font-size: 0.9rem; margin-bottom: 6px; }
.hq-wrap .hq-footer-bottom { border-top: 1px solid #1f2937; margin-top: 32px; padding-top: 24px; text-align: center; font-size: 0.85rem; }
.hq-wrap .hq-footer-bottom a { color: #60a5fa; }

/* ===== 通用按钮 (scoped) ===== */
.hq-wrap .btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 1rem; transition: all 0.3s; cursor: pointer; border: none; line-height: 1.5; text-decoration: none; }
.hq-wrap .btn-primary { background: #2563eb; color: #fff; }
.hq-wrap .btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); color: #fff; }
.hq-wrap .btn-outline { background: transparent; color: #2563eb; border: 2px solid #2563eb; }
.hq-wrap .btn-outline:hover { background: #2563eb; color: #fff; }
.hq-wrap .btn-full { width: 100%; text-align: center; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hq-wrap .hero-inner { flex-direction: column; }
  .hq-wrap .hero-visual { flex: none; width: 100%; }
  .hq-wrap .hero-text h1 { font-size: 2rem; }
  .hq-wrap .product-detail { flex-direction: column; }
  .hq-wrap .product-side { flex: none; }
  .hq-wrap .contact-inner { flex-direction: column; }
  .hq-wrap .contact-form { flex: none; width: 100%; }
  .hq-wrap .process-steps { flex-direction: column; align-items: center; }
  .hq-wrap .step-arrow { transform: rotate(90deg); padding-top: 0; }
}

@media (max-width: 600px) {
  .hq-wrap .hero-stats { gap: 24px; }
  .hq-wrap .hero-stats strong { font-size: 1.3rem; }
  .hq-wrap .section-title { font-size: 1.5rem; }
  .hq-wrap .cases-grid { grid-template-columns: 1fr; }
  .hq-wrap .factory-grid { grid-template-columns: 1fr 1fr; }
}
