/**
 * Theme Name: 高尔夫云获客主题
 * Theme URI: https://www.golfyun.com/
 * Description: 面向模拟高尔夫安装、维修、改造和疑难故障服务的获客型 Typecho 主题。
 * Version: 1.0.6
 * Author: 老何高尔夫
 * Author URI: https://www.golfyun.com/
 */

:root {
    --navy-950: #050d14;
    --navy-900: #08131f;
    --navy-850: #0c1b27;
    --navy-800: #102733;
    --ink: #13232d;
    --muted: #64737c;
    --line: #dfe6e9;
    --surface: #f5f7f8;
    --white: #fff;
    --green: #19a463;
    --green-dark: #128052;
    --green-soft: #e7f7f0;
    --gold: #d9a441;
    --gold-dark: #bd8722;
    --gold-soft: #f9f1df;
    --container: 1180px;
    --shadow-sm: 0 10px 30px rgba(8, 19, 31, .08);
    --shadow-lg: 0 28px 70px rgba(3, 13, 22, .2);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.25;
}

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

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 8px 14px;
    color: var(--navy-900);
    background: var(--gold);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.section {
    padding: 100px 0;
}

.section-heading {
    margin-bottom: 48px;
}

.section-heading--split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: end;
}

.section-heading--split p {
    max-width: 480px;
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 17px;
}

.section-heading--center {
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2,
.about-copy h2,
.problem-strip h2,
.contact-copy h2 {
    margin: 12px 0 0;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.035em;
}

.section-heading--center > p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.section-kicker,
.contact-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.section-kicker::before {
    width: 24px;
    height: 2px;
    margin-right: 10px;
    background: var(--green);
    content: "";
}

.section-kicker--light {
    color: #72d6a8;
}

.section-kicker--light::before {
    background: #72d6a8;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

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

.button:focus-visible,
.menu-toggle:focus-visible,
.wechat-modal__close:focus-visible {
    outline: 3px solid rgba(217, 164, 65, .45);
    outline-offset: 3px;
}

.button--small {
    min-height: 40px;
    padding: 0 19px;
    font-size: 14px;
}

.button--large {
    min-height: 54px;
    padding: 0 30px;
}

.button--gold {
    color: var(--navy-900);
    background: var(--gold);
    box-shadow: 0 12px 32px rgba(217, 164, 65, .2);
}

.button--gold:hover {
    background: #e6b356;
    box-shadow: 0 16px 36px rgba(217, 164, 65, .28);
}

.button--dark {
    color: var(--white);
    background: var(--navy-900);
}

.button--dark:hover {
    background: var(--green-dark);
}

.button--outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .03);
}

.button--outline:hover {
    border-color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .08);
}

.button--outline-dark {
    color: var(--navy-900);
    border-color: #9babb3;
    background: transparent;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--green-dark);
    font-weight: 750;
}

.text-link span {
    margin-left: 8px;
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

.text-link--large {
    font-size: 17px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--white);
    background: var(--navy-900);
    transition: box-shadow .2s ease, background-color .2s ease;
}

.site-header.is-scrolled {
    background: rgba(8, 19, 31, .97);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    min-width: 270px;
    align-items: center;
    gap: 13px;
}

.brand-logo {
    width: auto;
    max-width: 54px;
    height: 46px;
    object-fit: contain;
}

