/* =========================================================
   KUN THAI Massage Studio 泰式按摩工作室
   調性：專業 / 質感 / 安全  —  暖炭黑 + 溫潤金 + 品牌藍點綴 + LOGO 彩虹光暈
   ========================================================= */

:root {
  --bg:        #0e0f14;   /* 暖炭黑（主背景，去藍） */
  --bg-alt:    #15161d;   /* 交替區塊 */
  --surface:   #1b1d27;   /* 卡片表面（浮起，中性） */
  --ink:       #eceae2;   /* 主文字（暖白） */
  --ink-soft:  #a8a8b4;   /* 次文字（中性灰） */
  --heading:   #f7f4ec;   /* 標題（亮暖白） */
  --navy:      #0e1935;   /* 品牌深藍（LOGO 底／CTA 點綴） */
  --navy-600:  #22345c;   /* 深藍－亮（hover） */
  --navy-300:  #8a97be;   /* 深藍－淺（邊框／光暈） */
  --navy-900:  #08090d;   /* 中性近黑（footer／漸層收尾） */
  --gold:      #caa25f;   /* 金（裝飾／實心按鈕底） */
  --gold-deep: #d8b374;   /* 金（深底上的強調文字，較亮） */
  --gold-soft: #e6c893;   /* 金（淺，eyebrow／數字） */
  --spectrum:  linear-gradient(100deg, #d76b7f, #dd9b54, #d9c368, #69b89a, #6a9bd1, #9d7fc7);
  --line:      rgba(255,255,255,.10);
  --shadow:    0 24px 60px -28px rgba(0, 0, 0, .7);
  --shadow-sm: 0 12px 34px -20px rgba(0, 0, 0, .6);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1160px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  font-family: "Noto Sans TC", system-ui, -apple-system, "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-text strong { font-family: "Noto Serif TC", serif; letter-spacing: .01em; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 鍵盤操作可見的 focus 環（滑鼠點擊不顯示） */
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }
.booking :focus-visible, .stats :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-soft); }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }

.eyebrow {
  font-size: .82rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold-soft); }

.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--heading); line-height: 1.3; }
.section-lead { color: var(--ink-soft); margin-top: 14px; font-size: 1.02rem; }

