/* ==========================================================================
   1. 專案主題變數區 (未來換建案只需修改此處的色票與尺寸)
   ========================================================================== */
:root {
    /* 品牌主色系 */
    --color-primary: #663B12;
    /* 主色 (通常是 Logo 色) */
    --color-primary-hover: #4D2C0D;
    /* 按鈕 Hover 色 */
    --color-primary-gold: #E9B031;
    /* 輔助色 / 點綴色 (金色) */
    --color-primary-gold-hover: #D8A02D;

    /* 文字與背景色彩 */
    --color-text-main: #333333;
    /* 內文主要顏色 */
    --color-text-light: #666666;
    /* 次要文字顏色 */
    --color-bg-light: #f5f5f5;
    /* 淺色背景區塊 */
    --color-white: #ffffff;
    --color-border: #dddddd;
    --color-error: #e74c3c;

    /* 字體與排版 */
    --font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    --font-family-serif: 'Noto Serif TC', serif;
    /* 用於強調標題 */
    --font-size-base: 16px;

    /* 容器與間距 */
    --container-max-width: 1440px;
    /* 畫面最大寬度 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Hero 區塊專屬大小控制 */
    --hero-logo-width: 450px;
    --hero-slogan-width: 420px;

    /* 動畫過渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ==========================================================================
   2. Reset & Basics
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* 隱藏 reCAPTCHA 標誌 */
.grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================================================
   3. Base Components (Re-usable modules)
   ========================================================================== */
/* Base Title Component */
.base-title {
    position: relative;
    color: var(--color-primary);
    padding-left: 24px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.base-title .section-title {
    margin-bottom: 0;
}

.base-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 52%;
    transform: translateY(-50%);
    width: 2px;
    height: 90%;
    background-color: var(--color-primary-gold);
}

/* Base Slider Component */
.base-slider__container {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 800px;
    z-index: 2;
}

.base-slider__wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.base-slider__slide {
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.base-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.5);
    transition: transform 8s ease-out;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.base-slider__container.slider-visible .base-slider__slide.swiper-slide-active .base-slider__img,
.base-slider__container.slider-visible .base-slider__slide.swiper-slide-duplicate-active .base-slider__img {
    transform: scale(1);
}

.base-slider__nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.base-slider__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
    opacity: 0.7;
}

.base-slider__btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Shared Photo Caption Component */
.photo-caption,
.base-slider__caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1.5px;
    z-index: 10;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.base-slider__caption {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.3s;
}

.base-slider__slide.swiper-slide-active .base-slider__caption,
.base-slider__slide.swiper-slide-duplicate-active .base-slider__caption {
    opacity: 1;
    transform: translateY(0);
}

/* Section Description/Text Component */
.section-desc {
    font-size: 1.25rem;
    line-height: 2;
    color: #4e4e4e;
    letter-spacing: 1px;
    text-align: justify;
}

@media (max-width: 1024px) {
    .section-desc {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* Section Title */
.section-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.section-title__top {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.1;
    opacity: 0.9;
}

.section-title__bottom {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.1;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.reveal-up {
    transform: translate3d(0, 40px, 0);
}

.reveal-down {
    transform: translate3d(0, -40px, 0);
}

.reveal-left {
    transform: translate3d(-40px, 0, 0);
}

.reveal-right {
    transform: translate3d(40px, 0, 0);
}

.reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-600 {
    transition-delay: 0.6s;
}

.delay-800 {
    transition-delay: 0.8s;
}

/* ==========================================================================
   4. Section Styles
   ========================================================================== */

/* --- Nav --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* 強化硬體加速，防止與下方動畫衝突時閃動 */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, backdrop-filter;
}

.nav__container {
    max-width: 100%;
    margin: 0 auto;
    padding: var(--spacing-sm) 0px var(--spacing-sm) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo-link {
    display: flex;
    align-items: center;
}

.nav__logo {
    height: 40px;
    width: auto;
}

.nav__list {
    display: flex;
    align-items: center;
}

.nav__item {
    display: flex;
}


.nav__item:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    padding: 0 var(--spacing-md);
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--color-primary-hover);
}

.nav__icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav__link:hover .nav__icon {
    transform: translateY(-2px);
}

.nav__text {
    line-height: 1.2;
}

/* --- Hero --- */
.hero {
    height: 100dvh;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #000;
    /* 建立獨立層級防止與導覽列渲染衝突 */
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/00-00_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    transform: scale(1.1) translate3d(0, 0, 0);
    animation: heroBgBlur 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards, heroBgScaleLoop 20s ease-in-out 2s infinite alternate;
    will-change: transform, filter;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes heroBgBlur {
    0% {
        filter: blur(20px);
        transform: scale(1.1) translateZ(0);
    }

    100% {
        filter: blur(0.1px);
        transform: scale(1) translateZ(0);
    }
}

@keyframes heroBgScaleLoop {
    0% {
        transform: scale(1) translateZ(0);
    }

    100% {
        transform: scale(1.05) translateZ(0);
    }
}

.hero__container {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 50%;
    height: 100dvh; /* 統一使用 dvh 避免行動版高度閃動 */
    max-width: none;
    z-index: 1;
    position: relative;
}

.hero__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
    mask-image: linear-gradient(to left, black 0%, transparent 100%);
    z-index: -1;
    /* 強化硬體加速 */
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: backdrop-filter;
}

.hero>.photo-caption {
    left: 40px;
    right: auto;
}

.hero__logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 80%;
    margin: 0 auto;
}

