/* ============================================
   谷逸慢居 GOING MAGIC - 全站樣式 (gm.css)
   設計來源：Figma 首頁 node 509-2303，電腦版 1920 寬基準
   載入順序在 gs.css 之後，覆蓋舊站共用設定
   ============================================ */

/* MARK:設計變數 */
:root {
    --gm-gold: #caa05c;
    --gm-gold-dark: #b08a45;
    --gm-gold-soft: #a58a4e;
    --gm-teal: #2e6b7c;
    --gm-ink: #1d2828;
    --gm-dark: #464646;
    --gm-text: #222222;
    --gm-text-body: #444444;
    --gm-text-muted: #8a8a8a;
    --gm-line: #e5e5e5;
    --gm-bg-1: #f6f6f6;
    --gm-bg-2: #f1f1f1;
    --gm-bg-3: #e9e9e9;
    --gm-bg-news: #f7f5f0;
    --gm-white: #ffffff;
    --gm-container: 1330px;
    --gm-header-h: 90px;
    --gm-font-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    --gm-font-serif: 'Noto Serif TC', 'PMingLiU', 'Times New Roman', serif;
    --gm-font-en: 'Poppins', 'Inter', 'Noto Sans TC', sans-serif;
    --gm-font-en-serif: 'Cormorant Garamond', 'Times New Roman', serif;
}
@media(max-width: 1199px) {
    :root {
        --gm-header-h: 60px;
    }
}
/* MARK:基礎覆蓋 (gs.css 為舊站設定，這裡改為新站) */
body {
    font-family: var(--gm-font-sans);
    font-weight: 400;
    color: var(--gm-text);
    background: var(--gm-white);
    background-image: none;
    line-height: 1.5;
}
/* Bootstrap reboot 的元素 margin (p / 標題 / 清單 / label) 會蓋過 gs.css 的萬用重置，這裡以同層級選擇器歸零 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
label {
    margin: 0;
}
a:hover {
    color: inherit;
}
/* HTML 文字編輯器內容::開始 */
.html_ekditor_content * {
    line-height: 1.5em;
}
.html_ekditor_content ul,
.html_ekditor_content ol {
    list-style: revert;
}
.html_ekditor_content {
    width: 100%;
    word-break: break-all;
}

.html_ekditor_content img {
    max-width: 100%;
    height: auto !important;
}

.html_ekditor_content iframe {
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

.html_ekditor_content p {
    z-index: 1;
}

.html_ekditor_content p {
    z-index: 1;
}

.html_ekditor_content ul,
.html_ekditor_content ol {
    padding-left: 2rem;
}
/* MARK:共用容器 */
.gm_container {
    width: 100%;
    max-width: calc(var(--gm-container) + 40px);
    margin: 0 auto;
    padding: 0 20px;
}

/* MARK:共用 - 金點標籤 (outline pill) */
.gm_badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 24px;
    padding: 0 52px 0 34px;
    border: 1px solid var(--gm-gold);
    border-radius: 999px;
    font-size: 16px;
    line-height: 1;
    color: var(--gm-text);
    white-space: nowrap;
}
.gm_badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gm-gold);
    flex: 0 0 auto;
}
/* 深底半透明版 (主視覺、品牌願景、360°) */
.gm_badge.is_dark {
    background: rgba(20, 32, 32, 0.6);
    color: var(--gm-white);
}
/* 金字字距版 (ESG、投資方案、最新消息) */
.gm_badge.is_gold_text {
    height: 35px;
    padding: 0 80px;
    font-size: 16px;
    letter-spacing: 0.3em;
    color: var(--gm-gold);
}
@media (max-width: 1199px) {
    /* 左右 80px 內距加上不換行，會把區塊標題左欄的最小寬度撐大而壓縮右欄，平板起改為可換行的小內距 */
    .gm_badge.is_gold_text {
        height: auto;
        padding: 6px 28px;
        white-space: normal;
    }
}
@media (max-width: 767px) {
    .gm_badge {
        white-space: normal;
        height: auto;
        min-height: 30px;
        padding: 6px 16px;
        line-height: 1.4;
    }
    /* 金字版的固定高度與大左右內距特異度較高，手機版需明確覆蓋，否則文字換行會溢出膠囊 */
    .gm_badge.is_gold_text {
        height: auto;
        padding: 6px 16px;
        letter-spacing: 0.1em;
    }
}

/* MARK:共用 - 區塊標題 (左標題 / 右段落含直線) */
.gm_section_head {
    display: grid;
    grid-template-columns: 575px 1fr;
    align-items: end;
}
.gm_section_head_left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.gm_en_title {
    margin-top: 20px;
    font-family: var(--gm-font-en);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--gm-gold);
}
.gm_h2 {
    margin-top: 20px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gm-text);
}
.gm_h3 {
    margin-top: 32px;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--gm-text);
}
/* 右側段落：金色直線比文字上下各多出一段，且底緣略低於左欄 (依設計稿量測) */
.gm_section_head_right {
    padding: 9px 40px 24px 34px;
    border-left: 1px solid #b8975a;
    font-size: 18px;
    line-height: 36px;
    color: #191919;
}
.gm_section_head_right p + p {
    margin-top: 0;
}
@media (max-width: 1199px) {
    .gm_section_head {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .gm_en_title {
        font-size: 40px;
    }
    .gm_h2,
    .gm_h3 {
        font-size: 32px;
    }
}
@media (max-width: 767px) {
    .gm_section_head {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .gm_en_title {
        margin-top: 24px;
        font-size: 32px;
    }
    .gm_h2,
    .gm_h3 {
        margin-top: 12px;
        font-size: 24px;
    }
    .gm_section_head_right,
    .gm_about .gm_section_head_right {
        padding: 6px 0 10px 20px;
        margin-bottom: 0;
        font-size: 15px;
        line-height: 28px;
    }
}

/* MARK:共用 - 更多按鈕 (outline pill + 金色圓形箭頭) */
.gm_more_wrap {
    display: flex;
    justify-content: center;
}
.gm_more_btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 62px;
    padding: 0 10px 0 28px;
    border: 1px solid #191919;
    border-radius: 999px;
    font-size: 16px;
    color: var(--gm-text);
    background: transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.gm_more_btn:hover,
.gm_more_btn:focus-visible {
    border-color: var(--gm-gold);
    background: rgba(202, 160, 92, 0.08);
}
.gm_more_btn.is_light {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--gm-white);
}
.gm_more_btn.is_light:hover,
.gm_more_btn.is_light:focus-visible {
    border-color: var(--gm-white);
    background: rgba(255, 255, 255, 0.12);
}
.gm_btn_circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gm-gold);
    color: var(--gm-white);
    flex: 0 0 auto;
}
.gm_btn_circle svg {
    width: 18px;
    height: 18px;
}
.gm_more_btn .gm_btn_circle {
    color: #191919;
}
.gm_btn_circle.is_white {
    background: var(--gm-white);
    color: var(--gm-text);
}
.gm_btn_circle.is_black {
    background: #000;
    color: var(--gm-white);
}
@media (max-width: 767px) {
    .gm_more_btn {
        height: 52px;
        padding: 0 8px 0 20px;
        font-size: 15px;
    }
    .gm_btn_circle {
        width: 36px;
        height: 36px;
    }
}

/* MARK:共用 - 金色小卡 icon (about / esg) */
.gm_card_icon {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
}

/* MARK:頂部 Header
   設計來源: Figma 首頁 Header (高 90，透明覆蓋主視覺)
   滾動後加 .is_scrolled → 深色半透明底 */
