/* ============================================
   造镜珠宝官网 - 全站样式系统
   主色调：墨绿 + 鎏金 | 新中式轻奢风格
   移动端优先响应式设计
   ============================================ */

/* === CSS Variables === */
:root {
    /* 品牌色系 */
    --color-dark-green: #1a3c2a;
    --color-dark-green-hover: #153022;
    --color-mid-green: #2d5a3f;
    --color-light-green: #4a7c59;
    --color-gold: #c9a84c;
    --color-gold-light: #e0c878;
    --color-gold-dark: #a88830;
    --color-gold-pale: #f7f0dc;
    
    /* 中性色 */
    --color-bg: #faf8f4;
    --color-bg-dark: #f0ece4;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #e8e4dc;
    
    /* 排版 */
    --font-cn: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-serif: "Noto Serif SC", "STSong", "SimSun", "宋体", serif;
    --font-en: "Cormorant Garamond", "Georgia", serif;
    
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;
    
    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-gold: 0 2px 12px rgba(201,168,76,0.2);
    
    /* 布局 */
    --max-width: 1200px;
    --header-height: 64px;
    --header-height-mobile: 56px;
    
    /* 过渡 */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-cn);
    font-size: var(--fs-base);
    line-height: 1.75;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-dark-green);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--color-gold-dark); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-dark-green);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === 顶部导航 === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26, 60, 42, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    transition: all var(--transition);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--space-lg);
}

/* === 品牌LOGO统一设计 === */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
}

/* 图标部分：SVG矢量透明图标 */
.header-logo .logo-icon {
    height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
}

/* 文字部分：CSS矢量渲染，无图片白底 */
.header-logo .logo-type {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    position: relative;
}

.header-logo .logo-brand {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.12em;
    font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", "PingFang SC", "Microsoft YaHei", serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.header-logo .logo-tagline {
    font-size: 0.62rem;
    color: rgba(201,168,76,0.78);
    letter-spacing: 0.28em;
    margin-top: 3px;
    text-transform: uppercase;
    font-weight: 400;
    white-space: nowrap;
}

/* 悬停效果 */
.header-logo:hover .logo-icon {
    transform: scale(1.04);
    filter: drop-shadow(0 3px 8px rgba(201,168,76,0.35));
}
.header-logo:hover .logo-brand {
    color: var(--color-gold-light);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-list a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: #e0d5c0;
    font-size: var(--fs-sm);
    letter-spacing: 0.05em;
    position: relative;
    white-space: nowrap;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 1px;
    background: var(--color-gold);
    transition: transform var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-gold);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-sm);
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
    border-radius: 1px;
}

/* === 按钮系统 === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.6em 1.5em;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-cn);
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #fff;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}
.btn-outline-gold:hover {
    background: var(--color-gold);
    color: #fff;
}

.btn-green {
    background: var(--color-dark-green);
    color: #fff;
}
.btn-green:hover {
    background: var(--color-mid-green);
}

.btn-lg {
    padding: 0.8em 2em;
    font-size: var(--fs-md);
    border-radius: var(--radius-md);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* === 页面标题区 === */
.page-hero {
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-mid-green));
    color: #fff;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    color: var(--color-gold);
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-sm);
    position: relative;
}

.page-hero .subtitle {
    color: rgba(255,255,255,0.7);
    font-size: var(--fs-md);
    position: relative;
}

/* === 章节通用 === */
.section {
    padding: var(--space-3xl) 0;
}

.section-bg-dark {
    background: var(--color-bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title h2 {
    color: var(--color-dark-green);
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-xs);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

/* === 轮播 Banner === */
.banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--color-dark-green);
}

.banner-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,60,42,0.3) 0%, rgba(26,60,42,0.1) 40%, rgba(26,60,42,0.6) 100%);
}

