/* ========================================
   響應式設計 (RWD)
   ======================================== */

/* ===== 手機版 (< 768px) ===== */
@media (max-width: 767px) {
  
  /* 手機版滾動容器 - 保持整頁滾動效果 */
  .scroll-container {
    height: calc(100vh - 60px); /* 扣除底部浮動按鈕高度 */
    height: calc(100dvh - 60px); /* 使用 dvh 動態視窗高度 */
    overflow-y: scroll;
    overflow-x: auto; /* 改為 auto，允許內部元素水平捲動 */
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch; /* iOS 滑動優化 */
  }
  
  /* 確保 body 和 html 不會產生額外滾動 */
  html, body {
    overflow: hidden;
    height: 100%;
    position: fixed;
    width: 100%;
  }
  
  /* 各屏共用調整 - 手機版整頁滾動 */
  .section {
    padding: var(--spacing-xl) var(--spacing-md);
    overflow-x: hidden; /* 防止水平捲軸 - 第三屏會覆寫 */
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px); /* 動態視窗高度 */
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  
  /* 第三屏特別處理 - 允許水平滾動 */
  #section-map.section {
    overflow-x: auto !important;
    scroll-snap-align: start !important;
    /* 第三屏保持在垂直 snap 中，但允許內部水平滾動 */
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xl);
  }
  
  /* 第一屏：主視覺 */
  .logo h1 {
    font-size: var(--font-size-2xl);
  }
  
  .slide-caption h2 {
    font-size: var(--font-size-xl);
  }
  
  .slide-caption p {
    font-size: var(--font-size-base);
  }
  
  .scroll-indicator {
    bottom: 80px; /* 避免被浮動聯絡列遮擋 */
  }  
  /* 第一屏:主視覺 - 手機版佈局 */
  #section-hero {
    padding-bottom: 0; /* 移除額外 padding */
    padding: 0 !important; /* 移除 padding 讓圖片完全滿版 */
  }

  /* 新版第一屏 - 手機版顯示 */
  .hero-new-desktop {
    display: none !important;
  }

  .hero-new-mobile {
    display: block !important;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .hero-new-mobile .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .hero-new-mobile .hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    z-index: 2;
  }

  /* 手機版滿版文字圖片 */
  .hero-mobile-fullwidth {
    display: none !important;
  }

  /* 隱藏原有的 hero-content */
  .hero-content {
    display: none !important;
  }  .hero-text {
    flex-direction: column;
    padding: var(--spacing-md) var(--spacing-md);
    gap: var(--spacing-md);
  }
  
  .hero-image-content {
    display: none !important; /* 隱藏桌面版右側圖片 */
  }
  
  .hero-text-content {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
  }
  
  /* 英文標題 - 三行水平置中 */
  .hero-english-title {
    font-family: 'Times New Roman', serif;
    font-size: 34px !important;
    font-weight: 100 !important;
    line-height: 1 !important;
    color: #007F86 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
  }
  
  /* 隱藏舊副標題 */
  .hero-subtitle-old {
    display: none !important;
  }
  
  /* 新副標題 - 兩行等寬 */
  .hero-subtitle-new {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 0px !important;
  }
  
  .hero-subtitle-new > div {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #007F86;
    line-height: 1.4;
    text-align: justify;
    text-align-last: justify;
    width: 100%;
    max-width: 200px;
  }
  
  .hero-subtitle-new > div:first-child {
    letter-spacing: 5px;
  }
  
  .hero-subtitle-new > div:last-child {
    letter-spacing: 5px;
  }
  
  /* 手機版圖片 */
  .hero-mobile-image {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 90%;
  }
  
  .hero-mobile-image img {
    width: 80%;
    height: auto;
    object-fit: contain;
  }
  
  /* LOGO */
  .hero-logo {
    display: block !important;
    margin: var(--spacing-md) 0;
    margin-top:5px;
  }
  
  .hero-logo img {
    width: auto;
    height: 80px;
  }
  
  /* 隱藏電腦版建案資訊 */
  .hero-info-desktop {
    display: none !important;
  }
  
  /* 手機版建案資訊 */
  .hero-info-mobile {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #007F86 !important;
    letter-spacing: 1.5px !important;
    line-height: 1.4 !important;
    text-align: center;
    margin-top: var(--spacing-sm);
    display: block !important;
  }  

  .hero-wave{
    display:none;
  }

  /* 調整手機版波浪 SVG path - 減少浮動幅度 */
  .hero-wave svg path {
    d: path("M0,95 C240,105 480,105 720,95 C960,85 1200,85 1440,95 L1440,150 L0,150 Z");
  }

  /* 第二屏:綠色航空城 */
  #section-aerotropolis {
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  
  #section-aerotropolis .section-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .aerotropolis-container {
    grid-template-columns: 1fr;
    gap: 0;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
  }
  
  .aerotropolis-text {
    padding: var(--spacing-sm) var(--spacing-md) 0 var(--spacing-md) !important;
    max-width: 100%;
    position: static;
    text-align: center;
    align-items: center;
    flex-shrink: 0;
  }
  
  .aerotropolis-title-en {
    font-size: 32px;
    text-align: center;
    line-height: 1;
    letter-spacing: 0px;
  }
  
  .aerotropolis-title-zh {
    font-size: 22px;
    text-align: center;
    margin-top: 5px;
    letter-spacing: 0px;
  }
  
  .aerotropolis-description {
    font-size: 13px;
    text-align: justify;
    padding: 10px 0px 0px;
    line-height: 1.7;
  }
  
  /* 隱藏桌面版橫向分隔線 */
  .aerotropolis-divider {
    display: none;
  }
  
  .aerotropolis-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    height: 36vh !important;
    max-height: 36vh !important;
    flex-grow: 0;
    flex-shrink: 0;
    margin-top: auto; /* 推到底部 */
  }
  
  .aerotropolis-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Swiper 容器樣式 */
  .aerotropolis-swiper {
    width: 100%;
    height: 100% !important;
  }
  
  .aerotropolis-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100% !important;
  }
  
  .aerotropolis-image-placeholder {
    width: 100%;
    height: 100% !important;
  }
  
  .aerotropolis-image-placeholder img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
  }
  
  /* 手機版顯示換頁按鈕 */
  .aerotropolis-nav-buttons {
    position: static !important;
    display: contents !important;
  }
  
  .aerotropolis-button-prev,
  .aerotropolis-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    z-index: 10;
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease;
    margin: 0 !important;
  }
  
  .aerotropolis-button-prev::after,
  .aerotropolis-button-next::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
    color: #FFFFFF;
  }
  
  .aerotropolis-button-prev::after {
    content: '\f053'; /* fa-chevron-left */
  }
  
  .aerotropolis-button-next::after {
    content: '\f054'; /* fa-chevron-right */
  }
  
  .aerotropolis-button-prev {
    left: 15px !important;
    right: auto !important;
  }
  
  .aerotropolis-button-next {
    right: 15px !important;
    left: auto !important;
  }
  
  .aerotropolis-button-prev:hover,
  .aerotropolis-button-next:hover {
    transform: translateY(-50%) scale(1.1) !important;
  }
  
  /* 第二屏：鄰近設施 */
  .facility-card img {
    height: 200px;
  }
  
  .facility-info {
    padding: var(--spacing-md);
  }
  
  .facility-info h3 {
    font-size: var(--font-size-lg);
  }
  
  /* 第三屏：滿版空拍圖 - 手機版 */
  /* 手機版：顯示天空加高版,隱藏舊版 */
  #section-map {
    position: relative !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
    min-height: calc(100vh - 60px) !important;
    min-height: calc(100dvh - 60px) !important;
    /* 觸控滑動支援 - 允許水平和垂直滑動 */
    touch-action: pan-x pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    /* 保持 snap 讓垂直滾動正常運作 */
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    /* 隱藏滾動條 */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  #section-map::-webkit-scrollbar {
    display: none !important;
  }
  .map-container {
    /* map-container 不要設定滾動，讓 section-map 來處理 */
    overflow: visible !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
    width: auto !important;
    min-width: max-content !important;
    position: relative !important;
  }
  
  .map-image-desktop {
    display: none !important;
  }
  
  .map-image-mobile {
    display: block !important;
    height: calc(100vh - 60px) !important; /* 填滿視窗高度，扣除底部 sticky-contact */
    height: calc(100dvh - 60px) !important;
    width: auto !important; /* 寬度自動,保持比例 */
    min-width: auto !important;
    max-width: none !important;
    max-height: none !important; /* 移除最大高度限制 */
    object-fit: contain !important; /* 保持比例填滿高度 */
    object-position: left center !important; /* 從左邊開始顯示 */
    /* 確保圖片不會攔截觸控事件 */
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    user-select: none !important;
  }
  
  .map-text-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    transform: none !important;
    text-align: center;
    max-width: 100vw !important;
    padding: var(--spacing-xl) var(--spacing-md);
    flex-direction: column;
    gap: 0;
    z-index: 100 !important;
    pointer-events: none !important;
  }
  .map-text-overlay * {
    pointer-events: auto !important;
  }
  
  .map-text-left,
  .map-text-right {
    width: 100%;
    align-items: center;
  }
  .map-text-right{
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
  }
  
  
  .map-text-overlay .Title {
    font-size: 42px;
    text-align: center;
  }
  
  .map-text-overlay .subTitle {
    font-size: 28px;
    white-space: nowrap;
    text-align: center;
  }
  
  .map-text-overlay .map-divider {
    width: 60px;
    margin: 20px auto;
  }
  
  .map-text-overlay p {
    font-size: 14px;
  }
  
  .map-text-right p {
    white-space: nowrap;
  }
  
  /* 手機版 map-logo 顯示設定 */
  .map-logo-mobile {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 10px;
  }
  
  .map-logo-mobile img {
    width: auto;
    height: 60px;
    max-width: 80%;
    object-fit: contain;
  }
  
  /* 第四屏：LAKE | 湖 */
  #section-lake {
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .lake-border-box{
    display:none;
  }
  .lake-background-image{
    display:none;
  }
  #section-lake .section-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .lake-container {
    grid-template-columns: 1fr;
    gap: 0;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    /* 使用 flex-start 搭配 flex-grow 的方式更相容舊版瀏覽器 */
    justify-content: flex-start !important;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .lake-background-decoration {
    width: 87%;
    height: 36vw;
  }
  
  .lake-text {
    padding: var(--spacing-lg) 0px;
    padding-bottom: 10px;
    align-self: flex-start;
    width: 100%;
    text-align: center;
    /* 固定文字區塊高度，不參與 flex-grow */
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .lake-title-en {
    font-size: 36px;
    width: 100%;
    color:#c5b197;
    text-align: center;
    justify-content: center;
    letter-spacing: 0px;
  }
  
  .lake-title-zh {
    font-size: 26px;
    width: 100%;
    text-align: center;
    letter-spacing: 0px;
  }
  
  .lake-description {
    font-size: 13px;
    width: 100%;
    text-align: center;
    margin-top: 0px;
    padding-top: 10px;
    margin-top:10px;;
  }
  .lake-description p{
    margin: 0 0 4px 0;
  }
  
  /* 手機版顯示/隱藏切換 */
  .lake-description-desktop {
    display: none;
  }
  .lake-description-mobile {
    display: block;
    padding-left: 40px;
    padding-right: 40px;
  }
  .lake-description-mobile p {
    text-align: justify;
    line-height: 1.8;
  }
  
  .lake-image-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
    width: 100vw;
    /* 使用 flex-grow 讓圖片區塊自動擴展填滿剩餘空間 */
    flex-grow: 1;
    flex-shrink: 1;
    /* 設定最小高度確保基本顯示，最大高度避免過大 */
    min-height: 35vh;
    max-height: 60vh;
    height: auto !important;
    margin-bottom: 0px;
    margin-top: 10px;
  }
  
  .lake-main-slider {
    height: 100% !important;
    width: 100%;
  }
  
  .lake-swiper {
    height: 100% !important;
  }
  
  .lake-swiper .swiper-slide {
    height: 100% !important;
  }
  
  /* 手機版：隱藏電腦版 slide，顯示手機版 slide */
  .lake-swiper .swiper-slide.desktop-only {
    display: none !important;
  }
  .lake-swiper .swiper-slide.mobile-only {
    display: block !important;
  }
  
  .lake-swiper .swiper-slide img,
  .lake-image-placeholder img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
  
  .lake-image-placeholder {
    width: 100%;
    height: 100% !important;
  }
  
  .lake-thumbnail-grid {
    position: relative;
    width: 100%;
    margin-top: 15px;
  }
  
  .lake-thumbnail-item {
    height: 80px;
  }
  
  /* 湖景區底部圖片展示 - 手機版隱藏 */
  .lake-bottom-images {
    display: none !important;
  }
  
  /* 第四屏：建築特色 */
  .feature-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .architecture-swiper .swiper-slide img {
    height: 250px;
  }
  
  .feature-text {
    padding: 0;
  }
  
  .feature-list li {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
  }
  
  /* 第5.1屏 - 手機版（只在手機版顯示） */
  #section-5-1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
  }
  
  /* 5.1屏裝飾圖片 - 共用樣式 */
  .section-5-1-decor-top-left,
  .section-5-1-decor-top-right,
  .section-5-1-decor-bottom-left,
  .section-5-1-decor-bottom-right {
    position: absolute;
    z-index: 1;
    pointer-events: none;
  }
  
  .section-5-1-decor-top-left img,
  .section-5-1-decor-top-right img,
  .section-5-1-decor-bottom-left img,
  .section-5-1-decor-bottom-right img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* 單圖-1.png - 左上 */
  .section-5-1-decor-top-left {
    top: 9%;
    left: 0;
    width: 66%;
  }
  
  /* 111.png - 右上（較靠中心） */
  .section-5-1-decor-top-right {
    top: 10%;
    right: 0;
    width: 50%;
  }
  
  /* 111.png - 左下（較靠中心） */
  .section-5-1-decor-bottom-left {
    bottom: 8%;
    left: 0;
    width: 50%;
  }
  
  /* 單圖-1.png - 右下 */
  .section-5-1-decor-bottom-right {
    bottom: 7%;
    right: 0;
    width: 66%;
  }

  #section-5-1 .section-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
  }
  
  .section-5-1-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: var(--spacing-lg);
    width: 100%;
    min-height: auto;
  }
  
  /* 5.1屏使用 garden-text 類別，確保置中 */
  #section-5-1 .garden-text {
    padding: var(--spacing-lg);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #section-5-1 .garden-title-en {
    justify-content: center;
    color:#c5b197;
  }
  
  #section-5-1 .garden-title-zh {
    text-align: center;
    letter-spacing: 0px;
  }
  
  #section-5-1 .garden-description {
    text-align: justify;
    font-size : 13px;
  }
  
  .section-5-1-image-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
    width: 100vw;
    order: 2;
    align-self: flex-end;
    margin-bottom: 0;
  }
  
  .section-5-1-main-slider {
    height: 300px;
    width: 100%;
  }
  
  .section-5-1-swiper .swiper-slide img,
  .section-5-1-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .section-5-1-nav-buttons {
    bottom: 0px;
    left: 0px;
  }
  
  .section-5-1-button-prev,
  .section-5-1-button-next {
    width: 40px;
    height: 40px;
  }
  
  /* 第5.2屏 - 手機版滿版輪播（只在手機版顯示） */
  #section-5-2 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: url('../images/shutterstock_396573496.jpg') no-repeat center center !important;
    background-size: cover !important;
    min-height: calc(100vh - 60px) !important;
    min-height: calc(100dvh - 60px) !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
  }
  
  .section-5-2-fullscreen-slider {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
    background: transparent !important;
    overflow: hidden !important;
  }
  
  .section-5-2-swiper {
    width: 100vw !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  .section-5-2-swiper .swiper-wrapper {
    width: 100% !important;
    height: 100% !important;
  }

  .section-5-2-swiper .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: calc(100vh - 60px) !important;
    height: calc(100dvh - 60px) !important;
    background: transparent !important;
    overflow: hidden !important;
  }

  .section-5-2-swiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    object-position: center center !important;
    background: transparent !important;
    display: block !important;
  }

  /* 5.2屏左右換頁按鈕樣式 */
  .section-5-2-button-prev,
  .section-5-2-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none;
    cursor: pointer;
    z-index: 10;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease;
    margin: 0 !important;
  }

  .section-5-2-button-prev {
    left: 15px !important;
    right: auto !important;
  }

  .section-5-2-button-next {
    right: 15px !important;
    left: auto !important;
  }

  .section-5-2-button-prev::after,
  .section-5-2-button-next::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
    color: #FFFFFF;
  }

  .section-5-2-button-prev::after {
    content: '\f053';
  }

  .section-5-2-button-next::after {
    content: '\f054';
  }

  .section-5-2-button-prev:hover,
  .section-5-2-button-next:hover {
    transform: translateY(-50%) scale(1.1) !important;
  }

  .section-5-2-text {
    padding: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    padding-top: 0px;
    order: 1;
    align-self: flex-start;
    width: 100%;
    text-align: center;
  }
  
  .section-5-2-title-en {
    font-size: 36px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .section-5-2-title-zh {
    font-size: 26px;
    width: 100%;
    text-align: center;
  }
  
  .section-5-2-description {
    font-size: 13px;
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-md);
  }
  
  .section-5-2-image-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
    width: 100vw;
    order: 2;
    align-self: flex-end;
    margin-bottom: 0;
  }
  
  .section-5-2-main-slider {
    height: 300px;
    width: 100%;
  }
  
  .section-5-2-swiper .swiper-slide img,
  .section-5-2-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .section-5-2-nav-buttons {
    bottom: 0px;
    left: 0px;
  }
  
  .section-5-2-button-prev,
  .section-5-2-button-next {
    width: 40px;
    height: 40px;
  }
  
  /* 第5.3屏：GARDEN | 苑（手機版隱藏，由 5.1 和 5.2 屏取代） */
  /* ===== 5-3屏：手機版顯示 ===== */
  #section-5-3 {
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .section-5-3-border-box{
    display: none;
  }
  .section-5-3-decoration-image {
    display: none;
  }
  #section-5-3 .section-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .section-5-3-container {
    grid-template-columns: 1fr;
    gap: 0;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    padding-top: 0;
    padding-bottom: 0;
  }
  .section-5-3-image-wrapper {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
    width: 100vw;
    order: 2;
    height: 40vh !important;
    max-height: 40vh !important;
    flex-grow: 0;
    flex-shrink: 0;
    margin-top: auto;
  }
  .section-5-3-text {
    padding: var(--spacing-sm) var(--spacing-md) 0 var(--spacing-md) !important;
    order: 1;
    align-self: center;
    text-align: center;
    flex-shrink: 0;
  }
  .section-5-3-title-en {
    font-size: 36px;
    width: 100%;
    text-align: center;
    justify-content: center;
    color:#c5b197;
    letter-spacing: 0px;
  }
  .section-5-3-title-zh {
    font-size: 26px;
    text-align: center;
    letter-spacing: 0px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .section-5-3-description {
    font-size: 13px;
    text-align: justify;
    margin-top: var(--spacing-md);
  }
  .section-5-3-image-section {
    max-width: none;
    width: 100%;
    height: 100% !important;
  }
  .section-5-3-main-slider {
    height: 100% !important;
    width: 100%;
  }
  .section-5-3-swiper {
    height: 100% !important;
  }
  .section-5-3-swiper .swiper-slide {
    height: 100% !important;
  }
  .section-5-3-swiper .swiper-slide img,
  .section-5-3-image-placeholder img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
  .section-5-3-image-placeholder {
    width: 100%;
    height: 100% !important;
  }

  /* ===== 5-4屏：手機版隱藏 ===== */
  #section-5-4 {
    display: none !important; /* 手機版隱藏 */
  }
  .section-5-4-border-box{
    display: none;
  }
  .section-5-4-decoration-image {
    display: none;
  }
  .section-5-4-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    padding-top: 40px;
    padding-bottom: 0;
    align-items: flex-start;
  }
  .section-5-4-image-wrapper {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
    width: 100vw;
    order: 2;
    align-self: flex-end;
    margin-bottom: 0;
  }
  .section-5-4-text {
    padding: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    padding-top:0px;
    order: 1;
    align-self: flex-start;
    width: 100%;
    text-align: center;
  }
  .section-5-4-title-en {
    font-size: 36px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .section-5-4-title-zh {
    font-size: 26px;
    width: 100%;
    text-align: center;
  }
  .section-5-4-description {
    font-size: 13px;
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-md);
  }
  .section-5-4-image-section {
    max-width: none;
    width: 100%;
  }
  .section-5-4-main-slider {
    height: 300px;
    width: 100%;
  }
  .section-5-4-swiper .swiper-slide img,
  .section-5-4-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 第五屏：格局介紹 */
  .floorplan-swiper .swiper-slide img {
    height: 350px;
  }
  
  /* 第六屏：BRAND */
  #section-brand {
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .brand-border-box{
    display:none;
  }
  .section-brand-decor{
    display:none !important;
  }
  .section-brand-decor2{
    display:none;
  }
  .brand-wave2 {
    display: none !important;
  }
  #section-brand .section-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .brand-container {
    grid-template-columns: 1fr;
    gap: 0;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    /* 使用 flex-start 搭配 flex-grow 的方式更相容舊版瀏覽器 */
    justify-content: flex-start !important;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .section-brand-background-decoration {
    width: 100%;
    height: 18%;
    top: 45%;
  }
  
  .brand-text {
    padding: var(--spacing-lg) 0px;
    padding-bottom: 10px;
    align-self: flex-start;
    width: 100%;
    text-align: center;
    height: auto;
    /* 固定文字區塊高度，不參與 flex-grow */
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .brand-title-group {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .brand-title-en {
    font-size: 36px;
    width: 100%;
    text-align: center;
    color:#c5b197;
    letter-spacing: 0px;
  }
  
  .brand-title-zh {
    font-size: 26px;
    width: fit-content;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0px;
  }
  
  .brand-description {
    font-size: 13px;
    width: 100%;
    text-align: center;
    margin-top: 0px;
    height: auto;
  }
  
  /* 手機版：隱藏電腦版多個 p，顯示單一段落 */
  .brand-description-desktop {
    display: none;
  }
  
  .brand-description-mobile {
    display: block;
    text-align: justify;
    line-height: 1.8;
  }
  
  /* Fitwel 認證文字 - 手機版 */
  .brand-fitwel-text {
    justify-content: center;
  }
  
  .brand-fitwel-text img {
    height: 11px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
  }
  
  .brand-image-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
    width: 100vw;
    /* 使用 flex-grow 讓圖片區塊自動擴展填滿剩餘空間 */
    flex-grow: 1;
    flex-shrink: 1;
    /* 設定最小高度確保基本顯示，最大高度避免過大 */
    min-height: 35vh;
    max-height: 60vh;
    height: auto !important;
    margin-bottom: 0px;
    margin-top: 10px;
  }
  
  .brand-main-slider {
    height: 100% !important;
    width: 100%;
  }
  
  .brand-swiper {
    height: 100% !important;
  }
  
  .brand-swiper .swiper-slide {
    height: 100% !important;
  }
  
  /* 手機版：隱藏電腦版 slide，顯示手機版 slide */
  .brand-swiper .swiper-slide.desktop-only {
    display: none !important;
  }
  .brand-swiper .swiper-slide.mobile-only {
    display: block !important;
  }
  
  .brand-swiper .swiper-slide img,
  .brand-image-placeholder img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
  
  .brand-image-placeholder {
    width: 100%;
    height: 100% !important;
  }
  
  .brand-wave2{
    background-size: 2000px;
    background-position-x: 934px;
    background-position-y: 0px;
  }
  /* 第六屏：品質保證 */
  .quality-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .quality-card {
    padding: var(--spacing-lg);
  }
  
  .quality-card i {
    font-size: var(--font-size-3xl);
  }
  
  /* 第七屏：滿版視覺 */
  #section-vision {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 1;
  }
  
  #section-vision .vision-background {
    height: 100%;
    max-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  #section-vision .vision-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* 手機版顯示手機圖，隱藏桌面圖 */
  .vision-bg-desktop {
    display: none;
  }
  
  .vision-bg-mobile {
    display: block;
  }
  
  .vision-logo img {
    height: 80px!important;
    object-fit: unset!important;
    width: auto!important;
  }
  
  .vision-main-title {
    font-size: 32px;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .vision-title-line1,
  .vision-title-line2 {
    display: block;
    text-indent: 0.3em;
  }
  
  .vision-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: .6;
  }
  
  .vision-subtitle::before {
    content: '在綠意與科技交織的核心';
    color: #FFFFFF;
    display: block;
    position: relative;
    margin-top:15px;
  }
  
  .vision-subtitle::after {
    content: '讓生活簡美而生';
    color: #FFFFFF;
    display: block;
    position: relative;
  }
  
  .vision-info {
    flex-direction: column;
    align-items: center;
    gap: 0px;
    line-height: 1.3;
  }
  
  .vision-rooms {
    font-size: 20px;
  }
  
  .vision-rooms .room-number {
    font-size: 36px;
    font-weight: 600;
  }
  
  .vision-phone {
    font-size: 28px;
  }
  
  .vision-phone .phone-main {
    font-size: 36px;
    font-weight: 600;
  }
  
  .vision-divider {
    display: none;
  }
  
  .vision-tagline {
    font-size: 12px;
    bottom: 20px;
    letter-spacing: 3px;
  }
  
  /* 第八屏：預約表單 */
  #section-form {
    padding: 0 !important;
    gap: 0 !important;
    position: relative;
    z-index: 10;
    background-image: url('../images/shutterstock_396573496.jpg') !important;
    background-size: cover;
    background-position: center;
  }
  
  .form-section-wrapper {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    height: auto;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding:0px
  }
  
  /* 表單區域 - 排在上方,滿版 */
  .form-container {
    order: 1;
    width: 100%;
    padding: 40px 30px;
    height: auto;
  }
  
  .form-title {
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 8px;
  }
  
  .form-title-divider {
    width: 60px;
    margin-bottom: 30px;
  }
  
  .contact-form {
    max-width: 100%;
  }
  
  .form-group label {
    font-size: 16px;
    min-width: 75px;
  }
  
  .form-group input,
  .form-group select {
    font-size: 16px;
  }
  
  .checkbox-label {
    font-size: 14px;
  }
  
  .submit-btn {
    font-size: 18px;
    padding: 12px 20px;
  }
  
  /* 地圖區域 - 排在下方,滿版 */
  .form-map-container {
    order: 2;
    width: 100%;
    height: 230px;
    margin: 0;
  }
  
  /* 底部建案資訊 - 手機版排列 */
  .project-info-bar {
    padding: 20px;
    max-width: 100vw;
    gap:0px;
  }
  .mobile-add-space{
    height: 80px;
    width:100%;
    background-image: url('../images/shutterstock_396573496.jpg');
    background-size: inherit;
    background-position: center;
  }
  
  /* 隱藏桌面版的 row */
  .project-info-row {
    display: none !important;
  }
  
  /* 顯示手機版的 line */
  .project-info-line {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0 15px;
    width: 100%;
    padding: 0 10px;
    justify-content: center;
  }
  
  .project-info-item {
    font-size: 11px;
    display: inline-flex;
    white-space: nowrap;
    line-height: 1.6;
  }
  
  .info-label {
    flex-shrink: 0;
  }
  
  .info-value {
    white-space: normal;
  }
  
  /* 最後一個 section 增加底部間距，避免被浮動聯絡列遮擋 */
  .section:last-of-type {
    padding-bottom: 60px;
  }
  
  /* 手機版 Swiper 導航按鈕樣式 - 所有輪播通用 */
  /* Lake 湖景區導航按鈕 */
  .lake-nav-buttons {
    position: static !important;
    display: contents !important;
  }
  
  .lake-button-prev,
  .lake-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    z-index: 10;
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease;
    margin: 0 !important;
  }
  
  .lake-button-prev::after,
  .lake-button-next::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
    color: #FFFFFF;
  }
  
  .lake-button-prev::after {
    content: '\f053'; /* fa-chevron-left */
  }
  
  .lake-button-next::after {
    content: '\f054'; /* fa-chevron-right */
  }
  
  .lake-button-prev {
    left: 15px !important;
    right: auto !important;
  }
  
  .lake-button-next {
    right: 15px !important;
    left: auto !important;
  }
  
  .lake-button-prev:hover,
  .lake-button-next:hover {
    transform: translateY(-50%) scale(1.1) !important;
  }
  
  /* Section 5-3 導航按鈕 */
  .section-5-3-nav-buttons {
    position: static !important;
    display: contents !important;
  }

  .section-5-3-button-prev,
  .section-5-3-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    z-index: 10;
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease;
    margin: 0 !important;
  }

  .section-5-3-button-prev::after,
  .section-5-3-button-next::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
    color: #FFFFFF;
  }

  .section-5-3-button-prev::after {
    content: '\f053';
  }

  .section-5-3-button-next::after {
    content: '\f054';
  }

  .section-5-3-button-prev {
    left: 15px !important;
    right: auto !important;
  }

  .section-5-3-button-next {
    right: 15px !important;
    left: auto !important;
  }

  .section-5-3-button-prev:hover,
  .section-5-3-button-next:hover {
    transform: translateY(-50%) scale(1.1) !important;
  }

  /* Section 5-4 導航按鈕 */
  .section-5-4-nav-buttons {
    position: static !important;
    display: contents !important;
  }

  .section-5-4-button-prev,
  .section-5-4-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    z-index: 10;
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease;
    margin: 0 !important;
  }

  .section-5-4-button-prev::after,
  .section-5-4-button-next::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
    color: #FFFFFF;
  }

  .section-5-4-button-prev::after {
    content: '\f053';
  }

  .section-5-4-button-next::after {
    content: '\f054';
  }

  .section-5-4-button-prev {
    left: 15px !important;
    right: auto !important;
  }

  .section-5-4-button-next {
    right: 15px !important;
    left: auto !important;
  }

  .section-5-4-button-prev:hover,
  .section-5-4-button-next:hover {
    transform: translateY(-50%) scale(1.1) !important;
  }  /* Brand 品牌區導航按鈕 */
  .brand-nav-buttons {
    position: static !important;
    display: contents !important;
  }
  
  .brand-button-prev,
  .brand-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    z-index: 10;
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    transition: all 0.3s ease;
    margin: 0 !important;
  }
  
  .brand-button-prev::after,
  .brand-button-next::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 24px;
    color: #FFFFFF;
  }
  
  .brand-button-prev::after {
    content: '\f053'; /* fa-chevron-left */
  }
  
  .brand-button-next::after {
    content: '\f054'; /* fa-chevron-right */
  }
  
  .brand-button-prev {
    left: 15px !important;
    right: auto !important;
  }
  
  .brand-button-next {
    right: 15px !important;
    left: auto !important;
  }
  
  .brand-button-prev:hover,
  .brand-button-next:hover {
    transform: translateY(-50%) scale(1.1) !important;
  }
  
  /* Swiper 按鈕在手機版隱藏（通用按鈕類別） */
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

