/* ============================================
   service.css - 服务中心页面专属样式
   前缀: sv-
   ============================================ */

/* ===== Hero Banner ===== */
.sv-hero { position: relative; padding: 160px 0 80px; background: linear-gradient(135deg, #0f1724 0%, #1e3a5f 50%, #2563eb 100%); overflow: hidden; text-align: center; }
.sv-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,.3) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(37,99,235,.2) 0%, transparent 50%); }
.sv-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; }
.sv-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,36,.7) 0%, rgba(30,58,95,.5) 100%); z-index: 1; }
.sv-hero-inner { position: relative; z-index: 2; color: #fff; }
.sv-hero-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin: 0 0 12px; line-height: 1.25; }
.sv-hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.75); margin: 0; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== 基础 ===== */
.sv-section { padding: 80px 0; }
.sv-section-alt { background: #f8fafc; }
.sv-section-header { text-align: center; margin-bottom: 48px; }
.sv-title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 800; color: #0f172a; margin: 0 0 10px; line-height: 1.25; }
.sv-desc { font-size: 14px; color: #555555; margin: 0 auto; max-width: 700px; line-height: 1.7; }
.sv-empty { text-align: center; padding: 60px 20px; color: #94a3b8; font-size: .95rem; }

/* ===== 板块1：服务体系 ===== */
.sv-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sv-service-card {
  background: #fff; border: 1px solid rgba(213,224,220,.5); border-radius: 14px;
  padding: 36px 28px; text-align: center;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.sv-service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(37,99,235,.08) 50%, rgba(37,99,235,.15) 100%);
  transition: height .4s cubic-bezier(.4,0,.2,1);
  border-radius: 0 0 14px 14px; pointer-events: none;
}
.sv-service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(37,99,235,.08); border-color: rgba(37,99,235,.15); }
.sv-service-card:hover::after { height: 80px; }
.sv-service-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 50%;
}
.sv-service-icon svg { width: 36px; height: 36px; color: #2563eb; transition: transform .4s ease; }
.sv-service-card:hover .sv-service-icon svg { transform: scale(1.15); }
.sv-service-title { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 10px; }
.sv-service-text { font-size: 14px; color: #555555; line-height: 1.7; margin: 0; flex: 1; }

/* ===== 板块2：售后维保保障 ===== */
.sv-warranty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sv-warranty-card {
  background: #fff; border: 1px solid #eef2f6; border-radius: 14px;
  padding: 32px 24px; text-align: center;
  transition: all .3s ease;
}
.sv-warranty-card:hover { box-shadow: 0 12px 40px rgba(37,99,235,.1); border-color: rgba(37,99,235,.2); transform: translateY(-4px); }
.sv-warranty-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: #eff6ff; border-radius: 50%;
}
.sv-warranty-icon svg { width: 32px; height: 32px; color: #2563eb; }
.sv-warranty-title { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 10px; }
.sv-warranty-text { font-size: 14px; color: #555555; line-height: 1.65; margin: 0; }

/* ===== 板块3：常见疑问解答 ===== */
.sv-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sv-faq-card {
  background: #fff; border: 1px solid #eef2f6; border-radius: 14px;
  padding: 24px; transition: all .3s ease; display: block;
  text-decoration: none; color: inherit;
}
.sv-faq-card:hover { box-shadow: 0 8px 30px rgba(37,99,235,.08); border-color: rgba(37,99,235,.15); transform: translateY(-3px); }
.sv-faq-q { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.sv-faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}
.sv-faq-q h4 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 2px 0 0; line-height: 1.4; }
.sv-faq-a { display: flex; align-items: flex-start; gap: 12px; }
.sv-faq-icon-a {
  width: 28px; height: 28px; flex-shrink: 0;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  color: #2563eb; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}
.sv-faq-a p { font-size: 14px; color: #555555; line-height: 1.65; margin: 2px 0 0; }

/* ===== 板块4：维护保养科普 ===== */
.sv-maintain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sv-maintain-card {
  background: #fff; border: 1px solid #eef2f6; border-radius: 14px;
  padding: 28px 22px; transition: all .3s ease; position: relative;
  display: block; text-decoration: none; color: inherit;
}
.sv-maintain-card:hover { box-shadow: 0 12px 40px rgba(37,99,235,.1); border-color: rgba(37,99,235,.2); transform: translateY(-4px); }
.sv-maintain-num {
  font-size: 2.2rem; font-weight: 800; color: #2563eb; opacity: .12;
  line-height: 1; margin-bottom: 8px;
}
.sv-maintain-title { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 10px; }
.sv-maintain-text { font-size: 14px; color: #555555; line-height: 1.6; margin: 0; }

/* 3行文字截断 */
.sv-text-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== CTA ===== */
.sv-cta { padding: 60px 0; background: linear-gradient(135deg, #0f1724 0%, #1e3a5f 50%, #2563eb 100%); }
.sv-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sv-cta-content h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 10px; }
.sv-cta-content p { font-size: 1rem; color: rgba(255,255,255,.75); margin: 0; }
.sv-cta-actions { display: flex; gap: 16px; flex-shrink: 0; }
.sv-cta-btn {
  display: inline-block; padding: 14px 32px; font-size: 1rem; font-weight: 700;
  border: none; border-radius: 12px; text-decoration: none; transition: all .3s ease; cursor: pointer;
}
.sv-cta-btn-primary { background: #fff; color: #2563eb; }
.sv-cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.25); }
.sv-cta-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.sv-cta-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* ===== 响应式 ===== */
@media(max-width: 992px) {
  .sv-hero { padding: 140px 0 60px; }
  .sv-section { padding: 60px 0; }
  .sv-service-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-warranty-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-faq-grid { grid-template-columns: 1fr; }
  .sv-maintain-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-cta-inner { flex-direction: column; text-align: center; }
}
@media(max-width: 640px) {
  .sv-hero { padding: 120px 0 50px; }
  .sv-section { padding: 40px 0; }
  .sv-section-header { margin-bottom: 32px; }
  .sv-service-grid { grid-template-columns: 1fr; }
  .sv-warranty-grid { grid-template-columns: 1fr; }
  .sv-maintain-grid { grid-template-columns: 1fr; }
}
