/* ========================================
   CBAM碳关税服务页面样式
   思誉碳探网站 - 2025
   ======================================== */

/* ---------- 通用区块 ---------- */
.cbam-section {
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}
.cbam-section:last-of-type {
    border-bottom: none;
}
.cbam-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.cbam-section-title h2 {
    font-size: 32px;
    color: #222;
    margin: 0 0 12px;
    font-weight: 700;
}
.cbam-title-en {
    font-size: 18px;
    color: #999;
    font-weight: 400;
    letter-spacing: 1px;
}
.cbam-title-desc {
    font-size: 16px;
    color: #666;
    max-width: 840px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- 第一屏：什么是CBAM ---------- */
.cbam-intro-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.cbam-intro-left {
    flex: 1;
    background: #f8fdf9;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e0f0e5;
}
.cbam-intro-left h3 {
    font-size: 20px;
    color: #1e8c58;
    margin: 0 0 20px;
    text-align: center;
}
.cbam-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.cbam-industry-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}
.cbam-industry-item:hover {
    border-color: #27ae60;
    box-shadow: 0 4px 16px rgba(39,174,96,.12);
    transform: translateY(-3px);
}
.cbam-item-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}
.cbam-industry-item span {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}
.cbam-intro-note {
    font-size: 13px;
    color: #888;
    text-align: center;
    line-height: 1.7;
    margin: 0;
}
.cbam-intro-right {
    flex: 1;
}
.cbam-info-card {
    background: linear-gradient(135deg, #1e8c58, #27ae60);
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cbam-info-card h3 {
    font-size: 20px;
    margin: 0 0 24px;
    text-align: center;
}
.cbam-standard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.cbam-standard-item:last-child {
    border-bottom: none;
}
.cbam-standard-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.cbam-standard-text {
    font-size: 15px;
    line-height: 1.5;
}

/* ---------- 第二屏：CBAM运行时间线 ---------- */
.cbam-timeline-container {
    position: relative;
    padding: 0 20px;
}
.cbam-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #f5a623, #ff9800, #e74c3c);
    transform: translateX(-50%);
    border-radius: 2px;
}
.cbam-timeline-items {
    position: relative;
}
.cbam-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}
.cbam-timeline-item:last-child {
    margin-bottom: 0;
}
.cbam-timeline-item:nth-child(odd) {
    justify-content: flex-end;
}
.cbam-timeline-item:nth-child(odd) .cbam-timeline-dot {
    order: 2;
    margin: 0 0 0 -10px;
}
.cbam-timeline-item:nth-child(odd) .cbam-timeline-content {
    margin-right: 50px;
}
.cbam-timeline-item:nth-child(even) .cbam-timeline-dot {
    margin: 0 -10px 0 0;
}
.cbam-timeline-item:nth-child(even) .cbam-timeline-content {
    margin-left: 50px;
}
.cbam-timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #27ae60;
    flex-shrink: 0;
    margin-top: 26px;
    z-index: 2;
    position: relative;
}
.cbam-timeline-content {
    flex: 1;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px 28px;
    transition: all .3s;
    max-width: 500px;
}
.cbam-timeline-content:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-color: #27ae60;
}
.cbam-timeline-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.tag-yellow {
    background: #fff8e1;
    color: #f57f17;
}
.tag-orange {
    background: #fff3e0;
    color: #e65100;
}
.tag-red {
    background: #fce4ec;
    color: #c62828;
}
.cbam-timeline-content h4 {
    font-size: 20px;
    color: #222;
    margin: 8px 0 4px;
}
.cbam-timeline-date {
    font-size: 14px;
    color: #999;
    margin: 0 0 12px;
}
.cbam-timeline-content ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}
.cbam-timeline-content ul li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* ---------- 第三屏：我们可以帮您做什么 ---------- */
.cbam-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cbam-service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    transition: all .3s;
}
.cbam-service-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    transform: translateY(-4px);
}
.cbam-service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.cbam-service-icon svg {
    display: block;
}
.cbam-service-card h4 {
    font-size: 19px;
    color: #222;
    margin: 0 0 10px;
}
.cbam-service-card > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 12px;
}
.cbam-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cbam-service-card ul li {
    background: #f5f5f5;
    color: #555;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ---------- 第四屏：服务流程 ---------- */
.cbam-process {
    background: #fafbfc;
}
.cbam-process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.cbam-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}
.cbam-process-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 16px;
    transition: all .3s;
}
.cbam-process-step:hover .cbam-process-circle {
    background: #27ae60;
    border-color: #27ae60;
}
.cbam-process-step:hover .cbam-process-circle .cbam-process-num {
    color: #fff;
}
.cbam-process-num {
    font-size: 24px;
    font-weight: 800;
    color: #27ae60;
    position: absolute;
}
.cbam-process-icon-wrap {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.cbam-process-card {
    text-align: center;
    padding: 0 10px;
}
.cbam-process-card h4 {
    font-size: 16px;
    color: #222;
    margin: 0 0 8px;
}
.cbam-process-card p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}
.cbam-process-arrow {
    font-size: 28px;
    color: #ccc;
    padding-top: 22px;
    margin: 0 -8px;
    font-weight: 700;
}

