/* 趋梦健康科技 · 对外宣传网站 */

:root {
    --green: #0e3b2d;
    --green-deep: #08241c;
    --green-soft: #17513f;
    --gold: #c7a15a;
    --gold-light: #e6cf9d;
    --cream: #f8f5ee;
    --sand: #f1ede1;
    --ink: #22352c;
    --muted: #6b7d73;
    --line: rgba(14, 59, 45, .12);
    --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; }
.ico { flex: none; vertical-align: -0.15em; }

h1, h2, h3 {
    font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
    font-weight: 600;
}

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

/* ============ 顶部导航 ============ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}

.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(14, 59, 45, .08); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 74px;
}

.logo img { display: block; height: 38px; width: auto; }

.site-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    font-size: 14.5px;
}

.site-nav a {
    position: relative;
    padding: 6px 0;
    color: #3c4f45;
    transition: color .2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .25s ease;
}

.site-nav a:hover { color: var(--green); }
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: 13.5px;
    transition: background .2s ease;
}

.header-phone:hover { background: var(--green-soft); }
.header-phone .ico { width: 16px; height: 16px; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    color: var(--green);
    cursor: pointer;
}

.nav-toggle .ico { width: 20px; height: 20px; }
.nav-toggle .i-close { display: none; }
body.nav-open .nav-toggle .i-open { display: none; }
body.nav-open .nav-toggle .i-close { display: inline-flex; }

/* ============ 首屏 ============ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 76px;
    color: #fff;
    background:
        radial-gradient(circle at 16% 10%, rgba(38, 107, 82, .85) 0%, rgba(38, 107, 82, 0) 52%),
        radial-gradient(circle at 88% -10%, rgba(58, 130, 101, .5) 0%, rgba(58, 130, 101, 0) 46%),
        linear-gradient(150deg, #0e3b2d 0%, #0a2a20 100%);
}

.ring {
    position: absolute;
    border: 1px solid rgba(199, 161, 90, .18);
    border-radius: 50%;
    pointer-events: none;
}

.ring-1 { width: 420px; height: 420px; right: -80px; top: -130px; }
.ring-2 { width: 640px; height: 640px; right: -190px; bottom: -360px; }
.ring-3 { width: 220px; height: 220px; left: -70px; bottom: -90px; border-color: rgba(199, 161, 90, .12); }

.hero-inner { position: relative; max-width: 920px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(199, 161, 90, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-size: 12.5px;
    letter-spacing: 3px;
    color: var(--gold-light);
}

.eyebrow i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero h1 {
    margin: 26px 0 20px;
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.3;
    letter-spacing: 1px;
}

.hero-sub {
    max-width: 640px;
    font-size: 16.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .78);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14.5px;
    font-weight: 500;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn .ico { width: 18px; height: 18px; }

.btn-gold {
    background: linear-gradient(135deg, #d9b979, #c7a15a);
    color: #2a2313;
    box-shadow: 0 12px 26px rgba(199, 161, 90, .22);
}

.btn-gold:hover { transform: translateY(-2px); }

.btn-ghost {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .04);
    color: #fff;
}

.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

.hero-note {
    margin-top: 26px;
    font-size: 12.5px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .5);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 640px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.stat strong {
    display: block;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 34px;
    line-height: 1.1;
    color: var(--gold-light);
}

.stat span { font-size: 12.5px; letter-spacing: 1px; color: rgba(255, 255, 255, .62); }

/* ============ 通用板块 ============ */

.section { padding: 92px 0; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }

.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11.5px;
    letter-spacing: 4px;
    color: var(--gold);
}

.section-head h2,
.about-text h2,
.contact-intro h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.35;
    color: var(--green);
}

.section-head p { font-size: 15px; color: var(--muted); }

/* ============ 服务项目 ============ */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.service-card {
    position: relative;
    overflow: hidden;
    padding: 34px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(199, 161, 90, .45);
    box-shadow: 0 24px 50px rgba(14, 59, 45, .1);
}

.service-no {
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: "Noto Serif SC", serif;
    font-size: 42px;
    line-height: 1;
    color: rgba(14, 59, 45, .07);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f1e8d5, #faf6ec);
    color: #a9823e;
}

.service-icon .ico { width: 26px; height: 26px; }

