/* ==============================================
   CSS Variables & Reset
   ============================================== */
:root {
  --primary-dark: #1a1c2e;
  --primary-dark2: #12141f;
  --gold: #c9a045;
  --gold-light: #e0b85a;
  --gold-dark: #a8832e;
  --white: #ffffff;
  --light-bg: #f7f7f7;
  --text-dark: #2c2c2c;
  --text-mid: #555555;
  --text-light: #888888;
  --text-muted: #888888;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 4px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 15px;
}

/* ==============================================
     Layout helpers
     ============================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ==============================================
     Section Header
     ============================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.label-en {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-header.light .section-title {
  color: var(--white);
}

.section-header.light .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
}

.section-desc {
  margin-top: 16px;
  color: var(--text-mid);
  font-size: 15px;
}

/* ==============================================
     Independent Pages
     ============================================== */
.page-main {
  padding-top: 70px;
  background: var(--white);
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 20, 31, 0.78), rgba(18, 20, 31, 0.42));
}

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

.page-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-main .label-en {
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.9;
}

.page-section {
  padding: 78px 0;
}

.page-section.alt {
  background: var(--light-bg);
}

.page-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.page-two-col.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.page-copy h2 {
  margin-bottom: 18px;
  color: var(--text-dark);
  font-size: 30px;
  line-height: 1.35;
}

.page-copy p {
  margin-bottom: 16px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.9;
}

.page-image {
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  min-height: 220px;
  transition: var(--transition);
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 160, 69, 0.35);
}

.feature-icon,
.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(201, 160, 69, 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-card h3,
.service-card h3 {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 20px;
  line-height: 1.4;
}

.feature-card p,
.service-card p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
}

.service-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-tag-list span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--light-bg);
  color: var(--text-mid);
  font-size: 12px;
}

.page-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.page-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  counter-increment: step;
}

.page-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.page-step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.page-step p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.8;
}

.page-cta {
  padding: 54px 0;
  background: var(--primary-dark);
  color: var(--white);
}

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-cta h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.page-btn.primary {
  background: var(--gold);
  color: var(--white);
}

.page-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.page-btn:hover {
  transform: translateY(-2px);
}

.simple-loading,
.simple-empty {
  padding: 80px 24px;
  text-align: center;
  color: var(--text-light);
}

.simple-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background: var(--primary-dark);
  overflow: hidden;
}

.simple-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.simple-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 82px;
  padding-bottom: 54px;
  color: var(--white);
}

.simple-hero h1 {
  margin-bottom: 12px;
  font-size: 36px;
  line-height: 1.3;
}

.simple-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.simple-content-section {
  padding: 64px 0;
}

.simple-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: start;
}

.simple-copy h2,
.simple-intro h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.4;
}

.simple-text {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.9;
}

.simple-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.simple-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.simple-intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.simple-content-intro {
  margin-bottom: 36px;
}

.simple-service-list {
  display: grid;
  gap: 20px;
}

.simple-service-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.simple-service-image {
  border-radius: 6px;
  overflow: hidden;
  background: var(--light-bg);
}

.simple-service-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.simple-service-body h3 {
  margin-bottom: 4px;
  font-size: 21px;
}

.simple-service-subtitle {
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 13px;
}

.simple-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ==============================================
     Header / Navigation
     ============================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
  transition: var(--transition);
}

.logo:hover {
  color: var(--gold);
}


.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav ul li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.main-nav ul li a:hover {
  color: var(--gold-dark);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  transform: scaleX(1);
}

.main-nav ul li a.active {
  color: var(--gold-dark);
}

.btn-nav-reserve {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 3px;
  padding: 10px 22px !important;
  font-weight: 600;
}

.btn-nav-reserve::after {
  display: none !important;
}

.btn-nav-reserve:hover {
  background: var(--gold-light) !important;
}

.mobile-reserve-fab {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================================
     Hero Slider
     ============================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--primary-dark2);
}

