/* ============================================================
   泰州丽都医疗美容医院 - 官方网站自定义样式
   主色调：深蓝 #1a365d / 香槟金 #c9a96e
   ============================================================ */

/* CSS 变量 */
:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0f2440;
  --accent: #c9a96e;
  --accent-light: #dcc89b;
  --accent-dark: #a68a4a;
  --text-dark: #1a1a2e;
  --text-body: #2d3748;
  --text-muted: #718096;
  --bg-light: #f7f8fa;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

/* 全局基础 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-body);
  line-height: 1.8;
  background-color: var(--bg-white);
}

/* 链接 */
a {
  transition: var(--transition);
}

/* 公共按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 11px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--primary);
  transition: var(--transition);
}

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

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Section 标题 */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* 卡片 */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  overflow: hidden;
}

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

/* Header 样式 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
  object-fit: cover;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  white-space: nowrap;
}

.logo-license {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--text-body);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(26, 54, 93, 0.06);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端导航 */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 640px) {
  .logo-name {
    font-size: 14px;
  }
  .logo-license {
    font-size: 10px;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

/* Footer 样式 */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

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

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

/* Banner */
.banner-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d7b 50%, var(--primary-dark) 100%);
  padding: 140px 20px 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.banner-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.banner-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.banner-badge {
  display: inline-block;
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--accent-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.banner-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.banner-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

.banner-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.banner-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
}

.banner-card-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.banner-card-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.banner-card-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 2rem;
  }
  .banner-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 1.6rem;
  }
  .banner-subtitle {
    font-size: 1rem;
  }
  .banner-cards {
    grid-template-columns: 1fr;
  }
}

/* 区块通用容器 */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-bg {
  background: var(--bg-light);
}

/* 关于我们卡片 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-dark);
}

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

/* 项目中心网格 */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-category-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-body);
}

.project-category-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.project-cat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(26, 54, 93, 0.08);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
}

.project-cat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.project-cat-items {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

.doctor-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-body);
}

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

.doctor-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 48px;
  overflow: hidden;
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 李俊杰头像顶部显示不完整，单独上移显示区域 */
.doctor-avatar img[src*="lijunjie-cropped"] {
  object-position: top;
}

.doctor-info {
  padding: 20px;
}

.doctor-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.doctor-role {
  font-size: 13px;
  color: var(--accent-dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.doctor-badge {
  display: inline-block;
  background: rgba(26, 54, 93, 0.06);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  margin-bottom: 8px;
}

.doctor-license {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* 资质模块 */
.qual-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qual-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  transition: var(--transition);
}

.qual-card:hover {
  box-shadow: var(--shadow);
}

.qual-card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.qual-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.qual-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .qual-section {
    grid-template-columns: 1fr;
  }
}

/* 文章列表 */
.articles-mini-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-mini-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-body);
}

.article-mini-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.article-mini-tag {
  display: inline-block;
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  margin-bottom: 12px;
}

.article-mini-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-mini-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.article-mini-meta {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .articles-mini-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .articles-mini-list {
    grid-template-columns: 1fr;
  }
}

/* 联系模块 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26, 54, 93, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

/* 联系页面标题语义化 */
.contact-info-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* 文章列表页 */
.articles-page-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  gap: 20px;
}

.article-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.article-card-thumb {
  width: 200px;
  height: 140px;
  border-radius: var(--radius);
  background: var(--bg-light);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-content {
  flex: 1;
  min-width: 0;
}

.article-card-tag {
  display: inline-block;
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  margin-bottom: 10px;
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  text-decoration: none;
}

a.article-card-title {
  color: var(--text-dark);
}

a.article-card-title:hover {
  color: var(--primary);
}

.article-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* 侧边栏 */
.sidebar-widget {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-widget h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.sidebar-article-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-article-item:last-child {
  border-bottom: none;
}

.sidebar-article-item a {
  font-size: 14px;
  color: var(--text-body);
  text-decoration: none;
  line-height: 1.5;
  transition: var(--transition);
}

.sidebar-article-item a:hover {
  color: var(--primary);
}

.sidebar-link-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-body);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
}

.sidebar-link-list a:hover {
  background: rgba(26, 54, 93, 0.06);
  color: var(--primary);
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.pagination .page-link {
  padding: 8px 16px;
  min-width: 40px;
  text-align: center;
}

.pagination a {
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text-body);
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 文章详情页 */
.article-detail-header {
  background: var(--bg-light);
  padding: 60px 20px 40px;
}

.article-detail-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.article-detail-category {
  display: inline-block;
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 16px;
}

.article-detail-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.article-detail-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 合规声明框 */
.compliance-box {
  background: #f0f4f8;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}

.compliance-box h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

/* FAQ 模块 */
.faq-section {
  margin-top: 32px;
}

.faq-section .faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
  padding: 20px 24px;
  background: var(--bg-white);
  transition: var(--transition);
}

.faq-section .faq-item:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.faq-section .faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.faq-section .faq-item p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 0;
}

/* 手风琴式FAQ（用于JS交互） */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  background: var(--bg-white);
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  font-weight: 400;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}
/* 确保搜索引擎/无 JS 环境下 FAQ 内容可见 */
@media (scripting: none), (scripting: initial-only) {
  .faq-answer {
    padding: 16px 20px;
    max-height: none;
    overflow: visible;
  }
}
noscript .faq-answer,
.faq-answer:target {
  padding: 16px 20px;
  max-height: none;
  overflow: visible;
}

