/* =======================================
   艾丽品牌官网 - 专业排版优化版
   可视区域：1400px 居中
   符合药品监管法规和互联网宣传规范
   ======================================= */

/* 全局变量 */
:root {
  /* 主色调 - 蒂芙尼蓝 */
  --primary: #81D8D0;
  --primary-dark: #5BC0B7;
  --primary-light: #A8E6E0;
  --primary-bg: #F0FAF9;
  --primary-10: rgba(129, 216, 208, 0.1);
  --primary-20: rgba(129, 216, 208, 0.2);
  --primary-30: rgba(129, 216, 208, 0.3);

  /* 中性色 */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* 功能色 */
  --error: #EF4444;

  /* 字体 */
  --font-sans: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* 间距 */
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* 圆角 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);

  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
}

/* =======================================
   全局重置与基础样式
   ======================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--gray-900);
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* =======================================
   布局容器 - 1400px 可视区域
   ======================================= */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* 大屏优化 */
@media (min-width: 1440px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* 中等屏幕 */
@media (max-width: 1024px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* 小屏幕 */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}


 .summary-box {
      background-color: #f8f9fa;   /* 浅灰背景 */
      border-left: 4px solid #81D8D0; /* 左侧绿色强调线 */
      padding: 20px 24px;            /* 内边距 */
      border-radius: 4px;            /* 轻微圆角 */
      line-height: 1.8;              /* 行高 */
      color: #666;                   /* 正文颜色 */
      font-size: 15px;               /* 字号 */
      margin: 20px 0;                /* 上下间距 */
    }

    .summary-box .label {
      color: #333;                   /* "概述：" 颜色更深 */
      font-weight: 600;              /* 加粗 */
    }



/* =======================================
   导航栏
   ======================================= */
.navbar {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 10%;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
  margin-left: 48px;
  margin-bottom: 0;
}

.nav-menu a {
  color: var(--gray-700);
  font-weight: 500;
  padding: 8px 16px;
  position: relative;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.nav-menu a:hover {
  color: var(--primary-dark);
  background: var(--primary-10);
}

.nav-menu a.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* 顶部中英文切换 */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 4px;
}

.lang-btn {
  padding: 6px 14px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:first-child {
  border-radius: 6px 0 0 6px;
  border-right: none;
}

.lang-btn:last-child {
  border-radius: 0 6px 6px 0;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.lang-btn:hover:not(.active) {
  background: var(--primary-bg);
}


/* =======================================
   Hero Banner
   ======================================= */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/首页-顶部banner-时尚女性-纯色81D8D0-1920x820.png') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 620px;
  width: 100%;
  margin-left: 10%;
}

.hero-label {
  color: #0d4a47;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.1em;
  padding-left: 18px;
  position: relative;
}

.hero-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: #0d4a47;
  border-radius: 2px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #0d4a47;
  margin-bottom: var(--spacing-md);
  line-height: 1.18;
  letter-spacing: 0.16em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(13, 74, 71, 0.78);
  margin-bottom: var(--spacing-xl);
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(129, 216, 208, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(129, 216, 208, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-bg);
  transform: translateY(-3px);
  color: var(--primary-dark);
}

.btn-dark {
  background: #0d4a47;
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 74, 71, 0.25);
}

.btn-dark:hover {
  background: #1a3a3a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(13, 74, 71, 0.35);
}

.btn-outline-dark {
  background: transparent;
  color: #0d4a47;
  border: 2px solid #0d4a47;
  box-shadow: none;
}

.btn-outline-dark:hover {
  background: #0d4a47;
  color: #fff;
  transform: translateY(-3px);
}

/* =======================================
   区块通用样式
   ======================================= */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.section-label-lined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  color: var(--primary);
  margin-top: -10px;
}

.section-label-lined::before,
.section-label-lined::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
  min-width: 24px;
}

/* 白底板块（公司简介 / 健康科普）横线用更浅的灰，抵消白底更强对比，
   使其与灰底板块（产品中心 / 企业资质）的横线看起来深浅一致 */
.news-preview .section-label-lined::before,
.news-preview .section-label-lined::after {
  background: var(--gray-200);
}