.gm_header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--gm-header-h);
    z-index: 100;
    color: var(--gm-white);
    background: transparent;
    transition: background-color 0.3s ease;
}
.gm_header.is_scrolled {
    background: rgba(18, 32, 32, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.gm_header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 200px;
}
.gm_logo img {
    height: 58px;
    width: auto;
}
.gm_nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 108px;
}
.gm_nav_list {
    display: flex;
    align-items: center;
    gap: 44px;
}
.gm_nav_item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    color: var(--gm-white);
    padding: 12px 0;
    transition: color 0.2s ease;
}
.gm_nav_item a:hover,
.gm_nav_item a:focus-visible,
.gm_nav_item.is_active a {
    color: var(--gm-gold);
}
.gm_nav_icon {
    width: 20px;
    height: 20px;
}
.gm_chevron {
    width: 16px;
    height: 16px;
}
.gm_nav_actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.gm_brand_pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: rgba(20, 32, 32, 0.85);
    font-size: 16px;
    white-space: nowrap;
    color: var(--gm-white);
    margin-right: 120px;
    transition: border-color 0.2s ease;
}
.gm_brand_pill:hover,
.gm_brand_pill:focus-visible {
    border-color: var(--gm-gold);
}
.gm_join_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 44px;
    border-radius: 999px;
    background: var(--gm-gold);
    font-size: 16px;
    color: var(--gm-white);
    transition: background-color 0.2s ease;
}
.gm_join_btn:hover,
.gm_join_btn:focus-visible {
    background: var(--gm-gold-dark);
}
/* 搜尋按鈕：設計稿為 56 圓形毛玻璃底 (淺色 13% + 白框 9% + 背景模糊 29)，內含 16 白色圖示 */
.gm_search_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    background: rgba(216, 218, 223, 0.13);
    backdrop-filter: blur(29px);
    -webkit-backdrop-filter: blur(29px);
    color: var(--gm-white);
    transition: background-color 0.2s ease;
}
.gm_search_btn:hover,
.gm_search_btn:focus-visible {
    background: rgba(216, 218, 223, 0.26);
}
.gm_search_btn svg {
    width: 16px;
    height: 16px;
}
/* 漢堡按鈕 (桌機隱藏) */
.gm_menu_toggle {
    display: none;
    position: relative;
    z-index: 110;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.gm_menu_toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gm-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 1839px) {
    .gm_header_inner {
        padding: 0 60px;
    }
    .gm_nav {
        margin-left: 60px;
    }
    .gm_nav_list {
        gap: 30px;
    }
    .gm_nav_actions {
        gap: 24px;
    }
    .gm_brand_pill {
        margin-right: 20px;
    }
}
@media (max-width: 1349px) {
    .gm_header_inner {
        padding: 0 32px;
    }
    .gm_nav {
        margin-left: 32px;
    }
    .gm_nav_list {
        gap: 20px;
    }
    .gm_nav_item a {
        font-size: 15px;
    }
    .gm_nav_actions {
        gap: 16px;
    }
    .gm_brand_pill {
        margin-right: 0;
        font-size: 15px;
    }
}
@media (max-width: 1199px) {
    .gm_header_inner {
        padding: 0 20px;
    }
    /* 平板/手機不用 backdrop-filter：它會讓內部 fixed 的側拉選單以 Header 為定位基準而被裁切 */
    .gm_header.is_scrolled {
        background: rgba(18, 32, 32, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .gm_logo img {
        height: 46px;
    }
    .gm_menu_toggle {
        display: flex;
    }
    /* 側拉面板 (以視窗為定位基準，高度撐滿) */
    .gm_nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: min(360px, 100%);
        margin: 0;
        padding: 110px 32px 40px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 40px;
        background: rgba(18, 32, 32, 0.98);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    body.is_gm_nav_open .gm_nav {
        transform: translateX(0);
    }
    body.is_gm_nav_open .gm_header {
        background: rgba(18, 32, 32, 0.98);
    }
    .gm_nav_list {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    .gm_nav_item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .gm_nav_item a {
        width: 100%;
        justify-content: space-between;
        padding: 16px 0;
        font-size: 17px;
    }
    /* 首頁的圖示在文字左側，不跟著 space-between 被推開 (其餘項目的下拉箭頭仍靠右) */
    .gm_nav_item[menu_id="home"] a {
        justify-content: flex-start;
    }
    .gm_nav_actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
    .gm_join_btn {
        width: 100%;
    }
    .gm_search_btn {
        width: 28px;
        height: 28px;
    }
    body.is_gm_nav_open .gm_menu_toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    body.is_gm_nav_open .gm_menu_toggle span:nth-child(2) {
        opacity: 0;
    }
    body.is_gm_nav_open .gm_menu_toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    body.is_gm_nav_open {
        overflow: hidden;
    }
}

/* MARK:Header 搜尋列
   桌機：點搜尋 icon 後於 Header 下方展開 (.gm_header.is_search_open)
   平板/手機 (≤1199)：在側拉選單內直接顯示輸入框 */
.gm_search_bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    background: rgba(18, 32, 32, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.gm_header.is_search_open {
    background: rgba(18, 32, 32, 0.95);
}
.gm_header.is_search_open .gm_search_bar {
    display: block;
}
.gm_search_bar_inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 18px 20px;
}
.gm_search_bar_icon {
    width: 22px;
    height: 22px;
    color: var(--gm-gold);
    flex: 0 0 auto;
}
.gm_search_input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    font-family: var(--gm-font-sans);
    font-size: 16px;
    color: var(--gm-white);
    outline: none;
    transition: border-color 0.2s ease;
}
.gm_search_input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.gm_search_input:focus {
    border-bottom-color: var(--gm-gold);
}
.gm_search_input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.gm_search_submit {
    height: 40px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--gm-gold);
    font-size: 15px;
    color: var(--gm-white);
    flex: 0 0 auto;
    transition: background-color 0.2s ease;
}
.gm_search_submit:hover,
.gm_search_submit:focus-visible {
    background: var(--gm-gold-dark);
}
.gm_search_close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--gm-white);
    flex: 0 0 auto;
}
.gm_search_close svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 1199px) {
    .gm_search_btn,
    .gm_search_close {
        display: none;
    }
    .gm_search_bar {
        position: static;
        display: block;
        width: 100%;
        background: transparent;
        border-top: 0;
    }
    .gm_search_bar_inner {
        max-width: none;
        padding: 0;
        gap: 10px;
    }
}

/* MARK:主視覺 Hero (輪播)
   設計來源: Figma 首頁 0–990，電腦版/手機版各一組 slider */