.service-card h3 { margin: 0 0 10px; font-size: 20px; color: var(--green); }

.service-card p { font-size: 14px; line-height: 1.9; color: var(--muted); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }

.tag-list li {
    padding: 4px 11px;
    border-radius: 999px;
    background: #f7f1e3;
    font-size: 11.5px;
    color: #7d6b45;
}

/* ============ 关于我们 ============ */

.section-about { background: var(--sand); }

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.about-sub { margin: 0 0 18px; font-size: 14px; letter-spacing: 1px; color: #8a6f3f; }

.about-p { margin: 0 0 10px; font-size: 14.5px; line-height: 2; color: #5a6b61; }

.about-points { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #3f5449;
}

.about-points .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }

.about-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
    padding: 56px 40px;
    border-radius: 24px;
    background: linear-gradient(160deg, #134735, #0a2a20);
    box-shadow: 0 30px 60px rgba(10, 42, 32, .18);
    color: #fff;
}

.about-mark {
    position: absolute;
    right: -30px;
    bottom: -70px;
    font-family: "Noto Serif SC", serif;
    font-size: 260px;
    line-height: 1;
    color: rgba(199, 161, 90, .08);
}

.about-card-inner { position: relative; text-align: center; }

.about-slogan {
    margin: 0 0 22px;
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-size: 24px;
    letter-spacing: 4px;
    color: var(--gold-light);
}

.about-line { display: block; width: 44px; height: 1px; margin: 0 auto 22px; background: rgba(199, 161, 90, .6); }

.about-caption { font-size: 13.5px; line-height: 2.1; color: rgba(255, 255, 255, .68); }

/* ============ 联系 / 预约 ============ */

.contact {
    padding: 88px 0;
    background: linear-gradient(150deg, #0f3b2d, #0a2a20);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.section-kicker.light { color: var(--gold-light); }

.contact-intro h2 { color: #fff; margin-bottom: 14px; }

.contact-intro p { margin: 0 0 28px; font-size: 14.5px; line-height: 1.95; color: rgba(255, 255, 255, .7); }

.contact-card {
    padding: 14px 30px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .05);
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.contact-row:last-child { border-bottom: 0; }

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(199, 161, 90, .14);
    color: var(--gold-light);
}

.contact-icon .ico { width: 20px; height: 20px; }

.contact-label {
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .45);
}

.contact-row strong { font-size: 15.5px; font-weight: 500; color: #fff; }

/* ============ 页脚 ============ */

.site-footer { padding: 40px 0; background: var(--green-deep); color: rgba(255, 255, 255, .6); font-size: 12.5px; }

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 9px;
    background: #fff;
}

.footer-logo img { display: block; height: 26px; }

.footer-brand p { margin: 0; }

.footer-meta { text-align: right; }

.footer-links { display: flex; justify-content: flex-end; gap: 20px; margin-bottom: 10px; }

.footer-links a:hover { color: var(--gold-light); }

/* ============ 动效 ============ */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */

@media (max-width: 980px) {
    .service-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-card { min-height: 300px; }
    .stats { gap: 36px; }
    .footer-meta { text-align: left; }
    .footer-links { justify-content: flex-start; }
}

@media (max-width: 760px) {
    .header-inner { height: 64px; gap: 14px; }
    .logo img { height: 32px; }

    .site-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 8px 24px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(14, 59, 45, .12);
    }

    .site-nav.open { display: flex; }

    .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(14, 59, 45, .07); font-size: 15px; }
    .site-nav a::after { display: none; }

    .header-phone { padding: 10px; border-radius: 50%; }
    .header-phone span { display: none; }

    .nav-toggle { display: inline-flex; }

    .hero { padding: 68px 0 58px; }
    .hero-sub { font-size: 15px; }
    .stats { gap: 28px; margin-top: 44px; }
    .stat strong { font-size: 28px; }

    .section { padding: 68px 0; }
    .section-head { margin-bottom: 40px; }
    .service-card { padding: 28px 24px; }

    .contact { padding: 68px 0; }
    .contact-card { padding: 8px 22px; }

    .footer-inner { flex-direction: column; }
}

/* ============ 栏目导航 / 新闻列表 / 单页 ============ */

.site-nav a.is-active { color: var(--green); font-weight: 600; }
.site-nav a.is-active::after { width: 100%; }