/* ---------- 第五屏：企业应对CBAM挑战 ---------- */
.cbam-challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cbam-challenge-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px;
    transition: all .3s;
}
.cbam-challenge-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border-color: #27ae60;
}
.cbam-challenge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.cbam-challenge-num {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e8c58, #27ae60);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cbam-challenge-header h4 {
    font-size: 18px;
    color: #222;
    margin: 0;
}
.cbam-challenge-card > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 14px;
}
.cbam-challenge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cbam-challenge-tags span {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 16px;
}

/* ---------- 第六屏：为什么选择我们 ---------- */
.cbam-why {
    background: linear-gradient(180deg, #f8fdf9, #fff);
}
.cbam-advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cbam-advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8f0eb;
    transition: all .3s;
}
.cbam-advantage-item:hover {
    border-color: #27ae60;
    box-shadow: 0 4px 20px rgba(39,174,96,.1);
    transform: translateY(-3px);
}
.cbam-advantage-item h3 {
    font-size: 36px;
    color: #1e8c58;
    margin: 0 0 8px;
    font-weight: 800;
}
.cbam-advantage-item p {
    font-size: 15px;
    color: #888;
    margin: 0;
}

/* ---------- 底部CTA ---------- */
.cbam-cta {
    padding: 0;
    margin-bottom: 40px;
}
.cbam-cta-inner {
    background: linear-gradient(135deg, #1e8c58, #27ae60);
    border-radius: 12px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.cbam-cta-left h3 {
    font-size: 24px;
    color: #fff;
    margin: 0 0 8px;
}
.cbam-cta-left p {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    margin: 0;
}
.cbam-cta-right {
    text-align: center;
}
.cbam-cta-btn {
    display: inline-block;
    background: #fff;
    color: #1e8c58;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 48px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .3s;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.cbam-cta-btn:hover {
    background: #f0fdf5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.cbam-cta-phone {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    margin: 10px 0 0;
}

/* ========================================
   响应式适配 — 四个断点
   1200px: 小桌面/平板横屏
   992px:  平板竖屏
   768px:  大屏手机
   576px:  手机
   ======================================== */

/* ---------- ≤1200px 小桌面 / 平板横屏 ---------- */
@media (max-width: 1200px) {
    .cbam-section { padding: 40px 0; }
    .cbam-section-title h2 { font-size: 28px; }
    .cbam-title-en { font-size: 16px; }
    .cbam-title-desc { font-size: 15px; max-width: 100%; padding: 0 16px; }
    .cbam-intro-grid { gap: 24px; }
    .cbam-process-step { width: 170px; }
    .cbam-process-arrow { margin: 0 -12px; font-size: 22px; }
}

/* ---------- ≤992px 平板竖屏 ---------- */
@media (max-width: 992px) {
    .cbam-section { padding: 36px 0; }
    .cbam-section-title { margin-bottom: 30px; }
    .cbam-section-title h2 { font-size: 26px; }
    .cbam-title-desc { font-size: 14px; }

    /* 第一屏: 什么是CBAM — 上下堆叠 */
    .cbam-intro-grid { flex-direction: column; }
    .cbam-intro-left, .cbam-intro-right { flex: none; }

    /* 服务卡片: 2列变1列 */
    .cbam-services-grid { grid-template-columns: 1fr; gap: 16px; }

    /* 挑战卡片: 2列变1列 */
    .cbam-challenge-grid { grid-template-columns: 1fr; gap: 16px; }

    /* 流程: 箭头隐藏, 步骤缩小 */
    .cbam-process-flow { gap: 12px; }
    .cbam-process-step { width: 140px; }
    .cbam-process-arrow { display: none; }
    .cbam-process-circle { width: 64px; height: 64px; }
    .cbam-process-num { font-size: 20px; }
    .cbam-process-card h4 { font-size: 14px; }
    .cbam-process-card p { font-size: 12px; }

    /* 优势数字: 4列变2列 */
    .cbam-advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cbam-advantage-item { padding: 24px 16px; }
    .cbam-advantage-item h3 { font-size: 30px; }

    /* 时间线: 左右布局 → 单列左对齐 */
    .cbam-timeline-line { left: 18px; }
    .cbam-timeline-item,
    .cbam-timeline-item:nth-child(odd),
    .cbam-timeline-item:nth-child(even) {
        flex-direction: row;
        justify-content: flex-start;
    }
    .cbam-timeline-item:nth-child(odd) .cbam-timeline-dot,
    .cbam-timeline-item:nth-child(even) .cbam-timeline-dot {
        order: 0;
        margin: 2px 16px 0 0;
    }
    .cbam-timeline-item:nth-child(odd) .cbam-timeline-content,
    .cbam-timeline-item:nth-child(even) .cbam-timeline-content {
        margin: 0 0 0 0;
        max-width: none;
        flex: 1;
    }
}

/* ---------- ≤768px 大屏手机横屏 / 小平板 ---------- */
@media (max-width: 768px) {
    .cbam-section { padding: 30px 0; }
    .cbam-section-title h2 { font-size: 24px; }
    .cbam-title-en { display: block; font-size: 14px; margin-top: 4px; }
    .cbam-title-desc { font-size: 13px; line-height: 1.7; }

    /* 行业网格: 3列变2列 */
    .cbam-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cbam-industry-item { padding: 14px 10px; }
    .cbam-item-icon { font-size: 26px; margin-bottom: 6px; }
    .cbam-industry-item span { font-size: 13px; }

    /* 征收标准 */
    .cbam-info-card { padding: 22px; }
    .cbam-info-card h3 { font-size: 17px; margin-bottom: 18px; }
    .cbam-standard-item { padding: 12px 0; gap: 12px; }
    .cbam-standard-num { width: 30px; height: 30px; font-size: 15px; }

    /* 时间线内容缩小 */
    .cbam-timeline-content { padding: 18px 16px; }
    .cbam-timeline-content h4 { font-size: 17px; }
    .cbam-timeline-content ul li { font-size: 13px; }

    /* 服务卡片 */
    .cbam-service-card { padding: 22px; }
    .cbam-service-icon { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 12px; }
    .cbam-service-card h4 { font-size: 17px; }

    /* 流程: 竖排居中，数字在上方，卡片在下方 */
    .cbam-process { padding: 24px 0 !important; }
    .cbam-process-flow {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .cbam-process-step {
        width: 100%;
        max-width: 340px;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .cbam-process-step:last-child { margin-bottom: 0; }
    .cbam-process-arrow {
        display: block;
        font-size: 20px;
        color: #27ae60;
        margin: -8px 0 8px;
        transform: rotate(90deg);
    }
    .cbam-process-circle { width: 60px; height: 60px; margin-bottom: 10px; }
    .cbam-process-num { font-size: 18px; }
    .cbam-process-card { padding: 0; }
    .cbam-process-card h4 { font-size: 15px; }
    .cbam-process-card p { font-size: 12px; }

    /* 挑战卡片 */
    .cbam-challenge-card { padding: 20px; }
    .cbam-challenge-header h4 { font-size: 16px; }
    .cbam-challenge-num { width: 30px; height: 30px; font-size: 14px; }

    /* CTA */
    .cbam-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 16px;
    }
    .cbam-cta-left h3 { font-size: 20px; }
    .cbam-cta-left p { font-size: 13px; }
    .cbam-cta-btn { font-size: 16px; padding: 12px 36px; }
}

/* ---------- ≤576px 手机竖屏 ---------- */
@media (max-width: 576px) {
    .cbam-section { padding: 24px 0; }
    .cbam-section-title { margin-bottom: 22px; }
    .cbam-section-title h2 { font-size: 21px; }
    .cbam-title-desc { font-size: 13px; line-height: 1.65; padding: 0 8px; }

    /* 第一屏: 左右padding缩小 */
    .cbam-intro-left { padding: 18px; }
    .cbam-intro-left h3 { font-size: 17px; margin-bottom: 14px; }
    .cbam-intro-right { padding: 0; }
    .cbam-intro-note { font-size: 12px; }

    /* 行业网格: 仍保持2列但间距更小 */
    .cbam-industry-grid { gap: 8px; }
    .cbam-industry-item { padding: 12px 8px; border-radius: 6px; }
    .cbam-item-icon { font-size: 22px; margin-bottom: 4px; }
    .cbam-industry-item span { font-size: 12px; }

    /* 征收标准卡片 */
    .cbam-info-card { padding: 18px 16px; border-radius: 8px; }
    .cbam-info-card h3 { font-size: 15px; margin-bottom: 14px; }
    .cbam-standard-item { padding: 10px 0; gap: 10px; }
    .cbam-standard-num { width: 26px; height: 26px; font-size: 13px; }
    .cbam-standard-text { font-size: 13px; }

    /* 时间线 */
    .cbam-timeline-line { left: 12px; width: 2px; }
    .cbam-timeline-container { padding: 0 8px; }
    .cbam-timeline-item { margin-bottom: 28px; }
    .cbam-timeline-dot { width: 16px; height: 16px; border-width: 2px; margin-top: 22px; }
    .cbam-timeline-item:nth-child(odd) .cbam-timeline-dot,
    .cbam-timeline-item:nth-child(even) .cbam-timeline-dot { margin-right: 12px; }
    .cbam-timeline-content { padding: 14px 12px; border-radius: 8px; }
    .cbam-timeline-content h4 { font-size: 15px; }
    .cbam-timeline-date { font-size: 12px; }
    .cbam-timeline-content ul { padding-left: 14px; }
    .cbam-timeline-content ul li { font-size: 12px; line-height: 1.65; }
    .cbam-timeline-tag { font-size: 11px; padding: 2px 10px; }

    /* 服务卡片 */
    .cbam-service-card { padding: 16px; border-radius: 8px; }
    .cbam-service-icon { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 10px; }
    .cbam-service-icon svg { width: 40px; height: 40px; }
    .cbam-service-card h4 { font-size: 15px; }
    .cbam-service-card > p { font-size: 12px; line-height: 1.55; }
    .cbam-service-card ul li { font-size: 11px; padding: 3px 10px; }

    /* 流程 */
    .cbam-process-step { max-width: 280px; }
    .cbam-process-circle { width: 52px; height: 52px; }
    .cbam-process-num { font-size: 16px; }
    .cbam-process-card h4 { font-size: 14px; }
    .cbam-process-card p { font-size: 11px; }

    /* 挑战卡片 */
    .cbam-challenge-card { padding: 16px; border-radius: 8px; }
    .cbam-challenge-header h4 { font-size: 14px; }
    .cbam-challenge-num { width: 26px; height: 26px; font-size: 12px; border-radius: 6px; }
    .cbam-challenge-card > p { font-size: 12px; line-height: 1.55; }
    .cbam-challenge-tags span { font-size: 11px; padding: 3px 8px; }

    /* 优势数字: 2列 */
    .cbam-advantage-grid { gap: 10px; }
    .cbam-advantage-item { padding: 18px 12px; border-radius: 8px; }
    .cbam-advantage-item h3 { font-size: 26px; }
    .cbam-advantage-item p { font-size: 13px; }

    /* CTA */
    .cbam-cta { margin-bottom: 24px; }
    .cbam-cta-inner { padding: 24px 16px; border-radius: 8px; }
    .cbam-cta-left h3 { font-size: 17px; }
    .cbam-cta-left p { font-size: 12px; }
    .cbam-cta-btn { font-size: 15px; padding: 10px 30px; border-radius: 6px; }
    .cbam-cta-phone { font-size: 12px; margin-top: 8px; }

    /* 行业hover效果减弱（移动端无hover） */
    .cbam-industry-item:hover { transform: none; box-shadow: none; }
    .cbam-service-card:hover { transform: none; }
}

/* ===== 极小屏 ≤375px ===== */
@media (max-width: 375px) {
    .cbam-section-title h2 { font-size: 19px; }
    .cbam-industry-grid { gap: 6px; }
    .cbam-industry-item { padding: 10px 6px; }
    .cbam-advantage-item h3 { font-size: 22px; }
    .cbam-process-step { max-width: 260px; }
}