/* ============================================
   多特金医疗美容 · 官网样式
   高端医疗风格：青绿 + 藏蓝 + 大量留白
   ============================================ */

:root {
  --teal-900: #04342C;
  --teal-800: #085041;
  --teal-600: #0F6E56;
  --teal-400: #1D9E75;
  --teal-100: #9FE1CB;
  --teal-50: #E1F5EE;

  --blue-800: #0C447C;
  --blue-600: #185FA5;
  --blue-50: #E6F1FB;

  --ink: #1F2937;
  --ink-soft: #4B5563;
  --ink-mute: #9CA3AF;
  --line: #E5E7EB;
  --bg-soft: #F7F9F8;
  --white: #FFFFFF;

  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow: 0 2px 10px rgba(4, 52, 36, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-800); }

img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

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

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--teal-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.brand-name { font-size: 18px; font-weight: 600; color: var(--teal-800); letter-spacing: 1px; }
.brand-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }

.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--teal-600); border-bottom-color: var(--teal-600); }

.nav-cta {
  background: var(--teal-600);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 999px;
  border: none !important;
  font-size: 14px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--teal-800); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--teal-800);
  cursor: pointer;
}

/* ---------- Hero 区 ---------- */
.hero {
  background: linear-gradient(135deg, var(--teal-50) 0%, #F3FBF7 60%, var(--blue-50) 100%);
  border-bottom: 1px solid var(--line);
}

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

.hero-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--teal-800);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal-900);
  margin-bottom: 16px;
}

.hero h1 em { font-style: normal; color: var(--teal-600); }

.hero p.lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 480px;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-800); color: #fff; }

.btn-outline { border-color: var(--teal-600); color: var(--teal-600); background: transparent; }
.btn-outline:hover { background: var(--teal-50); color: var(--teal-800); }

.btn-blue { background: var(--blue-600); color: #fff; }
.btn-blue:hover { background: var(--blue-800); color: #fff; }

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 110, 86, 0.15);
}

.hero-trust .item { text-align: center; }
.hero-trust .num { font-size: 24px; font-weight: 700; color: var(--teal-800); }
.hero-trust .label { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.doctor-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 14px;
}

.hero-card h3 { text-align: center; font-size: 19px; color: var(--teal-900); margin-bottom: 4px; }
.hero-card .role { text-align: center; font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; }

.hero-card ul { list-style: none; }
.hero-card ul li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-card ul li:last-child { border-bottom: none; }
.hero-card ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  flex-shrink: 0;
}

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-head .tag {
  font-size: 12px;
  color: var(--teal-600);
  letter-spacing: 3px;
  margin-bottom: 10px;
  display: block;
}
.sec-head h2 { font-size: 28px; font-weight: 700; color: var(--teal-900); margin-bottom: 12px; }
.sec-head p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 科室卡片 ---------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dept-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.dept-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--teal-400);
}

.dept-card:nth-child(2)::before { background: var(--blue-400, var(--blue-600)); }
.dept-card:nth-child(3)::before { background: var(--teal-100); }

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

.dept-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.dept-card:nth-child(2) .dept-icon { background: var(--blue-50); color: var(--blue-600); }
.dept-card:nth-child(3) .dept-icon { background: var(--teal-50); color: var(--teal-400); }

.dept-card h3 { font-size: 18px; color: var(--teal-900); margin-bottom: 8px; }
.dept-card p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }

.dept-card .more {
  font-size: 13px;
  color: var(--teal-600);
  font-weight: 500;
}
.dept-card .more:hover { color: var(--teal-800); }

/* ---------- 院长区块 ---------- */
.doctor-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
}

.doctor-photo {
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal-100);
  overflow: hidden;
}

.doctor-photo .ph-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--teal-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 16px;
}

.doctor-photo .ph-name { font-size: 20px; font-weight: 600; color: var(--teal-900); }
.doctor-photo .ph-role { font-size: 13px; color: var(--teal-600); margin-top: 4px; }

