/* ==========================================================
   天氣晴 Sunny Day Café — 全站共用樣式
   設計關鍵字：活潑、溫馨、晴朗
   ========================================================== */

/* ---------- 1. 設計變數 ---------- */
:root {
  /* 主色：晴天黃 */
  --sun: #ffc93c;
  --sun-deep: #f5a623;
  --sun-soft: #fff1c7;
  /* 強調色：暖珊瑚（主要按鈕） */
  --coral: #ff7a59;
  --coral-deep: #e85f3f;
  --coral-soft: #ffe3da;
  /* 輔助色：天空藍、葉綠 */
  --sky: #5bbce8;
  --sky-soft: #e4f5fc;
  --leaf: #6dbb75;
  --leaf-soft: #e5f4e3;
  /* 中性色 */
  --cream: #fff8ec;
  --white: #ffffff;
  --ink: #3b2f2a;
  --ink-soft: #6b5b53;
  --line: #f0e2cc;

  /* 字體 */
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-accent: "Fredoka", "Noto Sans TC", system-ui, sans-serif;

  /* 字級階層（流體字級） */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.6vw, 3.25rem);

  /* 間距 */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1.125rem, 4vw, 2rem);

  /* 版面 */
  --container: 72rem;
  --container-narrow: 48rem;
  --header-h: 4.5rem;

  /* 圓角與陰影 */
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(122, 80, 30, 0.08);
  --shadow: 0 10px 30px rgba(122, 80, 30, 0.12);
  --shadow-lg: 0 18px 50px rgba(122, 80, 30, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. 基礎重設 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--coral-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-2);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.02em;
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p {
  margin: 0 0 var(--space-2);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.5em 1em;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 3. 版面容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--white { background: var(--white); }
.section--sun { background: var(--sun-soft); }
.section--sky { background: var(--sky-soft); }
.section--coral { background: var(--coral-soft); }

.section-head {
  max-width: 40rem;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-head p {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: var(--space-1);
  font-family: var(--font-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun-deep);
}

.eyebrow::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px var(--sun-soft);
}

.lead {
  font-size: var(--fs-md);
  color: var(--ink-soft);
}

.text-center { text-align: center; }

.section-action {
  margin: var(--space-5) 0 0;
  text-align: center;
}

/* 格線：自動換行的響應式欄位 */
.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3,
.grid--4 { grid-template-columns: 1fr; }

/* 固定欄數斷點，避免 3+1、2+1 落單排列 */
@media (min-width: 34rem) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 46rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 64rem) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.grid--loose { gap: clamp(3rem, 7vw, 5.5rem); }

/* 圖文左右排列 */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .split--reverse .split-media {
    order: 2;
  }
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-media::before {
  content: "";
  position: absolute;
  inset: auto auto -1rem -1rem;
  width: 45%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: var(--sun);
  z-index: -1;
}

@media (max-width: 48rem) {
  .split-media::before {
    left: 1rem;
    bottom: -0.75rem;
  }
}

.split-body .info-list {
  gap: var(--space-2);
  margin-block: var(--space-3) var(--space-4);
}

.split-body > .tag {
  margin-bottom: var(--space-1);
}

.split-body .stats {
  margin-block: var(--space-4);
}

.split-body > :last-child {
  margin-bottom: 0;
}

