/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif !important;
}

:root {
    --site-gradient: linear-gradient(135deg, #f7f9fa 0%, #e4ebee 38%, #c7d3d8 68%, #758A93 100%);
    --divider-gold: #d8b36a;
}

html, body {
    overflow: hidden;
    line-height: 1.6;
    color: #333;
    background: var(--site-gradient);
}

/* 全屏滚动容器 */
.scroll-container {
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    background: var(--site-gradient);
}

/* 🔥 性能优化：使用 contain 属性隔离定位上下文 */
.full-screen-section {
    width: 100%;
    height: 100vh !important;
    min-height: 100vh !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    padding-bottom: 80px !important;
    contain: layout style paint;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 通用标题 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title span {
    display: block;
    color: #b8860b;
    font-size: 14px;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
}

.section-title.light h2 {
    color: #fff;
}

/* ==========================
   🔥 导航栏改造：logo+胶囊全局放大（电脑+手机）
========================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    height: auto;
    background: rgb(243, 101, 35) !important;
    border-radius: 0 80px 80px 0;
    padding: 22px 35px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border: none;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block !important;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.navbar.hidden {
    transform: translateY(-130px);
    opacity: 0;
    pointer-events: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    max-width: unset !important;
}

/* Logo电脑版大幅放大 */
.logo-img {
    height: 92px !important; /* 电脑版Logo再放大一点 */
    max-height: 92px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
}

/* 🔥 完全移除导航菜单样式 */
.nav-menu {
    display: none !important;
}

/* 首屏板块样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/首頁.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-container {
    width: min(860px, calc(100vw - 48px));
    padding: 0 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #f6e7c6;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(214, 179, 106, 0.7);
    color: #d6b36a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.hero-main-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.12;
    letter-spacing: 0;
    color: #ffffff;
    white-space: nowrap;
    animation: slideUp 1.5s ease-out forwards;
    transform: translateY(50px);
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: 500;
    margin: 18px 0 0;
    line-height: 1.25;
    letter-spacing: 0.06em;
    color: #cda46b;
    animation: slideUp 1.8s ease-out forwards;
    transform: translateY(50px);
    opacity: 0;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(320px, 70vw);
    gap: 16px;
    margin: 18px 0 20px;
}

.hero-divider-line {
    flex: 1;
    height: 1px;
    background: var(--divider-gold);
}

.hero-divider-diamond {
    color: var(--divider-gold);
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.hero-description {
    max-width: 820px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(11px, 1.3vw, 16px);
    line-height: 1.65;
    letter-spacing: 0.06em;
    text-align: center;
    text-wrap: pretty;
}

/* 🔥 性能优化：使用 transform 进行动画，启用 GPU 加速 */
.scroll-down {
    position: absolute !important;
    bottom: 70px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 999999 !important;
    text-decoration: none !important;
    cursor: pointer;
    animation: simpleFloat 1.8s ease-in-out infinite;
    pointer-events: auto !important;
    width: 50px;
    height: 50px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Font Awesome图标强制显示修复 */
.scroll-down .icon {
    font-size: 40px !important;
    color: #b8860b !important;
    transition: all 0.3s ease;
    font-family: "Font Awesome 6 Free" !important; /* 强制指定字体 */
    font-weight: 900 !important; /* 必须加权重 */
}

.hero .scroll-down .icon {
    color: #ffffff !important;
}

.scroll-down:hover .icon {
    color: #d4a520 !important;
    transform: scale(1.1);
}

/* 箭头动画 */
@keyframes simpleFloat {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 内容区域通用样式 */
.content-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 17px;
    color: #555;
}

/* 深色板块 */
.dark-section {
    background: #1a1a1a;
    color: #fff;
}

.facilities-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.facility-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 200px;
    transition: border-color 0.3s ease, transform 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.facility-card:hover {
    border-color: #b8860b;
    transform: translateY(-5px);
}

.facility-card .icon {
    width: 40px;
    height: 40px;
    fill: #b8860b;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 底部板块 */
.footer {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(216, 179, 106, 0.16), transparent 34%),
        radial-gradient(circle at bottom right, rgba(197, 160, 89, 0.12), transparent 28%),
        linear-gradient(180deg, #171312 0%, #0f0d0c 100%);
    color: #fff;
    text-align: left;
    padding: 0 20px;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 30%, rgba(255, 255, 255, 0.02) 70%, transparent);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    min-height: 100%;
    padding: 48px 0 28px;
}

.contact-hero {
    max-width: 760px;
}

.contact-kicker {
    font-size: 12px;
    letter-spacing: 0.38em;
    color: #d8b36a;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-content h2 {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.05;
    margin-bottom: 14px;
    color: #fff;
}

.contact-lead {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#section-08 .contact-badge {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #171717 0%, #050505 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 5px);
    background-blend-mode: normal, overlay;
    border: 1px solid #d8b36a;
    border-radius: 0;
    color: #ffffff;
    padding: 0 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.55),
        0 8px 18px rgba(0, 0, 0, 0.30);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

#section-08 .contact-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%),
        linear-gradient(90deg, rgba(216, 179, 106, 0.10), rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 72%, rgba(216, 179, 106, 0.10));
    opacity: 0.78;
    pointer-events: none;
}

#section-08 .contact-badge:hover {
    transform: translateY(-1px);
    border-color: #f0cf87;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.45),
        0 10px 22px rgba(0, 0, 0, 0.34);
}

#section-08 .contact-badge:active {
    transform: translateY(0);
}

