:root {
    --ink: #171717;
    --muted: #64666a;
    --line: #e6e1d8;
    --paper: #fbfaf7;
    --cream: #f3efe7;
    --red: #8f1f1b;
    --blue: #183c5a;
    --gold: #b38b4a;
    --green: #178a55;
    --shadow: 0 18px 48px rgba(25, 24, 22, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.topbar a { color: #fff; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 247, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}
.brand__mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 700;
}
.brand strong { display: block; font-size: 18px; letter-spacing: .04em; text-transform: none; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.main-nav a {
    padding: 12px 13px;
    color: #383838;
    font-size: 14px;
    letter-spacing: .02em;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.is-active {
    color: var(--red);
    border-bottom-color: var(--red);
}
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 9px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--ink); }

.hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #111;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.34) 52%, rgba(0,0,0,.12)), var(--hero-image) center/cover no-repeat;
}
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 680px; padding: 96px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
    margin: 18px 0 18px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(46px, 7vw, 86px);
    line-height: .98;
    letter-spacing: 0;
}
.hero p { max-width: 590px; color: rgba(255,255,255,.88); font-size: 18px; }
.hero__actions,
.section-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 13px;
}
.button:hover { background: var(--red); border-color: var(--red); }
.button--light { background: #fff; color: var(--ink); border-color: #fff; }
.button--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.button--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button--whatsapp { background: var(--green); border-color: var(--green); color: #fff; }

.section { padding: 82px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}
.section-head h2,
.page-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    margin: 8px 0 0;
}
.section-head p { max-width: 650px; color: var(--muted); margin-bottom: 0; }
.section--ink .section-head p { color: rgba(255,255,255,.72); }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.stat {
    background: #fff;
    padding: 28px;
    min-height: 136px;
}
.stat strong { display: block; font-size: 34px; font-family: Georgia, serif; color: var(--red); line-height: 1; }
.stat span { display: block; color: var(--muted); margin-top: 10px; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
}
.split__media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.split__content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.05;
}
.check-list { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; color: #303030; }
.check-list li::before { content: ""; width: 8px; height: 8px; background: var(--gold); margin-top: 10px; flex: 0 0 auto; }

.feature-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature {
    background: #fff;
    padding: 28px;
    border: 1px solid var(--line);
    min-height: 220px;
}
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--muted); margin-bottom: 0; }

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.catalog-card {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.catalog-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f4f1ea;
    overflow: hidden;
}
.catalog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.catalog-card:hover img { transform: scale(1.04); }
.catalog-card__body { padding: 18px; }
.catalog-card h3 { font-size: 17px; margin-bottom: 6px; }
.catalog-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.catalog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    background: #fbfaf7;
}
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.filter-bar button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 9px 14px;
    cursor: pointer;
}
.filter-bar button.is-active,
.filter-bar button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.page-hero {
    padding: 96px 0 76px;
    color: #fff;
    background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.34)), var(--hero-image) center/cover no-repeat;
}
.page-hero p { max-width: 680px; color: rgba(255,255,255,.86); font-size: 18px; }

.project-card {
    background: #fff;
    border: 1px solid var(--line);
}
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card div { padding: 18px; }
.project-card h3 { font-size: 18px; margin-bottom: 4px; }
.project-card p { color: var(--muted); margin: 0; }

.wechat-case {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    margin-bottom: 32px;
}
.wechat-case__media {
    min-height: 420px;
    background: #f4f1ea;
    overflow: hidden;
}
.wechat-case__media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}
.wechat-case__content {
    padding: 34px 34px 34px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.case-source {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.wechat-case h3 {
    margin: 12px 0 8px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}
.case-title-cn {
    color: var(--ink);
    font-weight: 700;
}
.wechat-case p { color: var(--muted); }
.case-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 12px 0 0;
    background: var(--line);
    border: 1px solid var(--line);
}
.case-meta div {
    background: var(--paper);
    padding: 16px;
}
.case-meta dt {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.case-meta dd {
    margin: 5px 0 0;
    font-weight: 700;
}
.wechat-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 58px;
}
.wechat-gallery:last-child { margin-bottom: 0; }
.wechat-gallery__item {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}
.wechat-gallery__item img {
    width: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.wechat-gallery__item:hover img { transform: scale(1.03); }
.wechat-gallery__item.is-photo img {
    aspect-ratio: 10 / 7;
    height: auto;
}
.wechat-gallery__item.is-article {
    max-height: 620px;
    overflow: auto;
}
.wechat-gallery__item.is-article img {
    height: auto;
    object-fit: contain;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 38px;
    align-items: start;
}
.contact-card,
.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
}
.contact-card h3,
.contact-form h3 { font-size: 24px; margin-bottom: 14px; }
.contact-card p { color: var(--muted); }
.contact-list { display: grid; gap: 14px; margin-top: 20px; }
.contact-list a,
.contact-list span { display: block; color: var(--ink); }
.form-grid { display: grid; gap: 14px; }
.form-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.form-grid input,
.form-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    padding: 12px 13px;
    font: inherit;
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.hidden-field { display: none !important; }
.notice {
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    background: var(--cream);
}
.notice--success { border-color: rgba(23,138,85,.35); background: rgba(23,138,85,.08); }
.notice--warning { border-color: rgba(143,31,27,.3); background: rgba(143,31,27,.08); }

.cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 42px;
    background: var(--blue);
    color: #fff;
}
.cta h2 { font-family: Georgia, serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.78); margin: 0; }

.site-footer {
    background: #111;
    color: #fff;
    padding-top: 56px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .75fr 1fr;
    gap: 40px;
}
.site-footer p,
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a { display: block; margin: 7px 0; }
.site-footer h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .12em; }
.brand--footer .brand__mark { background: var(--red); }
.brand--footer small,
.brand--footer + p { color: rgba(255,255,255,.68); }
.copyright {
    margin-top: 42px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
}
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 48px;
    padding: 0 18px;
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 28px rgba(23,138,85,.28);
    font-weight: 700;
}

@media (max-width: 920px) {
    .topbar__inner { flex-direction: column; align-items: flex-start; padding: 8px 0; gap: 4px; }
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 12px 20px 18px;
    }
    .main-nav.is-open { display: grid; }
    .main-nav a { padding: 12px 0; }
    .hero { min-height: 560px; }
    .stats,
    .feature-grid,
    .project-grid,
    .wechat-case,
    .wechat-gallery,
    .catalog-grid,
    .split,
    .contact-grid,
    .footer-grid,
    .cta { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .wechat-case__content { padding: 28px; }
    .wechat-case__media,
    .wechat-case__media img { min-height: 320px; }
    .cta { padding: 30px; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, 1180px); }
    .nav-shell { min-height: 68px; }
    .brand strong { font-size: 15px; }
    .brand small { font-size: 10px; }
    .hero__content { padding: 72px 0; }
    .section { padding: 58px 0; }
    .catalog-grid { gap: 16px; }
    .case-meta { grid-template-columns: 1fr; }
    .wechat-gallery { gap: 14px; }
    .copyright { display: block; }
    .whatsapp-float { right: 14px; bottom: 14px; }
}