/* ===== 平板版 (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  
  /* 各屏共用調整 */
  .section {
    padding: var(--spacing-2xl) var(--spacing-xl);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  /* 第一屏：主視覺 */
  .hero-english-title {
    font-size: 44px !important;
  }
  .hero-subtitle-old {
    font-size: 24px !important;
  }
  
  /* 第二屏:綠色航空城 */
  .aerotropolis-container {
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
  }
  
  .aerotropolis-text {
    padding: var(--spacing-xl) !important;
    padding-left: var(--spacing-sm) !important;
    padding-right: var(--spacing-lg) !important;
    max-width: 550px;
  }
  
  .aerotropolis-title-en {
    font-size: 40px;
  }
  
  .aerotropolis-title-zh {
    font-size: 22px;
  }
  
  .aerotropolis-description {
    font-size: 14px;
  }
  
  .aerotropolis-divider {
    width: calc(100% + 50vw);
  }
  
  .aerotropolis-image {
    max-height: 420px;
  }
  
  .aerotropolis-image img {
    max-height: 420px;
  }
  
  /* 第三屏：滿版空拍圖 - 平板版 */
  .map-text-overlay {
    top: 60px;
    left: 40px;
    right: 40px;
    gap: 40px;
  }
  
  .map-text-left,
  .map-text-right {
    max-width: 400px;
  }
  
  .map-text-overlay h2 {
    font-size: 52px;
  }
  
  .map-text-overlay h3 {
    font-size: 25px;
  }
  
  .map-text-overlay p {
    font-size: 15px;
  }
  
  /* 第四屏：LAKE | 湖 */
  .lake-container {
    grid-template-columns: 1fr 1.4fr;
    gap: 0px;
    padding-left: var(--spacing-xl);
   /* padding-right: 30px;*/
    padding-top: 60px;
    padding-bottom: 60px;
    align-items: center;
  }
  
  .lake-background-decoration {
    height: 45%;
  }
  
  .lake-text {
    padding: 0;
    align-self: center;
  }
  
  .lake-title-en {
    font-size: 44px;
  }
  
  .lake-title-zh {
    font-size: 24px;
  }
  
  .lake-description {
    font-size: 12px;
    margin-top:30px;
    padding-top:15px;
    line-height: 1.2;
  }
  
  .lake-image-section {
    margin-left: -30px;
    max-width: calc(100vw - 400px);
    align-self: center;
  }
  
  
  .lake-thumbnail-grid {
    width: 350px;
  }
  
  .lake-thumbnail-item {
    height: 100px;
  }
  
  /* 第四屏：建築特色 */
  .feature-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .architecture-swiper .swiper-slide img {
    height: 350px;
  }
  
  /* 第五屏：GARDEN | 苑 */
  .section-5-4-text {
    padding-right: 60px;
    padding-left:10px;
  }
  
  .section-5-4-title-en {
    font-size: 40px;
  }
  
  .section-5-4-title-zh {
    font-size: 18px;
  }
  .section-5-4-container{
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    padding-right: 20px;
  }
  .section-5-4-description {
    font-size: 14px;
    line-height: 1.2;
  }
  .section-5-4-border-box{
    height:150px;
    left:49%;
  }
  .floorplan-swiper .swiper-slide img {
    height: 450px;
  }
  
  /* 第六屏：品質保證 */
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-container {
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    padding: 80px 0px;
  }
  .brand-title-en{
    font-size: 40px;
  }
  .brand-title-zh{
    font-size: 22px;
  }
  .brand-description{
    font-size: 14px;
    line-height: 1.2;
  }
  
  /* Fitwel 認證文字 - 平板版 */
  .brand-fitwel-text{
    flex-wrap: wrap;
    justify-content: start;
  }
  .brand-fitwel-text img {
    height: 12px;
    width: auto;
    max-width: 95px;
    object-fit: contain;
  }
  
  .brand-text{
    padding-left: 40px;
    padding-right: 5px;
  }
.brand-border-box{
    top: 69%;
    height: 100px;
  }

  /* 第七屏：滿版視覺 */
  .vision-main-title {
    font-size: 34px;
    letter-spacing: 15px;
  }
  .vision-subtitle {
    font-size: 28px;
  }

  /* 第八屏：預約表單 - 平板版改為垂直排列 */
  #section-form {
    padding: 0 !important;
    gap: 0 !important;
    justify-content: flex-end;
  }
  
  .form-section-wrapper {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    height: auto;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 40px 80px 0px;
  }
  
  /* 表單區域 - 排在上方,滿版 */
  .form-container {
    order: 1;
    width: 100%;
    padding: 40px 60px;
    height: auto;
  }
  
  .form-title {
    font-size: 38px;
  }
  
  .form-title-divider {
    width: 70px;
    margin-bottom: 35px;
  }
  
  .contact-form {
    max-width: 100%;
    padding: 0;
  }
  
  .form-group label {
    font-size: 17px;
    min-width: 80px;
  }
  
  .form-group input,
  .form-group select {
    font-size: 16px;
  }
  
  .checkbox-label {
    font-size: 14px;
  }
  
  .submit-btn {
    font-size: 18px;
    padding: 14px 24px;
  }
  
  /* 地圖區域 - 排在下方,滿版 */
  .form-map-container {
    order: 2;
    width: 100%;
    height: 350px;
    margin: 0;
  }
  
  /* 底部建案資訊 - 平板版顯示 line */
  .project-info-row {
    display: none !important;
  }
  
  .project-info-line {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0 15px;
    width: 100%;
    padding: 0 10px;
  }
  .project-info-bar {
    padding: 30px 60px 30px;
    max-width: 100vw;
    gap: 0px;
  }
  
  .mobile-add-space {
    height: 80px;
    width: 100%;
    background-image: url('../images/shutterstock_396573496.jpg');
    background-size: inherit;
    background-position: center;
  }
}