.section-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.section-keywords-left {
    justify-content: flex-start;
}

.section-keywords-center {
    justify-content: center;
}

.section-keyword {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid #d8b36a;
    border-radius: 0;
    color: #ffffff;
    background:
        linear-gradient(180deg, #1b1b1b 0%, #070707 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, rgba(0, 0, 0, 0) 1px, rgba(0, 0, 0, 0) 6px);
    background-blend-mode: normal, soft-light;
    font-size: 12px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -2px 5px rgba(0, 0, 0, 0.72),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.section-keyword::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
        linear-gradient(90deg, rgba(216, 179, 106, 0.06), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(216, 179, 106, 0.06));
    opacity: 0.66;
    pointer-events: none;
}

.section-keyword:hover {
    transform: translateY(0);
    border-color: #e5c57a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -2px 7px rgba(0, 0, 0, 0.78),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.section-keyword:active {
    transform: translateY(0);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 6px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    text-decoration: none !important;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 179, 106, 0.55);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.whatsapp-card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(255, 255, 255, 0.04));
}

.phone-card {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), rgba(255, 255, 255, 0.04));
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d8b36a, #b8860b);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.contact-card-icon i {
    font-size: 24px;
    color: #111;
    display: inline-block;
    font-style: normal;
    line-height: 1;
}

.contact-card-icon .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.contact-card-icon .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.contact-card-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-card-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.contact-card-title {
    font-size: 22px;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
}

.contact-card-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.5;
}

.contact-card-action {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-action i {
    font-size: 16px;
    color: #fff;
    display: inline-block;
    font-style: normal;
    line-height: 1;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.disclaimer {
    margin-top: 18px;
    padding: 18px 0 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 100%;
}

.disclaimer p {
    margin: 0 0 8px 0;
}

.disclaimer p:first-child {
    font-weight: bold;
    color: #d8b36a;
    margin-bottom: 10px;
}

.copyright {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.45);
}

/* 项目概览板块 - 电脑版左文右图二分栏，缩小间距 */
.about-section {
    background: var(--site-gradient);
}

.project-overview-container {
    display: flex;
    align-items: center;
    gap: 25px; /* 缩小间距，不松散 */
    padding: 40px 20px;
    width: 100%;
    margin-bottom: 20px;
    flex-direction: row !important; /* 强制电脑版左右布局 */
}

.overview-text {
    flex: 0 0 45%;
    min-width: 300px;
}

.overview-title {
    font-size: 30px;
    letter-spacing: 2px;
    color: #000000;
    margin-bottom: 12px;
    text-align: left;
    font-weight: bold;
}

.midtown-title {
    font-size: 28px;
    letter-spacing: 1px;
    color: #000000;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    word-break: keep-all;
}

.title-line-midtown {
    width: 55px;
    height: 2px;
    background-color: var(--divider-gold);
    margin-bottom: 18px;
}
.section-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 560px;
}
.section-divider-compact {
    max-width: 460px;
    margin-bottom: 24px;
}
.section-divider-line {
    flex: 1;
    height: 2px;
    background-color: var(--divider-gold);
}
.section-divider-stars {
    color: var(--divider-gold);
    font-size: 15px;
    padding: 0 14px;
    letter-spacing: 8px;
    white-space: nowrap;
}

