/* ============================================================
   DuraOne Index v2 — Design System
   ============================================================ */
:root {
    --red:       #c41d1f;
    --red-deep:  #9d1518;
    --gold-line: rgb(196 29 31 / 0.32);
    --lead:      #c41d1f;
    --bg-2:      #f8f6f3;
    --text:      #2a2420;
    --text-dim:  #706860;
    --text-faint:#8a8078;
    --line:      rgb(0 0 0 / 0.12);
    --line-2:    rgb(0 0 0 / 0.18);
    --f-sans:    "Archivo", "Noto Sans TC", sans-serif;
    --r:         2px;
}

/* ── Hero ── */
.v2-hero {
    margin-top: 63px;
}
@media (min-width: 1200px) {
    .v2-hero {
        margin-top: 79.5px;
    }
}
    .v2-hero .carousel {
        height: clamp(520px, 100%, 880px);
    }

    .v2-hero .carousel-inner,
    /*.v2-hero .carousel-item { height: 100%; }*/
    .v2-hero .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .v2-hero .carousel-control-prev,
    .v2-hero .carousel-control-next {
        width: 56px;
        height: 56px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        border-radius: 50%;
        background: rgb(0 0 0 / 0.32);
        border: 2px solid rgb(255 255 255 / 0.25);
        backdrop-filter: blur(6px);
        opacity: 1;
        transition: .25s;
    }

    .v2-hero .carousel-control-prev {
        left: 26px;
    }

    .v2-hero .carousel-control-next {
        right: 26px;
    }

        .v2-hero .carousel-control-prev:hover,
        .v2-hero .carousel-control-next:hover {
            background: var(--lead);
            border-color: var(--lead);
        }

    .v2-hero .carousel-indicators {
        bottom: 20px;
    }

        .v2-hero .carousel-indicators [data-bs-target] {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.45);
            opacity: 1;
            border: none;
            transition: .3s;
        }

        .v2-hero .carousel-indicators .active {
            background-color: var(--lead);
            width: 30px;
            border-radius: 5px;
        }

    .hero-grad {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(180deg, rgb(0 0 0 / .2), transparent 30%, transparent 70%, rgba(245,243,239,0.5));
    }

    /* ── Section base ── */
    .v2-sec {
        padding-block: 100px;
    }

    /* ── Eyebrow ── */
    .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 14px;
        font-family: var(--f-sans);
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0.34em;
        text-transform: uppercase;
        color: var(--lead);
    }

        .eyebrow::before {
            content: "";
            width: 40px;
            height: 2px;
            background: var(--lead);
            flex-shrink: 0;
        }

    /* ── Section title ── */
    .stitle {
        line-height: 1.05;
        color: var(--text);
        font-family: var(--f-sans);
        font-weight: 800;
        font-size: clamp(28px, 4vw, 56px);
        letter-spacing: -0.015em;
    }

        .stitle .en {
            display: block;
            font-family: var(--f-sans);
            font-size: 0.22em;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            margin-top: 14px;
            font-weight: 600;
            color: var(--text-faint);
        }

    .shead {
        margin-bottom: 56px;
        text-align: center;
    }

        .shead::after {
            content: "";
            display: block;
            width: 2px;
            height: 46px;
            background: linear-gradient(var(--lead), transparent);
            margin: 28px auto 0;
        }

    /* ── Buttons ── */
    .dura-btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-family: var(--f-sans);
        font-weight: 600;
        font-size: 13px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        padding: 16px 30px;
        border-radius: var(--r);
        transition: .3s cubic-bezier(.2,.7,.3,1);
        white-space: nowrap;
        cursor: pointer;
    }

        .dura-btn .arr {
            transition: transform .3s;
        }

        .dura-btn:hover .arr {
            transform: translateX(5px);
        }

    .dura-btn-line {
        border: 2px solid var(--line-2);
        color: var(--text);
        background: transparent;
    }

        .dura-btn-line:hover {
            border-color: var(--lead);
            color: var(--lead);
        }

    /* ── Cert ── */
    .cert2 {
        padding: 42px 28px 36px;
        background: transparent;
        position: relative;
        text-align: center;
    }

        .cert2::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--red);
        }

        .cert2 .ci {
            width: 50px;
            height: 50px;
            display: grid;
            place-items: center;
            color: var(--red);
            border: 2px solid var(--red);
            border-radius: 50%;
            margin: 0 auto 26px;
            transition: .35s;
        }

        .cert2:hover .ci {
            background: color-mix(in srgb, var(--red) 10%, transparent);
        }

        .cert2 h3 {
            font-family: var(--f-sans);
            font-size: 19px;
            font-weight: 700;
            color: var(--text);
        }

        .cert2 p {
            margin-top: 12px;
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-dim);
        }

        .cert2 .num {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-family: var(--f-sans);
            font-size: 17px;
            color: var(--lead);
            background: #fff;
            padding: 0 6px;
        }

    /* ── Stats ── */
    .stats2 {
        position: relative;
        overflow: hidden;
        background: #c41d1f;
        background: url('../img/index/map.jpg') no-repeat center center/ cover scroll;
    }

        .stats2 .row {
            position: relative;
            z-index: 2;
        }

    .stat2 {
        padding: clamp(56px, 6vw, 80px) 30px;
        border-right: 3px solid rgb(255 255 255 / 0.22);
        transition: background .4s;
        text-align: center;
    }

        .stat2:last-child {
            border-right: none;
        }

        .stat2 .n {
            font-family: "Archivo", "Noto Sans TC", sans-serif;
            font-weight: 800;
            font-size: clamp(36px, 4vw, 58px);
            line-height: 1;
            color: #fff;
            letter-spacing: -0.02em;
            transition: transform .4s cubic-bezier(.2,.7,.3,1);
        }

            .stat2 .n .u {
                color: #fff;
                font-size: 0.34em;
                vertical-align: super;
                margin-left: 2px;
            }

        .stat2 .l {
            margin-top: 16px;
            font-size: 15px;
            color: rgba(255,255,255,0.72);
        }

            .stat2 .l .en {
                display: block;
                font-family: var(--f-sans);
                font-size: 11px;
                letter-spacing: 0.2em;
                text-transform: uppercase;
                color: rgba(255,255,255,0.5);
                margin-top: 5px;
                transition: letter-spacing .4s, color .3s;
            }

        .stat2:hover .n {
            transform: scale(1.05);
        }

        .stat2:hover .l .en {
            letter-spacing: 0.5em;
            color: #fff;
        }

    @media (max-width: 767px) {
        .stat2 {
            border-right: none;
            border-bottom: 2px solid rgba(255,255,255,0.22);
        }

            .stat2:last-child {
                border-bottom: none;
            }
    }

    /* ── Partners ── */
    .brands2 {
        border: 2px solid var(--line);
    }

