/* =========================================================================
   與早．咖 YUZAOKA — 全站共用樣式
   單一設計系統：濃縮咖啡棕 + 奶油米白 + 焦糖琥珀，搭配鼠尾草綠點綴
   版面：max-width 置中 + clamp 內距（永不撞牆）+ flex/grid + RWD
   ========================================================================= */

:root {
  /* ---- 主色系（咖啡暖調） ---- */
  --espresso:      #4a3327;   /* 主色 濃縮咖啡棕 */
  --espresso-600:  #3c291f;
  --espresso-800:  #2a1c14;   /* hero 疊色底 */
  --coffee:        #6f4e37;   /* 中棕 */
  --caramel:       #c0813c;   /* 焦糖琥珀 點綴 */
  --caramel-soft:  #e0b074;
  --sage:          #7c8a6a;   /* 鼠尾草綠（清爽／早午餐） */
  --sage-soft:     #9aa888;

  /* ---- 中性色 ---- */
  --bg:            #f8f3ea;   /* 溫暖奶油米白底 */
  --bg-alt:        #efe5d5;   /* 次要區塊底 */
  --surface:       #fffdf9;
  --ink:           #2f2620;   /* 主要文字 */
  --ink-soft:      #6b5d50;   /* 次要文字 */
  --line:          #e8ddc9;   /* 分隔線/邊框 */
  --line-strong:   #d8c8ac;

  /* ---- 品牌語意 ---- */
  --brand:         var(--espresso);
  --brand-ink:     #ffffff;
  --line-green:    #06c755;   /* LINE 綠 */

  /* ---- 版面尺度 ---- */
  --maxw:          1180px;
  --maxw-narrow:   760px;
  --gutter:        clamp(1.25rem, 5vw, 3rem);   /* 左右內距，永不撞牆 */
  --radius:        14px;
  --radius-lg:     22px;
  --shadow:        0 12px 32px rgba(42, 28, 20, .10);
  --shadow-soft:   0 4px 16px rgba(42, 28, 20, .07);

  /* ---- 字級階層 ---- */
  --fs-hero:   clamp(2rem, 5.2vw, 3.4rem);
  --fs-h2:     clamp(1.55rem, 3.4vw, 2.35rem);
  --fs-h3:     clamp(1.2rem, 2.2vw, 1.5rem);
  --fs-lead:   clamp(1.05rem, 1.8vw, 1.22rem);
  --fs-base:   1rem;
  --fs-small:  .9rem;

  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans:  "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* ===== Reset / 基礎 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 108%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coffee); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.3; color: var(--ink); margin: 0 0 .6em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; border-radius: 4px; }

/* ===== 版面容器（永遠置中 + 左右留白） ===== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.alt { background: var(--bg-alt); }
.section.tight { padding-block: clamp(2rem, 4vw, 3rem); }
.eyebrow { font-family: var(--sans); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; color: var(--caramel); margin-bottom: .8rem; }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); }

/* ===== 按鈕（相對內距，同排一致） ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.1;
  padding: .72em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--espresso); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--espresso-600); }
.btn--outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: #fff; }
.btn--gold { background: var(--caramel); color: #2a1c0e; }
.btn--gold:hover { background: var(--caramel-soft); }
.btn--line { background: var(--line-green); color: #fff; }
.btn--line:hover { background: #05b34c; }
.btn--ghost-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--espresso); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* ===== 頁首 / 導覽 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(248,243,234,.92);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif);
  font-weight: 700; color: var(--espresso); font-size: 1.22rem; }
.brand:hover { text-decoration: none; }
.brand .brand-o { display: inline-grid; place-items: center; width: 2.1em; height: 2.1em;
  border: 2px solid var(--caramel); border-radius: 50%; color: var(--espresso); font-size: .62em;
  font-weight: 800; letter-spacing: .02em; background: var(--surface); line-height: 1; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand .brand-txt small { font-family: var(--sans); font-weight: 500; color: var(--ink-soft);
  font-size: .6rem; letter-spacing: .14em; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: .9rem; font-weight: 500; padding: .45rem .6rem; border-radius: 8px; white-space: nowrap; }
.nav-links a:hover { background: var(--bg-alt); text-decoration: none; color: var(--espresso); }
.nav-links a[aria-current="page"] { color: var(--espresso); font-weight: 700; }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; }
.nav-toggle-btn { display: none; }

/* 菜單 下拉 */
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: .25em; color: var(--caramel); }
.has-sub .sub { position: absolute; top: calc(100% + 4px); left: 0; min-width: 160px; list-style: none;
  margin: 0; padding: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub .sub li { margin: 0; }
.has-sub .sub a { display: block; }

@media (max-width: 1000px) {
  .nav-toggle-btn { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
    cursor: pointer; padding: .5rem; }
  .nav-toggle-btn span { width: 26px; height: 2px; background: var(--espresso); border-radius: 2px; transition: .2s; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem;
    gap: .2rem; box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .28s ease;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-toggle:checked ~ .nav-links { transform: translateY(0); }
  .nav-links a { padding: .8rem .6rem; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin: .6rem 0 0; }
  .nav-links .nav-cta .btn { width: 100%; }
  /* 菜單下拉在手機直接攤開為縮排子連結 */
  .has-sub .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 0 1rem; background: transparent; }
  .has-sub .sub a { border-bottom: 1px solid var(--line); }
  .has-sub > a::after { content: ""; }
}

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(42,28,20,.45) 0%, rgba(42,28,20,.72) 100%); z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero .container { position: relative; z-index: 2; padding-block: clamp(4.5rem, 12vw, 8.5rem); }
.hero-inner { max-width: 640px; }
.hero h1 { color: #fff; font-size: var(--fs-hero); margin-bottom: .5em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero .kicker { color: var(--caramel-soft); font-weight: 600; letter-spacing: .15em; margin-bottom: 1rem;
  text-transform: uppercase; font-size: .82rem; }
