/* ==================== 公共样式 ==================== */
:root{--primary:#2C1810;--secondary:#B8860B;--bg-light:#F5F0EB;--bg-dark:#1A0F0A;--text-dark:#333;--text-light:#666;--accent:#C41E3A}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Helvetica Neue',Helvetica,Arial,sans-serif;color:var(--text-dark);line-height:1.8;background:var(--bg-light)}

.container{max-width:1200px;margin:0 auto;padding:0 2rem}
.section{padding:6rem 0}
.section-dark{background:var(--primary);color:#fff}
.section-header{text-align:center;margin-bottom:2.5rem}
.section-tag{font-size:.85rem;color:var(--secondary);letter-spacing:.3em;margin-bottom:1rem;text-transform:uppercase}
.section-title{font-family:var(--font-serif);font-size:2.5rem;font-weight:600;margin-bottom:.5rem}
.section-desc{color:var(--text-light);max-width:600px;margin:0 auto}
.section-dark .section-desc{color:rgba(255,255,255,.7)}

.btn{padding:1rem 2.5rem;font-size:1rem;font-weight:500;text-decoration:none;transition:all .3s;letter-spacing:.1em;display:inline-block}
.btn-primary{background:var(--secondary);color:var(--primary)}
.btn-primary:hover{background:#D4A017;transform:translateY(-3px);box-shadow:0 10px 30px rgba(184,134,11,.3)}
.btn-outline{border:1px solid var(--primary);color:var(--primary);background:transparent}
.btn-outline:hover{background:var(--primary);color:#fff}

/* ==================== 导航 ==================== */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;background:rgba(26,15,10,0.95);backdrop-filter:blur(10px)}
.logo{font-family:var(--font-serif);font-size:1.8rem;font-weight:700;color:var(--secondary);text-decoration:none;letter-spacing:.1em}
.logo span{color:#fff;font-size:.9rem;font-weight:400;display:none;letter-spacing:.2em}
.nav-links{display:flex;gap:2rem;list-style:none;align-items:center}
.nav-links a{color:#fff;text-decoration:none;font-size:.95rem;position:relative;padding:.3rem 0;transition:color .3s}
.nav-links a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:1px;background:var(--secondary);transition:width .3s}
.nav-links a:hover{color:var(--secondary)}
.nav-links a:hover::after{width:100%}
.nav-links a.active{color:var(--secondary)}
.nav-links a.active::after{width:100%}
.nav-contact{background:var(--secondary);color:var(--primary);padding:.6rem 1.5rem;text-decoration:none;font-weight:500;font-size:.9rem;transition:all .3s}
.nav-contact:hover{background:#D4A017;transform:translateY(-2px)}
.menu-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:5px}
.menu-toggle span{width:25px;height:2px;background:#fff}

/* ==================== 页脚 ==================== */
.footer{background:var(--bg-dark);color:rgba(255,255,255,.7);padding:4rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.footer-brand .logo{margin-bottom:1rem;display:inline-block}
.footer-brand p{font-size:.9rem;line-height:1.8}
.footer-links h4{color:#fff;margin-bottom:1.5rem;font-size:1rem}
.footer-links ul{list-style:none}
.footer-links li{margin-bottom:.8rem}
.footer-links a{color:rgba(255,255,255,.6);text-decoration:none;font-size:.9rem;transition:color .3s}
.footer-links a:hover{color:var(--secondary)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:2rem;display:flex;justify-content:space-between;align-items:center;font-size:.85rem}
.footer-bottom-links{display:flex;gap:2rem}
.footer-bottom-links a{color:rgba(255,255,255,.6);text-decoration:none}
.footer-bottom-links a:hover{color:var(--secondary)}

/* ==================== 页面标题区 ==================== */
.page-hero{height:40vh;min-height:300px;background:linear-gradient(135deg,rgba(26,15,10,.85) 0%,rgba(44,24,16,.7) 100%),url('../素材/hero/hero-bg.jpg') center/cover no-repeat;display:flex;align-items:center;justify-content:center;text-align:center}
.page-hero-content{color:#fff}
.page-hero h1{font-family:var(--font-serif);font-size:3rem;margin-bottom:1rem}
.page-hero p{font-size:1.2rem;opacity:.8}
.page-hero-light{background:linear-gradient(135deg,rgba(245,240,235,.95) 0%,rgba(245,240,235,.9) 100%),var(--primary);color:var(--primary)}
.page-hero-light p{color:var(--text-light)}

/* ==================== 内容样式 ==================== */
.content-section{margin-bottom:3rem}
.content-section h2{font-family:var(--font-serif);font-size:1.8rem;margin-bottom:1rem;color:var(--primary)}
.content-section h3{font-family:var(--font-serif);font-size:1.4rem;margin-bottom:.8rem;color:var(--primary)}
.content-section p{margin-bottom:1.5rem;color:var(--text-light)}
.content-section ul,.content-section ol{margin-bottom:1.5rem;padding-left:1.5rem}
.content-section li{margin-bottom:.5rem;color:var(--text-light)}

/* ==================== 响应式 ==================== */
@media(max-width:992px){
    .footer-grid{grid-template-columns:repeat(2,1fr)}
    .page-hero h1{font-size:2.5rem}
}
@media(max-width:768px){
    .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--bg-dark);flex-direction:column;padding:2rem;gap:1.5rem}
    .nav-links.active{display:flex}
    .nav-contact{display:none}
    .menu-toggle{display:flex}
    .section{padding:4rem 0}
    .section-title{font-size:2rem}
    .footer-grid{grid-template-columns:1fr}
    .footer-bottom{flex-direction:column;gap:1rem;text-align:center}
    .page-hero{height:30vh}
    .page-hero h1{font-size:2rem}
}

/* 移动端 Hero 按钮优化 */
@media(max-width:480px){
    .hero-title{font-size:2.5rem}
    .hero-desc{font-size:1rem}
    .hero-btns{flex-direction:column;align-items:center;gap:1rem}
    .hero-btns .btn{width:80%;text-align:center}
    .products-grid{grid-template-columns:1fr}
}

/* 聊天室详情页专用 */
.chatroom-section{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:2rem}
.chatroom-card{background:rgba(255,255,255,.05);padding:2rem;border-radius:8px;transition:all .3s;text-align:center}
.chatroom-card:hover{background:rgba(255,255,255,.1);transform:translateY(-3px)}
.chatroom-card .emoji{font-size:3rem;margin-bottom:1rem}
.chatroom-card h3{font-size:1.1rem;margin-bottom:.5rem;font-family:var(--font-serif)}
.chatroom-card p{font-size:.85rem;color:var(--text-light)}
.chatroom-card .port{font-size:.75rem;color:var(--secondary);margin-top:.5rem}
@media(max-width:768px){
    .chatroom-section{grid-template-columns:1fr}
}

/* 图片自适应 */
img{max-width:100%;height:auto}

/* ==================== 文章通用样式 ==================== */
.article-wrap{max-width:800px;margin:0 auto;padding:0 2rem 4rem}
.article-header{text-align:center;padding:3rem 0 2rem}
.article-header .tag{display:inline-block;font-size:.75rem;letter-spacing:3px;color:var(--secondary);background:rgba(184,134,11,0.08);padding:.3rem 1rem;border-radius:20px;margin-bottom:1rem}
.article-header h1{font-family:var(--font-serif);font-size:1.8rem;color:var(--primary);letter-spacing:3px;line-height:1.4;margin-bottom:.5rem}
.article-header .sub{font-size:1rem;color:var(--text-dark);max-width:560px;margin:0 auto}
.article-header .meta{font-size:.85rem;color:var(--text-light);margin-top:1rem;display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap}
.article-header .divider{width:50px;height:2px;background:var(--secondary);margin:1.2rem auto;opacity:.4}
.article-body{padding:0 .5rem}
.article-body p{font-size:1.02rem;line-height:2.1;color:var(--text-dark);margin-bottom:1.2rem;text-indent:2em}
.article-body h2{font-family:var(--font-serif);font-size:1.3rem;color:var(--primary);margin:2.2rem 0 1rem;letter-spacing:2px}
.article-body h3{font-family:var(--font-serif);font-size:1.1rem;color:var(--primary);margin:1.5rem 0 .6rem}
.article-body ul{list-style:none;margin:1rem 0;padding:0}
.article-body ul li{padding:.5rem 0 .5rem 1.8rem;position:relative;font-size:1rem;line-height:1.8}
.article-body ul li::before{content:'\25C6';position:absolute;left:0;color:var(--secondary);font-size:.65rem;top:.7rem}
.article-tip{background:var(--bg-light);border-left:3px solid var(--secondary);padding:1rem 1.5rem;margin:1.5rem 0;border-radius:0 8px 8px 0}
.article-tip p{text-indent:0;margin-bottom:0;font-size:.95rem}
.article-tip strong{color:var(--primary)}
.article-back{display:inline-flex;align-items:center;gap:.5rem;color:var(--secondary);text-decoration:none;font-size:.9rem;margin-bottom:.5rem;transition:opacity .2s}
.article-back:hover{opacity:.7}
.article-related{margin-top:3rem;padding-top:2rem;border-top:1px solid #eee}
.article-related h3{font-family:var(--font-serif);font-size:1rem;color:var(--primary);margin-bottom:1.2rem;text-align:center;letter-spacing:2px}
.related-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.related-card{display:block;padding:1rem 1.2rem;background:var(--bg-light);border-radius:8px;text-decoration:none;color:var(--primary);border:1px solid transparent;transition:all .3s}
.related-card:hover{border-color:var(--secondary)}
.related-card .dir{font-size:.75rem;color:var(--secondary);margin-bottom:.2rem}
.related-card .title{font-family:var(--font-serif);font-size:.95rem}
.related-center{text-align:center;margin-top:1rem}
.related-center a{color:var(--secondary);text-decoration:none;font-size:.85rem}
.related-center a:hover{opacity:.7}
@media(max-width:640px){.article-header h1{font-size:1.4rem}.article-body p{font-size:.93rem}.related-grid{grid-template-columns:1fr}}

/* ==================== 品牌故事专用（story-前缀） ==================== */
.article-story{max-width:800px;margin:0 auto;padding:0 2rem 4rem}
.story-header{text-align:center;padding:3rem 0 2rem}
.story-header .section-tag{display:inline-block;font-size:.75rem;letter-spacing:3px;color:var(--secondary);background:rgba(184,134,11,0.08);padding:.3rem 1rem;border-radius:20px;margin-bottom:1rem}
.story-header h1{font-family:var(--font-serif);font-size:2rem;color:var(--primary);letter-spacing:4px;line-height:1.4;margin-bottom:.5rem}
.story-header .subtitle{font-size:1.05rem;color:var(--text-dark);line-height:1.8;max-width:600px;margin:0 auto}
.story-header .meta{font-size:.85rem;color:var(--text-light);margin-top:1rem;display:flex;justify-content:center;gap:1.5rem;flex-wrap:wrap}
.story-header .divider{width:60px;height:2px;background:var(--secondary);margin:1.5rem auto;opacity:.5}
.story-body{padding:0 .5rem}
.story-body p{font-size:1.05rem;line-height:2.2;color:var(--text-dark);margin-bottom:1.2rem;text-indent:2em}
.story-body p.no-indent{text-indent:0}
.story-body h2{font-family:var(--font-serif);font-size:1.4rem;color:var(--primary);margin:2.5rem 0 1rem;letter-spacing:2px;text-align:center;position:relative}
.story-body h2::after{content:'';display:block;width:40px;height:2px;background:var(--secondary);margin:.6rem auto 0;opacity:.4}
.story-quote{border-left:3px solid var(--secondary);padding:1rem 1.5rem;margin:1.5rem 0;background:var(--bg-light);border-radius:0 8px 8px 0}
.story-quote p{text-indent:0;margin-bottom:0}
.story-closing{text-align:center;padding:2rem 0;margin-top:2rem}
.story-closing p{text-indent:0;font-style:italic;color:var(--secondary);font-size:1.1rem;letter-spacing:2px}
.story-closing .sig{font-style:normal;font-size:.85rem;color:var(--text-light);margin-top:.5rem}
.story-back{display:inline-flex;align-items:center;gap:.5rem;color:var(--secondary);text-decoration:none;font-size:.9rem;margin-bottom:.5rem;transition:opacity .2s}
.story-back:hover{opacity:.7}
.story-related{margin-top:3rem;padding-top:2rem;border-top:1px solid #eee}
.story-related h3{font-family:var(--font-serif);font-size:1rem;color:var(--primary);margin-bottom:1.2rem;text-align:center;letter-spacing:2px}
@media(max-width:640px){.story-header h1{font-size:1.5rem}.story-body p{font-size:.95rem}}

/* ==================== 资讯中心Tab ==================== */
.news-tabs{display:flex;justify-content:center;gap:.5rem;margin-bottom:2.5rem;flex-wrap:wrap}
.news-tab{padding:.5rem 1.5rem;border:1px solid var(--secondary);background:transparent;color:var(--secondary);font-size:.9rem;cursor:pointer;transition:all .3s;border-radius:20px;font-family:inherit}
.news-tab:hover{background:rgba(184,134,11,.1)}
.news-tab.active{background:var(--secondary);color:var(--primary);font-weight:600}
.news-grid-wrapper{min-height:300px}
.news-item{transition:opacity .3s,transform .3s}
.news-item.hidden{display:none}

/* 无featured时sidebar全宽 */
.news-grid{display:block}
.news-sidebar{width:100%;max-width:none}
.news-item{display:flex;align-items:center;padding:1.5rem;margin-bottom:1rem;background:var(--bg-light);border-radius:12px;cursor:pointer;transition:all .3s}
.news-item:hover{background:#ede5dc}
.news-item-number{font-size:1.8rem;font-weight:700;color:var(--secondary);width:60px;text-align:center;flex-shrink:0}
.news-item-content{flex:1}
.news-item-content h4{margin:0 0 .3rem;font-size:1.05rem;color:var(--primary)}
.news-item-content p{margin:0;font-size:.85rem;color:var(--text-light);line-height:1.5}
