:root {
    --color-primary: #c44536;
    --color-primary-dark: #7a2a1f;
    --color-accent: #6b705c;
    --color-surface: #f5f1e8;
    --color-text: #1a1a1a;
    --rgb-primary: 196,69,54;
    --rgb-accent: 107,112,92;
    --radius-sm: 3px;
    --radius-md: 9px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-sm: 0 1px 2px rgba(26,26,26,.06), 0 4px 12px -2px rgba(196,69,54,.12);
    --shadow-md: 0 2px 4px rgba(26,26,26,.05), 0 12px 26px -8px rgba(196,69,54,.20);
    --shadow-lg: 0 4px 10px rgba(26,26,26,.05), 0 26px 56px -14px rgba(122,42,31,.24);
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.7;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #f5f1e8; background-image: linear-gradient(180deg, #fbf8f0 0%, #f5f1e8 42%, #ece5d6 100%); background-attachment: fixed; caret-color: #c44536; accent-color: #c44536; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #1a1a1a; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background-color: #fffdf7; background-image: linear-gradient(158deg, #fffdf8 0%, #f9f4e9 58%, #f2ebdb 100%); border: 1px solid rgba(107,112,92,.16); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-image: linear-gradient(135deg, #c44536 0%, #a83528 55%, #7a2a1f 100%); color: #fdf9f0; box-shadow: 0 2px 4px rgba(26,26,26,.10), 0 10px 24px -10px rgba(196,69,54,.55); border-color: #7a2a1f; }
a:not([class]) { color: var(--color-primary); transition: var(--transition); text-shadow: 0 1px 0 rgba(255,255,255,.5); }

/* ========== Section Layout Variants ========== */

/* news: list-view */
/* 列表模式 (图左文右) */
                .news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
                .news-grid .card { display: grid; grid-template-columns: 280px 1fr; background-image: linear-gradient(115deg, #fffdf8 0%, #f7f1e3 50%, #efe6d3 100%); border-color: rgba(107,112,92,.20); }

/* features: centered */
/* 居中大卡片 */
                .feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: minimal */
.hero { padding: 2rem 0; background-image: linear-gradient(135deg, #221f1b 0%, #3b332c 38%, #6b705c 72%, #c44536 100%); }
.hero-content { max-width: 560px; }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }
                .testimonial-list .card { background-image: linear-gradient(200deg, #fffdf8 0%, #f6efe0 100%); }

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; filter: grayscale(0.35) contrast(1.02); }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: big-number */
/* 大数字居中 */
                .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
                .stats-grid .stat-value { font-size: 3rem; color: #c44536; text-shadow: 0 2px 0 rgba(255,255,255,.7), 0 14px 30px rgba(196,69,54,.24); }

/* cta: split */
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; background-image: linear-gradient(120deg, rgba(107,112,92,.10) 0%, rgba(196,69,54,.10) 100%); border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px rgba(196,69,54,.12), 0 20px 44px -20px rgba(122,42,31,.30); }

/* Page Layout: narrow-centered */
/* 窄版居中 */
            .page-main { max-width: 860px; margin: 0 auto; }

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #221f1b 0%, #3b332c 34%, #6b705c 68%, #c44536 100%); color: #f8f3e6; text-shadow: 0 1px 22px rgba(0,0,0,.38); }
.card { border-left: 3px solid var(--color-accent); }

/* Responsive */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-list { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    :root { --space-section: 2rem; --space-card: 1rem; --space-gap: 0.75rem; --radius-lg: 14px; --radius-xl: 20px; }
    .news-grid { grid-template-columns: 1fr !important; }
    .feature-list { grid-template-columns: 1fr !important; }
    .faq-list { grid-template-columns: 1fr !important; }
    .testimonial-list { column-count: 1 !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cta-inner { grid-template-columns: 1fr !important; }
}