/* 公司简介横线：在白底上比 --gray-200 稍微深一点点 */
.about-preview .section-label-lined::before,
.about-preview .section-label-lined::after {
  background: #DEE1E6;
}

/* 企业资质横线：在灰底上比 --gray-300 稍微浅一点点 */
.certificates-preview .section-label-lined::before,
.certificates-preview .section-label-lined::after {
  background: #D8DBE0;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

/* =======================================
   首页 - 产品中心板块（Tab切换）
   ======================================= */
.products-preview {
  background: var(--gray-50);
}

/* Tab 导航栏 */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: var(--shadow-md);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.product-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: none;
  background: transparent;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.product-tab i {
  font-size: 1.1rem;
}

.product-tab:hover {
  color: var(--primary-dark);
  background: var(--primary-bg);
}

.product-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb, 130, 90, 160), 0.35);
}

/* Tab 内容面板 */
.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.product-image-placeholder i {
  font-size: 3.5rem;
  color: var(--primary);
  opacity: 0.5;
}

.product-image-placeholder p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.product-info {
  padding: 24px 28px 28px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.65;
}

.product-meta {
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* 产品展示 — 左文右图横排（首页Tab内） */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 72px;
  box-shadow: var(--shadow-md);
}

.product-showcase-info {
  display: flex;
  flex-direction: column;
}

.product-showcase-badge {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  width: fit-content;
  border: 1px solid var(--primary-light);
}

.product-showcase-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 20px;
}

.product-showcase-name sup {
  font-size: 0.75em;
  vertical-align: super;
}

.product-showcase-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-showcase-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.product-showcase-tags li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
}

.product-showcase-tags li i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.product-showcase-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.product-showcase-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-showcase-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product-showcase-img-wrap i {
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.55;
}

.product-showcase-img-wrap p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.product-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-xl);
  padding: 16px;
}

/* 情绪与睡眠 — 空状态 */
.product-tab-empty {
  text-align: center;
  padding: 80px 40px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.product-tab-empty-icon {
  width: 100px;
  height: 100px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  color: var(--primary);
}

.product-tab-empty h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.product-tab-empty p {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}

.category-btn {
  padding: 10px 28px;
  border: 2px solid var(--gray-200);
  background: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-base);
}

.category-btn.active,
.category-btn:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary-dark);
}

/* 产品中心 FAQ — 分类切换 + 折叠问答 */
#faq {
  padding-top: 48px;
}

#faq .section-header {
  margin-bottom: 48px;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.faq-tab {
  padding: 10px 28px;
  border: 2px solid var(--gray-200);
  background: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
}

.faq-tab:hover,
.faq-tab.active {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary-dark);
}

.faq-panel {
  display: none;
}

.faq-panel.active {
  display: block;
  animation: faqFade .3s ease;
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.faq-acc-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  font-family: inherit;
  transition: color var(--transition-fast);
}

.faq-acc-head:hover {
  color: var(--primary-dark);
}

.faq-acc-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.faq-acc-item.open .faq-acc-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.faq-acc-body {
  display: none;
}

.faq-acc-item.open .faq-acc-body {
  display: block;
}