.gm_hero {
    position: relative;
    height: clamp(640px, 51.6vw, 990px);
    color: var(--gm-white);
    overflow: hidden;
    background: var(--gm-ink);
}
.gm_hero_slider,
.gm_hero_slider .slick-list,
.gm_hero_slider .slick-track,
.gm_hero_slide {
    height: 100%;
}
#gm_hero_mobile {
    display: none;
}
.gm_hero_slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* 深綠漸層覆蓋 */
.gm_hero_slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 28, 28, 0.2) 0%, rgba(8, 40, 34, 0.45) 60%, rgba(6, 30, 26, 0.7) 100%);
    pointer-events: none;
}
/* 輪播連結 (有 link 時整張可點) */
.gm_hero_slide_link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.gm_hero_inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding: var(--gm-header-h) 700px 0 230px;
    pointer-events: none;
}
.gm_hero_inner a,
.gm_hero_inner button {
    pointer-events: auto;
}
.gm_hero_caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.gm_hero_caption .gm_badge {
    height: 46px;
    padding: 0 24px;
    font-size: 20px;
    letter-spacing: 0.05em;
}
.gm_hero_title {
    margin-top: 50px;
    font-size: 88px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: var(--gm-white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gm_hero_sub {
    margin-top: 20px;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
}
.gm_hero_gap {
    display: inline-block;
    width: 0.6em;
}
.gm_hero_body {
    margin-top: 60px;
    padding-left: 170px;
}
/* 描述文字：超過 5 行時區塊自身垂直捲動，主視覺高度不變 */
.gm_hero_text {
    max-height: 200px;
    padding-right: 12px;
    overflow-y: auto;
    pointer-events: auto;
    font-size: 18px;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.92);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}
.gm_hero_text::-webkit-scrollbar {
    width: 4px;
}
.gm_hero_text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}
.gm_hero_btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}
.gm_hero_btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 56px;
    padding: 0 8px 0 26px;
    border-radius: 999px;
    font-size: 18px;
    color: var(--gm-white);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.gm_hero_btn .gm_btn_circle {
    width: 38px;
    height: 38px;
}
.gm_hero_btn.is_outline {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}
.gm_hero_btn.is_outline:hover,
.gm_hero_btn.is_outline:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--gm-white);
}
.gm_hero_btn.is_dark {
    border: 1px solid rgba(255, 255, 255, 1);
    background: rgba(58, 104, 128, .55);
}
.gm_hero_btn.is_dark:hover,
.gm_hero_btn.is_dark:focus-visible {
        background: rgba(58, 104, 128, 1);
}
/* 右側 360° 玻璃卡 + 照片 (靜態，不隨輪播切換) */
.gm_hero_side {
    position: absolute;
    right: 70px;
    bottom: 21.7%;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 17px;
}
.gm_hero_card {
    width: 286px;
    height: 333px;
    padding: 40px 34px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.gm_hero_card_deg {
    font-family: var(--gm-font-en);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}
.gm_hero_card_sub {
    margin-top: 20px;
    font-size: 18px;
}
.gm_hero_card_list {
    margin-top: 44px;
    font-size: 16px;
    line-height: 32px;
}
.gm_hero_photo {
    width: 285px;
    height: 320px;
    margin-top: 6px;
    border-radius: 16px;
    overflow: hidden;
}
.gm_hero_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 左側直向頁碼 (slick dots) */
/* 直線上下滿版 (top 0 → bottom 0)，頁碼垂直置中 */
.gm_hero_pager {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 26px;
}
.gm_hero_pager::before,
.gm_hero_pager::after {
    content: '';
    flex: 1;
    width: 1px;
    background: rgba(255, 255, 255, 0.6);
}
.gm_hero_pager::before {
    margin-bottom: 20px;
}
.gm_hero_pager::after {
    margin-top: 20px;
}
.gm_hero_pager .slick-dots {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gm_hero_pager .slick-dots li {
    width: 26px;
    height: 26px;
    margin: 0;
}
.gm_hero_pager .slick-dots li button {
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 4px;
    font-family: var(--gm-font-sans);
    font-size: 16px;
    line-height: 26px;
    color: var(--gm-white);
    text-align: center;
    transition: background-color 0.2s ease;
}
.gm_hero_pager .slick-dots li button::before {
    display: none;
}
.gm_hero_pager .slick-dots li button:hover,
.gm_hero_pager .slick-dots li button:focus-visible {
    background: rgba(46, 107, 124, 0.5);
}
.gm_hero_pager .slick-dots li.slick-active button {
    background: var(--gm-teal);
}
@media (max-width: 1639px) {
    .gm_hero {
        height: clamp(800px, 51.6vw, 990px);
    }
    .gm_hero_inner {
        padding: var(--gm-header-h) 600px 0 120px;
    }
    .gm_hero_text {
        max-height: 136px;
    }
    .gm_hero_title {
        font-size: 64px;
    }
    .gm_hero_sub {
        margin-top: 16px;
        font-size: 32px;
    }
    .gm_hero_body {
        margin-top: 32px;
        padding-left: 100px;
    }
    .gm_hero_text {
        line-height: 34px;
    }
    .gm_hero_side {
        right: 40px;
    }
    .gm_hero_card {
        width: 260px;
        height: 300px;
        padding: 32px 28px;
    }
    .gm_hero_photo {
        width: 260px;
        height: 290px;
    }
}
@media (max-width: 1199px) {
    .gm_hero {
        height: 1000px;
    }
    .gm_hero_inner {
        align-items: flex-start;
        padding: 130px 40px 0 100px;
    }
    .gm_hero_text {
        max-height: 96px;
    }
    .gm_hero_title {
        font-size: 56px;
    }
    .gm_hero_sub {
        font-size: 28px;
    }
    .gm_hero_body {
        padding-left: 0;
    }
    .gm_hero_text {
        line-height: 32px;
    }
    .gm_hero_side {
        bottom: 40px;
        right: 40px;
    }
}
@media (max-width: 767px) {
    #gm_hero_desk {
        display: none;
    }
    #gm_hero_mobile {
        display: block;
    }
    .gm_hero {
        height: 900px;
    }
    .gm_hero_inner {
        padding: 110px 20px 0 20px;
    }
    .gm_hero_text {
        max-height: 78px;
    }
    .gm_hero_caption .gm_badge {
        height: auto;
        min-height: 36px;
        padding: 6px 16px;
        font-size: 14px;
    }
    .gm_hero_title {
        margin-top: 24px;
        font-size: 36px;
        line-height: 1.3;
    }
    .gm_hero_sub {
        margin-top: 12px;
        font-size: 22px;
    }
    .gm_hero_body {
        margin-top: 24px;
    }
    .gm_hero_text {
        font-size: 15px;
        line-height: 26px;
    }
    .gm_hero_btns {
        margin-top: 20px;
        gap: 10px;
    }
    .gm_hero_btn {
        height: 48px;
        padding: 0 6px 0 18px;
        font-size: 15px;
    }
    .gm_hero_btn .gm_btn_circle {
        width: 34px;
        height: 34px;
    }
    .gm_hero_side {
        left: 20px;
        right: 20px;
        bottom: 30px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .gm_hero_card {
        width: auto;
        height: 220px;
        padding: 20px 16px;
    }
    .gm_hero_card_deg {
        font-size: 32px;
    }
    .gm_hero_card_sub {
        margin-top: 10px;
        font-size: 14px;
    }
    .gm_hero_card_list {
        margin-top: 18px;
        font-size: 14px;
        line-height: 26px;
    }
    .gm_hero_photo {
        width: auto;
        height: 220px;
        margin-top: 0;
    }
    /* 頁碑改為水平置於左下 (避免與文字重疊) */
    .gm_hero_pager {
        top: auto;
        bottom: 270px;
        left: 20px;
        width: auto;
        flex-direction: row;
    }
    .gm_hero_pager::before,
    .gm_hero_pager::after {
        display: none;
    }
    .gm_hero_pager .slick-dots {
        flex-direction: row;
        gap: 10px;
    }
}

/* MARK:About Us
   設計來源: Figma 首頁 990–2011 */
.gm_about {
    padding: 96px 0 80px;
    background: var(--gm-bg-1) url('../images/home/about_wire_bg.png') center top / cover no-repeat;
}
.gm_about .gm_h2 {
    margin-top: 28px;
}
.gm_about .gm_section_head_right {
    margin-bottom: -29px;
}
.gm_about_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 98px;
}
.gm_about_card {
    min-height: 362px;
    padding: 30px 0 40px;
    border-radius: 16px;
    background: var(--gm-white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.gm_about_card_head {
    position: relative;
    padding: 0 32px;
}
.gm_about_card_head .gm_card_icon {
    position: absolute;
    top: 0;
    right: 60px;
}
.gm_about_card_text {
    padding-top: 30px;
}
.gm_about_card_label {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gm-text);
}
.gm_about_card_title {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--gm-text);
}
.gm_about_card_divider {
    height: 1px;
    margin: 58px 32px 0;
    background: var(--gm-line);
}
.gm_about_card_list {
    margin-top: 40px;
    padding: 0 32px;
    font-size: 18px;
    line-height: 32px;
    color: #4d4d4d;
}
.gm_about_card_list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.gm_check {
    width: 14px;
    height: 14px;
    margin-top: 9px;
    color: #b8975a;
    flex: 0 0 auto;
}
.gm_about .gm_more_wrap {
    margin-top: 51px;
}
@media (max-width: 1199px) {
    .gm_about_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .gm_about {
        padding: 48px 0 56px;
    }
    .gm_about_cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }
    .gm_about_card {
        min-height: 0;
        padding: 24px 0 28px;
    }
    .gm_about_card_head {
        padding: 0 24px;
    }
    .gm_about_card_text {
        padding-top: 10px;
    }
    .gm_about_card_title {
        font-size: 26px;
    }
    .gm_about_card_divider {
        margin: 28px 24px 0;
    }
    .gm_about_card_list {
        margin-top: 20px;
        padding: 0 24px;
    }
    .gm_about .gm_more_wrap {
        margin-top: 32px;
    }
}

/* MARK:品牌願景 Brand Concept (手風琴)
   設計來源: Figma 首頁 2011–3004 */
