/* =====================================================================
   航越互联网药品信息服务平台 — 设计系统
   主题：清爽医疗风（青绿 + 墨蓝 + 暖琥珀），明亮、可信、精致
   ===================================================================== */

:root {
  /* 品牌色 */
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;

  --ink:      #0f172a;
  --ink-2:    #334155;
  --muted:    #64748b;
  --line:     #e2e8f0;
  --line-2:   #eef2f5;

  --bg:       #f6f9f9;
  --surface:  #ffffff;
  --amber:    #f59e0b;
  --amber-bg: #fef3c7;
  --red:      #dc2626;
  --red-bg:   #fee2e2;
  --blue:     #2563eb;

  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:26px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow:    0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 60px -20px rgba(13,148,136,.35);
  --ring:      0 0 0 4px rgba(20,184,166,.18);

  --maxw: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--teal-700); background: var(--teal-50); padding: 5px 14px;
  border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.01em;
  color: var(--ink); line-height: 1.25;
}
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15.5px; }

/* ----------------------------- 按钮 ----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 14.5px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .18s, box-shadow .25s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--teal-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-300); color: var(--teal-800); transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }

/* ----------------------------- 标签 / 徽章 ----------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .02em;
}
.badge-rx { background: var(--red-bg); color: var(--red); }
.badge-otc { background: var(--teal-50); color: var(--teal-700); }
.badge-otc.a { background: #ecfdf5; color: #047857; }
.badge-otc.b { background: #f0f9ff; color: #0369a1; }
.badge-cat { background: var(--line-2); color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); transition: all .2s;
}
.pill:hover { border-color: var(--teal-300); color: var(--teal-700); transform: translateY(-1px); }
.pill.active { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ----------------------------- 顶部免责条 ----------------------------- */
.disclaimer-bar {
  background: linear-gradient(90deg, #0f766e, #0d9488);
  color: #e6fffb; font-size: 13px; text-align: center; padding: 8px 16px;
  letter-spacing: .02em;
}
.disclaimer-bar b { color: #fff; }

/* ----------------------------- 头部导航 ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; color: var(--ink); }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  box-shadow: 0 6px 16px -6px rgba(13,148,136,.6); flex: none;
}
.brand .logo svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--teal-50); color: var(--teal-700); }
.nav-links a.active { color: var(--teal-700); background: var(--teal-50); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-search { position: relative; display: none; }
.nav-search input {
  width: 210px; padding: 9px 14px 9px 38px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; background: var(--bg); transition: all .2s; font-family: inherit;
}
.nav-search input:focus { outline: none; border-color: var(--teal-300); box-shadow: var(--ring); background: #fff; }
.nav-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }

.hamburger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.hamburger svg { width: 20px; height: 20px; }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(45,212,191,.20), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(37,99,235,.12), transparent 55%),
    linear-gradient(180deg, #ffffff, #f4fbfa);
  padding: 78px 0 64px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(13,148,136,.06) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--teal-700); background: #fff; border: 1px solid var(--teal-100);
  padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px); font-weight: 850; line-height: 1.18; letter-spacing: -.02em;
  color: var(--ink);
}
.hero h1 .grad { background: linear-gradient(120deg, var(--teal-600), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: clamp(15px,2vw,18px); margin: 20px auto 0; max-width: 620px; }

.hero-search {
  margin: 34px auto 0; max-width: 600px; position: relative; display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 7px 7px 18px;
  box-shadow: var(--shadow); transition: box-shadow .25s, transform .2s;
}
.hero-search:focus-within { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.hero-search svg { width: 20px; height: 20px; color: var(--teal-600); flex: none; }
.hero-search input { flex: 1; border: none; outline: none; font-size: 16px; padding: 12px 10px; background: transparent; font-family: inherit; color: var(--ink); }
.hero-search input::placeholder { color: #94a3b8; }
.hero-search button {
  border: none; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff;
  font-weight: 700; font-size: 15px; padding: 12px 26px; border-radius: 999px; transition: filter .2s;
}
.hero-search button:hover { filter: brightness(1.06); }

.hero-tags { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 6px; }
.hero-tags b { color: var(--teal-700); }

/* 信任条 */
.trust-strip {
  margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.trust {
  background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; display: flex; gap: 14px; align-items: center; text-align: left;
  backdrop-filter: blur(6px);
}
.trust .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); flex: none; }
.trust .ic svg { width: 21px; height: 21px; }
.trust b { display: block; font-size: 15px; color: var(--ink); }
.trust small { color: var(--muted); font-size: 12.5px; }

/* ----------------------------- 数据概览条 ----------------------------- */
.stat-strip { background: linear-gradient(135deg, var(--teal-700), var(--teal-500)); border-radius: var(--radius-lg); padding: 30px 34px; color: #fff; box-shadow: var(--shadow-lg); }
.stat-strip .grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-strip .num { font-size: 34px; font-weight: 850; letter-spacing: -.02em; }
.stat-strip .lbl { font-size: 13.5px; opacity: .9; margin-top: 2px; }
.stat-strip .div { border-left: 1px solid rgba(255,255,255,.18); }

/* ----------------------------- 分类卡片 ----------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; align-items: center; gap: 14px; transition: all .22s; position: relative; overflow: hidden;
}
.cat-card::before { content:""; position:absolute; right:-30px; top:-30px; width:90px; height:90px; border-radius:50%; background: var(--teal-50); opacity:0; transition: opacity .3s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--teal-200); box-shadow: var(--shadow); }
.cat-card:hover::before { opacity: 1; }
.cat-card .emoji { font-size: 26px; width: 50px; height: 50px; border-radius: 14px; background: var(--teal-50); display: grid; place-items: center; flex: none; position: relative; }
.cat-card .meta b { font-size: 15.5px; color: var(--ink); display: block; }
.cat-card .meta small { color: var(--muted); font-size: 12.5px; }
.cat-card .count { margin-left: auto; font-weight: 800; color: var(--teal-600); font-size: 15px; position: relative; }

/* ----------------------------- 药品卡片 ----------------------------- */
.drug-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.drug-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: all .22s; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}
.drug-card:hover { transform: translateY(-5px); border-color: var(--teal-200); box-shadow: var(--shadow); }
.drug-card .top { display: flex; align-items: flex-start; gap: 12px; }
.drug-card .mark {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff;
}
.drug-card h3 { font-size: 16.5px; font-weight: 750; color: var(--ink); line-height: 1.3; }
.drug-card .brand { color: var(--muted); font-size: 13px; margin-top: 2px; }
.drug-card .tagline { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; flex: 1; }
.drug-card .facts { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }
.drug-card .facts span { background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 9px; }
.drug-card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.drug-card .manu { font-size: 12px; color: var(--muted); }
.drug-card .arrow { color: var(--teal-600); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.drug-card .arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.drug-card:hover .arrow svg { transform: translateX(3px); }

/* ----------------------------- 文章卡片 ----------------------------- */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.art-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .22s; display: flex; flex-direction: column;
}
.art-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.art-card .cover { height: 150px; position: relative; display: flex; align-items: flex-end; padding: 14px; }
.art-card .cover .ctag { background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.art-card .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art-card h3 { font-size: 16.5px; font-weight: 750; line-height: 1.4; color: var(--ink); }
.art-card .summary { color: var(--muted); font-size: 13.5px; line-height: 1.65; flex: 1; }
.art-card .meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 12px; }
.art-card .meta .author { display: flex; align-items: center; gap: 6px; }
.art-card .meta .avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,var(--teal-400),var(--teal-700)); color:#fff; display:grid; place-items:center; font-size: 11px; font-weight: 700; }

