/* === CSS Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; background: #f5f5f5; line-height: 1.6; }
a { text-decoration: none; color: #c0392b; transition: color 0.2s; }
a:hover { color: #e74c3c; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font-family: inherit; font-size: inherit; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* === Header === */
.header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 22px; font-weight: 700; color: #c0392b; white-space: nowrap; }
.logo span { color: #333; font-size: 14px; font-weight: 400; margin-left: 4px; }
.nav { display: flex; gap: 28px; }
.nav a { color: #555; font-size: 15px; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
.nav a:hover, .nav a.active { color: #c0392b; border-bottom-color: #c0392b; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; padding: 4px 8px; }

/* === Mobile Nav === */
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.1); padding: 12px 16px; gap: 12px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* === Hero === */
.hero { background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%); color: #fff; padding: 60px 0 50px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%); }
.hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; position: relative; }
.hero p { font-size: 17px; opacity: 0.92; margin-bottom: 28px; position: relative; }
.hero .hero-stats { display: flex; justify-content: center; gap: 48px; margin-bottom: 28px; position: relative; }
.hero .hero-stats .stat { text-align: center; }
.hero .hero-stats .stat .num { font-size: 32px; font-weight: 700; }
.hero .hero-stats .stat .label { font-size: 13px; opacity: 0.8; }
.hero .hero-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }
.btn { display: inline-block; padding: 12px 32px; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; transition: all 0.25s; text-align: center; }
.btn-primary { background: #fff; color: #c0392b; }
.btn-primary:hover { background: #fce4e4; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-red { background: #c0392b; color: #fff; }
.btn-red:hover { background: #a93226; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .hero .hero-stats { gap: 24px; }
  .hero .hero-stats .stat .num { font-size: 24px; }
}

/* === Section Title === */
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: 28px; color: #222; margin-bottom: 8px; }
.section-title p { font-size: 15px; color: #888; }
@media (max-width: 768px) { .section-title h2 { font-size: 22px; } }

/* === Breadcrumb === */
.breadcrumb { background: #fff; border-bottom: 1px solid #eee; padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb span { margin: 0 6px; }

/* === Company Cards === */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card-body { padding: 20px; flex: 1; }
.card h3 { font-size: 17px; margin-bottom: 10px; color: #222; }
.card h3 a { color: #222; }
.card h3 a:hover { color: #c0392b; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 12px; background: #fff0f0; color: #c0392b; }
.tag-blue { background: #e8f4fd; color: #2471a3; }
.tag-green { background: #e8f8e8; color: #1e8449; }
.card-info { font-size: 13px; color: #777; line-height: 1.8; }
.card-info strong { color: #555; }
.card-footer { padding: 14px 20px; background: #fafafa; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.card-price { font-size: 20px; font-weight: 700; color: #c0392b; }

/* === Article Card === */
.article-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.article-card { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.article-card h3 { font-size: 16px; margin-bottom: 8px; }
.article-card h3 a { color: #222; }
.article-card h3 a:hover { color: #c0392b; }
.article-card p { font-size: 13px; color: #888; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.article-card .meta { font-size: 12px; color: #bbb; }

/* === Process Steps === */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step { background: #fff; border-radius: 10px; padding: 24px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,0.06); position: relative; }
.step .step-num { width: 40px; height: 40px; border-radius: 50%; background: #c0392b; color: #fff; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.step h3 { font-size: 15px; margin-bottom: 6px; color: #222; }
.step p { font-size: 13px; color: #888; line-height: 1.5; }

/* === FAQ === */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 8px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.faq-q { padding: 16px 20px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #333; user-select: none; }
.faq-q::after { content: '+'; font-size: 20px; color: #c0392b; transition: transform 0.3s; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a { padding: 0 20px 16px; font-size: 14px; color: #666; line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }

/* === Form === */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #444; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #c0392b; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* === Contact Info === */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.contact-card { background: #fff; border-radius: 10px; padding: 20px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.contact-card .icon { font-size: 28px; margin-bottom: 8px; }
.contact-card h4 { font-size: 15px; margin-bottom: 4px; color: #222; }
.contact-card p { font-size: 13px; color: #888; }

/* === CTA Section === */
.cta-section { background: #c0392b; color: #fff; text-align: center; padding: 50px 20px; border-radius: 12px; }
.cta-section h2 { font-size: 28px; margin-bottom: 8px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 20px; }

/* === Footer === */
.footer { background: #1a1a1a; color: #aaa; padding: 40px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { color: #999; font-size: 13px; line-height: 2; display: block; }
.footer a:hover { color: #c0392b; }
.footer-bottom { border-top: 1px solid #333; padding-top: 16px; text-align: center; font-size: 12px; }

/* === Utility === */
.section { padding: 50px 0; }
.bg-white { background: #fff; }
.bg-light { background: #fafafa; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-red { color: #c0392b; }
.text-muted { color: #888; font-size: 14px; }

/* === Detail Page === */
.detail-header { background: #fff; border-radius: 6px; padding: 14px 20px; margin-top: 6px; }
.detail-header h1 { font-size: 22px; color: #222; margin-bottom: 4px; line-height: 1.3; }
.detail-meta { font-size: 13px; color: #999; }
.detail-body { background: #fff; border-radius: 10px; padding: 30px; margin-top: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.detail-body h1 { font-size: 24px; color: #222; margin: 0 0 12px 0; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.detail-body .detail-meta { margin-top: 0; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.detail-body h2 { font-size: 20px; color: #222; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.detail-body ul, .detail-body ol { margin: 0 0 16px 20px; }
.detail-body li { font-size: 15px; color: #555; line-height: 1.8; list-style: disc; margin-bottom: 6px; }
.detail-body ol li { list-style: decimal; }
.detail-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.detail-info-item { background: #fafafa; padding: 14px; border-radius: 6px; }
.detail-info-item .label { font-size: 12px; color: #999; }
.detail-info-item .value { font-size: 15px; font-weight: 600; color: #333; margin-top: 4px; }

/* === Sidebar === */
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.sidebar { }
.sidebar-card { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.sidebar-card h4 { font-size: 15px; color: #222; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; }
.sidebar-card ul li { padding: 8px 0; border-bottom: 1px dashed #f0f0f0; font-size: 13px; }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: #555; }
.sidebar-card ul li a:hover { color: #c0392b; }
.sidebar-hotline { font-size: 22px; font-weight: 700; color: #c0392b; margin-top: 6px; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .article-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* === Filter Bar === */
.filter-bar { background: #fff; border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-bar .filter-label { font-size: 14px; font-weight: 600; color: #555; }
.filter-bar select, .filter-bar input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; }
.filter-bar .btn { padding: 8px 20px; font-size: 13px; }

/* === Pagination === */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; border-radius: 6px; font-size: 14px; border: 1px solid #ddd; color: #555; background: #fff; transition: all 0.2s; }
.pagination a:hover { border-color: #c0392b; color: #c0392b; }
.pagination .current { background: #c0392b; color: #fff; border-color: #c0392b; }

/* === Trust Section === */
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.trust-item { text-align: center; }
.trust-item .trust-icon { font-size: 36px; margin-bottom: 8px; }
.trust-item h4 { font-size: 15px; color: #222; }
.trust-item p { font-size: 12px; color: #999; }

/* === Page Header === */
.page-header { background: linear-gradient(135deg, #c0392b, #e74c3c); color: #fff; padding: 40px 0; text-align: center; }
.page-header h1 { font-size: 30px; font-weight: 700; }
.page-header p { font-size: 15px; opacity: 0.9; margin-top: 8px; }
@media (max-width: 768px) { .page-header h1 { font-size: 22px; } }

/* === About === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 24px; color: #222; margin-bottom: 16px; }
.about-text p { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 12px; }
.about-advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.advantage-item { background: #fff; border-left: 3px solid #c0392b; padding: 12px 16px; border-radius: 0 6px 6px 0; }
.advantage-item h4 { font-size: 14px; color: #222; }
.advantage-item p { font-size: 12px; color: #888; margin-bottom: 0; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* === Search Box === */
.search-box { display: flex; max-width: 540px; margin: 0 auto; gap: 0; }
.search-box input { flex: 1; padding: 12px 16px; border: none; border-radius: 6px 0 0 6px; font-size: 15px; }
.search-box button { padding: 12px 28px; background: #333; color: #fff; border: none; border-radius: 0 6px 6px 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.search-box button:hover { background: #555; }
