/* ============================================
   快線好物 BRT Picks — 台中 BRT 沿線生活好物推薦
   設計概念：快捷巴士路線 × 車票 × 站牌
   ============================================ */

:root {
  --ink: #17312f;
  --ink-soft: #4c625f;
  --teal: #0e5a55;
  --teal-deep: #0a4541;
  --teal-light: #e3f0ee;
  --orange: #ff7a29;
  --orange-deep: #e85f0c;
  --cream: #faf6ee;
  --paper: #fffdf8;
  --line: #e7e0d2;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(23, 49, 47, .06);
  --shadow-md: 0 10px 30px rgba(23, 49, 47, .12);
  --shadow-lg: 0 18px 50px rgba(14, 90, 85, .18);
  --font-body: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-display: 'Noto Serif TC', 'Noto Sans TC', serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; fill: none; vertical-align: -0.2em; }
.icon use { pointer-events: none; }

/* ---------- 跑馬燈 ---------- */
.ticker {
  background: var(--ink);
  color: #f3ede0;
  overflow: hidden;
  font-size: 13px;
  letter-spacing: .06em;
  padding: 7px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: tickerMove 30s linear infinite;
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- 導覽列 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23, 49, 47, .1); background: rgba(250, 246, 238, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 12px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.brand-mark .icon { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 20px; font-weight: 900; letter-spacing: .04em; }
.brand-text small { font-size: 10.5px; letter-spacing: .22em; color: var(--orange-deep); font-weight: 700; }

.main-nav { display: flex; gap: 4px; }
.nav-link {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--teal); background: var(--teal-light); }
.nav-link.active { color: #fff; background: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 700;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 122, 41, .35); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 122, 41, .45); }
.btn-ghost { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 主視覺 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(720px 420px at 88% -10%, rgba(255, 122, 41, .14), transparent 60%),
    radial-gradient(680px 480px at -8% 108%, rgba(14, 90, 85, .12), transparent 60%),
    var(--cream);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 90, 85, .12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.9vw, 48px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: .02em;
  margin: 22px 0 18px;
}
.hero-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: rgba(255, 122, 41, .22);
  border-radius: 4px;
  z-index: -1;
}
.hero-sub { font-size: 17px; color: var(--ink-soft); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }

.hero-stats { display: flex; gap: 40px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--teal); }
.hero-stats span { font-size: 13px; color: var(--ink-soft); letter-spacing: .06em; }

