:root {
    --ink: #173036;
    --muted: #5c6c6f;
    --paper: #f7f5ed;
    --paper-strong: #fffdf7;
    --line: rgba(23, 48, 54, 0.14);
    --green: #127b75;
    --green-dark: #0b5554;
    --coral: #d76545;
    --gold: #d7a84a;
    --shadow: 0 20px 50px rgba(23, 48, 54, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    line-height: 1.7;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
    padding: 14px clamp(18px, 4vw, 64px);
    background: rgba(247, 245, 237, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

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

.brand-mark {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--green-dark);
    border-radius: 8px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.35;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.site-nav a {
    padding: 7px 10px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--green-dark);
    background: rgba(18, 123, 117, 0.09);
    outline: none;
}

.hero {
    position: relative;
    min-height: calc(100svh - 74px);
    display: grid;
    align-items: end;
    padding: clamp(80px, 12vw, 148px) clamp(18px, 4vw, 64px) clamp(44px, 7vw, 86px);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(247, 245, 237, 0.96) 0%, rgba(247, 245, 237, 0.72) 42%, rgba(247, 245, 237, 0.2) 100%),
        linear-gradient(0deg, rgba(23, 48, 54, 0.2), rgba(23, 48, 54, 0)),
        url("assets/hero-network.png") center / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(36px, 7vw, 86px);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: #2f474d;
    font-size: clamp(17px, 2.2vw, 24px);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button.primary {
    color: #fff;
    background: var(--green-dark);
    border-color: var(--green-dark);
    box-shadow: 0 12px 24px rgba(11, 85, 84, 0.18);
}

.button.ghost {
    color: var(--green-dark);
    background: rgba(255, 253, 247, 0.74);
}

.hero-panel {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    margin-top: 56px;
    padding: 22px;
    background: rgba(255, 253, 247, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-panel span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-panel strong {
    display: block;
    margin-top: 6px;
    font-size: 20px;
    line-height: 1.35;
}

.hero-panel p {
    margin: 10px 0 0;
    color: var(--muted);
}

.section {
    padding: clamp(56px, 8vw, 98px) clamp(18px, 4vw, 64px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.18;
    letter-spacing: 0;
}

.intro {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
    gap: clamp(24px, 5vw, 84px);
    align-items: start;
    background: var(--paper-strong);
}

.intro p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.services {
    background: #edf4f1;
}

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

.service-card,
.note-card {
    min-height: 248px;
    padding: 24px;
    background: rgba(255, 253, 247, 0.86);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-card span,
.note-card span {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-card h3,
.note-card h3 {
    margin: 12px 0 10px;
    font-size: 21px;
    line-height: 1.35;
}

.service-card p,
.note-card p {
    margin: 0;
    color: var(--muted);
}

.lab {
    background: var(--ink);
    color: #f9f6ea;
}

.lab .eyebrow {
    color: #e6b768;
}

.lab-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
    gap: clamp(28px, 5vw, 76px);
}

.lab-copy p {
    margin: 0;
    color: rgba(249, 246, 234, 0.76);
    font-size: 18px;
}

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

.lab-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(249, 246, 234, 0.16);
}

.lab-item span {
    color: #e6b768;
    font-weight: 800;
}

.lab-item h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.lab-item p {
    margin: 0;
    color: rgba(249, 246, 234, 0.72);
}

.journal {
    background: var(--paper-strong);
}

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

.compliance {
    background: #f0ebe0;
}

.compliance-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.compliance-box p {
    min-height: 118px;
    margin: 0;
    padding: 24px;
    background: var(--paper-strong);
    color: #3b5055;
}

.contact {
    background: var(--paper-strong);
}

.contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    color: #fff;
    background: var(--green-dark);
    border-radius: 8px;
}

.contact-strip p {
    max-width: 760px;
    margin: 0;
}

.contact-strip .button.primary {
    flex: 0 0 auto;
    color: var(--green-dark);
    background: #fff;
    border-color: #fff;
    box-shadow: none;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    padding: 24px 18px 30px;
    color: #5f6e71;
    background: #e7e2d7;
    border-top: 1px solid var(--line);
    text-align: center;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--green-dark);
    font-weight: 700;
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
        padding-top: 82px;
    }

    .hero-media {
        background:
            linear-gradient(90deg, rgba(247, 245, 237, 0.96) 0%, rgba(247, 245, 237, 0.72) 58%, rgba(247, 245, 237, 0.4) 100%),
            linear-gradient(0deg, rgba(23, 48, 54, 0.18), rgba(23, 48, 54, 0)),
            url("assets/hero-network.png") center / cover no-repeat;
    }

    .intro,
    .lab-layout {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .journal-grid,
    .compliance-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-header {
        position: relative;
    }

    .brand {
        align-items: flex-start;
    }

    .brand-mark {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .site-nav a {
        padding: 6px 8px;
        font-size: 13px;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-actions,
    .contact-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .service-grid,
    .journal-grid,
    .compliance-box {
        grid-template-columns: 1fr;
    }

    .service-card,
    .note-card {
        min-height: auto;
    }

    .lab-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .compliance-box p {
        min-height: auto;
    }
}