.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(18, 20, 31, 0.75) 0%,
      rgba(26, 28, 46, 0.5) 50%,
      rgba(0, 0, 0, 0.3) 100%);
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  padding-top: 70px;
}

.slide-title {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.slide-subtitle {
  font-size: clamp(15px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}

.slide-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.7s ease 0.6s, transform 0.7s ease 0.6s;
}

.slide-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px) !important;
}

.slide.active .slide-title,
.slide.active .slide-subtitle,
.slide.active .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.3);
}

/* ==============================================
     Space Introduction
     ============================================== */
.section-space {
  background: var(--white);
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.space-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.space-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Space card media carousel */
.sc-media-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eee;
}

.sc-media-track {
  height: 100%;
}

.sc-media-item {
  display: none;
  height: 100%;
  width: 100%;
  position: relative;
}

.sc-media-item.active {
  display: block;
}

.sc-media-item img,
.sc-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video overlay play button */
.sc-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}

.sc-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}

.sc-play-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

/* Carousel arrows */
.sc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  z-index: 5;
  opacity: 0;
  transition: var(--transition);
}

.sc-prev {
  left: 8px;
}

.sc-next {
  right: 8px;
}

.sc-media-wrap:hover .sc-arrow {
  opacity: 1;
}

.sc-arrow:hover {
  background: var(--white);
}

/* Carousel dots */
.sc-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}

.sc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: var(--transition);
}

.sc-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.space-card {
  cursor: pointer;
}

.space-card-body {
  padding: 24px;
}

.space-card-en {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.space-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.space-card-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.space-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.space-card-link:hover {
  gap: 10px;
  color: var(--text-mid);
}

.space-card-link i {
  font-size: 12px;
}

/* ==============================================
     Space Detail Modal
     ============================================== */
.space-detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.space-detail-modal.open {
  opacity: 1;
}

.sdm-inner {
  background: var(--white);
  border-radius: 8px;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}

.space-detail-modal.open .sdm-inner {
  transform: translateY(0);
}

.sdm-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.sdm-close:hover {
  background: var(--gold);
}

.sdm-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  background: #111;
}

.sdm-track {
  height: 100%;
}

.sdm-media-item {
  display: none;
  height: 360px;
}

.sdm-media-item.active {
  display: block;
}

.sdm-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sdm-video {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #000;
}

.sdm-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 5;
  transition: var(--transition);
}

.sdm-prev {
  left: 10px;
}

.sdm-next {
  right: 10px;
}

.sdm-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.sdm-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.sdm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.sdm-dot.active {
  background: var(--white);
}

.sdm-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.sdm-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.sdm-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  flex: 1;
  margin-top: 4px;
}

.sdm-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  align-self: flex-start;
}

.sdm-cta:hover {
  background: var(--gold);
}

@media (max-width: 640px) {
  .sdm-inner {
    grid-template-columns: 1fr;
  }

  .sdm-media {
    border-radius: 8px 8px 0 0;
    min-height: 240px;
  }

  .sdm-media-item,
  .sdm-video {
    height: 240px;
  }
}

/* ==============================================
     Locations
     ============================================== */
.section-locations {
  background: var(--light-bg);
}

.zone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.zone-tab {
  padding: 9px 20px;
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  letter-spacing: 0.5px;
}

.zone-tab:hover,
.zone-tab.active {
  background: var(--primary-dark);
  color: var(--white);
}

.zone-tab.active {
  border-color: var(--primary-dark);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: none;
}

.location-card.visible {
  display: block;
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.location-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
}

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

.location-card:hover .location-card-img {
  transform: scale(1.07);
}

.location-card-body {
  padding: 20px;
}

.location-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-card-name::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
}

.location-card-mrt {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-card-mrt i {
  color: var(--gold);
}

.location-card-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.location-card-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
}