/* 路線卡 */
.hero-visual { display: flex; justify-content: center; }
.route-card {
  width: min(480px, 100%);
  background: var(--teal-deep);
  border-radius: 26px;
  padding: 26px 28px 22px;
  color: #eaf4f2;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.route-card-head { display: flex; justify-content: space-between; align-items: center; }
.route-badge { font-size: 12.5px; letter-spacing: .18em; font-weight: 700; color: #ffd8bd; }
.route-no {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 900;
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  padding: 2px 12px;
}
.route-line {
  position: relative;
  margin: 52px 10px 58px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), #ffb27a);
}
.route-line::before, .route-line::after {
  content: "";
  position: absolute; top: 50%;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cream);
  transform: translateY(-50%);
}
.route-line::before { left: -5px; }
.route-line::after { right: -5px; }
.stop { position: absolute; left: var(--p); top: 50%; transform: translate(-50%, -50%); }
.stop i {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 4px solid var(--teal-deep);
  box-shadow: 0 0 0 2.5px var(--cream);
}
.stop em {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 11.5px;
  white-space: nowrap;
  color: #cfe4e0;
  letter-spacing: .04em;
}
.route-bus {
  position: absolute;
  top: -14px; left: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--cream);
  color: var(--teal);
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
  animation: busRide 9s ease-in-out infinite;
}
.route-bus .icon { width: 20px; height: 20px; }
@keyframes busRide {
  0%, 8% { left: 0; }
  46%, 54% { left: calc(100% - 34px); }
  92%, 100% { left: 0; }
}
.route-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed rgba(234, 244, 242, .3);
  padding-top: 14px;
  font-size: 13px;
}
.route-card-foot .icon { margin-right: 4px; }
.route-status {
  display: inline-flex; align-items: center; gap: 6px;
  color: #9fe6b8;
  font-weight: 700;
}
.route-status::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- 通用區塊 ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 46px; }
.section-eyebrow {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .3em;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: .03em;
}
.section-title::after {
  content: "";
  display: block;
  width: 46px; height: 5px;
  border-radius: 3px;
  background: var(--orange);
  margin: 14px auto 0;
}
.section-desc { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- 分類路線圖 ---------- */
.route-section { background: var(--paper); border-block: 1px solid var(--line); }
.station-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.station-line::before {
  content: "";
  position: absolute;
  top: 37px; left: 6%; right: 6%;
  height: 5px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 16px, transparent 16px 24px);
  opacity: .35;
}
.station {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 4px 14px;
  border-radius: 16px;
  transition: background .25s, transform .25s;
}
.station:hover { background: var(--teal-light); transform: translateY(-4px); }
.station-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--teal);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.station-icon .icon { width: 26px; height: 26px; }
.station:hover .station-icon { background: var(--teal); color: #fff; transform: scale(1.08); }
.station-name { font-weight: 700; font-size: 15px; }
.station-en { font-size: 10.5px; letter-spacing: .2em; color: var(--ink-soft); }

/* ---------- 封面（照片 + 各分類漸層墊底） ---------- */
.post-cover, .featured-cover { position: relative; overflow: hidden; }
.cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.post-card:hover .cover-img,
.featured-card:hover .cover-img { transform: scale(1.05); }

.cover-beauty    { background: linear-gradient(135deg, #f9d7e4, #f2aecb); color: #b03a67; }
.cover-food      { background: linear-gradient(135deg, #ffe6c4, #ffc98c); color: #b8621a; }
.cover-living    { background: linear-gradient(135deg, #d9efdb, #aedbb6); color: #2f7a45; }
.cover-tech      { background: linear-gradient(135deg, #d5e6f9, #a5c8f0); color: #2a5a94; }
.cover-fashion   { background: linear-gradient(135deg, #eadff8, #cbb2ec); color: #74479e; }
.cover-appliance { background: linear-gradient(135deg, #ffe3d2, #ffbda0); color: #b34a2e; }
.cover-home      { background: linear-gradient(135deg, #eee7cd, #d9cda2); color: #7a6a35; }
.cover-bags      { background: linear-gradient(135deg, #e6e9e9, #c3c9ca); color: #555c60; }

.chip { font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .05em; }
.chip-beauty    { background: #fbe3ec; color: #b03a67; }
.chip-food      { background: #fdeed7; color: #b8621a; }
.chip-living    { background: #e2f2e4; color: #2f7a45; }
.chip-tech      { background: #e0ecfa; color: #2a5a94; }
.chip-fashion   { background: #efe6fa; color: #74479e; }
.chip-appliance { background: #fce7dc; color: #b34a2e; }
.chip-home      { background: #f3edd8; color: #7a6a35; }
.chip-bags      { background: #e9ecec; color: #555c60; }

/* ---------- 編輯精選 ---------- */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.featured-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.featured-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.featured-cover {
  position: relative;
  display: grid; place-items: center;
  min-height: 240px;
}
.cover-icon { width: 76px; height: 76px; opacity: .85; }
.badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  color: #fff;
}
.badge-hot { background: #d94848; }
.badge-new { background: var(--teal); }
.featured-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); }
.meta-station { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--teal); }
.featured-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 900; line-height: 1.5; }
.featured-body p { font-size: 14.5px; color: var(--ink-soft); }
.card-price { font-weight: 900; color: var(--orange-deep); font-size: 15px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14.5px; color: var(--teal);
  margin-top: auto;
}
.card-link .icon { transition: transform .25s; }
.card-link:hover .icon { transform: translateX(5px); }

/* ---------- 文章列表 ---------- */
.articles-section { background: var(--paper); border-block: 1px solid var(--line); }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  margin-bottom: 34px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  transition: all .25s;
}
.pill:hover { border-color: var(--teal); color: var(--teal); }
.pill.active { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 6px 14px rgba(14, 90, 85, .25); }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  min-width: 240px;
  color: var(--ink-soft);
  transition: border-color .25s, box-shadow .25s;
}
.search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 90, 85, .12); }
.search-box input { border: 0; outline: 0; font: inherit; background: none; width: 100%; color: var(--ink); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, opacity .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card.hidden { display: none; }
.post-cover { height: 130px; display: grid; place-items: center; }
.post-cover .cover-icon { width: 58px; height: 58px; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 900; line-height: 1.55; }
.post-body p { font-size: 14px; color: var(--ink-soft); }
.card-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  font-size: 13px; color: var(--ink-soft);
}
.card-foot .card-price { font-size: 16px; }
.no-result { text-align: center; color: var(--ink-soft); padding: 40px 0 10px; font-size: 15.5px; }

/* ---------- 優惠快報（車票卡） ---------- */
.deals-section { background: var(--cream); }
.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ticket {
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.ticket:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow-md); }
.ticket-main { flex: 1; padding: 24px 22px; display: flex; flex-direction: column; gap: 9px; }
.ticket-main h3 { font-family: var(--font-display); font-size: 19px; font-weight: 900; }
.ticket-main p { font-size: 14px; color: var(--ink-soft); }
.ticket-valid { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-soft); margin-top: auto; }
.ticket-stub {
  width: 128px; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--teal);
  color: #fff;
  border-left: 2px dashed rgba(255, 255, 255, .55);
  position: relative;
  padding: 20px 10px;
}
.ticket-stub::before, .ticket-stub::after {
  content: "";
  position: absolute; left: -12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
}
.ticket-stub::before { top: -12px; }
.ticket-stub::after { bottom: -12px; }
.ticket-stub strong { font-family: var(--font-display); font-size: 34px; font-weight: 900; line-height: 1; }
.ticket-stub strong small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.ticket-code {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  border: 1.5px dashed rgba(255, 255, 255, .6);
  border-radius: 8px;
  padding: 4px 12px;
}
.deal-note { margin-top: 22px; text-align: center; font-size: 13px; color: var(--ink-soft); }

/* ---------- 關於本站 ---------- */
.about-section { background: var(--paper); border-block: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-copy .section-title::after { margin-left: 0; }
.about-copy p { margin-top: 16px; color: var(--ink-soft); font-size: 15.5px; }
.about-points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.about-points .icon { color: var(--orange); flex: none; }

.about-board {
  background: var(--ink);
  color: #e8e2d2;
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1deg);
  font-size: 15px;
}
.board-head {
  font-family: var(--font-display);
  font-weight: 900; font-size: 18px; letter-spacing: .1em;
  color: #ffd8bd;
  border-bottom: 1px solid rgba(232, 226, 210, .2);
  padding-bottom: 14px; margin-bottom: 12px;
}
.board-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px dashed rgba(232, 226, 210, .16);
}
.board-row em { font-style: normal; color: #ffb27a; font-weight: 700; }
.board-foot { margin-top: 16px; text-align: center; font-size: 12.5px; letter-spacing: .2em; color: rgba(232, 226, 210, .55); }

/* ---------- 訂閱 ---------- */
.subscribe-section { padding: 84px 0; }
.subscribe-inner {
  background: linear-gradient(120deg, var(--teal), var(--teal-deep));
  border-radius: 28px;
  padding: 52px clamp(28px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  color: #eaf4f2;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.subscribe-inner::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 34px solid rgba(255, 122, 41, .25);
}
.subscribe-copy h2 { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; margin-bottom: 10px; }
.subscribe-copy p { color: #cfe4e0; font-size: 15.5px; }
.subscribe-form { position: relative; z-index: 1; }
.input-row { display: flex; gap: 10px; }
.input-row input {
  flex: 1;
  border: 0; outline: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  min-width: 0;
}
.input-row input:focus { box-shadow: 0 0 0 4px rgba(255, 122, 41, .35); }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 700; min-height: 1.4em; }
.form-msg.ok { color: #9fe6b8; }
.form-msg.err { color: #ffc4b8; }
.form-note { margin-top: 4px; font-size: 12px; color: rgba(234, 244, 242, .6); }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--ink); color: #cfc8b8; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: start;
  gap: 48px;
  padding: 56px 0 40px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 26em; }
.footer-nav { display: flex; justify-content: flex-end; gap: clamp(44px, 7vw, 104px); }
.footer-nav h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .08em; }
.footer-nav a { display: block; padding: 5px 0; font-size: 14px; transition: color .25s, transform .25s; }
.footer-nav a:hover { color: var(--orange); transform: translateX(4px); }
.footer-bar { border-top: 1px solid rgba(207, 200, 184, .15); }
.footer-bar-inner {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(207, 200, 184, .6);
}

/* ---------- 回到頂部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .35s;
  z-index: 40;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--orange); }
.back-top .icon { width: 22px; height: 22px; }

/* ---------- 進場動畫 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .route-bus, .route-status::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   內頁共用（關於／聯絡／使用條款／隱私權）
   ============================================ */

/* ---------- 內頁主視覺 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 60px;
  background: linear-gradient(118deg, var(--teal-deep), var(--teal));
  color: #eaf4f2;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .15) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -110px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 34px solid rgba(255, 122, 41, .22);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 730px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(234, 244, 242, .72); }
.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: .45; }
.breadcrumb [aria-current] { color: #ffd8bd; font-weight: 700; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: .03em;
  margin: 16px 0 14px;
}
.page-lead { font-size: 16.5px; color: #cfe4e0; max-width: 34em; }
.page-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(234, 244, 242, .78);
}
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta .icon { color: #ffb27a; }

/* ---------- 內文排版 ---------- */
.prose { font-size: 16px; color: var(--ink-soft); }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--ink);
  margin-top: 48px;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-top: 30px; }
.prose p { line-height: 1.92; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a:not(.btn) {
  color: var(--teal);
  font-weight: 600;
  border-bottom: 1.5px solid rgba(14, 90, 85, .32);
  transition: color .25s, border-color .25s;
}
.prose a:not(.btn):hover { color: var(--orange-deep); border-bottom-color: var(--orange); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { line-height: 1.85; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--orange); font-weight: 700; }
.prose hr { border: 0; border-top: 1px dashed var(--line); margin-top: 34px; }

.section-head.left { text-align: left; max-width: none; margin-inline: 0; }
.section-head.left .section-title::after { margin-left: 0; }

/* ---------- 法律頁：側邊目錄 ---------- */
.legal-layout { display: grid; grid-template-columns: 252px 1fr; gap: 56px; align-items: start; }
.toc {
  position: sticky;
  top: 108px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.toc h2 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 900;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 12px;
}
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex; gap: 9px; align-items: baseline;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  transition: color .25s, padding-left .25s;
}
.toc li:last-child a { border-bottom: 0; }
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font-size: 12px; font-weight: 700;
  color: var(--orange-deep);
}
.toc a:hover { color: var(--teal); padding-left: 4px; }

/* ---------- 提示框 ---------- */
.notice {
  display: flex; gap: 14px;
  background: var(--teal-light);
  border-left: 5px solid var(--teal);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.notice .icon { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--teal); }
.notice strong { color: var(--ink); }
.notice-warn { background: #fdeed7; border-left-color: var(--orange-deep); }
.notice-warn .icon { color: var(--orange-deep); }

/* ---------- 選品流程 ---------- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step::before {
  content: "0" counter(step);
  position: absolute; top: -14px; left: 22px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 900;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 3px 13px;
  box-shadow: 0 6px 14px rgba(255, 122, 41, .35);
}
.step h3 { font-family: var(--font-display); font-size: 17.5px; font-weight: 900; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 原則卡 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  margin-bottom: 16px;
}
.value-icon .icon { width: 24px; height: 24px; }
.value-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 編輯部 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform .3s, box-shadow .3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 74px; height: 74px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 27px; font-weight: 900;
}
.team-card h3 { font-size: 17px; font-weight: 700; }
.team-role { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--orange-deep); margin-top: 5px; }
.team-card p { font-size: 14px; color: var(--ink-soft); margin-top: 12px; text-align: left; }

/* ---------- 聯絡卡 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 4px;
}
.contact-icon .icon { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 900; }
.contact-card p { font-size: 14.5px; color: var(--ink-soft); }
.contact-value {
  margin-top: auto;
  padding-top: 8px;
  font-size: 16px; font-weight: 700;
  color: var(--teal);
  word-break: break-word;
  border-bottom: 1.5px solid rgba(14, 90, 85, .28);
  align-self: flex-start;
  transition: color .25s, border-color .25s;
}
a.contact-value:hover { color: var(--orange-deep); border-bottom-color: var(--orange); }

/* ---------- 資訊清單 ---------- */
.detail-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow-sm); }
.detail-row {
  display: flex; flex-wrap: wrap; gap: 4px 20px;
  justify-content: space-between; align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
}
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.detail-row dt .icon { color: var(--teal); }
.detail-row dd { font-size: 16px; font-weight: 700; color: var(--ink); }
.detail-row dd small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-soft); letter-spacing: .02em; }

/* ---------- 常見問題 ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details[open] { border-color: var(--teal); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 24px; font-weight: 400; line-height: 1;
  color: var(--teal);
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq .faq-body { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.88; color: var(--ink-soft); }

/* ---------- 頁尾行動帶 ---------- */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
  background: var(--ink);
  color: #eaf4f2;
  border-radius: 28px;
  padding: 46px clamp(26px, 5vw, 60px);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 29px); font-weight: 900; }
.cta-band p { margin-top: 8px; font-size: 15px; color: #cfc8b8; max-width: 36em; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light { border-color: #eaf4f2; color: #eaf4f2; }
.btn-ghost-light:hover { background: #eaf4f2; border-color: #eaf4f2; color: var(--ink); }

/* ---------- 響應式 ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 9px 11px; font-size: 14.5px; }
}

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .about-inner { gap: 40px; }

  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .toc { position: static; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .team-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 76px; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(300px, 82vw);
    background: var(--paper);
    flex-direction: column;
    padding: 96px 28px 28px;
    gap: 6px;
    box-shadow: -12px 0 40px rgba(23, 49, 47, .15);
    transform: translateX(105%);
    transition: transform .35s ease;
    z-index: 45;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { font-size: 17px; padding: 13px 18px; }
  .nav-toggle { display: flex; z-index: 46; }
  .header-cta { display: none; }

  .hero { padding: 60px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .route-card { transform: none; }

  .station-line {
    display: flex;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .station-line::before { left: 24px; right: auto; width: 760px; }
  .station { min-width: 118px; scroll-snap-align: start; }

  .about-inner { grid-template-columns: 1fr; }
  .about-board { transform: none; }
  .subscribe-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { justify-content: flex-start; gap: 48px; flex-wrap: wrap; }

  .nav-link { padding: 13px 18px; font-size: 17px; }
  .page-hero { padding: 40px 0 48px; }
  .page-hero::after { display: none; }
  .cta-band { padding: 38px 28px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 60px 0; }
  .hero-stats { gap: 24px; }
  .article-grid { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-cover { min-height: 150px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
  .input-row { flex-direction: column; }
  .input-row .btn { justify-content: center; }
  .ticket-stub { width: 108px; }
  .ticket-stub strong { font-size: 27px; }
  .stop em { font-size: 10px; }
  .route-line { margin: 46px 12px 54px; }

  .toc ol { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .value-grid, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band-actions .btn { justify-content: center; }
  .detail-row { flex-direction: column; }
  .prose { font-size: 15.5px; }
}
