﻿
:root {
    --navy: #0b4670;
    --blue: #2588c5;
    --blue-soft: #eaf6fb;
    --green: #64b56a;
    --green-dark: #368c57;
    --mint: #dff2e8;
    --teal: #35a7a0;
    --ink: #17313f;
    --muted: #6f838d;
    --line: #dce9e8;
    --white: #fff;
    --shadow: 0 16px 42px rgba(26,91,105,.10);
    --radius: 24px;
    --max: 1240px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: 'Noto Sans TC', 'Poppins', sans-serif;
    background: #fff;
    line-height: 1.75;
    font-size:1.1rem;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(var(--max),calc(100% - 48px));
    margin: auto
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(34,119,132,.10);
    transition: .25s;
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.brand-mark {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -2px;
    color: #1c4f73;
    line-height: 1;
}

    .brand-mark i {
        font-style: normal;
        color: #2b91d0
    }

.brand-sub {
    border-left: 1px solid #cbdcdf;
    padding-left: 12px;
    color: #2b91d0;
    font-size: 1.15rem;
    letter-spacing: .8px;
}

.main-nav {
    display: flex;
    gap: 34px;
    align-items: center
}

    .main-nav a {
        font-size: 1.1rem;
        font-weight: 600;
        color: #355661;
        position: relative;
        padding: 27px 0
    }

        .main-nav a:after {
            content: "";
            position: absolute;
            left: 0;
            right: 100%;
            bottom: 17px;
            height: 2px;
            background: linear-gradient(90deg,var(--green),var(--blue));
            transition: .25s;
        }

        .main-nav a:hover:after {
            right: 0
        }

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 26px;
    color: var(--navy)
}

/* Hero vertical slider */
.hero {
    position: relative;
    height: min(760px,calc(100vh - 0px));
    min-height: 600px;
    overflow: hidden;
    background: #dcefeb;
}

.hero-track {
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform .85s cubic-bezier(.77,0,.18,1);
}

.hero-slide {
    min-height: 100%;
    height: 100%;
    position: relative;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .hero-slide:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(8,41,57,.66) 0%,rgba(8,41,57,.28) 42%,rgba(8,41,57,.02) 75%);
        z-index: 1;
    }

    .hero-slide img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 690px;
    padding-top: 65px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 7px 14px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    margin-bottom: 18px;
}

    .eyebrow:before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #9be5a0
    }

.hero h1 {
    font-size: clamp(40px,5vw,70px);
    line-height: 1.12;
    margin: 0 0 18px;
    font-weight: 800;
    letter-spacing: -1px
}

.hero p {
    font-size: 18px;
    max-width: 590px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.92)
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    font-size: 1.1rem;
    transition: .25s;
    box-shadow: 0 8px 22px rgba(0,0,0,.12)
}

    .hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,0,0,.18)
    }

.hero-controls {
    position: absolute;
    z-index: 5;
    right: 38px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff
}

.hero-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(6px)
}

.hero-dots {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.hero-dot {
    width: 5px;
    height: 28px;
    border: 0;
    border-radius: 9px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    padding: 0
}

    .hero-dot.active {
        background: #fff;
        height: 48px
    }

.hero-count {
    font-size: 11px;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    opacity: .85
}

.scroll-note {
    position: absolute;
    z-index: 4;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 11px;
    letter-spacing: 2px;
    opacity: .85;
}

/* Section common */
.section {
    padding: 94px 0
}

    .section.soft {
        background: linear-gradient(180deg,#f5fbfa 0%,#eef8f6 100%)
    }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 42px
}

.kicker {
    font-size: 1.0rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--green-dark);
    margin-bottom: 8px
}

.section h2 {
    font-size: clamp(30px,4vw,44px);
    line-height: 1.2;
    margin: 0;
    color: var(--navy);
    font-weight: 700;
}

.section-intro {
    max-width: 530px;
    color: var(--muted);
    font-size: 1.05rem
}

.more {
    font-size: 1.0rem;
    font-weight: 800;
    color: var(--blue);
    white-space: nowrap
}

    .more span {
        display: inline-block;
        margin-left: 6px;
        transition: .2s
    }

    .more:hover span {
        transform: translateX(5px)
    }

