/* ============================================================
   CSS Reset & Design Tokens
   ============================================================ */
:root {
  /* 主色调 — 明艳中医风格（朱砂红 + 琥珀金 + 翡翠绿） */
  --primary:     #D45D3A;
  --primary-dark:#B84A2C;
  --primary-bg:  #FDF3EF;
  --accent:      #D4A017;
  --accent-light:#F8EDD4;
  --green:       #43A86A;
  --green-bg:    #E8F5EE;
  --gold:        #DAA520;

  /* 辅助色 — 蓝色(链接) */
  --link-blue:   #0055BB;
  --link-visited:#6A2C8A;

  /* 中性色 — 提亮 */
  --text-heading:#1A1A1A;
  --text-body:   #2D2D2D;
  --text-secondary: #555555;
  --text-muted:  #888888;

  --white:       #FFFFFF;
  --bg-page:     #FAF8F5;
  --bg-card:     #FEFCFA;
  --border:      #E8E0D8;
  --border-light:#F0EBE5;

  /* 字体 */
  --font: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;

  /* 间距/圆角 */
  --section-gap: 56px;
  --radius:      4px;
  --radius-md:   6px;
  --shadow:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg:   0 4px 16px rgba(0,0,0,0.12);

  --max-width: 1200px;
  --header-h: 60px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-page);
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(ellipse at 10% 20%, rgba(212,93,58,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(67,168,106,0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 2px 12px rgba(212,93,58,0.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-outline-red {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline-red:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-full {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--green));
  z-index: 1;
}
.header .container {
  display: flex;
  flex-direction: column;
  height: auto;
  padding-top: 0;
  padding-bottom: 0;
}
.header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: 100%;
}
.header .header-bottom {
  width: 100%;
  border-top: 1px solid var(--border-light);
  background: var(--white);
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  position: relative;
}
/* CSS十字/中医标识 */
.logo-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: var(--radius);
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 2px;
  /* 十字形 */
  box-shadow:
    0  -6px 0 var(--white),
    0   6px 0 var(--white),
   -6px 0 0 var(--white),
    6px 0 0 var(--white);
}
.logo-text h1 {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.3;
}
.logo-text .sub {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav — 极简官方风格 */
.nav-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  justify-content: center;
}
.nav-wrapper::-webkit-scrollbar { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}
.nav-item {
  position: relative;
  list-style: none;
  flex-shrink: 0;
}
.nav-item > a {
  display: block;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
  line-height: var(--header-h);
  transition: color 0.25s;
}
.nav-item--has-dropdown > a {
  padding-right: 28px;
}
.nav-item--has-dropdown > a::before {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  margin-top: -2px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--text-muted);
  transition: transform 0.25s, border-top-color 0.25s;
}
.nav-item--has-dropdown:hover > a::before {
  transform: rotate(180deg);
  border-top-color: var(--primary);
}
.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-item:hover > a {
  color: var(--primary);
}
.nav-item:hover > a::after {
  width: 60%;
}
.nav-item > a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-item > a.active::after {
  width: 60%;
}

