  /* =====================================================
           Reset
        ===================================================== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family:
                "Noto Sans TC",
                "Microsoft JhengHei",
                "微軟正黑體",
                Arial,
                sans-serif;

            color: #26364f;
            background: #fff;
        }

        img {
            display: block;
            max-width: 100%;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button {
            font: inherit;
        }


        /* =====================================================
           Header
        ===================================================== */

        .site-header {
            width: 100%;

            /* 接近你參考圖的米白暖色 */
            background:
                radial-gradient(
                    circle at 70% 40%,
                    rgba(255, 228, 192, 0.35),
                    transparent 30%
                ),
                linear-gradient(
                    90deg,
                    #fffdf9 0%,
                    #fffaf4 50%,
                    #fffdf8 100%
                );
            border-bottom: 1px solid rgba(219, 203, 185, 0.4);
            position: relative;
            z-index: 1000;
        }


        /* 如果想固定在上方可取消註解 */
        /*
        .site-header {
            position: sticky;
            top: 0;
        }
        */


   .header-inner {
    width: min(1800px, calc(100% - 40px));
    min-height: 100px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    position: relative;
}


        /* =====================================================
           Logo
        ===================================================== */

.brand {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    margin-right: clamp(25px, 3vw, 50px);
}

.brand img {
    width: 200px;
    height: auto;
}



        /* 如果暫時沒有 Logo 圖片，可以使用這組文字 Logo */

        .brand-demo {
            display: none;

            align-items: center;
            gap: 10px;
        }


        .brand-icon {
            width: 48px;
            height: 38px;
            position: relative;
        }


        .brand-icon::before {
            content: "";

            position: absolute;

            width: 46px;
            height: 16px;

            left: 0;
            top: 4px;

            background: #ff841d;

            clip-path: polygon(
                0 45%,
                100% 0,
                62% 100%,
                48% 60%
            );
        }


        .brand-icon::after {
            content: "";
            position: absolute;
            width: 34px;
            height: 18px;
            left: 9px;
            bottom: 0;
            background: #33a6d5;
            clip-path: polygon(
                0 0,
                100% 20%,
                34% 100%
            );
        }


        .brand-name {
            line-height: 1.1;
        }


        .brand-name strong {
            display: block;
            color: #293955;
            font-size: 24px;
            font-weight: 900;
            letter-spacing: 2px;
        }


        .brand-name small {
            display: block;
            margin-top: 5px;
            color: #667184;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1px;
        }



/* =====================================================
   Desktop navigation
===================================================== */

.desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.desktop-nav ul {
    margin: 0;
    padding: 0;

    list-style: none;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: nowrap;

    gap: clamp(20px, 2vw, 38px);
}

.desktop-nav li {
    position: relative;

    /* 防止「北部旅遊」被壓成兩行 */
    flex-shrink: 0;
}


.desktop-nav a {
    display: block;

    padding: 27px 2px;

    color: #35415a;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;

    line-height: 1.45;

    position: relative;

    /* ★ 關鍵：中文不要斷行 */
    white-space: nowrap;
    word-break: keep-all;

    transition:
        color .25s ease,
        transform .25s ease;
}


/* 比較區字體稍微縮小 */

.desktop-nav .nav-compare {
    font-size: 13px;
    line-height: 1.45;
}

/* =========================
   hover 下方橘線
========================= */

.desktop-nav a::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 17px;

    width: 0;
    height: 3px;

    border-radius: 999px;

    background: #ff711c;

    transform: translateX(-50%);

    transition: width .25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #f16b1a;
}

.desktop-nav a:hover::before,
.desktop-nav a.active::before {
    width: 26px;
}

        /* =========================
   選單分隔線
========================= */

