/* 重置樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 右上導覽選單 */
.topnav {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2000;
}
.topnav-toggle {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.85);
    color: #111;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 14px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.20);
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.topnav-toggle:hover { transform: translateY(-1px); background: rgba(255,255,255,0.95); box-shadow: 0 10px 26px rgba(0,0,0,0.28); }
.topnav-toggle[aria-expanded="true"] { background: rgba(255,255,255,0.98); }
/* 形變動畫見下方三線定義 */

/* 移除分離的 X，改用三線形變 */

/* 漢堡圖示 */
/* 三線（關閉：漢堡；開啟：X） */
.topnav-toggle .burger {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transform: translate(-50%, -50%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.topnav-toggle::before,
.topnav-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.topnav-toggle { position: relative; }
/* 關閉狀態（漢堡） */
.topnav-toggle .burger { transform: translate(-50%, -50%); }
.topnav-toggle::before { transform: translate(-50%, calc(-50% - 7px)) rotate(0deg); }
.topnav-toggle::after  { transform: translate(-50%, calc(-50% + 7px)) rotate(0deg); }
/* 開啟狀態（變形為 X） */
.topnav.open .topnav-toggle .burger { transform: translate(-50%, -50%) scaleX(0); }
.topnav.open .topnav-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
.topnav.open .topnav-toggle::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.topnav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    padding: 8px;
    margin: 0;
    list-style: none;
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    color: #111;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    /* 動畫初始狀態（收合） */
    opacity: 0;
    transform: scale(0.6);
    transform-origin: top right;
    visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility 0s linear .28s;
}
.topnav.open .topnav-menu {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
    transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.topnav-menu li { margin: 0; }
.topnav-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
}
.topnav-menu a:hover { background: rgba(0,0,0,0.06); }

/* Active section indicator */
.topnav-menu a.is-active,
.topnav-menu a[aria-current="true"] {
    background: rgba(26,102,255,0.12);
    color: #1a66ff;
    position: relative;
    padding-left: 24px; /* space for the dot */
}
.topnav-menu a.is-active::before,
.topnav-menu a[aria-current="true"]::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
    box-shadow: 0 0 0 2px rgba(26,102,255,0.14);
}

/* 文字淡入延遲（階梯效果） */
.topnav.open .topnav-menu li:nth-child(1) a { opacity: 1; transform: none; transition-delay: .08s; }
.topnav.open .topnav-menu li:nth-child(2) a { opacity: 1; transform: none; transition-delay: .12s; }
.topnav.open .topnav-menu li:nth-child(3) a { opacity: 1; transform: none; transition-delay: .16s; }
.topnav.open .topnav-menu li:nth-child(4) a { opacity: 1; transform: none; transition-delay: .20s; }
.topnav.open .topnav-menu li:nth-child(5) a { opacity: 1; transform: none; transition-delay: .24s; }
.topnav.open .topnav-menu li:nth-child(6) a { opacity: 1; transform: none; transition-delay: .28s; }

/* 錨點滾動預留上方間距，避免被頂部覆蓋 */
.glass-container { scroll-margin-top: 90px; }

/* 英雄區域樣式 */
.hero-section {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.225), rgba(0, 0, 0, 0.225)), 
                url('img/1.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
}

/* 主要內容區域 */
.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