/* ===== 電腦版 (> 1024px) ===== */
@media (min-width: 1024px) and (max-width: 1439px) {
  /* 桌面版:顯示 row,隱藏 line */
  .project-info-row {
    display: flex !important;
  }
  
  .project-info-line {
    display: none !important;
  }
  
  /* 第二屏:綠色航空城 - 使用預設樣式 */
  .aerotropolis-container{
    grid-template-columns: 1fr 1.4fr;
  }
  .aerotropolis-divider {
    width: calc(100% + 50vw);
  }
  .aerotropolis-text{
    padding: var(--spacing-2xl);
    padding-right: var(--spacing-2xl);
  }
  .aerotropolis-title-en {
    font-size: 46px;
  }
  .aerotropolis-title-zh {
    font-size: 24px;
  }

  /* 第三屏：滿版空拍圖 - 平板版 */
  .map-text-overlay h3 {
    font-size: 32px;
  }

  /* 第四屏：LAKE | 湖 */
  .lake-container {
    gap: 0;
    padding: 50px 30px;
  }
  .lake-background-decoration {
    height: 46%;
  }

  .lake-title-en {
    font-size: 46px;
  }
  .lake-title-zh {
    font-size: 24px;
  }

  .lake-description{
    padding-top: 10px;
    margin-top: 50px;
    line-height: 1.2;
  }

  /* 第五屏：GARDEN | 苑 */
  .section-5-4-container{
    gap:30px;
    padding-right:30px;

  }
  .section-5-4-title-en{
    font-size: 46px;
  }
  .section-5-4-title-zh{
    font-size: 24px;
  }
  .section-5-4-description{
    font-size: 14px;
    line-height: 1.2;
  }
  .section-5-4-border-box{
    height:200px;
  }

  /* 第六屏：品質保證 */
  .section-brand-background-decoration{
    height: 46%;
  }
  .brand-container {
    gap: 0;
    padding: 80px 0px;
  }

  .brand-title-en {
    font-size: 46px;
  }
  .brand-title-zh {
    font-size: 24px;
  }
  .brand-description {
    font-size: 14px;
    line-height: 1.2;
  }
  
  /* Fitwel 認證文字 - 電腦版 (1024px-1439px) */
  .brand-fitwel-text{
    flex-wrap: wrap;
    justify-content: start;
  }
  .brand-fitwel-text img {
    height: 12px;
    width: auto;
    max-width: 95px;
    object-fit: contain;
  }

  .brand-border-box{
    top: 67%;
  }
  .form-section-wrapper{
    padding:0px 5%;
  }
  .brand-wave2{
    height: 150px;
  }

  /* 底部建案資訊 */
  .project-info-item {
    font-size: 14px;
  }
}

