/* ═══ 全局重置 ═══ */
body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; }

/* ═══ 全局变量 — 建材主题 ═══ */
:root {
    --primary: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #34495e;
    --accent: #b8860b;
    --accent-hover: #9a7209;
    --accent-light: #d4a843;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --text-light: #95a5a6;
    --bg-light: #f0f2f5;
    --bg-card: #ffffff;
    --bg-dark-section: #1a252f;
    --bg-features: #f8f9fa;
    --border-color: #dee2e6;
    --max-w: 1200px;
    --radius: 6px;
    --shadow: 0 2px 12px rgba(44,62,80,0.08);
    --shadow-hover: 0 8px 30px rgba(44,62,80,0.12);
}

/* ═══ 公司简介 ═══ */
.about-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}
.about-section .about-inner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 50px;
    width: 95%; max-width: var(--max-w); margin: 0 auto;
}
.about-section .about-image {
    flex: 0 0 48%; max-width: 48%;
}
.about-section .about-image img {
    width: 100%; height: auto; display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(44,62,80,0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about-section .about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(44,62,80,0.18);
}
.about-section .about-content {
    flex: 1; min-width: 280px;
}
.about-section .about-title {
    font-size: 34px; color: var(--primary); font-weight: 700;
    margin: 0 0 8px; line-height: 1.2; letter-spacing: 1px;
}
.about-section .about-subtitle {
    font-size: 16px; color: var(--text-light); line-height: 1.6;
    margin: 0 0 12px; font-weight: normal;
}
.about-section .about-divider {
    border: none; border-top: 3px solid var(--accent); width: 60px; margin: 0 0 20px;
}
.about-section .about-desc {
    font-size: 15px; color: var(--text-gray); line-height: 1.9;
    margin-bottom: 25px;
    display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6;
    -webkit-box-orient: vertical; overflow: hidden;
}
.about-section .about-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 32px;
    border: 2px solid var(--accent); border-radius: 30px; background: transparent;
    font-size: 15px; line-height: 50px; color: var(--accent);
    text-decoration: none; cursor: pointer;
    transition: all 0.35s ease; font-weight: 600;
}
.about-section .about-btn:hover {
    background: var(--accent); color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,134,11,0.3);
}
.about-section .about-btn .btn-arrow {
    transition: transform 0.3s ease; display: inline-block;
}
.about-section .about-btn:hover .btn-arrow {
    transform: translateX(4px);
}
@media screen and (max-width: 768px) {
    .about-section { padding: 40px 0; }
    .about-section .about-inner { flex-direction: column-reverse; gap: 30px; }
    .about-section .about-image { flex: 0 0 100%; max-width: 100%; }
    .about-section .about-title { font-size: 28px; }
    .about-section .about-desc {
        -webkit-line-clamp: 5; line-clamp: 5;
    }
    .about-section .about-btn { width: 100%; justify-content: center; }
}

