:root {
    --bg: #f7f4ef;
    --surface: #fffdfa;
    --text: #1d232b;
    --muted: #65707d;
    --line: rgba(29, 35, 43, 0.12);
    --accent: #8b6f4e;
    --accent-strong: #4f3f2d;
    --soft: #ebe3d8;
    --shadow: 0 24px 70px rgba(29, 35, 43, 0.10);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    background: radial-gradient(circle at top left, #fff9f1 0, var(--bg) 38%, #f3f5f7 100%);
    color: var(--text);
    line-height: 1.75;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.45) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 55%);
    z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(22px);
    background: rgba(247,244,239,0.82);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand-logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .06em; }
.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(139,111,78,.35);
    border-radius: 50%;
    color: var(--accent-strong);
    background: linear-gradient(145deg, #ffffff, #ece3d7);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.logo-text { font-size: 18px; }
.primary-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.primary-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
}
.primary-nav a:hover, .primary-nav a.is-active {
    background: rgba(139,111,78,0.12);
    color: var(--accent-strong);
}
.search-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}
.search-wrap input {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 18px;
    background: rgba(255,255,255,.72);
    outline: none;
}
.search-wrap input:focus { border-color: rgba(139,111,78,.55); box-shadow: 0 0 0 4px rgba(139,111,78,.09); }
.search-wrap button, .btn-primary, .btn-secondary, .share-btn, .contact-form button {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.search-wrap button, .btn-primary, .contact-form button {
    background: var(--text);
    color: #fff;
    box-shadow: 0 14px 30px rgba(29,35,43,.16);
}
.btn-secondary, .share-btn {
    background: rgba(255,255,255,.7);
    border: 1px solid var(--line);
    color: var(--text);
}
button:hover, .btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }
.search-notice {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 22px;
    color: var(--accent-strong);
    font-size: 14px;
}
main { overflow: hidden; }
.hero {
    max-width: 1180px;
    min-height: calc(100vh - 148px);
    margin: 0 auto;
    padding: 84px 24px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    align-items: center;
    gap: 52px;
}
.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-strong);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
}
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.03em; }
h1 {
    margin: 0;
    font-size: clamp(42px, 6.5vw, 88px);
    max-width: 790px;
}
.hero-subtitle {
    margin: 28px 0 0;
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-meta {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.hero-meta span, .stat-card, .feature-card, .case-card, .review-card, .faq-item, .contact-panel {
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.hero-meta span { padding: 16px; border-radius: 22px; color: var(--muted); }
.hero-visual {
    position: relative;
    border-radius: 42px;
    overflow: hidden;
    min-height: 520px;
    box-shadow: var(--shadow);
    background: #fff;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.hero-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: min(260px, 70%);
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.8);
}
.hero-badge strong { display: block; font-size: 30px; color: var(--accent-strong); }
.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 86px 24px;
}
.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--muted); margin: 18px 0 0; }
.about-grid, .contact-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 34px;
    align-items: center;
}
.about-image, .case-card figure { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.about-copy { padding: 10px 0; }
.about-copy p { color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.pill-list li, .tags span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255,255,255,.72);
    color: var(--accent-strong);
    font-size: 13px;
}
.feature-grid, .video-grid, .case-grid, .review-grid, .stats-grid, .faq-grid {
    display: grid;
    gap: 18px;
}
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card {
    padding: 26px;
    border-radius: var(--radius);
    transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(139,111,78,.38); }
.feature-card h3 { margin: 0 0 14px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); }
.video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255,255,255,.76);
    box-shadow: var(--shadow);
}
.video-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.video-media img, .video-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-media video { opacity: 0; }
.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.92);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.85);
    background: rgba(255,255,255,.76);
    color: var(--accent-strong);
    z-index: 2;
    opacity: .94;
}
.video-card:hover .play-button { transform: translate(-50%, -50%) scale(1.05); background: #fff; }
.video-body { padding: 24px; }
.video-body h3 { margin: 0 0 12px; font-size: 21px; }
.video-body p { color: var(--muted); margin: 0 0 16px; }
.metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.metrics span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(139,111,78,.1);
    color: var(--accent-strong);
    font-size: 12px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.soft-section {
    background: rgba(255,255,255,.38);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    max-width: none;
}
.soft-section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-card { border-radius: var(--radius); overflow: hidden; }
.case-card figure { margin: 0; border-radius: 0; box-shadow: none; }
.case-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.case-card div { padding: 22px; }
.case-card h3 { margin: 0 0 10px; font-size: 20px; }
.case-card p { margin: 0; color: var(--muted); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { padding: 28px; border-radius: var(--radius); }
.stat-card strong { display: block; font-size: 42px; line-height: 1; color: var(--accent-strong); }
.stat-card span { display: block; margin-top: 12px; color: var(--muted); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-card { padding: 26px; border-radius: var(--radius); }
.review-card p { margin: 0 0 18px; color: var(--muted); }
.review-card strong { color: var(--accent-strong); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-item { border-radius: 24px; overflow: hidden; }
.faq-item summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 700;
    color: var(--accent-strong);
}
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.contact-panel { border-radius: var(--radius); padding: 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px 16px;
    background: rgba(255,255,255,.8);
    outline: none;
}
.contact-form textarea { min-height: 128px; resize: vertical; }
.form-notice { min-height: 24px; margin: 0; color: var(--accent-strong); }
.breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 0;
    color: var(--muted);
    font-size: 14px;
}
.breadcrumb a { color: var(--accent-strong); }
.page-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 24px 28px;
}
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); }
.page-hero p { color: var(--muted); max-width: 780px; }
.article-panel {
    background: rgba(255,255,255,.74);
    border: 1px solid var(--line);
    border-radius: 34px;
    box-shadow: var(--shadow);
    padding: 34px;
}
.article-panel h2 { font-size: clamp(26px, 3vw, 42px); margin-top: 0; }
.article-panel p, .article-panel li { color: var(--muted); }
.link-card { display: block; color: inherit; }
.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.62);
    padding: 54px 24px 30px;
}
.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 28px;
}
.footer-grid h2 { font-size: 18px; margin: 0 0 14px; }
.footer-grid p { color: var(--muted); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.share-list { display: flex; flex-wrap: wrap; gap: 10px; }
.copyright { max-width: 1180px; margin: 34px auto 0; color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
    .header-inner { align-items: flex-start; flex-direction: column; }
    .hero, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 58px; min-height: auto; }
    .feature-grid, .compact-grid, .video-grid, .case-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .review-grid, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .header-inner { padding: 16px 16px 10px; }
    .primary-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .primary-nav a { white-space: nowrap; }
    .search-wrap { padding: 0 16px 14px; grid-template-columns: 1fr; }
    .hero, .section, .page-hero { padding-left: 16px; padding-right: 16px; }
    .hero-meta, .feature-grid, .compact-grid, .video-grid, .case-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero-visual, .hero-visual img { min-height: 360px; }
    .article-panel { padding: 24px; border-radius: 26px; }
}
