*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #24407f;
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    color: #fff;
}

.stage {
    max-width: 1920px;
    margin: 0 auto;
    background: #fff;
    position: relative;
}

.section {
    width: 100%;
    aspect-ratio: 1920 / 1080;
    position: relative;
    overflow: hidden;
}

.section__svg {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


/* 桌機 / 手機 主視覺切換：< 768px 顯示 m-* 版本 */

.section__svg--mobile {
    display: none;
}

.section[data-id="1"] {
    background: #214a8e;
}

.section[data-id="5"] {
    background: #e8e2d4;
    color: #333;
}


/* ===== Section 2: 國家領銜 十年大計 ===== */

.section--starry {
    /* 沿用 section 1 匯出的星空圖作背景；image 1920×1920，section 2 需顯示中段 */
    background-color: #1c2e5e;
    background-image: url("assets/section-1-1.webp");
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
}


/* AI 量測對照：
   section = 1920×1080
   orange frame = 1720×880，位於 (100,100) → padding 100px
   frame inner padding ≈ 60 87 62 93 (上 右 下 左)
   left content bbox ≈ 1071×770; right column ≈ 479 wide
*/

.section[data-id="2"] {
    aspect-ratio: auto;
    height: auto;
}

.section2 {
    position: relative;
    padding: 100px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
}

.section2__frame {
    flex: 1 1 auto;
    border: 2px solid #ff8a1e;
    padding: 60px 70px 56px 60px;
    display: grid;
    grid-template-columns: 1071fr 479fr;
    column-gap: 20px;
    align-items: center;
    box-sizing: border-box;
}

.section2__left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section2__hero {
    display: block;
    width: 100%;
    height: auto;
}

.section2__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

.section2__title-en {
    display: block;
    width: 100%;
    max-width: 487px;
    aspect-ratio: 487 / 166;
    pointer-events: none;
}

.section2__title-zh {
    display: block;
    width: 100%;
    max-width: 486px;
    aspect-ratio: 486 / 64;
    pointer-events: none;
    margin-top: 32px;
}

.section2__divider {
    width: 37.5%;
    max-width: 180px;
    height: 0;
    border: none;
    border-top: 1.5px solid #ff8a1e;
    margin: 32px auto 0;
}

.section2__desc {
    margin: 32px 0 0;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.section2__note {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}


/* 手機版 section 2 容器：桌機隱藏 */

.m-section2 {
    display: none;
}


/* ===== Section 3: 雙捷航廈 世界無界 =====
   AI 量測對照:
   section = 1920×1080；orange frame = 640×880 at (100,100)
   inner padding ≈ top 75 / right 71 / bottom 66 / left 71
   item 順序（由上而下）: title-en (260h, 居中) → title-zh (57h, 滿寬)
                          → divider (180w 居中) → desc (251h)
   gaps: 56 / 56 / 61
   right caption: 157×13, 距右 15 / 距下 13
*/


/* sections 3-6：讓 desc 在窄寬時可以撐高 container 與 section */

.section[data-id="3"],
.section[data-id="4"],
.section[data-id="5"],
.section[data-id="6"] {
    overflow: visible;
}

.section3 {
    display: flex;
}


/* 文字欄固定 820 設計 px（含 padding，box-sizing: border-box），圖片欄吃剩餘
   820 + 1080 = 1900 < stage 1920，差額 20px 給圖片欄 → 圖片 @ 1920 = 1100 */

.section3__left {
    flex: 0 0 calc(820 / 1920 * 100%);
    position: relative;
    background-image: url("assets/section-1-1.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5.21%;
    /* 100/1920 of section width = 100px @ 1920 */
    box-sizing: border-box;
}

.section3__right {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
}

.section3__frame {
    width: 100%;
    /* 撐滿文字欄內容區（欄外 padding 提供留白） */
    border: 2px solid #ff8a1e;
    padding: 8.52% 8.07% 7.5%;
    /* % of LEFT inner */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.section3__title-en {
    display: block;
    width: 58%;
    /* 290/498 inner */
    aspect-ratio: 297.75 / 265.426;
    margin: 0 auto;
    /* AI 中是置中 */
    pointer-events: none;
}

.section3__title-zh {
    display: block;
    width: 100%;
    aspect-ratio: 489.546 / 64.351;
    margin-top: 56px;
    pointer-events: none;
}

.section3__divider {
    width: 36%;
    /* 180/498 */
    height: 0;
    border: none;
    border-top: 1.5px solid #ff8a1e;
    margin: 56px auto 0;
}

.section3__desc {
    margin: 61px 0 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.section3__hero {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section3__caption {
    position: absolute;
    bottom: 1.2%;
    /* 13/1080 */
    right: 1.2%;
    /* 13/1080 (RIGHT side width 改為 1080 設計單位) */
    width: 14.54%;
    /* 157/1080 */
    aspect-ratio: 165.073 / 20.901;
    pointer-events: none;
}


/* 手機版 section 3 容器：桌機隱藏 */

.m-section3 {
    display: none;
}


/* ===== Section 4: 巨蛋生活 咫尺樂享 (section 3 鏡像) =====
   AI 量測對照:
   section = 1920×1080；orange frame = 640×880 at (1180,100) → 在 RIGHT 半
   inner padding ≈ top 78 / right 56 / bottom 66 / left 56
   item 順序: title-en (262h, 居中) → title-zh (57h, 居中) → divider (180w 居中) → desc (251h)
   gaps: 57 / 56 / 61
   left caption: 157×13, 位置從 section 左 912 / 距下 13
*/

.section4 {
    display: flex;
}


/* 鏡像 section 3：圖片欄吃剩餘（@ 1920 = 1100），文字欄固定 820 設計 px（含 padding） */

.section4__left {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
}

.section4__hero {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section4__right {
    flex: 0 0 calc(820 / 1920 * 100%);
    position: relative;
    background-image: url("assets/section-1-1.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    padding: 5.21%;
    box-sizing: border-box;
}

.section4__frame {
    width: 100%;
    /* 撐滿文字欄內容區 */
    border: 2px solid #ff8a1e;
    padding: 8.86% 6.36% 7.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.section4__title-en {
    display: block;
    width: 84%;
    /* 442/528 inner */
    aspect-ratio: 450.666 / 262.677;
    margin: 0 auto;
    pointer-events: none;
}

.section4__title-zh {
    display: block;
    width: 91%;
    /* 479/528 */
    aspect-ratio: 487.365 / 64.823;
    margin: 57px auto 0;
    pointer-events: none;
}

.section4__divider {
    width: 34%;
    /* 180/528 */
    height: 0;
    border: none;
    border-top: 1.5px solid #ff8a1e;
    margin: 56px auto 0;
}

.section4__desc {
    margin: 61px 0 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.section4__caption {
    position: absolute;
    bottom: 1.2%;
    /* 13/1080 */
    right: 1.2%;
    /* 13/1080，貼在圖片（LEFT 容器）右下角 */
    width: 14.54%;
    /* 157/1080 */
    aspect-ratio: 163.072 / 18.901;
    pointer-events: none;
}


/* 手機版 section 4 容器：桌機隱藏 */

.m-section4 {
    display: none;
}


/* ===== Section 5: 三高一快 北桃共榮 (section 3 同型) ===== */

.section5 {
    display: flex;
}

.section5__left {
    flex: 0 0 calc(820 / 1920 * 100%);
    position: relative;
    background-image: url("assets/section-1-1.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5.21%;
    box-sizing: border-box;
}

.section5__right {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
}

.section5__frame {
    width: 100%;
    /* 撐滿文字欄內容區 */
    border: 2px solid #ff8a1e;
    padding: 13.18% 6.36% 7.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.section5__title-en {
    display: block;
    width: 100%;
    /* 522/528 ≈ 99% — 取 100 簡化 */
    aspect-ratio: 530.274 / 187.674;
    pointer-events: none;
}

.section5__title-zh {
    display: block;
    width: 91%;
    /* 480/528 */
    aspect-ratio: 487.896 / 63.879;
    margin: 56px auto 0;
    pointer-events: none;
}

.section5__divider {
    width: 34%;
    /* 180/528 */
    height: 0;
    border: none;
    border-top: 1.5px solid #ff8a1e;
    margin: 56px auto 0;
}

.section5__desc {
    margin: 61px 0 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.section5__hero {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section5__caption {
    position: absolute;
    bottom: 1.2%;
    right: 1.2%;
    /* 13/1080（圖片欄改為 1080 設計單位） */
    width: 14.54%;
    /* 157/1080 */
    aspect-ratio: 163.072 / 18.901;
    pointer-events: none;
}


/* 手機版 section 5 容器：桌機隱藏 */

.m-section5 {
    display: none;
}


/* ===== Section 6: 昭揚二十四年 (section 4 同型) ===== */

.section6 {
    display: flex;
}

.section6__left {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
}

.section6__hero {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section6__right {
    flex: 0 0 calc(820 / 1920 * 100%);
    position: relative;
    background-image: url("assets/section-1-1.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    padding: 5.21%;
    box-sizing: border-box;
}

.section6__frame {
    width: 100%;
    /* 撐滿文字欄內容區 */
    border: 2px solid #ff8a1e;
    padding: 12.84% 6.36% 7.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.section6__title-en {
    display: block;
    width: 86%;
    /* 453/528 */
    aspect-ratio: 460.688 / 168.519;
    margin: 0 auto;
    pointer-events: none;
}

.section6__title-zh {
    display: block;
    width: 91%;
    /* 481/528 */
    aspect-ratio: 489.369 / 64.351;
    margin: 56px auto 0;
    pointer-events: none;
}

.section6__divider {
    width: 34%;
    height: 0;
    border: none;
    border-top: 1.5px solid #ff8a1e;
    margin: 56px auto 0;
}

.section6__desc {
    margin: 61px 0 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.section6__caption {
    position: absolute;
    bottom: 1.2%;
    right: 1.2%;
    /* 13/1080，貼在圖片（LEFT 容器）右下角 */
    width: 14.54%;
    /* 157/1080 */
    aspect-ratio: 163.072 / 18.901;
    pointer-events: none;
}


/* 手機版 section 6 容器：桌機隱藏 */

.m-section6 {
    display: none;
}


/* ===== Section 7: Make An Appointment Now =====
   AI 量測對照:
   section = 1920×1080；container = 1720×880 at (100,100)
   container padding: top 42 / bottom 50 / sides 0
   title 1005×81 (centered), title→content gap 35
   content area 672 tall，vertical orange divider 在中央
*/

.section[data-id="7"] {
    aspect-ratio: auto;
    /* 取消寬高比，高度隨內容成長 */
    overflow: visible;
    background-image: url("assets/section-1-1.webp");
    background-size: cover;
    background-position: center;
    padding: 5.21%;
    /* 100/1920，等同先前 container margin，但保留 section 背景 */
}


/* container 改為 in-flow，由 section 的 padding 給距離；高度隨內容自然成長 */

.section7__container {
    border: 2px solid #ff8a1e;
    padding: 42px 0 50px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.section7__title {
    display: block;
    width: 58.43%;
    /* 1005/1720 */
    aspect-ratio: 1013 / 89;
    margin: 0 auto;
    pointer-events: none;
}

.section7__content {
    flex: 1;
    display: flex;
    margin-top: 35px;
    min-height: 0;
}

.section7__col {
    flex: 0 0 50%;
    padding: 0 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.section7__col--left {
    border-right: 1px solid #ff8a1e;
}

.section7__info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    min-width: 0;
}

.section7__info-text {
    flex: 0 0 41%;
    min-width: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.section7__info-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.section7__info-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.section7__info-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.section7__info-row dt {
    flex: 0 0 auto;
    color: #fff;
    padding-right: 14px;
    border-right: 1px solid white;
    white-space: nowrap;
}

.section7__info-row dd {
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.section7__info-value--phone {
    font-size: 120%;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.section7__roadmap {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    display: block;
    aspect-ratio: 423 / 265;
    pointer-events: none;
}

.section7__map {
    display: block;
    width: 100%;
    aspect-ratio: 758 / 280;
    margin-top: 50px;
    border: 0;
}

.section7__col--right {
    color: #fff;
}

.section7__form-title {
    margin: 0 0 36px;
    font-size: 22px;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.section7__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.section7__row {
    display: flex;
    gap: 24px;
}

.section7__input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ff8a1e;
    color: #fff;
    /* 使用者輸入後為白色 */
    font-size: 16px;
    letter-spacing: 0.06em;
    padding: 8px 0;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.section7__input::placeholder {
    color: #ff8a1e;
    /* 原本 label 的橘色搬到 placeholder */
    opacity: 1;
    letter-spacing: 0.06em;
}

.section7__input:focus {
    border-bottom-color: #ffb066;
}


/* select 用第一個 disabled hidden option 模擬 placeholder
   :invalid (required + 未選) 時顯示橘色，已選時恢復白色 */

.section7__input--select {
    color: #ff8a1e;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 28px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23ff8a1e' d='M0 0 L12 0 L6 8 Z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 12px 8px;
}

.section7__input--select:valid {
    color: #fff;
}

.section7__input--select option {
    color: #000;
    background: #fff;
}


/* twzipcode plugin 在這兩個 div 裡塞 <select>，外層 div 需 flex 佔半行寬 */

.section7__form [data-role="county"],
.section7__form [data-role="district"] {
    flex: 1;
    min-width: 0;
}

.section7__form [data-role="county"] select,
.section7__form [data-role="district"] select {
    width: 100%;
}

.section7__row--captcha {
    align-items: flex-end;
    gap: 26px;
}

.section7__btn {
    background: #ff8100;
    /* 按鈕指定色 */
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    letter-spacing: 0.16em;
    flex: 0 0 40%;
    aspect-ratio: 306 / 58;
    transition: background 0.15s ease;
}

.section7__btn:hover {
    background: #ff9a33;
}

.section7__privacy {
    font-size: 13px;
    line-height: 1.85;
    color: #fff;
    margin-top: 8px;
}

.section7__privacy p {
    margin: 0;
}

.section7__row--confirm {
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.section7__consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}

.section7__consent input {
    width: 14px;
    height: 14px;
    accent-color: #ff8a1e;
    cursor: pointer;
}


/* 手機版 section 7 容器：桌機隱藏 */

.m-section7 {
    display: none;
}

.section__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    letter-spacing: 0.1em;
    opacity: 0.4;
}


/* ===== Responsive: 1280px 以下縮小字級與 sections 3-6 frame 內間距，避免內容把 section 撐高 ===== */

@media (max-width: 1280px) {
    .section2 {
        padding: 50px;
    }
    .section2__frame {
        padding: 30px 35px 28px 30px;
    }
    .section2__desc,
    .section3__desc,
    .section4__desc,
    .section5__desc,
    .section6__desc {
        font-size: 10px;
    }
    .section3__title-zh,
    .section4__title-zh,
    .section5__title-zh,
    .section6__title-zh,
    .section3__divider,
    .section4__divider,
    .section5__divider,
    .section6__divider {
        margin-top: 28px;
        /* 56 → 28 */
    }
    .section3__desc,
    .section4__desc,
    .section5__desc,
    .section6__desc {
        margin-top: 30px;
        /* 61 → 30 */
    }
    .section2__divider,
    .section2__desc {
        margin-top: 16px;
    }
}


/* ===== Mobile (< 768px)：切換 section 1 為手機版主視覺 =====
   手機版 artboard 為 760×1080，section 高度自然由 svg aspect-ratio 決定 */

@media (max-width: 768px) {
    .section[data-id="1"] {
        aspect-ratio: 760 / 1080;
    }
    .section__svg--desktop {
        display: none;
    }
    .section__svg--mobile {
        display: block;
    }
    /* ===== Mobile section 2：星空底 + 垂直堆疊（無外框） =====
       設計稿 760×1080；inner 寬度 = 760 - 100*2 = 560，所有 child margin/width 以 560 為基準 */
    .section[data-id="2"] {
        aspect-ratio: auto;
        height: auto;
        background-size: cover;
        /* 手機比例與桌機差很多，改 cover 避免拉伸/留白 */
    }
    .section2 {
        display: none;
    }
    /* 桌機 grid 佈局收起 */
    .m-section2 {
        display: block;
        padding: 13.42% 13.16% 6.45%;
        /* 102 / 100 / 49（相對 section 寬 760） */
        box-sizing: border-box;
    }
    .m-section2__title-en {
        display: block;
        width: 100%;
        /* 559/560 ≈ 100% */
        aspect-ratio: 558.91 / 42.24;
        pointer-events: none;
    }
    .m-section2__title-zh {
        display: block;
        width: 56.96%;
        /* 319/560 */
        aspect-ratio: 318.60 / 37.54;
        margin: 7.14% auto 0;
        /* 40/560 */
        pointer-events: none;
    }
    .m-section2__divider {
        width: 21.43%;
        /* 120/560 */
        height: 0;
        border: none;
        border-top: 1px solid #ff8a1e;
        margin: 6.61% auto 0;
        /* 37/560 */
    }
    .m-section2__desc {
        margin: 7.14% 0 0;
        /* 40/560 */
        font-size: 14px;
        line-height: 1.85;
        letter-spacing: 0.04em;
        color: #fff;
    }
    .m-section2__hero {
        display: block;
        width: 125.36%;
        /* 702/560，向兩側溢出 inner padding */
        max-width: none;
        margin: 4.29% -12.68% 0;
        /* 24/560 top；左右負 margin 置中對齊 section */
        height: auto;
    }
    .m-section2__note {
        margin: 6.61% 0 0;
        /* 37/560 */
        font-size: 12px;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.7);
        letter-spacing: 0.02em;
    }
    /* ===== Mobile section 3：整張 hero 圖為背景，文字疊在上半部 =====
       設計稿 760×1080；inner 寬度 = 560，所有 child 用 560 為基準 */
    .section[data-id="3"] {
        aspect-ratio: auto;
        height: auto;
        display: block;
    }
    .section3__left,
    .section3__right {
        display: none;
    }
    /* 桌機左右兩欄收起 */
    .m-section3 {
        display: block;
        position: relative;
        aspect-ratio: 760 / 1080;
        background-image: url("assets/m-section-3-hero.jpg");
        background-size: cover;
        background-position: center;
        padding: 13.68% 13.16% 0;
        /* top 104/760, sides 100/760 */
        box-sizing: border-box;
        overflow: hidden;
    }
    .m-section3__title-en {
        display: block;
        width: 100%;
        aspect-ratio: 556.49 / 42.30;
        pointer-events: none;
    }
    .m-section3__title-zh {
        display: block;
        width: 57.32%;
        /* 321/560 */
        aspect-ratio: 321.04 / 37.58;
        margin: 6.61% auto 0;
        /* 37/560 */
        pointer-events: none;
    }
    .m-section3__divider {
        width: 21.43%;
        /* 120/560 */
        height: 0;
        border: none;
        border-top: 1px solid #ff8a1e;
        margin: 6.61% auto 0;
        /* 37/560 */
    }
    .m-section3__desc {
        margin: 7.14% 0 0;
        /* 40/560 */
        font-size: 12px;
        line-height: 1.85;
        letter-spacing: 0.04em;
        color: #fff;
    }
    .m-section3__caption {
        position: absolute;
        right: 1.45%;
        /* 11/760 */
        bottom: 1.02%;
        /* 11/1080 */
        width: 17.71%;
        /* 134.62/760 */
        aspect-ratio: 134.62 / 11.05;
        pointer-events: none;
    }
    /* ===== Mobile section 4：同 section 3 結構，hero 換成大巨蛋 ARENA ===== */
    .section[data-id="4"] {
        aspect-ratio: auto;
        height: auto;
        display: block;
    }
    .section4__left,
    .section4__right {
        display: none;
    }
    .m-section4 {
        display: block;
        position: relative;
        aspect-ratio: 760 / 1080;
        background-image: url("assets/m-section-4-hero.jpg");
        background-size: cover;
        background-position: center;
        padding: 11% 13.16% 0;
        /* top 11%（手調），sides 100/760 */
        box-sizing: border-box;
        overflow: hidden;
    }
    .m-section4__title-en {
        display: block;
        width: 100%;
        aspect-ratio: 557.24 / 44.98;
        pointer-events: none;
    }
    .m-section4__title-zh {
        display: block;
        width: 57.07%;
        /* 319.59/560 */
        aspect-ratio: 319.59 / 37.89;
        margin: 6.43% auto 0;
        /* 36/560 */
        pointer-events: none;
    }
    .m-section4__divider {
        width: 21.43%;
        /* 120/560 */
        height: 0;
        border: none;
        border-top: 1px solid #ff8a1e;
        margin: 6.61% auto 0;
        /* 37/560 */
    }
    .m-section4__desc {
        margin: 7.14% 0 0;
        /* 40/560 */
        font-size: 12px;
        line-height: 1.85;
        letter-spacing: 0.04em;
        color: #fff;
    }
    .m-section4__caption {
        position: absolute;
        right: 1.45%;
        /* 11/760 */
        bottom: 1.02%;
        /* 11/1080 */
        width: 17.71%;
        /* 134.62/760 */
        aspect-ratio: 134.62 / 11.05;
        pointer-events: none;
    }
    /* ===== Mobile section 5：同 section 3/4 結構，hero 換成交通圖 ===== */
    .section[data-id="5"] {
        aspect-ratio: auto;
        height: auto;
        display: block;
    }
    .section5__left,
    .section5__right {
        display: none;
    }
    .m-section5 {
        display: block;
        position: relative;
        aspect-ratio: 760 / 1080;
        background-image: url("assets/m-section-5-hero.jpg");
        background-size: cover;
        background-position: center;
        padding: 11% 13.16% 0;
        /* 跟 section 4 一致 */
        box-sizing: border-box;
        overflow: hidden;
    }
    .m-section5__title-en {
        display: block;
        width: 100%;
        aspect-ratio: 551.38 / 54.34;
        pointer-events: none;
    }
    .m-section5__title-zh {
        display: block;
        width: 57.13%;
        /* 319.94/560 */
        aspect-ratio: 319.94 / 37.26;
        margin: 6.43% auto 0;
        /* 36/560 */
        pointer-events: none;
    }
    .m-section5__divider {
        width: 21.43%;
        /* 120/560 */
        height: 0;
        border: none;
        border-top: 1px solid #ff8a1e;
        margin: 6.61% auto 0;
        /* 37/560 */
    }
    .m-section5__desc {
        margin: 7.14% 0 0;
        /* 40/560 */
        font-size: 12px;
        line-height: 1.85;
        letter-spacing: 0.04em;
        color: #fff;
    }
    .m-section5__caption {
        position: absolute;
        right: 1.45%;
        /* 11/760 */
        bottom: 1.02%;
        /* 11/1080 */
        width: 17.71%;
        /* 134.62/760 */
        aspect-ratio: 134.62 / 11.05;
        pointer-events: none;
    }
    /* ===== Mobile section 6：同 3/4/5 結構，hero 換成大樓建築 ===== */
    .section[data-id="6"] {
        aspect-ratio: auto;
        height: auto;
        display: block;
    }
    .section6__left,
    .section6__right {
        display: none;
    }
    .m-section6 {
        display: block;
        position: relative;
        aspect-ratio: 760 / 1080;
        background-image: url("assets/m-section-6-hero.jpg");
        background-size: cover;
        background-position: center;
        padding: 11% 13.16% 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    .m-section6__title-en {
        display: block;
        width: 100%;
        aspect-ratio: 553.06 / 40.11;
        pointer-events: none;
    }
    .m-section6__title-zh {
        display: block;
        width: 57.31%;
        /* 320.92/560 */
        aspect-ratio: 320.92 / 37.58;
        margin: 6.43% auto 0;
        pointer-events: none;
    }
    .m-section6__divider {
        width: 21.43%;
        height: 0;
        border: none;
        border-top: 1px solid #ff8a1e;
        margin: 6.61% auto 0;
    }
    .m-section6__desc {
        margin: 7.14% 0 0;
        font-size: 12px;
        line-height: 1.85;
        letter-spacing: 0.04em;
        color: #fff;
    }
    .m-section6__caption {
        position: absolute;
        right: 1.45%;
        bottom: 1.02%;
        width: 17.71%;
        aspect-ratio: 134.62 / 11.05;
        pointer-events: none;
    }
    /* ===== Mobile section 7：星空底 + title / 基本資料 / 地圖 / 表單 直向堆疊 =====
       設計稿 760×1080；inner 560；表單不固定高度，隨內容自然成長 */
    .section[data-id="7"] {
        aspect-ratio: auto;
        height: auto;
        padding: 0;
        /* 取消桌機 5.21% padding */
        background-size: cover;
        /* 跟 section 2 一致 */
        display: block;
    }
    .section7__container {
        display: none;
    }
    /* 桌機 container 收起 */
    .m-section7 {
        display: block;
        padding: 13.16% 11.54% 26% 11.54%;
        /* top 87.7/760, sides 100/760, bottom 約對稱 */
        box-sizing: border-box;
    }
    .m-section7__title {
        display: block;
        width: 100%;
        /* 555/560 ≈ 100% */
        aspect-ratio: 555.35 / 44.78;
        pointer-events: none;
    }
    .m-section7__info {
        display: block;
        width: 100%;
        margin-top: 3.95%;
        color: #fff;
    }
    .m-section7__info-title {
        margin: 0 0 3%;
        font-size: 22px;
        font-weight: 400;
        letter-spacing: 0.08em;
        color: #fff;
    }
    .m-section7__info-list {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px 28px;
        font-size: 14px;
        letter-spacing: 0.04em;
        line-height: 1.4;
    }
    .m-section7__info-item {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }
    .m-section7__info-label {
        color: #fff;
        padding-right: 10px;
        border-right: 1px solid white;
        white-space: nowrap;
    }
    .m-section7__info-value {
        color: #fff;
        white-space: nowrap;
    }
    .m-section7__info-value--phone {
        font-weight: 700;
        letter-spacing: 0.06em;
        font-size: 1.2em;
    }
    .m-section7__map-row {
        display: flex;
        gap: 3.57%;
        /* 20/560 */
        margin-top: 5%;
        /* 28/560 */
    }
    .m-section7__map {
        flex: 1 1 0;
        min-width: 0;
        aspect-ratio: 270 / 200;
        border: 0;
        background: #efe8d4;
    }
    .m-section7__roadmap {
        flex: 1 1 0;
        min-width: 0;
        aspect-ratio: 269.71 / 168.76;
        align-self: center;
        pointer-events: none;
    }
    .m-section7__form-title {
        margin: 10% 0 4.5%;
        /* 56/560 top, 25/560 bottom */
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 0.08em;
        color: #fff;
    }
    .m-section7__form {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    .m-section7__row {
        display: flex;
        gap: 14px;
    }
    .m-section7__input {
        flex: 1;
        min-width: 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid #ff8a1e;
        color: #fff;
        font-size: 14px;
        letter-spacing: 0.04em;
        padding: 6px 0;
        outline: none;
        font-family: inherit;
        box-sizing: border-box;
    }
    .m-section7__input::placeholder {
        color: #ff8a1e;
        opacity: 1;
        letter-spacing: 0.04em;
    }
    .m-section7__input:focus {
        border-bottom-color: #ffb066;
    }
    .m-section7__input--select {
        color: #ff8a1e;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        padding-right: 22px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23ff8a1e' d='M0 0 L12 0 L6 8 Z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 4px center;
        background-size: 10px 7px;
    }
    .m-section7__input--select:valid {
        color: #fff;
    }
    .m-section7__input--select option {
        color: #000;
        background: #fff;
    }
    .m-section7__form [data-role="county"],
    .m-section7__form [data-role="district"] {
        flex: 1;
        min-width: 0;
    }
    .m-section7__form [data-role="county"] select,
    .m-section7__form [data-role="district"] select {
        width: 100%;
    }
    .m-section7__row--captcha {
        align-items: flex-end;
        gap: 12px;
    }
    .m-section7__btn {
        background: #ff8100;
        color: #fff;
        border: none;
        cursor: pointer;
        font-family: inherit;
        font-size: 14px;
        letter-spacing: 0.12em;
        padding: 10px 0;
        flex: 0 0 40%;
        transition: background 0.15s ease;
    }
    .m-section7__btn:hover {
        background: #ff9a33;
    }
    .m-section7__privacy {
        font-size: 11px;
        line-height: 1.7;
        color: #fff;
        margin-top: 4px;
    }
    .m-section7__privacy p {
        margin: 0;
    }
    .m-section7__row--confirm {
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }
    .m-section7__consent {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        color: #fff;
        cursor: pointer;
        flex: 1;
    }
    .m-section7__consent input {
        width: 12px;
        height: 12px;
        accent-color: #ff8a1e;
        cursor: pointer;
    }
}

.jconfirm .jc-bs3-container.container {
    margin: 0 auto;
}

.jconfirm .jc-bs3-container.container .jconfirm-box-container {
    max-width: 380px;
    margin: 0 auto;
}

.jc-bs3-row {
    color: #000 !important;
}