.gm_brand {
    position: relative;
    padding: 100px 0 100px;
    color: var(--gm-white);
    background: var(--gm-ink) url('../images/home/brand_bg.jpg') center / cover no-repeat;
}
.gm_brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 20, 0.35);
}
.gm_brand_inner {
    position: relative;
    display: grid;
    grid-template-columns: 720px 530px;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    max-width: calc(var(--gm-container) + 40px);
    margin: 0 auto;
    padding: 0 20px;
}
.gm_brand_left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
/* 依 Figma 定稿 (node 509:2404)：無底色、白字，金色外框與圓點 (#caa05c) */
.gm_brand_left .gm_badge {
    margin-top: 10px;
    background: transparent;
}
.gm_brand_title {
    margin-top: 40px;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
}
.gm_brand_title_en {
    font-family: var(--gm-font-en);
    font-weight: 600;
    color: var(--gm-gold);
    margin-right: 14px;
}
.gm_acc {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 50px;
}
.gm_acc_item {
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--gm-text);
    overflow: hidden;
    padding: 0 25px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.gm_acc_item.is_open {
    border-color: var(--gm-gold);
    background: rgba(255, 255, 255, 0.88);
}
.gm_acc_head {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 77px;
    margin-bottom: 10px;
    text-align: left;
    border-bottom: 1px solid transparent;
}
.gm_acc_item.is_open .gm_acc_head {
    border-color: rgba(95, 94, 90, .5);
}
/* 點擊展開後按鈕仍保有焦點，Bootstrap 的 button:focus 外框被項目的 overflow:hidden 裁到只剩下緣，看起來像標題底線；
   一律不畫外框，鍵盤操作時改在右側圓形圖示外加一圈金色光環當焦點提示 */
.gm_acc_head:focus {
    outline: none;
}
.gm_acc_head:focus-visible .gm_acc_icon {
    box-shadow: 0 0 0 2px var(--gm-gold);
}
.gm_acc_num {
    width: 60px;
    font-family: var(--gm-font-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--gm-white);
    flex: 0 0 auto;
}
.gm_acc_item.is_open .gm_acc_num {
    color: var(--gm-gold);
}
.gm_acc_title {
    flex: 1;
    padding-left: 0;
    font-size: 22px;
    font-weight: 500;
    color: var(--gm-text);
}
.gm_acc_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(202, 160, 92, 0.35);
    color: var(--gm-text);
    flex: 0 0 auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.gm_acc_icon svg {
    width: 18px;
    height: 18px;
}
.gm_acc_item.is_open .gm_acc_icon {
    background: rgba(0, 0, 0, 0.12);
    transform: rotate(90deg);
}
.gm_acc_body {
    display: none;
    padding: 0 26px 26px 65px;
    font-size: 16px;
    line-height: 26px;
    color: var(--gm-text-body);
}
.gm_acc_item.is_open .gm_acc_body {
    display: block;
}
.gm_brand_left .gm_more_wrap {
    margin-top: 40px;
}
.gm_brand_left .gm_more_btn .gm_btn_circle {
    color: var(--gm-white);
}
.gm_brand_photo {
    position: relative;
    width: 100%;
    max-width: 530px;
    aspect-ratio: 530 / 800;
    border-radius: 20px;
    overflow: hidden;
    justify-self: end;
}
.gm_brand_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 霧面 Logo 面板 (位置依設計稿比例) */
.gm_brand_logo_panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64%;
    height: 48.75%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.gm_brand_logo_panel img {
    width: 60%;
    height: auto;
}
@media (max-width: 1639px) {
    .gm_brand_inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
@media (max-width: 1023px) {
    .gm_brand {
        padding: 56px 0 64px;
    }
    .gm_brand_inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .gm_brand_photo {
        justify-self: center;
    }
}
@media (max-width: 767px) {
    .gm_brand_title {
        margin-top: 24px;
        font-size: 28px;
    }
    .gm_brand_title_en {
        display: block;
        margin-right: 0;
    }
    .gm_acc {
        margin-top: 28px;
        gap: 12px;
    }
    .gm_acc_item {
        padding: 0 16px;
    }
    .gm_acc_head {
        min-height: 54px;
    }
    .gm_acc_num {
        width: 40px;
        font-size: 20px;
    }
    .gm_acc_title {
        padding-left: 8px;
        font-size: 17px;
    }
    .gm_acc_icon {
        width: 34px;
        height: 34px;
    }
    .gm_acc_body {
        padding: 0 16px 20px 64px;
        font-size: 15px;
        line-height: 24px;
    }
    .gm_brand_left .gm_more_wrap {
        margin-top: 28px;
    }
}

/* MARK:Master Plan 四期開發藍圖
   設計來源: Figma 首頁 3004–4710 */
/* 底圖：十字點陣鋪滿整區 (master_bg)，左下角建築線稿 (master_house_bg) */
.gm_master {
    padding: 96px 0 60px;
    background:
        url('../images/home/master_house_bg.png') left bottom / 777px auto no-repeat,
        #fefefe url('../images/home/master_bg.png') center top / cover no-repeat;
}
.gm_master .gm_en_title {
    font-size: 48px;
}
.gm_master .gm_section_head_right {
    color: #666666;
    line-height: 44px;
    padding-bottom: 10px;
}
.gm_master_map {
    max-width: 1470px;
    margin: 90px auto 0;
    padding: 0 20px;
}
.gm_master_map img {
    width: 100%;
    height: auto;
}
.gm_legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 40px;
    margin-top: 10px;
}
.gm_legend li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #595757;
}
.gm_legend_dot {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    background: var(--gm-legend-color);
}
.gm_phase_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 42px;
}
.gm_phase_card {
    padding: 34px 32px;
    border-radius: 14px;
    border-left: 5px solid var(--gm-phase-color);
    background: var(--gm-white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.gm_phase_label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gm-phase-color);
}
.gm_phase_title {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--gm-text);
}
.gm_phase_sub {
    margin-top: 14px;
    font-size: 15px;
    color: #555555;
}
.gm_master .gm_more_wrap {
    margin-top: 56px;
}
.gm_master .gm_more_btn {
    background: var(--gm-white);
}
@media (max-width: 1199px) {
    .gm_phase_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .gm_master {
        padding: 48px 0 48px;
    }
    .gm_master_map {
        margin-top: 40px;
        padding: 0;
    }
    .gm_legend {
        gap: 10px 18px;
        margin-top: 20px;
        padding: 0 20px;
    }
    .gm_phase_cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }
    .gm_phase_card {
        padding: 22px 20px;
    }
    .gm_phase_title {
        font-size: 22px;
    }
    .gm_master .gm_more_wrap {
        margin-top: 32px;
    }
}

/* MARK:ESG 永續旅宿
   設計來源: Figma 首頁 4710–5475 */
.gm_esg {
    padding: 100px 0 112px;
    background: var(--gm-bg-3) url('../images/home/esg_wire_bg.png') center calc(100% - 150px) / cover no-repeat;
}
.gm_esg .gm_h2 {
    margin-top: 20px;
    line-height: 74px;
}
.gm_esg_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    margin-top: 48px;
}
.gm_esg_card {
    min-height: 301px;
    padding: 68px 32px 40px;
    border-radius: 16px;
    background: var(--gm-white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.gm_esg_card_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.gm_esg_card_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gm-text);
}
.gm_esg_card_head .gm_card_icon {
    width: 46px;
    height: 50px;
}
.gm_esg_card_divider {
    height: 1px;
    margin-top: 30px;
    background: var(--gm-line);
}
.gm_esg_card_text {
    margin-top: 15px;
    font-size: 18px;
    line-height: 36px;
    color: #4d4d4d;
}
@media (max-width: 1199px) {
    .gm_esg_cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 767px) {
    .gm_esg {
        padding: 56px 0 64px;
    }
    .gm_esg .gm_h2 {
        margin-top: 24px;
        line-height: 1.5;
    }
    .gm_esg_cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 36px;
    }
    .gm_esg_card {
        min-height: 0;
        padding: 28px 24px;
    }
    .gm_esg_card_divider,
    .gm_esg_card_text {
        margin-top: 20px;
    }
    .gm_esg_card_text {
        font-size: 15px;
        line-height: 26px;
    }
}

/* MARK:360° Panoramic View
   設計來源: Figma 首頁 5475–6371 */