/* 文章封面渐变 */
.cover.teal   { background: linear-gradient(135deg,#0d9488,#2dd4bf); }
.cover.blue   { background: linear-gradient(135deg,#2563eb,#60a5fa); }
.cover.red    { background: linear-gradient(135deg,#dc2626,#f87171); }
.cover.green  { background: linear-gradient(135deg,#16a34a,#4ade80); }
.cover.amber  { background: linear-gradient(135deg,#f59e0b,#fbbf24); }
.cover.violet { background: linear-gradient(135deg,#7c3aed,#a78bfa); }

/* ----------------------------- 区块标题行 ----------------------------- */
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.row-head h2 { font-size: clamp(22px,3vw,30px); font-weight: 800; letter-spacing: -.01em; }
.row-head .sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-700); font-weight: 700; font-size: 14px; }
.link-more:hover { gap: 9px; }

/* ----------------------------- 药品列表页筛选 ----------------------------- */
.filter-bar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.filter-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-group + .filter-group { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.filter-group .label { font-size: 13px; font-weight: 700; color: var(--muted); min-width: 56px; }
.search-inline { margin-left: auto; position: relative; }
.search-inline input { width: 240px; padding: 9px 14px 9px 38px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--bg); font-family: inherit; }
.search-inline input:focus { outline: none; border-color: var(--teal-300); box-shadow: var(--ring); background:#fff; }
.search-inline svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.result-count { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.result-count b { color: var(--teal-700); }

/* ----------------------------- 药品详情 ----------------------------- */
.detail-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.detail-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; }
.detail-main { min-width: 0; }

.rx-banner {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--red-bg); border: 1px solid #fecaca; color: #991b1b; font-size: 13.5px; font-weight: 600;
}
.rx-banner svg { width: 22px; height: 22px; flex: none; }

.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.info-card .mark-lg {
  width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; color: #fff;
  font-weight: 850; font-size: 24px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.info-card h1 { font-size: 23px; font-weight: 800; line-height: 1.3; }
.info-card .brand { color: var(--muted); margin-top: 4px; font-size: 14px; }
.info-card .tagline { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; padding: 12px 14px; background: var(--teal-50); border-radius: var(--radius-sm); border-left: 3px solid var(--teal-500); }
.fact-list { margin-top: 18px; display: flex; flex-direction: column; gap: 0; }
.fact-list .f { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.fact-list .f:first-child { border-top: none; }
.fact-list .f .k { color: var(--muted); font-size: 13px; min-width: 76px; flex: none; }
.fact-list .f .v { color: var(--ink); font-size: 14px; font-weight: 600; }

.detail-section {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.detail-section h3 { font-size: 17px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.detail-section h3 .bar { width: 5px; height: 18px; border-radius: 3px; background: linear-gradient(var(--teal-500),var(--teal-700)); }
.detail-section p { color: var(--ink-2); line-height: 1.85; }
.detail-section.danger { border-color: #fecaca; background: linear-gradient(180deg,#fff,#fff7f7); }
.detail-section.danger h3 .bar { background: linear-gradient(var(--red),#f87171); }

/* ----------------------------- 文章详情 ----------------------------- */
.article-hero { background: linear-gradient(135deg, var(--teal-800), var(--teal-500)); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.article-hero::after { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg,transparent,#000); }
.article-hero .container { position: relative; z-index: 1; }
.article-hero .ctag { display: inline-block; background: rgba(255,255,255,.18); padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.article-hero h1 { font-size: clamp(26px,4vw,42px); font-weight: 850; line-height: 1.25; max-width: 860px; }
.article-hero .meta { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; opacity: .92; }
.article-hero .meta span { display: inline-flex; align-items: center; gap: 7px; }

.article-body { max-width: 760px; margin: 0 auto; padding: 44px 22px 20px; }
.article-body h3 { font-size: 21px; font-weight: 800; margin: 30px 0 12px; color: var(--ink); }
.article-body p { color: var(--ink-2); line-height: 1.95; margin: 14px 0; font-size: 16px; }
.article-body ul { margin: 14px 0; padding-left: 4px; }
.article-body li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--ink-2); line-height: 1.85; }
.article-body li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); }
.article-body .tip { background: var(--teal-50); border: 1px solid var(--teal-100); border-left: 4px solid var(--teal-500); border-radius: var(--radius-sm); padding: 16px 18px; margin: 22px 0; color: var(--teal-800); font-weight: 600; line-height: 1.8; }
.article-back { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-700); font-weight: 700; margin: 30px auto 0; }

/* ----------------------------- 关于 / 资质 ----------------------------- */
.about-hero { text-align: center; padding: 60px 0 20px; }
.about-hero h1 { font-size: clamp(28px,4vw,40px); font-weight: 850; }
.about-hero p { color: var(--muted); max-width: 640px; margin: 16px auto 0; }
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.qual-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.qual-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.qual-item .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; flex: none; }
.qual-item b { display: block; font-size: 15px; }
.qual-item small { color: var(--muted); font-size: 13px; }
.feature-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg,var(--teal-500),var(--teal-700)); color:#fff; display:grid; place-items:center; margin-bottom: 14px; }
.feature b { font-size: 16px; display: block; }
.feature p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ----------------------------- 页脚 ----------------------------- */
.site-footer { background: var(--ink); color: #cbd5e1; margin-top: 40px; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .logo { background: linear-gradient(135deg,var(--teal-500),var(--teal-700)); }
.site-footer p.desc { color: #94a3b8; font-size: 13.5px; margin-top: 14px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: #94a3b8; font-size: 13.5px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--teal-300); }
.footer-contact { font-size: 13.5px; color: #94a3b8; line-height: 2; }
.footer-contact b { color: #e2e8f0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding: 22px 0; text-align: center; font-size: 12.8px; color: #94a3b8; }
.footer-bottom .links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.footer-bottom .links a:hover { color: var(--teal-300); }
.footer-disclaimer { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 16px; font-size: 12.5px; color: #cbd5e1; line-height: 1.7; }

/* ----------------------------- 空状态 / 加载 ----------------------------- */
.loading { text-align: center; padding: 60px 0; color: var(--muted); }
.spinner { width: 34px; height: 34px; border: 3px solid var(--teal-100); border-top-color: var(--teal-600); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .em { font-size: 42px; }

/* ----------------------------- 滚动揭示动画 ----------------------------- */
/* 渐进增强：仅当 JS 就绪（html.js）才隐藏，避免脚本异常导致整页空白 */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ----------------------------- 响应式 ----------------------------- */
@media (max-width: 980px) {
  .drug-grid, .art-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .stat-strip .grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stat-strip .div { display: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-search { display: none; }
  .hamburger { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 2px; box-shadow: var(--shadow); }
  .nav-links.open a { padding: 12px 14px; }
  .feature-list, .qual-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 54px 0 48px; }
  .trust-strip { grid-template-columns: 1fr; }
}