.midtown-subtitle {
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.midtown-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.midtown-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #000000;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 1px;
}

.midtown-bullet-icon {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d8b36a;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-top: 0.14em;
}

.midtown-bullet-icon i {
    font-size: 13px;
    line-height: 1;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal;
    display: inline-block;
}

.midtown-bullet-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.midtown-bullet-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #000000;
    letter-spacing: 1px;
}

.midtown-bullet-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #000000;
    letter-spacing: 0.5px;
}

.midtown-bullet-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #b8860b;
    margin-top: 0.55em;
    flex-shrink: 0;
}

.title-line {
    width: 80px;
    height: 2px;
    background-color: var(--divider-gold);
    margin-bottom: 30px;
}

.overview-table {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px 10px;
    font-size: 16px;
    color: #000000;
}

.table-label {
    font-weight: 600;
    color: #000000;
    letter-spacing: 1px;
    font-size: 16px;
    text-align: left;
}

.table-value {
    font-size: 16px;
    letter-spacing: 1px;
    color: #000000;
    text-align: left;
    white-space: nowrap;
}

.overview-image {
    flex: 0 0 55%;
    min-width: 300px;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: none;
    object-fit: contain;
    max-height: min(520px, 72vh);
    margin: 0 auto;
    display: block;
}

/* 地理交通/教育/會所板块 - 电脑版左文右图二分栏，缩小间距 */
#section-04.location-section,
#section-05.location-section,
#section-06.location-section {
    background: var(--site-gradient);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#section-04 .geo-layout,
#section-05 .geo-layout,
#section-06 .geo-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 25px !important; /* 缩小间距 */
    align-items: center !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row !important; /* 强制电脑版左右布局 */
}

#section-04 .geo-text-wrapper,
#section-05 .geo-text-wrapper,
#section-06 .geo-text-wrapper {
    flex: 4 !important;
    min-width: unset !important;
    padding: 20px 0;
}

#section-04 .geo-main-title,
#section-05 .geo-main-title,
#section-06 .geo-main-title {
    font-size: 40px;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#section-04 .geo-desc,
#section-05 .geo-desc,
#section-06 .geo-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 1px;
}

#section-04 .geo-image-wrapper,
#section-05 .geo-image-wrapper,
#section-06 .geo-image-wrapper {
    flex: 6 !important;
    min-width: unset !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 会所板块专属样式 - 电脑版左文右图二分栏，缩小间距 */
#section-06.location-section {
    background: var(--site-gradient);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#section-06 .geo-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px !important; /* 缩小间距 */
    align-items: center !important;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    flex-direction: row !important; /* 强制电脑版左右布局 */
}

#section-06 .geo-text-wrapper {
    flex: 5 !important;
    min-width: unset !important;
    padding: 30px 40px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#section-06 .geo-main-title {
    font-size: 40px;
    letter-spacing: 3px;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
    font-weight: bold;
    line-height: 1.3;
}

.title-line,
.title-line-midtown,
.fp-divider-line,
.section-divider-line {
    background-color: var(--divider-gold);
}

#section-06 .geo-desc {
    font-size: 16px !important;
    color: #333;
    line-height: 2.0 !important;
    margin: 0;
    letter-spacing: 1.2px;
    text-align: justify;
    word-break: break-word;
}

#section-06 .geo-image-wrapper {
    flex: 7 !important;
    min-width: unset !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 通用图片/缩略图样式 */
.geo-main-img-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.geo-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

#section-04 .geo-main-img-box {
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.12);
}

#section-04 .geo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

#section-05 .geo-main-img-box {
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.12);
}

#section-05 .geo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

#section-06 .geo-main-img-box {
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.12);
}

#section-06 .geo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.geo-thumb-box {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 5px;
}

.geo-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.geo-thumb.active {
    opacity: 1;
    border-color: #C82C2C;
}

.geo-thumb:hover {
    opacity: 0.9;
}

/* 图片预览弹窗 */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.viewer-main-img {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
}

.viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-nav i {
    font-size: 30px;
    color: #fff;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.viewer-nav:hover i {
    color: #b8860b;
}

/* Floorplan 預覽：提高左右切換按鈕辨識度 */
#floorplanImageViewer .viewer-nav {
    background: rgba(17, 17, 17, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 48px;
    height: 48px;
    padding: 0;
}

#floorplanImageViewer .viewer-nav i {
    font-size: 28px;
    color: #fff;
}

#floorplanImageViewer .viewer-prev {
    left: 14px;
}

#floorplanImageViewer .viewer-next {
    right: 14px;
}

.viewer-prev {
    left: 20px;
}

.viewer-next {
    right: 20px;
}

.viewer-thumbnails {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    overflow-x: auto;
    padding: 10px 0;
}

.viewer-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.viewer-thumb.active {
    opacity: 1;
    border-color: #b8860b;
}

.viewer-thumb:hover {
    opacity: 0.9;
}

/* 滚动动画 */
.animate-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-container.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-container.animated .animate-item:nth-child(1) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.animate-container.animated .animate-item:nth-child(2) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

#overviewMainImage {
    cursor: pointer;
    transition: opacity 0.2s ease;
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#overviewMainImage:hover {
    transform: scale(1.02);
}

/* 🔥 性能优化：仅使用 transform 和 opacity 进行动画 */
.geo-main-img, .main-image {
    transition: opacity 0.3s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: opacity;
}

.scroll-down, .icon, .animate-container, .animate-item {
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}