.location-card-info-row i {
  color: var(--gold);
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-card-info-row a {
  color: var(--text-mid);
  transition: var(--transition);
}

.location-card-info-row a:hover {
  color: var(--gold);
}

/* ==============================================
     Contact / Reservation CTA
     ============================================== */
.section-contact {
  background: var(--white);
}

.reservation-cta-wrap {
  text-align: center;
  padding: 20px 0 12px;
}

.btn-reserve-external {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 56px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 4px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(26, 28, 46, 0.18);
}

.btn-reserve-external i {
  font-size: 20px;
  color: var(--gold);
  transition: var(--transition);
}

.btn-reserve-external:hover {
  background: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 160, 69, 0.3);
  transform: translateY(-3px);
}

.btn-reserve-external:hover i {
  color: var(--white);
}

/* ==============================================
     Footer
     ============================================== */
#footer {
  background: var(--white);
  color: var(--text-dark);
  border-top: 1px solid var(--border);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
}

.footer-main[hidden] {
  display: none !important;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.footer-social-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 76px;
  min-height: 76px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.footer-social-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--white);
  font-size: 18px;
  line-height: 1;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: rgba(201, 160, 69, 0.08);
  color: var(--gold-dark);
}

.footer-social-link:hover i {
  border-color: rgba(201, 160, 69, 0.55);
  background: var(--gold);
  color: var(--white);
}

.footer-cta {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.footer-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.footer-cta-btn:last-child {
  border-right: none;
}

.footer-cta-btn i {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-cta-btn span {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.footer-cta-btn small {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-light);
}

.footer-cta-btn:hover {
  background: rgba(201, 160, 69, 0.08);
}

.footer-cta-btn:hover i {
  transform: scale(1.15);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-light);
}

.footer-admin-link {
  font-size: 12px;
  color: var(--text-light);
  transition: var(--transition);
  letter-spacing: 1px;
}

.footer-admin-link:hover {
  color: var(--gold);
}

/* ==============================================
     Contact Us — Social Links
     ============================================== */
.section-contact-us {
  background: var(--light-bg);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding: 12px 0 8px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.social-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--social-color, var(--gold));
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.social-link span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-m);
  letter-spacing: 1px;
}

.social-link:hover {
  transform: translateY(-6px);
}