.brand-mark {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(145deg, #20b873, #0d8250);
}

.brand-mark::after {
    position: absolute;
    top: 9px;
    left: 18px;
    width: 2px;
    height: 25px;
    border-radius: 2px;
    background: var(--white);
    content: "";
}

.brand-mark span::before {
    position: absolute;
    z-index: 1;
    top: 9px;
    left: 20px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 12px solid var(--gold);
    content: "";
}

.brand-mark span::after {
    position: absolute;
    right: 8px;
    bottom: 6px;
    left: 8px;
    height: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    content: "";
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 17px;
    letter-spacing: .02em;
}

.brand-copy small {
    margin-top: 5px;
    color: #91a5b0;
    font-size: 10px;
    letter-spacing: .12em;
}

.site-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.site-nav a {
    position: relative;
    color: #c4d0d5;
    font-size: 14px;
    font-weight: 650;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    background: var(--green);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}

.site-nav a:hover {
    color: var(--white);
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

/* Hero */
.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 24%, rgba(25, 164, 99, .14), transparent 32%),
        linear-gradient(130deg, var(--navy-900) 0%, #0b1d29 54%, #102d31 100%);
}

.hero--has-image {
    background-image: linear-gradient(90deg, rgba(5, 13, 20, .97) 0%, rgba(5, 13, 20, .9) 45%, rgba(5, 13, 20, .6) 100%), var(--hero-image);
    background-position: center;
    background-size: cover;
}

.hero::before {
    position: absolute;
    top: -210px;
    left: -130px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    content: "";
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: .55;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to right, #000 0%, transparent 76%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 610px;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr);
    gap: 70px;
    align-items: center;
    padding-top: 58px;
    padding-bottom: 66px;
}

.hero-copy {
    max-width: 745px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    color: #79d8ab;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .08em;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(25, 164, 99, .14);
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(42px, 5.4vw, 68px);
    letter-spacing: -.05em;
}

.hero-copy > p {
    max-width: 670px;
    margin-bottom: 33px;
    color: #b7c6cd;
    font-size: 18px;
    line-height: 1.85;
}

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

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 22px;
    margin-top: 34px;
    color: #bdc9cf;
    font-size: 13px;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
}

.trust-row i {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
    border-radius: 50%;
    color: #a9e4c6;
    background: rgba(25, 164, 99, .17);
    font-size: 10px;
    font-style: normal;
}

.diagnosis-card {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-md);
    background: rgba(12, 32, 43, .86);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.diagnosis-card__top {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.diagnosis-card__top .status-dot {
    width: 9px;
    height: 9px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(25, 164, 99, .12);
}

.diagnosis-card__top strong {
    font-size: 15px;
}

.diagnosis-card__top small {
    grid-column: 2;
    color: #8298a3;
    font-size: 11px;
}

.diagnosis-list {
    display: grid;
    gap: 10px;
    padding: 18px 0;
}

.diagnosis-list > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .045);
}

.diagnosis-list > div > span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
}

.diagnosis-list p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.diagnosis-list strong {
    font-size: 14px;
}

.diagnosis-list small {
    margin-top: 2px;
    color: #8fa1aa;
    font-size: 11px;
}

.diagnosis-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-left: 3px solid var(--green);
    color: #dbe6ea;
    background: rgba(25, 164, 99, .1);
    font-size: 13px;
}

.diagnosis-result span {
    color: #79d8ab;
    font-size: 11px;
    font-weight: 800;
}

/* Proof */
.quick-proof {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.quick-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.quick-proof__grid > div {
    display: flex;
    min-height: 128px;
    flex-direction: column;
    justify-content: center;
    padding: 22px 34px;
    border-right: 1px solid var(--line);
}

.quick-proof__grid > div:first-child {
    border-left: 1px solid var(--line);
}

.quick-proof strong {
    color: var(--navy-900);
    font-size: 27px;
    line-height: 1.1;
}

.quick-proof sup {
    margin-left: 2px;
    color: var(--green-dark);
    font-size: 13px;
}

.quick-proof span {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

/* Services */
.services {
    background: var(--surface);
}

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

.service-card {
    position: relative;
    min-height: 300px;
    padding: 34px 30px 30px;
    overflow: hidden;
    border: 1px solid #e1e7ea;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(8, 19, 31, .025);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.service-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.service-card:hover {
    border-color: #cbd8dd;
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--green-dark);
    background: var(--green-soft);
}

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

.service-number {
    position: absolute;
    top: 30px;
    right: 28px;
    color: #d9e0e3;
    font-size: 31px;
    font-weight: 800;
}

.service-card h3 {
    margin: 27px 0 11px;
    font-size: 22px;
}

.service-card p {
    min-height: 56px;
    margin-bottom: 23px;
    color: var(--muted);
    font-size: 14px;
}

.service-card > a {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 750;
}

.service-card > a span {
    margin-left: 6px;
}

/* Problems */
.problem-strip {
    color: var(--white);
    background:
        radial-gradient(circle at 10% 20%, rgba(25, 164, 99, .18), transparent 28%),
        var(--navy-900);
}

.problem-strip__inner {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.problem-strip h2 {
    max-width: 460px;
    margin-top: 14px;
}

.problem-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.problem-tags span {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 5px;
    color: #c9d5da;
    background: rgba(255, 255, 255, .045);
    font-size: 13px;
}

/* Cases */
.cases {
    background: var(--white);
}

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

.case-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    transition: box-shadow .25s ease, transform .25s ease;
}

.case-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.case-card__media {
    position: relative;
    display: flex;
    height: 215px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.case-card__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 13, 20, .55), transparent 55%);
    content: "";
}