/* Three pillars */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.pillar {
    min-height: 310px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(24,90,103,.05);
    transition: .3s;
}

    .pillar:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow)
    }

    .pillar:after {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        right: -65px;
        bottom: -65px;
        background: var(--mint);
        opacity: .8;
    }

    .pillar.blue:after {
        background: #dff1fb
    }

    .pillar.orange:after {
        background: #f9edcf
    }

.pillar-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 26px;
    background: #e4f4e9;
    color: var(--green-dark)
}

.pillar.blue .pillar-icon {
    background: #e3f2fb;
    color: var(--blue)
}

.pillar.orange .pillar-icon {
    background: #fff2dc;
    color: #d89b2b
}

.pillar h3 {
    margin: 0 0 12px;
    font-size: 23px;
    color: var(--navy)
}

.pillar p {
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem
}

.pillar-list {
    padding: 0;
    margin: 20px 0 0;
    list-style: none
}

    .pillar-list li {
        font-size: 1.0rem;
        color: #49656d;
        margin: 7px 0;
        padding-left: 17px;
        position: relative
    }

        .pillar-list li:before {
            content: "";
            position: absolute;
            left: 0;
            top: .72em;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--green)
        }

/* Highlight metrics */
.metric-wrap {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 28px;
    align-items: stretch
}