h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-weight: 500; font-size: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-900); font-weight: 700; box-shadow: 0 12px 30px -12px rgba(202,162,95,.55); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(202,162,95,.6); }
.btn-ghost { background: transparent; color: var(--heading); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.5); transform: translateY(-3px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
  padding: 10px 0;
}
.site-header.scrolled {
  background: rgba(11, 20, 38, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 14px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.12rem; color: var(--heading); }
.brand-text em { font-style: normal; font-size: .74rem; letter-spacing: .12em; color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  padding: 10px 16px; font-size: .95rem; color: var(--ink); border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav > a:hover { color: var(--heading); background: rgba(255,255,255,.07); }
.nav .nav-cta { background: var(--gold); color: var(--navy-900); margin-left: 8px; font-weight: 700; }
.nav .nav-cta:hover { background: var(--gold-soft); color: var(--navy-900); }

.lang-toggle {
  flex: none; margin-left: 4px;
  min-width: 46px; height: 44px; padding: 0 12px;
  border: 1.5px solid var(--navy-300); border-radius: 999px;
  background: transparent; color: var(--heading);
  font-family: "Noto Sans TC", sans-serif; font-size: .9rem; font-weight: 700; letter-spacing: .04em;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.lang-toggle:hover { background: rgba(255,255,255,.08); color: var(--heading); transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: clamp(140px, 20vh, 200px) 0 clamp(70px, 10vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 70% at 16% -5%, rgba(157,127,199,.20), transparent 58%),
    radial-gradient(70% 60% at 88% 8%, rgba(106,155,209,.14), transparent 55%),
    radial-gradient(85% 75% at 100% 100%, rgba(202,162,95,.14), transparent 55%),
    linear-gradient(180deg, #17131f 0%, var(--bg) 58%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.hero-text { max-width: 640px; }
.hero-media { order: -1; position: relative; justify-self: center; width: 100%; display: flex; justify-content: center; }
.hero-media::before {
  content: ""; position: absolute; inset: -4%; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 210deg, #d76b7f, #dd9b54, #d9c368, #69b89a, #6a9bd1, #9d7fc7, #d76b7f);
  filter: blur(40px); opacity: .34;
}
.hero-brand {
  width: min(460px, 100%); aspect-ratio: 1; object-fit: cover; display: block;
  border-radius: 26px; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 34px 80px -34px rgba(0,0,0,.85);
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.18; color: var(--heading); margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-soft); max-width: 600px; margin-bottom: 34px; }
.hero-sub strong { color: var(--heading); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.badge-ico { font-size: 1.1rem; }

/* =========================================================
   Stats
   ========================================================= */
.stats { background: var(--bg-alt); color: var(--heading); padding: clamp(44px, 6vw, 66px) 0; position: relative; }
.stats::before, .stats::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--spectrum); opacity: .75; }
.stats::before { top: 0; }
.stats::after { bottom: 0; }
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(36px, 8vw, 100px); text-align: center; }
.stats-grid .stat + .stat { position: relative; }
.stat { padding: 0 4px; }
.stat strong { display: block; font-family: "Noto Serif TC", serif; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--gold-soft); line-height: 1.1; white-space: nowrap; }
.stat span { font-size: .9rem; color: rgba(255,255,255,.82); margin-top: 10px; display: block; }
.stats-note { text-align: center; color: rgba(255,255,255,.5); font-size: .78rem; margin-top: 24px; }

/* =========================================================
   About
   ========================================================= */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-media { position: relative; }
.about-cert {
  position: absolute; bottom: -18px; right: -14px;
  background: var(--surface); border-radius: var(--radius-sm); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-cert-ico { font-size: 1.6rem; }
.about-cert strong { display: block; font-size: .95rem; color: var(--heading); font-family: "Noto Sans TC"; }
.about-cert span { font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; }

.about-portrait {
  width: 100%; height: 480px; object-fit: cover; display: block; cursor: pointer; background: #000;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.about-media.playing .about-portrait { object-fit: contain; }
.about-media.playing .about-play { opacity: 0; pointer-events: none; transform: scale(.8); }
.about-media.playing .about-cert { opacity: 0; pointer-events: none; }
.about-cert { transition: opacity .25s var(--ease); }
.about-body h2 { color: var(--heading); margin: 6px 0 18px; }
.about-body p { color: var(--ink-soft); margin-bottom: 16px; }
.about-body p strong { color: var(--ink); }
.about-points { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); }
.about-points li span { color: var(--gold-deep); font-weight: 700; flex: none; }

/* =========================================================
   Services
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card.featured { border-color: var(--gold-soft); box-shadow: 0 20px 46px -24px rgba(185,138,75,.6); }
.service-flag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--gold); color: var(--navy-900); font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .06em;
}
.service-photo { width: 100%; height: 210px; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { color: var(--heading); font-size: 1.35rem; margin-bottom: 6px; }
.service-combo { color: var(--gold-deep); font-weight: 600; font-size: .96rem; margin-bottom: 12px; }
.service-body > p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 18px; }

.price-rows { list-style: none; margin-top: auto; display: grid; gap: 2px; }
.price-rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-top: 1px solid var(--line);
}
.price-rows li span { color: var(--ink-soft); font-size: .95rem; }
.price-rows li b { font-family: "Noto Serif TC", serif; font-size: 1.28rem; color: var(--heading); font-weight: 600; }
.service-card.featured .price-rows li b { color: var(--gold-deep); }

.service-notes { list-style: none; max-width: 720px; margin: 30px auto 0; display: grid; gap: 10px; }
.service-notes li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: .9rem; justify-content: center; text-align: left; }

.stats-note { font-size: .82rem; }

/* =========================================================
   Trust
   ========================================================= */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.trust-ico {
  font-size: 1.6rem; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(202,162,95,.12); border: 1px solid rgba(202,162,95,.18); margin-bottom: 16px;
}
.trust-item h3 { color: var(--heading); font-size: 1.18rem; margin-bottom: 8px; }
.trust-item p { color: var(--ink-soft); font-size: .95rem; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery-img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-grid .g1 { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g4 { grid-column: span 2; }

/* =========================================================
   手法影片
   ========================================================= */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.video-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #000; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.video-clip { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; }

/* 明顯的播放鍵覆蓋層（點擊即播） */
.video-play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(14,25,53,.66); box-shadow: 0 8px 24px -6px rgba(0,0,0,.55);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s;
}
.video-play::before {
  content: ""; width: 0; height: 0; margin-left: 5px; border-style: solid;
  border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff;
}
.video-card:hover .video-play { background: var(--navy); transform: scale(1.06); }
.video-card.playing .video-play { opacity: 0; pointer-events: none; transform: scale(.8); }
.video-play:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

/* =========================================================
   Reviews
   ========================================================= */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative;
}
.review-card .stars { color: var(--gold); letter-spacing: .15em; margin-bottom: 14px; }
.review-card p { color: var(--ink); font-size: 1rem; margin-bottom: 18px; }
.review-card footer { color: var(--ink-soft); font-size: .88rem; font-style: normal; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { max-width: 800px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: box-shadow .25s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 500; color: var(--heading);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--gold); flex: none; transition: transform .3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--ink-soft); }

/* =========================================================
   Booking
   ========================================================= */
.booking { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; }
.booking-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.booking-copy h2 { color: #fff; margin: 6px 0 16px; }
.booking-copy > p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.booking-info { list-style: none; display: grid; gap: 12px; }
.booking-info li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); font-size: .98rem; }