.hero__logo {
    width: var(--hero-logo-width);
    max-width: 100%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    opacity: 0;
    transform: scale(1.4) translateZ(0);
    animation: heroLogoEnter 1.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes heroLogoEnter {
    0% {
        opacity: 0;
        transform: scale(1.4) translateZ(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }
}

.hero__slogan {
    width: var(--hero-slogan-width);
    max-width: 100%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    animation: heroSloganEnter 1.5s cubic-bezier(0.23, 1, 0.32, 1) 1.5s forwards;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes heroSloganEnter {
    0% {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hero__scroll-down {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: heroArrowFadeIn 1.5s ease-out 2.8s forwards, heroArrowBounce 2s infinite 4.3s;
}

.hero__arrow {
    width: 32px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero__arrow path {
    fill: none;
    stroke: var(--color-white);
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes heroArrowFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Sky --- */
.sky {
    width: 100%;
    background-color: var(--color-white);
    overflow: hidden;
    position: relative;
}

.sky__title-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(38, 159, 231, 0.95) 0%, rgba(38, 159, 231, 0.8) 50%, rgba(38, 159, 231, 0) 100%);
    padding: 64px 0 160px;
    color: var(--color-white);
    z-index: 10;
    pointer-events: none;
}

.sky__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    pointer-events: auto;
}

.sky__title {
    color: var(--color-white);
}

.sky__title::before {
    background-color: var(--color-white);
}

.sky__desc {
    color: var(--color-white);
}

.sky__img-container {
    position: relative;
    height: 110vh;
    height: 110svh;
    min-height: 1000px;
    overflow: hidden;
}

.sky__scroll-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.sky__img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#skyCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.sky__logo {
    position: absolute;
    width: auto;
    height: 15%;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.slider-visible .sky__logo {
    opacity: 1;
    animation: floatingLogo 3s ease-in-out infinite alternate;
}

@keyframes floatingLogo {
    0% {
        transform: translate3d(-50%, -50%, 0);
    }

    100% {
        transform: translate3d(-50%, calc(-50% - 20px), 0);
    }
}

.sky__swipe-hint {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.sky__swipe-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.sky__swipe-icon {
    width: 120px;
    height: auto;
    animation: swipeHintMove 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
}

@keyframes swipeHintMove {

    0%,
    100% {
        transform: translate3d(-20px, 0, 0);
        opacity: 0;
    }

    50% {
        transform: translate3d(20px, 0, 0);
        opacity: 1;
    }
}

/* --- Layout Blocks (Traffic, Vision, Life, Campus) --- */
.traffic {
    width: 100%;
    background-color: #F7F5F2;
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.traffic__content {
    flex: 0 0 35%;
    padding: 120px 60px 120px max(24px, calc((100% - var(--container-max-width)) / 2 + 24px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.traffic__deco-flower {
    position: absolute;
    top: 40px;
    right: -100px;
    width: 300px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.vision {
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: row-reverse;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.vision__content {
    flex: 0 0 35%;
    padding: 120px max(24px, calc((100% - var(--container-max-width)) / 2 + 24px)) 120px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.vision__deco-flower {
    position: absolute;
    bottom: 40px;
    left: -100px;
    width: 300px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    transform: scaleX(-1);
}

.life {
    width: 100%;
    background-color: #F7F5F2;
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.life__content {
    flex: 0 0 40%;
    padding: 120px 60px 120px max(24px, calc((100% - var(--container-max-width)) / 2 + 24px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.life__deco-flower {
    position: absolute;
    top: 40px;
    right: -100px;
    width: 300px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.campus {
    display: flex;
    flex-direction: row-reverse;
    background-color: #F7F5F2;
    overflow: hidden;
    min-height: 100vh;
}

.campus__content {
    flex: 0 0 40%;
    padding: 120px max(24px, calc((100% - var(--container-max-width)) / 2 + 24px)) 120px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.campus__deco-flower {
    position: absolute;
    bottom: 40px;
    left: -100px;
    width: 300px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    transform: scaleX(-1);
}

/* --- Exterior --- */
.exterior {
    width: 100%;
    background-color: #F7F5F2;
    display: flex;
    flex-direction: column;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.exterior__content {
    flex: none;
    width: 100%;
    padding: 120px 64px 60px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeDownEnter 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.exterior__title {
    padding-left: 0 !important;
}

.exterior__title.base-title::before {
    display: none;
}

.exterior__deco-flower {
    position: absolute;
    top: 40px;
    left: -100px;
    width: 300px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.exterior__desc {
    text-align: center;
}

.exterior__slider-container {
    height: 450px !important;
    min-height: auto !important;
    width: 100% !important;
}

.exterior__slider-container .base-slider__img {
    width: auto !important;
    max-width: none !important;
    height: 100%;
    object-fit: contain;
    transform: none !important;
    transition: none !important;
}

.exterior__slide {
    width: auto;
    height: 100%;
}

/* --- 外觀區純 CSS 跑馬燈 --- */
.exterior__marquee-container {
    width: 100%;
    height: 30vh;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    pointer-events: none !important;
    /* 確保滑動不被干擾 */
    touch-action: pan-y;
}

.exterior__marquee-track {
    display: flex;
    height: 100%;
    width: max-content;
    /* 動畫改由 JS 觸發 slider-visible 後啟動，確保穩定 */
    animation: none;
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.exterior__marquee-container.slider-visible .exterior__marquee-track {
    animation: marquee-scroll 80s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-33.3333%, 0, 0);
    }
}

.exterior__marquee-slide {
    flex: 0 0 33.3333vw;
    /* 桌機：顯示 3 個 (100/3) */
    width: 33.3333vw;
    height: 100%;
    position: relative;
    padding-right: 0;
    /* 強制 GPU layer，防止動畫中元素消失 */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.exterior__marquee-img {
    height: 100%;
    width: 100% !important;
    object-fit: cover !important;
    max-width: none;
    display: block;
    user-select: none !important;
    -webkit-user-drag: none !important;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.exterior__marquee-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: var(--color-white);
    font-size: 14px;
    letter-spacing: 0.1em;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 4px;
    /* 避免動畫中消失 */
    -webkit-transform: translateZ(10px);
    transform: translateZ(10px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* --- SC鋼骨區 --- */
.sc {
    width: 100%;
    min-height: 100vh;
    background-image: url('../assets/images/00-08_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.sc__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.sc__container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.sc__content {
    max-width: 550px;
    color: var(--color-white);
    position: relative;
}

.sc__deco-flower {
    position: absolute;
    top: -20px;
    left: -100px;
    width: 300px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.sc__title {
    color: var(--color-white);
}

.sc__title::before {
    background-color: var(--color-white);
}

.sc__desc {
    color: rgba(255, 255, 255, 0.9);
}

.sc__slider-container .base-slider__img {
    transform: scale(1);
    transition: none;
    will-change: transform;
}

.sc__slider-container.slider-visible .base-slider__slide.swiper-slide-active .base-slider__img,
.sc__slider-container.slider-visible .base-slider__slide.swiper-slide-duplicate-active .base-slider__img {
    animation: scImageLoop 12s ease-in-out infinite alternate;
}

@keyframes scImageLoop {
    0% {
        transform: scale(1) translateZ(0);
    }

    100% {
        transform: scale(1.1) translateZ(0);
    }
}

/* --- 商辦區 --- */
.work {
    background-color: var(--color-white);
    overflow: hidden;
}

.work__gallery {
    display: flex;
    width: 100%;
}

.work__item {
    flex: 1;
    height: 720px;
    position: relative;
    overflow: hidden;
}

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

.work__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.work__content {
    padding: 0px 0px 120px 0px;
    display: flex;
    justify-content: center;
}

.work__container {
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.work__desc {
    flex: 1;
    max-width: 700px;
    color: #5A5A5A;
}

/* --- Family --- */
.family {
    width: 100%;
    min-height: 100vh;
    background-image: url('../assets/images/00-10_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.family__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(102, 59, 18, 0.7) 0%, rgba(102, 59, 18, 0.4) 40%, transparent 100%);
    z-index: 1;
}

.family__container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.family__content {
    max-width: 500px;
    color: var(--color-white);
}

.family__title {
    color: var(--color-white);
}

.family__title::before {
    background-color: var(--color-white);
}

.family__desc {
    color: var(--color-white);
}

/* --- Portfolio --- */
.portfolio {
    padding: 120px 0;
    position: relative;
    background-color: #F5F4F0;
    overflow: hidden;
}

.portfolio__deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    pointer-events: none;
    z-index: 1;
}

.portfolio__flower {
    width: 100%;
}

.portfolio__container {
    position: relative;
    z-index: 2;
}

.portfolio__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.portfolio__title {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.portfolio__title .section-title {
    text-align: center;
    margin-bottom: 0;
}

.portfolio__title .section-title__top {
    color: var(--color-primary);
    font-size: 28px;
}

.portfolio__title .section-title__bottom {
    color: var(--color-primary);
}

.portfolio__desc {
    text-align: center;
}

.portfolio__timeline {
    position: relative;
    padding: 40px 0;
}

.portfolio__nav {
    display: none;
}

@media (min-width: 1025px) {
    .portfolio__slider.swiper {
        overflow: visible;
        width: 100%;
    }

    .portfolio__list.swiper-wrapper {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: nowrap;
        transform: none !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .portfolio__item.swiper-slide {
        flex: 1 1 0;
        min-width: 150px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

.portfolio__img-box {
    width: 100%;
    aspect-ratio: 282 / 392;
    overflow: hidden;
    background-color: #f5f5f5;
}

.portfolio__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio__item:hover .portfolio__img-box img {
    transform: scale(1.05);
}

.portfolio__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    position: relative;
}

.portfolio__year {
    width: 48px;
    height: 48px;
    background-color: #fcca5b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    position: relative;
}

.portfolio__year img {
    width: 70%;
}

.portfolio__name {
    font-size: 20px;
    color: #5a5a5a;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-align: center;
    white-space: nowrap;
}

.portfolio__line {
    position: absolute;
    top: calc(100% - 108px);
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #FCCA5B;
    z-index: 0;
}

/* ==========================================================================
   大螢幕修正 (1600px 以上)
   ========================================================================== */
@media (min-width: 1600px) {
    :root {
        --hero-logo-width: 550px;
        --hero-slogan-width: 500px;
    }

    /* 精確控制 1600px 以上的大螢幕文字不被擠壓，讓裝文字的內盒永遠保持與 1440px 時相同的寬度 (約420px/492px) */
    .traffic__content,
    .vision__content {
        flex: 0 0 calc((100% - var(--container-max-width)) / 2 + 504px) !important;
    }

    .life__content,
    .campus__content {
        flex: 0 0 calc((100% - var(--container-max-width)) / 2 + 576px) !important;
    }

    .traffic__content,
    .life__content {
        padding-left: calc((100% - var(--container-max-width)) / 2 + 24px) !important;
        padding-right: 60px !important;
    }

    .vision__content,
    .campus__content {
        padding-right: calc((100% - var(--container-max-width)) / 2 + 24px) !important;
        padding-left: 60px !important;
    }

    .sc__content {
        flex-basis: 50% !important;
    }
}


/* ==========================================================================
   Hero Animations & Contact Form Base
   ========================================================================== */
@keyframes fadeUpEnter {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDownEnter {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

@keyframes heroArrowBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

.contact {
    padding: var(--spacing-xl) 0;
    background-image: url('../assets/images/form_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* 為了 overlay 定位 */
}

.contact__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    /* 稍微調淡，讓模糊更透亮 */
    backdrop-filter: blur(30px);
    /* 調整為 30px，強化毛玻璃效果 */
    -webkit-backdrop-filter: blur(30px);
    z-index: 1;
}

.contact__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
    /* 確保內容在 overlay 上面 */
}

.contact__header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.contact__logo {
    max-width: 40%;
    margin: 0 auto 30px;
    display: block;
}

.contact__title {
    position: relative;
    color: var(--color-primary);
}

.contact__subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
}

.contact__desc {
    color: var(--color-text-main);
    font-size: 16px;
    line-height: 1.8;
}

.contact__title .section-title__bottom {
    color: var(--color-primary);
}

.form {
    background: rgba(255, 255, 255, 0.6);
    /* 稍微降低透明度，讓背景模糊更明顯 */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--color-primary-gold);
    border-radius: 0 0 16px 16px;
}

.form__row {
    display: flex;
    gap: var(--spacing-md);
    width: 100%;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    flex: 1;
}

.form__label {
    font-weight: 500;
    font-size: 13px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form__required {
    color: var(--color-primary);
    margin-left: 4px;
}

.form__input,
.form__select {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    background-color: transparent;
    font-family: inherit;
    font-size: 16px;
    color: var(--color-text-main);
    transition: border-color var(--transition-fast);
}

.form__input::placeholder {
    color: #bbbbbb;
    font-weight: 300;
}

.form__input:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form__select-wrapper {
    position: relative;
}

.form__select {
    appearance: none;
    background-color: transparent;
    cursor: pointer;
}

.form__select-wrapper::after {
    content: '▼';
    font-size: 10px;
    color: var(--color-primary);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form__checkbox-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: var(--spacing-md);
}

.form__checkbox,
.form__checkbox-item {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form__checkbox-row {
    display: flex;
    gap: 24px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.form__label--checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-main);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    transition: opacity var(--transition-fast);
}

.form__label--checkbox:hover {
    opacity: 0.8;
}

.form__label--inline {
    font-weight: 400;
    font-size: 13px;
    color: #888888;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.form__link {
    color: var(--color-primary);
    text-decoration: underline;
}

.form__link:hover {
    color: var(--color-primary-hover);
}

.form__actions {
    text-align: center;
}

.form__submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 16px 60px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-normal), transform var(--transition-fast);
    width: 100%;
    max-width: 300px;
}

.form__submit:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.form__note {
    text-align: center;
    font-size: 10px;
    color: #aaaaaa;
    margin-top: var(--spacing-xs);
}

/* Footer & Modal */
.footer {
    background-color: #1a1a1a;
    color: #dddddd;
    padding: var(--spacing-xl) 0;
}

.footer__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo {
    height: 40px;
    width: auto;
}

.footer__right {
    display: flex;
    flex-direction: row;
    gap: 40px;
    text-align: left;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__text {
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal.is-active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background-color: var(--color-white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.modal.is-active .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999999;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
    z-index: 10;
}

.modal__close:hover {
    color: var(--color-text-main);
}

.modal__title {
    font-family: var(--font-family-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    padding: 24px 32px;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
}

.modal__body {
    padding: 32px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-main);
}

.modal__body p {
    margin-bottom: var(--spacing-sm);
}

.modal__body ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: var(--spacing-sm);
}

.modal__body li {
    margin-bottom: 8px;
}

.modal__body h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: #000000;
}

.modal__body::-webkit-scrollbar {
    width: 8px;
}

.modal__body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal__body::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.modal__body::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

.modal__footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--color-border);
    background-color: #f9f9f9;
}

.modal__btn-close {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.modal__btn-close:hover {
    background-color: var(--color-primary-hover);
}

/* ==========================================================================
   Responsive (RWD) 平板與行動版修正
   ========================================================================== */
@media (max-width: 1024px) {
    .sky__desc br {
        display: none;
    }

    .footer__text,
    .form__label {
        font-size: 12px;
    }

    .modal__body {
        font-size: 14px;
    }

    .sky__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0px;
        padding: 0 20px;
    }

    .sky {
        height: auto !important;
        overflow: visible !important;
    }

    .sky__img-container {
        height: auto !important;
        min-height: 0 !important;
        position: relative;
        overflow: visible !important;
    }

    .sky__scroll-box {
        width: 100%;
        height: auto !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sky__img-wrapper {
        width: fit-content;
        height: auto !important;
        display: block;
    }

    #skyCanvas {
        display: block;
        /* height will be controlled by JS for zooming */
    }

    .traffic__desc {
        text-align: center;
    }

    .work__container {
        flex-direction: column;
        padding: 0 var(--spacing-md);
        text-align: center;
    }

    .work__desc br {
        display: none;
    }

    .work__gallery {
        flex-wrap: wrap;
    }

    .work__item {
        flex: 0 0 50%;
        height: 400px;
    }

    .exterior {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }

    .work {
        display: flex !important;
        flex-direction: column-reverse !important;
        height: auto !important;
        min-height: auto !important;
    }

    .work__container {
        padding: 0;
    }

    .exterior__content,
    .work__content {
        flex: none;
        width: 100%;
        padding: 60px 24px;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .section-title__top {
        font-size: 20px !important;
        letter-spacing: 1.5px !important;
    }

    .section-title__bottom {
        font-size: 26px !important;
        letter-spacing: 2px !important;
    }

    .exterior__desc {
        text-align: justify;
    }

    .vision__desc br {
        display: none;
    }

    .life__desc br {
        display: none;
    }

    .campus__desc br {
        display: none;
    }

    .family__desc {
        text-align: center;
    }

    .traffic__deco-flower,
    .life__deco-flower,
    .sc__deco-flower {
        top: -30px;
        right: -50px;
        left: auto;
        transform: none;
        width: 180px;
        opacity: 0.8;
    }

    .vision__deco-flower,
    .campus__deco-flower {
        top: -30px;
        left: -50px;
        right: auto;
        transform: scaleX(-1);
        width: 180px;
        opacity: 0.8;
    }

    .exterior__deco-flower {
        top: -30px;
        left: -50px;
        right: auto;
        width: 180px;
        opacity: 0.8;
    }

    /* SC 行動版 */
    .sc {
        min-height: 100vh;
        background-position: center bottom 50%;
        align-items: flex-start;
    }

    .sc__overlay {
        background: radial-gradient(circle at top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%),
            linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%),
            rgba(0, 0, 0, 0.3);
    }

    .sc__container {
        padding: 0;
        justify-content: center;
    }

    .sc__content {
        padding: 60px 24px;
        text-align: center;
        max-width: 100%;
    }

    .sc__desc br {
        display: none;
    }

    /* Family 行動版 */
    .family {
        min-height: 100vh;
        background-position: 75% center;
    }

    .family__overlay {
        background: radial-gradient(circle, rgba(102, 59, 18, 0.6) 0%, rgba(102, 59, 18, 0.3) 100%),
            linear-gradient(to top, rgba(102, 59, 18, 0.7) 0%, transparent 100%),
            rgba(102, 59, 18, 0.3);
    }

    .family__container {
        padding: 0;
        justify-content: center;
    }

    .family__content {
        padding: 60px 24px;
        text-align: center;
        max-width: 100%;
    }

    /* Portfolio 行動版 */
    .portfolio {
        padding: 80px 0;
    }

    .portfolio__deco {
        width: 200px;
    }

    .portfolio__container.container {
        padding: 0;
        max-width: 100%;
    }

    .portfolio__header {
        margin-bottom: 40px;
        padding: 0 var(--spacing-md);
    }

    .portfolio__nav {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 35%;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
        padding: 0 10px;
        z-index: 10;
        pointer-events: none;
    }

    .portfolio__btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        opacity: 0.7;
        transition: opacity 0.3s;
        pointer-events: auto;
    }

    .portfolio__btn:hover {
        opacity: 1;
    }

    .portfolio__desc {
        text-align: justify;
    }

    .portfolio__desc br {
        display: none;
    }

    .portfolio__timeline {
        padding: 0;
    }

    .portfolio__line {
        display: none;
    }

    .portfolio__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 55vw !important;
        max-width: 400px;
        min-width: 240px;
        gap: 35px;
    }

    .portfolio__slider .swiper-slide-active,
    .portfolio__slider .swiper-slide-duplicate-active {
        z-index: 2;
    }

    .portfolio__name {
        font-size: 17px;
    }

    .portfolio__slider .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .traffic,
    .vision,
    .life,
    .campus,
    .exterior {
        flex-direction: column !important;
        height: auto;
        min-height: auto;
    }

    .traffic__content,
    .vision__content,
    .life__content,
    .campus__content,
    .exterior__content {
        flex: auto;
        padding: 60px var(--spacing-md);
        width: 100%;
    }

    .base-slider__container {
        height: 40vh;
        min-height: 300px !important;
        width: 100%;
        flex: none;
    }

    .exterior__marquee-container {
        height: 35vh !important;
        min-height: 250px !important;
    }

    .base-slider__nav {
        padding: 0 10px;
    }

    .base-title {
        margin-bottom: 24px;
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .section-title {
        align-items: center;
        text-align: center;
    }

    .exterior__desc br {
        display: none;
    }

    .base-title::before {
        display: none;
    }

    .exterior__marquee-container {
        height: 50vh !important;
        min-height: auto !important;
    }
}

@media screen and (max-width: 768px) {

    /* Nav */
    .nav__container {
        padding: var(--spacing-xs) 0;
    }

    .nav__logo-link {
        display: none;
    }

    .nav__list {
        width: 100%;
        justify-content: space-between;
    }

    .nav__item {
        flex: 1;
    }

    .nav__link {
        width: 100%;
        padding: var(--spacing-xs) 0;
        font-size: 12px;
    }

    .nav__icon {
        width: 22px;
        height: 22px;
        margin-bottom: 2px;
    }

    /* Hero */
    .hero {
        margin-top: 0;
        height: 100vh;
        align-items: stretch;
        padding-top: 0;
    }

    .hero::before {
        background-image: url('../assets/images/00-00_bg-m.jpg');
    }

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

    .hero__content {
        width: 100%;
        height: 100%;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 100px 0 80px;
        position: relative;
    }

    .hero__content::before {
        content: '';
        position: absolute;
        inset: 0;
        display: block;
        /* 下方遮罩高度微調至 25% */
        background:
            linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%) bottom / 100% 25% no-repeat;
        /* 調整遮罩比例，對應 25% 的模糊區 */
        mask-image: linear-gradient(to bottom,
                transparent 0%,
                transparent 75%,
                black 85%,
                black 100%);
        -webkit-mask-image: linear-gradient(to bottom,
                transparent 0%,
                transparent 75%,
                black 85%,
                black 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: -1;
    }

    .hero__logo-wrapper {
        height: 100%;
        width: 100%;
    }

    .hero__logo-group {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .hero__logo {
        max-width: 220px;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }

    .hero__slogan {
        max-width: 240px;
    }

    .hero>.photo-caption {
        left: auto;
        right: 20px;
    }

    .sky__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0px;
        padding: 0 20px;
    }

    .sky__swipe-hint {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
        pointer-events: none;
    }

    /* 行動版空拍 Logo 層級優化，確保不被漸層擋住 */
    .sky__logo {
        z-index: 100 !important;
        opacity: 0;
    }

    .slider-visible .sky__logo {
        opacity: 1 !important;
    }

    .sc {
        background-image: url('../assets/images/00-08_bg-m.jpg');
    }

    .contact__desc {
        font-size: 14px;
    }

    .contact__logo {
        max-width: 45%;
    }

    .form {
        padding: var(--spacing-md);
    }

    /* Footer */
    .footer {
        padding: var(--spacing-lg) 0;
    }

    .footer__container {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    .footer__right {
        flex-direction: column;
        gap: 24px;
    }

    .footer__col {
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    /* 防止跑馬燈太高導致圖片被擋到或看不全 */
    .exterior__marquee-container {
        height: 25vh !important;
        min-height: 180px !important;
    }

    .exterior__marquee-slide {
        flex: 0 0 66.6666vw !important;
        /* 行動版：顯示 1.5 個 (100/1.5) */
        width: 66.6666vw !important;
    }

    /* 行動版標記文字修正啟動 */
    .exterior__marquee-caption {
        display: block !important;
        opacity: 1 !important;
        bottom: 12px !important;
        left: 12px !important;
        font-size: 12px !important;
        padding: 4px 10px !important;
        z-index: 100 !important;
    }

    /* 預約表單時間選項不折行 */
    .form__checkbox-row {
        flex-wrap: nowrap !important;
        gap: 12px;
        justify-content: flex-start;
    }

    .form__label--checkbox {
        font-size: 13px !important;
        white-space: nowrap;
        gap: 4px;
    }
}