/* ========== 全局基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
.section {
    padding: 100px 0;
}
.bg-gray {
    background-color: #f7f7f7;
}
.bg-dark {
    background-color: #222;
    color: #fff;
}
.white h2, .white span {
    color: #fff;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.section-title span {
    color: #666;
    font-size: 15px;
}

/* ========== 导航栏 - 永久固定顶部核心样式 ========== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* 页面下滑后导航加深底色 */
.header.scroll-dark {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}
/* Logo区域 */
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 56px;
    width: auto;
}
/* 导航菜单容器 */
.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav a {
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 2px;
}
/* 滚动到对应区块，菜单反色高亮 */
.nav a.nav-active {
    background-color: #333333;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 2px;
}
.nav a:hover:not(.nav-active) {
    color: #997858;
}
/* 联系我们按钮 */
.btn-contact {
    padding: 8px 20px;
    background: #333;
    color: #fff !important;
    border-radius: 2px;
}
.btn-contact:hover {
    background: #997858 !important;
}
/* 移动端菜单按钮 */
.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ========== 首页Banner区域 ========== */
.banner {
    height: 100vh;
    position: relative;
    padding-top: 78px; /* 给固定导航预留高度，避免内容遮挡 */
}
/* Banner左上角水印Logo */
.banner-logo {
    position: absolute;
    top: 100px;
    left: 40px;
    z-index: 10;
}
.banner-logo img {
    height: 80px;
    width: auto;
    opacity: 0.9;
}
.banner-bg {
    width: 100%;
    height: 100%;
}
.banner-bg img {
    height: 100%;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}
.banner-text h1 {
    font-size: 52px;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 3px;
}
.banner-text p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}
.banner-btn {
    padding: 14px 40px;
    border: 1px solid #fff;
    color: #fff;
    transition: all 0.4s ease;
}
.banner-btn:hover {
    background: #fff;
    color: #333;
}

/* ========== 品牌介绍板块 ========== */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #444;
}
.about-list li {
    padding-left: 16px;
    position: relative;
    margin: 12px 0;
}
.about-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #997858;
}

/* ========== 品牌价值板块 ========== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}
.value-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}
.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.num {
    font-size: 48px;
    font-weight: 700;
    color: #997858;
    display: block;
}

/* ========== 产品体系板块 ========== */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}
.adv-card {
    padding: 25px;
    border: 1px solid #eee;
}
.adv-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}
.product-block {
    margin: 50px 0;
}
.block-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}
.product-list {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 16px;
}

/* ========== 五大产品风格板块 ========== */
.style-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.style-card {
    background: #fff;
    padding: 30px;
}
.style-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}
.style-card img {
    margin-top: 15px;
}

/* ========== 应用场景板块 ========== */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.scene-card h4 {
    margin-bottom: 12px;
    font-size: 18px;
}

/* ========== 工艺系统板块 ========== */
.craft-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.craft-item h4 {
    font-size: 22px;
    margin-bottom: 10px;
}
.craft-item p {
    margin-bottom: 15px;
    color: #555;
}

/* ========== 服务流程板块 ========== */
.process-step {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.step-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #ddd;
}
.step-num {
    font-size: 40px;
    color: #997858;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* ========== 联系我们板块 ========== */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
}
.contact-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    opacity: 0.8;
}
.contact-item p {
    font-size: 18px;
}

/* ========== 页脚 + ICP备案号样式 ========== */
.footer {
    padding: 30px 0;
    text-align: center;
    background: #111;
    color: #aaa;
    font-size: 14px;
}
.footer-logo {
    height: 50px;
    width: auto;
    margin: 0 auto 12px;
    opacity: 0.85;
}
.footer .icp {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}
.footer .icp a {
    color: #999;
    text-decoration: none;
}
.footer .icp a:hover {
    color: #fff;
}

/* ========== 响应式适配规则 ========== */
/* 平板端 */
@media (max-width: 1024px) {
    .scene-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-step {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .nav {
        gap: 16px;
    }
}
/* 手机移动端 */
@media (max-width: 768px) {
    /* 导航菜单隐藏，显示汉堡按钮 */
    .nav {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    /* 双栏布局改为单栏 */
    .about-row, .craft-row {
        grid-template-columns: 1fr;
    }
    .value-grid, .adv-grid, .style-grid {
        grid-template-columns: 1fr;
    }
    .data-grid {
        grid-template-columns: 1fr;
    }
    /* 联系方式纵向排列 */
    .contact-info {
        flex-direction: column;
        gap: 30px;
    }
    /* 文字尺寸缩小 */
    .banner-text h1 {
        font-size: 36px;
    }
    .section {
        padding: 60px 0;
    }
    /* Logo缩小 */
    .logo-img {
        height: 42px;
    }
    .banner-logo img {
        height: 50px;
    }
}