/* ================================================
   急轲援官网 - 设计系统样式表
   配色: 深蓝(#1D293F) + 橙色CTA(#F97316) + 浅灰(#F8FAFC) + 深蓝页脚(#0F172A)
   字体: Lexend(标题) + Source Sans 3(导航) + Sarasa Gothic SC(中文正文)
   ================================================ */

/* --- Reset & Base --- */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Sarasa Gothic SC', sans-serif;
  font-size: 16px;
  color: #1D293F;
  line-height: 1.6;
}

/* --- Layout Foundation --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #FFFFFF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.logo-text {
  font-weight: 700;
  font-size: 20px;
  color: #1D293F;
}
.header-slogan {
  font-size: 12px;
  color: #94A3B8;
  padding-left: 12px;
  border-left: 1px solid #E2E8F0;
}

/* Navigation */
.header-nav ul { display: flex; gap: 36px; }
.header-nav li { position: relative; }
.header-nav li a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1D293F;
  padding: 24px 0;
  display: inline-block;
  transition: color 0.2s;
}
.header-nav li:hover a,
.header-nav li.active a { color: #F97316; }
.header-nav li dd { display: none; }
.header-nav li:hover dd {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  min-width: 160px;
  z-index: 999;
}
.header-nav li dd a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #64748B;
  transition: all 0.2s;
}
.header-nav li dd a:hover { color: #F97316; background: #FFF7ED; }

/* CTA Button */
.header-right { display: flex; align-items: center; }
.cta-button {
  background: #F97316;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 8px;
  transition: all 0.2s;
}
.cta-button:hover { background: #EA580C; transform: translateY(-1px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 8px;
  text-decoration: none;
}
.btn-primary { background: #F97316; color: #FFFFFF; }
.btn-primary:hover { background: #EA580C; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #FFFFFF; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.1); }
.btn-lg { padding: 14px 32px; font-size: 17px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1D293F 0%, #0F172A 100%);
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 22px;
  color: #94A3B8;
  margin-bottom: 12px;
}
.hero-desc {
  font-size: 17px;
  color: #64748B;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* --- Section Common --- */
.section-header { margin-bottom: 48px; text-align: center; }
.section-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #1D293F;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: #64748B;
}
.section-line {
  width: 48px;
  height: 3px;
  background: #F97316;
  border-radius: 2px;
  margin: 16px auto 0;
}

/* --- Services Grid (首页) --- */
.services-section { padding: 80px 0; background: #FFFFFF; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: #F97316;
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #FFF7ED;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.service-icon img { width: 36px; height: 36px; object-fit: contain; }
.service-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #1D293F;
  margin-bottom: 8px;
}
.service-price {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #F97316;
  margin-bottom: 16px;
}
.service-link {
  font-size: 14px;
  color: #F97316;
  font-weight: 500;
}

/* --- Trust Section --- */
.trust-section {
  background: #F8FAFC;
  padding: 60px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item { padding: 20px; }
.trust-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: #F97316;
  display: block;
  line-height: 1.1;
}
.trust-plus, .trust-unit {
  font-size: 24px;
  color: #EA580C;
}
.trust-label {
  font-size: 15px;
  color: #64748B;
  display: block;
  margin-top: 8px;
}

/* --- CTA Section --- */
.cta-section {
  background: #1D293F;
  padding: 80px 0;
  text-align: center;
}
.cta-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.cta-desc {
  font-size: 17px;
  color: #94A3B8;
  margin-bottom: 32px;
}

/* --- Page Banner --- */
.page-banner {
  background: #1D293F;
  padding: 60px 0;
  text-align: center;
}
.banner-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.banner-subtitle {
  font-size: 18px;
  color: #94A3B8;
}

/* --- Service Detail Cards (服务详情页) --- */
.service-detail-section { padding: 64px 0; background: #FFFFFF; }
.service-detail-card {
  display: flex;
  gap: 32px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  transition: all 0.3s;
}
.service-detail-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.service-detail-img {
  width: 360px;
  min-height: 260px;
  flex-shrink: 0;
  overflow: hidden;
  background: #F1F5F9;
}
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-info {
  padding: 28px 28px 28px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.service-detail-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #1D293F;
}
.service-detail-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
}
.service-detail-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}
.service-detail-price {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #F97316;
}
.service-detail-time {
  font-size: 13px;
  color: #94A3B8;
}

/* --- News/Article --- */
.news-section { padding: 64px 0; background: #FFFFFF; }
.news-card {
  display: flex;
  gap: 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: all 0.3s;
  padding: 24px 28px;
}
.news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-color: #F97316;
}
.news-thumb {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #F1F5F9;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { flex: 1; }
.news-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1D293F;
  margin-bottom: 8px;
}
.news-title:hover { color: #F97316; }
.news-desc { font-size: 14px; color: #64748B; margin-bottom: 8px; }
.news-date { font-size: 12px; color: #94A3B8; }

/* --- Article Content --- */
.article-section { padding: 64px 0; background: #FFFFFF; }
.article-content { max-width: 800px; margin: 0 auto; }
.article-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #1D293F;
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}
.article-body { line-height: 1.8; color: #475569; }
.article-body p { margin-bottom: 16px; }
.article-body img { border-radius: 8px; margin: 16px 0; }

/* --- About Page --- */
.about-intro { padding: 64px 0; background: #FFFFFF; }
.about-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: #475569;
}
.cert-section { padding: 48px 0; background: #F8FAFC; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.cert-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}
.cert-card img { width: 100%; height: auto; }
.cert-card p { padding: 12px; font-size: 14px; color: #64748B; }

/* --- Stats --- */
.stats-section { padding: 48px 0; background: #FFFFFF; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.stat-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #F97316;
  display: block;
}
.stat-plus { font-size: 24px; color: #EA580C; }
.stat-unit { font-size: 20px; color: #EA580C; }
.stat-label {
  font-size: 14px;
  color: #64748B;
  display: block;
  margin-top: 8px;
}

/* --- Contact --- */
.contact-section { padding: 48px 0; background: #FFFFFF; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.contact-icon { font-size: 32px; margin-bottom: 12px; }
.contact-card h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1D293F;
  margin-bottom: 8px;
}
.contact-card p { font-size: 13px; color: #64748B; }

/* --- Footer --- */
.site-footer { background: #0F172A; color: #94A3B8; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 40px 80px 24px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #1E293B;
}
.footer-logo {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #FFFFFF;
  display: block;
}
.footer-slogan { font-size: 12px; color: #64748B; margin-top: 4px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px;
  color: #94A3B8;
  transition: color 0.2s;
}
.footer-links a:hover { color: #F97316; }
.footer-phone { font-size: 14px; color: #94A3B8; }
.footer-phone strong { color: #FFFFFF; font-size: 16px; }
.footer-bottom { padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 12px; color: #475569; }
.footer-bottom a { color: #64748B; }
.footer-bottom a:hover { color: #94A3B8; }

/* --- Product Grid (案例/产品列表页) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.product-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card h3 {
  padding: 16px 20px 12px;
  font-size: 16px;
  color: #1D293F;
}
.product-card p {
  padding: 0 20px 16px;
  font-size: 13px;
  color: #64748B;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container, .header-inner, .footer-inner { padding: 0 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container, .header-inner, .footer-inner { padding: 0 20px; }
  .services-grid, .stats-grid, .trust-grid, .contact-grid, .cert-grid { grid-template-columns: 1fr; }
  .service-detail-card { flex-direction: column; }
  .service-detail-img { width: 100%; min-height: 200px; }
  .service-detail-info { padding: 20px; }
  .header-nav { display: none; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .footer-top { flex-direction: column; gap: 20px; text-align: center; }
  .news-card { flex-direction: column; }
  .news-thumb { width: 100%; height: 180px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