/* ═══ 产品中心 ═══ */
.products-section {
    min-height: 300px; padding: 50px 0;
    background-color: var(--bg-light); width: 100%;
}
.products-header { text-align: center; margin: 2% 0; }
.products-title {
    font-size: 38px; font-weight: bold; color: var(--primary);
    margin: 0; line-height: normal;
}
.products-subtitle {
    font-size: 16px; color: var(--text-gray);
    margin: 10px auto 0; max-width: var(--max-w);
}
.products-list {
    display: flex; flex-wrap: wrap;
    max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.products-item { flex: 0 0 33.333%; position: relative; }
.products-card {
    margin: 15px; padding: 0 20px 20px;
    border: 1px solid var(--border-color); border-radius: var(--radius);
    background: var(--bg-card); text-align: center;
    transition: all 0.4s ease; box-shadow: var(--shadow);
}
.products-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--accent);
}
.products-card-img { overflow: hidden; }
.products-card-img a {
    display: block; width: 100%; padding-bottom: 100%;
    position: relative; height: 0; overflow: hidden;
}
.products-card-img a img {
    width: 100%; height: 100%; position: absolute;
    left: 50%; top: 50%; object-fit: contain;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.5s ease;
}
.products-card:hover .products-card-img a img {
    transform: translate(-50%, -50%) scale(1.1);
}
.products-card-divider {
    border: none; border-top: 1px solid var(--border-color);
    margin: 0; max-height: 1px; position: relative;
}
.products-card-divider::before {
    content: ''; position: absolute; top: -1px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: all 0.5s ease;
}
.products-card:hover .products-card-divider::before { width: 100%; }
.products-card-line {
    border: none; border-top: 2px solid var(--accent);
    width: 0; margin: 0; padding-bottom: 20px;
    transition: all 0.6s ease;
}
.products-card:hover .products-card-line { width: 100%; }
.products-card-name { line-height: 2; font-size: 16px; color: var(--text-dark); margin: 0; }
.products-card-name a { color: inherit; text-decoration: none; }
.products-card-name a:hover { text-decoration: underline; color: var(--accent); }
.products-more {
    display: block; width: 180px; margin: 2% auto; padding: 8px;
    text-align: center; box-sizing: border-box;
    background: var(--accent); color: #fff; font-size: 16px;
    line-height: 1.4; height: 38px;
    text-decoration: none; border: none;
    cursor: pointer; border-radius: var(--radius);
}
.products-more:hover { background: var(--accent-hover); }
@media screen and (max-width: 768px) {
    .products-section { padding: 30px 0 20px; }
    .products-title { font-size: 30px; padding-top: 32px; }
    .products-item { flex: 0 0 50%; }
}
@media screen and (min-width: 769px) {
    .products-item { flex: 0 0 25%; }
}

/* ═══ 核心优势 ═══ */
.features-section {
    min-height: 0; padding: 80px 10px;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #1a252f 100%);
    overflow: hidden; position: relative;
}
.features-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 20px,
        rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 21px
    );
    pointer-events: none;
}
.features-inner { display: flex; flex-wrap: wrap; max-width: var(--max-w); width: 94%; margin: 0 auto; position: relative; z-index: 1; }
.features-grid { display: flex; flex-wrap: wrap; width: 100%; }
.features-item {
    flex: 1; max-width: 100%; padding: 20px;
    box-sizing: border-box; text-align: center;
}
.features-icon { max-width: 59px; margin: 0 auto; }
.features-icon img { width: 100%; height: auto; object-fit: contain; display: block; }
.features-icon-emoji { font-size: 52px; line-height: 1; display: block; text-align: center; }
.features-title {
    font-size: 20px; color: #ecf0f1; font-weight: bold;
    margin: 10px 0 25px; line-height: normal; text-align: center;
}
.features-desc {
    font-size: 14px; color: #bdc3c7; text-align: center;
    min-height: 48px; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;
}
@media screen and (max-width: 768px) {
    .features-item { flex: 0 0 50%; padding: 20px 10px; }
}

/* ═══ 新闻动态 ═══ */
.news-section { padding: 60px 0; background: var(--bg-card); }
.news-header { text-align: center; margin-bottom: 40px; }
.news-title {
    font-size: 38px; font-weight: bold; color: var(--primary);
    margin: 0; line-height: normal;
}
.news-subtitle {
    font-size: 16px; color: var(--text-gray);
    margin: 10px auto 0; max-width: var(--max-w);
}
.news-list {
    display: flex; flex-wrap: wrap;
    max-width: var(--max-w); margin: 0 auto; width: 94%; gap: 30px;
}
.news-item { flex: 1; min-width: 280px; }
.news-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); overflow: hidden;
    transition: all 0.3s ease; box-shadow: var(--shadow);
    height: 100%; display: flex; flex-direction: column;
}
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--accent);
}
.news-card-img { width: 100%; height: 200px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.08); }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-title {
    font-size: 18px; font-weight: 600; color: var(--text-dark);
    margin: 0 0 10px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--accent); }