/* ==========================
   移动端：胶囊+Logo同步放大，板块上下布局
========================== */
@media (max-width: 768px) {
    .scroll-container {
        height: 100dvh;
    }

    .full-screen-section {
        height: 100dvh !important;
        min-height: 100dvh !important;
    }

    .navbar {
        top: 15px;
        padding: 15px 25px !important; /* 移动端胶囊放大 */
        border-radius: 0 70px 70px 0;
        width: auto !important;
        display: inline-block !important;
        background: rgb(243, 101, 35) !important;
    }
    .logo-img {
        height: 72px !important; /* 移动端Logo再放大一点 */
        max-height: 72px !important;
    }

    /* 窄屏下减少左右内边距，给标题更多可用宽度 */
    .hero-text-container {
        width: min(100%, calc(100vw - 24px));
        padding: 0 4px !important;
        max-width: 100% !important;
    }

    .nav-container {
        justify-content: flex-start;
        padding: 0;
    }

    /* 🔥 完全隐藏导航菜单 */
    .nav-menu {
        display: none !important;
    }

    .hero-kicker {
        min-height: 28px;
        padding: 0 12px;
        margin-bottom: 16px;
        font-size: 12px;
        letter-spacing: 0.18em;
    }

    .hero-main-title {
        font-size: 28px !important;
        letter-spacing: 0;
        line-height: 1.05;
        white-space: nowrap;
        max-width: 92vw;
        overflow: visible;
    }

    .hero-subtitle {
        font-size: clamp(12px, 3vw, 18px);
        margin-top: 12px;
        letter-spacing: 0.04em;
    }

    .hero-divider {
        width: min(220px, 58vw);
        gap: 12px;
        margin: 14px 0 16px;
    }

    .hero-divider-diamond {
        font-size: 15px;
    }

    .hero-description {
        max-width: min(92vw, 560px);
        margin: 0 auto;
        font-size: clamp(12px, 3vw, 15px);
        line-height: 1.72;
        letter-spacing: 0.03em;
        color: #ffffff;
        text-wrap: balance;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    }

    /* 箭头样式 */
    .scroll-down {
        bottom: 118px !important;
        width: 40px !important;
        height: 40px !important;
        z-index: 999999 !important;
    }

    .scroll-down .icon {
        font-size: 30px !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }

    /* 移动端项目板块：上下布局 */
    .about-section {
        padding: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .project-overview-container {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 1200px !important;
    }

    .overview-text, .overview-image {
        flex: 0 0 auto !important;
        min-width: unset !important;
        width: 100% !important;
    }

    /* 移动端文字样式 */
    .overview-title {
        font-size: 20px !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        color: #000000 !important;
    }

    .title-line {
        width: 60px !important;
    }

    .midtown-title {
        font-size: 20px !important;
        letter-spacing: 0.8px !important;
        margin-bottom: 6px !important;
        white-space: nowrap !important;
        color: #000000 !important;
    }

        .section-divider {
            max-width: 100% !important;
        }

        .section-divider-compact {
            margin-bottom: 14px !important;
        }

        .section-divider-stars {
            font-size: 13px !important;
            padding: 0 10px !important;
            letter-spacing: 6px !important;
        }

    .midtown-subtitle {
        font-size: 14px !important;
        margin-bottom: 12px !important;
        letter-spacing: 0.5px !important;
        color: #000000 !important;
    }

    .midtown-bullets {
        gap: 10px !important;
    }

    .midtown-bullet {
        font-size: 12px !important;
        letter-spacing: 0.5px !important;
        line-height: 1.65 !important;
        color: #000000 !important;
        gap: 10px !important;
    }

    .midtown-bullet-dot {
        width: 10px !important;
        height: 10px !important;
        border-width: 2px !important;
        margin-top: 0.6em !important;
    }

    .midtown-bullet-icon {
        width: auto !important;
        height: auto !important;
        flex-basis: auto !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 0.12em !important;
    }

    .midtown-bullet-icon i {
        font-size: 11px !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-style: normal;
        display: inline-block;
    }

    .midtown-bullet-title {
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
    }

    .midtown-bullet-desc {
        font-size: 11px !important;
        line-height: 1.55 !important;
        letter-spacing: 0.3px !important;
    }

    .overview-table {
        grid-template-columns: 95px 1fr !important;
        gap: 10px 10px !important;
        width: 100% !important;
    }

    .table-label {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: unset !important;
        padding-right: 5px !important;
        font-size: 11px !important;
        color: #000000 !important;
    }

    .table-value {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: unset !important;
        font-size: 11px !important;
        color: #000000 !important;
    }

    .overview-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
    }

    /* 移动端图片样式 */
    .overview-image {
        width: 100% !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .main-image {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        object-fit: contain !important;
        max-height: min(650px, 78vh) !important;
    }

    #section-05 .geo-main-img-box {
        aspect-ratio: 4 / 3;
    }

    #section-05 .geo-main-img {
        max-height: 38vh !important;
    }

    #section-04 .geo-main-img-box {
        aspect-ratio: 4 / 3;
    }

    #section-04 .geo-main-img {
        max-height: 38vh !important;
    }

    #section-06 .geo-main-img-box {
        aspect-ratio: 4 / 3;
    }

    #section-06 .geo-main-img {
        max-height: 38vh !important;
    }

    /* 移动端地理/教育/会所板块：上下布局 */
    #section-04 .geo-layout,
    #section-05 .geo-layout,
    #section-06 .geo-layout {
        flex-direction: column !important;
        gap: 20px !important;
        padding-bottom: 40px !important;
    }

    #section-04 .geo-text-wrapper,
    #section-05 .geo-text-wrapper,
    #section-06 .geo-text-wrapper {
        flex: 1 !important;
        padding: 0 !important;
    }

    #section-04 .geo-main-title,
    #section-05 .geo-main-title {
        font-size: 20px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        letter-spacing: 1px !important;
    }

    #section-06 .geo-main-title {
        font-size: 22px !important;
        letter-spacing: 2px;
        white-space: nowrap !important;
    }

    #section-04 .geo-desc,
    #section-05 .geo-desc,
    #section-06 .geo-desc {
        font-size: 13px !important;
        line-height: 1.72 !important;
        letter-spacing: 0.35px !important;
    }

    .geo-thumb-box {
        margin-top: 10px !important;
    }

    .geo-thumb {
        width: 60px;
        height: 60px;
    }

    /* 弹窗移动端适配 */
    .viewer-nav i {
        font-size: 24px !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }

    .viewer-close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }

    .viewer-thumb {
        width: 60px;
        height: 60px;
    }

    .viewer-main-img {
        max-width: 95%;
        max-height: 65vh;
    }

    .viewer-thumbnails {
        bottom: 98px !important;
        max-width: calc(100% - 20px) !important;
        padding-bottom: 4px !important;
    }

    /* 免责声明 */
    .disclaimer {
        font-size: 11px;
        padding: 15px 0;
    }

    /* 修复Font Awesome图标显示 */
    .fa-solid, .fa-brands {
        display: inline-block !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }

    .fa-brands {
        font-family: "Font Awesome 6 Brands" !important;
    }

    /* 图标修复 */
    .contact-info i {
        font-size: 16px !important;
        width: 22px !important;
        margin-right: 8px !important;
        text-align: center !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
    }

    /* 联系方式区移动端适配 */
    #section-08.footer.full-screen-section {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        padding: 0 16px 240px !important;
        justify-content: flex-start !important;
    }

    .footer {
        padding: 0 16px;
    }

    .footer-content {
        gap: 16px;
        padding: 36px 0 36px;
    }

    .contact-kicker {
        font-size: 11px;
        letter-spacing: 0.3em;
    }

    .footer-content h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .contact-lead {
        font-size: 14px;
        line-height: 1.65;
    }

    .contact-badges {
        gap: 8px;
        margin-top: 12px;
    }

    .contact-badge {
        min-height: 30px;
        padding: 0 12px;
        font-size: 11px;
    }

    .section-keywords {
        gap: 8px;
        margin-top: 12px;
    }

    .section-keyword {
        min-height: 30px;
        padding: 0 12px;
        font-size: 11px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-card {
        padding: 16px;
        border-radius: 20px;
        gap: 12px;
    }

    .contact-card-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .contact-card-icon i {
        font-size: 22px;
    }

    .contact-card-title {
        font-size: 18px;
    }

    .contact-card-meta {
        font-size: 12px;
    }

    .contact-card-action {
        width: 38px;
        height: 38px;
    }

    .disclaimer {
        font-size: 11px;
        padding-top: 14px;
        line-height: 1.55;
        margin-bottom: 36px;
    }

    .copyright {
        margin-top: 12px;
        padding-top: 12px;
        padding-bottom: 28px;
    }
}

