/* G11 Travel 香港群組 · 清透暖 (B) · 珊瑚橙
   Based on ref-B (Qantas 红) with tokens replaced per DESIGN-SYSTEM §4 */

:root {
  --ink: #3d1a0a;
  --sky: #f97316;           /* 珊瑚橙 · 主色 */
  --sky-2: #fb923c;         /* 亮橙 */
  --azure: #c2410c;         /* 深橙 · 文字/強調 */
  --cyan: #fbbf24;          /* 暖黃 · 次色（漸變/小圓點/hover） */
  --amber: #f59e0b;         /* 琥珀 · 點綴 */
  --paper: #ffffff;
  --paper-2: #fffaf5;
  --muted: #8c6a56;
  --line: rgba(120, 50, 10, 0.10);
  --radius: 20px;
  --shadow: 0 26px 60px -28px rgba(249, 115, 22, 0.42);
  --shadow-soft: 0 14px 34px -18px rgba(249, 115, 22, 0.26);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "PingFang SC", "Hiragino Sans GB", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* 乾淨明亮的淺色背景，clear color wash（無模糊） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 8% -5%, rgba(251, 191, 36, 0.14), transparent 60%),
    radial-gradient(45% 45% at 98% 4%, rgba(249, 115, 22, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

/* ============ 頂部導航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 56px); transition: .4s ease; background: transparent;
}
.nav.scrolled {
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(249, 115, 22, 0.4);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; transition: color .4s; }
.nav.scrolled .brand { color: var(--ink); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  display: grid; place-items: center; color: #fff; font-size: 20px;
  background: linear-gradient(135deg, var(--sky), var(--cyan));
  box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.6);
}
.brand .title {
  display: flex; flex-direction: column; line-height: 1.15;
  opacity: 0; transform: translateY(6px); transition: .45s ease;
}
.nav.scrolled .brand .title { opacity: 1; transform: none; }
.brand .title b { font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.brand .title span { font-size: 11px; letter-spacing: 3px; color: var(--sky); text-transform: uppercase; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.96); font-size: 15px; font-weight: 600;
  position: relative; transition: color .4s;
  text-shadow: 0 1px 8px rgba(40, 20, 5, 0.25);
}
.nav.scrolled .nav-links a { color: var(--ink); text-shadow: none; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--cyan); transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.7); color: #fff; transition: .4s;
}
.nav.scrolled .nav-cta { border-color: var(--sky); color: var(--sky); }
.nav-cta:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.hamb { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamb span { width: 24px; height: 2px; background: #fff; transition: .4s; }
.nav.scrolled .hamb span { background: var(--ink); }

/* ============ 全屏 Hero（清透覆蓋，圖保持明亮銳利）============ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--hero) center/cover no-repeat fixed;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(40,20,5,.40) 0%, rgba(40,20,5,.12) 45%, rgba(40,20,5,0) 70%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 clamp(18px, 5vw, 56px); max-width: 1180px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 17px; border-radius: 999px; background: rgba(255,255,255,.92);
  font-size: 13px; letter-spacing: 1px; color: var(--azure); font-weight: 700;
  box-shadow: 0 8px 22px -10px rgba(249, 115, 22, 0.5);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 8vw, 84px); line-height: 1.05; letter-spacing: .5px;
  text-shadow: 0 4px 30px rgba(40, 20, 5, 0.35);
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: #fbbf24; text-shadow: 0 0 30px rgba(251, 191, 36, 0.85); }
.hero p.lead {
  margin-top: 24px; font-size: clamp(16px, 2.2vw, 21px); max-width: 46ch;
  color: #fff; text-shadow: 0 2px 16px rgba(40, 20, 5, 0.4);
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 15px 30px;
  border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .3s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--sky), var(--cyan)); color: #fff;
  box-shadow: 0 16px 38px -12px rgba(249, 115, 22, 0.9);
}
.btn-ghost { background: #fff; color: var(--azure); }
.btn:hover { transform: translateY(-3px); }
.hero-stats { margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap; }
.gstat {
  background: #fff; padding: 14px 22px; border-radius: 16px; min-width: 120px;
  box-shadow: 0 14px 30px -16px rgba(249, 115, 22, 0.45);
}
.gstat b { display: block; font-size: 26px; font-weight: 800; color: var(--azure); }
.gstat span { font-size: 12px; color: var(--muted); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.9); font-size: 12px; letter-spacing: 2px; text-align: center;
  text-shadow: 0 2px 10px rgba(40, 20, 5, 0.4);
}
.scroll-cue .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.75); border-radius: 14px;
  margin: 0 auto 8px; position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  border-radius: 2px; background: #fff; transform: translateX(-50%); animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 1; top: 7px; } 100% { opacity: 0; top: 18px; } }

/* ============ 多維度首頁 bento（純白乾淨卡片）============ */
section { padding: clamp(60px, 9vw, 110px) clamp(18px, 5vw, 56px); }
.wrap { max-width: 1180px; margin: 0 auto; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 46px; flex-wrap: wrap;
}
.sec-head .kicker {
  font-size: 13px; letter-spacing: 3px; color: var(--sky);
  text-transform: uppercase; font-weight: 800; margin-bottom: 10px;
}
.sec-head h2 {
  font-family: var(--display); font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800; letter-spacing: .3px; line-height: 1.15;
}
.sec-head p { color: var(--muted); max-width: 40ch; font-size: 15px; }
.more-link { color: var(--sky); font-weight: 800; font-size: 15px; white-space: nowrap; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 25px; margin-bottom: 18px;
  background: linear-gradient(135deg, #fff7ed, #fffaf5);
}
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card .tag {
  position: absolute; top: 22px; right: 22px; font-size: 12px;
  color: var(--amber); font-weight: 800;
}
.c-feature {
  grid-column: span 6; min-height: 310px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; border: none;
  background: linear-gradient(180deg, rgba(40,20,5,0) 35%, rgba(40,20,5,.62));
}
.c-feature h3 { font-size: 27px; }
.c-feature p { color: rgba(255,255,255,.92); }
.c-3 { grid-column: span 3; }
.c-4 { grid-column: span 4; }
.c-6 { grid-column: span 6; }
.c-stat {
  grid-column: span 3; color: #fff; border: none;
  background: linear-gradient(135deg, var(--azure), var(--sky-2));
}
.c-stat .num { font-family: var(--display); font-size: 46px; font-weight: 800; line-height: 1; }
.c-stat p { color: rgba(255,255,255,.9); margin-top: 8px; }

.route-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 18px; }
.route {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4;
  color: #fff; display: flex; align-items: flex-end; padding: 16px;
  box-shadow: var(--shadow-soft);
}
.route::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,20,5,0) 40%, rgba(40,20,5,.7));
}
.route img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
  transition: transform .5s;
}
.route:hover img { transform: scale(1.08); }
.route b { position: relative; font-size: 16px; font-weight: 800; }
.route span { position: relative; display: block; font-size: 11px; color: rgba(255,255,255,.82); }