.bcell {
    aspect-ratio: 3/2;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 6px;
    /*border: 2px solid var(--line);*/
    border: 2px solid var(--line);
    font-family: var(--f-sans);
    font-weight: 700;
    color: var(--text-dim);
    transition: .35s;
    padding: 16px;
    overflow: hidden;
}
@media (min-width: 992px) {
    .bcell {
        border: 2px solid var(--line);
        border-right: none;
    }}
    .bcell .bn {
        font-family: "Archivo", "Noto Sans TC", sans-serif;
        font-size: clamp(14px, 1.5vw, 22px);
        letter-spacing: 0.02em;
        transition: transform .4s, color .3s;
    }

    .bcell .bs {
        font-family: var(--f-sans);
        font-size: 10px;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: #857f7a;
        transition: color .3s;
    }

    .bcell:hover {
        background: #C8141B;
        color: #fff;
    }

        .bcell:hover .bn {
            transform: translateY(-6px);
            color: #fff;
        }

        .bcell:hover .bs {
            color: #fff;
        }

    /* ── Products (cat2) ── */
    .cat2 {
        position: relative;
        overflow: hidden;
        background: var(--bg-2);
        border: 2px solid var(--line);
        transition: .4s cubic-bezier(.2,.7,.3,1);
        display: flex;
        flex-direction: column;
        height: 100%;
        color: var(--text);
    }

        .cat2:hover {
            transform: translateY(-6px);
            border-color: var(--gold-line);
        }

        .cat2 .ct {
            position: relative;
            aspect-ratio: 16/10.5;
            overflow: hidden;
        }

            .cat2 .ct img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform .6s cubic-bezier(.2,.7,.3,1);
            }

        .cat2:hover .ct img {
            transform: scale(1.04);
        }

        .cat2 .tag {
            position: absolute;
            top: 16px;
            left: 16px;
            z-index: 2;
            font-family: var(--f-sans);
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            padding: 6px 12px;
            border-radius: var(--r);
            background: var(--lead);
            color: #fff;
        }

        .cat2 .cb {
            padding: 26px;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            flex: 1;
        }

            .cat2 .cb h3 {
                font-family: var(--f-sans);
                font-size: 20px;
                font-weight: 700;
                line-height: 1.2;
            }

            .cat2 .cb .en {
                display: block;
                font-family: var(--f-sans);
                font-size: 10px;
                font-weight: 600;
                letter-spacing: 0.2em;
                text-transform: uppercase;
                color: var(--text-faint);
                margin-top: 8px;
            }

        .cat2 .more {
            font-family: var(--f-sans);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--lead);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

            .cat2 .more .arr {
                transition: transform .3s;
            }

        .cat2:hover .more .arr {
            transform: translateX(4px);
        }

    /* ── News (ncard) ── */
    .news2 .stitle {
        color: #1b1714;
    }

    .ncard {
        background: #fff;
        border: 2px solid rgba(0,0,0,0.12);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: .35s;
        box-shadow: 0 18px 40px -28px rgba(0,0,0,.35);
        height: 100%;
    }

        .ncard:hover {
            transform: translateY(-5px);
            box-shadow: 0 26px 50px -28px rgba(0,0,0,.4);
        }

        .ncard .nt {
            aspect-ratio: 16/10;
            overflow: hidden;
            display: block;
        }

            .ncard .nt img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform .5s;
            }

        .ncard:hover .nt img {
            transform: scale(1.04);
        }

        .ncard .nb {
            padding: 26px;
            display: flex;
            flex-direction: column;
            gap: 13px;
            flex: 1;
        }

    .nmeta {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .ntag {
        font-family: var(--f-sans);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        padding: 5px 11px;
        border-radius: var(--r);
        background: var(--lead);
        color: #fff;
    }

    .ndate {
        font-family: var(--f-sans);
        font-size: 14px;
        color: var(--red);
    }

    .ncard h3 {
        font-family: var(--f-sans);
        font-size: 18px;
        font-weight: 700;
        color: #1b1714;
        line-height: 1.4;
    }

    .ncard p {
        font-size: 14px;
        color: #5b554c;
        line-height: 1.7;
        flex: 1;
    }

    .nmore {
        font-family: var(--f-sans);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--red);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
    }

        .nmore .arr {
            transition: transform .3s;
        }

    .ncard:hover .nmore .arr {
        transform: translateX(4px);
    }

    /* ── Social ── */
    #follow {
        background: #111;
        padding-block: 140px;
    }

    .slink {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        text-decoration: none;
    }

    .sic {
        width: 76px;
        height: 76px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        color: #fff;
        border: 2px solid rgba(255,255,255,0.25);
        transition: .35s cubic-bezier(.2,.7,.3,1);
    }

        .sic .pic-item {
            position: relative;
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-right: 1px solid #aaa;
        }

            .sic .pic-item img {
                width: 100%;
                position: absolute;
                top: 50%;
                left: 0%;
                transform: translateY(-50%) scale(0.8);
            }

                .sic .pic-item img:nth-of-type(2) {
                    visibility: hidden;
                    opacity: 0;
                }

                .sic .pic-item img:nth-of-type(1) {
                    visibility: visible;
                    opacity: 1;
                }

    .slink:hover .pic-item img:nth-of-type(2) {
        visibility: visible;
        opacity: 1;
    }

    .slink:hover .sic {
        border-color: var(--red);
        color: var(--red);
        transform: translateY(-6px);
    }

    .slbl {
        font-family: var(--f-sans);
        font-weight: 600;
        font-size: 13px;
        letter-spacing: 0.22em;
        color: rgba(255,255,255,0.72);
        transition: .2s;
    }

    .slink:hover .slbl {
        color: var(--red);
    }

    /* ── Reveal animation ── */
    .rv {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1);
    }

        .rv.in {
            opacity: 1;
            transform: none;
            border: none;
        }
        .rv.out {
            border: none;
        }

    @media (prefers-reduced-motion: reduce) {
        .rv {
            opacity: 1;
            transform: none;
        }
            .rv.in {
                border-right: 1px solid #fff;
            }    }
