*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: pointer;
}

#page {
  width: 100vw;
  --page-pad: 24px;
  height: calc(100vh - var(--header-h, 110px));
  overflow: hidden;
  position: relative;
  padding: var(--page-pad);
}

.track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  gap: 24px;
  will-change: transform;
}

.hero-panel {
  width: 97vw;
  margin: 0 calc((100vw - 97vw) / 2 - var(--page-pad));
  flex-shrink: 0;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #000;
}
.hero-panel video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
.hero-panel .hero-cta {
  position: absolute;
  bottom: 50px;
  left: 50%;
  min-width: 300px;
  text-align: center;
  text-decoration: none;
  transform: translateX(-50%);
  background: #ba8a42;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 100px;
  padding: 13px 28px;
  font-size: 16px;
  letter-spacing: 0.078em;
  transition: background 0.2s, transform 0.15s;
}
.hero-panel .hero-cta:hover {
  background: rgb(155.8857142857, 115.6571428571, 55.3142857143);
}

/* 600px 以下 hero 改為滿版 100vw */
@media screen and (max-width: 599px) {
  .hero-panel {
    width: 100vw;
    margin: 0 calc(var(--page-pad) * -1);
    border-radius: 0;
  }
}

.booking-panel {
  flex-shrink: 0;
  border-radius: 22px;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 28px;
  overflow: hidden;
  justify-content: center;
}
.booking-panel .booking-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e1e1e;
  text-align: left;
  flex-shrink: 0;
}
.booking-panel .booking-divider {
  height: 1px;
  background: #b0b0b0;
  margin: 12px 0 18px;
  flex-shrink: 0;
}
.booking-panel .booking-body {
  display: flex;
  gap: 18px;
  min-height: 0;
}
.booking-panel .cal-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.booking-panel .cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.booking-panel .cal-nav .cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #c7c7c7;
  background: #ffffff;
  color: #1e1e1e;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.booking-panel .cal-nav .cal-nav-btn:hover:not(:disabled) {
  border-color: #00b1b0;
  color: #00b1b0;
}
.booking-panel .cal-nav .cal-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.booking-panel .cal-nav .cal-nav-label {
  font-size: 14px;
  font-weight: 700;
  color: #1e1e1e;
}
.booking-panel .calendars-row {
  display: flex;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.booking-panel .calendars-row .cal-month {
  flex: 1;
  max-height: 340px;
  min-width: 0;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 16px 8px 10px;
}
.booking-panel .calendars-row .cal-month .cal-month-name {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.booking-panel .calendars-row .cal-month .cal-day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.booking-panel .calendars-row .cal-month .cal-day-headers span {
  font-size: 10px;
  color: #868686;
  padding: 2px 0;
}
.booking-panel .calendars-row .cal-month .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  flex: 1;
}
.booking-panel .calendars-row .cal-month .cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #f5f5f5;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: background 0.12s, border-color 0.12s;
  padding: 3px 1px;
}
.booking-panel .calendars-row .cal-month .cal-cell .dn {
  font-size: 11px;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 1;
}
.booking-panel .calendars-row .cal-month .cal-cell .dp {
  font-size: 8px;
  color: #525252;
  line-height: 1.2;
  margin-top: 1px;
  white-space: nowrap;
}
.booking-panel .calendars-row .cal-month .cal-cell.empty {
  border-color: transparent;
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.booking-panel .calendars-row .cal-month .cal-cell.past {
  background: #f8f8f8;
  cursor: not-allowed;
}
.booking-panel .calendars-row .cal-month .cal-cell.past .dn {
  color: #c7c7c7;
  font-weight: 400;
}
.booking-panel .calendars-row .cal-month .cal-cell.past .dp {
  display: none;
}
.booking-panel .calendars-row .cal-month .cal-cell.range-start,
.booking-panel .calendars-row .cal-month .cal-cell.range-end {
  background: #ba8a42;
  border-color: #ba8a42;
}
.booking-panel .calendars-row .cal-month .cal-cell.range-start .dn,
.booking-panel .calendars-row .cal-month .cal-cell.range-start .dp,
.booking-panel .calendars-row .cal-month .cal-cell.range-end .dn,
.booking-panel .calendars-row .cal-month .cal-cell.range-end .dp {
  color: #ffffff;
}
.booking-panel .calendars-row .cal-month .cal-cell.in-range {
  background: rgba(0, 177, 176, 0.13);
  border-color: rgba(0, 177, 176, 0.28);
}
.booking-panel .calendars-row .cal-month .cal-cell.hover-preview {
  background: rgba(186, 138, 66, 0.09);
  border-color: rgba(186, 138, 66, 0.35);
}
.booking-panel
  .calendars-row
  .cal-month
  .cal-cell:hover:not(.past):not(.empty):not(.range-start):not(.range-end) {
  border-color: #ba8a42;
}
.booking-panel .confirm-panel {
  width: 300px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.booking-panel .confirm-panel .confirm-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e1e1e;
}
.booking-panel .confirm-panel .confirm-date {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #1e1e1e;
  letter-spacing: 0.03em;
}
.booking-panel .confirm-panel .confirm-field {
  position: relative;
}
.booking-panel .confirm-panel .confirm-field .pax-select {
  width: 100%;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #f5f5f5;
  border-radius: 4px;
  padding: 12px 38px 12px 16px;
  font-size: 14px;
  font-family: 'Noto Sans TC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1e1e1e;
  background: #ffffff;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.booking-panel .confirm-panel .confirm-field .pax-select:invalid {
  color: rgba(30, 30, 30, 0.5);
}
.booking-panel .confirm-panel .confirm-field .pax-select:focus {
  outline: none;
  border-color: #00b1b0;
}
.booking-panel .confirm-panel .confirm-field .confirm-caret {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #00b1b0;
}
.booking-panel .confirm-panel .confirm-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 300;
}
.booking-panel .confirm-panel .confirm-price-row .confirm-price-label {
  font-size: 16px;
  color: #1e1e1e;
}
.booking-panel .confirm-panel .confirm-price-row .confirm-price-value {
  font-size: 18px;
  font-weight: 700;
  color: #00b1b0;
}
.booking-panel .confirm-panel .confirm-btn {
  width: 100%;
  background: #00b1b0;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 13px;
  font-size: 15px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  transition: background 0.2s;
}
.booking-panel .confirm-panel .confirm-btn:hover {
  background: rgb(0, 141.3, 140.5016949153);
}
.booking-panel .confirm-panel .confirm-note {
  font-family: 'Noto Sans TC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #868686;
  margin-top: auto;
}

.sec-panel {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.sec-panel .sec-left {
  width: 685px;
  max-height: min(600px, 100%);
  aspect-ratio: 685/600;
  flex-shrink: 0;
  border-radius: 22px;
  overflow: hidden;
  align-self: center;
}
.sec-panel .sec-left img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.sec-panel .sec-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sec-header {
  flex-shrink: 0;
  margin-bottom: 20px;
}
.sec-header .sec-header-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.sec-header .sec-header-row .sec-num {
  font-size: 40px;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 1;
}
.sec-header .sec-header-row h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e1e1e;
  letter-spacing: 0.02em;
}
.sec-header .sec-header-row h2 span {
  color: #00b1b0;
}
.sec-header .sec-divider {
  height: 1px;
  background: #b0b0b0;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #00b1b0;
  margin-bottom: 3px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.card-en {
  font-size: 12px;
  font-weight: 700;
  color: #868686;
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.card-desc {
  font-size: 12.5px;
  color: #525252;
  line-height: 1.7;
}

.sec-facilities .sec-right {
  width: auto;
  justify-content: center;
}
.sec-facilities .facility-cards {
  display: flex;
  gap: 28px;
  align-items: center;
}
.sec-facilities .facility-cards .fac-card {
  width: 430px;
  display: flex;
  flex-direction: column;
}
.sec-facilities .facility-cards .fac-card .fac-img {
  width: 100%;
  aspect-ratio: 7/5;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px;
}
.sec-facilities .facility-cards .fac-card .fac-body {
  padding: 16px 4px 0;
}

.sec-themes {
  justify-content: center;
}
.sec-themes .sec-right {
  width: auto;
  justify-content: center;
}
.sec-themes .theme-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  align-items: center;
}
.sec-themes .theme-grid .theme-card {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.sec-themes .theme-grid .theme-card .theme-img {
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px;
  flex-shrink: 0;
}
.sec-themes .theme-grid .theme-card .theme-body {
  padding: 14px 2px 0;
}
.sec-themes .theme-grid .theme-card:nth-of-type(2n + 2) img {
  aspect-ratio: 1/1;
}

.sec-entertainment .sec-right {
  width: auto;
  justify-content: center;
}
.sec-entertainment .sec-left {
  max-width: 493px;
  aspect-ratio: 493/600;
}
.sec-entertainment .ent-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  align-items: center;
}
.sec-entertainment .ent-grid .ent-card {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.sec-entertainment .ent-grid .ent-card .ent-img {
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px;
}
.sec-entertainment .ent-grid .ent-card .ent-body {
  padding: 14px 2px 0;
}
.sec-entertainment .ent-grid .ent-card:nth-of-type(2n + 2) img {
  aspect-ratio: 1/1;
}

.sec-kids .sec-right {
  justify-content: center;
  width: auto;
}
.sec-kids .sec-left {
  max-width: 493px;
  aspect-ratio: 493/600;
}
.sec-kids .kids-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 560px;
}
.sec-kids .kids-card .kids-img {
  width: 100%;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px;
}
.sec-kids .kids-card .kids-body {
  padding: 16px 4px 0;
}
.sec-kids .kids-card .kids-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #00b1b0;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.sec-kids .kids-card .kids-body .kids-en {
  font-size: 12px;
  font-weight: 700;
  color: #868686;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.sec-kids .kids-card .kids-body p {
  font-size: 13px;
  color: #525252;
  line-height: 1.8;
  max-width: 540px;
}

.sec-restaurants .sec-right {
  width: auto;
  justify-content: center;
}
.sec-restaurants .sec-left {
  max-width: 493px;
  aspect-ratio: 493/600;
}
.sec-restaurants .rest-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 26px;
  align-items: center;
}
.sec-restaurants .rest-cards .rest-card {
  width: 280px;
  flex-shrink: 0;
}
.sec-restaurants .rest-cards .rest-card .rest-img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px;
}
.sec-restaurants .rest-cards .rest-card .rest-body {
  padding: 14px 2px 0;
}
.sec-restaurants .rest-cards .rest-card .rest-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: #00b1b0;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}
.sec-restaurants .rest-cards .rest-card .rest-body .rest-en {
  font-size: 12px;
  font-weight: 700;
  color: #868686;
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.sec-restaurants .rest-cards .rest-card .rest-body p {
  font-size: 12.5px;
  color: #525252;
  line-height: 1.7;
}

.sec-cabins .sec-right {
  width: auto;
  justify-content: center;
}
.sec-cabins .sec-header {
  margin-bottom: 40px;
}
.sec-cabins .cabins-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 26px;
}
.sec-cabins .cabins-intro {
  width: 250px;
  flex-shrink: 0;
}
.sec-cabins .cabins-intro h3 {
  font-size: 22px;
  font-weight: 700;
  color: #00b1b0;
  margin-bottom: 12px;
  line-height: 1.3;
}
.sec-cabins .cabins-intro p {
  font-size: 13px;
  color: #525252;
  line-height: 1.9;
}
.sec-cabins .feat-card {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.sec-cabins .feat-card img {
  width: 100%;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 12px;
}
.sec-cabins .cabin-divider {
  width: 1px;
  align-self: stretch;
  background: #b0b0b0;
  flex-shrink: 0;
  margin: 0 4px;
}
.sec-cabins .cabin-card {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.sec-cabins .cabin-card img {
  width: 100%;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px;
  margin-top: 12px;
  order: 3;
}
.sec-cabins .cabin-card .card-desc {
  order: 2;
}

.sec-faq .sec-right {
  width: auto;
  justify-content: center;
}
.sec-faq .faq-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
  flex: 1;
  min-height: 0;
}
.sec-faq .faq-list .faq-item {
  max-width: 430px;
  max-height: 100%;
  flex-shrink: 0;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #f5f5f5;
  border-radius: 12px;
  padding: 24px 24px;
}
.sec-faq .faq-list .faq-item::-webkit-scrollbar {
  width: 3px;
}
.sec-faq .faq-list .faq-item::-webkit-scrollbar-thumb {
  background: #c7c7c7;
  border-radius: 2px;
}
.sec-faq .faq-list .faq-item .faq-q {
  font-size: 16px;
  font-weight: 400;
  color: #1e1e1e;
  margin-bottom: 14px;
  line-height: 1.5;
  letter-spacing: 0.25px;
}
.sec-faq .faq-list .faq-item .faq-ans {
  font-family: 'Noto Sans TC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 2;
  color: #868686;
  font-weight: 350;
  letter-spacing: 1.3px;
}
.sec-faq .faq-list .faq-item .faq-ans ul {
  padding-left: 25px;
}

/* ============================================================
   RWD — 手機/平板維持橫向排版，僅讓區塊內容自適應較矮的高度
   （main = 100vh - header；橫向滑到底再直向看 footer）
   ============================================================ */
@media screen and (max-width: 767px) {
  #page {
    --page-pad: 14px;
  }
  .track {
    gap: 16px;
  }
  .sec-panel {
    gap: 16px;
  }
  .sec-header {
    margin-bottom: 14px;
  }
  .sec-header .sec-header-row {
    gap: 8px;
    margin-bottom: 8px;
  }
  .sec-header .sec-header-row .sec-num {
    font-size: 30px;
  }
  .sec-header .sec-header-row h2 {
    font-size: 19px;
  }
  .sec-cabins .sec-header {
    margin-bottom: 20px;
  }
  .sec-themes .theme-grid,
  .sec-entertainment .ent-grid {
    gap: 16px;
  }
  .sec-themes .theme-grid .theme-card,
  .sec-themes .theme-grid .ent-card,
  .sec-entertainment .ent-grid .theme-card,
  .sec-entertainment .ent-grid .ent-card {
    width: 200px;
  }
  .sec-facilities .facility-cards {
    gap: 18px;
  }
  .sec-facilities .facility-cards .fac-card {
    width: 300px;
  }
  .sec-restaurants .rest-cards .rest-card {
    width: 230px;
  }
}

/* 直向空間特別吃緊時（矮螢幕）再進一步壓縮 */
@media screen and (max-height: 640px) {
  .booking-panel .calendars-row .cal-month {
    max-height: 100%;
  }
  .sec-header {
    margin-bottom: 12px;
  }
}
