/* services.css — 服务子页面专属样式 */

.service-hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.back-link {
  display: inline-block;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
  text-decoration: none;
}
.back-link:hover { color: #1d4ed8; }

.service-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 48px;
  align-items: center;
}

.service-hero-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #0f172a;
}

.service-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 28px;
  max-width: 620px;
}

.service-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.service-hero-icon {
  width: 200px;
  height: 200px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-main {
  padding: 32px 0 80px;
}

.service-block {
  margin: 56px 0;
}

.service-block h2 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

/* Who 适合人群 */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.who-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  transition: all 0.2s;
}
.who-card:hover {
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -10px rgba(29, 78, 216, 0.2);
}
.who-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}
.who-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

/* Process 流程 */
.process-list {
  list-style: none;
  counter-reset: process;
  padding: 0;
  margin: 0;
}
.process-list li {
  counter-increment: process;
  position: relative;
  padding: 18px 20px 18px 60px;
  border-left: 3px solid #e2e8f0;
  margin-left: 18px;
}
.process-list li::before {
  content: counter(process);
  position: absolute;
  left: -20px;
  top: 14px;
  width: 36px;
  height: 36px;
  background: #1d4ed8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.process-list li strong {
  color: #0f172a;
  font-weight: 700;
}

/* Docs 材料清单 */
.docs-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.docs-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 15px;
  color: #334155;
}
.docs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background: #d1fae5;
  border-radius: 50%;
}
.docs-list li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 10px;
  color: #047857;
  font-weight: 700;
  font-size: 14px;
}

/* FAQ */
.faq-list details {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
}
.faq-list summary {
  font-weight: 600;
  font-size: 16px;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  font-weight: 700;
  color: #64748b;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* 底部 CTA */
.service-cta {
  margin-top: 64px;
}
.service-cta-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  color: #fff;
}
.service-cta-card h2 {
  color: #fff;
  font-size: 32px;
  margin: 0 0 12px;
}
.service-cta-card p {
  font-size: 17px;
  opacity: 0.92;
  margin: 0 0 24px;
}
.service-cta-card .btn {
  background: #f97316;
  color: #fff;
  font-size: 17px;
  padding: 16px 32px;
}

/* 悬浮 CTA */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #f97316;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 28px -6px rgba(249, 115, 22, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s;
  z-index: 998;
}
.floating-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -6px rgba(249, 115, 22, 0.7);
}
.floating-cta-icon {
  font-size: 18px;
}

/* 移动端 */
@media (max-width: 768px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-hero-icon {
    width: 140px;
    height: 140px;
    order: -1;
    margin: 0 auto;
  }
  .who-grid {
    grid-template-columns: 1fr;
  }
  .docs-list {
    grid-template-columns: 1fr;
  }
  .service-cta-card {
    padding: 36px 22px;
  }
  .service-cta-card h2 { font-size: 26px; }
  .floating-cta {
    display: none; /* 移动端用底部双按钮，不显示悬浮 */
  }
}

/* 双语区块默认行为：初始隐藏 zh，让 JS 决定显示哪个 */
[data-lang-block="zh"] {
  display: none;
}
html[data-lang="zh"] [data-lang-block="en"] {
  display: none;
}
html[data-lang="zh"] [data-lang-block="zh"] {
  display: revert;
}