.social-link:hover .social-icon {
  background: var(--social-color, var(--gold));
  color: var(--white);
  border-color: var(--social-color, var(--gold));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

/* ==============================================
     Back to Top
     ============================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(201, 160, 69, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ==============================================
     語言切換器
     ============================================== */
.lang-switcher {
  position: relative;
  margin-right: 8px;
  flex-shrink: 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-btn .fa-globe {
  font-size: 14px;
  color: var(--gold);
}

.lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.lang-dropdown.open+* .lang-arrow,
.lang-btn[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  min-width: 130px;
  z-index: 1100;
  overflow: hidden;
}

.lang-dropdown.open {
  display: block;
  animation: dropdownIn 0.15s ease;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-dropdown li button {
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.3px;
}

.lang-dropdown li button:hover {
  background: var(--light-bg);
  color: var(--gold);
}

.lang-dropdown li+li {
  border-top: 1px solid var(--border);
}

/* ==============================================
     Responsive
     ============================================== */
@media (max-width: 1024px) {
  .space-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .space-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .page-hero {
    min-height: 300px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .page-section {
    padding: 56px 0;
  }

  .page-two-col,
  .page-two-col.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-copy h2 {
    font-size: 25px;
  }

  .page-image,
  .page-image img {
    min-height: 260px;
  }

  .feature-grid,
  .service-grid,
  .page-steps {
    grid-template-columns: 1fr;
  }

  .page-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-hero {
    min-height: 260px;
  }

  .simple-hero h1 {
    font-size: 29px;
  }

  .simple-content-section {
    padding: 46px 0;
  }

  .simple-content,
  .simple-service-item {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: flex;
  }

  /* 手機版隱藏語言切換器文字，只保留圖示 */
  #lang-current-label {
    display: none;
  }

  .lang-btn {
    padding: 6px 8px;
  }

  .lang-dropdown {
    right: 0;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .main-nav.open {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .main-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
  }

  .main-nav ul li {
    width: 100%;
  }

  .main-nav ul li a {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .main-nav ul li a::after {
    display: none;
  }

  .btn-nav-reserve {
    margin: 8px 24px;
    text-align: center;
    border-radius: 3px;
    width: calc(100% - 48px) !important;
  }

  .mobile-reserve-fab {
    position: fixed;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .mobile-reserve-fab i {
    font-size: 20px;
    line-height: 1;
  }

  .mobile-reserve-fab span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .back-to-top {
    right: 18px;
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .space-grid {
    grid-template-columns: 1fr;
  }

  .space-cat-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .space-cat-title {
    font-size: 17px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding: 18px 24px;
  }

  .footer-main {
    padding: 22px 16px;
  }

  .footer-social-links {
    gap: 12px;
  }

  .footer-social-link {
    min-width: 64px;
    min-height: 68px;
    font-size: 12px;
  }

  .footer-social-link i {
    width: 36px;
    height: 36px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .slider-prev {
    left: 12px;
  }

  .slider-next {
    right: 12px;
  }
}

@media (max-width: 480px) {
  .zone-tabs {
    justify-content: flex-start;
  }

  .footer-cta {
    flex-direction: column;
  }

  .footer-cta-btn {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-cta-btn:last-child {
    border-bottom: none;
  }
}

/* ==============================================
     Space Category Modal（三層目錄）
     ============================================== */
.scat-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scat-modal.open {
  opacity: 1;
}

.scat-inner {
  background: var(--white);
  border-radius: 10px;
  max-width: 900px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(28px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.scat-modal.open .scat-inner {
  transform: translateY(0);
}

.scat-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: var(--text-dark);
  border: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.scat-close:hover {
  background: var(--gold);
  color: #fff;
}

.scat-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* 左側目錄欄 */
.scat-sidebar {
  background: var(--primary-dark);
  color: var(--white);
  overflow-y: auto;
  padding: 0 0 20px;
  scrollbar-width: thin;
  border-radius: 10px 0 0 10px;
}

.scat-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  padding: 28px 20px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  letter-spacing: 0.3px;
}

.scat-sidebar-title i {
  color: var(--gold);
  font-size: 18px;
}

.scat-sidebar-sub {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  padding: 0 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.scat-tree {
  padding: 8px 0;
}

.scat-tree-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  position: relative;
}

.scat-tree-item i:first-child {
  font-size: 13px;
  color: var(--gold);
  opacity: 0.85;
  flex-shrink: 0;
}

.scat-tree-item span {
  flex: 1;
}

.scat-item-arrow {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s;
  flex-shrink: 0;
  display: inline-block;
}

.scat-item-arrow.rotated {
  transform: rotate(90deg);
}

.scat-tree-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.scat-tree-item.active {
  background: rgba(201, 160, 69, 0.2);
  color: var(--gold);
  border-left: 3px solid var(--gold);
}

.scat-tree-item.active i:first-child {
  opacity: 1;
}

.scat-tree-item.depth-1 {
  padding-left: 30px;
  font-size: 12.5px;
}

.scat-tree-item.depth-2 {
  padding-left: 42px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.scat-subtree {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.scat-subtree.open {
  max-height: 600px;
}

/* 右側內容區 */
.scat-content {
  overflow-y: auto;
  background: var(--white);
  border-radius: 0 10px 10px 0;
  scrollbar-width: thin;
}

.scat-content-body {
  padding: 32px 36px;
}

.scat-content-en {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}

.scat-content-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.scat-content-title i {
  color: var(--gold);
}

.scat-content-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-top: 16px;
}

/* 媒體輪播 */
.scat-media {
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.scat-media-item {
  display: none;
}

.scat-media-item.active {
  display: block;
}

.scat-media-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.scat-media-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.scat-media-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.scat-media-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.scat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.scat-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* RWD */
@media (max-width: 680px) {
  .scat-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .scat-sidebar {
    border-radius: 10px 10px 0 0;
    max-height: 200px;
  }

  .scat-content {
    border-radius: 0 0 10px 10px;
  }

  .scat-content-body {
    padding: 20px;
  }

  .scat-sidebar-title {
    padding: 16px 16px 6px;
  }
}

/* ==============================================
   Space Category 卡片網格（前台環境介紹）
   ============================================== */
.space-grid {
  display: block;
}

.space-cat-section {
  margin-bottom: 60px;
}

.space-cat-section:last-child {
  margin-bottom: 0;
}

.space-cat-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-dark);
  margin-bottom: 6px;
}

.space-cat-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 0;
}

.space-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

/* ==============================================
   Nav Dropdown — 垂直手風琴（環境介紹）
   ============================================== */
.main-nav ul li.has-dropdown {
  position: relative;
}

/* 覆蓋 .main-nav ul 的 flex，讓下拉所有 ul 維持垂直 block */
.nav-env-dropdown,
.nav-env-dropdown ul,
.ndrop-wrap,
.ndrop-inner,
.ndrop-sub {
  display: block !important;
  flex-direction: unset;
  align-items: unset;
  gap: 0;
}

.nav-env-dropdown {
  position: absolute;
  /* padding-top 橋接空隙，避免游標穿越時 hover 中斷 */
  top: 100%;
  padding-top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  min-width: 220px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.2s ease;
  z-index: 1100;
  list-style: none;
}

/* 真正的白色方塊包在內層 */
.nav-env-dropdown::before {
  content: '';
  display: block;
}

/* 用偽元素做白色卡片感，改以 .ndrop-inner 包覆 */
/* （直接在 JS 裡給 nav-env-dropdown 加 data-dropdown，用 CSS nested 實現） */

.main-nav ul li.has-dropdown:hover .nav-env-dropdown,
.nav-env-dropdown.open {
  max-height: 600px;
  opacity: 1;
  pointer-events: auto;
  overflow: visible;
}

/* 白色下拉卡片（包在 .ndrop-wrap 內） */
.ndrop-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* 每一列 */
.ndrop-item {
  list-style: none;
  display: block;
}

.ndrop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}

.ndrop-item:last-child > .ndrop-row {
  border-bottom: none;
}

.ndrop-row:hover {
  background: var(--light-bg);
}

.ndrop-label {
  font-size: 13px;
  color: var(--text-dark);
  flex: 1;
}

.ndrop-arrow {
  font-size: 16px;
  color: var(--text-light);
  transition: transform 0.2s;
  display: inline-block;
  margin-left: 6px;
}

/* 子層 */
.ndrop-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafafa;
  list-style: none;
  padding: 0;
}

.ndrop-sub.open {
  max-height: 500px;
}

.ndrop-sub .ndrop-row {
  border-bottom: 1px solid #eee;
}

.ndrop-leaf .ndrop-label {
  color: var(--text-dark);
}

.ndrop-leaf:hover .ndrop-label {
  color: var(--text-mid);
}

@media (max-width: 768px) {
  .section-space {
    padding: 48px 0;
  }

  .section-space .container {
    padding: 0 16px;
  }

  .space-cat-section {
    margin-bottom: 34px;
  }

  .space-cat-title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .space-cat-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 16px;
  }

  .space-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 112px;
    border-radius: 8px;
    box-shadow: none;
  }

  .space-card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .sc-media-wrap {
    height: 100%;
    min-height: 112px;
  }

  .space-card-body {
    min-width: 0;
    padding: 12px 14px;
  }

  .space-card-title {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .space-card-desc {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .space-card-link {
    font-size: 12px;
    letter-spacing: 0;
  }

  .nav-env-dropdown {
    position: static;
    transform: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    padding-top: 0;
    width: auto;
    min-width: 0;
    margin: 0 24px;
  }

  .main-nav ul li.has-dropdown:hover .nav-env-dropdown {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .nav-env-dropdown.open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
    margin-bottom: 10px;
  }

  .main-nav ul li.has-dropdown:hover .nav-env-dropdown.open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
  }

  #nav-env-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 24px;
    border-radius: 0;
    background: transparent;
  }

  #nav-env-link::after {
    content: '';
    position: static;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    background: transparent;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  #nav-env-link.dropdown-open::after {
    transform: rotate(225deg);
  }

  .nav-env-dropdown,
  .nav-env-dropdown ul,
  .ndrop-inner,
  .ndrop-sub {
    padding: 0 !important;
  }

  .ndrop-wrap {
    border-radius: 8px;
    box-shadow: none;
    border-color: var(--border);
  }

  .ndrop-row {
    padding: 12px 14px !important;
    min-height: 44px;
    background: var(--white);
  }

  .ndrop-label {
    font-size: 14px;
    color: var(--text-dark);
  }

  .ndrop-sub {
    background: #f6f6f6;
  }

  .ndrop-sub .ndrop-row {
    background: #f6f6f6;
  }
}

@media (max-width: 420px) {
  .space-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .sc-media-wrap {
    min-height: 104px;
  }
}

/* ===================================================
   最新消息 News Section
   =================================================== */
.section-news {
  background: #f9f9f9;
}

.news-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-item.pinned {
  border-left: 4px solid var(--gold);
}

.news-pin-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.news-pin-badge i {
  font-size: 0.75rem;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-right: 100px;
}

.news-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  margin-top: 0.2rem;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-media {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.news-text {
  color: var(--text);
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.news-gallery-item {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.news-gallery-item:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .news-item {
    padding: 1.5rem;
  }

  .news-header {
    flex-direction: column;
    margin-right: 0;
    gap: 0.5rem;
  }

  .news-pin-badge {
    top: 0.8rem;
    right: 0.8rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .news-title {
    font-size: 1.2rem;
  }

  .news-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .news-gallery-item {
    height: 120px;
  }
}

/* ===================================================
   聯絡表單 Contact Form
   =================================================== */
.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group .required {
  color: #e74c3c;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 69, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.btn-submit {
  background: var(--gold);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 160, 69, 0.3);
}

.btn-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .btn-submit {
    padding: 0.9rem 2rem;
    width: 100%;
  }
}

/* Lost & Found */
.section-lost-found {
  background: #fff;
}

.lost-home-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.lost-home-row {
  display: grid;
  grid-template-columns: 130px minmax(150px, 1fr) minmax(240px, 1.4fr) 92px;
  gap: 18px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}

.lost-home-row:hover {
  color: var(--gold-dark);
  background: #fffaf0;
}

.lost-home-date {
  color: var(--text-m);
  font-size: 14px;
  font-weight: 600;
}

.lost-home-name {
  color: var(--dark);
  font-size: 17px;
  font-weight: 700;
}

.lost-home-desc {
  color: var(--text-m);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lost-status {
  display: inline-flex;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lost-status-waiting {
  background: #fff2cc;
  color: #8a6500;
}

.lost-status-claimed {
  background: #e8f4ea;
  color: #2e7d32;
}

.lost-status-hidden {
  background: #eee;
  color: #777;
}

.lost-home-more {
  margin-top: 26px;
  text-align: center;
}

.btn-lost-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 11px 24px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold-dark);
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.btn-lost-more:hover {
  background: var(--gold);
  color: #fff;
}

@media (max-width: 768px) {
  .lost-home-row {
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    padding: 16px 0;
  }

  .lost-home-date,
  .lost-home-name,
  .lost-home-desc {
    grid-column: 1 / 2;
  }

  .lost-status {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: start;
  }

  .lost-home-desc {
    white-space: normal;
  }
}