/* 主標題樣式 */
.main-title {
    font-family: 'Noto Serif TC', 'Libre Baskerville', 'Inter', 'Poppins', 'Noto Sans TC', serif;
    font-size: 4.5rem;
    width: min(50vw, 100%);
    margin: 0 auto 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    animation: titleEntrance 0.5s ease-out, dynamicGradient 8s ease-in-out infinite;
    background: linear-gradient(45deg, #66b7ea, #a34cf9, #f093fb, #4facfe, #00f2fe, #a8edea, #fed6e3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    position: relative;
    text-transform: none;
    font-style: normal;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* 主標題副標題樣式 */
.main-subtitle {
    font-family: 'Noto Sans TC', 'Inter', 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleFadeIn 1.2s ease-out 0.8s forwards, subtitleGradient 6s ease-in-out infinite;
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* 標題懸停效果 - 已移除漸層顛倒 */

/* 副標題樣式 */
.subtitle {
    font-family: 'Libre Baskerville', 'Noto Sans TC', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease-out 0.3s both;
    font-style: normal;
}

/* 按鈕容器 */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease-out 0.6s both;
}

/* 按鈕基礎樣式 */
.btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 150px;
}

/* 主要按鈕樣式 */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* 次要按鈕樣式 */
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 滾動指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    opacity: 0.8;
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 標題進場動畫 - 透明到模糊再到清晰 */
@keyframes titleEntrance {
    0% {
        opacity: 0;
        filter: blur(20px) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
        transform: scale(1.1);
    }
    30% {
        opacity: 0.3;
        filter: blur(15px) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
        transform: scale(1.08);
    }
    60% {
        opacity: 0.7;
        filter: blur(8px) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
        transform: scale(1.04);
    }
    100% {
        opacity: 1;
        filter: blur(0px) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 動態漸層動畫 */
@keyframes dynamicGradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 副標題淡入動畫 */
@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 副標題漸層動畫 */
@keyframes subtitleGradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 響應式設計 */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .main-subtitle {
        font-size: 0.9rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

/* 平滑滾動 */
html {
    scroll-behavior: smooth;
}

/* 讓頁面底色透明，並以固定背景層覆蓋空白區 */
html, body {
    background: transparent;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('img/1.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
}

/* 霧面玻璃材質容器 */
.glass-container {
    position: fixed;
    left: 10px;
    right: 10px;
    top: 50%;
    height: calc(100vh - 20px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10;
    --translate-px: 100vh;
    --opacity: 0;
    --blur-px: 0px;
    transform: translateY(calc(-50% + var(--translate-px)));
    opacity: var(--opacity);
    filter: blur(var(--blur-px));
    will-change: transform, opacity, filter;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease, opacity 0.2s ease, transform 0.2s ease;
}

.glass-container.is-centered {
    opacity: 1;
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.glass-heading {
    position: absolute;
    top: 16px;
    left: 20px;
    right: auto;
    text-align: left;
    color: #fff;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.75s ease, transform 0.3s ease;
    will-change: opacity, transform;
    z-index: 3; /* 置於房型網格之上，避免被遮擋 */
}

.glass-container.is-centered .glass-heading {
    opacity: 1;
    transform: translateY(0);
}

.glass-title {
    font-family: 'Noto Serif TC', 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 3.2vw, 2.4rem);
    letter-spacing: 0.06em;
    color: #ff8bcf;
    text-shadow: 0 0 6px rgba(255, 140, 207, 0.6), 0 0 14px rgba(255, 140, 207, 0.45);
}

.glass-subtitle {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    color: #ff8bcf;
    text-shadow: 0 0 6px rgba(255, 140, 207, 0.6), 0 0 14px rgba(255, 140, 207, 0.45);
    opacity: 0.9;
}

/* 提供滾動空間，確保可滾動 400px 完成上浮 */
.scroll-spacer {
    height: 1600px;
}

/* 玻璃容器內容（可選） */
.glass-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: #ffffff;
    text-align: right;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

/* 內層可獨立滾動的玻璃窗（四邊 -25px，置中） */
.glass-scroll-pane {
    position: absolute;
    top: 88px; /* 下移，避免蓋到玻璃大標題 */
    left: 25px;
    right: 25px;
    bottom: 25px;
    margin: auto;
    overflow: auto;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: clamp(16px, 2.4vw, 28px);
    color: #fff;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 10px 26px rgba(0,0,0,0.35);
}

/* 訂房須知樣式 */
.notes-pane {
    line-height: 1.6;
    /* 讓內文更矮，避免擋到 policy 標題 */
    top: 120px;
    bottom: 32px;
}

.notes-list { list-style: none; padding-left: 0; }
.notes-list li { position: relative; padding-left: 1.8em; }
.notes-list li + li { margin-top: 10px; }
.notes-list.with-icons .note-icon {
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

.inline-icon { margin-right: 6px; }

.notes-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent);
    margin: 18px 0;
}

.cancel-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.cancel-list {
    padding-left: 1.25em;
}

.cancel-list li + li { margin-top: 8px; }

.cancel-note { margin-top: 8px; opacity: 0.9; }

/* 地圖樣式 */
.map-pane {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* 讓地圖內層玻璃更矮，不擋到 location */
    top: 108px;
    bottom: 28px;
}

.map-info { font-weight: 600; }

.map-embed { flex: 1; min-height: 300px; border-radius: 12px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 768px) {
    .glass-scroll-pane {
        top: 74px; /* 行動裝置標題較高，留更多空間 */
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    /* 行動裝置下再多留一點標題空間 */
    .notes-pane {
        top: 100px;
        bottom: 24px;
    }
    .map-pane {
        top: 92px;
        bottom: 20px;
    }
}

/* 半透明玻璃風格的捲動軸（WebKit） */
.notes-pane::-webkit-scrollbar {
    width: 12px;
}

.notes-pane::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.notes-pane::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.45),
        rgba(255, 255, 255, 0.18)
    );
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.notes-pane::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.28)
    );
}

/* Firefox 捲動軸色彩（半透明） */
.notes-pane {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.08);
}

