/* 智扣原创模板 ZK-003 · 口腔诊疗官网 · 版权归智扣所有 */
:root {
  --ink: #12302D;
  --ink-2: #35514E;
  --muted: #6F8986;
  --line: #DFECE8;
  --brand: #0E7C6B;
  --brand-2: #13A08A;
  --mint: #E9F5F1;
  --bg: #F6FBF9;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 14px 36px rgba(18, 48, 45, .06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--mint); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 56px)); margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .18em; color: var(--brand); font-weight: 600; margin-bottom: 14px; }
h1, h2, h3 {
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-weight: 600; line-height: 1.32; letter-spacing: .01em;
}
h2 { font-size: clamp(25px, 2.3vw, 33px); }
.lead { font-size: 16.5px; color: var(--ink-2); margin: 16px 0 10px; }
.muted { color: var(--muted); font-size: 14.5px; }
.section { padding: 88px 0; }
.section-tint { background: var(--bg); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 42px; }
.section-head p { max-width: 420px; margin-bottom: 4px; font-size: 13.5px; color: var(--muted); }

/* 页头 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--brand); color: #fff;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif; font-size: 15px; letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text b { font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  padding: 6px 0; font-size: 14px; color: var(--ink-2);
  border-bottom: 1px solid transparent; transition: color .18s ease, border-color .18s ease;
}
.site-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.header-cta {
  padding: 9px 18px; border-radius: var(--radius); background: var(--brand); color: #fff;
  font-size: 13px; white-space: nowrap; transition: background .18s ease;
}
.header-cta:hover { background: var(--brand-2); }
.nav-toggle { display: none; border: 0; background: none; color: var(--ink); font-size: 22px; cursor: pointer; }

/* 首屏 */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F1FAF7 0%, #FBFEFD 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; top: -220px; right: -180px; width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(19, 160, 138, .16), rgba(19, 160, 138, 0) 72%);
}
.hero-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.18fr .82fr;
  gap: 48px; align-items: center; padding: 66px 0 72px;
}
.hero-copy h1 { font-size: clamp(27px, 3.05vw, 40px); line-height: 1.34; }
.hero-copy h1 span { display: block; margin-top: 16px; font-size: .58em; letter-spacing: .06em; color: var(--brand); }
.hero-desc { margin-top: 20px; max-width: 500px; font-size: 15.5px; color: var(--ink-2); }
.hero-points { list-style: none; display: grid; gap: 9px; margin-top: 26px; }
.hero-points li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-2); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--brand-2); opacity: .65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px;
  border-radius: var(--radius); font-family: inherit; font-size: 14px; font-weight: 600;
  border: 0; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.book-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.book-eyebrow { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: .2em; color: var(--brand); }
.book-card h3 { font-size: 19px; margin-bottom: 22px; }
.book-form { display: grid; gap: 13px; }
.demo-form { display: grid; }
.book-form label, .contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }
.book-form input, .book-form select,
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  background: #FBFEFD; font: inherit; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .18s ease, background .18s ease;
}
.book-form input:focus, .book-form select:focus,
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--brand-2); background: #fff;
}
.book-form ::placeholder, .contact-form ::placeholder { color: #9FB3B0; }
.book-form .btn-primary, .contact-form .btn-primary { width: 100%; margin-top: 4px; }

/* 数据条与企业概览 */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 60px;
}
.stat { padding: 26px 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block; font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--ink);
}
.stat b span { margin-left: 4px; font-size: 13px; color: var(--brand); }
.stat small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.about-copy .muted { margin-top: 6px; max-width: 520px; }
.about-points { border-top: 1px solid var(--line); }
.point { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.point b {
  flex: none; padding-top: 3px; font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: 13px; letter-spacing: .08em; color: var(--brand);
}
.point strong { font-size: 15px; font-weight: 600; }
.point p { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* 诊疗项目 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: border-color .18s ease, transform .18s ease;
}
.product-card:hover { border-color: var(--brand-2); transform: translateY(-3px); }
.product-icon {
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif; font-size: 12px;
  letter-spacing: .16em; color: var(--brand);
}
.product-card h3 { font-size: 19px; margin-bottom: 10px; }
.product-card p { min-height: 72px; font-size: 13.5px; color: var(--muted); }
.product-tag { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 4px; background: var(--mint); font-size: 11.5px; color: var(--brand); }

/* 诊疗标准 */
.standard-list { border-top: 1px solid var(--line); }
.standard-row { display: grid; grid-template-columns: 92px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.standard-num {
  padding-top: 6px; font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: 13px; letter-spacing: .12em; color: var(--brand);
}
.standard-row h3 { font-size: 18px; margin-bottom: 6px; }
.standard-row p { max-width: 780px; font-size: 13.5px; color: var(--muted); }

/* 资质与团队 */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert {
  display: flex; flex-direction: column; gap: 7px; padding: 26px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s ease;
}
.cert:hover { border-color: var(--brand-2); }
.cert b { font-family: "Songti SC", "Noto Serif SC", Georgia, serif; font-size: 16.5px; font-weight: 600; }
.cert span { font-size: 12.5px; color: var(--muted); }

/* 患者故事 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  padding: 28px 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .18s ease;
}
.case-card:hover { border-color: var(--brand-2); }
.case-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--brand); }
.case-card h3 { font-size: 18px; margin: 12px 0 8px; }
.case-card p { min-height: 68px; font-size: 13px; color: var(--muted); }
.case-metric { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-metric b { font-family: "Songti SC", "Noto Serif SC", Georgia, serif; font-size: 26px; font-weight: 600; color: var(--ink); }
.case-metric b span { margin-left: 2px; font-size: 12px; color: var(--brand); }
.case-metric > span { font-size: 12px; color: var(--muted); }

/* 预约到店 */
.section-contact { background: var(--bg); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-desc { margin-top: 4px; max-width: 440px; font-size: 14.5px; color: var(--ink-2); }
.contact-info { display: grid; margin-top: 34px; border-top: 1px solid var(--line); }
.contact-info div { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.contact-info span { flex: none; width: 40px; padding-top: 3px; font-size: 12.5px; letter-spacing: .08em; color: var(--muted); }
.contact-info b { font-weight: 500; color: var(--ink); word-break: break-all; }
.contact-form {
  display: grid; gap: 14px; padding: 32px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(18, 48, 45, .04);
}
.form-tip { text-align: center; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

/* 页脚与提示条 */
.site-footer { background: #0F2C29; color: #C3D9D4; padding: 56px 0 34px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 44px; align-items: start; }
.brand-footer .brand-text b { color: #fff; }
.brand-footer .brand-text small { color: #7E9B96; }
.footer-desc { margin-top: 14px; max-width: 320px; font-size: 12.5px; color: #A6BFBA; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.footer-links a { transition: color .18s ease; }
.footer-links a:hover { color: #fff; }
.footer-meta { text-align: right; font-size: 12px; line-height: 1.9; color: #A6BFBA; }
.powered { color: #6F8C87; }
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 14px); z-index: 30;
  max-width: calc(100% - 40px); padding: 12px 22px; border-radius: var(--radius);
  background: #0F2C29; color: #fff; font-size: 13px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-inner { padding: 64px 0 74px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column;
    gap: 0; padding: 6px 24px 16px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:hover { border-bottom-color: var(--line); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 58px 0; }
  .hero-inner { padding: 52px 0 60px; }
  .hero-copy h1 span { margin-top: 12px; }
  .book-card { padding: 24px 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stats { grid-template-columns: 1fr; margin-bottom: 40px; }
  .stat { border-left: 0; padding-left: 0; }
  .stat:first-child { border-top: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--line); }
  .product-grid, .cert-grid, .case-grid { grid-template-columns: 1fr; }
  .product-card p, .case-card p { min-height: 0; }
  .standard-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .standard-num { padding-top: 0; }
  .contact-form { padding: 24px 20px; }
  .footer-meta { font-size: 11.5px; }
}