.doctor-info h2 { font-size: 26px; color: var(--teal-900); margin-bottom: 8px; }
.doctor-info .d-role { font-size: 15px; color: var(--teal-600); margin-bottom: 20px; font-weight: 500; }
.doctor-info p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }

.honor-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
  list-style: none;
}

.honor-list li {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.honor-list li::before {
  content: "✓";
  color: var(--teal-400);
  font-weight: 700;
}

/* ---------- 案例专区 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.case-entry {
  background: var(--blue-50);
  border: 1px solid rgba(24, 95, 165, 0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-entry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.case-entry h3 { font-size: 19px; color: var(--blue-800); margin-bottom: 10px; }
.case-entry p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- 预约 CTA ---------- */
.cta-band {
  background: var(--teal-900);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  color: #fff;
}

.cta-band h2 { font-size: 24px; margin-bottom: 10px; font-weight: 700; }
.cta-band p { font-size: 14.5px; color: rgba(255, 255, 255, 0.8); margin-bottom: 24px; }
.cta-band .btn-primary { background: #fff; color: var(--teal-800); }
.cta-band .btn-primary:hover { background: var(--teal-100); color: var(--teal-900); }
.cta-band .btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}

.footer-grid h4 { font-size: 14px; color: var(--teal-900); margin-bottom: 14px; }
.footer-grid p { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul a { font-size: 13px; color: var(--ink-soft); }
.footer-grid ul a:hover { color: var(--teal-600); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ---------- 内页通用 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--blue-50) 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: 30px; color: var(--teal-900); font-weight: 700; margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: var(--ink-soft); max-width: 640px; }

.breadcrumb { font-size: 12px; color: var(--ink-mute); margin-bottom: 14px; }
.breadcrumb a { color: var(--teal-600); }

/* ---------- 科室详情 ---------- */
.service-list { list-style: none; }

.service-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 14px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.service-list .svc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.service-list h3 { font-size: 16px; color: var(--teal-900); margin-bottom: 4px; }
.service-list p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 表格 ---------- */
table.spec {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 13.5px;
}

table.spec th, table.spec td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table.spec th {
  background: var(--teal-50);
  color: var(--teal-800);
  font-weight: 500;
  font-size: 13px;
}

table.spec tr:last-child td { border-bottom: none; }
table.spec td { color: var(--ink-soft); }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 640px;
}

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

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--teal-900);
  margin-bottom: 7px;
}

.form-group label .req { color: #E24B4A; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s;
}

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

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

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.checkbox-line input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }

/* ---------- 提示框 ---------- */
.notice {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.notice-warn {
  background: #FDF3E7;
  border-left-color: #BA7517;
}

/* ---------- 联系方式卡片 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.contact-card .icon {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-card h3 { font-size: 15px; color: var(--teal-900); margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--ink-soft); }

.qr-placeholder {
  width: 140px;
  height: 140px;
  margin: 14px auto 0;
  border: 1px dashed var(--ink-mute);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
  padding: 8px;
}

/* ---------- 案例卡片 ---------- */
.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.case-card .tag {
  display: inline-block;
  font-size: 11px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.case-card h3 { font-size: 15px; color: var(--teal-900); margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.case-card .meta { font-size: 12px; color: var(--ink-mute); }

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }

.filter-tabs a {
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
  transition: all 0.2s;
}

.filter-tabs a:hover,
.filter-tabs a.active { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0; }
  .dept-grid, .case-grid, .case-cards, .contact-grid { grid-template-columns: 1fr 1fr; }
  .doctor-section { grid-template-columns: 1fr; }
  .doctor-photo { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .dept-grid, .case-grid, .case-cards, .contact-grid, .footer-grid, .honor-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .sec-head h2 { font-size: 23px; }
  .page-hero h1 { font-size: 24px; }
  .cta-band { padding: 32px 22px; }
}
