/* ==========================================================================
   硅胶体温监测器落地页（page-medical）
   风格：干净专业、医疗温和科技。雾白底、冷蓝灰、单一医疗青作为交互色。
   ========================================================================== */

.ctm-hero,
.ctm-section,
.ctm-cta {
  --ctm-bg: #f6f9fb;
  --ctm-soft: #eef3f7;
  --ctm-ink: #16232f;
  --ctm-body: #45535f;
  --ctm-muted: #7d8b98;
  --ctm-accent: #1f8fa8;
  --ctm-accent-deep: #14697d;
  --ctm-line: #dde6ee;
}

/* 首屏 ------------------------------------------------------------------- */
.ctm-hero {
  background: linear-gradient(180deg, #f9fbfd 0%, #eef4f8 100%);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--ctm-line);
}
.ctm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}
.ctm-kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ctm-accent-deep);
}
.ctm-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ctm-ink);
}
.ctm-sub { margin: 0 0 14px; font-size: 1.06rem; color: var(--ctm-body); }
.ctm-slogan {
  margin: 0 0 20px;
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ctm-accent-deep);
  line-height: 1.5;
}
.ctm-lead { margin: 0 0 28px; max-width: 48ch; font-size: 1rem; line-height: 1.85; color: var(--ctm-body); }
.ctm-lead a { color: var(--ctm-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.ctm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ctm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.ctm-btn--primary { background: var(--ctm-accent-deep); color: #fff; }
.ctm-btn--primary:hover { background: var(--ctm-accent); color: #fff; transform: translateY(-1px); }
.ctm-btn--ghost { border-color: var(--ctm-line); background: #fff; color: var(--ctm-accent-deep); }
.ctm-btn--ghost:hover { border-color: var(--ctm-accent); background: var(--ctm-soft); color: var(--ctm-accent-deep); }
.ctm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.ctm-chips li {
  margin: 0;
  padding: 5px 13px;
  border: 1px solid var(--ctm-line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.78rem;
  color: var(--ctm-body);
}
.ctm-hero-figure { margin: 0; }
.ctm-hero-figure img { width: 100%; height: auto; border-radius: 16px; }
.ctm-hero-figure figcaption { margin-top: 12px; font-size: 0.78rem; color: var(--ctm-muted); }

/* 区块 ------------------------------------------------------------------- */
.ctm-section { padding: 80px 0; background: #fff; }
.ctm-section--soft { background: var(--ctm-soft); border-top: 1px solid var(--ctm-line); border-bottom: 1px solid var(--ctm-line); }
.ctm-head { max-width: 760px; margin-bottom: 38px; }
.ctm-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ctm-ink);
}
.ctm-head p { margin: 0; font-size: 1rem; line-height: 1.85; color: var(--ctm-body); }

.ctm-grid { display: grid; gap: 18px; }
.ctm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ctm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ctm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctm-card {
  padding: 24px 24px 22px;
  border: 1px solid var(--ctm-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.ctm-card:hover { border-color: var(--ctm-accent); transform: translateY(-2px); }
.ctm-card h3 { margin: 0 0 9px; font-size: 1rem; font-weight: 600; color: var(--ctm-ink); }
.ctm-card p { margin: 0; font-size: 0.93rem; line-height: 1.8; color: var(--ctm-body); }
.ctm-card a { color: var(--ctm-accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.ctm-card--rule { background: var(--ctm-bg); border-left: 3px solid var(--ctm-accent); border-radius: 4px 12px 12px 4px; }

.ctm-figure { margin: 40px 0 0; }
.ctm-figure img { width: 100%; height: auto; border-radius: 14px; }
.ctm-figure figcaption { margin-top: 12px; font-size: 0.78rem; color: var(--ctm-muted); }
.ctm-note { margin-top: 16px; font-size: 0.84rem; color: var(--ctm-muted); }
.ctm-note a { color: var(--ctm-accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* 表格 ------------------------------------------------------------------- */
.ctm-table-wrap { overflow-x: auto; border: 1px solid var(--ctm-line); border-radius: 12px; background: #fff; }
.ctm-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.ctm-table th,
.ctm-table td {
  padding: 15px 20px;
  text-align: left;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ctm-body);
  border-bottom: 1px solid var(--ctm-line);
  vertical-align: top;
}
.ctm-table th {
  background: var(--ctm-bg);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ctm-muted);
  white-space: nowrap;
}
.ctm-table tr:last-child td { border-bottom: 0; }

/* 分诊区 ----------------------------------------------------------------- */
.ctm-triage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.ctm-triage figure { margin: 0; }
.ctm-triage img { width: 100%; height: auto; border-radius: 14px; }
.ctm-triage figcaption { margin-top: 12px; font-size: 0.78rem; color: var(--ctm-muted); }
.ctm-triage h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 600; color: var(--ctm-ink); }
.ctm-triage p { font-size: 0.98rem; line-height: 1.85; color: var(--ctm-body); }
.ctm-list { margin: 0; padding-left: 1.1em; font-size: 0.94rem; line-height: 1.85; color: var(--ctm-body); }
.ctm-list li { margin-bottom: 7px; }

/* FAQ ------------------------------------------------------------------- */
.ctm-faq details { border-bottom: 1px solid var(--ctm-line); padding: 17px 0; }
.ctm-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ctm-ink);
}
.ctm-faq summary::-webkit-details-marker { display: none; }
.ctm-faq summary::after { content: "+"; font-weight: 400; color: var(--ctm-accent); }
.ctm-faq details[open] summary::after { content: "−"; }
.ctm-faq details > div { padding-top: 10px; }
.ctm-faq p { margin: 0; font-size: 0.94rem; line-height: 1.85; color: var(--ctm-body); }

/* 底部 CTA --------------------------------------------------------------- */
.ctm-cta { background: var(--ctm-accent-deep); padding: 60px 0; }
.ctm-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ctm-cta h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: #fff; }
.ctm-cta p { margin: 0; max-width: 54ch; font-size: 0.95rem; line-height: 1.85; color: rgba(255, 255, 255, 0.84); }
.ctm-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ctm-cta .ctm-btn--primary { background: #fff; color: var(--ctm-accent-deep); }
.ctm-cta .ctm-btn--primary:hover { background: var(--ctm-soft); color: var(--ctm-accent-deep); }
.ctm-cta .ctm-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.ctm-cta .ctm-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ctm-accent-deep); }

/* 响应式 ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ctm-hero-grid, .ctm-triage { grid-template-columns: 1fr; gap: 34px; }
  .ctm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ctm-hero { padding: 46px 0 44px; }
  .ctm-section { padding: 54px 0; }
  .ctm-grid--4, .ctm-grid--3, .ctm-grid--2 { grid-template-columns: 1fr; }
  .ctm-btn { min-width: 0; width: 100%; }
  .ctm-cta { padding: 46px 0; }
  .ctm-cta-actions { width: 100%; }
}
