/* ============================================================
   预颜口腔 · 官网样式
   风格：温暖亲和 · 亲子感 | 色系：奶油白 + 珊瑚橙 + 薄荷青
   ============================================================ */

:root {
  --cream: #FCFAFE;
  --cream-deep: #F4EFFB;
  --white: #FFFFFF;
  --coral: #9C67D1;
  --coral-dark: #6F3FA5;
  --coral-soft: #F1E9FB;
  --teal: #F72F69;
  --teal-dark: #C22559;
  --teal-soft: #FDE9F0;
  --yellow: #FFC525;
  --yellow-soft: #FFF6DC;
  --ink: #322A3D;
  --ink-soft: #6E6478;
  --line: #E9E1F5;
  --shadow-sm: 0 2px 10px rgba(50, 42, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(50, 42, 61, 0.09);
  --shadow-lg: 0 20px 50px rgba(50, 42, 61, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* height:auto 必须显式声明：HTML 的 width/height 属性会作为固定高宽生效，
   若只覆盖 width 会导致图片被纵向拉伸（hero、实拍图、公仔、医生卡均踩过此坑）。
   后文需要固定高度的规则（.service-card img / .honor-card img / .brand-img 等）
   特异性更高或位于其后，可正常覆盖本条。 */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark { width: 42px; height: 42px; }

.brand-img { height: 44px; width: auto; display: block; }

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ink);
}

.brand-name em {
  font-style: normal;
  color: var(--coral-dark);
}

.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--ink-soft);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.25s ease;
}

.main-nav a:hover { color: var(--coral-dark); background: var(--coral-soft); }

.main-nav a.active {
  color: var(--coral-dark);
  background: var(--coral-soft);
  font-weight: 600;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(111, 63, 165, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(111, 63, 165, 0.38); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--cream-deep);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(247, 47, 105, 0.12), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(156, 103, 209, 0.14), transparent 60%),
    var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 84px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero h1 .accent { color: var(--coral-dark); }

.hero-slogan {
  font-size: 20px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(111, 63, 165, 0.32);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(111, 63, 165, 0.4); }

.btn-ghost {
  background: var(--white);
  color: var(--teal-dark);
  border: 1.5px solid var(--teal);
}

.btn-ghost:hover { background: var(--teal-soft); transform: translateY(-2px); }

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-float {
  position: absolute;
  bottom: -20px;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
}

.hero-float svg { width: 30px; height: 30px; flex-shrink: 0; }

/* ---------- 信任数据条 ---------- */
.stats-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 34px 0;
}

.stat-item { text-align: center; padding: 0 8px; }

.stat-item + .stat-item { border-left: 1px solid var(--line); }

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--coral-dark);
  line-height: 1.3;
}

.stat-num small { font-size: 15px; font-weight: 600; margin-left: 2px; }

.stat-label { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- 通用 Section ---------- */
.section { padding: 84px 0; }

.section-alt { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.section-tag.warm { background: var(--coral-soft); color: var(--coral-dark); }

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.4;
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- 品牌理念 ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.concept-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.concept-card .concept-char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
}

.concept-card.prevention .concept-char { background: var(--coral-soft); color: var(--coral-dark); }
.concept-card.facial .concept-char { background: var(--teal-soft); color: var(--teal-dark); }

.concept-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.concept-card p { color: var(--ink-soft); font-size: 15.5px; }

.concept-card .concept-en {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 64px;
  font-weight: 800;
  opacity: 0.06;
  letter-spacing: 2px;
}

/* ---------- 三大特色 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg { width: 38px; height: 38px; }

.feature-icon.c1 { background: var(--coral-soft); }
.feature-icon.c2 { background: var(--teal-soft); }
.feature-icon.c3 { background: var(--yellow-soft); }

.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }

.feature-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 服务卡片 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card.no-img {
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-soft), var(--white));
}

.service-body { padding: 30px 32px 34px; }

.service-body h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-body p { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 5px 14px;
  background: var(--cream-deep);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.service-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 15px;
}

.service-link:hover { gap: 10px; }
.service-link { transition: gap 0.25s ease; }

/* ---------- 使命区块 ---------- */
.mission {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 20%, rgba(156, 103, 209, 0.16), transparent 60%),
    linear-gradient(135deg, #FCFAFE, #F4EFFB);
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0;
}

.mission img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.mission h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 16px;
}

.mission h2 .accent { color: var(--coral-dark); }

