/* 沙田寶福山龕位專家 — 一頁式網站
   設計：寶福山的朱紅柱、白粉牆、灰石地，及黑漆金字牌匾。
   牌匾（.plaque）是全頁唯一的裝飾重點，其他元素保持簡潔。 */

:root {
  --red: #a73b24;        /* 品牌朱紅 */
  --red-deep: #8c2f1b;
  --red-tint: #fbf3f1;
  --ink: #373737;        /* 品牌深色文字 */
  --ink-2: #5f5a55;
  --lacquer: #2b2320;    /* 牌匾黑漆 */
  --gold: #c8a35a;       /* 牌匾金字（只用於牌匾） */
  --gold-soft: #e3cf9f;
  --paper: #ffffff;
  --stone: #f0eeeb;      /* 石地灰 */
  --line: #ddd8d1;
  --field: #b9b1a8;
  --wa: #0f7d43;
  --error: #b3261e;

  --serif: "Chiron Sung HK", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: 16px;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: .02em; }
p { margin: 0; }
a { color: var(--red); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.small { font-size: .88rem; color: var(--ink-2); line-height: 1.7; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip-link:focus { top: 8px; }

main section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- 牌匾 ---------- */
.plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-weight: 900;
  color: var(--gold);
  background: var(--lacquer);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px var(--lacquer), 0 0 0 4px rgba(200, 163, 90, .55);
  line-height: 1;
}
.plaque--hero {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  letter-spacing: .14em;
  padding: .5em .34em .36em;
  margin: 4px;
}
.plaque--sm {
  font-size: 1.05rem;
  letter-spacing: .1em;
  padding: .55em .32em .45em;
  margin: 4px;
  align-self: flex-start;
}
@media (prefers-reduced-motion: no-preference) {
  .plaque--hero { animation: unveil 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
}
@keyframes unveil {
  from { clip-path: inset(-8px -8px 100% -8px); }
  to   { clip-path: inset(-8px -8px -8px -8px); }
}

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0b6535; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { border-color: var(--red); color: var(--red); }
.btn--line svg { color: var(--wa); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: #f6e9e5; }
.btn--ghost-white { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-white:hover { background: rgba(255, 255, 255, .12); }
.sec--red :focus-visible { outline-color: #fff; }

/* ---------- 頁首 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; color: var(--ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-text { min-width: 0; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; white-space: nowrap; }
.brand small { display: block; font-size: .72rem; line-height: 1.4; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 374px) { .brand strong { font-size: .95rem; } } /* 360px Android：店名不被 WhatsApp 按鈕遮住 */
.site-nav { display: none; }
@media (min-width: 1000px) {
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 22px; list-style: none; }
  .site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
  .site-nav a:hover { color: var(--red); }
}

/* ---------- 首屏 ---------- */
.hero { padding: 28px 0 0; }
.hero-grid { display: grid; gap: 28px; }
.hero-title { display: flex; align-items: center; gap: 20px; }
.hero h1 { font-size: clamp(2.05rem, 1.2rem + 3.8vw, 3.5rem); font-weight: 900; line-height: 1.22; letter-spacing: .05em; color: var(--ink); }
.hero-lead { margin-top: 22px; font-size: 1.06rem; color: var(--ink-2); max-width: 30em; }
.hero-prices { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 22px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-prices dt { font-size: .9rem; color: var(--ink-2); }
.hero-prices dd { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.55rem; line-height: 1.35; color: var(--red); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-size: .92rem; color: var(--ink-2); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); flex: none; }
.hero-photo { margin: 0 calc(-1 * var(--gutter)); }
.hero-photo img { width: 100%; aspect-ratio: 1080 / 796; object-fit: cover; }
.hero-photo figcaption { font-size: .85rem; color: var(--ink-2); padding: 8px var(--gutter) 0; }
@media (max-width: 520px) {
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .hero-photo { margin: 0; }
  .hero-photo img { border-radius: 2px; }
  .hero-photo figcaption { padding: 8px 0 0; }
}

/* ---------- 小檔案 ---------- */
.facts { margin-top: 28px; padding: 28px 0; background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-inner { display: grid; gap: 16px; }
.facts h2 { font-size: 1.15rem; }
.facts-def { max-width: 52em; margin-bottom: 18px; font-size: .98rem; color: var(--ink-2); }
.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0; }
.facts-list > div { border-left: 2px solid var(--red); padding-left: 12px; }
.facts-list > div:last-child { grid-column: 1 / -1; }
.facts-list dt { font-size: .85rem; color: var(--ink-2); }
.facts-list dd { margin: 0; font-weight: 700; line-height: 1.55; }
@media (min-width: 900px) {
  .facts { margin-top: 0; }
  .facts-inner { grid-template-columns: auto 1fr; align-items: center; gap: 40px; }
  .facts h2 { writing-mode: vertical-rl; letter-spacing: .12em; }
  .facts-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .facts-list > div:last-child { grid-column: auto; }
}

/* ---------- 一般段落 ---------- */
.sec { padding: 64px 0; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }
.sec--stone { background: var(--stone); }
.sec-head { max-width: 40em; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.3rem); font-weight: 900; }
.sec-head p { margin-top: 12px; color: var(--ink-2); }

/* ---------- 放盤 ---------- */
.listing-top { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .listing-top { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
}
.price-ref, .fee-panel { background: var(--stone); padding: 20px 22px 22px; border-top: 3px solid var(--red); }
.price-ref h3, .fee-panel h3 { font-size: 1.15rem; margin-bottom: 8px; }
.price-ref table, .fee-panel table { width: 100%; margin-bottom: 12px; }
.price-ref th, .price-ref td, .fee-panel th, .fee-panel td { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-ref thead th { font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.price-ref tbody th, .fee-panel tbody th { font-weight: 500; }
.price-ref tbody td:nth-child(2), .fee-panel td { font-weight: 700; color: var(--red); }

.niche-group { margin-top: 40px; }
.niche-group > h3 { font-size: 1.3rem; margin-bottom: 14px; }
.niches { list-style: none; display: grid; gap: 12px; }
@media (min-width: 700px) { .niches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .niches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .niche .niche-foot { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-end; }
}
.niche { display: flex; gap: 18px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 2px; }
.niche-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; min-width: 0; }
.niche-no { font-size: 1.45rem; letter-spacing: .04em; line-height: 1.3; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .82rem; line-height: 1.8; padding: 0 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-2); }
.niche-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; width: 100%; margin-top: auto; padding-top: 4px; }
.niche-price { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--red); }

.callout { margin-top: 40px; display: grid; gap: 16px; padding: 22px 24px; background: var(--red-tint); border-left: 4px solid var(--red); }
.callout p { font-size: 1.05rem; }
@media (min-width: 900px) { .callout { grid-template-columns: 1fr auto; align-items: center; gap: 32px; } }

.map-details { margin-top: 24px; }
.map-details summary, .docs summary { cursor: pointer; font-weight: 700; color: var(--red); padding: 8px 0; }
.map-details img { margin-top: 12px; max-width: 560px; width: 100%; border: 1px solid var(--line); }

/* ---------- 比較表 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 320px; background: #fff; font-size: .98rem; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.compare thead th { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.compare thead th.is-pfh { background: var(--red); color: #fff; }
.compare td.is-pfh { background: var(--red-tint); font-weight: 500; color: var(--ink); }
.compare td:not(.is-pfh) { color: var(--ink-2); }
.compare tbody th { font-weight: 500; color: var(--ink-2); font-size: .9rem; white-space: nowrap; }
@media (max-width: 560px) {
  .compare { font-size: .92rem; }
  .compare th, .compare td { padding: 12px 8px; }
}

/* ---------- 相片 ---------- */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 40px; }
.gallery li { min-width: 0; }
.gallery .tall { grid-row: span 2; }
.gallery figure { position: relative; margin: 0; height: 100%; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .tall img { aspect-ratio: auto; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 10px 8px;
  font-size: .85rem; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
}
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }

/* ---------- 流程 ---------- */
.process-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .process-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; } .fee-panel { position: sticky; top: calc(var(--header-h) + 24px); } }
.steps { list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 28px; }
.step::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--red); background: #fff; color: var(--red);
  font-family: var(--serif); font-weight: 900; font-size: 1.4rem;
}
.step h3 { font-size: 1.2rem; margin-top: 10px; }
.step p { margin-top: 4px; color: var(--ink-2); }
.docs { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 4px; }
.docs h4 { font-size: 1rem; margin-top: 10px; }
.docs ul { padding-left: 1.2em; font-size: .95rem; color: var(--ink-2); }
.docs .small { margin-top: 10px; }