.gm_pano {
    position: relative;
    height: 896px;
    color: var(--gm-white);
    background: var(--gm-ink) url('../images/home/pano_bg.jpg') center / cover no-repeat;
    overflow: hidden;
}
.gm_pano::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.5) 100%);
}
/* 播放鈕：148px 霧面白圓 (backdrop blur) + 外圈 1px 細環 + 白色三角 (依設計稿) */
.gm_pano_play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 148px;
    height: 148px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--gm-white);
    transition: background-color 0.2s ease;
}
.gm_pano_play::before {
    content: '';
    position: absolute;
    inset: -13px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
}
/* 後台未填影片網址時隱藏播放鈕 */
.gm_pano_play[data-video=""] {
    display: none;
}
.gm_pano_play:hover,
.gm_pano_play:focus-visible {
    background: rgba(255, 255, 255, 0.45);
}
.gm_pano_play svg {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}
.gm_pano_text {
    position: absolute;
    left: 180px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.gm_pano_text .gm_badge {
    height: 44px;
    padding: 0 40px;
    background: #1c1c1c;
    font-size: 16px;
    letter-spacing: 0.32em;
    color: var(--gm-gold);
}
.gm_pano_row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 58px;
}
.gm_pano_deg {
    font-family: var(--gm-font-en);
    font-size: 104px;
    font-weight: 700;
    line-height: 1;
}
.gm_pano_sub {
    font-size: 40px;
    font-weight: 500;
}
.gm_pano_title {
    margin-top: 30px;
    font-family: var(--gm-font-en);
    font-size: 100px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
@media (max-width: 1199px) {
    .gm_pano {
        height: 620px;
    }
    .gm_pano_text {
        left: 60px;
        bottom: 60px;
    }
    .gm_pano_deg {
        font-size: 72px;
    }
    .gm_pano_sub {
        font-size: 24px;
    }
    .gm_pano_title {
        font-size: 64px;
    }
}
@media (max-width: 767px) {
    .gm_pano {
        height: 480px;
    }
    .gm_pano_text {
        left: 20px;
        right: 20px;
        bottom: 36px;
    }
    .gm_pano_text .gm_badge {
        height: 40px;
        padding: 0 18px;
        font-size: 12px;
        letter-spacing: 0.15em;
    }
    .gm_pano_row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .gm_pano_deg {
        font-size: 48px;
    }
    .gm_pano_sub {
        font-size: 18px;
    }
    .gm_pano_title {
        font-size: 34px;
    }
    .gm_pano_play {
        width: 80px;
        height: 80px;
        top: 40%;
    }
    .gm_pano_play::before {
        inset: -8px;
    }
    .gm_pano_play svg {
        width: 20px;
        height: 20px;
    }
}

/* MARK:Resort Features 五大體驗 + Four Seasons
   設計來源: Figma 首頁 6371–8179 */
.gm_features {
    padding: 110px 0 69px;
    background: var(--gm-bg-2) url('../images/home/features_bg.png') center calc(100% - 200px) / cover no-repeat;
}
.gm_feature_cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 37px;
    border-radius: 6px;
    overflow: hidden;
}
.gm_feature_card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 313px;
    padding: 96px 35px 30px;
    background-size: cover;
    background-position: center;
    color: var(--gm-white);
    overflow: hidden;
}
.gm_feature_card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.65) 100%);
}
.gm_feature_row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}
.gm_feature_icon {
    width: 120px;
    height: 115px;
    object-fit: contain;
    flex: 0 0 auto;
}
.gm_feature_title {
    display: inline-flex;
    align-items: center;
    height: 60px;
    padding: 0 32px;
    border-radius: 14px;
    background: rgba(165, 138, 78, 0.92);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}
.gm_feature_text {
    position: relative;
    margin-top: 28px;
    font-size: 16px;
    line-height: 26px;
}
/* 四季 */
.gm_seasons_head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 80px;
}
.gm_seasons_en {
    font-family: var(--gm-font-en);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gm-gold);
}
.gm_seasons_title {
    font-size: 28px;
    font-weight: 500;
    color: var(--gm-text);
}
.gm_season_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 40px;
}
.gm_season_card {
    padding: 8px 16px 44px;
    border-radius: 16px;
    background: var(--gm-white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.gm_season_photo {
    position: relative;
    height: 273px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: var(--gm-white);
}
/* 照片底部漸層淡入卡片白底 */
.gm_season_photo::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    pointer-events: none;
}
.gm_season_en,
.gm_season_zh {
    z-index: 1;
}
.gm_season_en {
    position: absolute;
    left: 0;
    right: 0;
    top: 22px;
    font-family: var(--gm-font-en-serif);
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.65);
}
.gm_season_zh {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-40%);
    font-family: var(--gm-font-serif);
    font-size: 120px;
    font-weight: 200;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
.gm_season_title {
    margin-top: 22px;
    font-size: 26px;
    font-weight: 500;
    color: var(--gm-text);
}
.gm_season_text {
    margin-top: 26px;
    font-size: 18px;
    line-height: 40px;
    color: var(--gm-text-body);
}
.gm_features .gm_more_wrap {
    margin-top: 52px;
}
@media (max-width: 1199px) {
    .gm_feature_card {
        padding: 60px 24px 24px;
    }
    .gm_feature_title {
        font-size: 26px;
    }
    .gm_feature_icon {
        width: 90px;
        height: 86px;
    }
    .gm_feature_title {
        height: 52px;
        padding: 0 22px;
        font-size: 24px;
    }
    .gm_season_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1023px) {
    .gm_feature_cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
@media (max-width: 767px) {
    .gm_features {
        padding: 48px 0 48px;
    }
    .gm_feature_cards {
        margin-top: 24px;
    }
    .gm_feature_card {
        min-height: 260px;
        padding: 40px 20px 20px;
    }
    .gm_feature_icon {
        width: 72px;
        height: 70px;
    }
    .gm_feature_title {
        height: 44px;
        padding: 0 16px;
        font-size: 18px;
    }
    .gm_feature_text {
        margin-top: 18px;
        font-size: 14px;
        line-height: 24px;
    }
    .gm_seasons_head {
        gap: 8px;
        margin-top: 56px;
    }
    .gm_seasons_title {
        font-size: 20px;
    }
    .gm_season_cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }
    .gm_season_card {
        padding: 12px 12px 28px;
    }
    .gm_season_photo {
        height: 240px;
    }
    .gm_season_zh {
        font-size: 96px;
    }
    .gm_season_title {
        margin-top: 20px;
        font-size: 22px;
    }
    .gm_season_text {
        margin-top: 10px;
        font-size: 15px;
        line-height: 30px;
    }
    .gm_features .gm_more_wrap {
        margin-top: 32px;
    }
}

/* MARK:深色區 (投資方案 / Roadmap / 股東福利) 共用石紋底
   設計來源: Figma 首頁 8179–10922 */
.gm_dark_zone {
    color: var(--gm-white);
    background: var(--gm-dark) url('../images/home/stone_texture.jpg') left top / auto 100% repeat-x;
}
.gm_dark_label {
    font-size: 16px;
    letter-spacing: 0.3em;
    color: var(--gm-gold);
    text-align: center;
}
.gm_dark_h2 {
    margin-top: 30px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gm-white);
    text-align: center;
}
@media (max-width: 767px) {
    .gm_dark_label {
        font-size: 13px;
        letter-spacing: 0.15em;
    }
    .gm_dark_h2 {
        margin-top: 18px;
        font-size: 26px;
    }
}

/* MARK:投資方案比較 */
.gm_invest {
    padding: 138px 0 117px;
}
.gm_invest_head {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gm_invest_sub {
    margin-top: 30px;
    font-size: 16px;
    color: #aaaaaa;
    text-align: center;
}
.gm_invest_inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.gm_invest_cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}
.gm_invest_card {
    position: relative;
    padding: 60px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}
.gm_invest_card.is_founder {
    border: 2px solid var(--gm-gold);
}
.gm_invest_tag {
    position: absolute;
    top: -20px;
    left: 205px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--gm-gold);
    font-size: 18px;
    font-weight: 600;
    color: var(--gm-text);
}
.gm_invest_card_head {
    padding: 0 45px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.gm_invest_plan {
    font-size: 16px;
    letter-spacing: 0.2em;
    color: var(--gm-gold);
}
.gm_invest_title_row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}
.gm_invest_title {
    font-size: 34px;
    font-weight: 400;
}
.gm_invest_price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}
.gm_invest_price_num {
    font-family: var(--gm-font-serif);
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
}
.gm_invest_price_unit {
    font-size: 20px;
}
.gm_invest_rows {
    padding: 0 56px;
}
.gm_invest_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 20px;
}
.gm_invest_row .is_gold {
    color: var(--gm-gold);
}
.gm_invest_note {
    margin: 10px 56px 0;
    padding: 20px 26px;
    border-left: 3px solid var(--gm-gold);
    background: rgba(255, 255, 255, 0.12);
    font-size: 16px;
    line-height: 34px;
}
.gm_invest_note .is_gold {
    color: var(--gm-gold);
}
.gm_invest_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 65px;
    margin: 28px 70px 0;
    border-radius: 4px;
    background: var(--gm-gold);
    font-size: 24px;
    font-weight: 500;
    color: var(--gm-text);
    transition: background-color 0.2s ease;
}
.gm_invest_btn:hover,
.gm_invest_btn:focus-visible {
    background: var(--gm-gold-dark);
}
.gm_invest_btn.is_outline {
    border: 1px solid var(--gm-gold);
    background: transparent;
    color: var(--gm-gold);
}
.gm_invest_btn.is_outline:hover,
.gm_invest_btn.is_outline:focus-visible {
    background: rgba(202, 160, 92, 0.15);
}
.gm_invest_btn svg {
    width: 22px;
    height: 22px;
}
@media (max-width: 1199px) {
    .gm_invest_cards {
        grid-template-columns: 1fr;
    }
    .gm_invest_tag {
        left: 45px;
    }
}
@media (max-width: 767px) {
    .gm_invest {
        padding: 72px 0 60px;
    }
    .gm_invest_sub {
        margin-top: 16px;
        font-size: 14px;
    }
    .gm_invest_cards {
        margin-top: 44px;
        gap: 40px;
    }
    .gm_invest_card {
        padding: 44px 0 32px;
    }
    .gm_invest_tag {
        left: 20px;
        height: 34px;
        padding: 0 14px;
        font-size: 14px;
    }
    .gm_invest_card_head {
        padding: 0 20px 18px;
    }
    .gm_invest_title_row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .gm_invest_title {
        font-size: 24px;
    }
    .gm_invest_price_num {
        font-size: 42px;
    }
    .gm_invest_rows {
        padding: 0 20px;
    }
    .gm_invest_row {
        padding: 14px 0;
        font-size: 15px;
    }
    .gm_invest_note {
        margin: 24px 20px 0;
        padding: 14px 16px;
        font-size: 14px;
        line-height: 26px;
    }
    .gm_invest_btn {
        height: 52px;
        margin: 20px 20px 0;
        font-size: 17px;
    }
}

/* MARK:Roadmap 開發時間軸 */
.gm_roadmap {
    padding: 85px 0 120px;
    background: rgba(64, 64, 64, 0.74);
}
.gm_roadmap_inner {
    width: 100%;
    max-width: 1730px;
    margin: 0 auto;
    padding: 0 20px;

}
.gm_roadmap_h3 {
    margin-top: 22px;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}
.gm_timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 120px;
}
.gm_timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    right: 120px;
    top: 10px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}
/* 每個節點以 240px 寬置中對齊在均分點上，左右各外推 120px (由容器 padding 收納) */
.gm_timeline_item {
    position: relative;
    width: 240px;
    margin: 0 -120px;
    text-align: center;
}
.gm_rm_dot {
    display: block;
    width: 12px;
    height: 12px;
    margin: 4px auto 0;
    border-radius: 50%;
    background: var(--gm-gold);
}
.gm_timeline_item.is_active .gm_rm_dot {
    width: 20px;
    height: 20px;
    margin-top: 0;
}
.gm_timeline_item.is_future .gm_rm_dot {
    background: transparent;
    border: 2px solid var(--gm-gold);
}
.gm_rm_date {
    margin-top: 22px;
    font-family: var(--gm-font-serif);
    font-size: 16px;
    color: var(--gm-gold);
}
.gm_rm_text {
    margin-top: 8px;
    font-size: 16px;
    color: #cccccc;
}
.gm_timeline_item.is_active .gm_rm_text {
    color: var(--gm-white);
}
@media (max-width: 1199px) {
    .gm_timeline {
        padding: 0 90px;
    }
    .gm_timeline::before {
        left: 90px;
        right: 90px;
    }
    .gm_timeline_item {
        width: 180px;
        margin: 0 -90px;
    }
    .gm_rm_text {
        font-size: 15px;
    }
}
@media (max-width: 1023px) {
    /* 平板以下改為直向時間軸 (橫向 5 節點會疊字) */
    .gm_timeline {
        flex-direction: column;
        gap: 28px;
        margin: 32px 0 0 10px;
        padding: 0;
    }
    .gm_timeline::before {
        top: 0;
        bottom: 0;
        left: 9px;
        right: auto;
        width: 1px;
        height: auto;
    }
    .gm_timeline_item {
        width: auto;
        margin: 0;
        padding-left: 36px;
        text-align: left;
    }
    .gm_rm_dot {
        position: absolute;
        left: 4px;
        top: 6px;
        margin: 0;
    }
    .gm_timeline_item.is_active .gm_rm_dot {
        left: 0;
        top: 2px;
    }
    .gm_rm_date {
        margin-top: 0;
    }
    .gm_rm_text {
        margin-top: 4px;
    }
}
@media (max-width: 767px) {
    .gm_roadmap {
        padding: 56px 0 64px;
    }
    .gm_roadmap_h3 {
        margin-top: 14px;
        font-size: 24px;
    }
}

/* MARK:股東福利 Tier */
.gm_benefits {
    padding: 88px 0 92px;
}
/* 線條依 Figma (node 509:2549)：左右各延伸到內容容器邊界，與文字間距 17px，設計長度 511px
   再以負邊界讓線條超出版面 (先吃掉容器的 20px 內距，寬螢幕才真的外擴，避免橫向捲軸) */
.gm_benefits_label_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-left: -20px;
    margin-right: -20px;
}
@media (min-width: 1440px) {
    .gm_benefits_label_row {
        margin-left: -40px;
        margin-right: -40px;
    }
}
.gm_benefits_label_row::before,
.gm_benefits_label_row::after {
    content: '';
    flex: 1;
    max-width: 511px;
    height: 1px;
    background: rgba(184, 151, 90, .2);
}
.gm_benefits .gm_dark_h2 {
    margin-top: 40px;
    font-size: 40px;
    line-height: 72px;
}
.gm_tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 52px;
}
.gm_tier {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 530px;
    padding: 46px 24px 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}
.gm_tier.is_hot {
    padding-top: 66px;
    border-color: var(--gm-gold);
}
.gm_tier_tag {
    position: absolute;
    top: 0;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 196px;
    height: 36px;
    border-radius: 0 0 6px 6px;
    background: var(--gm-gold);
    font-size: 15px;
    font-weight: 700;
    color: var(--gm-text);
}
.gm_tier_label {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--gm-gold);
}
.gm_tier_amount {
    margin-top: 14px;
    font-family: var(--gm-font-serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
}
.gm_tier_per {
    margin-top: 20px;
    font-size: 13px;
    color: #999999;
}
.gm_tier_min {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
}
.gm_tier_list {
    margin-top: 18px;
    font-size: 16px;
    line-height: 32px;
    color: #dddddd;
}
.gm_tier_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 50px;
    margin-top: auto;
    padding: 0 20px;
    border: 1px solid var(--gm-gold);
    border-radius: 4px;
    font-size: 16px;
    color: var(--gm-gold);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.gm_tier_btn:hover,
.gm_tier_btn:focus-visible {
    background: rgba(202, 160, 92, 0.15);
}
.gm_tier_btn.is_fill {
    background: var(--gm-gold);
    color: var(--gm-white);
    font-weight: 700;
}
.gm_tier_btn.is_fill:hover,
.gm_tier_btn.is_fill:focus-visible {
    background: var(--gm-gold-dark);
}
.gm_tier_btn svg {
    width: 16px;
    height: 16px;
}
@media (max-width: 1199px) {
    .gm_tiers {
        margin-top: 80px;
    }
}
@media (max-width: 767px) {
    .gm_benefits {
        padding: 48px 0 64px;
    }
    .gm_benefits_label_row {
        gap: 14px;
    }
    .gm_benefits .gm_dark_h2 {
        margin-top: 14px;
        font-size: 26px;
        line-height: 1.5;
    }
    .gm_tiers {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 40px;
    }
    .gm_tier {
        min-height: 0;
        padding: 40px 20px 28px;
    }
    .gm_tier.is_hot {
        padding-top: 60px;
    }
}

/* MARK:最新動態 Latest News
   設計來源: Figma 首頁 10922–11895 */
.gm_news {
    padding: 80px 0 63px;
    background: var(--gm-bg-news);
}
.gm_news_head {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gm_news_head .gm_badge {
    letter-spacing: 0.1em;
}
.gm_news_title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
}
.gm_news_title_en {
    font-family: var(--gm-font-en);
    font-size: 40px;
    font-weight: 600;
    color: var(--gm-gold);
}
.gm_news_title_zh {
    font-size: 36px;
    font-weight: 700;
    color: var(--gm-text);
}
.gm_news_cards {
    display: grid;
    /* minmax(0,…) 讓欄位不被 nowrap 的標題撐寬 */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 50px;
}
.gm_news_thumb {
    position: relative;
    display: block;
    aspect-ratio: 426 / 286;
    border-radius: 16px;
    overflow: hidden;
}
.gm_news_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gm_news_card:hover .gm_news_thumb img {
    transform: scale(1.04);
}
/* 會員限定且未登入：整張卡不可點擊，取消放大與連結感 */
.gm_news_card.is_locked:hover .gm_news_thumb img {
    transform: none;
}
.gm_news_card.is_locked .gm_news_thumb,
.gm_news_card.is_locked .gm_news_card_title {
    cursor: default;
}
.gm_news_card.is_locked .gm_news_card_title {
    text-decoration: none;
}
.gm_news_tag {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(160, 140, 90);
    border: 1px solid var(--gm-white);
    font-size: 13px;
    color: var(--gm-white);
}
.gm_news_meta {
    margin-top: 26px;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: #666666;
}
.gm_news_meta .is_gold {
    color: var(--gm-gold);
}
.gm_news_card_title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* 不超過卡片寬度，標題過長才會截斷 */
    max-width: 100%;
    margin-top: 18px;
    font-size: 22px;
    font-weight: 600;
    color: var(--gm-gold);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}
/* 標題只顯示一行，超出的文字以 ... 呈現 (鎖頭圖示仍完整顯示) */
.gm_news_card_title_text {
    /* flex 項目預設不會縮到內容寬度以下，需歸零才會截斷 */
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gm_news_card_title:hover,
.gm_news_card_title:focus-visible {
    color: var(--gm-gold-dark);
}
.gm_news_lock {
    width: 18px;
    height: 18px;
    /* 標題截斷時不被壓縮 */
    flex: 0 0 auto;
    color: #555555;
}
.gm_news_excerpt {
    margin-top: 14px;
    font-size: 15px;
    line-height: 26px;
    color: var(--gm-text-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* view more：文字下方為「橫線＋右端斜箭頭」線稿 (與內頁 news_list 的 .gi_news_more 同款 line_more.svg) */
.gm_news_more {
    display: block;
    margin-top: 16px;
    font-size: 16px;
    line-height: 34px;
    color: #b8975a;
}
.gm_news_more::after {
    content: '';
    display: block;
    height: 8px;
    margin-top: 10px;
    background: url('../images/inner/icons/line_more.svg') no-repeat 0 0 / 100% 8px;
}
.gm_news .gm_more_wrap {
    margin-top: 110px;
}
@media (max-width: 1023px) {
    .gm_news_cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .gm_news {
        padding: 48px 0 48px;
    }
    .gm_news_title {
        gap: 8px;
        margin-top: 16px;
    }
    .gm_news_title_en {
        font-size: 28px;
    }
    .gm_news_title_zh {
        font-size: 24px;
    }
    .gm_news_cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        margin-top: 32px;
    }
    .gm_news_meta {
        margin-top: 16px;
    }
    .gm_news_card_title {
        margin-top: 10px;
        font-size: 19px;
    }
    .gm_news_more {
        margin-top: 18px;
    }
    .gm_news .gm_more_wrap {
        margin-top: 32px;
    }
}

/* MARK:聯絡我們 Contact
   設計來源: Figma 首頁 11895–12821 */
.gm_contact {
    position: relative;
    padding: 78px 0 60px;
    color: var(--gm-white);
    background: var(--gm-ink) url('../images/home/contact_bg.jpg') center / cover no-repeat;
}
.gm_contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 24, 22, 0.55);
}
.gm_contact .gm_container {
    position: relative;
}
/* 線條依 Figma (node 509:2675)：左右各延伸到內容容器邊界，與文字間距 32px，設計長度 600px */
.gm_contact_label_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.gm_contact_label_row::before,
.gm_contact_label_row::after {
    content: '';
    flex: 1;
    max-width: 600px;
    height: 1px;
    background: rgba(202, 160, 92, 0.6);
}
.gm_contact_label {
    font-size: 18px;
    letter-spacing: 0.3em;
    color: var(--gm-gold);
}
.gm_contact_h2 {
    margin-top: 30px;
    font-size: 44px;
    font-weight: 700;
    text-align: center;
}
.gm_contact_line {
    width: 60px;
    height: 2px;
    margin: 20px auto 0;
    background: var(--gm-gold);
}
.gm_contact_text {
    margin-top: 22px;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
}
.gm_contact_form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    max-width: 1090px;
    margin: 30px auto 0;
}
.gm_form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.gm_field {
    display: flex;
    align-items: center;
    height: 65px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
}
.gm_field_label {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 120px;
    height: 100%;
    padding-left: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 17px;
    color: var(--gm-white);
}
.gm_field_label .is_required {
    color: var(--gm-gold);
}
.gm_field input,
.gm_field textarea {
    flex: 1;
    width: 100%;
    padding: 0 24px;
    border: 0;
    background: transparent;
    font-family: var(--gm-font-sans);
    font-size: 15px;
    color: var(--gm-white);
    outline: none;
}
.gm_field input::placeholder,
.gm_field textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.gm_field:focus-within {
    border-color: rgba(202, 160, 92, 0.7);
}
.gm_field.is_textarea {
    flex-direction: column;
    align-items: stretch;
    height: 205px;
}
.gm_field.is_textarea .gm_field_label {
    flex: 0 0 60px;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.gm_field.is_textarea textarea {
    padding: 18px 24px;
    resize: none;
    line-height: 1.6;
}
.gm_contact_actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}
.gm_contact_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 66px;
    background: var(--gm-gold);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gm-text);
    transition: background-color 0.2s ease;
}
.gm_contact_submit:hover,
.gm_contact_submit:focus-visible {
    background: var(--gm-gold-dark);
}
/* Google reCAPTCHA v2 (元件輸出，寬高由 Google 的 iframe 決定，此處只負責定位) */
.g_recaptcha_wrapper {
    display: flex;
    justify-content: center;
}
@media (max-width: 767px) {
    .gm_contact {
        padding: 48px 0 48px;
    }
    /* 手機版維持短線 (電腦版已改為可伸縮，需用 max-width 才壓得住) */
    .gm_contact_label_row::before,
    .gm_contact_label_row::after {
        max-width: 30px;
    }
    .gm_contact_label {
        font-size: 14px;
        letter-spacing: 0.15em;
    }
    .gm_contact_h2 {
        margin-top: 18px;
        font-size: 28px;
    }
    .gm_contact_text {
        font-size: 15px;
        line-height: 26px;
    }
    .gm_form_row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .gm_field {
        height: 56px;
    }
    .gm_field_label {
        flex: 0 0 100px;
        padding-left: 14px;
        font-size: 15px;
    }
    .gm_field input,
    .gm_field textarea {
        padding: 0 14px;
    }
    .gm_field.is_textarea {
        height: 180px;
    }
    .gm_field.is_textarea .gm_field_label {
        flex: 0 0 50px;
    }
    .gm_field.is_textarea textarea {
        padding: 14px;
    }
    .gm_contact_actions {
        gap: 16px;
        margin-top: 28px;
    }
    .gm_contact_submit {
        width: 100%;
        height: 56px;
        font-size: 18px;
    }
}

/* MARK:進場動畫 (首頁各區塊)
   keyframes 取自 gs_animation.css；元素捲入視窗後由 main.js 的 init_scroll_reveal() 補上 .animation，只播放一次。
   .gm_ani                           單一元素：預設由下浮入；加 is_left / is_right 改為由左 / 由右滑入，is_fade 為純淡入
   .gm_ani.is_delay_1 ~ is_delay_3   延後 0.15s / 0.3s / 0.45s 播放，安排同一畫面內的先後順序
   .gm_ani_group                     容器：直接子元素每隔 0.12s 依序由下浮入 (卡片列、時間軸、方案表)
   html.gm_ani_ready                 由 main.js 載入時加上：JS 可執行才預先隱藏，無 JS 時內容照常顯示 */
