/* =========================
   About Page
   工业企业关于我们页面
========================= */


/* =========================
   基础布局
========================= */

.section {
    padding: 50px 0;
}

.section-gray {
    background: #f7f7f7;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #111;
}


/* =========================
   HERO
========================= */

.about-hero {
    padding: 60px 0;
    text-align: center;
    background: #f6f8fb;
}

.about-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #222;
    font-weight: 700;
}

.about-hero p {
    font-size: 16px;
    color: #666;
}


/* =========================
   公司简介：文字 + 门头图
========================= */

.about-company-section {
    background: #fff;
}

.about-company-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 36px;
    align-items: center;
}

.about-company-text h2 {
    font-size: 24px;
    margin-bottom: 18px;
    color: #111;
}

.about-company-text p {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 14px;
}

.about-company-image {
    max-width: 520px;
    justify-self: end;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 6px;
    border-radius: 6px;
}

.about-company-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}


/* =========================
   通用栅格
========================= */

.grid {
    display: grid;
    gap: 16px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* =========================
   核心能力卡片
========================= */

.card {
    background: #fff;
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 6px;
}

.card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
    font-weight: 600;
}

.card p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}


/* =========================
   A4竖版证书墙
   ISO / CE / 软件著作权 / 防爆
========================= */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 180px);
    gap: 14px;
    align-items: start;
}

.cert-grid img {
    width: 180px;
    height: 255px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 4px;
}

.cert-grid img:hover {
    transform: scale(1.02);
    transition: 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================
   专利证书
   PC 一行 6 张
========================= */

.patent-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.patent-grid img {
    width: 100%;
    height: 210px;
    object-fit: contain;
}


/* =========================
   横A4证书
   产品型式评价证书
========================= */

.grid-wide {
    display: grid;
    grid-template-columns: repeat(3, 260px);
    gap: 14px;
    align-items: start;
}

.grid-wide img {
    width: 260px;
    height: 184px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 4px;
}

.grid-wide img:hover {
    transform: scale(1.02);
    transition: 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================
   设备 / 展会图
========================= */

.image-grid {
    display: grid;
    gap: 16px;
}

.image-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.image-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    display: block;
}

.image-grid img:hover {
    transform: scale(1.01);
    transition: 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================
   文本
========================= */

.section p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}


/* =========================
   平板 / 手机
========================= */

@media (max-width: 768px) {

    .section {
        padding: 32px 0;
    }

    .about-hero {
        padding: 42px 0;
    }

    .about-hero h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .about-hero p {
        font-size: 14px;
    }

    .about-company-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-company-image {
        max-width: 100%;
        justify-self: start;
    }

    .about-company-text h2 {
        font-size: 22px;
    }

    .about-company-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cert-grid img {
        width: 100%;
        height: 230px;
    }

    .patent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .patent-grid img {
        width: 100%;
        height: 210px;
    }

    .grid-wide {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .grid-wide img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.414 / 1;
    }

    .image-grid-2 {
        grid-template-columns: 1fr;
    }
}


/* =========================
   小屏手机
========================= */

@media (max-width: 480px) {

    .container {
        width: 94%;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid img {
        height: 210px;
    }

    .patent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .patent-grid img {
        height: 190px;
    }

    section h2 {
        font-size: 20px;
    }

    .card {
        padding: 14px;
    }

}