/* ========== /assets/home/css/home.css - 方案A（蓝色为主）========== */

/* ========== HERO区域 ========== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    background: url('/assets/home/images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 40px;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.hero p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    font-size: 14px;
}

.hero .btn-outline {
    border-color: rgba(255,255,255,0.8);
    color: var(--white);
    padding: 10px 24px;
    font-size: 14px;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
    .hero { min-height: 80vh; }
    .hero .container { padding-bottom: 50px; }
    .hero-tag { font-size: 13px; margin-bottom: 20px; }
    .hero h1 { font-size: 40px; margin-bottom: 16px; }
    .hero p { font-size: 15px; margin-bottom: 24px; }
    .hero .btn-primary,
    .hero .btn-outline { padding: 12px 28px; }
}

@media (min-width: 1200px) {
    .hero { min-height: 85vh; }
    .hero .container { padding-bottom: 70px; }
    .hero-tag { font-size: 14px; margin-bottom: 24px; }
    .hero h1 { font-size: 46px; margin-bottom: 20px; }
    .hero p { font-size: 17px; margin-bottom: 28px; }
    .hero .btn-primary,
    .hero .btn-outline { padding: 14px 32px; font-size: 15px; }
}

@media (min-width: 1600px) {
    .hero .container { padding-bottom: 90px; }
}

/* ========== 工厂模块 - 左右分栏 ========== */
.facility-alt {
    padding: 80px 0;
    background: var(--white);
}

.facility-grid-alt {
    display: grid;
    gap: 48px;
}

@media (min-width: 992px) {
    .facility-grid-alt {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
        align-items: start;
    }
}

.facility-info {
    background: var(--gray-light);
    padding: 40px 32px;
    border-radius: 32px;
}

.info-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-title i {
    color: var(--accent);
    margin-right: 12px;
}

.info-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 28px;
}

.info-desc strong {
    color: var(--accent);
}

.info-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-mid);
}

.stat-block {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-text {
    font-size: 13px;
    color: var(--gray-dark);
}

/* 右侧图片网格 */
.facility-grid-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.facility-grid-gallery img {
    width: 100%;
    height: 223px;
    object-fit: cover;
    border-radius: 16px;
    transition: var(--transition);
}

.facility-grid-gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

@media (min-width: 1200px) {
    .facility-info {
        padding: 48px 40px;
    }
    .info-title { font-size: 32px; }
    .stat-number { font-size: 32px; }
}

/* ========== 服务流程模块 ========== */
.process {
    padding: 80px 0;
    background: var(--gray-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    font-size: 44px;
    color: var(--accent);
    margin-bottom: 16px;
}

.process-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.process-step p {
    font-size: 13px;
    color: var(--gray-dark);
    line-height: 1.5;
}

/* ========== 精选产品 ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-img {
    width: 100%;
    height: 220px;
    background: var(--gray-light);
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    padding-right: 56px;
    min-height: 100px;
}

.product-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-desc {
    font-size: 13px;
    color: var(--gray-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quick-quote-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.quick-quote-icon:hover {
    background: var(--accent-dark);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .product-info {
        padding: 16px;
        padding-right: 48px;
    }
    .quick-quote-icon {
        width: 36px;
        height: 36px;
        bottom: 12px;
        right: 12px;
    }
    .quick-quote-icon i { font-size: 14px; }
    .product-title { font-size: 14px; }
    .product-desc { font-size: 12px; }
}

@media (min-width: 1200px) {
    .product-info {
        padding: 24px;
        padding-right: 64px;
    }
    .quick-quote-icon {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }
    .quick-quote-icon i { font-size: 20px; }
}

/* ========== 行业解决方案 ========== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.industry-card {
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-6px);
}

.industry-img {
    width: 100%;
    height: 150px;
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-card:hover .industry-img {
    box-shadow: var(--shadow-hover);
}

.industry-img i {
    font-size: 48px;
    color: var(--accent);
}

/* ========== 优势+工厂 ========== */
.why-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.why-list {
    list-style: none;
}

.why-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
}

.why-list i {
    color: var(--accent);
    font-size: 20px;
    width: 24px;
}

.factory-img {
    background: var(--gray-mid);
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.factory-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Blog ========== */
.blog-grid {
    display: grid;
    gap: 28px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
}

.blog-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--gray-dark);
}

/* CTA 横幅样式 - 蓝色版 */
.cta-banner {
    background: var(--white);
    color: var(--primary);
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--gray-mid);
    border-bottom: 1px solid var(--gray-mid);
}

.cta-banner h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
}

.cta-banner h2 i {
    color: var(--accent);
    margin-right: 12px;
}

.cta-banner .btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
}

.cta-banner .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .cta-banner {
        padding: 50px 20px;
    }
    .cta-banner h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .cta-banner .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ========== 工具类 ========== */
.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 56px;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.section-title i {
    color: var(--accent);
    margin-right: 12px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 36px;
        margin-bottom: 64px;
    }
}

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }