/* 梅山教傅半仙官网 · 升级版视觉系统 */

:root {
    --ink: #17110b;
    --ink-2: #312315;
    --muted: #6f604e;
    --paper: #f6efe3;
    --paper-2: #efe2cf;
    --paper-3: #e5d2b8;
    --gold: #b88a3b;
    --gold-2: #d7b66b;
    --cinnabar: #8f2f20;
    --line: rgba(70, 44, 20, 0.16);
    --shadow: 0 18px 45px rgba(45, 28, 13, 0.12);
    --shadow-soft: 0 10px 24px rgba(45, 28, 13, 0.08);
    --radius: 18px;
    --max-width: 1180px;

    --color-primary: var(--gold);
    --color-primary-dark: var(--ink-2);
    --color-primary-light: var(--gold-2);
    --color-bg: var(--paper);
    --color-bg-card: rgba(255, 250, 241, 0.74);
    --color-text: var(--ink);
    --color-text-soft: var(--muted);
    --color-border: var(--line);
    --color-red: var(--cinnabar);

    --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --font-kai: "Noto Serif SC", "STKaiti", "KaiTi", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-serif);
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 2%, rgba(184, 138, 59, 0.16), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(143, 47, 32, 0.10), transparent 26%),
        linear-gradient(180deg, #fbf5ea 0%, var(--paper) 42%, #efe1ce 100%);
    line-height: 1.75;
    font-size: 16px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.28;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.58 0 0 0 0 0.48 0 0 0 0 0.34 0 0 0 0.12 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}

.container.narrow { max-width: 820px; text-align: center; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(70, 44, 20, 0.12);
    background: rgba(250, 244, 232, 0.86);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(var(--max-width), calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px 12px 12px 2px;
    background: linear-gradient(135deg, var(--ink-2), #593719);
    color: var(--gold-2);
    font-family: var(--font-kai);
    font-size: 24px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(215, 182, 107, 0.45), 0 8px 18px rgba(35, 21, 10, 0.16);
}

.brand-text { display: grid; line-height: 1.16; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: 0.04em; }
.brand-sub { color: var(--muted); font: 12px/1.3 var(--font-sans); letter-spacing: 0.15em; margin-top: 4px; }

.nav-toggle { display: none; }

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-sans);
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 14px;
    transition: 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
    background: rgba(184, 138, 59, 0.14);
    color: var(--cinnabar);
}

.nav-list .nav-cta {
    background: var(--ink-2);
    color: #fff7e7 !important;
    box-shadow: 0 10px 24px rgba(49, 35, 21, 0.18);
}

.nav-list .nav-cta:hover {
    background: var(--cinnabar);
    color: #fff !important;
    transform: translateY(-1px);
}

section { padding: 82px 0; }
.compact-top { padding-top: 22px; }

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "傅";
    position: absolute;
    right: -4vw;
    top: 8vh;
    z-index: -1;
    color: rgba(184, 138, 59, 0.07);
    font-family: var(--font-kai);
    font-size: clamp(180px, 25vw, 360px);
    line-height: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: center;
}

.hero h1,
.page-hero h1 {
    font-family: var(--font-kai);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.subtitle {
    margin-top: 18px;
    color: var(--cinnabar);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-desc,
.page-hero p,
.section-title p,
.heritage-copy p,
.cta-section p {
    color: var(--muted);
    font-size: 17px;
}

.hero-desc {
    max-width: 690px;
    margin-top: 24px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 14px/1 var(--font-sans);
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ink-2), #5f371d);
    color: #fff7e8;
    box-shadow: 0 12px 28px rgba(49, 35, 21, 0.20);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--cinnabar), #5e1d14);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--ink-2);
    border-color: rgba(49, 35, 21, 0.24);
    background: rgba(255, 251, 242, 0.48);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--cinnabar);
    transform: translateY(-2px);
}

.credentials {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
}

.cred-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 249, 239, 0.58);
}

.cred-item strong,
.cred-item .num {
    display: block;
    color: var(--ink);
    font-size: 28px;
    font-family: var(--font-serif);
    line-height: 1.1;
}

.cred-item span,
.cred-item .lbl {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font: 13px/1.45 var(--font-sans);
}

.hero-media {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(70, 44, 20, 0.18);
    border-radius: 30px;
    background: rgba(255, 250, 241, 0.58);
    box-shadow: var(--shadow);
}

.hero-media img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 22px;
}

.media-note {
    position: absolute;
    left: -22px;
    bottom: 34px;
    max-width: 260px;
    padding: 18px 20px;
    border-left: 4px solid var(--cinnabar);
    border-radius: 16px;
    background: rgba(35, 23, 12, 0.92);
    color: #fff2dc;
    box-shadow: var(--shadow);
}

.media-note span {
    display: block;
    color: var(--gold-2);
    font: 12px/1.4 var(--font-sans);
    letter-spacing: 0.18em;
}

.media-note strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
}

.section-title { margin-bottom: 34px; text-align: center; }
.section-title.align-left { text-align: left; max-width: 680px; }
.section-title h2,
.heritage-copy h2,
.cta-section h2 {
    font-family: var(--font-kai);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.18;
    color: var(--ink);
}

.section-mark,
.section-title .sub,
.hero-tagline {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gold);
    font: 700 12px/1 var(--font-sans);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cloud-deco { display: none; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 224px));
    justify-content: center;
    gap: 14px;
}

.services-grid-six {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    max-width: 1180px;
    margin-inline: auto;
    gap: 22px;
}

.service-card {
    min-height: 210px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    column-gap: 12px;
    row-gap: 16px;
    padding: 24px;
    border: 1px solid rgba(70, 44, 20, 0.16);
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.62);
    box-shadow: var(--shadow-soft);
    transition: 0.24s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 138, 59, 0.52);
    background: rgba(255, 250, 241, 0.86);
}

.service-index,
.service-icon {
    align-self: center;
    color: var(--gold);
    font: 800 18px/1 var(--font-sans);
    letter-spacing: 0.06em;
}

.service-card h3 {
    align-self: center;
    margin: 0;
    font-size: 24px;
    color: var(--ink-2);
}

.service-card p {
    grid-column: 1 / -1;
    margin-top: 0;
    color: var(--muted);
    font-size: 15px;
}

.split-section {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: clamp(34px, 6vw, 72px);
    align-items: center;
}

.image-stack {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: end;
    gap: 16px;
}

.image-stack img {
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.image-stack img:first-child { aspect-ratio: 3 / 4; }
.image-stack img:last-child { aspect-ratio: 4 / 5; margin-bottom: 34px; }

.heritage-copy p { margin: 18px 0 22px; }

.inherit-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.inherit-list li {
    padding: 14px 18px;
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 250, 241, 0.55);
    color: var(--muted);
}

.inherit-list strong { color: var(--ink); margin-right: 8px; }

