/* ============================================================
   新能源业务页面专用样式（PC 端）
   ============================================================ */

/* ============================================================
   1. Hero 轮播区：清洁能源开发
============================================================ */
.ne-hero {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 70px 6%;
}

.ne-hero-slider {
    position: relative;
    min-height: 460px;
}

.ne-hero-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 460px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    inset: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.ne-hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.ne-hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 22px;
    line-height: 1.25;
}

.ne-hero-text p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 520px;
}

.ne-hero-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #071c47;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ne-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 184, 0, 0.35);
}

.ne-hero-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 42, 107, 0.12);
}

.ne-hero-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ne-hero-slide.active .ne-hero-img img {
    transform: scale(1.02);
}

/* 轮播箭头 */
.ne-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 42, 107, 0.12);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ne-hero-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.ne-hero-prev {
    left: 2%;
}

.ne-hero-next {
    right: 2%;
}

/* 轮播圆点 */
.ne-hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.ne-hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(11, 42, 107, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ne-hero-dots span.active,
.ne-hero-dots span:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================================
   2. 成功案例展示
============================================================ */
.ne-cases {
    background: #0b1f4d;
    color: #fff;
    padding: 80px 6%;
}

.ne-section-head {
    text-align: center;
    margin-bottom: 46px;
}

.ne-section-head.light h2,
.ne-section-head.light p {
    color: #fff;
}

.ne-section-head h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.ne-section-head p {
    font-size: 15px;
    color: var(--text-sub);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.ne-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ne-case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
}

.ne-case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ne-case-card:hover img {
    transform: scale(1.08);
}

.ne-case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 28, 71, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.ne-case-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* ============================================================
   3. 新能源市场展望
============================================================ */
.ne-outlook {
    background: #f4f6fb;
    padding: 80px 6%;
    text-align: center;
}

.ne-empty {
    display: inline-block;
    background: #fff;
    color: var(--text-sub);
    font-size: 15px;
    padding: 22px 44px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(11, 42, 107, 0.06);
    border: 1px dashed rgba(11, 42, 107, 0.15);
}

/* ============================================================
   4. 客户满意度
============================================================ */
.ne-satisfaction {
    background: #ffffff;
    padding: 80px 6%;
}

.ne-satisfaction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1160px;
    margin: 0 auto;
}

.ne-satisfaction-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(11, 42, 107, 0.08);
    border: 1px solid rgba(11, 42, 107, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ne-satisfaction-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11, 42, 107, 0.13);
}

.ne-satisfaction-img {
    height: 190px;
    overflow: hidden;
}

.ne-satisfaction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ne-satisfaction-card:hover .ne-satisfaction-img img {
    transform: scale(1.06);
}

.ne-satisfaction-body {
    padding: 24px;
}

.ne-satisfaction-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.ne-satisfaction-body p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 18px;
}

.ne-btn-outline {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ne-btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ============================================================
   5. 滚动渐入动画
============================================================ */
.ne-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.ne-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 列表项交错浮现 */
.ne-cases-grid .ne-case-card:nth-child(1) { transition-delay: 0s; }
.ne-cases-grid .ne-case-card:nth-child(2) { transition-delay: 0.08s; }
.ne-cases-grid .ne-case-card:nth-child(3) { transition-delay: 0.16s; }
.ne-cases-grid .ne-case-card:nth-child(4) { transition-delay: 0.24s; }

.ne-satisfaction-grid .ne-satisfaction-card:nth-child(1) { transition-delay: 0s; }
.ne-satisfaction-grid .ne-satisfaction-card:nth-child(2) { transition-delay: 0.1s; }
.ne-satisfaction-grid .ne-satisfaction-card:nth-child(3) { transition-delay: 0.2s; }

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .ne-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   6. 响应式适配
============================================================ */
@media (max-width: 1200px) {
    .ne-hero-text h1 {
        font-size: 34px;
    }
}

@media (max-width: 992px) {
    .ne-hero {
        padding: 50px 5%;
    }

    .ne-hero-slider {
        min-height: auto;
    }

    .ne-hero-slide {
        grid-template-columns: 1fr;
        gap: 34px;
        text-align: center;
    }

    .ne-hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .ne-hero-img img {
        height: 320px;
    }

    .ne-hero-arrow {
        top: 38%;
    }

    .ne-cases-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ne-satisfaction-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .ne-hero-text h1 {
        font-size: 28px;
    }

    .ne-cases-grid {
        grid-template-columns: 1fr;
    }

    .ne-section-head h2 {
        font-size: 26px;
    }
}