.mission p { color: var(--ink-soft); margin-bottom: 14px; }

.mission-list { margin-top: 20px; display: grid; gap: 12px; }

.mission-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}

.mission-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }

/* 家庭全龄管理卡片 */
.age-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 640px) {
  .age-cards { grid-template-columns: 1fr; }
}

/* ---------- 科普馆 ---------- */
.science-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.science-inner img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.science-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--yellow), #FFB300);
  color: #6B4E00;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.science-inner h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }

.science-inner p { color: var(--ink-soft); margin-bottom: 12px; }

.science-points {
  margin: 22px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.science-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
}

.science-points svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- 医生团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.doctor-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.doctor-avatar.a1 { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.doctor-avatar.a2 { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.doctor-avatar.a3 { background: linear-gradient(135deg, var(--yellow), #FFB300); color: #6B4E00; }
.doctor-avatar.a4 { background: linear-gradient(135deg, #B08BC9, #8D6BA8); }

.doctor-card h3 { font-size: 19px; font-weight: 700; }

.doctor-card .doctor-title {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 4px 14px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.doctor-card p { font-size: 14px; color: var(--ink-soft); }

.team-photo {
  max-width: 820px;
  margin: 0 auto 40px;
}

.team-photo img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.team-photo-caption {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 12px;
}

.info-photo {
  width: 100%;
  border-radius: 16px;
}

.team-note {
  text-align: center;
  margin-top: 34px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 步骤流程 ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}

.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }

.step-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 预约 CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--coral-dark), var(--coral));
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -80px;
  right: -60px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  bottom: -70px;
  left: -40px;
}

.cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; position: relative; }

.cta-band p { opacity: 0.92; margin-bottom: 28px; position: relative; }

.cta-band .btn {
  background: #fff;
  color: var(--teal-dark);
  position: relative;
}

.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15); }

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-band .btn-cta-light { background: #fff; color: var(--teal-dark); }

.cta-band .btn-cta-phone {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.cta-band .btn-cta-phone:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #2A2138;
  color: #C6BADD;
  padding: 64px 0 0;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .brand-name { color: #fff; }

.footer-logo { display: flex; align-items: center; gap: 12px; }

.footer-logo-mark { width: 48px; height: auto; flex-shrink: 0; }

.footer-logo-txt { display: inline-block; font-size: 20px; font-weight: 800; letter-spacing: 2px; color: #fff; line-height: 1.3; }

.footer-logo-txt em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: 2.5px; color: #A092C0; font-weight: 400; margin-top: 2px; }

.footer-brand p { margin-top: 14px; line-height: 1.9; }

.site-footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.site-footer li { margin-bottom: 9px; }

.site-footer a:hover { color: var(--coral); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 24px;
  font-size: 13px;
  color: #9489B5;
  text-align: center;
  line-height: 1.9;
}

/* ---------- 内页通用 ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(247, 47, 105, 0.14), transparent 60%),
    radial-gradient(600px 300px at 10% 100%, rgba(156, 103, 209, 0.14), transparent 60%),
    var(--cream);
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: 2px; }

.page-hero p { margin-top: 10px; color: var(--ink-soft); }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.breadcrumb a:hover { color: var(--coral-dark); }

/* 服务详情页 */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 64px 0;
}

.service-section + .service-section { border-top: 1px solid var(--line); }

.service-section .img-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.service-section .txt h2 {
  font-size: 27px;
  font-weight: 800;
  margin-bottom: 6px;
}

.service-section .txt .en {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.service-section .txt > p { color: var(--ink-soft); margin-bottom: 20px; }

.item-list { display: grid; gap: 12px; margin-bottom: 24px; }

.item-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}

.item-list svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 4px; }

.item-list li strong { font-weight: 700; }

.item-list li span { display: block; font-size: 14px; color: var(--ink-soft); }

/* 预约表单 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  display: grid;
  gap: 22px;
}

.info-item { display: flex; gap: 14px; align-items: flex-start; }

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--coral-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg { width: 22px; height: 22px; }

.info-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }

.info-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
}

.form-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }

.form-card .form-tip { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
}

.form-group label .req { color: var(--coral-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2377695B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-submit { width: 100%; margin-top: 6px; }

.form-msg {
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  display: none;
}

.form-msg.ok { display: block; background: var(--teal-soft); color: var(--teal-dark); }

.form-msg.err { display: block; background: var(--coral-soft); color: var(--coral-dark); }

.form-msg a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.map-tip {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--cream-deep);
  border-radius: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* 科普馆页面 */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.program-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.program-icon svg { width: 30px; height: 30px; }

.program-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

.program-card p { font-size: 14.5px; color: var(--ink-soft); }

/* 淡入动画 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 60px; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat-item:nth-child(3) { border-left: none; }
  .concept-grid, .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid, .team-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-inner, .science-inner, .service-section { grid-template-columns: 1fr; gap: 32px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .science-points { grid-template-columns: 1fr; }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 12px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .brand-img { height: 36px; }
  .hero h1 { font-size: 29px; }
  .hero-slogan { font-size: 17px; letter-spacing: 3px; }
  .section-head h2 { font-size: 25px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .feature-grid, .team-grid, .steps-grid, .program-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .cta-band h2 { font-size: 23px; }
  .page-hero h1 { font-size: 27px; }
  .service-card img { height: 200px; }
  .concept-card { padding: 32px 26px; }
  .hero-float { left: 8px; bottom: -14px; padding: 10px 14px; font-size: 12.5px; }
}

/* ---------- 资质与荣誉 ---------- */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.honor-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.honor-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #fff;
  display: block;
  border-bottom: 1px solid var(--line);
}

.honor-card figcaption {
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* ---------- 公众号横幅（联系页） ---------- */
.gzh-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--teal-soft);
  border: 1px solid #EBDFF7;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.gzh-banner img {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  flex-shrink: 0;
}

