/* ============================================================
   style-faq.css — 常见问题（独立布局：左右对开圆 + 分组问答）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：左右对开圆 ---------- */
.fq-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 84px;
  overflow: hidden;
}
.fq-hero::before {
  content: "";
  position: absolute;
  right: -240px; top: -240px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%);
  pointer-events: none;
}
.fq-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.fq-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.fq-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.fq-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.fq-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.fq-hero-desc a { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--gray-400); }
.fq-hero-media { display: flex; justify-content: center; gap: 30px; align-items: center; }
.fq-disc-big {
  width: min(300px, 30vw);
  height: min(300px, 30vw);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gray-100), var(--gray-200) 55%, var(--gray-300));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
}
.fq-disc-big b { font-size: 44px; font-weight: 800; color: var(--ink); }
.fq-disc-big span { font-size: 13px; color: var(--gray-600); letter-spacing: .2em; margin-top: 6px; }
.fq-disc-big::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  animation: fqSpin 50s linear infinite;
}
@keyframes fqSpin { to { transform: rotate(360deg); } }
.fq-ring-stack { display: flex; flex-direction: column; gap: 22px; }
.fq-ring-item {
  width: 128px; height: 128px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.fq-ring-item:nth-child(2) { width: 108px; height: 108px; margin-left: 20px; }
.fq-ring-item:nth-child(3) { width: 92px; height: 92px; margin-left: 36px; }
.fq-ring-item b { display: block; font-size: 20px; color: var(--ink); font-weight: 800; }

/* ---------- 分组问答 ---------- */
.fq-sec { background: var(--gray-50); overflow: hidden; position: relative; }
.fq-sec::before {
  content: "";
  position: absolute;
  left: -160px; bottom: -160px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%);
  pointer-events: none;
}
.fq-group { margin-bottom: 46px; position: relative; z-index: 2; }
.fq-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.fq-group-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}
.fq-group-head h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.fq-group-head p { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.fq-list { display: grid; gap: 12px; }
.fq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.fq-item:hover { border-color: var(--gray-400); box-shadow: var(--shadow-sm); }
.fq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--gray-400);
  position: relative;
  transition: all var(--transition);
}
.fq-item summary::before {
  content: "";
  position: absolute;
  right: 33px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  transition: opacity var(--transition);
}
.fq-item[open] summary::after { transform: scale(1.5); border-color: var(--ink); }
.fq-item[open] summary::before { opacity: 1; }
.fq-item .fq-body { padding: 0 24px 22px; font-size: 14px; color: var(--ink-mute); line-height: 1.95; }
.fq-body a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--gray-400); }
.fq-body a:hover { border-color: var(--ink); }

/* ---------- 快速问答圆卡 ---------- */
.fq-quick { background: var(--white); position: relative; overflow: hidden; }
.fq-quick::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.fq-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 2; }
.fq-quick-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--gray-50);
  text-align: center;
  transition: all var(--transition);
}
.fq-quick-card:nth-child(2) { transform: translateY(26px); }
.fq-quick-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.fq-quick-card:nth-child(2):hover { transform: translateY(-4px); }
.fq-quick-circle {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.fq-quick-card h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.fq-quick-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }
.fq-quick-card a { display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--gray-400); }
.fq-quick-card a:hover { border-color: var(--ink); }

/* ---------- CTA（本页专属） ---------- */
.fq-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.fq-sec-cta::before {
  content: "";
  position: absolute;
  left: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%);
  pointer-events: none;
}
.fq-sec-cta::after {
  content: "";
  position: absolute;
  right: 6%; bottom: -160px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  pointer-events: none;
}
.fq-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.fq-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.fq-sec-cta .cta-contact a { color: #fff; }
.fq-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .fq-hero { padding-top: 148px; }
  .fq-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .fq-hero-media { justify-content: flex-start; }
  .fq-disc-big { width: 240px; height: 240px; }
  .fq-quick-grid { grid-template-columns: 1fr; }
  .fq-quick-card:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .fq-hero { padding: 132px 0 56px; }
  .fq-hero-media { flex-wrap: wrap; }
  .fq-ring-stack { flex-direction: row; }
  .fq-ring-item, .fq-ring-item:nth-child(2), .fq-ring-item:nth-child(3) { width: 84px; height: 84px; margin: 0; }
}