/* ===== 大螢幕 (≥ 1440px 且 < 2048px) ===== */
@media (min-width: 1440px) and (max-width: 1919px) {
  
  /* 桌面版:顯示 row,隱藏 line */
  .project-info-row {
    display: flex !important;
  }
  
  .project-info-line {
    display: none !important;
  }
  
  /* 第一屏：主視覺 */
  .logo h1 {
    font-size: var(--font-size-4xl);
  }
  
  .slide-caption h2 {
    font-size: var(--font-size-4xl);
  }
  
  .slide-caption p {
    font-size: var(--font-size-2xl);
  }
  .hero-text{
    padding: 0 var(--spacing-4xl);
  }
  
  /* 第二屏:綠色航空城 */
  .aerotropolis-text{
    padding-right: var(--spacing-xl);
    padding-left : var(--spacing-lg);
  }
  .aerotropolis-description{
    padding-right: 50px;
    font-size:18px;
  }

  /* 第三屏：滿版空拍圖 - 大螢幕版 */
  .map-text-left .Title  {
    font-size: 70px;
  }
  .map-text-right .subTitle {
    font-size: 36px;
  }
  .map-text-overlay p{
    font-size: 20px;
  }
  

  /* 第四屏：LAKE | 湖 */
  #section-lake .section-content {
    max-width: 1400px !important;
  }
  .lake-container {
    gap: 0;
    padding: 50px 30px;
  }
  .lake-main-slider {
    height: 550px;
  }
  
  .lake-background-decoration {
    height: 43%;
  }
  .lake-description{
    font-size: 18px;
    line-height: 1.4;
    padding-top:30px;
  }
  
  
  /* 第五屏：GARDEN | 苑 */
  .section-5-4-container{
    gap:30px;
  }
  .section-5-4-description{
    font-size: 18px;
    line-height: 1.4;
  }

  /* 第六屏：品質保證 */
  #section-brand .section-content {
    max-width: 1400px !important;
  }
  .brand-description {
    font-size: 18px;
    line-height: 1.4;
  }
  
  /* 第七屏：滿版視覺 */
  .vision-logo img {
    height: 140px;
  }
  
  /* .vision-main-title 保持預設值 */
  
  /* .vision-subtitle 保持預設值 */
  
  .vision-rooms,
  .vision-phone {
    font-size: 36px;
  }
}