.news-card-desc {
    font-size: 14px; color: var(--text-gray); line-height: 1.6;
    flex: 1; margin: 0 0 15px;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
@media screen and (max-width: 768px) {
    .news-list { flex-direction: column; gap: 20px; }
    .news-title { font-size: 30px; }
}

/* ═══ 企业荣誉 ═══ */
.honor-section {
    padding: 60px 0;
    background: #fff;
}
.honor-header { text-align: center; margin-bottom: 40px; }
.honor-title {
    font-size: 38px; font-weight: bold; color: var(--primary);
    margin: 0; line-height: normal;
}
.honor-subtitle {
    font-size: 16px; color: var(--text-gray);
    margin: 10px auto 0; max-width: var(--max-w);
}
.honor-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 30px;
    max-width: var(--max-w); margin: 0 auto; width: 94%;
}
.honor-card-item {
    flex: 1; min-width: 220px; max-width: 280px;
    text-align: center; padding: 30px 20px 25px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
}
.honor-card-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(44,62,80,0.1);
}
.honor-card-item .honor-icon {
    font-size: 44px; line-height: 1; margin-bottom: 12px; display: block;
}
.honor-card-item .honor-img-wrap {
    width: 200px; height: 200px; margin: 0 auto 18px;
    border-radius: 12px; overflow: hidden;
    border: 3px solid var(--accent);
    background: #fff;
    display: flex; align-items: center; justify-content: center;
}
.honor-card-item .honor-img-wrap img {
    width: 85%; height: 85%; object-fit: contain;
    transition: transform 0.3s ease;
}
.honor-card-item .honor-img-wrap:hover img {
    transform: scale(1.1);
}
.honor-card-item .honor-img-link {
    display: block; cursor: pointer;
}
.honor-card-item .honor-name {
    font-size: 17px; font-weight: 600; color: var(--text-dark);
    margin: 0 0 6px;
}
.honor-card-item .honor-desc {
    font-size: 13px; color: var(--text-gray);
    margin: 0; line-height: 1.5;
}

/* ═══ 核心团队 ═══ */
.team-wrap {
    padding: 60px 0;
    background: var(--bg-light);
}
.team-wrap .team-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 15px;
}
.team-wrap .team-header { text-align: center; margin-bottom: 50px; }
.team-wrap .team-title {
    font-size: 34px; color: var(--primary); font-weight: bold;
    margin: 0; line-height: 1.3;
}
.team-wrap .team-subtitle {
    font-size: 16px; color: var(--text-gray);
    margin: 10px 0 0; line-height: 1.6;
}
.team-wrap .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.team-wrap .team-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 20px 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
    position: relative;
}
.team-wrap .team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(44,62,80,0.1);
    border-color: var(--accent);
}
.team-wrap .team-card .team-step-badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: bold;
    box-shadow: 0 4px 12px rgba(184,134,11,0.3);
}
.team-wrap .team-avatar {
    width: 100px; height: 100px; margin: 10px auto 15px;
    border-radius: 50%; overflow: hidden;
    background: #f0f0f0; display: flex;
    align-items: center; justify-content: center;
    border: 3px solid var(--border-color);
    transition: border-color 0.3s;
}
.team-wrap .team-card:hover .team-avatar {
    border-color: var(--accent);
}
.team-wrap .team-avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.team-wrap .team-avatar .avatar-emoji { font-size: 40px; }
.team-wrap .team-name {
    font-size: 18px; color: var(--primary); font-weight: bold;
    margin: 0 0 4px; line-height: 1.4;
}
.team-wrap .team-role {
    font-size: 13px; color: var(--accent); font-weight: 600;
    margin: 0 0 10px; line-height: 1.4;
}
.team-wrap .team-desc {
    font-size: 14px; color: var(--text-gray);
    margin: 0; line-height: 1.6;
}
@media screen and (max-width: 768px) {
    .team-wrap .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media screen and (max-width: 480px) {
    .team-wrap .team-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 768px) {
    .honor-grid { gap: 15px; }
    .honor-card-item { min-width: 160px; }
}
