:root {
  --bg: #faf9f7;
  --bg-dark: #0d1b2a;
  --bg-dark2: #162436;
  --bg-warm: #f5f0e8;
  --text: #1a1a1a;
  --sub: #666;
  --on-dark: #f0ece0;
  --muted: #8a9aaa;
  --gold: #b5935a;
  --gold-l: #d4b483;
  --gold-d: #8a6e3e;
  --border: #e8e2d8;
  --border-dk: rgba(255, 255, 255, .1);
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", sans-serif;
  --hh: 72px;
  --slots-h: 56px;
  --tr: all .35s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── Overline labels ── */
.ov {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--sub);
}
.ov::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--sub);
  flex-shrink: 0;
}

.ov-dk {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--muted);
}
.ov-dk::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.ov-gd {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--gold);
}
.ov-gd::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Section wrappers ── */
.sw {
  padding: 100px 5%;
  max-width: 1360px;
  margin: 0 auto;
}

.sw-sm {
  padding: 72px 5%;
  max-width: 1360px;
  margin: 0 auto;
}

/* ── Buttons ── */
.mbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 8px 24px rgba(181, 147, 90, .3);
}
.mbtn:hover {
  background: var(--gold-d);
  transform: translateY(-2px);
}

.obtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 14px 32px;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--tr);
}
.obtn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Circle buttons ── */
.cbtn {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-align: center;
  line-height: 1.45;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: 0 12px 32px rgba(181, 147, 90, .35);
}
.cbtn:hover {
  transform: scale(1.06);
  background: var(--gold-d);
}

.wz-circle-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.45;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(181, 147, 90, .4);
  transition: var(--tr);
  z-index: 12;
}
.wz-circle-btn:hover {
  transform: scale(1.06);
  background: var(--gold-d);
}

.free-circle-btn {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-align: center;
  line-height: 1.45;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(181, 147, 90, .45);
  transition: var(--tr);
  flex-shrink: 0;
  margin-left: 20px;
}
.free-circle-btn:hover {
  transform: scale(1.06);
  background: var(--gold-d);
}

.cta-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-align: center;
  line-height: 1.45;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(181, 147, 90, .4);
  transition: var(--tr);
  flex-shrink: 0;
}
.cta-circle:hover {
  transform: scale(1.06);
  background: var(--gold-d);
}

/* ── Round nav buttons ── */
.rnbtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  background: transparent;
  color: var(--on-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--tr);
}
.rnbtn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.rnbtn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ══════════════════════════════════════
   MOBILE — 全域基礎（480px 以下）
══════════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --hh: 58px;
    --slots-h: 40px;
  }

  .sw {
    padding: 56px 5%;
  }

  .sw-sm {
    padding: 44px 5%;
  }

  /* 主要 CTA 按鈕：全寬、大觸控目標 */
  .mbtn {
    width: 100%;
    justify-content: center;
    padding: 17px 20px;
    font-size: .97rem;
    box-shadow: 0 6px 18px rgba(181, 147, 90, .35);
  }

  /* 次要按鈕：改文字連結風格 */
  .obtn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: .88rem;
    text-align: center;
  }

  /* overline 標籤字體縮小 */
  .ov, .ov-dk, .ov-gd {
    font-size: .72rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
    gap: 10px;
  }
  .ov::before, .ov-dk::before, .ov-gd::before {
    width: 24px;
  }

  /* free-circle-btn：長方形置中（詳細樣式在 sections.css） */
  .free-circle-btn {
    border-radius: 0;
    font-size: .97rem;
    flex-direction: row;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(181, 147, 90, .4);
  }

  /* cta-circle：長方形置中（詳細樣式在 sections.css） */
  .cta-circle {
    border-radius: 0;
    font-size: .97rem;
    flex-direction: row;
    gap: 8px;
  }

  /* wz 圓形按鈕手機版隱藏（地圖也隱藏，無意義） */
  .wz-circle-btn {
    display: none;
  }
}

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

@keyframes sdot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 82, 82, .9), 0 0 8px 2px rgba(224, 82, 82, .6); }
  50% { opacity: .85; transform: scale(1.25); box-shadow: 0 0 0 7px rgba(224, 82, 82, 0), 0 0 16px 4px rgba(224, 82, 82, .3); }
}

@keyframes mIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