.text-link,
.read-more,
.back-home,
.article-back {
    color: var(--cinnabar);
    font: 700 14px/1.5 var(--font-sans);
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.article-card {
    overflow: hidden;
    border: 1px solid rgba(70, 44, 20, 0.15);
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.72);
    box-shadow: var(--shadow-soft);
    transition: 0.24s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.article-cover,
.article-hero {
    min-height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 20%, rgba(215, 182, 107, 0.42), transparent 32%),
        linear-gradient(135deg, #2c1f14, #6d3f21 56%, #1d1510);
    color: #fff2dc;
}

.article-cover[data-cat="fengshui"],
.article-hero[data-cat="fengshui"] {
    background: linear-gradient(135deg, #243226, #697253);
}

.article-cover[data-cat="fashi"],
.article-hero[data-cat="fashi"] {
    background: linear-gradient(135deg, #2d1714, #8f2f20);
}

.article-cover[data-cat="diaoke"],
.article-hero[data-cat="diaoke"] {
    background: linear-gradient(135deg, #332115, #9a6b36);
}

.article-cat {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 247, 228, 0.16);
    color: #fff4db;
    font: 700 12px/1 var(--font-sans);
    letter-spacing: 0.06em;
}

.article-symbol {
    opacity: 0.76;
    font-family: var(--font-kai);
    font-size: 62px;
}

.article-body { padding: 22px; }

.article-meta,
.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font: 13px/1.4 var(--font-sans);
}

.article-body h3 {
    margin-top: 10px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.32;
}

.article-body h3 a:hover { color: var(--cinnabar); }

.article-excerpt {
    margin: 12px 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.article-count {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    font: 14px/1.6 var(--font-sans);
}

.cta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(215, 182, 107, 0.32);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 14%, rgba(215, 182, 107, 0.20), transparent 32%),
        linear-gradient(135deg, #2a1b10, #4a2b17);
    color: #fff5e3;
    box-shadow: var(--shadow);
}

.cta-section h2 { color: #fff8e8; }
.cta-section p { margin-top: 12px; color: rgba(255, 246, 226, 0.76); }

.wechat-box {
    min-width: 260px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 247, 228, 0.10);
}

.wechat-box span {
    display: block;
    color: var(--gold-2);
    font: 700 12px/1 var(--font-sans);
    letter-spacing: 0.18em;
}

.wechat-qr {
    width: 168px;
    max-width: 100%;
    margin: 14px 0 12px;
    padding: 8px;
    border-radius: 18px;
    background: #fffdf7;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.20);
}

.wechat-box strong {
    display: block;
    margin: 8px 0 16px;
    font: 700 24px/1.1 var(--font-sans);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.contact-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 250, 241, 0.62);
    box-shadow: var(--shadow-soft);
}

.contact-icon { color: var(--gold); font-size: 26px; }
.contact-card h4 { margin-top: 10px; color: var(--ink); }
.contact-card p { color: var(--muted); font-family: var(--font-sans); }

.page-hero {
    padding: 86px 0 56px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 64px);
}

.page-hero p { margin: 16px auto 0; max-width: 720px; }

.article-toolbar { padding: 0 0 26px; }

.filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-link {
    padding: 9px 16px;
    border: 1px solid rgba(49, 35, 21, 0.16);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.54);
    color: var(--muted);
    font: 700 14px/1 var(--font-sans);
}

.filter-link:hover,
.filter-link.active {
    background: var(--ink-2);
    color: #fff5e3;
}

.article-page {
    width: min(860px, calc(100% - 40px));
    margin: 54px auto 86px;
}

.article-back { display: inline-block; margin-bottom: 18px; }

.article-hero {
    min-height: 260px;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.article-header {
    margin-top: 34px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.article-header h1 {
    font-family: var(--font-kai);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.2;
}

.article-content {
    margin-top: 34px;
    color: #24180f;
    font-size: 18px;
}

.article-content h1 { display: none; }
.article-content h2 {
    margin: 38px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--gold);
    color: var(--ink);
    font-size: 28px;
}

.article-content h3 {
    margin: 28px 0 10px;
    color: var(--ink-2);
    font-size: 22px;
}

.article-content p,
.article-content ul,
.article-content blockquote {
    margin: 16px 0;
}

.article-content ul { padding-left: 1.4em; }
.article-content li + li { margin-top: 8px; }

.article-content blockquote {
    padding: 18px 22px;
    border-left: 4px solid var(--cinnabar);
    border-radius: 0 16px 16px 0;
    background: rgba(255, 250, 241, 0.64);
    color: var(--muted);
}

.article-content hr {
    height: 1px;
    margin: 34px 0;
    border: 0;
    background: var(--line);
}

.article-footer {
    margin-top: 44px;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.66);
    border: 1px solid var(--line);
}

.article-footer p {
    color: var(--muted);
    margin-bottom: 16px;
}

.about-section,
.heritage-section,
.articles-section,
.services-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: center;
}

.about-image {
    min-height: 360px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--ink-2), #8f5f2c);
    color: rgba(255, 243, 219, 0.88);
    font: 80px/1 var(--font-kai);
    box-shadow: var(--shadow);
}

.about-content {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.54);
    border: 1px solid var(--line);
}

.about-content h2 {
    font-family: var(--font-kai);
    font-size: 38px;
}

.role {
    color: var(--cinnabar);
    font-weight: 700;
    margin: 8px 0 18px;
}

