/* ===================================================================
   HHDNA V7 — 医疗科技风主题样式
   汉禾基因亲子鉴定咨询 · 蓝白医学科技风
   =================================================================== */

/* ── CSS 变量 ── */
:root {
  --c-primary:       #0a56a0;
  --c-primary-dark:  #073d74;
  --c-primary-light: #e8f0fa;
  --c-accent:        #1580e8;
  --c-text:          #1a2233;
  --c-muted:         #5a6473;
  --c-border:        #dce6f0;
  --c-bg:            #f7fafd;
  --c-white:         #ffffff;
  --radius:          16px;
  --shadow:          0 4px 24px rgba(10,86,160,.09);
  --shadow-hover:    0 10px 36px rgba(10,86,160,.18);
  --trans:           .24s ease;
}

/* ── 通用工具 ── */
.v7-section         { padding: 68px 0; }
.v7-section--bg     { background: var(--c-bg); }
.v7-section--dark   { background: linear-gradient(135deg,var(--c-primary-dark) 0%,var(--c-primary) 100%); }

.v7-title           { text-align: center; margin-bottom: 44px; }
.v7-title h2        { margin: 0 0 10px; font-size: 26px; color: var(--c-text); font-weight: 700; line-height: 1.3; }
.v7-title p         { margin: 0; color: var(--c-muted); font-size: 14px; line-height: 1.8; max-width: 600px; margin: 0 auto; }
.v7-title--white h2 { color: #fff; }
.v7-title--white p  { color: rgba(255,255,255,.72); }

.v7-tag {
  display: inline-block;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: .8px;
  margin-bottom: 10px;
}

.v7-more-wrap       { text-align: center; margin-top: 36px; }
.v7-more-btn        { display: inline-block; padding: 11px 32px; border-radius: 8px; border: 1.5px solid var(--c-primary); color: var(--c-primary); font-size: 14px; font-weight: 600; text-decoration: none; transition: all var(--trans); }
.v7-more-btn:hover  { background: var(--c-primary); color: #fff; }
.v7-more-btn--white { border-color: rgba(255,255,255,.6); color: rgba(255,255,255,.9); }
.v7-more-btn--white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* ══════════════════════════════════════
   1. 服务快速判断条
══════════════════════════════════════ */
.v7-quick-bar               { background: var(--c-primary-dark); border-bottom: 1px solid rgba(255,255,255,.06); }
.v7-quick-bar .container    { display: grid; grid-template-columns: repeat(4,1fr); }
.v7-quick-item              {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 20px;
  color: rgba(255,255,255,.88);
  border-right: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: background var(--trans);
}
.v7-quick-item:last-child   { border-right: none; }
.v7-quick-item:hover        { background: rgba(255,255,255,.09); color: #fff; }
.v7-qi-icon                 { font-size: 22px; flex-shrink: 0; }
.v7-qi-text strong          { display: block; font-size: 13px; font-weight: 600; }
.v7-qi-text small           { font-size: 12px; color: rgba(255,255,255,.55); }

/* ══════════════════════════════════════
   2. 服务卡片区
══════════════════════════════════════ */
.v7-service-section  { padding: 72px 0; background: #fff; }
.v7-service-grid     { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.v7-service-card     {
  border-radius: var(--radius);
  background: #fff;
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  text-decoration: none;
  color: inherit;
}
.v7-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--c-primary);
}
.v7-sc-badge         {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
}
.v7-service-card h3  { margin: 0 0 10px; font-size: 17px; color: var(--c-text); font-weight: 700; line-height: 1.4; }
.v7-service-card > p { margin: 0 0 14px; font-size: 13px; color: var(--c-muted); line-height: 1.85; flex: 1; }
.v7-sc-meta          { background: var(--c-bg); border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; list-style: none; }
.v7-sc-meta li       { font-size: 12px; color: var(--c-muted); padding: 2px 0; }
.v7-sc-meta li::before { content: "·  "; color: var(--c-primary); }
.v7-sc-btn           {
  display: block;
  text-align: center;
  padding: 9px 0;
  border-radius: 8px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--trans), color var(--trans);
}
.v7-service-card:hover .v7-sc-btn { background: var(--c-primary); color: #fff; }

/* ══════════════════════════════════════
   3. "我适合哪种鉴定" 选择区
══════════════════════════════════════ */
.v7-type-section  { padding: 64px 0; background: var(--c-bg); }
.v7-type-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v7-type-row      {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.v7-type-row:hover  { border-color: var(--c-primary); box-shadow: 0 3px 14px rgba(10,86,160,.09); }
.v7-tr-q            { font-size: 14px; color: var(--c-text); font-weight: 600; line-height: 1.5; }
.v7-tr-q em         { font-style: normal; color: var(--c-muted); font-weight: 400; font-size: 12px; display: block; margin-top: 2px; }
.v7-tr-arrow        { color: var(--c-border); font-size: 18px; text-align: center; }
.v7-tr-a strong     { display: block; color: var(--c-primary); font-size: 14px; font-weight: 700; }
.v7-tr-a span       { font-size: 12px; color: var(--c-muted); display: block; margin-top: 2px; }

/* ══════════════════════════════════════
   4. 武汉本地服务 + 信任点
══════════════════════════════════════ */
.v7-local-section  { padding: 72px 0; background: #fff; }
.v7-local-grid     { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.v7-local-content h2  { font-size: 22px; color: var(--c-text); margin: 0 0 14px; font-weight: 700; }
.v7-local-content p   { color: var(--c-muted); line-height: 1.9; margin: 0 0 12px; font-size: 14px; }
.v7-local-tags        { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.v7-local-tag         { padding: 5px 12px; border-radius: 99px; background: var(--c-primary-light); color: var(--c-primary); font-size: 12px; font-weight: 600; }
.v7-trust-grid        { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v7-trust-item        { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 12px; padding: 16px 16px; }
.v7-trust-item strong { display: flex; align-items: center; gap: 8px; color: var(--c-text); font-size: 14px; margin-bottom: 5px; }
.v7-trust-item strong::before { content: "✓"; color: var(--c-primary); font-weight: 900; }
.v7-trust-item span   { font-size: 12px; color: var(--c-muted); line-height: 1.7; display: block; padding-left: 20px; }

/* ══════════════════════════════════════
   5. 双流程图（隐私 / 司法）
══════════════════════════════════════ */
.v7-process-section  { padding: 72px 0; background: linear-gradient(140deg,var(--c-primary-dark) 0%,#0a56a0 100%); }
.v7-process-cols     { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.v7-process-col      {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.v7-process-col h3   {
  color: #fff;
  font-size: 17px;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-weight: 700;
}
.v7-process-col h3 em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.6); display: block; margin-top: 4px; font-weight: 400; }
.v7-step             { display: flex; gap: 13px; margin-bottom: 13px; }
.v7-step:last-child  { margin-bottom: 0; }
.v7-step-num         {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.v7-step-body strong { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; font-weight: 600; }
.v7-step-body span   { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.6; display: block; }

/* ══════════════════════════════════════
   6. FAQ 折叠问答
══════════════════════════════════════ */
.v7-faq-section  { padding: 72px 0; background: var(--c-bg); }
.v7-faq-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v7-faq-item     { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.v7-faq-item summary {
  padding: 15px 18px;
  font-size: 14px;
  color: var(--c-text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: color var(--trans);
  user-select: none;
}
.v7-faq-item summary::-webkit-details-marker { display: none; }
.v7-faq-item summary::after { content: "+"; color: var(--c-primary); font-size: 20px; font-weight: 300; flex-shrink: 0; }
.v7-faq-item[open] summary  { color: var(--c-primary); border-bottom: 1px solid var(--c-border); }
.v7-faq-item[open] summary::after { content: "−"; }
.v7-faq-answer   { padding: 13px 18px; font-size: 13px; color: var(--c-muted); line-height: 1.9; }

/* ══════════════════════════════════════
   7. 知识中心 / 最新文章
══════════════════════════════════════ */
.v7-news-section   { padding: 72px 0; background: #fff; }
.v7-news-grid      { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.v7-news-card      {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.v7-news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.v7-news-img        { width: 100%; height: 154px; overflow: hidden; background: var(--c-primary-light); }
.v7-news-img img    { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .4s ease; }
.v7-news-card:hover .v7-news-img img { transform: scale(1.04); }
.v7-news-body       { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.v7-news-tag        { font-size: 11px; color: var(--c-primary); background: var(--c-primary-light); padding: 2px 8px; border-radius: 99px; display: inline-block; margin-bottom: 9px; }
.v7-news-card h3    { margin: 0 0 8px; font-size: 15px; color: var(--c-text); font-weight: 600; line-height: 1.5; }
.v7-news-card p     { margin: 0 0 12px; font-size: 13px; color: var(--c-muted); line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v7-news-more       { font-size: 12px; color: var(--c-primary); font-weight: 600; }
.v7-news-cats       { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.v7-news-cat        { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--c-border); color: var(--c-muted); font-size: 13px; text-decoration: none; transition: all var(--trans); }
.v7-news-cat:hover  { border-color: var(--c-primary); color: var(--c-primary); }

/* ══════════════════════════════════════
   8. 联系咨询 CTA
══════════════════════════════════════ */
.v7-cta-section  { padding: 68px 0; background: var(--c-primary-dark); }
.v7-cta-grid     { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.v7-cta-card     {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.v7-cta-icon     { font-size: 32px; margin-bottom: 12px; }
.v7-cta-card h3  { color: #fff; margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.v7-cta-card p   { color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.7; margin: 0 0 16px; }
.v7-cta-tel      { display: block; font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 16px; text-decoration: none; letter-spacing: .5px; }
.v7-cta-tel:hover { color: #a8d4ff; }
.v7-cta-btn      {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: var(--c-primary-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--trans);
}
.v7-cta-btn:hover { background: #fff; color: var(--c-primary-dark); }
.v7-cta-note     { text-align: center; margin-top: 28px; color: rgba(255,255,255,.45); font-size: 12px; line-height: 1.9; }

/* ══════════════════════════════════════
   9. 响应式 991px
══════════════════════════════════════ */
@media (max-width: 991px) {
  .v7-quick-bar .container { grid-template-columns: 1fr 1fr; }
  .v7-quick-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .v7-quick-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .v7-service-grid { grid-template-columns: 1fr 1fr; }
  .v7-type-grid    { grid-template-columns: 1fr; }
  .v7-local-grid   { grid-template-columns: 1fr; gap: 28px; }
  .v7-process-cols { grid-template-columns: 1fr; }
  .v7-faq-grid     { grid-template-columns: 1fr; }
  .v7-news-grid    { grid-template-columns: 1fr 1fr; }
  .v7-cta-grid     { grid-template-columns: 1fr; gap: 14px; }
}

/* ══════════════════════════════════════
   10. 响应式 767px（手机端）
══════════════════════════════════════ */
@media (max-width: 767px) {
  .v7-section,
  .v7-service-section,
  .v7-type-section,
  .v7-local-section,
  .v7-process-section,
  .v7-faq-section,
  .v7-news-section,
  .v7-cta-section { padding: 40px 0; }
  .v7-title        { margin-bottom: 24px; }
  .v7-title h2     { font-size: 19px; }
  .v7-quick-bar .container { grid-template-columns: 1fr 1fr; }
  .v7-quick-item   { padding: 13px 14px; gap: 10px; }
  .v7-qi-icon      { font-size: 18px; }
  .v7-service-grid { grid-template-columns: 1fr; gap: 12px; }
  .v7-type-row     { grid-template-columns: 1fr auto 1fr; }
  .v7-trust-grid   { grid-template-columns: 1fr; }
  .v7-process-cols { grid-template-columns: 1fr; gap: 16px; }
  .v7-news-grid    { grid-template-columns: 1fr; gap: 14px; }
  .v7-cta-grid     { grid-template-columns: 1fr; }
  .v7-cta-tel      { font-size: 18px; }
}