.metric-card {
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .metric-card.featured {
        background: linear-gradient(135deg,#0e5872,#287d8d);
        color: #fff
    }

        .metric-card.featured:after {
            content: "ESG";
            position: absolute;
            right: -12px;
            bottom: -38px;
            font-size: 150px;
            font-weight: 900;
            color: rgba(255,255,255,.07);
            line-height: 1
        }

.metric-title {
    font-size: 1.0rem;
    letter-spacing: 1px;
    opacity: .78
}

.metric-number {
    font-size: 3.0rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 8px 0
}

.metric-unit {
    font-size: 16px;
    font-weight: 600
}

.metric-desc {
    font-size: 1.1rem;
    opacity: .86;
    max-width: 550px
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.small-metric {
    padding: 24px;
    border-radius: 20px;
    background: #f8fbfa;
    border: 1px solid #e1efeb
}

    .small-metric .num {
        font-size: 30px;
        font-weight: 900;
        color: var(--green-dark);
        line-height: 1.15
    }

    .small-metric .label {
        font-size: 1.0rem;
        color: var(--muted);
        margin-top: 6px
    }

/* Roadmap */
.roadmap {
    position: relative;
    padding-top: 15px
}

    .roadmap:before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 53px;
        height: 1px;
        background: #cce4df
    }

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px
}

.road-step {
    position: relative;
    text-align: center
}

.road-dot {
    width: 42px;
    height: 42px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 7px solid #dff2e8;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    position: relative;
    z-index: 2
}

.road-step.active .road-dot {
    border-color: #cfe8f8;
    color: var(--blue)
}

.road-step h3 {
    font-size: 1.3rem;
    font-weight:700;
    margin: 0 0 6px;
    color: var(--navy)
}

.road-step p {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0 auto;
    max-width: 220px
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr .85fr;
    gap: 20px;
    align-items: stretch; /* 同一排卡片等高 */
}

.news-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    transition: .25s;
    /* 關鍵 */
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

/* 圖片不要使用 height:100% */
.news-image {
    height: 182px;
    flex-shrink: 0;
    background: linear-gradient(135deg,#dcefe9,#eef8f7);
    display: grid;
    place-items: center;
    color: #5cae83;
    font-size: 52px;
    overflow: hidden;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* 大卡圖片 */
.news-card.large .news-image {
    height: 285px;
}

/* 內容區自動撐滿 */
.news-body {
    padding: 20px 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 日期 */
.news-date {
    font-size: 11px;
    color: #7c9298;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* 標題 */
.news-body h3 {
    font-size: 18px;
    line-height: 1.5;
    color: var(--navy);
    margin: 8px 0;
    flex-shrink: 0;
}

/* 文章 */
.news-body p {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
}

/* 大卡：最多 2 行 */
.news-card.large .news-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 小卡：最多 4 行 */
.news-card:not(.large) .news-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* CTA */
.cta {
    margin: 94px 0;
    /*margin: 0 0 94px;*/
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(110deg,#0b4f70,#2d8c8c);
    color: #fff;
    padding: 54px 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative
}

    .cta:after {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 50%;
        right: -80px;
        top: -140px
    }

    .cta h2 {
        color: #fff;
        margin: 0 0 8px;
        font-size: 34px
    }

    .cta p {
        margin: 0;
        color: rgba(255,255,255,.78);
        font-size: 1.1rem
    }

.cta-btn {
    background: #fff;
    color: var(--navy);
    padding: 13px 23px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
    z-index: 1
}

/* Footer */
footer {
    background: #0b3548;
    color: #c3d6dc;
    padding: 46px 0 24px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.12)
}

.footer-brand {
    color: #fff;
    font-size: 24px;
    font-weight: 900
}

    .footer-brand span {
        color: #68c2c0;
        font-size: 1.0rem;
        font-weight: 500;
        margin-left: 8px
    }

.footer-links {
    display: flex;
    gap: 45px
}

    .footer-links div {
        display: flex;
        flex-direction: column;
        gap: 6px
    }

    .footer-links strong {
        font-size: 12px;
        color: #fff;
        margin-bottom: 4px
    }

    .footer-links a {
        font-size: 12px;
        color: #abc2ca
    }

.copyright {
    font-size: 11px;
    color: #809da7;
    padding-top: 22px
}

/* Responsive */
@media(max-width:1250px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .news-image {
        height: 285px;
    }
}


    /* Responsive */
    @media(max-width:1000px) {
        .container {
            width: min(var(--max),calc(100% - 34px))
        }

        .header-inner {
            height: 66px
        }

        .main-nav {
            display: none;
            position: absolute;
            left: 0;
            right: 0;
            top: 66px;
            background: #fff;
            flex-direction: column;
            align-items: stretch;
            padding: 10px 24px 20px;
            box-shadow: 0 16px 30px rgba(0,0,0,.08)
        }

            .main-nav.open {
                display: flex
            }

            .main-nav a {
                padding: 12px 0
            }

                .main-nav a:after {
                    bottom: 5px
                }

        .menu-btn {
            display: block
        }

        .hero {
            min-height: 650px;
            height: calc(100vh - 0px)
        }

        .hero-content {
            padding-top: 50px;
            max-width: 620px
        }

        .hero p {
            font-size: 16px
        }

        .hero-controls {
            right: 18px
        }

        .pillar-grid, .roadmap-grid {
            grid-template-columns: 1fr
        }

        .roadmap:before {
            display: none
        }

        .road-step {
            text-align: left;
            display: grid;
            grid-template-columns: 48px 1fr;
            column-gap: 15px
        }

        .road-dot {
            grid-row: span 2;
            margin: 0
        }

        .road-step h3 {
            margin-top: 2px
        }

        .road-step p {
            margin: 0;
            max-width: none
        }

        .metric-wrap {
            grid-template-columns: 1fr
        }

        .news-grid {
            grid-template-columns: 1fr;
            align-items: stretch;
        }

        .news-card.large {
            grid-column: 1 / -1;
        }

            .news-card.large .news-image {
                height: 280px;
            }

        .news-image {
            height: 280px;
        }

        .cta {
            padding: 42px 32px
        }
    }

    @media(max-width:600px) {
        .section {
            padding: 68px 0
        }

        .section-head {
            display: block;
            margin-bottom: 30px
        }

        .section-intro {
            margin-top: 14px
        }

        .section-head .more {
            display: inline-block;
            margin-top: 16px
        }

        .hero-slide:before {
            background: linear-gradient(90deg,rgba(5,39,52,.72),rgba(5,39,52,.12))
        }

        .hero h1 {
            font-size: 40px
        }

        .hero-content {
            padding-right: 45px
        }

        .hero-controls {
            right: 10px
        }

        .hero-dot {
            height: 22px
        }

            .hero-dot.active {
                height: 38px
            }

        .metric-row {
            grid-template-columns: 1fr
        }

        .news-grid {
            grid-template-columns: 1fr;
        }

        .news-card.large {
            grid-column: auto;
        }

            .news-image,
            .news-card.large .news-image {
                height: 220px;
            }

        .cta {
            display: block;
            padding: 36px 28px
        }

        .cta-btn {
            display: inline-block;
            margin-top: 22px
        }

        .footer-top {
            display: block
        }

        .footer-links {
            margin-top: 28px;
            display: grid;
            grid-template-columns: repeat(2,1fr);
            gap: 24px
        }
    }

    /* Reduce motion */
    @media(prefers-reduced-motion:reduce) {
        html {
            scroll-behavior: auto
        }

        .hero-track {
            transition: none
        }

        * {
            transition: none !important
        }
    }