.about-text {
    pointer-events: auto;
    max-width: min(52ch, 42vw);
    padding: 24px 28px 28px 28px;
    text-align: right;
    line-height: 1.6;
    font-size: clamp(14px, 1.6vw, 20px);
    font-weight: 400;
    font-family: 'DFKai-SB', 'BiauKai', 'PMingLiU', 'Microsoft JhengHei', serif;
    white-space: pre;
    word-break: keep-all;
    overflow-wrap: normal;
    position: absolute;
    right: 28px;
    bottom: 24px;
    z-index: 2;
    background: rgba(115, 0, 75, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 32px rgba(255,255,255,0.18);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, background 0.25s ease, border-color 0.25s ease;
    opacity: 0;
    transform: translateY(8px) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
}
.glass-container.is-centered .about-text {
    opacity: 1;
    transform: translateY(0) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
}

.about-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.30), 0 0 44px rgba(255,255,255,0.26);
}

.about-text p + p {
    margin-top: 16px;
}

/* 照片散佈區域與卡片樣式 */
.photo-stack {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(80vw, 1100px);
    height: min(80vh, 800px);
    max-width: 1100px;
    max-height: 800px;
    pointer-events: auto;
    /* 依螢幕大小自動縮放散佈距離：以 vmin/900 作為基準，並限制範圍 */
    --scale: clamp(0.7, calc(100vmin / 900), 1.5);
    z-index: 0;
    perspective: 900px;
}

.photo-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(
        calc(-50% + (var(--x, 0px) * var(--scale))),
        calc(-50% + (var(--y, 0px) * var(--scale)))
    ) rotate(var(--r, 0deg)) scale(1);
    z-index: var(--z, 1);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
    opacity: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.25s ease;
    pointer-events: auto;
    transform-style: preserve-3d;
}

.photo-card img {
    display: block;
    width: clamp(220px, 30vw, 420px);
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: clamp(6px, 0.8vw, 10px) solid rgba(255,255,255,0.85);
    background: #fff;
}

.photo-card.is-zoom {
    z-index: 999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

/* 放大檢視時淡出其他照片與內文 */
.photo-stack.is-viewing .photo-card:not(.is-zoom) {
    opacity: 0.12 !important;
    filter: blur(1px) drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.photo-stack.is-viewing .photo-card.is-zoom {
    opacity: 1;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.45));
}

.photo-stack.is-viewing ~ .about-text {
    opacity: 0;
    pointer-events: none;
}