.banner-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 2;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: scale(1.2);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: var(--fs-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.banner-arrow:hover {
    background: rgba(201,168,76,0.4);
    border-color: var(--color-gold);
}

.banner-arrow.prev { left: var(--space-lg); }
.banner-arrow.next { right: var(--space-lg); }

/* === 品牌简介 === */
.brand-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.brand-intro-text h3 {
    color: var(--color-dark-green);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
}

.brand-intro-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.9;
}

.brand-intro-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.brand-intro-visual img {
    width: 100%;
    height: auto;
}

.brand-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.highlight-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.highlight-item h4 {
    color: var(--color-dark-green);
    font-size: var(--fs-md);
    margin-bottom: var(--space-xs);
}

.highlight-item p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

/* === 服务流程 === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--space-lg) var(--space-md);
}

.process-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #fff;
    font-size: var(--fs-lg);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-gold);
}

.process-step h4 {
    color: var(--color-dark-green);
    margin-bottom: var(--space-xs);
}

.process-step p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

/* === 翡翠成品展示 === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card .card-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--color-bg-dark);
}

.product-card .card-body {
    padding: var(--space-md);
}

.product-card h4 {
    color: var(--color-dark-green);
    font-size: var(--fs-md);
    margin-bottom: var(--space-xs);
}

.product-card p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

/* === 资讯入口卡片 === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.news-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-card-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--color-bg-dark);
}

.news-card .card-body {
    padding: var(--space-md);
}

.news-card .card-tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--color-gold-pale);
    color: var(--color-gold-dark);
    font-size: var(--fs-xs);
    border-radius: 100px;
    margin-bottom: var(--space-xs);
}

.news-card h4 {
    font-size: var(--fs-base);
    margin-bottom: var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-date {
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
}

/* === 咨询引导模块 === */
.cta-section {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-mid-green));
    border-radius: var(--radius-lg);
    color: #fff;
    margin: var(--space-3xl) 0;
}

.cta-section h3 {
    color: var(--color-gold);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-lg);
}

/* === 知识列表页 === */
.knowledge-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.knowledge-item {
    display: flex;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.knowledge-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.knowledge-item a {
    cursor: pointer;
}

.knowledge-item .item-img {
    width: 280px;
    min-height: 180px;
    flex-shrink: 0;
    object-fit: cover;
    background: var(--color-bg-dark);
}

.knowledge-item .item-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.knowledge-item .item-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.knowledge-item .item-tag {
    padding: 2px 10px;
    background: var(--color-gold-pale);
    color: var(--color-gold-dark);
    font-size: var(--fs-xs);
    border-radius: 100px;
}

.knowledge-item h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.knowledge-item .item-excerpt {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.knowledge-item .item-meta {
    color: var(--color-text-muted);
    font-size: var(--fs-xs);
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

/* === 分页 === */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-2xl);
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: var(--fs-sm);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: var(--color-dark-green);
    border-color: var(--color-dark-green);
    color: #fff;
}

/* === 文章详情页 === */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
}

.article-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.article-header h1 {
    font-size: var(--fs-2xl);
    color: var(--color-dark-green);
    margin-bottom: var(--space-md);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    flex-wrap: wrap;
}

.article-tags {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.article-tags a {
    padding: 3px 12px;
    background: var(--color-gold-pale);
    color: var(--color-gold-dark);
    font-size: var(--fs-xs);
    border-radius: 100px;
}

.article-body {
    font-size: var(--fs-md);
    line-height: 2;
    color: var(--color-text);
}

.article-body h2 {
    font-size: var(--fs-xl);
    color: var(--color-dark-green);
    margin: var(--space-2xl) 0 var(--space-md);
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-gold);
}

.article-body h3 {
    font-size: var(--fs-lg);
    color: var(--color-mid-green);
    margin: var(--space-xl) 0 var(--space-sm);
}

.article-body p {
    margin-bottom: var(--space-md);
    text-indent: 2em;
}

.article-body img {
    border-radius: var(--radius-md);
    margin: var(--space-lg) auto;
    box-shadow: var(--shadow-sm);
}