.case-card__media--empty {
    color: #aec0c8;
    background:
        linear-gradient(135deg, rgba(25, 164, 99, .12), rgba(217, 164, 65, .06)),
        var(--navy-850);
}

.case-card__media--empty::before {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    content: "";
}

.case-card__media > span {
    z-index: 1;
    font-size: 15px;
    letter-spacing: .12em;
}

.case-card__media em {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    color: var(--navy-900);
    background: var(--gold);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.case-card__body {
    padding: 24px;
}

.case-card time {
    color: #8b9aa2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.case-card h3 {
    margin: 9px 0 11px;
    font-size: 19px;
}

.case-card h3 a:hover {
    color: var(--green-dark);
}

.case-card p {
    display: -webkit-box;
    min-height: 48px;
    margin-bottom: 18px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.case-card .text-link {
    font-size: 13px;
}

.section-action {
    margin-top: 42px;
    text-align: center;
}

/* Process */
.process {
    background: var(--surface);
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-grid::before {
    position: absolute;
    top: 27px;
    right: 11%;
    left: 11%;
    height: 1px;
    background: #cad6da;
    content: "";
}

.process-step {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    text-align: center;
}

.process-step > span {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border: 6px solid var(--surface);
    border-radius: 50%;
    color: var(--white);
    background: var(--navy-900);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 0 0 1px #cad6da;
}

.process-step h3 {
    margin: 22px 0 10px;
    font-size: 19px;
}

.process-step p {
    color: var(--muted);
    font-size: 13px;
}

/* About */
.about {
    overflow: hidden;
    background: var(--white);
}

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

.about-visual {
    position: relative;
    min-height: 410px;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        var(--navy-900);
    background-size: 36px 36px;
}

.about-visual::before,
.about-visual::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
}

.about-visual::before {
    top: 40px;
    right: 40px;
    width: 210px;
    height: 210px;
}

.about-visual::after {
    top: 86px;
    right: 86px;
    width: 118px;
    height: 118px;
    border-color: rgba(217, 164, 65, .3);
}

.about-visual__panel {
    position: absolute;
    z-index: 2;
    right: -28px;
    bottom: 42px;
    left: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 28px;
    color: var(--white);
    background: var(--green-dark);
    box-shadow: var(--shadow-lg);
}

.about-visual__panel span {
    color: var(--gold);
    font-size: 58px;
    font-weight: 850;
    line-height: 1;
}

.about-visual__panel strong {
    text-align: right;
}

.about-copy {
    max-width: 620px;
}

.about-copy p {
    margin: 24px 0;
    color: var(--muted);
    font-size: 17px;
}

.about-copy ul {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.about-copy li {
    position: relative;
    padding-left: 27px;
}

.about-copy li::before {
    position: absolute;
    top: .78em;
    left: 0;
    width: 13px;
    height: 2px;
    background: var(--green);
    content: "";
}

/* Contact */
.contact-section {
    padding: 30px 0 100px;
    background: var(--white);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 235px;
    gap: 60px;
    align-items: center;
    padding: 58px 66px;
    border-radius: var(--radius-md);
    color: var(--white);
    background:
        radial-gradient(circle at 93% 15%, rgba(25, 164, 99, .23), transparent 28%),
        var(--navy-900);
    box-shadow: var(--shadow-lg);
}

.contact-kicker {
    color: #70d5a5;
}

.contact-copy h2 {
    max-width: 720px;
    margin: 12px 0 18px;
    font-size: clamp(30px, 3.2vw, 44px);
}

.contact-copy > p {
    max-width: 720px;
    margin-bottom: 28px;
    color: #b8c6cd;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    color: var(--navy-900);
    background: var(--white);
}

.contact-qr img {
    width: 168px;
    height: 168px;
    object-fit: contain;
}

.contact-qr strong {
    margin-top: 10px;
    font-size: 14px;
}

.contact-qr > span {
    color: var(--muted);
    font-size: 11px;
}

.qr-placeholder {
    display: flex;
    width: 176px;
    height: 176px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccd7db;
    color: var(--muted);
    text-align: center;
}

.qr-placeholder span {
    font-weight: 750;
}

.qr-placeholder small,
.setup-tip {
    margin-top: 6px;
    color: #8fa0a8;
}

/* Footer */
.site-footer {
    padding: 58px 0 24px;
    color: #aab9c0;
    background: var(--navy-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 60px;
    padding-bottom: 36px;
}

.footer-brand {
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
}

.footer-grid p {
    margin: 8px 0 0;
    font-size: 13px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #72858e;
    font-size: 11px;
}

/* WeChat modal and mobile dock */
.wechat-modal {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility .2s ease, opacity .2s ease;
}

.wechat-modal[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
}

.wechat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 9, 14, .78);
    backdrop-filter: blur(5px);
}

.wechat-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: calc(100vh - 30px);
    padding: 40px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: auto;
    text-align: center;
}

.wechat-modal__panel h2 {
    margin: 10px 0 22px;
    font-size: 25px;
}

.wechat-modal__panel img {
    width: min(100%, 235px);
    margin: 0 auto 14px;
}

.wechat-modal__panel p {
    margin: 0 0 5px;
}

.wechat-modal__panel small {
    color: var(--muted);
}

.wechat-copy {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 10px auto 12px;
    padding: 9px 18px;
    border: 1px solid rgba(184, 147, 60, .55);
    border-radius: 8px;
    background: #f6f0df;
    color: #654d16;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.wechat-copy:focus-visible {
    outline: 3px solid rgba(184, 147, 60, .35);
    outline-offset: 2px;
}

.wechat-modal__phone {
    display: grid;
    gap: 7px;
    margin: 4px 0 13px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
}

.wechat-modal__phone span {
    color: var(--muted);
    font-size: 13px;
}

.wechat-modal__phone a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--navy-900);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.wechat-modal__phone a:hover {
    background: var(--navy-800);
    color: var(--white);
}

