/* 藏药网 Tibetan Medicine Care — 主样式
   色彩：藏红 / 古金 / 青金石 / 牦牛乳白 */
:root {
    --maroon: #6e1f24;
    --maroon-deep: #3a0f13;
    --maroon-soft: #8c3a3c;
    --gold: #c39a4e;
    --gold-light: #e6d2a3;
    --gold-pale: #f4ead2;
    --lapis: #1f3a5f;
    --ivory: #f7f1e6;
    --paper: #fcfaf5;
    --white: #ffffff;
    --ink: #241a16;
    --text: #3d322c;
    --muted: #776a60;
    --line: #e6dccb;
    --dark-color: #2a0b0e;
    --accent-color: #e6d2a3;
    --primary-color: #6e1f24;
    --radius: 14px;
    --shadow: 0 18px 50px -24px rgba(58, 15, 19, .35);
    --shadow-sm: 0 6px 20px -10px rgba(58, 15, 19, .25);
    --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
    --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --transition: all .3s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }

/* ---------- 顶部热线条 ---------- */
.topbar { background: var(--maroon-deep); color: var(--gold-light); font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { color: var(--gold-light); font-weight: 600; letter-spacing: .02em; }
.topbar a:hover { color: var(--white); }
.topbar-note { opacity: .85; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(252, 250, 245, .96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.logo a { display: flex; align-items: center; gap: 12px; color: var(--primary-color); text-decoration: none; transition: opacity .3s; }
.logo a:hover { opacity: .8; color: var(--primary-color); }
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--serif); font-size: 24px; color: var(--maroon); letter-spacing: .12em; }
.logo-text small { font-size: 10.5px; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.main-nav a { display: block; padding: 8px 12px; color: var(--ink); font-size: 15px; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--maroon); background: var(--gold-pale); }
.main-nav a.nav-featured { color: var(--maroon); border: 1px solid var(--gold); }
.main-nav a.nav-featured::before { content: "★ "; color: var(--gold); }
.header-call { display: inline-flex; align-items: center; gap: 8px; background: var(--maroon); color: var(--white) !important; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.header-call:hover { background: var(--maroon-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--maroon); margin: 4px auto; transition: var(--transition); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: var(--transition); font-family: var(--sans); }
.btn-gold { background: linear-gradient(135deg, #d9b56b, #b88a3c); color: var(--maroon-deep); }
.btn-gold:hover { color: var(--maroon-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(195, 154, 78, .8); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--white); }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--ivory); }
.section-dark { background: radial-gradient(circle at 20% 0%, #5a1a1f 0%, var(--maroon-deep) 60%); color: rgba(255, 255, 255, .86); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .28em; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; }
.section-dark .section-head p { color: rgba(255, 255, 255, .72); }
.ornament { display: block; width: 120px; height: 14px; margin: 18px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M0 7h48M72 7h48' stroke='%23c39a4e' stroke-width='1'/%3E%3Cpath d='M60 1l6 6-6 6-6-6z' fill='none' stroke='%23c39a4e' stroke-width='1.2'/%3E%3Ccircle cx='60' cy='7' r='1.6' fill='%23c39a4e'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; min-height: 660px; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--maroon-deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 9, 12, .92) 0%, rgba(42, 9, 12, .72) 45%, rgba(42, 9, 12, .2) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; padding: 80px 0; }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 58px); letter-spacing: .04em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(230, 210, 163, .25); font-size: 14px; color: var(--gold-light); }
.hero-badges span::before { content: "◆ "; font-size: 10px; vertical-align: 2px; }

/* ---------- 重点推荐 ---------- */
.spotlight { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.spotlight-media { position: relative; }
.spotlight-media .main-img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.spotlight-media .sub-img { position: absolute; width: 42%; right: -24px; bottom: -36px; border-radius: 16px; border: 6px solid var(--paper); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.spotlight-ribbon { position: absolute; top: 20px; left: -12px; background: linear-gradient(135deg, #d9b56b, #b88a3c); color: var(--maroon-deep); font-weight: 700; padding: 8px 18px; font-size: 14px; letter-spacing: .1em; border-radius: 4px 999px 999px 4px; box-shadow: var(--shadow-sm); }
.spotlight h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.spotlight .en-name { font-family: var(--serif); color: var(--gold); letter-spacing: .14em; font-size: 14px; text-transform: uppercase; margin-bottom: 18px; display: block; }
.spotlight-lead { font-size: 17px; }
.benefit-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 16px; }
.benefit-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.benefit-num { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: var(--gold-light); font-family: var(--serif); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.benefit-list h3 { font-size: 18px; margin: 2px 0 4px; }
.benefit-list p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 42px; color: var(--gold-light); line-height: 1.1; }
.stat span { font-size: 15px; color: rgba(255, 255, 255, .75); }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 250px; display: flex; align-items: flex-end; color: var(--white); background: var(--maroon-deep); box-shadow: var(--shadow-sm); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 9, 12, 0) 25%, rgba(42, 9, 12, .9) 100%); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-body { position: relative; z-index: 2; padding: 22px; }
.cat-card h3 { color: var(--white); font-size: 21px; margin-bottom: 4px; }
.cat-card p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .8); line-height: 1.6; }
.cat-card .count { display: inline-block; font-size: 12px; color: var(--gold-light); letter-spacing: .1em; margin-bottom: 6px; }
.cat-card:hover { color: var(--white); }

/* ---------- 药品卡片 ---------- */
.med-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.med-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); color: var(--text); }
.med-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-light); color: var(--text); }
.med-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ivory); }
.med-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.med-card:hover .thumb img { transform: scale(1.05); }
.med-card .tag { position: absolute; top: 14px; left: 14px; background: rgba(252, 250, 245, .94); color: var(--maroon); font-size: 12.5px; padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.med-card .tag-star { left: auto; right: 14px; background: linear-gradient(135deg, #d9b56b, #b88a3c); color: var(--maroon-deep); }
.med-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.med-card h3 { font-size: 21px; margin-bottom: 2px; }
.med-card .en { font-size: 12px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.med-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 14px; }
.med-card .more { font-size: 14px; font-weight: 600; color: var(--maroon); }
.med-card .more::after { content: " →"; }
.med-card.is-featured { border: 2px solid var(--gold); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar button { font-family: var(--sans); border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 14.5px; transition: var(--transition); }
.filter-bar button:hover { border-color: var(--gold); }
.filter-bar button.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.cat-group { margin-bottom: 64px; }
.cat-group-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 28px; }
.cat-group-head h2 { font-size: 28px; margin: 0; }
.cat-group-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 560px; }
.is-hidden { display: none !important; }

/* ---------- 三因 ---------- */
.humor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.humor-card { padding: 34px 30px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(230, 210, 163, .22); }
.humor-card .glyph { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; color: var(--maroon-deep); background: linear-gradient(135deg, #e6d2a3, #c39a4e); margin-bottom: 18px; }
.humor-card h3 { font-size: 22px; margin-bottom: 4px; }
.humor-card .sub { color: var(--gold-light); font-size: 13px; letter-spacing: .14em; margin-bottom: 12px; display: block; }
.humor-card p { font-size: 15px; margin: 0; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 40px; color: var(--gold-light); font-weight: 700; display: block; line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 19px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- 图文 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; }
.split.reverse > :first-child { order: 2; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.3' fill='none' stroke='%236e1f24' stroke-width='1.8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- 页面头图 ---------- */
.page-hero { position: relative; padding: 90px 0 70px; background: var(--maroon-deep); color: var(--white); overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 9, 12, .4), rgba(42, 9, 12, .85)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 720px; margin: 0; }
.breadcrumb { font-size: 13.5px; margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- 药品详情 ---------- */
.med-hero { background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%); padding: 40px 0 70px; border-bottom: 1px solid var(--line); }
.med-hero .breadcrumb { color: var(--muted); }
.med-hero .breadcrumb a { color: var(--maroon); }
.med-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.med-hero-media { position: relative; }
.med-hero-media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.med-hero-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: 24px; z-index: -1; }
.med-hero-media { z-index: 0; }
.med-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge { display: inline-block; padding: 4px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--gold-pale); color: var(--maroon); border: 1px solid var(--gold-light); }
.badge-star { background: linear-gradient(135deg, #d9b56b, #b88a3c); color: var(--maroon-deep); border: 0; }
.badge-warn { background: #fbeee9; color: #8a2b1d; border-color: #efcdbf; }
.med-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 4px; letter-spacing: .04em; }
.med-hero .en-name { display: block; font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.med-hero .tagline { font-size: 19px; color: var(--ink); font-family: var(--serif); margin-bottom: 22px; }
.func-box { background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.func-box strong { display: block; font-size: 13px; letter-spacing: .2em; color: var(--gold); margin-bottom: 4px; }
.func-box p { margin: 0; font-family: var(--serif); font-size: 18px; color: var(--maroon); }
.med-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.subnav { position: sticky; top: 76px; z-index: 50; background: rgba(252, 250, 245, .97); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; list-style: none; margin: 0 auto; padding: 0 20px; gap: 6px; overflow-x: auto; max-width: 1200px; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 14px; font-size: 14.5px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.active { color: var(--maroon); border-bottom-color: var(--gold); }

.med-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding: 64px 0 80px; }
.med-section { margin-bottom: 56px; scroll-margin-top: 150px; }
.med-section h2 { font-size: 28px; display: flex; align-items: center; gap: 14px; }
.med-section h2::before { content: ""; width: 6px; height: 28px; border-radius: 3px; background: linear-gradient(180deg, var(--gold), var(--maroon)); }
.med-section .lead { font-size: 17.5px; color: var(--ink); }
.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; }
.use-grid li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 46px; position: relative; font-size: 15.5px; }
.use-grid li::before { content: "◆"; position: absolute; left: 18px; top: 14px; color: var(--gold); font-size: 13px; }
.ing-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; padding: 0; list-style: none; }
.ing-chips li { padding: 7px 16px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.ing-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ing-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.ing-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.ing-gallery figcaption { padding: 10px 14px; font-size: 14px; text-align: center; color: var(--ink); font-family: var(--serif); }
.theory-box { background: radial-gradient(circle at 0 0, #5a1a1f, var(--maroon-deep)); color: rgba(255, 255, 255, .86); border-radius: 20px; padding: 36px 36px 30px; }
.theory-box h2 { color: var(--white); }
.theory-box p { font-size: 16.5px; }
.humor-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.humor-meter div { border: 1px solid rgba(230, 210, 163, .25); border-radius: 12px; padding: 14px; text-align: center; opacity: .45; }
.humor-meter div.on { opacity: 1; background: rgba(230, 210, 163, .12); border-color: var(--gold); }
.humor-meter strong { display: block; font-family: var(--serif); color: var(--gold-light); font-size: 20px; }
.humor-meter span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.usage-box { display: grid; grid-template-columns: 76px 1fr; gap: 20px; background: var(--ivory); border-radius: 18px; padding: 26px; align-items: start; }
.usage-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-light); }
.usage-box p { margin: 0; font-size: 16px; }
.caution-list { list-style: none; padding: 0; margin: 0; border: 1px solid #efcdbf; border-radius: 16px; background: #fdf6f2; overflow: hidden; }
.caution-list li { padding: 14px 20px 14px 50px; border-bottom: 1px solid #f3dccf; position: relative; font-size: 15.5px; }
.caution-list li:last-child { border-bottom: 0; }
.caution-list li::before { content: "!"; position: absolute; left: 18px; top: 15px; width: 20px; height: 20px; border-radius: 50%; background: #a8412e; color: var(--white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.zuotai-note { margin-top: 16px; padding: 16px 20px; border-radius: 14px; background: var(--white); border: 1px dashed #d79c86; font-size: 14.5px; color: #6b3326; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 18px 54px 18px 22px; font-family: var(--serif); font-size: 17px; color: var(--ink); font-weight: 700; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 22px 20px; color: var(--text); }
.faq-list details > div p:last-child { margin: 0; }
.disclaimer { font-size: 13.5px; color: var(--muted); background: var(--ivory); border-radius: 12px; padding: 16px 20px; line-height: 1.75; }

.side-sticky { position: sticky; top: 150px; display: grid; gap: 22px; }
.consult-card { background: radial-gradient(circle at 100% 0, #6a2328, var(--maroon-deep)); color: var(--white); border-radius: 20px; padding: 30px 26px; text-align: center; box-shadow: var(--shadow); }
.consult-card h3 { color: var(--white); font-size: 21px; }
.consult-card p { font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.consult-card .phone { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold-light); margin: 6px 0 18px; letter-spacing: .03em; }
.consult-card .btn { width: 100%; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.side-box h3 { font-size: 18px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; color: var(--ink); font-size: 15px; }
.side-links a:hover { color: var(--maroon); }
.side-links small { color: var(--muted); font-size: 12.5px; }
.promo-card { display: block; border-radius: 18px; overflow: hidden; background: var(--white); border: 2px solid var(--gold); color: var(--text); }
.promo-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.promo-card div { padding: 18px 20px 20px; }
.promo-card strong { font-family: var(--serif); font-size: 20px; color: var(--maroon); display: block; }
.promo-card span { font-size: 14px; color: var(--muted); }
.promo-card:hover { color: var(--text); box-shadow: var(--shadow); }

.featured-banner { background: linear-gradient(135deg, #f6ebd0, #fbf4e3); border: 1px solid var(--gold-light); border-radius: 20px; padding: 30px; display: grid; grid-template-columns: 160px 1fr auto; gap: 26px; align-items: center; }
.featured-banner img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.featured-banner h3 { margin-bottom: 6px; font-size: 22px; }
.featured-banner p { margin: 0; font-size: 15px; color: var(--muted); }
.gallery-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-3 img { border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- 文章型页面 ---------- */
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose p, .prose li { font-size: 16.5px; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: 18px; box-shadow: var(--shadow-sm); }
.prose figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.note-card { background: var(--ivory); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 14px 14px 0; margin: 1.6em 0; }
.note-card p:last-child { margin: 0; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 1.6em 0; }
.info-grid > div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.info-grid h3 { margin-top: 0; font-size: 19px; }
.info-grid p { margin: 0; font-size: 15px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-info-card { background: radial-gradient(circle at 0 0, #5a1a1f, var(--maroon-deep)); color: rgba(255, 255, 255, .85); border-radius: 22px; padding: 40px 34px; }
.contact-info-card h2 { color: var(--white); font-size: 26px; }
.contact-info-card .phone-big { display: block; font-family: var(--serif); font-size: 36px; color: var(--gold-light); margin: 10px 0 20px; }
.contact-info-card ul { padding-left: 1.2em; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.contact-form h2 { font-size: 24px; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; font-weight: 400; font-size: 15.5px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); transition: var(--transition); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195, 154, 78, .18); background: var(--white); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- CTA 条 ---------- */
.cta-band { position: relative; padding: 80px 0; color: var(--white); text-align: center; overflow: hidden; background: var(--maroon-deep); }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.6vw, 40px); }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .big-phone { display: block; font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); color: var(--gold-light); margin-bottom: 26px; letter-spacing: .04em; }
.cta-band .big-phone:hover { color: var(--white); }

/* ---------- 页脚 ---------- */
footer { background: var(--dark-color); color: var(--white); padding: 3.5rem 0 1rem; margin-top: 0; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.15rem; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, .8); line-height: 1.8; }
.footer-section p { margin: 0 0 .5rem; font-size: 15px; }
.footer-section a:hover { color: var(--accent-color); }
.footer-phone { font-family: var(--serif); font-size: 24px; color: var(--gold-light) !important; }
.footer-disclaimer { font-size: 12.5px; color: rgba(255, 255, 255, .5); line-height: 1.7; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.4rem; margin-bottom: 1rem; }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-bottom p { margin-bottom: .5rem; }
.footer-partner { margin-top: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }

/* 移动端悬浮电话 */
.float-call { display: none; }

/* 滚动淡入（仅在 JS 生效时启用，关闭 JS 内容照常显示） */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .main-nav a { padding: 8px 9px; font-size: 14.5px; }
    .header-call .call-text { display: none; }
    .med-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(82vw, 340px); background: var(--paper); box-shadow: -20px 0 60px rgba(0, 0, 0, .2); transform: translateX(105%); transition: transform .35s ease; padding: 90px 24px 30px; overflow-y: auto; z-index: 120; }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav a { padding: 12px 16px; font-size: 16px; border-radius: 10px; }
    .nav-open .nav-toggle { position: relative; z-index: 130; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .spotlight, .split, .med-hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .split.reverse > :first-child { order: 0; }
    .spotlight-media .sub-img { right: 10px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .med-grid { grid-template-columns: repeat(2, 1fr); }
    .steps, .stats { grid-template-columns: repeat(2, 1fr); }
    .humor-grid { grid-template-columns: 1fr; }
    .med-layout { grid-template-columns: 1fr; }
    .side-sticky { position: static; }
    .featured-banner { grid-template-columns: 120px 1fr; }
    .featured-banner .btn { grid-column: 1 / -1; }
    .subnav { top: 76px; }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .container { padding: 0 16px; }
    .topbar-note { display: none; }
    .topbar .container { justify-content: center; }
    .header-inner { min-height: 66px; }
    .subnav { top: 66px; }
    .logo-mark { width: 40px; height: 40px; }
    .logo-text strong { font-size: 21px; }
    .header-call { padding: 9px 13px; }
    .section { padding: 64px 0; }
    .hero { min-height: 560px; }
    .hero::after { background: linear-gradient(180deg, rgba(42, 9, 12, .55) 0%, rgba(42, 9, 12, .9) 70%); }
    .hero-content { padding: 70px 0 60px; }
    .cat-grid, .med-grid, .steps, .info-grid, .use-grid, .form-row, .gallery-3 { grid-template-columns: 1fr; }
    .ing-gallery { grid-template-columns: repeat(2, 1fr); }
    .stats { gap: 28px 12px; }
    .stat strong { font-size: 34px; }
    .spotlight-media .sub-img { width: 46%; bottom: -26px; }
    .med-hero-media::before { inset: 10px -8px -10px 8px; }
    .humor-meter { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .humor-meter div { padding: 10px 6px; }
    .theory-box { padding: 28px 22px 24px; }
    .usage-box { grid-template-columns: 1fr; }
    .featured-banner { grid-template-columns: 1fr; text-align: center; }
    .featured-banner img { max-width: 160px; margin: 0 auto; }
    .cat-group-head { flex-direction: column; align-items: flex-start; }
    .contact-form { padding: 24px 18px; }
    .contact-info-card { padding: 30px 22px; }
    .float-call { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 90; justify-content: center; align-items: center; gap: 8px; background: linear-gradient(135deg, #d9b56b, #b88a3c); color: var(--maroon-deep); font-weight: 700; padding: 13px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
    footer { padding-bottom: 80px; }
}
