* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.7;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 页面头部横幅 */
.page-header {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.page-header p {
    font-size: 18px;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
}
/* 工厂详情主体 */
.factory-detail-section {
    padding: 60px 0;
}
.factory-main-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.factory-detail-section h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 24px;
    font-weight: 600;
}
.factory-detail-section h3 {
    font-size: 22px;
    color: #2c3e50;
    margin: 36px 0 12px;
    font-weight: 500;
}
.factory-detail-section p {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
}
/* 工厂图集 */
.factory-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.factory-gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.factory-gallery-item img:hover {
    transform: scale(1.03);
}
/* 询盘区块 */
.inquiry-section {
    background-color: #f7f9fa;
    padding: 60px 0;
    margin-top: 40px;
}
.inquiry-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}
.inquiry-wrap h2 {
    font-size: 30px;
    color: #222;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 600;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}
.form-group textarea {
    resize: vertical;
}
button[type="submit"] {
    width: 100%;
    padding: 16px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.3s;
}
button[type="submit"]:hover {
    background: #1a2530;
}
button:disabled {
    background:#60788c;
    cursor: not-allowed;
}
/* 响应式适配 */
@media (max-width: 992px) {
    .factory-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .factory-gallery-item img {
        height: 200px;
    }
}
@media (max-width: 576px) {
    .page-header h1 {
        font-size: 30px;
    }
    .factory-gallery {
        grid-template-columns: 1fr;
    }
    .factory-gallery-item img {
        height: 240px;
    }
}