.site-footer {
    background: #1f160f;
    color: rgba(255, 246, 226, 0.78);
}

.footer-inner {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 38px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.footer-col h4 {
    color: #fff4db;
    margin-bottom: 12px;
    font-size: 18px;
}

.footer-col p,
.footer-col a {
    display: block;
    color: rgba(255, 246, 226, 0.68);
    font: 14px/1.9 var(--font-sans);
}

.footer-col a:hover { color: var(--gold-2); }

.footer-bottom {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 246, 226, 0.10);
    text-align: center;
    color: rgba(255, 246, 226, 0.48);
    font: 13px/1.6 var(--font-sans);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 100;
    transform: translateX(-50%);
    padding: 13px 18px;
    border-radius: 999px;
    background: #1f160f;
    color: #fff4db;
    box-shadow: var(--shadow);
    font: 14px/1 var(--font-sans);
}

.wechat-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(8px);
}

.wechat-modal-panel {
    position: relative;
    width: min(360px, 100%);
    padding: 28px 26px 26px;
    border: 1px solid rgba(240, 207, 121, 0.36);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(240, 207, 121, 0.12), transparent 42%),
        linear-gradient(180deg, #1b1007, #080402);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
    text-align: center;
}

.wechat-modal-panel h3 {
    color: #fff3c4;
    font: 700 25px/1.25 var(--font-kai);
    letter-spacing: 0.05em;
}

.wechat-modal-panel img {
    width: 230px;
    max-width: 100%;
    margin: 18px auto 14px;
    padding: 10px;
    border-radius: 18px;
    background: #fffdf7;
}

.wechat-modal-panel p {
    color: rgba(255, 246, 226, 0.72);
    font: 15px/1.6 var(--font-sans);
}

.wechat-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(240, 207, 121, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff3c4;
    font: 24px/1 var(--font-sans);
    cursor: pointer;
}

.wechat-modal-close:hover {
    background: rgba(240, 207, 121, 0.16);
}

@media (max-width: 980px) {
    .header-inner { min-height: 68px; }
    .nav-toggle {
        display: inline-flex;
        padding: 8px 12px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 250, 241, 0.72);
        color: var(--ink);
        font: 700 13px/1 var(--font-sans);
    }
    .site-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 68px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(250, 244, 232, 0.97);
        box-shadow: var(--shadow);
    }
    body.nav-open .site-nav { display: block; }
    .nav-list { display: grid; gap: 6px; }
    .nav-list a { justify-content: center; }
    .hero-grid,
    .split-section,
    .about-grid {
        grid-template-columns: 1fr;
    }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-head-row,
    .cta-section {
        align-items: flex-start;
        flex-direction: column;
    }
    .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 黑金首页主题覆写：对应新的傅半仙老师傅主视觉 */
:root {
    --ink: #fff4da;
    --ink-2: #f3d38a;
    --muted: #bda982;
    --paper: #100a06;
    --paper-2: #1c1209;
    --paper-3: #2a190c;
    --gold: #d5a441;
    --gold-2: #f0cf79;
    --cinnabar: #b63b25;
    --line: rgba(238, 199, 112, 0.22);
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.28);
    --color-bg: #100a06;
    --color-bg-card: rgba(34, 21, 10, 0.78);
    --color-text: #fff4da;
    --color-text-soft: #bda982;
    --color-border: rgba(238, 199, 112, 0.22);
    --color-red: #b63b25;
}

