/* 施工主营业务页面 - 通用样式（基于水系统页面模板） */

/* 容器系统 */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 统一标签 */
.w-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #d12b26;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Hero - 全屏沉浸式 */
.w-hero {
    position: relative;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}

.w-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center ;
}

.w-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.w-hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.w-hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.w-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.w-hero-scroll {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    animation: float 2s ease-in-out infinite;
}

.w-hero-scroll i {
    font-size: 1.2rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* 按钮尺寸 */
.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

/* 概览 - 非对称大图 */
.w-overview {
    padding: 6rem;
}

.w-overview-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.w-overview-media img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    border-radius: 8px;
}

.w-overview-content h2 {
    font-size: 2.8rem;
    color: #0b2b3a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.w-overview-content p {
    font-size: 1.1rem;
    color: #425466;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.w-check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.w-check-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: #374151;
}

.w-check-list i {
    color: #d12b26;
    font-size: 1.2rem;
}

/* 核心能力 - 左右分栏交替 */
.w-capabilities {
    padding-top: 4rem;
    background: #ffffff;
}

.w-section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.w-section-header h2 {
    font-size: 3rem;
    color: #07112a;
    font-weight: 900;
}

.w-cap-layout {
    display: flex;
    flex-direction: column;
}

.w-cap-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 65vh;
    background: #fff;
}

.w-cap-block:nth-child(even) {
    background: #f9fafb;
}