.hero .hero-lead { font-size: var(--fs-lead); color: rgba(255,255,255,.94); margin-bottom: 1.8rem; max-width: 44ch; }

/* 內頁小 hero */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(42,28,20,.55), rgba(42,28,20,.78)); z-index:1; }
.page-hero .hero-bg { z-index: 0; }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 5.5rem); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.page-hero .hero-lead { color: rgba(255,255,255,.92); font-size: var(--fs-lead); max-width: 54ch; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.82); margin-bottom: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }

/* ===== 頁面摘要條（這是什麼/誰適合/怎麼來） ===== */
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--caramel);
  border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow-soft); }
.summary h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.summary p:last-child { margin-bottom: 0; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0; }
.summary dt { font-weight: 700; color: var(--espresso); }
.summary dd { margin: 0; color: var(--ink-soft); }

/* ===== 特色支柱（四大入口 / 為什麼選我們） ===== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
.pillar { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease; color: var(--ink); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.pillar .thumb { aspect-ratio: 1 / 1; overflow: hidden; }
.pillar .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pillar:hover .thumb img { transform: scale(1.05); }
.pillar .body { padding: 1.1rem 1.2rem 1.4rem; }
.pillar .zh { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--espresso); }
.pillar .en { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--caramel); }
.pillar p { font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 0; }

/* ===== 卡片格 ===== */
.card-grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin: 0; }
.card .meta { font-size: .82rem; color: var(--caramel); font-weight: 600; letter-spacing: .04em; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card .price { font-family: var(--serif); font-weight: 700; color: var(--espresso); font-size: 1.1rem; }
.card .card-foot { margin-top: auto; padding-top: .6rem; }

/* ===== 菜單（名稱 + 點線引導 + 價格） ===== */
.menu-wrap { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.menu-cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); overflow: hidden; }
.menu-cat .mc-head { padding: 1rem clamp(1.2rem, 3vw, 1.6rem); background: var(--espresso); color: #fff;
  display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.menu-cat .mc-head h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.menu-cat .mc-head .en { color: var(--caramel-soft); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.menu-cat.sage .mc-head { background: var(--sage); }
.menu-cat.caramel .mc-head { background: var(--coffee); }
.menu-items { list-style: none; margin: 0; padding: clamp(1rem, 3vw, 1.5rem); display: grid; gap: 1rem; }
.menu-item { margin: 0; }
.menu-item .mi-row { display: flex; align-items: baseline; gap: .5rem; }
.menu-item .mi-name { font-weight: 600; color: var(--ink); }
.menu-item .mi-dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-.25em); }
.menu-item .mi-price { font-family: var(--serif); font-weight: 700; color: var(--espresso); white-space: nowrap; }
.menu-item .mi-desc { margin: .25rem 0 0; font-size: .88rem; color: var(--ink-soft); }
.menu-item .tag-hot { display: inline-block; margin-left: .4rem; font-size: .66rem; font-weight: 700;
  background: var(--caramel); color: #2a1c0e; border-radius: 999px; padding: .1em .6em; letter-spacing: .05em;
  vertical-align: middle; }

/* ===== 主打項目 highlight ===== */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.feature .fc-media { min-height: 280px; background-size: cover; background-position: center; }
.feature .fc-body { padding: clamp(1.6rem, 4vw, 2.6rem); }
.feature .badge { display: inline-block; background: var(--caramel); color: #2a1c0e; font-weight: 700;
  font-size: .78rem; padding: .3em .8em; border-radius: 999px; letter-spacing: .08em; margin-bottom: .8rem; }
.feature .price { font-family: var(--serif); font-size: 1.8rem; color: var(--espresso); font-weight: 700; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature .fc-media { min-height: 220px; } }

/* ===== 兩欄圖文 ===== */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.media-row.reverse .media-figure { order: 2; }
.media-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.media-figure figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: .6rem; text-align: center; }
@media (max-width: 820px) { .media-row { grid-template-columns: 1fr; } .media-row.reverse .media-figure { order: 0; } }