.gm_ani_ready .gm_ani,
.gm_ani_ready .gm_ani_group > * {
    opacity: 0;
}
.gm_ani.animation,
.gm_ani_group.animation > * {
    animation-name: ani_slideBottom;
    animation-duration: 0.9s;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    animation-fill-mode: both;
}
.gm_ani.is_left.animation {
    animation-name: ani_slideLeft;
}
.gm_ani.is_right.animation {
    animation-name: ani_slideRight;
}
.gm_ani.is_fade.animation {
    animation-name: ani_fadeIn;
    animation-duration: 1.2s;
}
.gm_ani.is_delay_1.animation {
    animation-delay: 0.15s;
}
.gm_ani.is_delay_2.animation {
    animation-delay: 0.3s;
}
.gm_ani.is_delay_3.animation {
    animation-delay: 0.45s;
}
/* 群組子項依序進場 (第 6 項起同時) */
.gm_ani_group.animation > :nth-child(2) {
    animation-delay: 0.12s;
}
.gm_ani_group.animation > :nth-child(3) {
    animation-delay: 0.24s;
}
.gm_ani_group.animation > :nth-child(4) {
    animation-delay: 0.36s;
}
.gm_ani_group.animation > :nth-child(5) {
    animation-delay: 0.48s;
}
.gm_ani_group.animation > :nth-child(n + 6) {
    animation-delay: 0.6s;
}
/* 左右滑入的起點會超出容器 40px，首頁鎖住水平捲軸避免動畫期間閃出捲軸 */
body.gm_home {
    overflow-x: hidden;
}
@media (max-width: 767px) {
    /* 手機一律改為淡入，避免位移造成畫面跳動 */
    .gm_ani.animation,
    .gm_ani.is_left.animation,
    .gm_ani.is_right.animation,
    .gm_ani_group.animation > * {
        animation-name: ani_fadeIn;
        animation-duration: 0.7s;
    }
    .gm_ani_group.animation > :nth-child(n + 2) {
        animation-delay: 0.1s;
    }
}
@media (prefers-reduced-motion: reduce) {
    /* 使用者關閉動態效果：直接顯示，不播放動畫 */
    .gm_ani_ready .gm_ani,
    .gm_ani_ready .gm_ani_group > * {
        opacity: 1;
        animation: none !important;
    }
}

/* MARK:Footer
   設計來源: Figma 首頁 12821–13703 */
.gm_footer {
    position: relative;
    padding: 70px 0 350px;
    color: var(--gm-white);
    /* 預設 (首頁與其他內頁)：山谷照 (已依 Figma imageTransform 裁成 1920×882)
       疊色以設計稿匯出圖對原圖回歸求得：rgba(36,68,81,0.48)，誤差 rms 1.5 */
    background: #244451 url('../images/common/footer_bg.jpg') center / cover no-repeat;
    overflow: hidden;
}
.gm_footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(36, 68, 81, 0.48);
}
/* 邑繁丰順頁：夜色湖景匯出圖 (紫色疊色已烤進圖內，不再疊色) */
.gm_footer.is_yifan {
    background: #2b2651 url('../images/yf_footer_bg.png') center / cover no-repeat;
}
.gm_footer.is_yifan::before {
    display: none;
}
.gm_footer_inner {
    position: relative;
    width: 100%;
    max-width: 1620px;
    margin: 0 auto;
    padding: 0 20px;
}
.gm_footer_top {
    display: grid;
    grid-template-columns: 482px 271px 1fr auto;
    align-items: start;
    min-height: 352px;
}
.gm_footer_logo img {
    height: 58px;
    width: auto;
}
.gm_footer_desc {
    max-width: 330px;
    margin-top: 30px;
    font-size: 15px;
    line-height: 28px;
    color: #dddddd;
}
.gm_footer_company {
    margin-top: 40px;
    font-size: 15px;
    color: #dddddd;
}
.gm_footer_links {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 10px;
    font-size: 15px;
}
.gm_footer a {
    transition: color 0.2s ease;
}
.gm_footer a:hover,
.gm_footer a:focus-visible {
    color: var(--gm-gold);
}
.gm_footer_pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: var(--gm-ink);
    font-size: 14px;
    font-weight: 500;
}
.gm_footer_pill svg {
    width: 14px;
    height: 14px;
}
.gm_footer_sub_list {
    margin-top: 22px;
    font-size: 15px;
    font-weight: 500;
    line-height: 38px;
}
.gm_footer_sub_list li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gm_footer_sub_list li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gm-white);
    flex: 0 0 auto;
}
.gm_footer_social {
    display: flex;
    align-items: center;
    align-self: end;
    gap: 8px;
    padding-bottom: 40px;
    font-size: 15px;
    font-weight: 600;
}
.gm_footer_social li + li::before {
    content: '-';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.7);
}
.gm_footer_divider {
    position: relative;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}
.gm_footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 40px;
    padding-top: 30px;
}
.gm_footer_copy {
    font-size: 14px;
    color: #cccccc;
}
.gm_footer_design {
    margin-left: 12px;
}
.gm_footer_design a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gm_footer_legal {
    display: flex;
    gap: 60px;
    font-size: 15px;
}
.gm_footer_watermark {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: var(--gm-font-en);
    font-size: 220px;
    font-weight: 700;
    line-height: 0.7;
    letter-spacing: 0.05em;
    text-align: center;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.14);
    pointer-events: none;
}
/* 回頂按鈕：固定於視窗右下角，捲動超過一個視窗高後才顯示 (.is_visible) */
.gm_back_to_top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 90;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gm-gold);
    color: var(--gm-text);
    transition: background-color 0.2s ease;
}
.gm_back_to_top.is_visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.gm_back_to_top:hover,
.gm_back_to_top:focus-visible {
    background: var(--gm-gold-dark);
}
.gm_back_to_top svg {
    width: 24px;
    height: 24px;
}
@media (max-width: 1199px) {
    .gm_footer_top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        min-height: 0;
    }
    .gm_footer_social {
        grid-column: 1 / -1;
        align-self: start;
        padding-bottom: 0;
    }
    .gm_footer {
        padding-bottom: 280px;
    }
    .gm_footer_watermark {
        font-size: 130px;
    }
    .gm_back_to_top {
        right: 24px;
        bottom: 24px;
    }
}
@media (max-width: 767px) {
    .gm_footer {
        padding: 56px 0 140px;
    }
    .gm_footer_top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .gm_footer_logo img {
        height: 48px;
    }
    .gm_footer_desc {
        margin-top: 20px;
    }
    .gm_footer_company {
        margin-top: 20px;
    }
    .gm_footer_links {
        gap: 14px;
        padding-top: 0;
    }
    .gm_footer_sub_list {
        margin-top: 14px;
        line-height: 32px;
    }
    .gm_footer_social {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 14px;
    }
    .gm_footer_social li + li::before {
        margin-right: 6px;
    }
    .gm_footer_bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 24px;
    }
    .gm_footer_design {
        display: block;
        margin: 6px 0 0;
    }
    .gm_footer_legal {
        gap: 24px;
    }
    .gm_footer_watermark {
        font-size: 56px;
        bottom: 40px;
    }
    .gm_back_to_top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 359px) {
    .gm_footer_social {
        gap: 4px;
        font-size: 13px;
    }
    .gm_footer_social li + li::before {
        margin-right: 4px;
    }
}

/* MARK:影片燈箱 (全站共用，元件 components/gm_video_modal.php) */
.gm_video_modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gm_video_modal.is_open {
    display: flex;
}
body.is_gm_video_open {
    overflow: hidden;
}
.gm_video_modal_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}
.gm_video_modal_box {
    position: relative;
    width: min(1200px, 100%);
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.gm_video_modal_frame,
.gm_video_modal_frame iframe,
.gm_video_modal_frame video {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    display: block;
    background: #000000;
}
.gm_video_modal_close {
    position: absolute;
    right: 0;
    top: -48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gm-white);
    transition: color 0.2s ease;
}
.gm_video_modal_close:hover,
.gm_video_modal_close:focus-visible {
    color: var(--gm-gold);
}
.gm_video_modal_close svg {
    width: 26px;
    height: 26px;
}
@media (max-width: 767px) {
    .gm_video_modal {
        padding: 12px;
    }
    .gm_video_modal_close {
        top: -44px;
        right: -4px;
    }
}
