/* ============================================
   世纪奥洁 - 内页专属样式
   涵盖：services / technology / cases / contact
   ============================================ */

/* ========== 服务项目 ========== */
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card-item {
    background: var(--white); border-radius: var(--radius);
    padding: 40px 32px; box-shadow: var(--shadow);
    transition: all 0.3s; border: 1px solid rgba(12,74,110,0.05);
}
.service-card-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--highlight), var(--primary));
    border-radius: 14px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--white);
}
.service-card-item h3 { font-size: 20px; color: var(--primary); margin-bottom: 12px; }
.service-card-item p { font-size: 15px; color: var(--text-light); line-height: 1.8; }
.service-tag {
    display: inline-block; background: rgba(56,189,248,0.1);
    color: var(--primary); padding: 6px 14px; border-radius: 20px;
    font-size: 13px; margin-top: 16px;
}

/* ========== 服务流程 ========== */
.process-flow { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.process-step {
    text-align: center; width: 160px;
    background: var(--white); border-radius: var(--radius);
    padding: 24px 16px; box-shadow: var(--shadow);
    position: relative;
}
.process-step-num {
    width: 40px; height: 40px; background: var(--primary);
    border-radius: 50%; color: var(--white); font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.process-step h4 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ========== 技术与设备 ========== */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.tech-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tech-card-img { height: 200px; overflow: hidden; }
.tech-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tech-card:hover .tech-card-img img { transform: scale(1.05); }
.tech-card-body { padding: 24px; }
.tech-card-body h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.tech-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ========== 设备规格表 ========== */
.equip-table { width: 100%; border-collapse: collapse; }
.equip-table th, .equip-table td {
    padding: 14px 16px; border-bottom: 1px solid rgba(12,74,110,0.06);
    text-align: left;
}
.equip-table th { background: rgba(12,74,110,0.03); font-size: 14px; color: var(--primary); font-weight: 600; }
.equip-table td { font-size: 14px; color: var(--text); }

/* ========== 合作案例 ========== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card-item {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s;
}
.case-card-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card-img { height: 200px; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card-item:hover .case-card-img img { transform: scale(1.05); }
.case-card-info { padding: 20px; }
.case-card-info h3 { font-size: 18px; color: var(--primary); margin-bottom: 6px; }
.case-card-info .case-tag { font-size: 13px; color: var(--accent); display: block; margin-bottom: 10px; }
.case-card-info p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ========== 客户评价 ========== */
.testimonial-card {
    background: var(--bg); border-radius: var(--radius);
    padding: 30px; position: relative; border-left: 4px solid var(--accent);
}
.testimonial-card blockquote {
    font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 16px;
    font-style: italic;
}
.testimonial-card .author { font-size: 15px; color: var(--primary); font-weight: 600; }
.testimonial-card .role { font-size: 13px; color: var(--text-light); }

/* ========== 联系我们 ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card {
    background: var(--white); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 20px; color: var(--primary); margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-item-icon {
    width: 48px; height: 48px; background: rgba(12,74,110,0.06);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--primary); flex-shrink: 0;
}
.contact-item-text h4 { font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.contact-item-text p { font-size: 14px; color: var(--text-light); }

.map-section { background: var(--white); }
.map-wrapper {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid rgba(12,74,110,0.05);
}
.map-frame { width: 100%; height: 420px; border: none; display: block; }
.map-placeholder-lg {
    width: 100%; height: 420px;
    background: linear-gradient(135deg, #E0F2FE, #F0F9FF);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 16px;
}
.map-pin {
    width: 64px; height: 64px; background: var(--accent);
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(180,83,9,0.3); margin-bottom: 8px;
}
.map-pin svg { transform: rotate(45deg); }
.map-placeholder-lg h4 { font-size: 20px; color: var(--primary); }
.map-placeholder-lg p { font-size: 15px; color: var(--text-light); }
.map-info-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 32px; background: var(--white); }
.map-info-item { display: flex; align-items: start; gap: 14px; }
.map-info-icon {
    width: 44px; height: 44px; background: rgba(12,74,110,0.05);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--primary); flex-shrink: 0;
}
.map-info-item h4 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.map-info-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ========== 数据看板（内页） ========== */
.stats-board {
    display: flex; justify-content: center; gap: 48px;
    padding: 40px; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-number { font-size: 42px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 8px; }
.stat-divider { width: 1px; background: rgba(12,74,110,0.1); }

/* ========== About intro ========== */
.intro-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 32px;
    line-height: 1.35;
    color: var(--primary);
    margin-bottom: 24px;
}

.intro-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 20px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.intro-img img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.timeline {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0 16px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(12,74,110,0.12);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-left: 0;
    margin-bottom: 56px;
    padding: 0 46px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    margin-left: 0;
    padding: 0 46px;
    text-align: left;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 4px;
    right: auto;
    left: 100%;
    width: 18px;
    height: 18px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(180,83,9,0.18);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: 0;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(12,74,110,0.06);
}

.timeline-content h3 {
    font-size: 24px;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
}

/* ========== CTA Banner ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), #164E63);
    color: var(--white); padding: 60px 0; text-align: center;
}
.cta-banner h2 { font-size: 28px; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; opacity: 0.85; margin-bottom: 24px; }
.cta-banner .btn-primary { display: inline-flex; }

/* ========== 内页响应式 ========== */
@media (max-width: 1024px) {
    .service-card-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-board { flex-wrap: wrap; gap: 24px; }
    .stat-divider { display: none; }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .intro-img img { height: 360px; }
}
/* ========== 洗涤知识搜索与分类 ========== */
.search-category-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    background-color: #F8FAFC;
}

/* 统一背景色 */
.breadcrumb-bar,
.faq-section,
.standard-section,
.guide-section,
.section#knowledge {
    background-color: #F8FAFC !important;
}