.desktop-nav li:not(:last-child)::after {
    content: "";

    width: 1px;
    height: 17px;

    position: absolute;

    right: calc(clamp(20px, 2vw, 38px) / -2);
    top: 50%;

    background: rgba(53, 65, 90, 0.55);

    transform: translateY(-50%);
}


        /* =====================================================
           CTA
        ===================================================== */

       .header-action {
            flex-shrink: 0;
            margin-left: clamp(20px, 2vw, 35px);
        }


        .apply-btn {
            min-width: 158px;
            height: 48px;
            padding: 0 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            color: #fff;
            background:
                linear-gradient(
                    135deg,
                    #ff7925 0%,
                    #ff5e15 100%
                );
            border: 2px solid rgba(255, 255, 255, 0.55);
            border-radius: 999px;
            box-shadow:
                0 5px 14px rgba(243, 100, 25, 0.22),
                inset 0 1px 2px rgba(255, 255, 255, 0.35);
            font-size: 18px;
            font-weight: 900;
            letter-spacing: 1px;
            transition:
                transform .2s ease,
                box-shadow .2s ease;
        }


        .apply-btn:hover {
            transform: translateY(-2px);

            box-shadow:
                0 9px 20px rgba(243, 100, 25, 0.28);
        }


        .apply-arrow {
            font-size: 24px;
            line-height: 1;

            transform: translateY(-1px);

            transition: transform .2s ease;
        }


        .apply-btn:hover .apply-arrow {
            transform: translate(4px, -1px);
        }



        /* =====================================================
           右側旅遊裝飾
        ===================================================== */

        .travel-decoration {
            width: 220px;
            margin-left: 30px;
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
            pointer-events: none;
        }


        .travel-decoration span {
            white-space: nowrap;

            color: #77796f;

            font-size: 13px;
            font-weight: 700;

            transform: rotate(-5deg);

            opacity: .9;
        }


        .mountain-icon {
            width: 67px;
            height: 34px;

            opacity: .65;
        }


        .mountain-icon path {
            fill: none;
            stroke: #46a8bb;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
        }



        /* =====================================================
           Hamburger
        ===================================================== */

        .menu-toggle {
            display: none;

            width: 46px;
            height: 46px;

            padding: 0;

            border: 0;
            border-radius: 10px;

            background: transparent;

            cursor: pointer;

            align-items: center;
            justify-content: center;

            position: relative;
        }


        .hamburger {
            width: 27px;
            height: 20px;

            position: relative;
        }


        .hamburger span {
            width: 100%;
            height: 3px;

            position: absolute;
            left: 0;

            border-radius: 10px;

            background: #36435c;

            transition:
                transform .3s ease,
                opacity .2s ease,
                top .3s ease;
        }


        .hamburger span:nth-child(1) {
            top: 0;
        }


        .hamburger span:nth-child(2) {
            top: 8px;
        }


        .hamburger span:nth-child(3) {
            top: 16px;
        }


        /* 漢堡 → X */

        .menu-toggle.active .hamburger span:nth-child(1) {
            top: 8px;
            transform: rotate(45deg);
        }


        .menu-toggle.active .hamburger span:nth-child(2) {
            opacity: 0;
        }


        .menu-toggle.active .hamburger span:nth-child(3) {
            top: 8px;
            transform: rotate(-45deg);
        }



        /* =====================================================
           Mobile navigation
        ===================================================== */

        .mobile-menu {
            display: none;

            width: 100%;

            position: absolute;
            top: 100%;
            left: 0;

            background:
                linear-gradient(
                    180deg,
                    #fffdf9 0%,
                    #fff8ef 100%
                );

            border-top: 1px solid #f2e7da;

            box-shadow:
                0 16px 25px rgba(49, 51, 61, .12);
        }


        .mobile-menu-inner {
            width: min(100% - 38px, 700px);

            margin: auto;

            padding: 12px 0 25px;
        }


        .mobile-menu ul {
            list-style: none;

            margin: 0;
            padding: 0;
        }


        .mobile-menu li {
            border-bottom: 1px solid rgba(89, 77, 64, .1);
        }


        .mobile-menu .mobile-link {
            width: 100%;

            padding: 18px 8px;

            display: flex;
            align-items: center;
            justify-content: space-between;

            color: #344159;

            font-size: 17px;
            font-weight: 800;

            transition:
                color .2s ease,
                padding .2s ease;
        }


        .mobile-menu .mobile-link::after {
            content: "›";

            color: #e97527;

            font-size: 24px;
            font-weight: 400;
        }


        .mobile-menu .mobile-link:hover {
            color: #ef701f;
            padding-left: 14px;
        }


        .mobile-cta {
            margin-top: 20px;
        }


        .mobile-cta .apply-btn {
            width: 100%;
            height: 50px;
        }



        /* 開啟手機 Menu */

        .mobile-menu.open {
            display: block;

            animation: mobileMenuOpen .3s ease;
        }


        @keyframes mobileMenuOpen {

            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }

        }



        /* =====================================================
           黑色遮罩
        ===================================================== */

        .menu-overlay {
            display: none;

            position: fixed;

            inset: 0;

            background: rgba(20, 29, 43, .35);

            backdrop-filter: blur(2px);

            z-index: 900;
        }


        .menu-overlay.active {
            display: block;
        }



        /* =====================================================
           DEMO 主內容
           實際製作網站時可以刪除
        ===================================================== */

        .demo-content {
            min-height: 100vh;

            padding: 80px 25px;

            background:
                linear-gradient(
                    180deg,
                    #f6f9fb,
                    #ffffff
                );

            text-align: center;
        }


        .demo-content h1 {
            margin: 0 0 20px;

            color: #293b59;

            font-size: clamp(32px, 5vw, 60px);
        }


        .demo-content p {
            color: #6e7786;
            font-size: 17px;
        }



        /* =====================================================
           RWD
        ===================================================== */
        @media (max-width: 1400px) {

    .header-inner {
        width: calc(100% - 30px);
    }

    .brand {
        margin-right: 25px;
    }

    .brand img {
        width: 175px;
    }

    .desktop-nav ul {
        gap: 24px;
    }

    .desktop-nav li:not(:last-child)::after {
        right: -12px;
    }

    .desktop-nav a {
        font-size: 17px;

        /* 仍然不換行 */
        white-space: nowrap;
        word-break: keep-all;
    }

    .desktop-nav .nav-compare {
        font-size: 12px;
    }

    /* 先拿掉右邊裝飾，騰出空間 */
    .travel-decoration {
        display: none;
    }

    .header-action {
        margin-left: 22px;
    }

    .apply-btn {
        min-width: 145px;
        padding: 0 22px;
        font-size: 16px;
    }
}


       /* =====================================================
   1100px 以下
   小筆電 / 橫式平板
===================================================== */