/* ===== About section: 5s shimmer hint ===== */
.about-hint-desktop,
.about-hint-mobile {
    position: absolute;
    z-index: 4;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 18px rgba(0,0,0,0.45);
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    --hintDuration: 5s;
}

.about-hint-desktop {
    left: 50%;
    top: 50%;
    display: none;
}

.about-hint-mobile {
    position: static;
    margin-top: 10px;
    display: none;
    transform: none;
}

.about-hint-show { opacity: 1; }

/* Shimmer effect */
.about-hint-desktop,
.about-hint-mobile {
    background-image: linear-gradient(120deg,
        rgba(255,255,255,0.10) 0%,
        rgba(255,255,255,0.60) 25%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.55) 75%,
        rgba(255,255,255,0.10) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hintShimmer 1.8s linear infinite;
}

@keyframes hintShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Show positions per device */
@media (min-width: 769px) {
    .about-hint-desktop { display: block; }
}

@media (max-width: 768px) {
    .about-hint-mobile { display: inline-block; }
}

/* 手機與窄螢幕：內文置中、相片環繞文字且可點按放大 */
@media (max-width: 768px) {
    .glass-content {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .about-text {
        max-width: min(86vw, 60ch);
        text-align: center;
        right: auto;
        bottom: auto;
        left: 50%;
        top: 50%;
        /* 初始：保持置中，並加上 8px 上浮距離（與桌面一致） */
        transform: translate(-50%, calc(-50% + 8px)) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
    }
    /* 置中狀態：在手機上覆寫全域規則，維持真正置中 */
    .glass-container.is-centered .about-text {
        transform: translate(-50%, -50%) rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
        opacity: 1;
    }
    /* 放大檢視相片時，覆寫置中規則：內文淡出（手機優先） */
    .photo-stack.is-viewing ~ .about-text {
        opacity: 0 !important;
        pointer-events: none;
    }
    .photo-stack {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
        height: 100vh;
        z-index: 0;
        pointer-events: auto;
        --scale: clamp(1, calc(100vmin / 600), 2);
    }
}

/* 載入動畫 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* ===== 客房介紹：房型網格與卡片 ===== */
.rooms-grid {
    width: 100%;
    padding: 20px 24px 28px 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 1fr; /* 單列填滿高度（桌面） */
    gap: 18px;
    align-items: stretch;
    justify-items: stretch;
    z-index: 2;
    /* 留給標題區塊的間距（桌面） */
    --roomsTopOffset: clamp(72px, 10vh, 120px);
    height: calc(100% - var(--roomsTopOffset));
    margin: var(--roomsTopOffset) auto 0 auto; /* 從頂部退開，避免與標題重疊 */
}

/* 佔位元素：用於開啟動畫時維持原有版位，避免其他卡片補位 */
.room-placeholder {
    visibility: hidden;
    pointer-events: none;
}

.room-card {
    position: relative;
    height: 100%; /* 填滿所屬軌道高度 */
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.75s ease, filter 0.75s ease;
    cursor: pointer;
}

/* 開啟動畫（由原位置放大到 90vw x 90vh） */
.room-card.is-animating {
    --openDur: 0.75s;
    transition: top var(--openDur) cubic-bezier(.2,.7,.2,1),
                left var(--openDur) cubic-bezier(.2,.7,.2,1),
                width var(--openDur) cubic-bezier(.2,.7,.2,1),
                height var(--openDur) cubic-bezier(.2,.7,.2,1),
                transform var(--openDur) cubic-bezier(.2,.7,.2,1),
                background var(--openDur) ease,
                box-shadow var(--openDur) ease,
                border-color var(--openDur) ease;
}

.room-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.room-thumb {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.room-thumb img {
    display: block;
    width: clamp(34px, 5.2vw, 56px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.room-subtitle {
    display: block;
    text-align: center;
    font-size: clamp(13px, 1.6vw, 18px);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.85);
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

/* Simple feature chips under room title */
.room-features {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.room-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    font-size: clamp(11px, 1.15vw, 13px);
    letter-spacing: .02em;
    white-space: nowrap;
}

.room-feature .emoji {
    display: inline-block;
    line-height: 1;
}

.room-title {
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.04em;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.room-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: clamp(14px, 1.4vw, 16px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease, background-position 0.25s ease;
    pointer-events: none;
    white-space: nowrap;
    /* 文字本身的光澤效果 */
    background-image: linear-gradient(120deg,
        rgba(255,255,255,0.25) 0%,
        rgba(255,255,255,1) 25%,
        rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0.9) 75%,
        rgba(255,255,255,0.25) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.room-cta .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.room-card:hover {
    background: rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.room-card:hover .room-thumb,
.room-card:hover .room-title,
.room-card:hover .room-subtitle {
    filter: blur(1.8px);
    opacity: 0.5;
}

.room-card:hover .room-body::after {
    filter: blur(1.8px);
    opacity: 0.5;
}

.room-card:hover .room-cta {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: ctaTextShine 1.8s linear infinite;
}

.room-card:hover .room-cta .arrow {
    transform: translateX(6px);
}

/* 詳情覆蓋層（卡片放大時顯示） */
.room-details {
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    /* Help iOS route scroll to inner */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.room-details-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(16px, 2.4vw, 28px);
    color: #fff;
    overflow: auto;
    height: 100%;
    max-height: 100%;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.room-details-inner h3 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
}

/* Rooms: improve details layout and typography */
.room-details-inner .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.room-details-inner .modal-dialog {
    width: 100%;
    margin: 0;
}

.room-details-inner .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    margin-bottom: 14px;
    position: sticky;
    top: 0;
    background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.18));
    z-index: 2;
}

.room-details-inner .modal-title {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 800;
    color: #fff;
}

.room-details-inner .modal-header .close {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    line-height: 28px;
    text-align: center;
}

/* Ensure any legacy Bootstrap .close is hidden inside details */
.room-details-inner .close { display: none !important; }

.room-details-inner .modal-body.clearfix {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(12px, 2.4vw, 24px);
    align-items: start;
}

/* Panel styling inside room details */
.room-details-inner .roomb1 {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    padding: clamp(10px, 2vw, 14px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 10px 26px rgba(0,0,0,0.35);
}

.room-details-inner .roomb1 img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Room images gallery */
.room-details-inner .room-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
}

.room-details-inner .room-gallery img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Avoid vertical cropping on the second image */
.room-details-inner .room-gallery img:nth-child(2) {
    object-fit: contain;
}

@media (max-width: 960px) {
    .room-details-inner .room-gallery {
        grid-template-columns: 1fr;
    }
}

.room-details-inner table {
    width: 100% !important;
    border-collapse: collapse;
    margin-top: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px;
    overflow: hidden;
}

.room-details-inner table td,
.room-details-inner table th {
    padding: 10px 12px;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.room-details-inner table tr:nth-child(even) td {
    background: rgba(255,255,255,0.04);
}

.room-details-inner .icons.r_icons {
    margin-top: 12px;
    padding: 10px 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
}

.room-details-inner .rinfo ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.room-details-inner .rinfo li {
    display: grid;
    /* After removing leading dots/labels, use single-column layout */
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding: 8px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
}

/* Make all spans fill the single column nicely */
.room-details-inner .rinfo li span {
    grid-column: 1 / -1;
    display: block;
}

.room-details-inner .rinfo li span:first-child {
    color: rgba(255,255,255,0.75);
}

.room-details-inner .rinfo li span:last-child {
    color: #fff;
}

.room-details-inner .modal-footer {
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 10px;
    opacity: 0.8;
}

@media (max-width: 960px) {
    .room-details-inner .modal-body.clearfix {
        grid-template-columns: 1fr;
    }
    /* Keep single-column on mobile as well */
    .room-details-inner .rinfo li {
        grid-template-columns: 1fr;
    }
}

.room-close {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* Keep close button fixed at top-right within details */
.room-details-inner .room-close {
    position: absolute;
    top: clamp(10px, 2vw, 16px);
    left: clamp(10px, 2vw, 16px);
    right: auto;
    z-index: 9999;
    will-change: transform;
    pointer-events: auto;
}

.room-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* 卡片展開狀態：固定置中並放大 */
.room-card.is-open {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: rgba(0, 0, 0, 0.36);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    cursor: auto;
}

.room-card.is-open .room-body {
    opacity: 0;
    pointer-events: none;
}

.room-card.is-open-content .room-details {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;          /* inner handles scrolling */
}

/* Overlay root to portal room-card out of transformed containers */
.room-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1800; /* below card (2000), above page */
}

@keyframes ctaTextShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* 開啟時，淡出標題與其他卡片 */
.glass-container.room-opening .glass-heading { opacity: 0 !important; }
.glass-container.room-opening .room-card:not(.is-open) {
    opacity: 0;
    filter: blur(2px);
    transition: opacity var(--openDur, 0.75s) ease, filter var(--openDur, 0.75s) ease;
}

/* 手機：四個玻璃縱列 */
@media (max-width: 1152px) {
    .rooms-grid {
        grid-template-columns: 1fr; /* 四個縱列 */
        grid-template-rows: repeat(4, 1fr); /* 依視窗平均分配高度 */
        /* 手機：總高度再降低，避免擋住標題 */
        --roomsTopOffset: clamp(56px, 12vh, 96px);
        height: calc(100% - var(--roomsTopOffset));
        margin-top: var(--roomsTopOffset);
        gap: 14px;
        padding: 16px;
    }
}

/* 鎖定背景滾動（詳情開啟時） */
body.modal-open {
    overflow: hidden;
}

/* Facility icons list: replace images with simple bullets */
.room-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1800;
}

.r_icons ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding: 0;
    margin: 12px 0 0 0;
}

.r_icons li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    opacity: 0.95;
}

.r_icons li img {
    display: none !important;
}

.r_icons li::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.r_icons li span {
    font-size: 14px;
    line-height: 1.4;
}
/* ----- Tabs for Policy (Browser-like) ----- */
.notes-tabs { display: flex; flex-direction: column; gap: 14px; }
.notes-tabs .tablist {
    position: sticky; top: 0; z-index: 5;
    /* Use grid to place tabs at left / center / right */
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 0;
    padding-top: 2px; padding-bottom: 10px; margin: 0; /* remove background strip spacing */
    background: transparent; /* remove black strip */
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.notes-tabs .tablist .tab {
    appearance: none; -webkit-appearance: none; border: none;
    color: #ff8bcf; background: transparent; box-shadow: none;
    text-shadow: 0 0 6px rgba(255, 140, 207, 0.6), 0 0 14px rgba(255, 140, 207, 0.45);
    padding: 8px 12px; border-radius: 0;
    cursor: pointer; font-weight: 700; letter-spacing: 0.02em; opacity: 0.9;
    position: relative;
    transition: transform .15s ease, opacity .2s ease;
}
.notes-tabs .tablist .tab:hover { opacity: 1; transform: translateY(-1px); background: transparent; box-shadow: none; }
.notes-tabs .tablist .tab[aria-selected="true"] { background: transparent; opacity: 1; box-shadow: none; }
/* active indicator: white dot under the active tab */
.notes-tabs .tablist .tab[aria-selected="true"]::after {
    content: ""; position: absolute; left: 50%; transform: translateX(-50%);
    bottom: -6px; width: 6px; height: 6px; border-radius: 50%; background: #fff;
}
.notes-tabs .tabpanels { border-top: none; padding-top: 6px; }
.tabpanel[hidden] { display: none; }

/* ----- Remit cards layout ----- */
.remit-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px;
}
.remit-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px; padding: 14px 16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 8px 22px rgba(0,0,0,0.35);
}
.remit-card .card-title { font-weight: 800; margin-bottom: 8px; letter-spacing: 0.02em; }
.remit-card .card-row { display: flex; gap: 8px; align-items: baseline; margin-top: 6px; }
.remit-card .card-key { min-width: 3em; opacity: 0.85; }
.remit-card .card-val { font-weight: 600; }
.remit-card .card-note { margin-top: 10px; font-size: 0.95em; opacity: 0.92; }
.remit-card .card-bullets { margin: 6px 0 0 1.2em; }

@media (max-width: 768px) {
  .notes-tabs .tablist { gap: 0; grid-template-columns: 1fr auto 1fr; padding-bottom: 10px; }
  .notes-tabs .tablist .tab { padding: 8px 12px; font-weight: 700; }
}

/* ----- Make three tabs look like left / center / right segments ----- */

/* Layout: left / center / right anchors */
.notes-tabs .tablist .tab { border-radius: 0; position: relative; margin-left: 0; }
.notes-tabs .tablist .tab:nth-child(1) { grid-column: 1; justify-self: start; border-top-left-radius: 10px; }
.notes-tabs .tablist .tab:nth-child(2) { grid-column: 2; justify-self: center; }
.notes-tabs .tablist .tab:nth-child(3) { grid-column: 3; justify-self: end; border-top-right-radius: 10px; }
.notes-tabs .tablist .tab[aria-selected="true"] { z-index: 2; }

/* Fine-tune middle tab to look centered segment */





/* ----- Service tiles (貼心服務) ----- */
#panel-service .service-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* 6x1 on wide */
  gap: 12px;
  margin-bottom: clamp(12px, 2.4vw, 24px); /* spacing before notes */
}
@media (max-width: 1200px) {
  #panel-service .service-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* 2x3 */
}
@media (max-width: 640px) {
  #panel-service .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 3x2 */
}
#panel-service .service-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 110px;
  padding: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.06);
  text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