.faq-acc-body-inner {
  padding: 0 4px 22px;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* =======================================
   首页 - 公司简介板块
   ======================================= */
.about-preview {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-title {
  font-size: 2rem;
}

.about-text {
  color: var(--gray-500);
  line-height: 1.9;
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: var(--spacing-xl);
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 8px;
}

/* =======================================
   首页 - 企业资质板块 - 8个证书 4x2布局
   ======================================= */
.certificates-preview {
  background: var(--gray-50);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cert-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  padding: 16px;
}

.cert-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
}

/* =======================================
   首页 - 健康科普板块
   ======================================= */
.news-preview {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  width: 100%;
  height: 220px;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.news-content {
  padding: 24px 28px 28px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* 公司动态 - 文章列表（左图右文横向布局） */
.news-list-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list-grid .news-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: all var(--transition-base);
}

.news-list-grid .news-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.news-list-grid .news-image {
  width: 380px;
  min-width: 380px;
  height: auto;
  min-height: 240px;
}

.news-list-grid .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-grid .news-content {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-grid .news-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-grid .news-excerpt {
  font-size: 0.95rem;
  margin-bottom: 20px;
  -webkit-line-clamp: 2;
}

.news-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 8px 24px;
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.news-detail-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* 平板端：图片缩小 */
@media (max-width: 1024px) {
  .news-list-grid .news-image {
    width: 280px;
    min-width: 280px;
  }

  .news-list-grid .news-content {
    padding: 24px 28px;
  }
}

/* 移动端：上下堆叠 */
@media (max-width: 768px) {
  .news-list-grid .news-card {
    flex-direction: column;
  }

  .news-list-grid .news-image {
    width: 100%;
    min-width: 100%;
    height: 220px;
    min-height: unset;
  }

  .news-list-grid .news-content {
    padding: 20px 24px 24px;
  }

  .news-list-grid .news-card:hover {
    transform: translateY(-4px);
  }

  .news-list-grid .news-title {
    font-size: 1.1rem;
  }
}

/* =======================================
   Footer - 5列布局
   ======================================= */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-brand-text {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.footer-contact-icon {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* 第5列：二维码 */
.footer-qrcode-section {
  text-align: left;
}

.footer-qrcode-section .footer-title {
  text-align: left;
}

.footer-qrcodes {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.footer-qrcode-item {
  text-align: center;
}

.footer-qrcode-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-bottom p {
  margin-bottom: 6px;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

/* =======================================
   页面 Hero（子页面顶部横幅）
   ======================================= */
.page-hero {
  min-height: 340px;
  padding: 100px 0 80px;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* 兜底：没有指定背景图的页面使用浅青绿渐变色块 */
  background-image: linear-gradient(160deg, var(--primary-light) 0%, var(--primary-bg) 100%);
}

#hero-about {
  background-image: linear-gradient(160deg, rgba(225, 247, 244, 0.8) 0%, rgba(168, 230, 224, 0.8) 100%), url('../images/banners/banner-about.png');
}

#hero-strength {
  background-image: linear-gradient(160deg, rgba(225, 247, 244, 0.8) 0%, rgba(168, 230, 224, 0.8) 100%), url('../images/banners/banner-strength.png');
}

#hero-products {
  background-image: linear-gradient(160deg, rgba(225, 247, 244, 0.8) 0%, rgba(168, 230, 224, 0.8) 100%), url('../images/banners/banner-products.png');
}

#hero-health {
  background-image: linear-gradient(160deg, rgba(225, 247, 244, 0.8) 0%, rgba(168, 230, 224, 0.8) 100%), url('../images/banners/banner-health.png');
}

#hero-news {
  background-image: linear-gradient(160deg, rgba(225, 247, 244, 0.8) 0%, rgba(168, 230, 224, 0.8) 100%), url('../images/banners/banner-news.png');
}

#hero-contact {
  background-image: linear-gradient(160deg, rgba(225, 247, 244, 0.8) 0%, rgba(168, 230, 224, 0.8) 100%), url('../images/banners/banner-contact.png');
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =======================================
   动画效果
   ======================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* 滚动显示动画 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================
   响应式设计
   ======================================= */

/*
 * 断点体系（桌面为基准，仅对窄屏逐级覆盖；自上而下从宽到窄）：
 *   > 1440px       大屏 / 台式机（最大可视区 1400px 居中）
 *   1200px 以下    横屏平板 / 小笔记本（收紧导航防溢出）
 *   1024px 以下    平板（启用汉堡菜单 + 下拉面板）
 *   768px 以下     手机（多列卡片转单列、Footer「相关产品/相关链接」两列并列）
 *   480px 以下     超小屏（间距 / 字号微调，保可读性）
 * 说明：通用响应式规则集中在本节与各页面专属段；文末「响应式增强补丁」为后续补充修复。
 */

/* 1024px 以下：平板 */
@media (max-width: 1024px) {
  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 40px;
  }

  .product-showcase-image {
    order: -1;
  }

  .product-showcase-img-wrap {
    max-width: 300px;
    margin: 0 auto;
  }

  .product-showcase-name {
    font-size: 1.6rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .footer-qrcode-section {
    grid-column: span 3;
    text-align: center;
  }

  .footer-qrcode-section .footer-title {
    text-align: center;
  }

  .footer-qrcodes {
    justify-content: center;
  }

  .nav-menu {
    gap: 4px;
  }

  .nav-menu a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .lang-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* ---------- 769–1024px：页脚「联系我们」与「关注我们」并列 ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .footer-grid>*:nth-child(1) {
    grid-column: span 2;
  }

  .footer-qrcode-section {
    grid-column: span 1;
    text-align: left;
  }

  .footer-qrcode-section .footer-title {
    text-align: left;
  }

  .footer-qrcodes {
    justify-content: flex-start;
  }
}

/* 768px 以下：手机 */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero {
    min-height: 480px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-hero {
    padding: 72px 0 56px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  /* 移动端：相关产品 与 相关链接 并列显示，其余列铺满整行 */
  .footer-grid>*:nth-child(1),
  .footer-grid>*:nth-child(4),
  .footer-grid>*:nth-child(5) {
    grid-column: span 2;
  }

  .footer-qrcode-section {
    grid-column: span 1;
    text-align: left;
  }

  .footer-qrcode-section .footer-title {
    text-align: left;
  }

  .footer-qrcodes {
    justify-content: flex-start;
  }

  .nav-logo {
    margin-left: 0;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  /* 关于艾丽页：小屏幕「品牌简介」标题居中 */
  .about-intro h2 {
    text-align: center;
  }
}

/* =======================================
   子页面通用样式
   ======================================= */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: var(--spacing-md);
}

.breadcrumb a {
  color: var(--primary-dark);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* =======================================
   关于艾丽页面
   ======================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.about-intro p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 16px;
}

.about-video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a3a, #0d4a47);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 2px;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.about-video-placeholder:hover {
  transform: scale(1.01);
}

.about-video-placeholder::before {
  content: '▶';
  font-size: 48px;
  margin-right: 12px;
  opacity: 0.8;
}

/* 品牌文化 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.culture-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.culture-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.culture-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.culture-card h4 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.culture-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* 品牌故事 */
.story-block {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  line-height: 2.1;
  font-size: 0.95rem;
  color: var(--gray-500);
}

.story-block h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin: 32px 0 12px;
}

.story-block h3:first-child {
  margin-top: 0;
}

/* 品牌荣誉 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.honor-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.honor-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.honor-img {
  max-width: 160px;
  height: 100px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #f5f0e8, #ede0d0);
  border-radius: 6px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #aaa;
}

.honor-card h4 {
  font-size: 0.88rem;
  color: var(--gray-900);
  font-weight: 600;
}

/* 灰色背景区块 */
.section-gray {
  background: var(--gray-50);
}

/* =======================================
   产研实力页面
   ======================================= */
.strength-section {
  margin-bottom: 80px;
}

.strength-section:last-child {
  margin-bottom: 0;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.workshop-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.workshop-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.workshop-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--primary-dark);
  letter-spacing: 1px;
  font-weight: 600;
}

