/* ========== 仙知医疗 公共样式 ========== */
:root {
  --primary: #0F766E;
  --primary-dark: #0D5D57;
  --primary-light: #14B8A6;
  --mint: #5EEAD4;
  --mint-soft: #CCFBF1;
  --gold: #D4A574;
  --gold-light: #E8C9A0;
  --bg: #F0FDFA;
  --bg-white: #FFFFFF;
  --bg-soft: #F8FAFC;
  --text-primary: #134E4A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-soft: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(15, 118, 110, 0.06), 0 1px 2px rgba(15, 118, 110, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 118, 110, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 顶部导航 ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

.logo-mark::before { width: 24px; height: 24px; }
.logo-mark::after { width: 14px; height: 14px; border-color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-body);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-item:hover { color: var(--primary); background: var(--mint-soft); }
.nav-item.active { color: var(--primary); font-weight: 500; }

.nav-item .dropdown-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  transition: transform 0.2s;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  border: 1px solid var(--border-soft);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--mint-soft);
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px auto;
  transition: all 0.3s;
}

/* ========== 悬浮预约按钮 ========== */
.floating-cta {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.floating-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.3);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  line-height: 1.3;
  animation: pulse-glow 3s ease-in-out infinite;
}

.floating-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.4);
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(15, 118, 110, 0.3); }
  50% { box-shadow: 0 8px 32px rgba(15, 118, 110, 0.5), 0 0 0 8px rgba(20, 184, 166, 0.1); }
}

.floating-phone {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  background: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

/* ========== 页脚 ========== */
.footer {
  background: #0F2A28;
  color: #99B5B2;
  padding: 60px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #799996;
  margin-bottom: 20px;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #799996;
  font-size: 13px;
}

.footer-links a:hover { color: var(--mint); }

.footer-contact p {
  font-size: 13px;
  color: #799996;
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-contact .phone {
  font-size: 20px;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.8;
  color: #5C7A77;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #5C7A77;
}

.footer-bottom-links a {
  margin-left: 20px;
  color: #5C7A77;
}

.footer-bottom-links a:hover { color: var(--mint); }

/* ========== 通用板块样式 ========== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--mint);
}

.section-eyebrow::before { left: 0; }
.section-eyebrow::after { right: 0; }

.section-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(212, 165, 116, 0.3);
}

.btn-gold:hover {
  background: #C49360;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

/* ========== 卡片 ========== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: all 0.35s ease;
}

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

/* ========== 内页 Banner ========== */
.page-banner {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 50%, #99F6E4 100%);
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.page-banner .breadcrumb a:hover { color: var(--primary); }
.page-banner .breadcrumb .sep { margin: 0 8px; color: var(--text-light); }
.page-banner .breadcrumb .current { color: var(--primary); }

.page-banner h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 17px;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.8;
}

/* ========== FAQ 通用 ========== */
.faq-section {
  background: var(--bg-soft);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--mint-soft);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  user-select: none;
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: 16px;
  transition: all 0.3s;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ========== 预约表单板块 ========== */
.booking-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: "";
  position: absolute;
  right: -200px;
  top: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-section::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.booking-info h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 16px;
}

.booking-info p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  line-height: 1.8;
}

.booking-contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.booking-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-contact-icon svg { width: 20px; height: 20px; stroke: var(--mint); }

.booking-contact-item .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.booking-contact-item .value {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.booking-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.booking-form-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.booking-form-card .form-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: #fff;
  transition: all 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

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

.btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.form-privacy {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ========== 合规提示 ========== */
.compliance-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--mint-soft);
  color: var(--primary-dark);
  font-size: 12px;
  border-radius: 999px;
  font-weight: 500;
}

.compliance-tip svg { width: 14px; height: 14px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-cta { display: none !important; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }

  .nav-links.mobile-open .nav-item {
    padding: 12px 16px;
  }

  .floating-cta {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    padding: 12px 16px;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    gap: 12px;
  }

  .floating-btn {
    width: auto;
    height: 48px;
    border-radius: 999px;
    padding: 0 24px;
    flex-direction: row;
    gap: 6px;
    font-size: 14px;
    animation: none;
  }

  .floating-btn svg {
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .floating-phone { display: none; }

  body { padding-bottom: 72px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section { padding: 72px 0; }
  .section-title { font-size: 28px; }
  .page-banner h1 { font-size: 32px; }
  .page-banner { padding: 80px 0 60px; }
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links a {
    margin: 0 8px;
  }

  .section { padding: 56px 0; }
  .section-title { font-size: 24px; }
  .section-header { margin-bottom: 40px; }
  .page-banner h1 { font-size: 28px; }

  .booking-form-card { padding: 28px 20px; }
}