@media (min-width: 1920px) {
  /* 桌面版:顯示 row,隱藏 line */
  .project-info-row {
    display: flex !important;
  }
  
  .project-info-line {
    display: none !important;
  }
  
  .aerotropolis-text {
    max-width: 1400px;
    margin-left: auto;
    padding: var(--spacing-2xl);
  }

  /* 第二屏:綠色航空城 - grid 保持預設值 */
  .aerotropolis-text{
    max-width: none;    
  }
  .aerotropolis-description{
    padding-right: 100px;
  }

  /* 第三屏：滿版空拍圖 - 大螢幕版 */
  .map-text-left .Title  {
    font-size: 70px;
  }
  .map-text-right .subTitle {
    font-size: 36px;
  }
  .map-text-overlay p{
    font-size: 20px;
  }

  /* 第四屏：LAKE | 湖 */
  .lake-title-en {
    font-size: 72px;
  }
  
  .lake-title-zh {
    font-size: 36px;
  }
  
  .lake-description {
    font-size: 18px;
  }
  .lake-border-box{
    height:700px;
  }
  
  /* Fitwel 認證文字 - 大螢幕 (1920px+) */
  .brand-fitwel-text img {
    height: 16px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
  }

  /* 第五屏：GARDEN | 苑 */
  .section-5-4-container{
    /*grid-template-columns: 1fr 700px;*/
    gap:30px;
  }
  .section-5-4-title-en{
    font-size: 72px;
  }

  .section-5-4-title-zh{
    font-size: 36px;
  }
  
  .section-5-4-description{
    font-size: 18px;
  }
  /* 第六屏：品質保證 */
  .brand-title-en {
    font-size: 72px;
  }
  .brand-title-zh {
    font-size: 36px;
  }
  .brand-description {
    font-size: 18px;
  }
}