@media (max-width: 1100px) {

    .brand img {
        width: 160px;
    }

    .brand {
        margin-right: 18px;
    }

    .desktop-nav ul {
        gap: 18px;
    }

    .desktop-nav li:not(:last-child)::after {
        right: -9px;
        height: 15px;
    }

    .desktop-nav a {
        font-size: 15px;
        letter-spacing: 0;

        white-space: nowrap;
        word-break: keep-all;
    }

    .desktop-nav .nav-compare {
        font-size: 11px;
    }

    .header-action {
        margin-left: 15px;
    }

    .apply-btn {
        min-width: 125px;

        height: 44px;

        padding: 0 16px;

        font-size: 14px;
    }
}


/* =====================================================
   900px 以下
===================================================== */

@media (max-width: 900px) {

    .brand img {
        width: 145px;
    }

    .brand {
        margin-right: 12px;
    }

    .desktop-nav ul {
        gap: 14px;
    }

    .desktop-nav li:not(:last-child)::after {
        right: -7px;
    }

    .desktop-nav a {
        font-size: 13px;
        padding: 25px 0;

        /* 北中南東仍維持單行 */
        white-space: nowrap;
        word-break: keep-all;
    }

    .desktop-nav .nav-compare {
        font-size: 10px;
    }

    .header-action {
        margin-left: 12px;
    }

    .apply-btn {
        min-width: 110px;

        padding: 0 13px;

        font-size: 13px;
    }
}


/* =====================================================
   768px 以下 → 手機版 Hamburger
===================================================== */

@media (max-width: 768px) {

    .site-header {
        position: relative;
    }

    .header-inner {
        width: calc(100% - 30px);
        min-height: 68px;

        justify-content: space-between;
    }

    .brand {
        margin-right: 0;
    }

    .brand img {
        width: 155px;
    }

    .desktop-nav,
    .header-action,
    .travel-decoration {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}


/* =====================================================
   480px 以下
===================================================== */

@media (max-width: 480px) {

    .header-inner {
        width: calc(100% - 24px);
        min-height: 64px;
    }

    .brand img {
        width: 140px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .mobile-menu-inner {
        width: calc(100% - 30px);
    }
}