/* Dropdown — 二级菜单 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  padding: 6px 0;
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}
.dropdown li {
  list-style: none;
}
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.2s;
  white-space: nowrap;
}
.dropdown a:hover {
  color: var(--accent);
  background: var(--primary-bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 300 / 150;
  overflow: hidden;
}
.hero-banner .hero-bg {
  width: 100%;
  height: 100%;
}
.hero-banner .hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section {
  padding: var(--section-gap) 0;
}
.section-white {
  background: #FEFCFA;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-header .badge {
  display: inline-block;
  padding: 3px 14px;
  background: var(--primary-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: 30px;
  color: var(--text-heading);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-header .subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}
.section-header .divider {
  display: inline-block;
  width: 44px;
  height: 3px;
  background: var(--accent);
  margin-top: 12px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-bar {
  background: #FEFCFA;
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   NEWS (资讯文章)
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
}

/* 焦点文章 */
.news-featured .card {
  background: #FEFCFA;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s;
}
.news-featured .card:hover {
  box-shadow: var(--shadow-lg);
}
.news-featured .card-thumb {
  height: 260px;
  background: #F5F0EB;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-featured .card-thumb .thumb-text {
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.news-featured .card-thumb .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.news-featured .card-body {
  padding: 22px 24px;
}
.news-featured .card-body h3 {
  font-size: 18px;
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s;
}
.news-featured .card-body h3:hover {
  color: var(--link-blue);
}
.news-featured .card-body .desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 文章列表 */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
}
.news-tabs button {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.news-tabs button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.news-tabs button:hover {
  color: var(--accent);
}

.news-items {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-light);
  cursor: pointer;
  transition: padding 0.2s;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item:hover {
  padding-left: 4px;
}
.news-item .bullet {
  width: 6px;
  height: 6px;
  background: var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
  transition: background 0.2s;
}
.news-item:hover .bullet {
  background: var(--accent);
}
.news-item .info {
  flex: 1;
  min-width: 0;
}
.news-item .title {
  font-size: 13px;
  color: var(--link-blue);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .title:visited {
  color: var(--link-visited);
}
.news-item .title:hover {
  text-decoration: underline;
}
.news-item .date {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 2px;
}

/* ============================================================
   VIDEOS (中医讲堂)
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  background: #FEFCFA;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}
.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.video-thumb {
  position: relative;
  height: 200px;
  background: #F5F0EB;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb .thumb-label {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
/* CSS 播放按钮 */
.video-thumb .play {
  position: absolute;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.video-thumb .play::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid var(--accent);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px;
}
.video-card:hover .play {
  background: var(--accent);
}
.video-card:hover .play::after {
  border-left-color: var(--white);
}
.video-thumb .duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 1px 7px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.video-info {
  padding: 16px;
}
.video-info h4 {
  font-size: 14px;
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.2s;
}
.video-info h4:hover {
  color: var(--link-blue);
}
.video-info .v-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================================
   PRODUCTS (产品列表)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: #FEFCFA;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: #CCC;
}
.product-card .p-badge {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F4EF;
  border-bottom: 1px solid var(--border-light);
}
.product-card .p-badge .badge-text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.product-card .p-info {
  padding: 20px 16px;
}
.product-card .p-info h4 {
  font-size: 15px;
  color: var(--text-heading);
  margin-bottom: 6px;
  font-weight: 700;
}
.product-card .p-info .p-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.product-card .p-info .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.product-card .p-info .price .unit {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

/* ============================================================
   CASES (案例展示)
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #FEFCFA;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.case-card .case-head {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F4EF;
  border-bottom: 1px solid var(--border-light);
}
.case-card .case-head .head-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.case-card .case-head.c1 { background: #E8F5EE; }
.case-card .case-head.c2 { background: #FDF3EF; }
.case-card .case-head.c3 { background: #EDF3FA; }
.case-card .case-body {
  padding: 20px;
}
.case-card .case-body .case-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary-bg);
  color: var(--accent);
  font-size: 11px;
  border-radius: 2px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.case-card .case-body h4 {
  font-size: 15px;
  color: var(--text-heading);
  margin-bottom: 8px;
  font-weight: 700;
}
.case-card .case-body .case-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card .case-body .case-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.case-card .case-body .case-result .star {
  color: #E6A817;
  font-size: 14px;
}

/* ============================================================
   FORM + CONSULTATION (留资 + 咨询)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Form */
.form-panel {
  background: #FEFCFA;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.form-panel .form-head {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 26px;
}
.form-panel .form-head h3 {
  font-size: 18px;
  color: var(--text-heading);
  font-weight: 700;
}
.form-panel .form-head .fh-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 5px;
}
.form-group label .req {
  color: var(--accent);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(212,160,23,0.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group ::placeholder {
  color: #BFBFBF;
}

/* Consult */
.consult-panel {
  background: #FEFCFA;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.consult-panel .consult-head {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 24px;
}
.consult-panel .consult-head h3 {
  font-size: 18px;
  color: var(--text-heading);
  font-weight: 700;
}
.consult-panel .consult-head .ch-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.consult-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consult-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.consult-method:hover {
  border-color: var(--accent);
  background: var(--primary-bg);
}
.consult-method .c-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.consult-method:hover .c-icon-box {
  background: var(--accent);
  color: var(--white);
}
.consult-method .c-info h4 {
  font-size: 14px;
  color: var(--text-heading);
  margin-bottom: 2px;
  font-weight: 600;
}
.consult-method .c-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.consult-qr {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.consult-qr .qr-box {
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  background: var(--bg-card);
}
.consult-qr p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #3D2820;
  color: rgba(255,255,255,0.65);
  padding: 44px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-about h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.footer-about p {
  font-size: 12px;
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.footer-col ul li {
  margin-bottom: 8px;
  font-size: 12px;
}
.footer-col ul li a {
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  text-align: center;
  font-size: 11px;
  opacity: 0.5;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow);
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s;
}
.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: var(--primary-dark);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(16px);
  transition: transform 0.25s;
}
.modal-overlay.active .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  transition: background 0.2s;
}
.modal-close:hover {
  background: #E0E0E0;
}
.modal h3 {
  font-size: 18px;
  color: var(--text-heading);
  margin-bottom: 16px;
  text-align: center;
}
.modal .success-msg {
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  color: #2E7D32;
  line-height: 1.8;
}
.modal .success-msg .check-mark {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #E8F5E9;
  position: relative;
}
.modal .success-msg .check-mark::after {
  content: '';
  position: absolute;
  top: 12px; left: 16px;
  width: 14px; height: 22px;
  border: solid #2E7D32;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.modal .highlight {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin: 10px 0;
  letter-spacing: 1px;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-featured .card-thumb { height: 220px; }
}

/* ============================================================
   RESPONSIVE — H5 / Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-gap: 36px;
    --header-h: 56px;
  }

  .container { padding: 0 16px; }

  /* Nav — 移动端侧边栏 */
  .nav-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 70px 0 16px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border: none;
    overflow-y: auto;
  }
  .nav-list.open {
    transform: translateX(0);
  }
  .nav-wrapper { overflow: visible; }
  .nav-item {
    display: flex;
    flex-direction: column;
  }
  .nav-item > a {
    padding: 14px 24px;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }
  .nav-item > a::after {
    display: none;
  }
  .nav-item--has-dropdown > a {
    padding-right: 44px;
  }
  .nav-item--has-dropdown > a::before {
    right: 24px;
  }
  .nav-item.open > a::before {
    transform: rotate(180deg);
    border-top-color: var(--primary);
  }
  .nav-item:last-child > a { border-bottom: none; }
  .dropdown {
    position: static;
    transform: none;
    min-width: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    background: var(--primary-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-item:hover .dropdown {
    transform: none;
  }
  .nav-item.open .dropdown {
    max-height: 200px;
  }
  .dropdown a {
    padding: 10px 24px 10px 40px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .dropdown a:last-child { border-bottom: none; }
  .hamburger { display: flex; }

  /* Hero Banner — 移动端 */
  /* aspect-ratio handles responsive height automatically */

  /* Sections */
  .section-header h2 { font-size: 22px; }

  /* News */
  .news-layout { grid-template-columns: 1fr; }
  .news-featured .card-thumb { height: 190px; }

  /* Videos */
  .video-grid { grid-template-columns: 1fr; }
  .video-thumb { height: 210px; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .p-badge { height: 90px; }

  /* Cases */
  .cases-grid { grid-template-columns: 1fr; }

  /* Form + Consult */
  .two-col { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stat-item .stat-number { font-size: 28px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Form row */
  .form-row { grid-template-columns: 1fr; }

  /* Back to top */
  .back-top { right: 16px; bottom: 20px; width: 36px; height: 36px; font-size: 16px; }

  .form-panel, .consult-panel { padding: 22px 18px; }
}

@media (max-width: 400px) {
  .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .news-tabs button { padding: 8px 12px; font-size: 13px; }
}