/* 超窄屏适配 */
@media (max-width: 420px) {
    .hero-text-container {
        padding: 0 3px !important;
        max-width: 100% !important;
    }

    .hero-kicker {
        min-height: 26px;
        padding: 0 10px;
        font-size: 9px;
        letter-spacing: 0.16em;
    }

    .hero-main-title {
        font-size: 28px !important;
        max-width: 92vw;
        white-space: nowrap;
        overflow: visible;
    }

    .hero-subtitle {
        font-size: 11px;
    }

    .hero-divider {
        width: min(180px, 60vw);
        gap: 10px;
    }

    .hero-description {
        max-width: 94vw;
        font-size: 12px;
        line-height: 1.72;
        letter-spacing: 0.02em;
        text-wrap: balance;
    }

    .section-keyword {
        padding: 0 10px;
        font-size: 10px;
    }
}

/* ==============================
    項目資料板塊 #section-02
============================== */
#section-02.project-data-section {
    background: var(--site-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px 90px !important;
    font-family: 'Microsoft JhengHei', 'Noto Sans TC', 'Arial', sans-serif;
}

.pd-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 入場動畫 */
@keyframes pdFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pdFadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pd-layout.animated .pd-image-col {
    animation: pdFadeInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.pd-layout.animated .pd-content-col {
    animation: pdFadeInRight 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* 左欄：大廈圖片 */
.pd-image-col {
    flex: 0 0 36%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-tower-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    max-height: 72vh;
    display: block;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.16);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pd-tower-img:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 6px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* 右欄：文案內容 */
.pd-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 資料表格 */
.pd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pd-table th {
    padding: 8px 10px;
    text-align: center;
}

.pd-th-type-header {
    text-align: left !important;
    font-weight: 600;
    color: #111;
    font-size: 13px;
    vertical-align: bottom;
    width: 130px;
}

.pd-th-tower1,
.pd-th-tower2 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    padding-bottom: 6px;
    text-align: center;
}

.pd-th-tower2 {
    border-left: 1px solid #ccc;
}

/* 副標題行（實用面積 / 單位數量） */
.pd-sub-header-row th {
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    padding-top: 6px;
    padding-bottom: 6px;
    font-weight: 600;
    color: #111;
    font-size: 12px;
}

/* 資料行 */
.pd-table tbody td {
    padding: 10px 10px;
    border-bottom: 1px solid #e5e5e5;
    color: #111;
    font-weight: 400;
    font-size: 13px;
    vertical-align: middle;
}

.pd-td-type {
    text-align: left;
    color: #111;
    line-height: 1.5;
}

.pd-td-area {
    text-align: center;
}

.pd-td-count {
    text-align: center;
    font-weight: 500;
}

/* 第2座欄的垂直分隔線 */
.pd-tower2-col {
    border-left: 1px solid #ccc !important;
}

/* 底部註釋 */
.pd-notes {
    padding: 6px 0 2px;
    text-align: center;
    line-height: 1.9;
}

.pd-note-primary {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.pd-note-secondary {
    font-size: 12px;
    color: #111;
    font-weight: 400;
}

/* 圖例 + 比例尺 列 */
.pd-bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.pd-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 20px;
    flex-shrink: 0;
}

.pd-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #111;
    white-space: nowrap;
}