/* ===== 圖庫 ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(.8rem, 2vw, 1.2rem); }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid .span-2 { grid-column: span 2; aspect-ratio: 16/10; }
@media (max-width: 560px) { .gallery-grid .span-2 { grid-column: span 1; aspect-ratio: 4/3; } }

/* ===== 店家資訊卡 ===== */
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.store-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft); }
.store-card .sc-media { aspect-ratio: 16/9; }
.store-card .sc-media img { width: 100%; height: 100%; object-fit: cover; }
.store-card .sc-body { padding: 1.3rem 1.4rem 1.5rem; }
.store-card h3 { margin-bottom: .6rem; }
.store-card dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; margin: 0 0 1rem; font-size: .93rem; }
.store-card dt { color: var(--caramel); font-weight: 700; }
.store-card dd { margin: 0; color: var(--ink-soft); }

/* ===== 營業時間 ===== */
.hours-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .2rem;
  border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--ink); font-weight: 600; }
.hours-list .time { color: var(--ink-soft); }
.hours-list li.closed .time { color: #b04b3a; font-weight: 600; }

/* ===== 統計數據 ===== */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1rem; }
.stat .num { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--espresso); line-height: 1; }
.stat .label { font-size: .88rem; color: var(--ink-soft); margin-top: .4rem; }

/* ===== 特色清單 / 標籤 ===== */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.feature-list li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--caramel); font-weight: 700; }
.check-badges { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.check-badges li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
  padding: .45em 1em; font-size: .88rem; color: var(--espresso); font-weight: 600; margin: 0; }

/* ===== FAQ ===== */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 600; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--caramel); font-size: 1.2rem; flex: none; }
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { color: var(--espresso); }
.faq .faq-a { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* ===== 見證 / 顧客回饋 ===== */
.testi-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; padding: 1.5rem 1.6rem 1.6rem; }
.testi blockquote { margin: 0 0 .9rem; font-size: 1.02rem; color: var(--ink); font-family: var(--serif); line-height: 1.65; }
.testi .stars { color: var(--caramel); letter-spacing: .1em; margin-bottom: .6rem; }
.testi .who { font-weight: 700; color: var(--espresso); }
.testi .who span { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-soft); }

/* ===== 跨頁推薦 ===== */
.also-for { background: var(--espresso-800); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 5vw, 3rem); }
.also-for h2 { color: #fff; }
.also-for .lead { color: rgba(255,255,255,.85); }
.also-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.also-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; color: #fff; }
.also-card:hover { background: rgba(255,255,255,.13); text-decoration: none; }
.also-card h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.also-card p { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; }
.also-card .go { color: var(--caramel-soft); font-weight: 600; font-size: .9rem; margin-top: auto; }

/* ===== CTA 區塊 ===== */
.cta-band { background: linear-gradient(120deg, var(--espresso), var(--espresso-800)); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 46ch; margin-inline: auto; }

/* ===== 消息 / 部落格列表 ===== */
.post-list { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-soft); }
.post .thumb { aspect-ratio: 16/9; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post .tag { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--caramel); font-weight: 700; }
.post h3 { font-size: 1.1rem; margin: 0; }
.post time { font-size: .8rem; color: var(--ink-soft); }
.post p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.post .card-foot { margin-top: auto; }

/* ===== 聯絡 / 地圖 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.map-embed { border: 0; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.info-list li { display: flex; gap: .8rem; align-items: flex-start; margin: 0; }
.info-list .ico { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--bg-alt);
  color: var(--espresso); display: grid; place-items: center; font-weight: 700; }
.info-list .k { font-weight: 700; color: var(--ink); }
.info-list .v { color: var(--ink-soft); }
.info-list a { color: var(--coffee); }

/* ===== 表單 ===== */
.form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow-soft); }
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: .35rem; }
.form input, .form textarea, .form select { font: inherit; padding: .7em .9em; border: 1px solid var(--line-strong);
  border-radius: 10px; background: var(--bg); color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-size: .8rem; color: var(--ink-soft); font-weight: 400; }

/* ===== 頁尾 ===== */
.site-footer { background: var(--espresso-800); color: rgba(255,255,255,.82); margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 4rem); }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 1rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .brand-o { border-color: var(--caramel); color: #fff; background: rgba(255,255,255,.06); }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.7); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.footer-links li { margin: 0; }
.footer-contact { font-size: .9rem; display: grid; gap: .5rem; }
.social-row { display: flex; gap: .6rem; margin-top: .8rem; }
.social-row a { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgba(255,255,255,.1);
  display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.social-row a:hover { background: var(--caramel); color: var(--espresso-800); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.2rem; font-size: .82rem;
  color: rgba(255,255,255,.6); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== 通用工具 ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1.1rem; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 5vw, 3.5rem); }
.pill-note { display: inline-block; background: var(--bg-alt); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: .4em 1em; font-size: .85rem; color: var(--ink-soft); }
.notice { background: #fbf3e2; border: 1px solid var(--caramel-soft); border-radius: var(--radius);
  padding: 1rem 1.2rem; color: #6b5321; font-size: .95rem; }

@media (max-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .pillars { grid-template-columns: 1fr; } }
