/* 首页特定样式 */

/* 英雄区域 */
.hero {
    background: url('../images/indexbg.jpg') no-repeat right top;
    background-size: 100% auto;
    padding:20px 0;
    position: relative;
}

.hero .container {
    position: relative;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
    text-align: left;
}

.hero-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    text-align: left;
}

.hero-features {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-feature-icon {
    width: 56px;
    height: 56px;
    background-color: #ffffff;
    border-radius:28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-feature-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.hero-feature-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.hero-feature-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.hero-feature-desc {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #1a73e8;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #1557b0;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-outline {
    background-color: transparent;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.btn-outline:hover {
    background-color: #0156b8;
}

.hero-contact-card {
    position: absolute;
    right: 120px;
    bottom: -60px;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 380px;
}

.hero-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-contact-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.hero-contact-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.hero-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-contact-label {
    font-size: 13px;
    color: #666;
}

.hero-contact-phone {
    font-size: 24px;
    font-weight: 700;
    color: #1a73e8;
    letter-spacing: 0.5px;
}

.hero-contact-time {
    font-size: 12px;
    color: #999;
}

/* 最新文章区 */
.articles-section {
    padding: 40px 0;
    background-color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

.view-all-link {
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.article-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

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

.article-image {
    width: 100%;
    height: 95px;
    object-fit: cover;
    background-color: #f5f5f5;
}

.article-content {
    padding: 12px;
}

.article-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.article-date,
.article-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 常见问题和服务介绍区 */
.faq-services-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.faq-services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 常见问题列 */
.faq-column {
    background-color: transparent;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #1a73e8;
    background-color: #f8fbff;
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.faq-icon svg {
    width: 20px;
    height: 20px;
    fill: #1a73e8;
}

.faq-content {
    flex: 1;
}

.faq-question {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.faq-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-arrow svg {
    width: 16px;
    height: 16px;
    fill: #ccc;
    transition: all 0.3s;
}

.faq-item:hover .faq-arrow svg {
    fill: #1a73e8;
}

/* 服务介绍列 */
.services-column {
    background-color: transparent;
}

.services-column .section-title {
    margin-bottom: 30px;
}

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

.service-card {
    text-align: center;
    padding: 10px 10px;
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s;
}

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

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.service-icon svg {
    width: 36px;
    height: 36px;
    fill: #1a73e8;
}

.service-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-contact-card {
        position: static;
        transform: none;
        margin: 40px auto 0;
        max-width: 400px;
    }

    .faq-services-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-features {
        flex-direction: column;
        gap: 24px;
    }

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

    .faq-services-wrapper {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