@media (min-width: 2459px) {
  /* 第二屏:綠色航空城 */
  .aerotropolis-text {
    padding-left: none;
    max-width: none;
  }
  
  .aerotropolis-title-en {
    font-size: 96px;
  }
  
  .aerotropolis-title-zh {
    font-size: 48px;
  }
  
  .aerotropolis-description {
    font-size: 22px;
  }
  
  .aerotropolis-image {
    max-height: none;
  }
  
  .aerotropolis-image img {
    max-height: none;
  }


  /* 第三屏：滿版空拍圖 - 大螢幕版 */
  .map-text-left .Title  {
    font-size: 70px;
  }
  .map-text-right .subTitle {
    font-size: 36px;
  }
  .map-text-overlay p{
    font-size: 20px;
  }

  /* 第四屏：LAKE | 湖 */
  #section-lake .section-content {
    max-width: 2000px !important;
  }
  .lake-container {
    max-width: 2000px;
  }
  .lake-title-en {
    font-size: 84px;
  }
  .lake-title-zh {
    font-size: 48px;
  }
  .lake-description {
    font-size: 22px;
  }
  .lake-border-box{
    height:800px;
  }

  /* 第五屏：GARDEN | 苑 */
  .section-5-4-title-en{
    font-size: 84px;
  }
  .section-5-4-title-zh{
    font-size: 48px;
  }
  .section-5-4-description{
    font-size: 22px;
  }

  /* 第六屏：品質保證 */
  #section-brand .section-content {
    max-width: 2000px !important;
  }
  .brand-container{
    max-width: 2000px;
  }
  .brand-title-en {
    font-size: 84px;
  }
  .brand-title-zh {
    font-size: 48px;
  }
  .brand-description {
    font-size: 22px;
  }
  
  /* Fitwel 認證文字 - 超大螢幕 (2459px+) */
  .brand-fitwel-text img {
    height: 18px;
    width: auto;
    max-width: 135px;
    object-fit: contain;
  }
}


/* ===== 超小螢幕調整 (< 375px) ===== */
@media (max-width: 374px) {
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .section-subtitle {
    font-size: var(--font-size-sm);
  }
  
  .logo h1 {
    font-size: var(--font-size-xl);
  }
  
  .slide-caption h2 {
    font-size: var(--font-size-lg);
  }
  
  .slide-caption p {
    font-size: var(--font-size-sm);
  }
  
  .contact-form {
    padding: var(--spacing-lg);
  }
  
  .sticky-contact-item {
    height: 55px;
  }
  
  .sticky-contact-item i {
    font-size: 18px;
  }
  
  .sticky-contact-item .contact-label {
    font-size: 9px;
  }
}

/* ===== 列印樣式 ===== */
@media print {
  
  .sticky-contact,
  .scroll-indicator,
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-pagination {
    display: none !important;
  }
  
  .section {
    page-break-inside: avoid;
  }
}