.workshop-body {
  padding: 28px;
}

.workshop-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.workshop-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.9;
}

/* 研发实力 */
.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.rd-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.rd-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.rd-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--primary-dark);
  letter-spacing: 1px;
  font-weight: 600;
}

.rd-body {
  padding: 28px;
}

.rd-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.rd-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.9;
}

/* GMP体系 */
.gmp-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gmp-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--primary-dark);
  letter-spacing: 1px;
  font-weight: 600;
}

.gmp-body {
  padding: 40px;
}

.gmp-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.gmp-body p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 2;
}

/* =======================================
   产品中心页面
   ======================================= */
.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: var(--spacing-xl);
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.faq-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-500);
}

.faq-item:last-child {
  border-bottom: none;
}

.compliance-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* =======================================
   健康科普页面
   ======================================= */
.health-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.health-filter .filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: all var(--transition-base);
  font-family: inherit;
}

.health-filter .filter-btn:hover,
.health-filter .filter-btn.active {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.health-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: block;
  transition: all var(--transition-base);
  color: inherit;
}

.health-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.health-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.health-card-body {
  padding: 20px 24px 24px;
}

.health-card-body .tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--primary-dark);
  background: var(--primary-bg);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.health-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.5;
  margin-bottom: 12px;
}

.health-card-body p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-meta i {
  margin-right: 4px;
}

/* 健康科普详情页 */
.article-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px 0;
  box-sizing: border-box;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 20px;
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 0;
}