/* ---------- 業主放盤 ---------- */
.sec--red { background: var(--red); color: #fff; }
.sec--red .sec-head p { color: #f6dcd5; }
.sell-points { list-style: none; display: grid; gap: 22px; }
@media (min-width: 700px) { .sell-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; } }
.sell-points li { border-top: 1px solid rgba(255, 255, 255, .4); padding-top: 16px; }
.sell-points h3 { font-size: 1.2rem; }
.sell-points p { margin-top: 4px; color: #f6dcd5; }
.sell-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) { .sell-cta .btn { flex: 1 1 100%; } }

/* ---------- 睇位交通 ---------- */
.visit-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.info-list { margin: 0; }
.info-list > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; }
.info-list dd { margin: 0; color: var(--ink-2); }
.visit-cta { margin-top: 24px; }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: #e8e5e1; }
.map .small { display: inline-block; margin-top: 8px; color: var(--red); }

/* ---------- 常見問題 ---------- */
.faq { max-width: 48em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 44px 18px 0;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
.sec-head .byline { margin-top: 10px; font-size: .88rem; }
.sources { max-width: 48em; margin-top: 20px; }

/* ---------- 聯絡 ---------- */
.contact-grid { display: grid; gap: 28px; }
.contact-grid > * { min-width: 0; } /* 唔好俾 hCaptcha 方格（固定 303px）撐闊表格 */
.contact-grid > .contact-head { margin-bottom: 0; }
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-areas: "head form" "more form";
    grid-template-rows: auto 1fr;
    gap: 28px 56px;
    align-items: start;
  }
  .contact-head { grid-area: head; }
  .form-wrap { grid-area: form; }
  .contact-more { grid-area: more; }
}
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); text-decoration: none; }
.contact-list a:hover { border-color: var(--red); }
.contact-list svg { width: 30px; height: 30px; flex: none; }
.contact-list strong { display: block; line-height: 1.4; }
.contact-list small { display: block; color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.ic-wa { color: var(--wa); }
.ic-fb { color: #1877f2; }
.ic-ig { color: #c13584; }
.about { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.about h3 { font-size: 1.1rem; margin-bottom: 6px; }
.about p { color: var(--ink-2); font-size: .95rem; }

.lead-form, .form-success { background: #fff; padding: 22px 20px 24px; border: 1px solid var(--line); border-top: 4px solid var(--red); }
@media (min-width: 600px) { .lead-form, .form-success { padding: 28px 32px 32px; } }
.field { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.lead-form > .field:first-of-type { margin-top: 0; }
.field > label, .field > legend { display: block; padding: 0; margin-bottom: 6px; font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px;
  padding: 11px 14px;
  font: inherit; font-size: 1rem; line-height: 1.5; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: 3px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field.is-invalid input { border-color: var(--error); }
.field-error { color: var(--error); font-size: .88rem; line-height: 1.5; }
.field-error:not(:empty) { margin-top: 6px; }
.two-col { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 6px 16px; border: 1px solid var(--field); border-radius: 3px; font-weight: 500; line-height: 1.4; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: .92rem; line-height: 1.6; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--red); }
.lead-form .btn--block { margin-top: 20px; }
/* hCaptcha：預留高度，載入時版面不會跳動；細屏幕縮小以免超出 */
.captcha { margin: 20px 0 4px; }
.captcha .h-captcha { min-height: 78px; }
/* 方格固定 303px 闊；表格內闊 = 屏幕闊 − 74px，細過 377px 的手機要縮小 */
@media (max-width: 376px) { .captcha .h-captcha { transform: scale(.9); transform-origin: 0 0; min-height: 70px; } }
@media (max-width: 345px) { .captcha .h-captcha { transform: scale(.8); min-height: 62px; } }
.form-status { margin-top: 12px; font-size: .95rem; }
.form-status.is-error { color: var(--error); }
.hp { display: none !important; }

.js .lead-form[data-type="buy"] .when-sell,
.js .lead-form[data-type="sell"] .when-buy,
.js .lead-form[data-type="other"] .when-buy,
.js .lead-form[data-type="other"] .when-sell { display: none; }

.form-success h3 { font-size: 1.4rem; color: var(--red); }
.form-success p { margin: 10px 0 20px; color: var(--ink-2); }
.form-success:focus { outline: none; }

/* ---------- English ---------- */
.en { padding: 48px 0; border-top: 1px solid var(--line); }
.en h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; }
.en p { margin-top: 8px; max-width: 46em; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--lacquer); color: #d9d1c7; padding: 48px 0 24px; font-size: .9rem; line-height: 1.75; }
.site-footer a { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; } }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 64px; height: 64px; flex: none; background: #fff; border-radius: 4px; padding: 4px; }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.footer-legal h2 { font-family: var(--sans); font-size: .95rem; color: #fff; margin: 0 0 4px; }
.footer-legal p + h2 { margin-top: 18px; }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .82rem; color: #a99f94; }

/* ---------- 手機底部按鈕 ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line);
  transition: transform .25s ease;
}
.mbar .btn { min-height: 48px; padding: 0 10px; }
.mbar.is-hidden { transform: translateY(110%); }
@media (max-width: 899px) { body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .mbar { display: none; } }
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }
