/* ========================================
   中山市全众智联设备有限公司 - 主样式表
   简洁美观 v3.0
   ======================================== */

/* ---------- Design Tokens（灰金风） ---------- */
:root {
    /* Brand */
    --primary: #b8902f;
    --primary-dark: #15171c;
    --accent: #c9a35f;
    --accent-light: #e3c887;
    --accent-soft: #f6efe1;

    /* Surfaces */
    --bg-white: #ffffff;
    --bg-light: #f7f5f0;
    --bg-dark: #15171c;

    /* Text */
    --text-primary: #1e1d1b;
    --text-secondary: #6f6a61;
    --text-light: #a39c8f;
    --text-white: #f5f1e8;

    /* Lines & Effects */
    --border: #ece7dc;
    --shadow-sm: 0 2px 10px rgba(21,23,28,.06);
    --shadow: 0 10px 30px rgba(21,23,28,.10);
    --shadow-lg: 0 20px 50px rgba(21,23,28,.16);
    --glow: 0 12px 30px rgba(184,144,47,.30);

    /* Geometry */
    --radius: 10px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --max-width: 1200px;
    --header-height: 76px;

    /* Motion */
    --ease: cubic-bezier(0.22,0.61,0.36,1);
    --transition: 0.3s var(--ease);

    /* Gradients */
    --grad-brand: linear-gradient(135deg, #8c6d2f 0%, #b8902f 50%, #e3c887 100%);
    --grad-accent: linear-gradient(135deg, #b8902f 0%, #e3c887 100%);
    --grad-soft: linear-gradient(135deg, #f7f5f0 0%, #fffdf8 100%);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", "Helvetica Neue", sans-serif;
    color: var(--text-primary); line-height: 1.75;
    background: var(--bg-white); overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #cabfa8; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ---------- Header / Navigation ---------- */
.header {
    background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 rgba(21,23,28,.06);
    position: sticky; top: 0; z-index: 1000; height: var(--header-height);
    transition: box-shadow var(--transition), background var(--transition), transform .35s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow); background: rgba(255,255,255,.96); }
.header.is-hidden { transform: translateY(-100%); }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-icon {
    width: 46px; height: 46px; background: var(--grad-brand); border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.45rem; font-weight: 700; flex-shrink: 0;
    box-shadow: var(--glow); transition: transform var(--transition);
}
.logo:hover .logo-icon { transform: rotate(-6deg) scale(1.05); }
.logo-img { background: #fff; box-shadow: var(--shadow-sm); object-fit: contain; padding: 3px; }
.logo-text { line-height: 1.25; }
.logo-text h1 { font-size: 1.22rem; color: var(--primary-dark); white-space: nowrap; font-weight: 700; letter-spacing: .3px; }
.logo-text span { font-size: .73rem; color: var(--text-light); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px;
    border-radius: var(--radius-pill); color: var(--text-primary); font-size: .94rem;
    font-weight: 500; white-space: nowrap; position: relative; transition: var(--transition);
}
.nav-links a::after {
    content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
    background: var(--grad-accent); border-radius: 2px; transform: translateX(-50%);
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary); background: rgba(184,144,47,.10); }
.nav-links a:hover::after { width: 22px; }
.nav-links a.active { color: #fff; background: var(--grad-brand); box-shadow: var(--glow); }
.nav-links a.active::after { width: 0; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--primary-dark); border-radius: 2px; transition: var(--transition); }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 30px; border-radius: var(--radius-pill); font-size: .98rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); border: 2px solid transparent;
    text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn-primary { background: var(--grad-accent); color: #fff; border-color: transparent; box-shadow: var(--glow); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(184,144,47,.45); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background: rgba(184,144,47,.12); color: var(--accent); }
.btn-outline-muted { color: var(--primary); border-color: var(--border); background: var(--bg-white); }
.btn-outline-muted:hover { background: rgba(184,144,47,.12); color: var(--accent); border-color: var(--accent-light); }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.cta-btn { font-size: 1.05rem; padding: 15px 38px; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: var(--text-white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .sec-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-header .sec-eyebrow::before,
.section-header .sec-eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section-header h2 { font-size: 2.2rem; color: var(--text-primary); margin-bottom: 14px; display: inline-block; font-weight: 700; letter-spacing: .5px; position: relative; }
.section-header h2::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    width: 56px; height: 4px; background: var(--grad-accent); border-radius: 2px;
}
.section-header p { color: var(--text-secondary); font-size: 1.05rem; max-width: 680px; margin: 22px auto 0; }
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: var(--text-light); }
.section-more { text-align: center; margin-top: 36px; }

/* CTA 区域 */
.cta-section {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 520px at 50% -10%, rgba(184,144,47,.22), transparent 60%),
                linear-gradient(180deg, #15171c 0%, #1f2229 100%);
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px; pointer-events: none;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
    font-size: 2rem; margin-bottom: 16px;
    background: linear-gradient(90deg, #f5f1e8 0%, #e3c887 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-subtitle { color: var(--text-light); max-width: 620px; margin: 0 auto 34px; font-size: 1.08rem; }

/* ---------- Hero / Carousel ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--grad-brand); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); display: flex; align-items: center; }
.hero-slide.active { opacity: 1; }
.hero-slide .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
.hero-content h2 { font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 18px; line-height: 1.28; text-shadow: 0 4px 20px rgba(0,0,0,.25); }
.hero-content p { font-size: 1.18rem; color: rgba(255,255,255,.9); margin-bottom: 30px; line-height: 1.85; }
.hero-content .btn { margin: 0 8px 0 0; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 11px; z-index: 5; }
.hero-dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: var(--transition); border: 1.5px solid transparent; }
.hero-dots span:hover { background: rgba(255,255,255,.7); }
.hero-dots span.active { background: var(--accent); width: 30px; border-radius: 999px; }

/* ---------- Page Banner ---------- */
.page-banner {
    background: var(--grad-brand); background-size: 200% 200%;
    animation: bannerShift 12s ease infinite;
    color: #fff; padding: 60px 0; text-align: center; position: relative; overflow: hidden;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h2 { font-size: 2.2rem; margin-bottom: 8px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.page-banner p { color: rgba(255,255,255,.92); font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .9rem; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.5); }

@keyframes bannerShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- Page Content（通用富文本区） ---------- */
.page-content { padding: 0; line-height: 2; max-width: 800px; margin: 0 auto; }
.page-content h2 { font-size: 1.6rem; margin: 32px 0 16px; color: var(--primary-dark); font-weight: 700; }
.page-content h3 { font-size: 1.3rem; margin: 24px 0 12px; color: var(--primary); font-weight: 700; }
.page-content p { margin-bottom: 16px; color: var(--text-secondary); }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 16px; }
.page-content li { margin-bottom: 6px; color: var(--text-secondary); }
.page-content img { border-radius: var(--radius); margin: 18px auto; max-width: 100%; display: block; }

/* 页面图片画廊（renderPageBody 使用） */
.page-gallery { display: block; text-align: center; margin-top: 20px; }
.page-gallery-item { display: inline-block; vertical-align: top; margin: 10px; }
.page-gallery-item img { max-width: 100%; height: auto; display: inline-block; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.page-gallery-item figcaption { text-align: center; font-size: .85rem; color: var(--text-light); margin-top: 6px; }

/* 首页正文+图片画廊 */
.home-content-block { text-align: center; max-width: 800px; margin: 0 auto; line-height: 2; color: var(--text-secondary); }
.home-content-block img { max-width: 100%; height: auto; display: inline-block; margin: 8px 0; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.home-gallery { text-align: center; margin-top: 20px; }
.home-gallery-item { display: inline-block; vertical-align: top; margin: 10px; }
.home-gallery-item img { max-width: 100%; height: auto; display: inline-block; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.home-gallery-item figcaption { text-align: center; font-size: .85rem; color: var(--text-light); margin-top: 6px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid-single { grid-template-columns: 1fr; }
.about-intro-block { max-width: 760px; margin: 0 auto; }
.about-intro-text h3 { font-size: 1.5rem; margin-bottom: 18px; color: var(--primary-dark); font-weight: 700; text-align: center; }
.about-intro-text p { color: var(--text-secondary); margin-bottom: 14px; line-height: 2; text-align: center; font-size: .95rem; }
.about-intro-img { margin: 32px auto 0; text-align: center; }
.about-intro-img img { max-width: 100%; height: auto; display: inline-block; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-intro-action { text-align: center; margin-top: 28px; }
.about-text { max-width: 800px; margin: 0 auto; text-align: center; }
.about-text h3 { font-size: 1.6rem; margin-bottom: 18px; color: var(--primary-dark); font-weight: 700; }
.about-text p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.95; }
.about-text ul, .about-text ol { text-align: left; display: inline-block; margin: 0 auto 14px; }
.about-text img { border-radius: var(--radius); margin: 18px auto; max-width: 100%; display: block; }

/* 企业文化卡片 */
.culture-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.culture-card {
    background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border); text-align: center; padding: 40px 24px;
}
.culture-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(184,144,47,.45); }
.culture-icon { font-size: 3rem; margin-bottom: 16px; }
.culture-card h4 { margin-bottom: 8px; font-size: 1.12rem; color: var(--text-primary); font-weight: 600; }
.culture-card p { color: var(--text-secondary); font-size: .9rem; line-height: 1.65; }

/* ---------- Products ---------- */
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.cat-filter .btn-sm { padding: 9px 22px; background: var(--bg-white); color: var(--text-secondary); border: 1.5px solid var(--border); box-shadow: none; }
.cat-filter .btn-sm:hover { color: var(--primary); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-filter .btn-sm.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--glow); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px; }
.product-card {
    background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(184,144,47,.45); }
.product-card .card-img {
    height: 230px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2.2rem; overflow: hidden; position: relative;
}
.product-card .card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,23,28,.25), transparent 55%); }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .card-img img { transform: scale(1.08); }
.product-card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card .card-body h4 { font-size: 1.12rem; margin-bottom: 8px; color: var(--text-primary); font-weight: 600; transition: color var(--transition); }
.product-card:hover .card-body h4 { color: var(--primary); }
.product-card .card-body p { color: var(--text-secondary); font-size: .9rem; line-height: 1.65; flex: 1; }
.product-card .card-body .tag { display: inline-block; padding: 4px 12px; background: var(--accent-soft); color: var(--accent); border-radius: var(--radius-pill); font-size: .78rem; margin-bottom: 12px; font-weight: 600; }
.product-model-line { color: var(--text-light); font-size: .85rem; }
.product-card .card-more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 14px;
    border-top: 1px solid var(--border); font-size: .86rem; font-weight: 600; color: var(--primary); opacity: .9; transition: var(--transition);
}
.product-card .card-more .arrow { transition: transform var(--transition); }
.product-card:hover .card-more { opacity: 1; color: var(--accent); }
.product-card:hover .card-more .arrow { transform: translateX(5px); }

/* ---------- Product Detail（上下居中布局） ---------- */
.product-detail-v2 { max-width: 800px; margin: 0 auto; }
.pd-image-wrap { text-align: center; margin-bottom: 32px; }
.pd-image { max-width: 100%; max-height: 480px; width: auto; height: auto; display: inline-block; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: contain; }
.pd-image-fallback { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 600px; height: 300px; background: var(--grad-brand); border-radius: var(--radius-lg); color: #fff; font-size: 4rem; box-shadow: var(--shadow); }
.pd-meta { text-align: center; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pd-tag { display: inline-block; padding: 4px 16px; background: var(--accent-soft); color: var(--accent); border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; }
.pd-model { color: var(--text-light); font-size: .9rem; }
.pd-desc { text-align: center; max-width: 640px; margin: 0 auto 32px; color: var(--text-secondary); line-height: 1.9; font-size: .95rem; }
.pd-specs-wrap { margin-bottom: 32px; }
.pd-specs-title { text-align: center; color: var(--primary); font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.pd-specs-table { width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.pd-specs-table td { padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: .92rem; }
.pd-specs-table tr:last-child td { border-bottom: none; }
.pd-specs-table td:first-child { font-weight: 600; color: var(--primary); width: 36%; background: var(--bg-light); text-align: right; padding-right: 20px; }
.pd-specs-table td:last-child { text-align: left; color: var(--text-primary); }
.pd-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.pd-content-section { margin-top: 60px; border-top: 1px solid var(--border); padding-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.pd-content-section h2 { font-size: 1.5rem; color: var(--primary-dark); font-weight: 700; text-align: center; margin-bottom: 28px; }
.pd-content-body { line-height: 2; color: var(--text-secondary); }
.pd-content-body h2, .pd-content-body h3 { color: var(--primary-dark); margin: 24px 0 12px; }
.pd-content-body p { margin-bottom: 14px; }
.pd-content-body img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: var(--radius); }
.pd-content-body ul, .pd-content-body ol { padding-left: 22px; margin-bottom: 14px; }
.pd-content-body li { margin-bottom: 6px; }

/* ---------- News ---------- */
/* 首页横排小图卡 */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 26px; }
.news-card {
    background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; border: 1px solid var(--border);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(184,144,47,.4); }
.news-card .news-img { width: 170px; flex-shrink: 0; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.08); }
.news-card .news-body { padding: 20px; flex: 1; }
.news-card .news-body .date { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--primary); background: var(--accent-soft); padding: 3px 12px; border-radius: var(--radius-pill); margin-bottom: 10px; font-weight: 600; }
.news-card .news-body h4 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.55; color: var(--text-primary); font-weight: 600; transition: var(--transition); }
.news-card:hover .news-body h4 { color: var(--primary); }
.news-card .news-body p { font-size: .86rem; color: var(--text-secondary); line-height: 1.6; }

/* 新闻列表页：大图卡布局 */
.news-grid-full { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.news-grid-full .news-card { flex-direction: column; }
.news-grid-full .news-card .news-img { width: 100%; height: 210px; }
.news-grid-full .news-card .news-body h4 { font-size: 1.12rem; }

/* 新闻详情 */
.article-detail { max-width: 800px; margin: 0 auto; }
.article-detail .article-header { margin-bottom: 32px; }
.article-detail .article-title { font-size: 1.8rem; line-height: 1.4; font-weight: 700; color: var(--primary-dark); }
.article-detail .article-meta { color: var(--text-light); font-size: .9rem; margin-top: 10px; display: flex; gap: 20px; flex-wrap: wrap; }
.article-cover { margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; display: block; }
.article-nav { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-section-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 26px; color: var(--primary); position: relative; padding-bottom: 12px; }
.contact-section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 2px; background: var(--grad-accent); }
.contact-info-panel, .contact-map-panel { background: var(--bg-white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-info-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: var(--grad-soft); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--accent-light); }
.contact-icon { width: 44px; height: 44px; background: var(--bg-white); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 4px 12px rgba(184,144,47,.12); }
.contact-info-body { min-width: 0; }
.contact-info-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; letter-spacing: .02em; }
.contact-info-text { color: var(--text-secondary); font-size: .92rem; line-height: 1.55; word-break: break-word; }
.contact-info-text a { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.contact-info-text a:hover { color: var(--primary); }
.contact-img { max-width: 100%; height: auto; display: inline-block; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.contact-image-section { text-align: center; margin-bottom: 44px; }
.contact-map-panel { display: flex; flex-direction: column; }
.contact-map-wrapper { flex: 1; min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: inset 0 0 0 1px rgba(0,0,0,.02); background: #e8e4db; }
.contact-map-hint { text-align: center; font-size: .78rem; color: var(--text-light); margin-top: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: var(--text-light); padding: 70px 0 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #15171c 0%, #b8902f 45%, #e3c887 100%); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.footer-col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; font-weight: 700; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 32px; height: 3px; background: var(--grad-accent); border-radius: 2px; }
.footer-col p { font-size: .92rem; line-height: 1.85; }
.footer-col a { color: var(--text-light); display: block; padding: 7px 0; font-size: .92rem; transition: var(--transition); }
.footer-col a:hover { color: var(--accent-light); padding-left: 6px; }
.footer-brand h3 { background: linear-gradient(90deg, #f5f1e8 0%, #e3c887 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.footer-contact { margin-top: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: .9rem; line-height: 1.7; color: var(--text-light); }
.footer-contact .fc-icon { flex-shrink: 0; font-size: 1.05rem; line-height: 1.5; }
.footer-contact li:hover { color: var(--accent-light); }
.footer-bottom { text-align: center; padding: 24px 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: rgba(255,255,255,.4); }
.footer-qrcode { width:110px; margin-top:12px; border-radius:10px; box-shadow:var(--shadow); background:#fff; padding:6px; }
.footer-icp-link { color:rgba(255,255,255,0.4); }
.footer-icp-link:hover { color:var(--accent-light); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-pill); font-size: .9rem; transition: var(--transition); }
.pagination a { background: var(--bg-white); border: 1px solid var(--border); color: var(--text-primary); }
.pagination a:hover { border-color: var(--accent-light); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pagination .current { background: var(--grad-brand); color: #fff; border: none; box-shadow: var(--glow); }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 28px; bottom: 28px; width: 48px; height: 48px; border-radius: 50%;
    background: var(--grad-brand); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
    box-shadow: var(--glow); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
    transition: var(--transition); z-index: 1100;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px) scale(1.05); color: #fff; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.mb-40 { margin-bottom: 40px; }
.empty-state { text-align: center; color: var(--text-light); padding: 60px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
    .logo-text span { display: none; }
    .nav-links a { padding: 8px 11px; font-size: .9rem; }
}

@media (max-width: 1120px) {
    .header .nav-links {
        display: none; position: absolute; top: var(--header-height); left: 0; right: 0;
        background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
        flex-direction: column; align-items: stretch; padding: 14px; gap: 4px;
        box-shadow: var(--shadow-lg); border-top: 1px solid var(--border);
    }
    .header .nav-links a { font-size: .96rem; padding: 12px 16px; }
    .header .nav-links a::after { display: none; }
    .header .nav-links.open { display: flex; }
    .mobile-menu-btn { display: flex; }
}

@media (max-width: 992px) {
    .hero { height: 440px; }
    .hero-content h2 { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-cards { grid-template-columns: 1fr; }
    .contact-map-wrapper { min-height: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero { height: 380px; }
    .hero-content h2 { font-size: 1.7rem; }
    .hero-content p { font-size: 1rem; }
    .section { padding: 56px 0; }
    .section-header h2 { font-size: 1.7rem; }
    .section-header { margin-bottom: 36px; }
    .page-banner { padding: 44px 0; }
    .page-banner h2 { font-size: 1.7rem; }
    .news-card { flex-direction: column; }
    .news-card .news-img { width: 100%; height: 180px; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .contact-info-panel, .contact-map-panel { padding: 24px; }
    .contact-map-wrapper { min-height: 260px; }
    .pd-image-fallback { height: 220px; font-size: 3rem; }
    .pd-image { max-height: 320px; }
    .pd-specs-table { max-width: 100%; }
    .pd-desc { text-align: left; }
}

@media (max-width: 480px) {
    .hero { height: 320px; }
    .hero-content h2 { font-size: 1.4rem; }
}
