/* =========================================================
   Services Construction — 頁面專屬樣式
   - 四大團隊卡片網格 teams_grid
   - 四步驟流程 flow_steps
   - 代理實施四階段 agency_list
   - 配合既有 services.css project_card 樣板
   - 章節標題沿用 common.css .section-head（含 .section-head--white）
   ========================================================= */

/* 內頁 Hero 背景圖 */
.services_construction .page-hero.hero-fullbleed::before {
    background-image: url("../images/services_construction/hero.jpg");
}

/* Intro 區塊底圖（覆寫 common.css 預設） */
.services_construction .intro-block {
    padding: 80px 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url("../images/services_construction/intro_banner.jpg") center/cover no-repeat,
        var(--color-white);
}

/* 代理實施 v2-timeline 區塊底圖（覆寫 services.css 預設） */
.services_construction .v2-timeline::before {
    background-image: url("../images/services_construction/timeline_bg.jpg");
}

/* ============================================================
   四大核心團隊
   ============================================================ */
.services_construction .teams_section {
    padding: 130px 0;
    background: var(--color-white);
}

.services_construction .teams_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services_construction .team_card {
    background: #F4F5F7;
    padding: 36px 32px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 320px;
}

.services_construction .team_card .team_icon {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services_construction .team_card .team_icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.services_construction .team_card h3 {
    font-family: var(--font-family-chinese);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-top: auto;
}

.services_construction .team_card p {
    font-size: 0.875rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ============================================================
   四步驟流程
   ============================================================ */
.services_construction .flow_section {
    padding: 130px 0;
    background: var(--color-bg-light);
}

.services_construction .flow_steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.services_construction .flow_step {
    position: relative;
    background: var(--color-white);
    padding: 52px 40px;
    border-top: 3px solid var(--primary-teal);
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 28px;
    row-gap: 12px;
    align-items: start;
}

.services_construction .flow_step .step_num {
    grid-row: 1 / span 2;
    font-family: var(--font-family-numeric);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-gray-2);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0;
}

.services_construction .flow_step h3 {
    grid-column: 2;
    font-family: var(--font-family-chinese);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-primary);
    letter-spacing: 0.04em;
}

.services_construction .flow_step p {
    grid-column: 2;
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin: 0;
}

/* ============================================================
   作品實績 — Tabs（沿用既有 project_card 樣板）
   ============================================================ */
.services_construction .project_tabs {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--color-gray-2);
}

.services_construction .project_tabs .tab_btn {
    background: transparent;
    border: none;
    padding: 16px 28px;
    font-family: var(--font-family-chinese);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-1);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.25s, border-color 0.25s;
    margin-bottom: -1px;
}

.services_construction .project_tabs .tab_btn .count {
    font-family: var(--font-family-numeric);
    font-size: 0.85rem;
    margin-left: 4px;
    color: var(--color-gray-1);
}

.services_construction .project_tabs .tab_btn.active {
    color: var(--primary-teal);
    font-weight: 700;
    border-bottom-color: var(--primary-teal);
}

@media (hover: hover) {
    .services_construction .project_tabs .tab_btn:hover {
        color: var(--primary-teal);
    }
}

.services_construction .project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-teal);
    font-family: var(--font-family-english);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    padding: 6px 10px;
    z-index: 2;
}

.services_construction .project-addr {
    font-family: var(--font-family-chinese);
    font-size: 0.85rem;
    color: var(--primary-teal);
    margin: -16px 0 16px;
    letter-spacing: 0.04em;
}

.services_construction .project_image.is-placeholder {
    background: repeating-linear-gradient(45deg, #e8e8e8 0, #e8e8e8 12px, #f0f0f0 12px, #f0f0f0 24px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services_construction .project_image.is-placeholder .ph-mono {
    font-family: var(--font-family-english);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: #999;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px 12px;
}

/* ============================================================
   RWD
   ============================================================ */
@media (max-width: 1024px) {
    .services_construction .teams_grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {
    .services_construction .teams_grid,
    .services_construction .flow_steps {
        grid-template-columns: 1fr;
    }

    .services_construction .team_card {
        min-height: auto;
        padding: 28px 24px;
        gap: 20px;
    }

    .services_construction .team_card .team_icon {
        position: static;
        align-self: flex-start;
    }

    .services_construction .team_card h3 {
        margin-top: 0;
    }

    .services_construction .project_tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .services_construction .project_tabs::-webkit-scrollbar {
        display: none;
    }

    .services_construction .project_tabs .tab_btn {
        flex-shrink: 0;
        padding: 14px 18px;
        font-size: 0.95rem;
    }
}

