/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 头部导航栏 ===== */
.site-header {
    background: #fff;
    border-bottom: 2px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.tel-btn {
    background: #1d6fe0;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.25s, transform 0.15s;
    display: inline-block;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.tel-btn:hover {
    background: #1558b2;
}

.tel-btn:active {
    background: #124c99;
    transform: scale(0.97);
}

/* ===== Banner 轮播区 ===== */
.banner {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background: #000;
}

.slides {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slogan {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    z-index: 10;
    padding: 0 20px;
}

.banner-slogan h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.banner-slogan p {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ===== 通用板块 ===== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1d6fe0;
    border-radius: 2px;
}

/* ===== 企业简介 ===== */
.intro {
    background: #fafbfc;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    color: #444;
}

.intro-content p {
    margin-bottom: 16px;
}

.intro-content .spec-list {
    background: #f0f4fa;
    padding: 16px 20px;
    border-left: 4px solid #1d6fe0;
    border-radius: 4px;
    line-height: 2;
}

.intro-content .motto {
    color: #222;
    background: #fff6e5;
    padding: 14px 18px;
    border-radius: 4px;
}

/* ===== 产品中心 ===== */
.product-group {
    margin-bottom: 50px;
}

.product-group:last-child {
    margin-bottom: 0;
}

.group-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    padding-left: 12px;
    border-left: 4px solid #1d6fe0;
}

.group-sub {
    font-weight: 400;
    color: #888;
    font-size: 15px;
}

.group-desc {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    padding-left: 16px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f5f5f5;
}

.card h4 {
    font-size: 16px;
    color: #1a1a1a;
    padding: 14px;
    text-align: center;
    font-weight: 600;
}

/* ===== 规格参数表 ===== */
.specs {
    background: #fafbfc;
}

.table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

thead th {
    background: #1d6fe0;
    color: #fff;
    padding: 14px 12px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 15px;
    color: #444;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #f5f8fd;
}

/* ===== 联系我们 ===== */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #eee;
    font-size: 16px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item .label {
    width: 80px;
    flex-shrink: 0;
    color: #888;
    font-weight: 500;
}

.contact-item .value {
    color: #1a1a1a;
    font-weight: 500;
    flex: 1;
}

.tel-link {
    color: #1d6fe0;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.tel-link:hover {
    text-decoration: underline;
}

.tel-link:active {
    transform: scale(0.98);
}

/* ===== 页脚 ===== */
.site-footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
}

.site-footer p {
    line-height: 1.8;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-slogan h2 {
        font-size: 28px;
    }

    .banner-slogan p {
        font-size: 17px;
    }

    .banner {
        height: 340px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
        padding: 14px 16px;
    }

    .logo {
        font-size: 17px;
        text-align: center;
    }

    .tel-btn {
        font-size: 15px;
        padding: 8px 18px;
    }

    .banner {
        height: 260px;
    }

    .banner-slogan h2 {
        font-size: 22px;
    }

    .banner-slogan p {
        font-size: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 240px;
    }

    .intro-content {
        font-size: 15px;
    }

    .contact-info {
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        gap: 4px;
    }

    .contact-item .label {
        width: auto;
    }

    thead th,
    tbody td {
        padding: 10px 6px;
        font-size: 13px;
    }
}