/* 文章中段引导 */
.article-cta-inline {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-gold-pale), rgba(201,168,76,0.08));
    border-radius: var(--radius-md);
    border: 1px solid rgba(201,168,76,0.2);
    text-align: center;
}

.article-cta-inline p {
    text-indent: 0;
    color: var(--color-dark-green);
    margin-bottom: var(--space-sm);
}

/* 文章底部引导 */
.article-cta-bottom {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-mid-green));
    border-radius: var(--radius-lg);
    text-align: center;
    color: #fff;
}

.article-cta-bottom h3 {
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.article-cta-bottom p {
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-md);
}

/* 相关推荐 */
.related-articles {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.related-articles h3 {
    text-align: center;
    color: var(--color-dark-green);
    margin-bottom: var(--space-lg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.related-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.related-item .rel-body {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.related-item h4 {
    font-size: var(--fs-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === 私人订制页面 === */
.custom-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.custom-intro-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.custom-intro-text h3 {
    color: var(--color-dark-green);
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
}

.custom-intro-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.9;
}

.custom-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--color-gold);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card .svc-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.service-card h4 {
    color: var(--color-dark-green);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

/* 案例展示 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.case-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.case-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.case-card .case-body {
    padding: var(--space-md);
}

.case-card h4 {
    color: var(--color-dark-green);
    margin-bottom: var(--space-xs);
}

.case-card p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

/* === 关于我们 === */
.about-hero-img {
    width: 100%;
    max-height: 520px;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: var(--space-md);
    line-height: 2;
    color: var(--color-text);
    text-indent: 2em;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.about-feature {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.about-feature .ft-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.about-feature h4 {
    color: var(--color-dark-green);
    font-size: var(--fs-md);
    margin-bottom: var(--space-xs);
}

/* === 联系我们 === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info {
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    color: var(--color-dark-green);
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    align-items: flex-start;
}

.contact-item .ci-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item .ci-text h4 {
    color: var(--color-dark-green);
    font-size: var(--fs-base);
    margin-bottom: 2px;
}

.contact-item .ci-text p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

.contact-qr {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-qr img {
    width: 200px;
    height: auto;
    margin: 0 auto var(--space-md);
}

.contact-qr h4 {
    color: var(--color-dark-green);
    margin-bottom: var(--space-xs);
}

.contact-qr p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

.contact-business {
    margin-top: var(--space-2xl);
}

.contact-business h3 {
    color: var(--color-dark-green);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.business-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.business-item .bi-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.business-item h4 {
    color: var(--color-dark-green);
    margin-bottom: var(--space-xs);
}

.business-item p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

/* === 底部 === */
.footer {
    background: var(--color-dark-green);
    color: rgba(255,255,255,0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-brand h3 {
    color: var(--color-gold);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--color-gold);
    font-size: var(--fs-base);
    margin-bottom: var(--space-md);
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: var(--fs-sm);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
    color: var(--color-gold);
}

/* === 移动端悬浮咨询按钮 === */
.mobile-float-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 999;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(201,168,76,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse-btn 2s infinite;
    border: none;
    letter-spacing: 0.05em;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 4px 20px rgba(201,168,76,0.4); }
    50% { box-shadow: 0 4px 32px rgba(201,168,76,0.7); }
}

.mobile-float-btn:hover {
    transform: scale(1.05);
}

.mobile-float-btn span {
    display: block;
    text-align: center;
    line-height: 1.2;
    font-size: 12px;
}

/* === 微信弹窗（温和非强制） === */
.wechat-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.wechat-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.wechat-modal {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.wechat-modal .modal-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--color-bg-dark);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-modal img {
    width: 180px;
    margin: 0 auto var(--space-md);
}

.wechat-modal h4 {
    color: var(--color-dark-green);
    margin-bottom: var(--space-xs);
}

.wechat-modal p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
}

.wechat-modal .wechat-id {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-gold-pale);
    color: var(--color-gold-dark);
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: var(--space-sm);
    font-size: var(--fs-md);
}

/* === 面包屑 === */
.breadcrumb {
    padding: var(--space-md) 0;
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-light);
}

.breadcrumb span {
    color: var(--color-dark-green);
}

/* === 标签云 === */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.tag-cloud a {
    padding: 6px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text);
    font-size: var(--fs-sm);
    transition: var(--transition);
}

.tag-cloud a:hover,
.tag-cloud a.active {
    background: var(--color-dark-green);
    border-color: var(--color-dark-green);
    color: #fff;
}

/* === 装饰元素 === */
.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--space-md) auto;
}

.text-gold { color: var(--color-gold); }
.text-green { color: var(--color-dark-green); }
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }

/* === 图片懒加载占位 === */
img[loading="lazy"] {
    background: var(--color-bg-dark);
}

/* ============================================
   真实顾客反馈 / 故事叙述 / 沟通记录
   ============================================ */
.subsection-title {
    color: var(--color-dark-green);
    font-size: var(--fs-xl);
    margin: var(--space-2xl) 0 var(--space-lg);
    padding-left: var(--space-md);
    border-left: 4px solid var(--color-gold);
    position: relative;
}
.subsection-title:first-of-type {
    margin-top: 0;
}

/* 视频展示 */
.feedback-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-lg);
}
.feedback-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    background: #000;
    box-shadow: var(--shadow-sm);
}
.video-caption {
    margin-top: var(--space-sm);
    color: var(--color-text-light);
    font-size: var(--fs-sm);
    text-align: center;
}

/* 成品美图 */
.feedback-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
}
.feedback-gallery .gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.feedback-gallery .gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}
.feedback-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* 故事叙述 */
.story-content {
    max-width: 820px;
    margin: 0 auto;
}
.story-text {
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    line-height: 2;
    color: var(--color-text);
}
.story-text p {
    margin-bottom: var(--space-md);
}
.story-quote {
    margin-top: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
    border-left: 4px solid var(--color-gold);
    background: var(--color-white);
    border-radius: var(--radius-md);
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    line-height: 1.9;
    color: var(--color-dark-green);
    font-style: italic;
    box-shadow: var(--shadow-sm);
}

/* 沟通记录 */
.chat-record {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}
.chat-customer {
    align-self: flex-end;
    align-items: flex-end;
}
.chat-shop {
    align-self: flex-start;
    align-items: flex-start;
}
.chat-name {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    margin-bottom: 4px;
    padding: 0 var(--space-sm);
}
.chat-bubble {
    padding: var(--space-sm) var(--space-md);
    border-radius: 16px;
    font-size: var(--fs-sm);
    line-height: 1.7;
    word-break: break-word;
}
.chat-customer .chat-bubble {
    background: var(--color-gold-pale);
    color: var(--color-text);
    border-bottom-right-radius: 4px;
}
.chat-shop .chat-bubble {
    background: var(--color-dark-green);
    color: #fff;
    border-bottom-left-radius: 4px;
}

/* === 横向滑动组件 === */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 calc(-1 * var(--space-sm));
    padding: 0 var(--space-sm);
}
.slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.slider-slide {
    flex: 0 0 33.333%;
    padding: 0 var(--space-sm);
    box-sizing: border-box;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-gold);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.slider-arrow.prev { left: var(--space-sm); }
.slider-arrow.next { right: var(--space-sm); }
.slider-arrow:hover { background: var(--color-gold-dark); }

/* Story slide card */
.story-slide-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.story-slide-media {
    position: relative;
}
.story-slide-main {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}
.story-slide-cover {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 80px;
    border: 2px solid var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.story-slide-cover img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
}
.story-slide-cover span {
    display: block;
    background: rgba(26,60,42,0.85);
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 2px 0;
}
.story-slide-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.story-slide-body h4 {
    color: var(--color-dark-green);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
}
.story-slide-body p {
    color: var(--color-text-light);
    font-size: var(--fs-sm);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

/* Chat slide card */
.chat-slide-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.chat-slide-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}
.chat-slide-product img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.chat-slide-product h4 {
    color: var(--color-dark-green);
    font-size: var(--fs-md);
}
.chat-record-compact {
    padding: var(--space-md) var(--space-lg);
    flex: 1;
    overflow-y: auto;
    max-height: 360px;
}