body {
    color: #fff4da;
    background:
        radial-gradient(circle at 14% 0%, rgba(213, 164, 65, 0.18), transparent 28%),
        radial-gradient(circle at 86% 7%, rgba(182, 59, 37, 0.13), transparent 25%),
        linear-gradient(180deg, #090604 0%, #120b06 38%, #1b1008 100%);
}

body::before {
    opacity: 0.17;
    background-image:
        linear-gradient(rgba(240, 207, 121, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(240, 207, 121, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
}

.site-header {
    border-bottom-color: rgba(238, 199, 112, 0.18);
    background: rgba(10, 6, 3, 0.82);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.brand-logo {
    color: #140b04;
    background: linear-gradient(135deg, #f4d37a, #a96c20);
    box-shadow: inset 0 0 0 1px rgba(255, 239, 177, 0.58), 0 10px 26px rgba(0, 0, 0, 0.35);
}

.brand-name,
.nav-list a,
.hero h1,
.page-hero h1,
.section-title h2,
.heritage-copy h2,
.cta-section h2 {
    color: #fff2d0;
}

.brand-sub,
.hero-desc,
.page-hero p,
.section-title p,
.heritage-copy p,
.cta-section p,
.service-card p,
.article-excerpt,
.article-meta,
.footer-inner,
.text-muted {
    color: #bea985;
}

.nav-list a:hover,
.nav-list a.active {
    color: #f0cf79;
    background: rgba(240, 207, 121, 0.12);
}

.nav-list .nav-cta,
.btn-primary {
    color: #1a0d04 !important;
    background: linear-gradient(135deg, #f0cf79, #b36f22);
    box-shadow: 0 14px 34px rgba(213, 164, 65, 0.22);
}

.nav-list .nav-cta:hover,
.btn-primary:hover {
    color: #fff6df !important;
    background: linear-gradient(135deg, #b63b25, #6c1d12);
}

.btn-outline {
    color: #f5d88d;
    border-color: rgba(240, 207, 121, 0.34);
    background: rgba(20, 12, 5, 0.52);
}

.btn-outline:hover {
    color: #fff6df;
    border-color: #f0cf79;
    background: rgba(240, 207, 121, 0.1);
}

.hero {
    min-height: calc(100vh - 76px);
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(9, 6, 4, 0.96) 0%, rgba(18, 10, 5, 0.84) 48%, rgba(8, 5, 3, 0.94) 100%),
        radial-gradient(circle at 68% 28%, rgba(213, 164, 65, 0.24), transparent 34%);
}

.hero::after {
    content: "傅";
    right: -2vw;
    top: 6vh;
    z-index: -1;
    color: rgba(240, 207, 121, 0.055);
    text-shadow: 0 0 48px rgba(213, 164, 65, 0.1);
}

.hero-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.08fr);
    gap: clamp(28px, 5vw, 66px);
}

.hero h1,
.page-hero h1 {
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
}

.hero h1 {
    font-size: clamp(46px, 5.8vw, 74px);
    white-space: nowrap;
}

.subtitle {
    color: #e3b24f;
}

.hero-desc {
    max-width: 620px;
}

.credentials {
    gap: 14px;
}

.cred-item,
.service-card,
.article-card,
.wechat-box,
.value-card,
.detail-card,
.process-card,
.faq-item {
    border: 1px solid rgba(240, 207, 121, 0.22);
    background:
        linear-gradient(180deg, rgba(55, 33, 13, 0.86), rgba(21, 12, 6, 0.88));
    box-shadow: var(--shadow-soft);
}

.cred-item strong,
.service-index,
.service-card h3,
.article-card h3,
.article-card h3 a,
.wechat-box strong,
.read-more,
.text-link {
    color: #f0cf79;
}

.hero-media {
    padding: 12px;
    border: 1px solid rgba(240, 207, 121, 0.34);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(240, 207, 121, 0.18), rgba(91, 45, 15, 0.2)),
        rgba(11, 7, 4, 0.8);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.5);
}

.hero-media::before {
    background: linear-gradient(135deg, rgba(240, 207, 121, 0.42), transparent 34%, rgba(182, 59, 37, 0.24));
}

.hero-media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    filter: saturate(1.05) contrast(1.05);
}

.media-note {
    left: 28px;
    right: auto;
    top: 28px;
    bottom: auto;
    max-width: 320px;
    border: 1px solid rgba(240, 207, 121, 0.28);
    background: rgba(8, 5, 3, 0.72);
    color: #fff4da;
    backdrop-filter: blur(14px);
}

.media-note span {
    color: #f0cf79;
}

.services-section {
    background:
        linear-gradient(180deg, rgba(15, 9, 5, 0) 0%, rgba(37, 20, 8, 0.74) 35%, rgba(15, 9, 5, 0) 100%);
}

.section-mark {
    color: #dca646;
}

.service-card:hover,
.article-card:hover {
    border-color: rgba(240, 207, 121, 0.5);
    background:
        linear-gradient(180deg, rgba(77, 45, 16, 0.92), rgba(24, 13, 6, 0.92));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

.services-section .service-card {
    min-height: 190px;
    padding: 22px 24px;
}

.services-grid-six .service-card {
    min-height: 200px;
    padding: 26px 28px;
}

.services-grid-six .service-card h3 {
    white-space: nowrap;
}

.heritage-section,
.articles-section,
.consult-section,
.page-hero,
.article-detail,
.article-list-section,
.content-section {
    background: transparent;
}

.image-stack img,
.article-cover,
.gallery-card img,
.about-photo img {
    border: 1px solid rgba(240, 207, 121, 0.24);
    box-shadow: var(--shadow-soft);
}

.cta-section {
    border: 1px solid rgba(240, 207, 121, 0.25);
    align-items: center;
    padding: clamp(26px, 3.8vw, 42px) clamp(34px, 5vw, 64px);
    gap: clamp(26px, 4vw, 54px);
    background:
        radial-gradient(circle at 18% 8%, rgba(240, 207, 121, 0.18), transparent 30%),
        linear-gradient(135deg, #2a1308, #100806 64%, #3a160b);
    box-shadow: var(--shadow);
}

.consult-section {
    padding: 56px 0;
}

.cta-section h2 {
    font-size: clamp(40px, 4.4vw, 68px);
    line-height: 1.08;
}

.contact-title span {
    display: block;
    white-space: nowrap;
}

.cta-section p {
    margin-top: 14px;
}

.cta-section .wechat-box {
    min-width: 250px;
    padding: 18px 20px 20px;
    border-radius: 20px;
}

.cta-section .wechat-qr {
    width: 150px;
    margin: 12px 0 10px;
    padding: 7px;
    border-radius: 16px;
}

.cta-section .wechat-box strong {
    margin: 6px 0 14px;
    font-size: 22px;
}

.site-footer {
    border-top: 1px solid rgba(240, 207, 121, 0.2);
    background: #080503;
}

.article-cover {
    background:
        radial-gradient(circle at 28% 18%, rgba(240, 207, 121, 0.24), transparent 30%),
        linear-gradient(135deg, #3d210d, #120905);
}

.nav-toggle {
    color: #f0cf79;
    border: 1px solid rgba(240, 207, 121, 0.26);
    background: rgba(240, 207, 121, 0.08);
}

@media (max-width: 980px) {
    .site-nav {
        display: block;
        position: static;
        left: auto;
        right: auto;
        top: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-toggle {
        display: none;
    }

    .nav-list {
        position: static;
        display: flex;
        flex-wrap: wrap;
        width: auto;
        margin-top: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        max-width: 860px;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .hero h1 {
        font-size: clamp(38px, 12vw, 54px);
        letter-spacing: 0.01em;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 14px;
        right: 14px;
        top: 68px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body.nav-open .site-nav,
    .site-nav.open {
        display: block;
        width: auto;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        font: 700 13px/1 var(--font-sans);
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav-list {
        width: 100%;
        margin-top: 10px;
        padding: 12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border: 1px solid rgba(240, 207, 121, 0.18);
        border-radius: 16px;
        background: rgba(12, 7, 4, 0.96);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    }

    .hero-media img {
        aspect-ratio: 4 / 5;
        object-position: center;
    }
}

@media (max-width: 640px) {
    .container,
    .header-inner,
    .footer-inner,
    .article-page {
        width: min(100% - 28px, var(--max-width));
    }
    section { padding: 58px 0; }
    .hero { min-height: auto; padding-top: 58px; }
    .credentials,
    .services-grid,
    .articles-grid,
    .contact-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .hero-media { padding: 10px; border-radius: 22px; }
    .hero-media img { border-radius: 16px; }
    .media-note {
        position: static;
        max-width: none;
        margin-top: 12px;
    }
    .image-stack { grid-template-columns: 1fr; }
    .image-stack img:last-child { margin-bottom: 0; }
    .service-card { min-height: 190px; }
    .article-hero { min-height: 190px; }
}
