/* ============================================
   永康市善恒科技有限公司 - 电脑版样式
   设计风格：简洁大气、企业蓝+质感金
   ============================================ */

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

:root {
    --primary: #1a3a5c;
    --primary-light: #2c5282;
    --primary-dark: #0f2942;
    --accent: #c89b3c;
    --accent-light: #e0b85f;
    --bg-light: #f5f7fa;
    --bg-gray: #eef1f5;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --text-light: #bdc3c7;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 顶部通知栏 ---------- */
.top-bar {
    background: var(--primary-dark);
    color: var(--text-light);
    font-size: 13px;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info span {
    margin-right: 24px;
}

.top-bar .contact-info i {
    color: var(--accent);
    margin-right: 6px;
}

/* ---------- 导航栏 ---------- */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu a {
    padding: 10px 18px;
    font-size: 15px;
    color: var(--text-dark);
    border-radius: var(--radius);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 24px;
}

/* ---------- Hero横幅 ---------- */
.hero {
    position: relative;
    height: 480px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(200, 155, 60, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 82, 130, 0.3) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.5) 35px, rgba(255,255,255,.5) 70px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content h2 span {
    color: var(--accent-light);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 155, 60, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ---------- 通用Section ---------- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h3 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-header .subtitle {
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 15px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---------- 企业简介 ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-text p strong {
    color: var(--text-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
    color: var(--white);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.stat-number span {
    font-size: 16px;
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
    transition: var(--transition);
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image .placeholder-text {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    text-align: center;
}

.about-image .placeholder-text i {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

/* ---------- 产品图册 ---------- */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 2px solid var(--bg-gray);
    background: var(--white);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-light);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-image .placeholder {
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
}

.product-image .placeholder i {
    font-size: 56px;
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* 多图：主图 + 缩略图条（点击切换主图） */
.product-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    flex-wrap: wrap;
    background: var(--bg-gray, #f5f7fa);
    border-top: 1px solid #eef1f5;
}

.product-thumb {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease;
}

.product-thumb:hover {
    border-color: #c9d4e0;
}

.product-thumb.active {
    border-color: var(--accent, #c89b3c);
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.product-info {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-code {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.product-info h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.3;
}

.product-capacity {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
    align-self: flex-start;
}

.product-specs {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: auto;
}

.product-specs .spec-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.product-specs .spec-row:last-child {
    border-bottom: none;
}

.product-specs .spec-label {
    color: var(--text-light);
    font-size: 11px;
}

.product-specs .spec-value {
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- 生产场景 ---------- */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.factory-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--bg-gray);
    cursor: pointer;
    transition: var(--transition);
}

.factory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.factory-item:hover img {
    transform: scale(1.05);
}

.factory-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.factory-item .placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.4);
    text-align: center;
    font-size: 13px;
}

.factory-item .placeholder i {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.factory-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--bg-gray);
    background: var(--bg-light);
}

.factory-placeholder .factory-placeholder-inner {
    text-align: center;
    color: var(--text-gray);
}

.factory-placeholder .placeholder-icon {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    padding: 12px 20px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: inline-block;
}

.factory-placeholder p {
    font-size: 13px;
    color: var(--text-gray);
}

/* 隐藏产品筛选栏（无分类时） */
.product-filter:empty {
    display: none;
}

.factory-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    transform: translateY(0);
    transition: var(--transition);
}

.factory-overlay h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.factory-overlay p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* ---------- 客户信息收录 ---------- */
.collect-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.collect-info h4 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.collect-info p {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.9;
}

.collect-features {
    display: grid;
    gap: 16px;
}

.collect-feature {
    display: flex;
    gap: 16px;
    align-items: start;
}

.collect-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.collect-feature-text h5 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.collect-feature-text p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

.collect-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-gray);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 2px;
}

.form-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.3);
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success .success-icon {
    width: 64px;
    height: 64px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
}

.form-success h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ---------- 联系我们 ---------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent);
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    flex-shrink: 0;
}

.contact-card-info h5 {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.contact-card-info p {
    font-size: 17px;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-card-info .sub {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 400;
    margin-top: 4px;
}

.contact-qr {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-qr h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-qr p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.qr-box {
    display: inline-block;
    padding: 16px;
    background: var(--white);
    border: 2px solid var(--bg-gray);
    border-radius: var(--radius);
}

.qr-box img {
    width: 180px;
    height: 180px;
}

.qr-tip {
    margin-top: 16px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

/* ---------- 地图 ---------- */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    text-align: center;
    color: var(--text-gray);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--text-light);
    display: block;
    margin-bottom: 12px;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col h5 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-hover);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

/* ---------- 移动端切换提示 ---------- */
.mobile-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    text-align: center;
    z-index: 9999;
    font-size: 14px;
}

.mobile-banner a {
    color: var(--accent-light);
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- 产品图片 Lightbox ---------- */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    cursor: default;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 滚轮可缩放：激活态提示可缩放光标 */
.lightbox-overlay.active .lightbox-image { cursor: zoom-in; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    color: #fff;
    font-size: 16px;
    margin-top: 16px;
    text-align: center;
    max-width: 80vw;
    cursor: default;
    font-family: "Microsoft YaHei", sans-serif;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    cursor: default;
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* ---------- 响应式微调 ---------- */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-banner {
        display: block;
    }
    .nav-menu {
        display: none;
    }
    .top-bar {
        display: none;
    }
}