.nav-drop { position: relative; display: flex; align-items: center; }

.nav-sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 60;
    display: flex;
    min-width: 158px;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(14, 59, 45, .12);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.nav-drop:hover .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-sub a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    white-space: nowrap;
    color: #3c4f45;
}

.nav-sub a::after { display: none; }
.nav-sub a:hover { background: #f4f1e8; color: var(--green); }

.btn-outline-dark {
    border-color: rgba(14, 59, 45, .28);
    background: transparent;
    color: var(--green);
}

.btn-outline-dark:hover { background: var(--green); color: #fff; }

.page-head {
    position: relative;
    overflow: hidden;
    padding: 58px 0 50px;
    background:
        radial-gradient(circle at 85% -30%, rgba(58, 130, 101, .45) 0%, rgba(58, 130, 101, 0) 50%),
        linear-gradient(150deg, #0e3b2d 0%, #0a2a20 100%);
    color: #fff;
}

.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .55);
}

.crumb a:hover { color: var(--gold-light); }

.page-head h1 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.35;
}

.page-head > .wrap > p {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .68);
}

.page-head .article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: rgba(255, 255, 255, .62); }

.section-list { padding: 56px 0 84px; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }

.cat-tabs a {
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13.5px;
    color: #4b5d53;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.cat-tabs a:hover { border-color: rgba(199, 161, 90, .55); color: var(--green); }
.cat-tabs a.is-on { background: var(--green); border-color: var(--green); color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(14, 59, 45, .1); }

.news-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eee9dc; }

.news-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-cover img { transform: scale(1.04); }

.news-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 26px; }

.news-meta { margin-bottom: 10px; font-size: 11.5px; letter-spacing: 1px; color: #a9823e; }

.news-body h3 { margin: 0 0 10px; font-size: 17.5px; line-height: 1.55; color: var(--green); }

.news-body p { flex: 1; margin: 0 0 16px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

.news-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #a9823e; }
.news-link .ico { width: 14px; height: 14px; }

.news-more { margin-top: 40px; text-align: center; }

.section-news { background: var(--cream); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }

.pager a, .pager span {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    font-size: 13.5px;
    color: #4b5d53;
}

.pager .is-on { background: var(--green); border-color: var(--green); color: #fff; }

.empty-state { padding: 70px 0; text-align: center; }
.empty-state p { margin-bottom: 20px; color: var(--muted); }

.section-article { padding: 64px 0 88px; }
.article-wrap { max-width: 840px; }

.article-cover { margin-bottom: 34px; overflow: hidden; border-radius: 18px; background: #eee9dc; }
.article-cover img { display: block; width: 100%; height: auto; }

.content-body { font-size: 15.5px; line-height: 2; color: #45564c; }
.content-body p { margin: 0 0 18px; }
.content-body h2 { margin: 34px 0 16px; font-size: 24px; color: var(--green); }
.content-body h3 { margin: 26px 0 14px; font-size: 20px; color: var(--green); }
.content-body img { max-width: 100%; height: auto; margin: 12px 0; border-radius: 12px; }
.content-body ul, .content-body ol { margin: 0 0 18px; padding-left: 22px; }
.content-body li { margin-bottom: 8px; }
.content-body a { color: #a9823e; text-decoration: underline; }

.content-body blockquote {
    margin: 22px 0;
    padding: 16px 22px;
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    background: #f4f1e8;
    color: #5a6b61;
}

.article-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--muted);
}

.article-nav a:hover { color: var(--green); }
.article-back { margin-top: 32px; text-align: center; }

@media (max-width: 760px) {
    .news-grid { grid-template-columns: 1fr; }

    .nav-drop { display: block; width: 100%; }

    .nav-drop-toggle { display: block; padding: 14px 0; border-bottom: 1px solid rgba(14, 59, 45, .07); }

    .nav-sub {
        position: static;
        min-width: 0;
        padding: 0 0 8px 14px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-sub a { padding: 8px 0; font-size: 14px; color: #6b7d73; }
    .nav-sub a:hover { background: transparent; }

    .page-head { padding: 44px 0 38px; }
    .section-list { padding: 44px 0 64px; }
    .section-article { padding: 44px 0 64px; }
}