/* ---------- 4. 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(255, 122, 89, 0.35);
}

.btn--primary:hover {
  background: var(--coral-deep);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 122, 89, 0.4);
}

.btn--sun {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.3);
}

.btn--sun:hover {
  background: var(--sun-deep);
  color: var(--ink);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--sm {
  padding: 0.55em 1.2em;
  font-size: var(--fs-sm);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn-group--center {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 700;
  color: var(--coral-deep);
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- 5. 頁首與導覽 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--sun);
  transition: transform 0.6s var(--ease);
}

.brand:hover .logo-mark {
  transform: rotate(45deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-text small {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sun-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.site-nav ul a {
  position: relative;
  display: block;
  padding: 0.5em 0.85em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav ul a:hover {
  background: var(--sun-soft);
  color: var(--ink);
}

.site-nav ul a[aria-current="page"] {
  background: var(--sun);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sun);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 1.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span:nth-child(1) { top: calc(50% - 6px); }
.nav-toggle span:nth-child(2) { top: calc(50% - 1px); }
.nav-toggle span:nth-child(3) { top: calc(50% + 4px); }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

@media (max-width: 56rem) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    padding: var(--space-2) var(--gutter) var(--space-3);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav ul a {
    padding: 0.75em 1em;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    align-self: flex-start;
  }
}

/* ---------- 6. 首頁主視覺 Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(32rem, 82vh, 46rem);
  padding-block: clamp(4rem, 8vw, 6rem) clamp(5rem, 10vw, 8rem);
  background-color: var(--sun-soft);
  background-image:
    linear-gradient(90deg, rgba(255, 248, 236, 0.96) 0%, rgba(255, 248, 236, 0.86) 38%, rgba(255, 248, 236, 0.15) 68%, rgba(255, 248, 236, 0) 100%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.hero h1 {
  margin-bottom: var(--space-2);
}

.hero h1 .highlight {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.08em;
  height: 0.38em;
  border-radius: var(--radius-pill);
  background: var(--sun);
  z-index: -1;
}

.hero .lead {
  margin-bottom: var(--space-4);
  max-width: 30rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-4);
  list-style: none;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* 太陽與雲朵裝飾 */
.deco-sun {
  position: absolute;
  top: clamp(1.5rem, 6vw, 4rem);
  right: clamp(1rem, 6vw, 5rem);
  width: clamp(4.5rem, 10vw, 7.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun) 55%, rgba(255, 201, 60, 0.35) 56%, rgba(255, 201, 60, 0) 72%);
  animation: sun-pulse 5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.deco-cloud {
  position: absolute;
  width: clamp(6rem, 14vw, 10rem);
  height: clamp(2rem, 4.5vw, 3.2rem);
  border-radius: var(--radius-pill);
  background: var(--white);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
  animation: cloud-drift 14s ease-in-out infinite alternate;
}

.deco-cloud::before,
.deco-cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.deco-cloud::before {
  width: 45%;
  aspect-ratio: 1;
  left: 15%;
  bottom: 35%;
}

.deco-cloud::after {
  width: 35%;
  aspect-ratio: 1;
  right: 18%;
  bottom: 40%;
}

.deco-cloud--1 { top: 18%; right: 22%; }
.deco-cloud--2 { bottom: 26%; right: 6%; transform: scale(0.7); animation-duration: 18s; }

@keyframes sun-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes cloud-drift {
  from { translate: 0 0; }
  to { translate: -2.5rem 0; }
}

/* 區塊底部波浪 */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(2.5rem, 6vw, 5rem);
  color: var(--cream);
  z-index: 2;
  pointer-events: none;
}

.wave--white { color: var(--white); }

@media (max-width: 48rem) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(255, 248, 236, 0.92) 0%, rgba(255, 248, 236, 0.85) 55%, rgba(255, 248, 236, 0.55) 100%),
      url("../images/hero.jpg");
    background-position: 70% center;
  }

  .deco-cloud--1 { display: none; }
}

/* ---------- 7. 內頁橫幅 Page Hero ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(4rem, 9vw, 6.5rem) clamp(5rem, 10vw, 7.5rem);
  background-color: var(--sun-soft);
  background-image:
    linear-gradient(90deg, rgba(255, 248, 236, 0.95) 0%, rgba(255, 248, 236, 0.82) 45%, rgba(255, 248, 236, 0.25) 100%),
    var(--bg, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 各內頁橫幅圖（集中於此管理，路徑相對於本樣式表） */