.faq-item.active .faq-answer {
  padding: 16px 20px;
  max-height: 500px;
}

/* 免责声明 */
.disclaimer-box {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 40px;
  font-size: 13px;
  color: #5d4037;
  line-height: 1.8;
}

.disclaimer-box h4 {
  font-size: 15px;
  font-weight: 600;
  color: #5d4037;
  margin-bottom: 8px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.breadcrumb .sep {
  color: var(--border);
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 500;
}

/* 页面标题区 */
.page-hero {
  background: var(--bg-light);
  padding: 100px 20px 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 分类标签 */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.category-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text-body);
  transition: var(--transition);
  cursor: pointer;
}

.category-tab:hover,
.category-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 富文本内容区 */
.rich-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.rich-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.rich-content p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-body);
  margin-bottom: 16px;
}

.rich-content ul,
.rich-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.rich-content li {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-body);
  margin-bottom: 6px;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.rich-content table th,
.rich-content table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.rich-content table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary);
}

.rich-content table tr:nth-child(even) {
  background: var(--bg-light);
}

.rich-content strong {
  color: var(--text-dark);
  font-weight: 700;
}

.rich-content blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(201, 169, 110, 0.08);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-body);
}

/* 项目详情表 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
  font-size: 14px;
}

.info-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary);
  width: 150px;
}

/* 相关推荐 */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.related-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* 关键信息加粗强调 */
.key-info {
  font-weight: 700;
  color: var(--primary);
}

/* 核验渠道标注 */
.verify-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(26, 54, 93, 0.04);
  padding: 2px 10px;
  border-radius: 50px;
}

/* 打印友好 */
@media print {
  .site-header,
  .hamburger,
  .nav-links,
  .site-footer {
    display: none;
  }
  body {
    font-size: 12pt;
  }
}

/* 图片懒加载占位 */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

img.lazy.loaded {
  opacity: 1;
}

/* 跳转到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ===== 移动端适配增强：图片/表格溢出兜底 + 拨号栏 ===== */
/* 全局图片响应式兜底，防止窄屏横向溢出 */
img {
  max-width: 100%;
  height: auto;
}
/* 富文本正文配图 */
.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
/* 富文本长表格横向滚动容器（由 JS 自动包裹） */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
.table-scroll table {
  margin: 0;
}
/* 移动端底部一键拨号栏 */
.mobile-call-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  }
  .mobile-call-bar:active {
    background: var(--primary-dark);
  }
  .mobile-call-bar svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  /* 底部留白，避免拨号栏遮挡页脚内容 */
  body {
    padding-bottom: 52px;
  }
  /* 回到顶部按钮上移，避开拨号栏 */
  .back-to-top {
    bottom: 66px;
  }
}

/* 响应式表格 */
@media (max-width: 640px) {
  .rich-content table {
    font-size: 12px;
  }
  .rich-content table th,
  .rich-content table td {
    padding: 8px;
  }
  .article-detail-title {
    font-size: 1.4rem;
  }
}

/* 资质列表 */
.qualifications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qual-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.qual-item-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.qual-item-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.qual-item-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .articles-page-grid {
    grid-template-columns: 1fr;
  }
  .article-card {
    flex-direction: column;
  }
  .article-card-thumb {
    width: 100%;
    height: 180px;
  }
}

/* 关于我们页面 */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.timeline-content {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 专利卡片 */
.patent-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.patent-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.patent-card .patent-number {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  font-family: monospace;
}

.patent-card .patent-inventor {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ 鍖荤枟椋庨櫓鎻愮ず鏉?W4) ============ */
body { min-height: 100vh; }
.med-risk-notice { background:#fff7ed; border-bottom:1px solid #fed7aa; color:#9a3412; font-size:13px; line-height:1.7; padding:8px 16px; text-align:center; }
.med-risk-notice p { margin:0; }
/* ============ FAQ 鍒楄〃(W7) ============ */
.faq-list { display:grid; gap:16px; margin-top:24px; }
.faq-item { background:var(--bg-light); border:1px solid var(--border-light); border-radius:var(--radius); padding:18px 20px; }
.faq-item h3 { font-size:16px; color:var(--primary); margin-bottom:8px; }
.faq-item p { margin:0; color:var(--text-body); font-size:14px; }
/* ============ 鏂囩珷鍗＄墖璇箟鍖?W5) ============ */
.article-mini-card > a { display:block; color:inherit; text-decoration:none; }
/* ============ Tailwind CDN 移除后的本地兜底（仅覆盖站点实际使用的工具类） ============ */
.bg-white { background-color: #ffffff; }
.grid { display: grid; }
.text-gray-700 { color: #374151; }
.min-h-screen { min-height: 100vh; }

/* ============ 核心事实速览盒(结论先行, GEO) ============ */
.fact-summary { background:#f7f8fa; border:1px solid var(--border-light); border-left:4px solid var(--accent); border-radius:8px; padding:16px 20px; margin:0 auto 28px; max-width:800px; }
.fact-summary h3 { font-size:1.05rem; color:var(--accent-dark); margin-bottom:10px; }
.fact-summary ul { margin:0; padding-left:20px; font-size:14px; line-height:1.9; color:var(--text-body); }
/* ============ noscript 兜底 ============ */
noscript .risk-warning-box { margin:16px 20px; }