#panel-service .service-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(255,255,255,0.1); }
#panel-service .service-tile .svc-icon { color: #fff; opacity: 0.95; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
#panel-service .service-tile .svc-icon { font-size: 28px; line-height: 1; }
#panel-service .service-tile .svc-label { margin-top: 8px; font-weight: 700; letter-spacing: 0.02em; }

/* Additional spacing for service notes under tiles */
#panel-service .service-notes { margin-top: clamp(8px, 1.8vw, 16px); }

/* Remit layout: glass-like floating card (similar to about-text) */
#panel-remit .remit-area {
  position: relative;
  min-height: 300px;
  padding-bottom: 200px; /* reserve space for floating card */
}
#panel-remit .remit-content {
  text-align: left;            /* desktop: left aligned */
  max-width: min(68ch, 72%);
  margin: 0;                   /* flush left */
  opacity: 0.95;
}
#panel-remit .remit-float {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  pointer-events: auto;
  max-width: min(52ch, 42vw);
  padding: 20px 22px 22px 22px;
  line-height: 1.8;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 32px rgba(255,255,255,0.18);
}
#panel-remit .remit-title { font-weight: 800; margin-bottom: 8px; letter-spacing: 0.02em; }
#panel-remit .remit-line { display: flex; gap: 8px; align-items: baseline; margin-top: 6px; }
#panel-remit .remit-line .k { min-width: 3em; opacity: 0.85; }
#panel-remit .remit-line .v { font-weight: 700; letter-spacing: 0.02em; }
#panel-remit .remit-hint { margin-top: 10px; font-size: 0.95em; opacity: 0.9; }
.copy-btn { position: absolute; top: 8px; right: 8px; padding: 6px 10px; font-size: 12px; color: #111; background: #fff; border: none; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.25); }
.copy-btn:hover { transform: translateY(-1px); }

@media (max-width: 768px) {
  #panel-remit .remit-area { padding-bottom: 0; }
  #panel-remit .remit-float { position: static; margin: 0 auto; max-width: min(92%, 460px); }
  #panel-remit .remit-content { text-align: center; margin: 10px auto 0; max-width: 70ch; }
}

.glass-container--plain {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.glass-container--plain.is-centered {
  background: none;
  border: none;
  box-shadow: none;
}

.glass-container--plain .glass-content {
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: clamp(24px, 3vw, 36px);
}

.glass-container--plain .contact-wrapper {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.glass-container--plain .contact-grid {
  width: 100%;
  justify-items: center;
  align-items: stretch;
}

/* Contact section */
.contact-wrapper {
  pointer-events: auto;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  width: 100%;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vw, 14px);
  padding: clamp(20px, 2.6vw, 30px);
  width: min(100%, 360px);
  box-sizing: border-box;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  /* Frosted glass base */
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  opacity: 0.12;
  pointer-events: none;
}

/* Subtle per-card tint overlay (below highlight) */
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.contact-card-phone { background: transparent; }
.contact-card-phone::before {
  background: linear-gradient(160deg, rgba(255, 174, 213, 0.28), rgba(20, 18, 38, 0.28));
}

.contact-card-line { background: transparent; }
.contact-card-line::before {
  background: linear-gradient(160deg, rgba(84, 214, 170, 0.28), rgba(16, 40, 32, 0.28));
}

.contact-card-address { background: transparent; }
.contact-card-address::before {
  background: linear-gradient(160deg, rgba(160, 196, 255, 0.26), rgba(20, 20, 48, 0.28));
}

.contact-card-icon {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.contact-heading {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-text {
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.6;
  opacity: 0.92;
}

.contact-callout {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  word-break: break-word;
  padding: 10px 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.contact-callout::after {
  content: '➜';
  font-size: clamp(16px, 1.5vw, 20px);
  opacity: 0.8;
}

.contact-callout:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.contact-subtext {
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.contact-address {
  font-style: normal;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

.contact-badges img {
  height: clamp(42px, 5vw, 60px);
  width: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

/* Enlarge the two specific certification badges */
.contact-badges img[src$="icon1.jpg"],
.contact-badges img[src$="icon2.png"] {
  height: clamp(60px, 7vw, 96px);
}

@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-callout {
    justify-content: center;
  }

  .contact-card {
    text-align: center;
  }

  .contact-badges {
    justify-content: center;
  }

  .glass-container--plain .glass-content {
    padding: clamp(16px, 5vw, 24px);
  }

  .glass-container--plain .contact-card {
    width: 100%;
    padding: clamp(14px, 5vw, 20px);
    max-width: 94vw;
    margin: 0 auto;
  }

  /* Reduce card height on mobile to avoid overflow; allow inner scroll if needed */
  .contact-card {
    max-height: clamp(220px, 28vh, 340px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .glass-container--plain .contact-grid {
    gap: clamp(12px, 5vw, 18px);
  }

  .glass-container--plain .contact-callout {
    font-size: clamp(18px, 5.8vw, 24px);
  }

}

/* ===== Pink tint for room cards (keep frosted) ===== */
.rooms-grid .room-card {
  background: linear-gradient(180deg, rgba(255, 182, 193, 0.16), rgba(255, 255, 255, 0.10));
  border-color: rgba(255, 182, 193, 0.34);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 24px rgba(255, 182, 193, 0.18);
}

.rooms-grid .room-card:hover {
  background: linear-gradient(180deg, rgba(255, 105, 180, 0.28), rgba(0, 0, 0, 0.28));
  border-color: rgba(255, 182, 193, 0.50);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 28px rgba(255, 182, 193, 0.22);
}

.rooms-grid .room-feature {
  background: rgba(255, 182, 193, 0.12);
  border: 1px solid rgba(255, 182, 193, 0.28);
}
/* Remove leading bullet dots in room info lists (scoped) */
.room-details-inner .rinfo li span:nth-child(odd) {
  display: none;
}




@media (max-width: 600px) {
  html {
    font-size: 90%;
    -webkit-text-size-adjust: 90%;
    text-size-adjust: 90%;
  }
}