.article-cover {
  width: 100%;
  max-width: 900px;
  margin: 32px auto;
  padding: 0 40px;
  box-sizing: border-box;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.article-cover-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-bg), var(--primary-light));
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 80px;
  box-sizing: border-box;
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 2;
}

.article-summary {
  background: var(--gray-50);
  border-left: 4px solid var(--primary);
  padding: 18px 24px;
  margin: 28px 0 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 32px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* =======================================
   购买咨询页面
   ======================================= */
.channel-section {
  padding: 100px 0 60px;
  background: #fff;
  text-align: center;
}

.channel-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}

.channel-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px 36px 44px;
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

.channel-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px var(--primary-20);
  transform: translateY(-4px);
}

.channel-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.channel-logo svg {
  width: 40px;
  height: 40px;
  display: block;
}

.channel-logo.tmall {
  background: linear-gradient(135deg, #ff6a00, #ff4400);
}

.channel-logo.jd {
  background: linear-gradient(135deg, #e1251b, #c81623);
}

.channel-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.channel-name {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.channel-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  background: var(--primary-10);
  padding: 2px 12px;
  border-radius: 10px;
  
}

.qr-box {
  width: 130px;
  height: 130px;
  margin: 0 auto;
  margi-top: 24px;
  background: #fff;
  border: 2px dashed var(--gray-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  transition: border-color var(--transition-base);
}

.channel-card:hover .qr-box {
  border-color: var(--primary);
  border-style: solid;
  background: var(--primary-10);
}

.channel-warning {
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-50);
  padding: 12px 24px;
  border-radius: 50px;
}

.channel-warning i {
  color: #e6a817;
}

/* 联系我们板块 */
.contact-info-section {
  padding: 100px 0 80px;
  background: #fff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

/* 左侧地图占位 */
.contact-map-wrap {
  width: 100%;
}

.contact-map-placeholder {
  width: 100%;
  height: 380px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.contact-map-placeholder:hover {
  border-color: var(--primary-40);
  background: var(--primary-05);
}

.map-pin {
  font-size: 2.5rem;
  color: var(--primary);
  animation: pinBounce 1.5s ease-in-out infinite;
}

@keyframes pinBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.contact-map-placeholder p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
}

.contact-map-placeholder span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* 右侧联系信息 */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 0;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.contact-detail-item:last-of-type {
  border-bottom: none;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--primary-dark);
}

.contact-detail-text {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
  flex-wrap: wrap;
}

.contact-detail-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-900);
}

