/* CSSVariantEngine v3.0 — lebo-pc.com.cn */
/* Palette: card-mosaic | Radius: flat-solid | Shadow: none */
/* Spacing: comfortable | Transition: crisp */
/* Section layouts: {"news":"featured-top","features":"grid-4","hero":"overlay","testimonials":"stacked","partners":"scroll","faq":"two-column","stats":"inline","cta":"split"} */

:root {
    --color-primary: #0f4c5c;
    --color-primary-dark: #0a3540;
    --color-accent: #e36414;
    --color-surface: #fdfaf3;
    --color-text: #1c1c1c;
    --rgb-primary: 15,76,92;
    --rgb-accent: 227,100,20;
    --radius-sm: 0px;
    --radius-md: 2px;
    --radius-lg: 4px;
    --radius-xl: 6px;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --space-section: 4rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.18s ease-out;
    --heading-weight: 700;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: #fdfaf3; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: #0f4c5c; }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: none; padding: var(--space-card); transition: var(--transition); background: #ffffff; border: 1px solid #e5ddc8; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background: #e36414; color: #ffffff; border: 1px solid #c2540d; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background: #0f4c5c; border-color: #0a3540; color: #ffffff; }
a:not([class]) { color: #0f4c5c; transition: var(--transition); }
a:not([class]):hover { color: #e36414; }

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

/* news: featured-top */
/* 首篇横跨全宽 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
                .news-grid > *:first-child { grid-column: span 3; background: #0f4c5c; color: #fdfaf3; border-color: #0a3540; }
                .news-grid > *:first-child h2, .news-grid > *:first-child h3 { color: #fdfaf3; }
                .news-grid > * { border-left: 4px solid #e36414; }

/* features: grid-4 */
.feature-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); }
.feature-list > * { background: #ffffff; border: 1px solid #e5ddc8; border-top: 3px solid #0f4c5c; border-radius: var(--radius-lg); }
.feature-list > *:nth-child(2n) { border-top-color: #e36414; }
.feature-list > *:nth-child(3n) { border-top-color: #7a9e7e; }

/* hero: overlay */
/* 全屏背景+文字覆盖 */
                .hero { position: relative; min-height: 70vh; display: flex; align-items: center; background: #0f4c5c; color: #fdfaf3; }
                .hero-content { position: relative; z-index: 1; }
                .hero h1, .hero h2, .hero h3 { color: #fdfaf3; }

/* testimonials: stacked */
/* 垂直堆叠 */
                .testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }
                .testimonial-list > * { background: #fdfaf3; border: 1px solid #d8cfb6; border-left: 4px solid #e36414; border-radius: var(--radius-lg); }

/* partners: scroll */
/* 自动滚动 */
                .partner-grid { display: flex; gap: 2rem; overflow: hidden; animation: partnerScroll 20s linear infinite; }
                @keyframes partnerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
                .partner-grid > * { background: #ffffff; border: 1px solid #e5ddc8; border-radius: var(--radius-md); opacity: 0.85; transition: var(--transition); }
                .partner-grid > *:hover { opacity: 1; border-color: #0f4c5c; }

/* faq: two-column */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-gap); }
.faq-list > * { background: #ffffff; border: 1px solid #e5ddc8; border-radius: var(--radius-lg); }

/* stats: inline */
/* 水平排列 */
                .stats-grid { display: flex; justify-content: center; gap: 3rem; }
                .stats-grid > * { background: #0f4c5c; color: #fdfaf3; border-radius: var(--radius-lg); border: 1px solid #0a3540; }
                .stats-grid > *:nth-child(even) { background: #e36414; border-color: #c2540d; }

/* cta: split */
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; background: #fdfaf3; border: 2px solid #0f4c5c; border-radius: var(--radius-xl); padding: 2rem; }

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

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: none; border-color: #0f4c5c; }
.hero, [class*="hero"], section:first-of-type { background: #0f4c5c; }
.card { border: 1px solid #e5ddc8; }
header, .header, .navbar { box-shadow: none; background: #ffffff; border-bottom: 2px solid #0f4c5c; }

/* 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; }
    .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; }
}