.wechat-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--muted);
    background: var(--surface);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.mobile-contact-bar {
    display: none;
}

/* Inner pages */
.inner-main {
    min-height: 60vh;
    background: var(--surface);
}

.inner-hero,
.article-header {
    padding: 78px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(25, 164, 99, .14), transparent 25%),
        var(--navy-900);
}

.inner-hero h1,
.article-header h1 {
    max-width: 900px;
    margin: 12px 0 14px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -.04em;
}

.inner-hero p,
.article-header__inner > p {
    margin: 0;
    color: #aebdc4;
}

.archive-layout,
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 46px;
    align-items: start;
}

.archive-list {
    display: grid;
    gap: 20px;
}

.archive-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 26px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.archive-card__media {
    display: flex;
    min-height: 185px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-position: center;
    background-size: cover;
}

.archive-card__media--empty {
    color: #b8c7cd;
    background: var(--navy-850);
}

.archive-card > div {
    padding: 6px 10px 4px 0;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #7e8e96;
    font-size: 12px;
}

.article-header .article-meta {
    color: #7edaae;
}

.archive-card h2 {
    margin: 12px 0 10px;
    font-size: 22px;
}

.archive-card h2 a:hover {
    color: var(--green-dark);
}

.archive-card p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
}

.article-sidebar {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 20px;
}

.sidebar-contact,
.sidebar-services {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.sidebar-contact h3 {
    margin: 10px 0 13px;
    font-size: 22px;
}

.sidebar-contact p {
    color: var(--muted);
    font-size: 13px;
}

.sidebar-contact img {
    width: 160px;
    margin: 18px auto 10px;
}

.sidebar-wechat {
    display: block;
    margin-bottom: 13px;
    text-align: center;
    font-size: 13px;
}

.sidebar-contact .button {
    width: 100%;
    margin-top: 9px;
}

.sidebar-services h3 {
    margin-bottom: 14px;
    font-size: 17px;
}

.sidebar-services ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
}

.sidebar-services li::before {
    margin-right: 7px;
    color: var(--green);
    content: "·";
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination li > span {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--white);
    font-size: 13px;
}

.pagination .is-current > span,
.pagination a:hover {
    color: var(--white);
    border-color: var(--navy-900);
    background: var(--navy-900);
}

.empty-state,
.not-found {
    padding: 80px 30px;
    text-align: center;
}

.empty-state {
    border-radius: 12px;
    background: var(--white);
}

.not-found {
    min-height: 600px;
    color: var(--white);
    background: var(--navy-900);
}

.not-found span {
    display: block;
    color: var(--gold);
    font-size: 110px;
    font-weight: 900;
    line-height: 1;
}

.not-found h1 {
    margin: 25px 0 10px;
}

.not-found p {
    color: #aebdc4;
}

.not-found .button {
    margin-top: 18px;
    color: var(--navy-900);
    background: var(--gold);
}

/* Article */
.article-header {
    padding: 82px 0 105px;
}

.article-header__inner {
    max-width: 930px;
}

.article-header--page {
    padding-bottom: 80px;
}

.article-cover {
    position: relative;
    z-index: 2;
    margin-top: -55px;
}

.article-cover img {
    width: 100%;
    max-height: 570px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.article-layout {
    padding-top: 70px;
    padding-bottom: 100px;
}

.article-content {
    min-width: 0;
    padding: 42px 48px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(8, 19, 31, .025);
}

.article-content h2 {
    margin-top: 2em;
    font-size: 28px;
}

.article-content h3 {
    margin-top: 1.7em;
    font-size: 22px;
}

.article-content p,
.article-content li {
    color: #34464f;
    line-height: 1.95;
}

.article-content a:not(.button) {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content img {
    margin: 26px auto;
    border-radius: 7px;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    border-left: 4px solid var(--green);
    color: var(--muted);
    background: var(--green-soft);
}

.article-content pre {
    max-width: 100%;
    padding: 20px;
    overflow: auto;
    border-radius: 6px;
    color: #dce8ed;
    background: var(--navy-900);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
}

.article-content th,
.article-content td {
    padding: 11px;
    border: 1px solid var(--line);
    text-align: left;
}

.article-end {
    margin-top: 55px;
    padding: 30px;
    border-left: 4px solid var(--gold);
    background: var(--surface);
}

.article-end > strong {
    font-size: 21px;
}

.article-end p {
    margin: 8px 0 18px;
}

.post-near {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.post-near div:last-child {
    text-align: right;
}

/* Comments */
.comments {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.comments h2 {
    margin-top: 0;
    font-size: 24px;
}

.comment-list {
    display: grid;
    gap: 14px;
}

.comment {
    padding: 18px;
    border-radius: 6px;
    background: var(--surface);
}

.comment__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.comment__meta time {
    color: var(--muted);
    font-size: 11px;
}

.comment__body p:last-child {
    margin-bottom: 0;
}

.respond {
    margin-top: 40px;
}

.comment-form,
.comment-form label {
    display: grid;
    gap: 8px;
}

.comment-form {
    gap: 16px;
}

.comment-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.comment-form label {
    color: var(--muted);
    font-size: 13px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd6da;
    border-radius: 5px;
    color: var(--ink);
    background: var(--white);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--green);
    outline: 2px solid rgba(25, 164, 99, .12);
}

.comment-form .button {
    justify-self: start;
}

@media (max-width: 1080px) {
    .brand { min-width: 245px; }
    .site-nav { gap: 17px; }
    .site-nav a { font-size: 13px; }
    .header-cta { display: none; }
    .hero-inner { grid-template-columns: 1.1fr .75fr; gap: 38px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
    .archive-card { grid-template-columns: 210px 1fr; }
}

@media (max-width: 860px) {
    body { padding-bottom: 62px; }
    .section { padding: 78px 0; }
    .header-inner { min-height: 70px; }
    .brand { min-width: 0; flex: 1; }
    .menu-toggle { display: block; }
    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 12px 20px 20px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        background: var(--navy-900);
        box-shadow: 0 15px 25px rgba(0, 0, 0, .2);
    }
    .site-nav.is-open { display: grid; }
    .site-nav a { padding: 10px 0; }
    .site-nav a::after { display: none; }
    .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-top: 75px; padding-bottom: 75px; }
    .diagnosis-card { max-width: 580px; }
    .quick-proof__grid { grid-template-columns: repeat(2, 1fr); }
    .quick-proof__grid > div:nth-child(3) { border-left: 1px solid var(--line); }
    .quick-proof__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .section-heading--split, .problem-strip__inner, .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-heading--split p { max-width: 650px; }
    .problem-tags { max-width: 700px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
    .process-grid::before { display: none; }
    .about-visual { width: min(100%, 600px); }
    .about-copy { max-width: 700px; }
    .contact-card { grid-template-columns: 1fr 210px; gap: 34px; padding: 45px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; }
    .mobile-contact-bar {
        position: fixed;
        z-index: 1500;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        min-height: 62px;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -8px 25px rgba(5, 13, 20, .2);
    }
    .mobile-contact-bar button,
    .mobile-contact-bar a {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        border: 0;
        padding: 8px 5px;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }
    .mobile-contact-bar__wechat { color: var(--navy-900); background: var(--gold); }
    .mobile-contact-bar__phone { color: var(--white); background: var(--green-dark); }
    .archive-layout, .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .sidebar-contact img { width: 140px; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .section { padding: 64px 0; }
    .brand-copy strong { font-size: 15px; }
    .brand-copy small { letter-spacing: .06em; }
    .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
    .hero h1 { font-size: clamp(38px, 11vw, 49px); }
    .hero-copy > p { font-size: 16px; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hero-actions .button { padding: 0 16px; }
    .trust-row { display: grid; grid-template-columns: 1fr 1fr; }
    .diagnosis-card { padding: 20px; }
    .quick-proof__grid > div { min-height: 105px; padding: 18px; }
    .quick-proof strong { font-size: 22px; }
    .section-heading { margin-bottom: 34px; }
    .section-heading h2, .about-copy h2, .problem-strip h2, .contact-copy h2 { font-size: 32px; }
    .service-grid, .case-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .case-card__media { height: 225px; }
    .process-grid { grid-template-columns: 1fr; gap: 28px; }
    .process-step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; padding: 0; text-align: left; }
    .process-step > span { grid-row: 1 / 3; }
    .process-step h3 { margin: 2px 0 6px; }
    .process-step p { margin: 0; }
    .about-visual { min-height: 330px; }
    .about-visual__panel { right: -8px; bottom: 25px; left: 22px; padding: 22px; }
    .about-visual__panel span { font-size: 44px; }
    .contact-section { padding: 0 0 70px; }
    .contact-card { width: 100%; grid-template-columns: 1fr; padding: 44px 24px; border-radius: 0; }
    .contact-qr { width: 220px; justify-self: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-contact { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    .wechat-modal__panel { padding: 38px 24px 30px; }
    .inner-hero, .article-header { padding: 58px 0; }
    .inner-hero h1, .article-header h1 { font-size: 37px; }
    .archive-card { grid-template-columns: 1fr; padding: 14px; }
    .archive-card__media { min-height: 210px; }
    .archive-card > div { padding: 4px 5px 10px; }
    .article-sidebar { grid-template-columns: 1fr; }
    .article-layout { padding-top: 30px; padding-bottom: 70px; }
    .article-content { padding: 30px 22px; }
    .article-content h2 { font-size: 25px; }
    .article-cover { width: 100%; margin-top: 0; }
    .article-cover img { border-radius: 0; box-shadow: none; }
    .post-near { grid-template-columns: 1fr; }
    .post-near div:last-child { text-align: left; }
    .comment-form__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

@media print {
    .site-header, .site-footer, .article-sidebar, .mobile-contact-bar, .comments, .article-end { display: none !important; }
    .article-layout { display: block; }
    .article-content { padding: 0; border: 0; }
}