.gzh-txt h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.gzh-txt p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }

@media (max-width: 640px) {
  .gzh-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
}

/* ---------- 公众号浮窗（全站右下角） ---------- */
.wx-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
}

.wx-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #07C160;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(7, 193, 96, 0.4);
  transition: transform 0.2s ease;
}

.wx-float-btn:hover { transform: scale(1.06); }

.wx-pop {
  position: absolute;
  right: 70px;
  bottom: 0;
  width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 18px 16px 14px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.wx-pop::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 22px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 3px;
}

.wx-float:hover .wx-pop,
.wx-float.open .wx-pop { opacity: 1; visibility: visible; transform: none; }

.wx-pop img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 10px;
  background: #fff;
}

.wx-pop strong { display: block; font-size: 15px; color: var(--ink); }
.wx-pop span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .wx-float { right: 14px; bottom: 16px; }
  .wx-pop { right: -20px; bottom: 68px; }
  .wx-pop::after { right: 28px; bottom: -7px; }
}

/* ---------- IP公仔 Yak 装饰 ---------- */
.yak {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 12px 16px rgba(50, 42, 61, 0.16));
  animation: yakBob 3.8s ease-in-out infinite;
}

.yak img { width: 100%; height: auto; display: block; }

img.yak { height: auto; }

@keyframes yakBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .yak { animation: none; }
}

.yak-hero { right: -26px; bottom: -16px; width: 148px; }

.yak-hero .yak-bubble {
  top: -44px;
  right: 98px;
}

.yak-cta { right: 24px; bottom: -8px; width: 112px; }

.yak-anchor { position: relative; }

.yak-section { top: -148px; right: -26px; width: 112px; }

.yak-txt { bottom: -14px; right: -30px; width: 126px; }

.yak-gzh {
  position: static;
  width: 104px;
  margin-left: auto;
  align-self: flex-end;
  animation: none;
}

.yak-bubble {
  position: absolute;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.yak-bubble::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
}

/* ---------- 医生卡（个人单人照片版） ---------- */
.doctor-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.doctor-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.doctor-body { padding: 20px 22px 24px; }

.doctor-body h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 20px;
  margin-bottom: 2px;
}

.doctor-en {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 1px;
}

.doctor-body .doctor-title {
  display: inline-block;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 8px 0 14px;
}

.doctor-body > p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.doctor-creds {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.doctor-creds li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.doctor-creds li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.doctor-good {
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
}

.doctor-good p { margin: 0 0 6px; }
.doctor-good p:last-child { margin-bottom: 0; }

.doctor-good b {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  padding: 1px 7px;
  margin-right: 6px;
}

.doctor-life {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .yak-hero { width: 96px; right: -6px; bottom: -8px; }
  .yak-hero .yak-bubble { display: none; }
  .yak-cta, .yak-section, .yak-txt { display: none; }
  .yak-gzh { width: 84px; }
}
