/* bestacupunctureflushing.com — 自然堂中医针灸诊所 */
:root {
    --primary-color: #1d4f5e;
    --primary-dark: #143a46;
    --sea: #3a9cc4;
    --accent-color: #c9974f;
    --accent-dark: #a97a37;
    --dark-color: #10262e;
    --text: #2b3a40;
    --muted: #5f6f75;
    --line: #e3e0d8;
    --cream: #f7f4ee;
    --mist: #eef5f7;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 38, 46, 0.08);
    --transition: all 0.25s ease;
    --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.8;
    font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); }
h1, h2, h3, h4 { color: var(--dark-color); line-height: 1.35; margin: 0 0 0.6em; }
h1, h2 { font-family: var(--serif); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary-color); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 10px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,0.85); font-size: 0.86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span + span::before { content: "·"; margin: 0 8px; opacity: 0.6; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.logo a { display: flex; align-items: center; gap: 10px; color: var(--primary-color); text-decoration: none; transition: opacity 0.3s; }
.logo a:hover { opacity: 0.8; }
.logo img { width: 54px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-family: var(--serif); font-size: 1.3rem; color: var(--primary-color); letter-spacing: 0.06em; }
.logo-text small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.main-nav a { display: block; padding: 8px 11px; color: var(--text); text-decoration: none; font-size: 0.97rem; border-radius: 8px; transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color); background: var(--mist); }
.main-nav .nav-cta a { background: var(--accent-color); color: #fff; padding: 8px 16px; }
.main-nav .nav-cta a:hover { background: var(--accent-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--primary-color); margin: 4px 0; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: var(--transition); border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--accent-color); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: currentColor; color: var(--primary-color); background: transparent; }
.btn-outline:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.btn-light { border-color: rgba(255,255,255,0.8); color: #fff; }
.btn-light:hover { background: #fff; color: var(--primary-color); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; color: #fff; background: var(--primary-dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(16,38,46,0.88) 0%, rgba(16,38,46,0.72) 38%, rgba(16,38,46,0.15) 70%, rgba(16,38,46,0) 100%); }
.hero .container { position: relative; z-index: 2; padding: 96px 20px 88px; }
.hero h1, .hero .lead { text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 760px; }
.hero .lead { font-size: 1.12rem; max-width: 680px; color: rgba(255,255,255,0.92); }
.hero .eyebrow { color: #f3d9ae; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.hero-tags li { border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 4px 14px; font-size: 0.92rem; }
.eyebrow { display: inline-block; font-size: 0.85rem; letter-spacing: 0.14em; color: var(--accent-dark); font-weight: 600; margin-bottom: 10px; }

.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 760px; font-size: 1.06rem; margin: 0; }
.page-hero .eyebrow { color: #f3d9ae; }
.breadcrumb { font-size: 0.88rem; margin-bottom: 14px; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 区块 ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--cream); }
.section-mist { background: var(--mist); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--primary-color); }
.stat span { color: var(--muted); font-size: 0.92rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 0.96rem; }
.card-body .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card-body .more::after { content: " →"; }
.tag { display: inline-block; font-size: 0.8rem; color: var(--primary-color); background: var(--mist); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px; }

.feature { background: #fff; border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--sea); box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 12px; height: 7px; border-left: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(-45deg); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.pill-list li { background: var(--mist); color: var(--primary-dark); border-radius: 999px; padding: 4px 14px; font-size: 0.92rem; }

.media-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* 疾病分类 */
.cond-card { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.cond-card h3 { color: var(--primary-color); }
.cond-card .sub { color: var(--accent-dark); font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }

/* 步骤 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; position: relative; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-color); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step .time { display: inline-block; font-size: 0.85rem; color: var(--accent-dark); font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* 患者故事 */
.quote { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--accent-color); position: absolute; top: 10px; left: 18px; opacity: 0.5; }
.quote p { padding-top: 26px; }
.quote footer { background: none; color: var(--primary-color); padding: 0; margin: 0; font-weight: 600; font-size: 0.95rem; }

/* 服务详情 */
.service-block { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; padding: 52px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-block:last-child { border-bottom: 0; }
.service-block img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-block .num { color: var(--accent-dark); font-weight: 700; letter-spacing: 0.1em; font-size: 0.85rem; }
.info-box { background: var(--cream); border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; }
.info-box strong { color: var(--primary-color); }
.info-box.warn { background: #fbf3e6; }

/* 案例 */
.case { display: grid; grid-template-columns: 320px 1fr; gap: 36px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; position: sticky; top: 100px; }
.case-meta { color: var(--accent-dark); font-weight: 600; font-size: 0.9rem; }

/* 价目 */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--primary-color); color: #fff; font-weight: 600; }
.price-table td.price { font-family: var(--serif); font-size: 1.25rem; color: var(--primary-color); white-space: nowrap; font-weight: 700; }
.price-table td small { color: var(--muted); display: block; }
.price-table td:nth-child(2) { white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.95rem; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.data-table th { background: var(--mist); color: var(--primary-dark); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 600; color: var(--dark-color); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }

/* 文章 */
.article { padding: 56px 0 72px; }
.article h2 { font-size: 1.55rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; color: var(--primary-color); }
.article ul, .article ol { padding-left: 1.4em; }
.article li { margin-bottom: 6px; }
.article .cover { border-radius: var(--radius); margin: 0 0 30px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.note { background: var(--cream); border-left: 4px solid var(--accent-color); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 1.5em 0; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); color: #fff; text-align: center; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.88); max-width: 640px; margin: 0 auto 26px; }
.cta .btn-row { justify-content: center; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.contact-info { background: var(--cream); border-radius: var(--radius); padding: 30px; }
.contact-info h3 { color: var(--primary-color); margin-top: 1.2em; }
.contact-info h3:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.contact-form label { font-weight: 600; font-size: 0.95rem; color: var(--dark-color); display: grid; gap: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd8db; border-radius: 8px; font: inherit; color: var(--text); background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--sea); border-color: var(--sea); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

.notice { background: #fdf1ef; border: 1px solid #f1cdc6; color: #8a3a2c; border-radius: 10px; padding: 14px 18px; }

/* ---------- 页脚 ---------- */
footer { background: var(--dark-color); color: var(--white); padding: 3rem 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, 0.8); line-height: 1.8; }
.footer-section p { margin: 0 0 0.5em; }
.footer-section a { text-decoration: none; }
.footer-section a:hover { color: var(--accent-color); }
.footer-disclaimer { font-size: 0.82rem; color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem; margin: 0 0 1rem; }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); }
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-partner { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }

/* 手机底部固定拨号条 */
.mobile-bar { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
    .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .main-nav a { padding: 8px 8px; font-size: 0.93rem; }
}
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
    .main-nav a { padding: 12px 10px; font-size: 1rem; }
    .grid-2, .contact-grid, .service-block, .case { grid-template-columns: 1fr; gap: 26px; }
    .case img { position: static; }
    .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    body { padding-bottom: 60px; }
    .section { padding: 54px 0; }
    .grid-3, .grid-4, .steps, .form-row { grid-template-columns: 1fr; }
    .topbar .hide-sm { display: none; }
    .hero .container { padding: 64px 20px 80px; }
    .hero::after { background: linear-gradient(180deg, rgba(16,38,46,0.6), rgba(16,38,46,0.82)); }
    .logo-text strong { font-size: 1.12rem; }
    .logo img { width: 44px; }
    .price-table th, .price-table td { padding: 12px 12px; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; box-shadow: 0 -4px 16px rgba(0,0,0,0.12); }
    .mobile-bar a { text-align: center; padding: 15px 0; color: #fff; font-weight: 600; text-decoration: none; background: var(--primary-color); }
    .mobile-bar a + a { background: var(--accent-color); }
}