.pd-legend-swatch {
    width: 34px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
    display: inline-block;
}

/* 比例尺 */
.pd-scale {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.pd-scale-label,
.pd-scale-zero,
.pd-scale-ten {
    color: #111 !important;
    font-size: 11px;
    color: #555;
}

.pd-scale-bar {
    display: flex;
    width: 60px;
    height: 8px;
    border: 1.5px solid #666;
    overflow: hidden;
}

.pd-scale-seg {
    flex: 1;
    height: 100%;
}

.pd-scale-seg-dark {
    background-color: #666;
}

.pd-scale-seg-light {
    background-color: #fff;
}

/* ==============================
   響應式：手機端上下堆疊
============================== */
@media (max-width: 768px) {
    #section-02.project-data-section {
        padding: 34px 15px 160px !important;
    }

    .pd-layout {
        flex-direction: column !important;
        gap: 8px !important;
    }

    /* 手機端：文案在上，圖片在下 */
    .pd-image-col {
        flex: 0 0 auto !important;
        width: 100% !important;
        order: 2;
        /* 留出內邊距讓陰影在 overflow:hidden 範圍內可見 */
        padding: 10px 18px 14px !important;
        box-sizing: border-box !important;
    }

    /* 圖片填滿內邊距後的空間，高度像海報感 */
    .pd-tower-img {
        width: 100% !important;
        max-height: 46vh !important;
        object-fit: cover !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14) !important;
        transform: none !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .pd-tower-img:hover {
        transform: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
    }

    .pd-image-col {
        padding: 8px 18px 10px !important;
    }

    .pd-content-col {
        flex: 0 0 auto !important;
        width: 100% !important;
        order: 1;
        gap: 6px !important;
        margin-top: 6px !important;
    }

    /* 表格：自動佈局，縮小字體，全文顯示不截斷 */
    .pd-table {
        table-layout: auto !important;
        font-size: 10px !important;
    }

    /* 所有格：縮小 padding，取消省略號 */
    .pd-table th,
    .pd-table tbody td {
        padding: 5px 3px !important;
        font-size: 10px !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: nowrap !important;
    }

    /* 戶型列（第一欄）及包含長文字的格子允許換行 */
    .pd-td-type,
    .pd-th-type-header {
        white-space: normal !important;
        word-break: keep-all !important;
        width: 52px !important;
    }

    /* 塔號標題行保持較大字體 */
    .pd-th-tower1,
    .pd-th-tower2 {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    .pd-note-primary {
        font-size: 10px !important;
    }

    .pd-note-secondary {
        font-size: 9px !important;
        line-height: 1.6 !important;
    }

    .pd-notes {
        text-align: left !important;
    }

    .pd-bottom-row {
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    .pd-legend {
        grid-template-columns: 1fr 1fr !important;
        gap: 5px 10px !important;
    }

    .pd-legend-item {
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    .pd-legend-swatch {
        width: 22px !important;
        height: 11px !important;
    }

    .pd-scale {
        margin-left: auto;
    }

    .pd-scale-label,
    .pd-scale-zero,
    .pd-scale-ten {
        font-size: 9px !important;
    }
}

/* ==============================
    樓層平面圖板塊 #section-07
============================== */
#section-07.floorplan-section {
    background: var(--site-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px 90px !important;
    font-family: 'Microsoft JhengHei', 'Noto Sans TC', 'Arial', sans-serif;
}

.fp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 1200px;
}

/* 標題區塊 */
.fp-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.fp-title {
    font-size: 38px;
    font-weight: bold;
    color: #111;
    letter-spacing: 4px;
    text-align: center;
    margin: 0;
}

/* 黃色分隔線配星星裝飾 */
.fp-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 560px;
}

.fp-divider-line {
    flex: 1;
    height: 2px;
    background-color: var(--divider-gold);
}

.fp-stars {
    color: var(--divider-gold);
    font-size: 15px;
    padding: 0 14px;
    letter-spacing: 8px;
    white-space: nowrap;
}

/* 圖片列 */
.fp-images-row {
    display: flex;
    flex-direction: row;
    gap: 28px;
    width: 100%;
    align-items: flex-start;
    justify-content: center;
}

/* 入場動畫 */
@keyframes fpFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fpFadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fp-images-row.animated .fp-img-left {
    animation: fpFadeInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.fp-images-row.animated .fp-img-right {
    animation: fpFadeInRight 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* 圖片容器 */
.fp-img-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

/* 平面圖圖片 — 同 project-data 陰影效果 */
.fp-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    max-height: 64vh;
    display: block;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.16);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: zoom-in;
}

.fp-img:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 6px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* ==============================
   響應式：手機端
============================== */
@media (max-width: 768px) {
    #section-07.floorplan-section {
        padding: 20px 15px 90px !important;
    }

    .fp-inner {
        gap: 12px;
    }

    .fp-title {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .fp-divider {
        max-width: 88%;
    }

    .fp-images-row {
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* 上下留內邊距讓陰影在 overflow:hidden 範圍內可見 */
    .fp-img-box {
        width: 100%;
        padding: 8px 14px 12px;
        box-sizing: border-box;
    }

    .fp-img {
        width: 100% !important;
        max-height: 38vh !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14) !important;
    }

    .fp-img:hover {
        transform: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
    }

    #floorplanImageViewer {
        padding: 14px !important;
    }

    #floorplanImageViewer .viewer-main-img {
        max-width: 94% !important;
        max-height: 80vh !important;
    }

    #floorplanImageViewer .viewer-nav {
        width: 54px !important;
        height: 54px !important;
        background: rgba(17, 17, 17, 0.68) !important;
        border: 1px solid rgba(255, 255, 255, 0.65) !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38) !important;
    }

    #floorplanImageViewer .viewer-nav i {
        font-size: 30px !important;
        color: #fff !important;
    }

    #floorplanImageViewer .viewer-prev {
        left: 8px !important;
    }

    #floorplanImageViewer .viewer-next {
        right: 8px !important;
    }
}

.section-panel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(216, 179, 106, 0.82);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(5, 5, 5, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #d8b36a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    width: fit-content;
    align-self: flex-start;
    margin-bottom: 12px;
}

#section-07 .section-panel-badge {
    margin-bottom: 0;
}

.section-panel-badge-index {
    color: #d8b36a;
    white-space: nowrap;
}

.section-panel-badge-text {
    color: #d8b36a;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.section-panel-badge-center {
    align-self: center;
}

@media (max-width: 768px) {
    .section-panel-badge {
        min-height: 30px;
        padding: 0 12px;
        font-size: 10px;
        letter-spacing: 0.14em;
        margin-bottom: 10px;
    }

    #section-07 .section-panel-badge {
        margin-bottom: 0;
    }

    .section-panel-badge-text {
        letter-spacing: 0.04em;
    }

}