.booking-actions { display: grid; gap: 14px; }
.book-btn {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  transition: transform .25s var(--ease), background .25s;
}
.book-btn:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); }
.book-ico { font-size: 1.5rem; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.book-btn.line .book-ico { background: #06c755; }
.book-btn.ig .book-ico { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.book-btn.call .book-ico { background: var(--gold); }
.book-text strong { display: block; font-size: 1.08rem; font-family: "Noto Sans TC"; }
.book-text em { font-style: normal; font-size: .84rem; color: rgba(255,255,255,.7); }

.booking-map { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.booking-map img {
  width: 100%; max-width: 460px; height: auto; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow);
}
.map-note { max-width: 560px; text-align: center; color: rgba(255,255,255,.82); font-size: .98rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 72px) 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 14px; max-width: 360px; }
.footer-brand strong { color: #fff; font-family: "Noto Serif TC", serif; font-size: 1.1rem; }
.footer-brand p { font-size: .86rem; margin-top: 4px; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a:hover, .footer-social a:hover { color: var(--gold-soft); }
.footer-social a { color: rgba(255,255,255,.72); }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-disclaimer { max-width: 520px; }

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.mobile-cta {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: var(--gold); color: var(--navy-900); text-align: center; padding: 16px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 12px 30px -8px rgba(0,0,0,.6);
}

/* =========================================================
   Reveal animation
   ========================================================= */
/* 只有在 JS 啟用時才先隱藏；若 JS 或 observer 失效，內容仍預設可見（不會出現空白區塊） */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { max-width: none; }
  .hero-brand { width: min(330px, 80%); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; margin-inline: auto; }
  .about-portrait { height: 400px; }
  .booking-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82%);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    background: var(--bg); padding: 96px 24px 32px; gap: 4px;
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.35);
    transform: translateX(100%); transition: transform .35s var(--ease); z-index: 99;
  }
  .nav.open { transform: none; }
  .nav > a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav .nav-cta { text-align: center; margin: 10px 0 0; }
  .nav-toggle { display: flex; z-index: 100; }
  .site-header { background: rgba(11,20,38,.85); backdrop-filter: blur(12px); }

  .service-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .g1 { grid-column: span 2; grid-row: span 1; }
  .gallery-grid .g4 { grid-column: span 2; }

  .mobile-cta { display: block; }
  .nav .nav-cta { display: none; }
  body { padding-bottom: 76px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-badges { flex-direction: column; gap: 10px; }
}

/* =========================================================
   LOGO 圖片（尚未放入 assets/logo.png 前，自動隱藏破圖）
   ========================================================= */
.brand-logo {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  object-fit: cover; background: #0e1935; box-shadow: var(--shadow-sm);
}
.footer-logo {
  width: 56px; height: 56px; flex: none; border-radius: 14px;
  object-fit: cover; background: #0e1935;
}
.brand-logo.is-missing, .footer-logo.is-missing { display: none; }

/* =========================================================
   什麼是抓龍筋（教育專區）
   ========================================================= */
.what-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.what-lead { font-size: 1.18rem; color: var(--ink); font-weight: 500; line-height: 1.7; margin-bottom: 16px; }
.what-lead strong { color: var(--heading); }
.what-intro p { color: var(--ink-soft); margin-bottom: 16px; }
.what-note { font-size: .96rem; }
.what-intro .btn { margin-top: 10px; }

.what-benefits { list-style: none; display: grid; gap: 14px; }
.what-benefits li {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease);
}
.what-benefits li:hover { transform: translateX(4px); }
.wb-ico { font-size: 1.45rem; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(202,162,95,.12); border: 1px solid rgba(202,162,95,.18); flex: none; }
.what-benefits strong { display: block; color: var(--heading); font-size: 1.02rem; margin-bottom: 2px; }
.what-benefits span { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

@media (max-width: 920px) {
  .what-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   質感強化：立體卡片、金色重點、光影層次（讓畫面不再扁平）
   ========================================================= */

/* 動態極光背景：兩層彩色柔光緩緩漂移，畫面有生命感（非扁平） */
body { background: var(--bg); position: relative; }
body::before, body::after {
  content: ""; position: fixed; inset: -35%; z-index: -2; pointer-events: none; will-change: transform;
}
body::before {
  background:
    radial-gradient(36% 38% at 26% 28%, rgba(160,120,210,.55), transparent 60%),
    radial-gradient(34% 36% at 78% 70%, rgba(206,162,95,.42), transparent 60%);
  animation: auroraA 22s ease-in-out infinite alternate;
}
body::after {
  background:
    radial-gradient(32% 34% at 76% 22%, rgba(96,150,215,.46), transparent 60%),
    radial-gradient(36% 38% at 20% 78%, rgba(220,100,125,.38), transparent 60%);
  animation: auroraB 29s ease-in-out infinite alternate;
}
@keyframes auroraA {
  from { transform: translate3d(-11%, -7%, 0) rotate(0deg) scale(1); }
  to   { transform: translate3d(12%, 9%, 0) rotate(16deg) scale(1.28); }
}
@keyframes auroraB {
  from { transform: translate3d(10%, 7%, 0) rotate(0deg) scale(1.1); }
  to   { transform: translate3d(-12%, -8%, 0) rotate(-14deg) scale(1.3); }
}

/* 單元跳色：相鄰單元一深一淺（半透明，讓極光透出、對比更明顯） */
main > section:not(.hero):not(.stats):not(.booking):nth-of-type(odd)  { background: rgba(9, 10, 14, .52); }
main > section:not(.hero):not(.stats):not(.booking):nth-of-type(even) { background: rgba(34, 37, 52, .40); }

/* Hero 彩虹光暈緩緩旋轉，帶入細微動態 */
.hero-media::before { animation: haloSpin 30s linear infinite; }
@keyframes haloSpin { to { transform: rotate(360deg); } }

/* 尊重「減少動態」偏好 */
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .hero-media::before { animation: none; }
}

/* eyebrow → 金色小膠囊，重點更跳、更精緻 */
.eyebrow {
  display: inline-block; text-transform: uppercase;
  color: var(--gold-soft); background: rgba(202,162,95,.10);
  border: 1px solid rgba(202,162,95,.32); border-radius: 999px;
  padding: 6px 15px; letter-spacing: .2em; font-size: .74rem; font-weight: 700;
}
.eyebrow.light { color: var(--gold-soft); }

/* 章節標題下的漸層短線，結構更精緻 */
.section-head h2 { position: relative; }
.section-head h2::after {
  content: ""; display: block; width: 54px; height: 3px; margin: 18px auto 0;
  background: var(--spectrum); border-radius: 2px;
}

/* 卡片：立體玻璃 + 頂緣高光 + 深陰影，明顯浮起 */
.service-card, .trust-item, .review-card, .faq-item, .what-benefits li, .about-cert {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018) 44%, rgba(255,255,255,0)),
    var(--surface);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 46px -28px rgba(0,0,0,.85);
}
.service-card:hover, .trust-item:hover, .review-card:hover, .what-benefits li:hover {
  border-color: rgba(202,162,95,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 30px 66px -26px rgba(0,0,0,.9), 0 0 26px -6px rgba(202,162,95,.28);
}

/* 招牌卡：金框金暈，主打明顯 */
.service-card.featured {
  border-color: rgba(202,162,95,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 26px 60px -24px rgba(202,162,95,.42), 0 0 34px -8px rgba(202,162,95,.32);
}

/* 圖標圈：金色漸層 + 微光 */
.trust-ico, .wb-ico {
  background: linear-gradient(145deg, rgba(202,162,95,.32), rgba(202,162,95,.06));
  border: 1px solid rgba(202,162,95,.34);
  box-shadow: 0 8px 20px -10px rgba(202,162,95,.5), inset 0 1px 0 rgba(255,255,255,.12);
}

/* 價格更醒目 */
.price-rows li b { font-size: 1.5rem; }
.service-card.featured .price-rows li b { text-shadow: 0 0 22px rgba(216,179,116,.4); }

/* 評價卡：大引號裝飾，有設計感 */
.review-card { overflow: hidden; }
.review-card::before {
  content: "\201C"; position: absolute; top: 2px; right: 22px;
  font-family: "Noto Serif TC", serif; font-size: 5.5rem; line-height: 1;
  color: rgba(202,162,95,.18); pointer-events: none;
}
.review-card .stars { color: var(--gold-soft); }

/* Hero 關鍵字改金色，重點跳出 */
.hero-sub strong { color: var(--gold-soft); }

/* FAQ 展開時金色左緣提示 + 加深浮起 */
.faq-item[open] { border-color: rgba(202,162,95,.35); box-shadow: 0 18px 40px -24px rgba(0,0,0,.85), 0 0 20px -8px rgba(202,162,95,.2); }

/* 服務／環境／影片圖片：金色細框，更有精品感 */
.service-photo, .gallery-img, .video-card, .about-portrait, .booking-map img {
  border-color: rgba(255,255,255,.12);
}

/* 兩張服務卡跳色：招牌＝暖金調（更跳）、單項＝冷藍調（內斂） */
.service-card:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(206,162,95,.30), rgba(206,162,95,.08) 44%, rgba(206,162,95,.03) 72%, transparent),
    #2a2114;
}
.service-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(126,162,134,.14), rgba(255,255,255,.018) 48%, transparent), #181f1a;
  border-color: rgba(150,180,150,.22);
}
/* 招牌卡：金色頂邊 + 強金外暈，明顯主打 */
.service-card.featured {
  border: 1px solid rgba(206,162,95,.6);
  border-top: 3px solid var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 30px 70px -22px rgba(206,162,95,.55),
    0 0 48px -6px rgba(206,162,95,.42);
}
/* 服務卡影片自動播放，object-fit 填滿 */
video.service-photo { background: #000; }

/* =========================================================
   手機選單：遮罩層 + 開啟時隱藏影片（修正影片穿透選單、底圖跑掉）
   ========================================================= */
.nav-scrim {
  position: fixed; inset: 0; z-index: 95; background: rgba(6, 7, 11, .62);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.menu-open .nav-scrim { opacity: 1; visibility: visible; }
/* 開啟選單時，隱藏所有播放中的影片，避免 GPU 合成把影片畫到選單之上 */
.menu-open .hero-media,
.menu-open video { visibility: hidden; }
/* 鎖住背景捲動 */
.menu-open, .menu-open body { overflow: hidden; }
/* 確保抽屜在遮罩之上 */
@media (max-width: 760px) { .nav { z-index: 99; } }