/* ============ 現代文章列表 ============ */
.articles { background: linear-gradient(180deg, #fffaf5, #ffffff); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer;
  transition: .25s; background: #fff;
}
.chip.active, .chip:hover {
  background: linear-gradient(120deg, var(--sky), var(--cyan)); color: #fff;
  border-color: transparent; box-shadow: 0 10px 22px -10px rgba(249, 115, 22, 0.7);
}
.grid-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column; box-shadow: var(--shadow-soft);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .thumb img { transform: scale(1.06); }
.post .cat {
  position: absolute; top: 14px; left: 14px; background: #fff; color: var(--azure);
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.18);
}
.post .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 19px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.post p { color: var(--muted); font-size: 14px; flex: 1; }
.post .meta {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.post .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
.post.feature { grid-column: span 2; flex-direction: row; }
.post.feature .thumb { aspect-ratio: auto; flex: 1.1; }
.post.feature .body { flex: 1; justify-content: center; padding: 34px; }
.post.feature h3 { font-size: 26px; }

/* ============ 行動條 ============ */
.cta-band {
  border-radius: 26px; padding: clamp(36px, 6vw, 64px); text-align: center;
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--azure), var(--sky) 50%, var(--cyan));
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 100% 0, rgba(255,255,255,.4), transparent);
}
.cta-band h2 { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); position: relative; }
.cta-band p { color: rgba(255,255,255,.92); margin: 14px auto 28px; max-width: 46ch; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--azure); box-shadow: 0 16px 38px -14px rgba(0,0,0,.3); }

/* ============ Footer ============ */
footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 60px clamp(18px, 5vw, 56px) 30px; }
.foot-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
footer a { display: block; color: rgba(255,255,255,.6); font-size: 14px; padding: 5px 0; transition: .2s; }
footer a:hover { color: var(--cyan); }
.foot-brand b { color: #fff; font-size: 20px; }
.foot-brand p { margin-top: 12px; font-size: 14px; max-width: 34ch; }
.foot-bottom {
  max-width: 1180px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12); font-size: 13px;
  color: rgba(255,255,255,.45); display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

/* ============ 懸浮按鈕 ============ */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.fab-main {
  display: flex; align-items: center; gap: 10px; padding: 15px 22px;
  border-radius: 999px; cursor: pointer; border: none; color: #fff;
  font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--sky), var(--cyan));
  box-shadow: 0 16px 38px -10px rgba(249, 115, 22, 0.85);
  transition: transform .25s;
}
.fab-main:hover { transform: translateY(-3px) scale(1.03); }
.fab-main .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.fab-top {
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); color: var(--azure); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transition: opacity .3s; font-size: 18px;
}
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ============ 手機適配 ============ */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamb { display: flex; }
  .nav { padding: 14px 18px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-feature, .c-3, .c-4, .c-6, .c-stat { grid-column: span 2; }
  .c-feature { min-height: 240px; }
  .route-strip { grid-template-columns: repeat(3, 1fr); }
  .grid-articles { grid-template-columns: 1fr; }
  .post.feature { grid-column: span 1; flex-direction: column; }
  .post.feature .thumb { aspect-ratio: 16/10; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { background-attachment: scroll; }
  .fab-main span.txt { display: none; }
  .fab-main { padding: 16px; border-radius: 50%; }
}
@media (max-width: 480px) {
  .route-strip { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(34px, 11vw, 52px); }
  .hero-stats .gstat { flex: 1; min-width: 0; }
}