/* ============================================
   响应式设计 - 平板端 (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --fs-3xl: 1.875rem;
        --fs-2xl: 1.625rem;
        --fs-xl: 1.375rem;
    }
    
    .brand-intro {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .brand-highlights {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid,
    .news-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-services,
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-intro,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .slider-slide {
        flex: 0 0 50%;
    }
    
    .knowledge-item {
        flex-direction: column;
    }
    
    .knowledge-item .item-img {
        width: 100%;
        min-height: 200px;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   响应式设计 - 手机端 (最大767px)
   ============================================ */
@media (max-width: 767px) {
    :root {
        --fs-3xl: 1.625rem;
        --fs-2xl: 1.375rem;
        --fs-xl: 1.25rem;
        --fs-lg: 1.125rem;
        --fs-md: 1rem;
        --header-height: 56px;
        --space-3xl: 2.5rem;
        --space-2xl: 2rem;
        --space-xl: 1.25rem;
    }
    
    /* 移动端导航 */
    .header-inner {
        height: var(--header-height-mobile);
    }
    
    .header-logo {
        gap: 8px;
    }
    .header-logo .logo-icon {
        height: 36px;
    }
    .header-logo .logo-brand {
        font-size: 1.05rem;
        letter-spacing: 0.1em;
    }
    .header-logo .logo-tagline {
        font-size: 0.52rem;
        letter-spacing: 0.2em;
        margin-top: 2px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        right: 0;
        background: rgba(26, 60, 42, 0.98);
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list a {
        padding: var(--space-md);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-align: center;
    }
    
    .nav-list a::after { display: none; }
    
    /* Banner */
    .banner-arrow { display: none; }
    
    /* 布局调整 */
    .brand-highlights {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-grid,
    .news-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-services,
    .business-grid,
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    /* 文章 */
    .article-container {
        padding: var(--space-lg) var(--space-md);
    }
    
    .article-body {
        font-size: var(--fs-base);
        line-height: 1.9;
    }
    
    .article-body h2 {
        font-size: var(--fs-lg);
    }
    
    .article-body p {
        text-indent: 1.5em;
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--space-xs);
        align-items: center;
    }
    
    /* 咨询按钮 */
    .mobile-float-btn {
        display: flex;
    }
    
    .section-title h2 {
        font-size: var(--fs-xl);
    }
    
    .cta-section {
        padding: var(--space-xl) var(--space-md);
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    /* 移动端图片统一竖版比例，避免横向 banner 截断 */
    .knowledge-item .item-img,
    .article-hero-img,
    .related-thumb,
    .product-card .card-img,
    .news-card-img,
    .case-card img {
        aspect-ratio: 4 / 5;
        max-height: none;
    }

    /* 顾客反馈版块移动端适配 */
    .subsection-title {
        font-size: var(--fs-lg);
    }
    .feedback-video-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    .feedback-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .story-quote {
        font-size: var(--fs-md);
        padding: var(--space-md);
    }
    .chat-msg {
        max-width: 92%;
    }
    
    /* 横向滑块移动端适配 */
    .slider-slide {
        flex: 0 0 100%;
    }
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    .story-slide-cover {
        width: 64px;
    }
    .chat-record-compact {
        max-height: 300px;
        padding: var(--space-sm) var(--space-md);
    }
    .chat-slide-product {
        padding: var(--space-sm) var(--space-md);
    }
}

/* === 小屏手机优化 (< 375px) === */
@media (max-width: 374px) {
    :root {
        font-size: 15px;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }

}

/* === 知识列表与文章配图比例 === */
.article-hero-img {
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.related-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
