:root {
    --paper: #f3f2ef;
    --red: #AA1E28;
    --ink: #141414;
    --text: #3a3a3a;
    --muted: #6d6d6d;
    --line: #e4e4e4;
    --rule: #141414;
    --max: 1240px;
}

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

body {
    font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    background: #f6f5f3;
    color: var(--text);
    line-height: 1.65;
}

button { font-family: inherit; cursor: pointer; color: inherit; }

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

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 88px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header .bar {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    text-decoration: none;
}

a.nav-link { text-decoration: none; }

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

.nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 48px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}

.nav-link {
    height: 88px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #2a2a2a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1.1;
}

.nav-link b {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.nav-link small {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
}

.nav-link:hover { color: var(--ink); }

.nav-link:hover small,
.nav-link.is-on small { color: var(--red); }

.nav-link.is-on b { font-weight: 600; }

.nav-link.is-on {
    color: var(--ink);
    box-shadow: inset 0 -1px 0 var(--ink);
}

.hero {
    position: relative;
    min-height: 680px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.hero-copy .kicker,
.hero-copy h1,
.hero-copy .dek,
.hero-copy .hero-links {
    opacity: 0;
    animation: rise 0.8s ease forwards;
}

.hero-copy h1 { animation-delay: 0.12s; }
.hero-copy .dek { animation-delay: 0.28s; }
.hero-copy .hero-links { animation-delay: 0.42s; }

.hero h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin-top: 22px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    animation: draw 0.7s ease 0.5s forwards;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes draw {
    to { transform: scaleX(1); }
}

.reveal .services > li,
.reveal .db-card,
.reveal .methods article,
.reveal .index-link,
.reveal .stat {
    opacity: 0;
    transform: translateY(22px);
}

.reveal.is-in .services > li,
.reveal.is-in .db-card,
.reveal.is-in .methods article,
.reveal.is-in .index-link,
.reveal.is-in .stat {
    opacity: 1;
    transform: none;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in .services > li:nth-child(2),
.reveal.is-in .db-card:nth-child(2),
.reveal.is-in .methods article:nth-child(2),
.reveal.is-in .stat:nth-child(2) { transition-delay: 0.12s; }

.reveal.is-in .services > li:nth-child(3),
.reveal.is-in .db-card:nth-child(3),
.reveal.is-in .methods article:nth-child(3),
.reveal.is-in .stat:nth-child(3) { transition-delay: 0.24s; }

.reveal.is-in .db-card:nth-child(4),
.reveal.is-in .methods article:nth-child(4),
.reveal.is-in .stat:nth-child(4) { transition-delay: 0.36s; }

.reveal.is-in .index-link:nth-child(2) { transition-delay: 0.06s; }
.reveal.is-in .index-link:nth-child(3) { transition-delay: 0.12s; }
.reveal.is-in .index-link:nth-child(4) { transition-delay: 0.18s; }
.reveal.is-in .index-link:nth-child(5) { transition-delay: 0.24s; }
.reveal.is-in .index-link:nth-child(6) { transition-delay: 0.3s; }
.reveal.is-in .index-link:nth-child(7) { transition-delay: 0.36s; }
.reveal.is-in .index-link:nth-child(8) { transition-delay: 0.42s; }
.reveal.is-in .index-link:nth-child(9) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .hero-copy .kicker,
    .hero-copy h1,
    .hero-copy .dek,
    .hero-copy .hero-links,
    .hero h1::after,
    .reveal .services > li,
    .reveal .db-card,
    .reveal .methods article,
    .study-body,
    .reveal .index-link,
    .reveal .stat,
    .svc-photo img {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(246, 245, 243, 0.96) 0%, rgba(246, 245, 243, 0.88) 28%, rgba(246, 245, 243, 0.45) 52%, rgba(246, 245, 243, 0.05) 72%, rgba(246, 245, 243, 0) 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
}

.kicker {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #8a8a8a;
    text-transform: none;
    letter-spacing: 0.04em;
}

.en {
    color: var(--red);
}

.hero h1 {
    max-width: 640px;
    margin-top: 22px;
    font-size: 72px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.hero-foot { margin-top: 28px; }

.banner {
    height: 300px;
    overflow: hidden;
}

.banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.banner-mid {
    margin: 0;
    height: 300px;
}

.photo-band {
    width: min(var(--max), calc(100% - 80px));
    height: 360px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.photo-band img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.dek {
    max-width: 480px;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.hero-links { display: flex; gap: 28px; margin-top: 28px; }

.btn-dark {
    height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
}

.btn-dark:hover { background: #333; }

a.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.text-link {
    border: 0;
    background: transparent;
    padding: 0 0 3px;
    border-bottom: 1px solid var(--ink);
    font-size: 15px;
    color: var(--ink);
}

.text-link:hover { opacity: 0.65; }

.section { padding: 88px 0; scroll-margin-top: 104px; }

.section-head { margin-bottom: 36px; }

.section-head h2 {
    margin-top: 0;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--red);
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    list-style: none;
    border-top: 1px solid #141414;
    padding-top: 48px;
}

.services > li {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    text-align: left;
    scroll-margin-top: 104px;
}

.svc-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 0 22px;
    overflow: hidden;
    border-radius: 12px;
    background: #e8e6e2;
}

.svc-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s ease;
}

.services > li:hover .svc-photo img {
    transform: scale(1.04);
}

.services h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
}

.services h3::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 16px 0 0;
    background: var(--red);
}

.services ul {
    margin: 16px 0 0;
    padding-left: 18px;
}

.services li li {
    font-size: 15px;
    line-height: 1.85;
    color: #4a4a4a;
}

.db-panel { display: block; }

.db-cards {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #141414;
}

.db-card {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e4e4e4;
    border-radius: 0;
    padding: 22px 0;
    text-align: left;
}

.db-card strong {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
}

.db-card span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.db-card em {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.db-card:hover strong { color: var(--red); }

.db-card em {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
}

.db-card:hover { border-color: transparent; }

.db-intro h2,
.db-title {
    margin-top: 12px;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.28;
}

.db-intro p {
    margin-top: 18px;
    max-width: 360px;
    font-size: 15px;
    color: #4a4a4a;
}

.db-list { border-top: 1px solid var(--rule); }

.db-row {
    width: 100%;
    display: grid;
    grid-template-columns: 132px 1fr auto;
    gap: 20px;
    align-items: baseline;
    padding: 26px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    text-align: left;
}

.db-row strong {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
}

.db-row span { font-size: 14px; color: #555; }

.db-row em {
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-top: 1px solid #141414;
    padding-top: 28px;
}

.methods article {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.methods h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
}

.advantages h3 { color: var(--red); }

.method-icon {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 16px;
    color: var(--red);
}

.method-way {
    margin-top: 14px;
    font-size: 13px;
    color: #8a8a8a;
}

.methods p,
.methods li {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.65;
    color: #4a4a4a;
}

.methods ul {
    margin-top: 12px;
    padding-left: 18px;
}

.methods .text-link {
    margin-top: 18px;
    display: inline-block;
}

.study-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 32px;
}

.study-mode {
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    padding: 0 0 8px;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #b7b7b7;
}

.study-mode.is-on {
    color: var(--red);
    font-weight: 700;
    border-bottom-color: var(--red);
}

.study {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 56px;
    border-top: 1px solid #141414;
    padding-top: 8px;
}

.study-nav[hidden] { display: none !important; }

.study-pick {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 18px 12px 18px 14px;
    border: 0;
    border-bottom: 1px solid #e4e4e4;
    border-left: 2px solid transparent;
    background: transparent;
    text-align: left;
}

.study-pick .method-icon {
    margin: 3px 0 0;
    flex: none;
    opacity: 0.4;
}

.study-pick strong {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #6b6b6b;
}

.study-pick small {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #8a8a8a;
}

.study-pick.is-on {
    border-left-color: var(--red);
    background: rgba(170, 30, 40, 0.045);
}

.study-pick.is-on .method-icon { opacity: 1; }

.study-pick.is-on strong { color: var(--ink); }

.study-body {
    padding: 18px 0 8px;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.study-body.is-out {
    opacity: 0;
    transform: translateY(8px);
}

.study-body h3 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.study-body p {
    max-width: 520px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.study-body ul {
    margin-top: 18px;
    padding-left: 18px;
}

.study-body li {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.study-way {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e4e4e4;
}

.study-way span {
    display: block;
    font-size: 13px;
    color: #8a8a8a;
}

.study-way b {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

.methods .method-way {
    margin-top: 16px;
    font-size: 13px;
    color: #8a8a8a;
}

.field-stage {
    position: relative;
    height: 440px;
    overflow: hidden;
    border-radius: 16px;
    background: #1a1a1a;
}

.field-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.45s ease;
}

.field-stage img.is-out { opacity: 0; }

.field-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
    pointer-events: none;
}

.field-caption {
    position: absolute;
    z-index: 1;
    left: 28px;
    bottom: 24px;
    max-width: 520px;
    color: #fff;
}

.field-caption h3 {
    font-size: 32px;
    font-weight: 500;
}

.field-caption p {
    margin-top: 6px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
}

.field-caption .text-link {
    margin-top: 14px;
    color: #fff;
    border-bottom-color: #fff;
}

.field-thumbs {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.field-thumb {
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.field-thumb.is-on,
.field-thumb:hover { opacity: 1; }

.field-thumb img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: inset 0 0 0 2px transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.field-thumb.is-on img { outline-color: var(--red); }

.field-thumb span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--ink);
}

.index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 48px;
    border-top: 1px solid #141414;
}

.index-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 26px 0;
    border: 0;
    border-bottom: 1px solid #e4e4e4;
    border-radius: 0;
    background: transparent;
    text-align: left;
}

.index-name {
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
}

.index-meta { font-size: 15px; color: var(--muted); }

.index-link:hover .index-name { color: #000; }

.proof {
    background: transparent;
    color: var(--ink);
    padding: 20px 0 72px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 8px;
}

.stat {
    padding-left: 18px;
    border-left: 2px solid var(--ink);
}

.stat b {
    display: block;
    font-size: 64px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.stat span {
    display: block;
    max-width: 240px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.page { padding: 88px 0 120px; }

.page h1 {
    margin-top: 14px;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.page .lead {
    max-width: 520px;
    margin-top: 16px;
    font-size: 16px;
    color: #444;
}

.page .index { margin-top: 40px; }

.back {
    border: 0;
    background: transparent;
    padding: 0 0 2px;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    font-size: 14px;
}

.tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 36px;
    border-bottom: 1px solid var(--line);
}

.tab {
    flex: none;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: #555;
    font-size: 14px;
    padding: 12px 14px;
    margin-bottom: -1px;
}

.tab.is-on {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.panel {
    padding-top: 28px;
    max-width: 640px;
    font-size: 15px;
    color: #444;
}

.dialog[hidden] { display: none; }

.dialog {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
}

.dialog-mask {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.46);
}

.dialog-panel {
    position: relative;
    width: min(440px, 100%);
    padding: 36px 36px 32px;
    background: #f6f5f3;
    color: var(--ink);
}

.dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
}

.dialog-panel h2 {
    margin-top: 10px;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.dialog-panel .lead {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.dialog-phone {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #141414;
}

.dialog-phone span {
    display: block;
    font-size: 13px;
    color: #8a8a8a;
}

.dialog-phone a {
    display: inline-block;
    margin-top: 6px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink);
    text-decoration: none;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 56px;
}

.foot {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
}

.foot strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

@media (max-width: 960px) {
    .bar { width: min(var(--max), calc(100% - 32px)); }
    .hero h1 { font-size: 40px; }
    .hero { min-height: 560px; }
    .hero-shade {
        background: linear-gradient(180deg, rgba(246, 245, 243, 0.94) 0%, rgba(246, 245, 243, 0.72) 46%, rgba(246, 245, 243, 0.15) 100%);
    }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-figure img { height: 280px; }
    .hero-foot,
    .services,
    .db,
    .db-panel,
    .db-cards,
    .methods,
    .index,
    .stat-row,
    .study,
    .foot { grid-template-columns: 1fr; display: grid; }
    .study { gap: 12px; }
    .study-mode { font-size: 28px; }
    .study-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .study-pick small { display: none; }
    .study-pick { min-height: 56px; align-items: center; }
    .study-body h3 { font-size: 26px; }
    .hero-foot { display: block; }
    .field-thumbs { grid-template-columns: repeat(3, 1fr); }
    .db-row { grid-template-columns: 1fr; gap: 6px; }
    .services { gap: 36px; }
    .svc-photo { aspect-ratio: 16 / 10; border-radius: 10px; }
    .header { height: auto; }
    .header .bar {
        flex-wrap: wrap;
        min-height: 72px;
        height: auto;
        padding: 12px 0;
    }
    .nav-toggle { display: inline-flex; align-items: center; }
    .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        height: auto;
        margin-left: 0;
        padding: 8px 0 4px;
    }
    .nav.is-open { display: flex; }
    .nav-link {
        height: 52px;
        width: 100%;
        padding: 0;
        align-items: flex-start;
        justify-content: center;
    }
    .nav-link.is-on { box-shadow: none; }
    .services > li { scroll-margin-top: 88px; }
}