.page-hero--about { --bg: url("../images/about-space.jpg"); }
.page-hero--menu { --bg: url("../images/menu-brunch.jpg"); }
.page-hero--news { --bg: url("../images/news-market.jpg"); }
.page-hero--contact { --bg: url("../images/contact-storefront.jpg"); }

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.page-hero h1 {
  margin-bottom: var(--space-1);
}

.page-hero p {
  margin-bottom: 0;
  font-size: var(--fs-md);
  color: var(--ink-soft);
}

.breadcrumb {
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4em;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--coral-deep);
}

.breadcrumb [aria-current="page"] {
  font-weight: 700;
}

@media (max-width: 48rem) {
  .page-hero {
    background-image:
      linear-gradient(180deg, rgba(255, 248, 236, 0.93) 0%, rgba(255, 248, 236, 0.8) 100%),
      var(--bg, none);
  }
}

/* ---------- 8. 特色區 Feature ---------- */
.feature {
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  background: var(--sun-soft);
  font-size: 2rem;
  line-height: 1;
}

.feature:nth-child(3n + 2) .feature-icon { background: var(--sky-soft); }
.feature:nth-child(3n + 3) .feature-icon { background: var(--coral-soft); }

.feature h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-1);
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

/* ---------- 9. 卡片 Card ---------- */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sun-soft);
}

.card-media--square {
  aspect-ratio: 1;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-media .tag {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--space-3);
}

.card-body h3 {
  font-size: var(--fs-md);
  margin-bottom: 0.4rem;
}

.card-body p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px dashed var(--line);
}

.price {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--coral-deep);
  white-space: nowrap;
}

.price::before {
  content: "NT$ ";
  font-size: 0.8em;
}

/* 標籤 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.25em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--sun);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
}

.tag--coral { background: var(--coral); color: var(--white); }
.tag--sky { background: var(--sky); color: var(--white); }
.tag--leaf { background: var(--leaf); color: var(--white); }
.tag--soft { background: var(--sun-soft); color: var(--ink); }

/* ---------- 10. 菜單 Menu ---------- */
.chip-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: var(--space-5);
  list-style: none;
}

.chip-nav a {
  display: inline-block;
  padding: 0.5em 1.2em;
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.chip-nav a:hover {
  border-color: var(--sun);
  background: var(--sun-soft);
  color: var(--ink);
}

.menu-category + .menu-category {
  margin-top: var(--section-y);
}

.menu-category-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.menu-category-head h2 {
  margin: 0;
}

.menu-category-head::after {
  content: "";
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 12px, transparent 12px 20px);
}

.menu-category-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--sun-soft);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.menu-layout > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 64rem) {
  .menu-layout > img {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.menu-list {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.menu-item {
  padding-bottom: var(--space-3);
  border-bottom: 1px dashed var(--line);
}

.menu-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.menu-item-head h3 {
  margin: 0;
  font-size: var(--fs-md);
}

.menu-item-head::after {
  content: "";
  flex: 1;
  order: 2;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-0.3em);
}

.menu-item-head .price {
  order: 3;
}

.menu-item p {
  margin: 0.35rem 0 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.menu-item .tag {
  margin-top: 0.5rem;
}

.menu-category + .note {
  margin-top: var(--space-5);
}

.note {
  margin-bottom: 0;
  padding: var(--space-2) var(--space-3);
  border-left: 4px solid var(--sun);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* ---------- 11. 顧客心聲 Testimonial ---------- */
.testimonial {
  position: relative;
  margin: 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -0.35em;
  left: 0.5em;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--sun);
}

.testimonial blockquote {
  margin: 0 0 var(--space-2);
}

.testimonial blockquote p {
  margin: 0;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.avatar {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--sun-soft);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stars {
  color: var(--sun-deep);
  letter-spacing: 0.1em;
}

/* ---------- 12. 數字亮點 Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr));
  gap: var(--space-2);
  list-style: none;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-accent);
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.1;
  color: var(--coral);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* ---------- 13. 時間軸 Timeline ---------- */
.timeline {
  position: relative;
  list-style: none;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.55rem;
  width: 3px;
  border-radius: 3px;
  background: var(--sun);
}

.timeline li {
  position: relative;
  padding-bottom: var(--space-3);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.95rem;
  top: 0.45rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 3px solid var(--sun);
  border-radius: 50%;
  background: var(--white);
}

.timeline-year {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--coral-deep);
}

.timeline h3 {
  font-size: var(--fs-md);
  margin: 0.15rem 0 0.25rem;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

/* ---------- 14. 相簿 Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sun-soft);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.06);
}

/* ---------- 15. CTA 橫幅 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--sun) 0%, #ffd866 55%, #ffb36b 100%);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.cta-band::before {
  width: 14rem;
  height: 14rem;
  top: -6rem;
  left: -4rem;
}

.cta-band::after {
  width: 10rem;
  height: 10rem;
  bottom: -5rem;
  right: -2rem;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: var(--space-1);
}

.cta-band p {
  max-width: 34rem;
  margin: 0 auto var(--space-3);
  color: var(--ink);
}

/* ---------- 16. 聯絡與表單 ---------- */
.info-list {
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.info-item {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--sun-soft);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-item h3 {
  margin: 0 0 0.15rem;
  font-size: var(--fs-base);
}

.info-item p {
  margin: 0;
  color: var(--ink-soft);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.hours-table th,
.hours-table td {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  text-align: left;
}

.hours-table td {
  text-align: right;
  color: var(--ink-soft);
}

.hours-table .is-closed td {
  color: var(--coral-deep);
  font-weight: 700;
}

.panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.panel > :last-child {
  margin-bottom: 0;
}

.panel > * + h3 {
  margin-top: var(--space-4);
}

.form {
  display: grid;
  gap: var(--space-3);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--space-3);
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 700;
  font-size: var(--fs-sm);
}

.form-field .required {
  color: var(--coral-deep);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75em 1em;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sun);
  background: var(--white);
}

.form-hint {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

.form-message {
  display: none;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--leaf-soft);
  color: var(--ink);
  font-weight: 600;
}

.form-message.is-visible {
  display: block;
}

.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.map-card img {
  flex: 1 1 15rem;
  width: 100%;
  min-height: 15rem;
  object-fit: cover;
}

.map-card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--white);
}

.map-card-body p {
  margin: 0;
}

/* 常見問題 */
.faq {
  display: grid;
  gap: var(--space-2);
}

.faq details {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  position: relative;
  padding: var(--space-2) 3.25rem var(--space-2) var(--space-3);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--sun-deep);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 var(--space-3) var(--space-3);
  color: var(--ink-soft);
}

/* ---------- 17. 頁尾 ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--ink);
  color: #f3e8dc;
}

.site-footer a {
  color: #f3e8dc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sun);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
}

@media (min-width: 34rem) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 60rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand .brand,
.footer-brand .brand:hover {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: #d8c9ba;
}

.footer-title {
  margin-bottom: var(--space-2);
  font-size: var(--fs-base);
  color: var(--sun);
}

.footer-links,
.footer-hours {
  display: grid;
  gap: 0.4rem;
  list-style: none;
  font-size: var(--fs-sm);
}

.footer-hours li {
  color: #d8c9ba;
}

.site-footer address {
  display: grid;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  color: #d8c9ba;
}

.social {
  display: flex;
  gap: 0.6rem;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}

.social a:hover {
  background: var(--sun);
  color: var(--ink);
  transform: translateY(-3px);
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-2);
  padding-block: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  color: #bfae9e;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 18. 捲動進場動畫 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 19. 小螢幕微調 ---------- */
@media (max-width: 30rem) {
  .btn-group .btn {
    flex: 1 1 100%;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .logo-mark {
    width: 2.2rem;
    height: 2.2rem;
  }
}