.contact-detail-text span {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* 二维码区域 */
.contact-qrcodes {
  display: flex;
  gap: 24px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.contact-qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-qr-img {
  width: 120px;
  height: 120px;
  background: #fff;
  border: 2px dashed var(--gray-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.4;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.contact-qrcode-item:hover .contact-qr-img {
  border-color: var(--primary);
  border-style: solid;
  background: var(--primary-05);
}

.contact-qrcode-item span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* 在线留言板块 */
.message-section {
  padding: 100px 0;
  background: var(--gray-50);
  text-align: center;
}

.message-form-wrapper {
  max-width: 640px;
  margin: 48px auto 0;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  text-align: left;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--error);
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: border-color var(--transition-fast), background var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  font-family: inherit;
  letter-spacing: 1px;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 14px;
  text-align: center;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-placeholder {
    height: 300px;
  }
}

/* 768px 以下：手机端表单与二维码收紧 */
@media (max-width: 768px) {
  .contact-qrcodes {
    gap: 20px;
  }

  .contact-qr-img {
    width: 100px;
    height: 100px;
  }

  .message-form-wrapper {
    padding: 32px 24px;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* =======================================
   数字疗法页面专属样式
   ======================================= */

/* Hero 按钮组 */
.dt-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* 板块一：关于区 */
.dt-label-inline {
  display: inline-block;
  text-align: left;
}

.dt-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 12px 0 20px;
  text-align: left;
}

.dt-about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.dt-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 板块间距 */
.dt-gap {
  margin-top: 80px;
}

/* 板块二：核心功能（5列网格） */
.dt-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 板块三：用户价值 */
.dt-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.dt-benefit-item {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition-base);
}

.dt-benefit-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: #fff;
}

.dt-benefit-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-30);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.dt-benefit-item h4 {
  font-size: 1.05rem;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.dt-benefit-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* 板块四：互联网医院背书 */
.dt-hospital {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: flex-start;
  padding: 40px;
  background: var(--primary-bg);
  border-radius: var(--radius-xl);
}

.dt-hospital-info h3 {
  font-size: 1.4rem;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.dt-hospital-desc {
  line-height: 1.9;
  margin-bottom: 20px;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.dt-hospital-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.dt-hospital-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(129, 216, 208, 0.15);
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.dt-hospital-list li:last-child {
  border-bottom: none;
}

.dt-hospital-list li strong {
  color: var(--primary-dark);
}

.dt-doctor-intro {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* 板块五：使用流程 */
.dt-steps {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  flex-wrap: wrap;
}

.dt-step {
  min-width: 130px;
  flex-shrink: 0;
}

.dt-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.dt-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.dt-step p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.dt-step-arrow {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: bold;
  padding-top: 22px;
  flex-shrink: 0;
}

/* 板块六：扫码体验 CTA */
.dt-cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.dt-cta-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}

.dt-cta-sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.8;
}

.dt-cta-content {
  max-width: 400px;
  margin: 0 auto;
}

.dt-cta-content img {
  width: 260px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 16px;
  display: block;
}

.dt-cta-note {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.7;
}


/* 医院宣传图占位 */
.dt-hospital-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

.dt-hospital-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 使用流程操作图 */
.dt-flow-image {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
}

.dt-flow-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #fff;
  display: block;
}

.dt-flow-caption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* 数字疗法页面响应式适配 */
@media (max-width: 1024px) {
  .dt-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dt-hospital {
    grid-template-columns: 1fr;
  }

  .dt-hospital-img {
    max-width: 420px;
    margin: 0 auto;
  }

  .dt-steps {
    gap: 10px;
  }

  .dt-step {
    min-width: 110px;
  }

  /* ≤1024：品牌简介 / 什么是旨域减重版数字疗法 改为上下堆叠，标题与标签居中 */
  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-intro h2,
  .about-intro .dt-label-inline {
    text-align: center;
  }

  .about-intro .dt-label-inline {
    display: block;
  }
}

/* ≤900px：步骤条改为分行网格（3 列，3+2 排布），隐藏横向箭头，避免竖向列观感拥挤 */
@media (max-width: 900px) {
  .dt-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
    max-width: 680px;
  }

  .dt-step {
    min-width: 0;
  }

  .dt-step-arrow {
    display: none;
  }
}

/* 768px 以下：手机端数字疗法板块上下堆叠 */
@media (max-width: 768px) {
  .dt-hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dt-feature-grid {
    grid-template-columns: 1fr;
  }

  .dt-benefit-grid {
    grid-template-columns: 1fr;
  }

  .dt-cta-content img {
    width: 200px;
  }

  .dt-hospital {
    padding: 24px;
  }

  .dt-label-inline {
    display: block;
    text-align: center;
  }

  .dt-section-title {
    text-align: center;
  }
}

/* 临时隐藏「产研实力」栏目入口（顶栏 + 页脚），文件 strength.html 保留待后续启用 */
.nav-menu li:has(a[href="/cysl/default.html"]),
.footer-links li:has(a[href="/cysl/default.html"]) {
  display: none;
}

/* =======================================================
   响应式增强补丁（手机 / 平板 / 笔记本 / 台式机）
   设计原则：桌面(>1024)保持原样，仅在窄屏修正缺失规则
   ======================================================= */

/* ---------- 汉堡按钮（桌面隐藏） ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav-toggle:hover span,
.nav-toggle:focus-visible span {
  background: var(--primary-dark);
}

.navbar.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.navbar.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- ≤1024px：启用汉堡菜单 + 下拉面板 ---------- */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-container {
    height: 64px;
    padding: 0 20px;
  }

  .nav-logo {
    margin-left: 0;
  }

  .nav-logo img {
    height: 40px;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    background: #fff;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    z-index: 999;
  }

  .navbar.menu-open .nav-menu {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 8px 0 16px;
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu a {
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-menu a.active::after {
    display: none;
  }

  .nav-menu li.lang-switch {
    padding: 12px 24px;
    margin-left: 0;
    justify-content: flex-start;
    gap: 8px;
  }
}

/* ---------- ≤1024px：首页「公司简介」标题与按钮居中（不含 hero） ---------- */
@media (max-width: 1024px) {
  .about-content .section-title {
    text-align: center;
  }

  .about-content .about-stats {
    justify-content: center;
  }

  .about-content>a.btn {
    display: block;
    width: fit-content;
    margin: var(--spacing-lg) auto 0;
  }
}

/* ---------- 1025–1200px：横屏平板/小笔记本，收紧导航防止溢出 ---------- */
@media (max-width: 1200px) and (min-width: 1025px) {
  .nav-logo {
    margin-left: 3%;
  }

  .nav-menu {
    gap: 0;
    margin-left: 20px;
  }

  .nav-menu a {
    padding: 8px 11px;
    font-size: 0.9rem;
  }

  .lang-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* ---------- 缺失网格的响应式（此前无媒体查询，窄屏会挤压） ---------- */
@media (max-width: 1024px) {
  .health-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* 多列卡片统一降为单列/双列 */
  .culture-grid,
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workshop-grid,
  .rd-grid,
  .gmp-block,
  .channel-cards {
    grid-template-columns: 1fr;
  }

  /* 产品 Tab 换行居中，避免手机端横向溢出 */
  .product-tabs {
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px;
    gap: 4px;
  }

  .product-tab {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  /* 按钮组允许换行，防止两个按钮在窄屏挤爆 */
  .product-showcase-actions {
    flex-wrap: wrap;
  }

  /* 文章详情页固定内边距收窄 */
  .article-header,
  .article-cover,
  .article-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-title {
    font-size: 1.5rem;
  }

  /* 大留白板块收窄 */
  .story-block {
    padding: 28px 24px;
  }

  .gmp-body {
    padding: 28px 24px;
  }

  /* Hero 取消桌面版 10% 左缩进，铺满容器 */
  .hero-content {
    margin-left: 0;
  }
}

/* ---------- ≤480px：超小屏微调，确保观感与可读性 ---------- */
@media (max-width: 480px) {

  .culture-grid,
  .honor-grid,
  .health-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.85rem;
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .about-stats {
    gap: 12px;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .footer-grid {
    gap: 28px 16px;
  }

  .dt-cta-content img {
    width: 170px;
  }

  .product-showcase {
    padding: 36px 24px;
  }

  /* 手机端步骤条降为 2 列，保证小屏不拥挤 */
  .dt-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
    max-width: 340px;
  }
}

.qt {
  position: fixed;
  top: 150px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.qt .qtItem {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.qt .qtItem .qtContent {
  width: 200px;
  position: absolute;
  right: 70px;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  display: none;
}
.qt .qtItem .qtContent:hover {
  display: block;
}

.qt .qtItem .qtContent::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -12px;
  content: ' ';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid #fff;
}

.qt .qtItem .qtline {
  margin: 10px 0;
  height: 1px;
  background: #e8eaed;
}

.qtlabel {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qtlamg {
  width: 30px;
  margin-right: 6px;
}

.qt .qtcImg {
  width: 150px;
  min-width: 150px;
  height: 120px;
}

.qt .qtItem .qti {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.qt .qtItem:hover .qtContent {
  display: block;
}

.qt .qtItem .qtImg1 {
  background-image: url('../images/qq.png');
}

.qt .qtItem .qtImg2 {
  background-image: url('../images/zuoji.png');
}

.qt .qtItem .qtImg3 {
  background-image: url('../images/shouji.png');
}

.qt .qtItem .qtImg4 {
  background-image: url('../images/xinxi.png');
}

.qt .qtItem:hover {
  background: #f6d0ff;
}

.qt .qtItem:hover .qtImg1 {
  background-image: url('../images/qq2.png');
}

.qt .qtItem:hover .qtImg2 {
  background-image: url('../images/zuoji2.png');
}

.qt .qtItem:hover .qtImg3 {
  background-image: url('../images/shouji2.png');
}

.qt .qtItem:hover .qtImg4 {
  background-image: url('../images/xinxi2.png');
}