/* 确保所有相关section背景一致 */
.faq-section .section,
.standard-section .section,
.guide-section .section,
.section#knowledge .section {
    background-color: #F8FAFC !important;
}

.search-container {
    flex: 1;
    max-width: 500px;
    display: flex;
    gap: 12px;
}

.search-container input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid rgba(12,74,110,0.15);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.search-container input:focus {
    border-color: var(--primary);
}

.search-container button {
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-container button:hover {
    background: #083344;
}

.category-tabs-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid rgba(12,74,110,0.1);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.category-tab:hover, .category-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* 搜索结果区域 */
.search-results-section {
    display: none;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.search-results-section.active {
    display: block;
}

.search-results-list {
    display: grid;
    gap: 16px;
}

.search-result-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-result-card h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.search-result-card h4 a {
    color: var(--primary);
    text-decoration: none;
}

.search-result-card h4 a:hover {
    color: var(--accent);
}

.search-result-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.search-no-result {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.search-no-result svg {
    width: 64px;
    height: 64px;
    stroke: var(--text-light);
    margin-bottom: 16px;
}

.search-no-result h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
}

.search-no-result p {
    font-size: 14px;
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 768px) {
    .search-category-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .category-tabs-wrapper {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .service-card-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .process-flow { flex-direction: column; align-items: center; }
    .map-frame, .map-placeholder-lg { height: 280px; }
    .map-info-bar { grid-template-columns: 1fr; }
    .cta-banner h2 { font-size: 22px; }
}

/* ========== Tags标签列表样式 ========== */
.tags-section {
    background-color: #F8FAFC;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

.tag-item {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--white);
    border: 2px solid rgba(12,74,110,0.15);
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.tag-item.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* 文章列表样式 */
.articles-section {
    background-color: #F8FAFC;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card-body {
    padding: 24px;
}

.article-card-body h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}

.article-card-body h3 a {
    color: var(--primary);
    text-decoration: none;
}

.article-card-body h3 a:hover {
    color: var(--accent);
}

.article-card-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(12,74,110,0.08);
    color: var(--primary);
    font-size: 12px;
}

.no-articles {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
}

.no-articles h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
}

.no-articles p {
    font-size: 14px;
    color: var(--text-light);
}

/* Tags响应式 */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .tags-container {
        justify-content: flex-start;
    }

    .intro-grid {
        gap: 28px;
    }

    .intro-text h2 {
        font-size: 25px;
    }

    .intro-text p {
        font-size: 15px;
    }

    .intro-img img {
        height: 260px;
    }

    .timeline {
        padding: 28px 0 0 24px;
    }

    .timeline::before {
        top: 28px;
        left: 8px;
        transform: none;
    }

    .timeline-item {
        display: block;
        width: 100%;
        left: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 24px;
        padding: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        right: auto !important;
        left: -16px !important;
        top: 20px;
        width: 16px;
        height: 16px;
        transform: translateX(-50%);
    }

    .timeline-content {
        padding: 22px 24px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }
}