/* 左文右图（默认） */
.w-cap-block .w-cap-text {
    padding: 6rem 8rem 6rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.w-cap-block .w-cap-img {
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* 左图右文（反向） */
.w-cap-block.reverse .w-cap-text {
    padding: 6rem 6rem 6rem 8rem;
    order: 2;
}

.w-cap-block.reverse .w-cap-img {
    order: 1;
}

.w-cap-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #07112a;
    margin-bottom: 1.5rem;
}

.w-cap-text p {
    font-size: 1.25rem;
    line-height: 2;
    color: #6b7280;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.w-cap-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.w-cap-block:hover .w-cap-img img {
    transform: scale(1.05);
}

/* 流程 - 横向手风琴 */
.w-process {
    padding: 10rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
}

.w-accordion {
    display: flex;
    gap: 1rem;
    height: 600px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.w-accordion::-webkit-scrollbar {
    display: none;
}

.w-accordion-item {
    flex: 0 0 calc(9 / 16 * 600px);
    background-color: #d12c26c4;
    border: 1px solid #d12b26;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}



.w-accordion-item.active {
    flex: 0 0 calc(12 / 16 * 600px);
    transform: translateY(0);
}

.w-accordion-item:not(.active):hover {
    transform: translateY(-2px);
}

.w-accordion-num {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    transition: all 0.4s ease;
    z-index: 2;
}

.w-accordion-item.active .w-accordion-num {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

.w-accordion-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    z-index: 2;
}

.w-accordion-item.active .w-accordion-content {
    opacity: 1;
    transform: translateY(0);
}

.w-accordion-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.w-accordion-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* CTA - 极简居中 */
.w-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff5f3, #f0f5ff);
    text-align: center;
}

.w-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.w-cta-content h2 {
    font-size: 2rem;
    color: #0b2b3a;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.w-cta-content p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.w-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========== 移动端适配 (≤ 1024px) ========== */
@media (max-width: 1024px) {
    .container-wide {
        padding: 0 2rem;
    }

    .container-narrow {
        padding: 0 1.5rem;
    }

    .w-hero {
        min-height: 600px;
        height: 80vh;
    }

    .w-hero-content {
        padding: 0 1.5rem;
    }

    .w-hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .w-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .w-hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        max-width: 320px;
        margin: 0 auto;
    }

    .w-hero-actions .btn {
        width: 100%;
    }

    .w-hero-scroll {
        bottom: 2rem;
        font-size: 0.75rem;
    }

    .w-overview {
        padding: 4rem 2rem;
    }

    .w-overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .w-overview-media img {
        height: 400px;
    }

    .w-overview-content h2 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .w-overview-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .w-check-list {
        gap: 0.8rem;
    }

    .w-check-list li {
        font-size: 1rem;
    }

    .w-capabilities {
        padding: 4rem 0;
    }

    .w-section-header {
        margin-bottom: 3rem;
        padding: 0 2rem;
    }

    .w-section-header h2 {
        font-size: 2rem;
    }

    .w-cap-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .w-cap-block .w-cap-text,
    .w-cap-block.reverse .w-cap-text {
        padding: 3rem 2rem;
        order: 2;
    }

    .w-cap-text h3 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .w-cap-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .w-cap-block .w-cap-img,
    .w-cap-block.reverse .w-cap-img {
        order: 1;
        min-height: 280px;
    }

    .w-process {
        padding: 4rem 0;
    }

    .w-accordion {
        flex-direction: column;
        height: auto;
        gap: 0.8rem;
    }

    .w-accordion-item {
        flex: 0 0 140px;
        border-radius: 16px;
    }

    .w-accordion-item.active {
        flex: 0 0 240px;
    }

    .w-accordion-num {
        font-size: 3rem;
        top: 1.5rem;
        left: 1.5rem;
    }

    .w-accordion-item.active .w-accordion-num {
        font-size: 3.5rem;
    }

    .w-accordion-content {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
    }

    .w-accordion-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .w-accordion-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .w-cta {
        padding: 4rem 2rem;
    }

    .w-cta-content {
        padding: 0 1rem;
    }

    .w-cta-content h2 {
        font-size: 1.7rem;
        margin-bottom: 0.8rem;
    }

    .w-cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .w-cta-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .w-cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ========== 超小屏幕适配 (≤ 480px) ========== */
@media (max-width: 480px) {

    .container-wide,
    .container-narrow {
        padding: 0 1rem;
    }

    .w-hero {
        min-height: 500px;
    }

    .w-hero-content {
        padding: 0 1rem;
    }

    .w-hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .w-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .w-hero-actions {
        max-width: 100%;
    }

    .w-hero-scroll {
        bottom: 1.5rem;
        font-size: 0.7rem;
    }

    .w-hero-scroll i {
        font-size: 1rem;
    }

    .w-overview {
        padding: 3rem 1rem;
    }

    .w-overview-grid {
        gap: 2rem;
    }

    .w-overview-media img {
        height: 280px;
        border-radius: 12px;
    }

    .w-overview-content h2 {
        font-size: 1.5rem;
    }

    .w-overview-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .w-check-list li {
        font-size: 0.9rem;
    }

    .w-check-list i {
        font-size: 1rem;
    }

    .w-capabilities {
        padding: 3rem 0;
    }

    .w-section-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .w-section-header h2 {
        font-size: 1.5rem;
    }

    .w-section-header p.muted {
        font-size: 0.9rem;
    }

    .w-cap-block .w-cap-text,
    .w-cap-block.reverse .w-cap-text {
        padding: 2.5rem 1.5rem;
    }

    .w-cap-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .w-cap-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .w-cap-block .w-cap-img,
    .w-cap-block.reverse .w-cap-img {
        min-height: 220px;
    }

    .w-process {
        padding: 3rem 0;
    }

    .w-accordion {
        gap: 0.6rem;
    }

    .w-accordion-item {
        flex: 0 0 100px;
        border-radius: 12px;
    }

    .w-accordion-item.active {
        flex: 0 0 200px;
    }

    .w-accordion-num {
        font-size: 2.5rem;
        top: 1rem;
        left: 1rem;
    }

    .w-accordion-item.active .w-accordion-num {
        font-size: 3rem;
    }

    .w-accordion-content {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .w-accordion-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .w-accordion-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .w-cta {
        padding: 3rem 1rem;
    }

    .w-cta-content {
        padding: 0;
    }

    .w-cta-content h2 {
        font-size: 1.4rem;
    }

    .w-cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .w-cta-actions {
        gap: 0.6rem;
    }

    .w-cta-actions .btn {
        max-width: 100%;
    }

    .btn-lg {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
}