/* ==========================================================================
   萬花筒窗簾工程行 — 設計系統
   色票沿用 Claude Design 稿的 oklch 值，統一收成 CSS 變數。
   ========================================================================== */

:root {
  --bg:          oklch(0.97 0.012 235);
  --surface:     oklch(0.985 0.008 235);
  --band-mint:   oklch(0.95 0.02 150);
  --band-pink:   oklch(0.94 0.025 350);

  --ink:         oklch(0.32 0.02 250);
  --ink-strong:  oklch(0.3 0.03 250);
  --ink-nav:     oklch(0.34 0.03 250);
  --ink-card:    oklch(0.32 0.03 250);
  --body:        oklch(0.4 0.015 240);
  --muted:       oklch(0.5 0.015 240);
  --muted-2:     oklch(0.46 0.015 240);

  --accent:      oklch(0.74 0.1 350);
  --accent-mid:  oklch(0.62 0.1 350);
  --accent-link: oklch(0.55 0.11 350);
  --accent-deep: oklch(0.45 0.12 350);
  --on-accent:   oklch(0.985 0.01 235);

  --line:        oklch(0.87 0.02 235);
  --line-2:      oklch(0.84 0.02 235);

  --dark:        oklch(0.34 0.03 250);
  --footer:      oklch(0.28 0.03 250);
  --footer-card: oklch(0.32 0.03 250);
  --footer-fill: oklch(0.36 0.025 250);
  --footer-line: oklch(0.45 0.02 250);
  --footer-text: oklch(0.84 0.02 235);
  --footer-dim:  oklch(0.8 0.02 235);

  --spot-bg:     oklch(0.24 0.03 20);
  --spot-gold:   oklch(0.78 0.1 40);
  --spot-text:   oklch(0.82 0.01 235);

  --serif: 'Noto Serif TC', 'Songti TC', serif;
  --sans:  'Noto Sans TC', system-ui, -apple-system, 'Microsoft JhengHei', sans-serif;

  /* 招牌不規則圓角（設計稿的「布料」感） */
  --blob: 46px 18px 42px 20px / 22px 42px 18px 40px;
  --gutter: clamp(20px, 6vw, 60px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-link); text-decoration: none; }
a:hover { color: var(--accent-deep); }

img { max-width: 100%; }

button { font-family: inherit; }

/* 導覽元素為了讓爬蟲走得進來改成了真的 <a>，這裡把 <button>/<div> 的預設值補回去。
   有自己 color 的 class（.nav-link/.link-more/.area-chip/.card-cta…）優先權比裸 a 高，
   所以不必也不能在這裡蓋 color，會把它們的顏色洗掉。 */
a.btn, a.link-more, a.nav-link, a.area-chip, a.card-cta {
  display: inline-block; text-decoration: none;
}
a.btn { text-align: center; }
a.card, a.spotlight, a.need-card, a.article-card, a.brand, a.founder {
  color: inherit; text-decoration: none;
}

.page { min-height: 100vh; display: flex; flex-direction: column; }
#view { display: flex; flex-direction: column; }

/* --------------------------------------------------------------------------
   共用元件
   -------------------------------------------------------------------------- */

.btn {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: filter .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { filter: brightness(1.06); }

.btn-primary { background: var(--accent); color: var(--on-accent); padding: 14px 28px; font-size: 15px; }
.btn-primary.lg { padding: 16px 32px; font-size: 17px; }
.btn-primary.sm { padding: 10px 18px; font-size: 14px; }

.btn-ghost {
  background: transparent;
  color: var(--ink-nav);
  border: 2px solid var(--ink-nav);
  padding: 12px 26px;
  font-size: 15px;
}
.btn-ghost.lg { padding: 14px 30px; font-size: 17px; }
.btn-ghost.on-dark { color: var(--bg); border-color: var(--bg); }

.section { padding: 90px var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.section.mint { background: var(--band-mint); }
.section.tight { gap: 30px; }

.section-head {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; text-align: center;
}
.kicker {
  font-size: 14px; letter-spacing: 3px;
  color: var(--accent-mid); font-weight: 700;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 4.4vw, 32px);
  font-weight: 700; color: var(--ink-strong);
  line-height: 1.35; margin: 0;
}
.h1-page {
  font-family: var(--serif);
  font-size: clamp(27px, 5.6vw, 38px);
  font-weight: 700; color: var(--ink-strong);
  line-height: 1.35; margin: 0;
}
.lead { font-size: 16px; color: var(--muted); line-height: 1.8; }

.head-row {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 20px; flex-wrap: wrap;
}
.link-more {
  cursor: pointer; font-size: 15px; font-weight: 700;
  color: var(--accent-link);
  border-bottom: 1px solid var(--accent-link);
  padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0;
}

.grid { display: grid; gap: 24px; }
.grid.g220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.g240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.grid.g280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--blob);
  overflow: hidden;
}
.card.clickable { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.card.clickable:hover { transform: translateY(-3px); box-shadow: 0 14px 30px oklch(0 0 0 / .08); }

.card-img { width: 100%; object-fit: cover; display: block; background: var(--line); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.card-tag { font-size: 12.5px; color: var(--accent-mid); font-weight: 700; letter-spacing: 1px; }
.card-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink-card); line-height: 1.4; }
.card-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.card-cta { font-size: 13.5px; font-weight: 700; color: var(--accent-link); margin-top: 6px; }

.divider { height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   導覽列
   -------------------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.97 0.012 235 / .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
}
.nav-left { display: flex; align-items: center; gap: 20px; min-width: 0; }

.brand { display: flex; align-items: center; gap: 8px; cursor: pointer; flex-shrink: 0; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  letter-spacing: .5px; white-space: nowrap; color: var(--ink-nav);
}

/* 萬花筒 logo：六片花瓣 + 中心點 */
.logo { position: relative; width: 30px; height: 30px; flex-shrink: 0; }
.logo i {
  position: absolute; top: 50%; left: 50%;
  width: 6px; height: 14px; border-radius: 50%;
  transform-origin: 50% 100%;
}
.logo b {
  position: absolute; top: 50%; left: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--ink-nav);
  transform: translate(-50%, -50%);
}

.nav-links { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.nav-link {
  cursor: pointer; white-space: nowrap; padding: 6px 2px;
  border-bottom: 2px solid transparent;
  color: var(--muted-2); font-weight: 500;
  background: none; border-top: 0; border-left: 0; border-right: 0;
  font-size: 14px; font-family: inherit;
}
.nav-link:hover { border-bottom-color: var(--accent); }
.nav-link.active { color: var(--ink-nav); font-weight: 700; }

.nav-drop { position: relative; display: flex; align-items: center; }
.nav-caret {
  cursor: pointer; padding: 6px 4px; color: var(--muted-2); font-size: 12px;
  background: none; border: 0;
}
.dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 170px; box-shadow: 0 8px 24px oklch(0 0 0 / .1);
  z-index: 60;
}
.dropdown button,
.dropdown a {
  cursor: pointer; padding: 9px 14px; border-radius: 10px;
  font-size: 14px; color: var(--ink-nav); white-space: nowrap;
  background: none; border: 0; text-align: left; font-family: inherit;
}
.dropdown button:hover,
.dropdown a:hover { background: var(--band-mint); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--ink-nav);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle span + span { margin-top: 5px; }

/* --------------------------------------------------------------------------
   首頁 HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 90px var(--gutter);
  display: flex; align-items: center; flex-wrap: wrap;
  background: url('./assets/hero-fabric.jpg') right center / cover no-repeat;
}
.hero-panel {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  flex: 1 1 320px; min-width: 0; max-width: 640px;
  background: oklch(0.99 0.005 70 / .82);
  padding: 36px 40px; border-radius: 28px;
}
.hero-kicker { font-size: 15px; letter-spacing: 3px; color: var(--accent-mid); font-weight: 700; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.4; font-weight: 700; color: var(--ink-strong);
}
.hero-sub { font-size: 19px; color: var(--muted-2); max-width: 640px; line-height: 1.8; }
.hero-area { font-size: 15px; color: var(--muted); letter-spacing: 1px; }
.hero-actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.trust { display: flex; gap: 48px; margin-top: 36px; flex-wrap: wrap; }
.trust > div { display: flex; flex-direction: column; gap: 4px; }
.trust-title { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink-nav); }
.trust-desc { font-size: 14px; color: var(--muted); }

.wave { display: block; width: 100%; height: 50px; }
.banner-wide { width: 100%; display: block; }
/* banner-life.jpg 是 1600×800，標語佔中間約五成高度。
   原本寫死 height:280px，視窗越寬圖被放得越大、露出的比例就越小
   （1280px 寬時只看得到 44%），標語上下就被切掉。改用 aspect-ratio
   讓露出的比例固定在七成，不管螢幕多寬標語都完整。 */
.banner-strip {
  width: 100%; display: block;
  aspect-ratio: 1600 / 560;
  max-height: 560px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   精選：特殊藝術布窗簾
   -------------------------------------------------------------------------- */

.spotlight {
  cursor: pointer;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--spot-bg); border-radius: 32px; overflow: hidden;
}
.spotlight img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.spotlight-body {
  padding: 44px 48px; display: flex; flex-direction: column;
  justify-content: center; gap: 14px;
}
.spotlight-kicker { font-size: 13px; letter-spacing: 3px; color: var(--spot-gold); font-weight: 700; }
.spotlight-title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--bg); }
.spotlight-desc { font-size: 15px; color: var(--spot-text); line-height: 1.8; }
.spotlight-cta { font-size: 14px; font-weight: 700; color: var(--spot-gold); margin-top: 8px; }

/* --------------------------------------------------------------------------
   創辦人（首頁卡片版／關於我們介紹版）
   -------------------------------------------------------------------------- */

.founder { display: grid; align-items: center; }
.founder img { width: 100%; object-fit: cover; display: block; }
.founder-body { display: flex; flex-direction: column; gap: 12px; }

.founder-home {
  grid-template-columns: minmax(200px, 260px) 1fr; gap: 40px;
  background: var(--surface); border: 1px solid oklch(0.9 0.015 235);
  border-radius: 32px; padding: 44px 48px;
}
.founder-home img { height: 300px; border-radius: 24px; }

.founder-about { grid-template-columns: minmax(200px, 240px) 1fr; gap: 36px; }
.founder-about img { height: 280px; border-radius: 28px; }
.founder-about .founder-body { gap: 10px; }

.founder-kicker { font-size: 13px; letter-spacing: 3px; color: var(--accent-mid); font-weight: 700; }
.founder-title { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink-strong); }
.founder-name-lg { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--ink-strong); }
.founder-role { font-size: 14px; font-weight: 700; color: var(--accent-mid); }
.founder-bio { font-size: 15.5px; color: var(--muted); line-height: 1.9; max-width: 600px; }
.founder-sign { font-size: 14px; font-weight: 700; color: var(--body); margin-top: 6px; }
.founder-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.founder-pill {
  font-size: 13px; font-weight: 700; color: oklch(0.42 0.02 250);
  background: var(--band-pink); padding: 8px 16px; border-radius: 999px;
}

/* --------------------------------------------------------------------------
   首頁其餘區塊
   -------------------------------------------------------------------------- */

.need-card {
  cursor: pointer; display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--blob); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.need-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px oklch(0 0 0 / .08); }
.need-problem { font-size: 17px; font-weight: 700; color: var(--ink-card); line-height: 1.5; }
.need-solution { font-size: 14.5px; color: var(--accent-link); font-weight: 700; }

.why { display: flex; flex-direction: column; gap: 8px; }
.why-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink-card); }
.why-desc { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

.steps { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.step {
  flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px;
  padding: 0 16px; border-left: 1px solid var(--line);
}
.step-num { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--accent); }
.step-title { font-size: 16px; font-weight: 700; color: var(--ink-card); }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

.cta-banner {
  padding: 50px var(--gutter); background: var(--band-pink);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.cta-banner-text {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--ink-strong); max-width: 520px; line-height: 1.6;
}

.price-note { font-size: 15px; color: var(--muted); max-width: 600px; line-height: 1.8; }
.price-card {
  padding: 22px; background: var(--surface);
  border-radius: var(--blob); overflow: hidden; border: 1px solid var(--line);
  font-size: 15px; font-weight: 700; color: var(--ink-nav); line-height: 1.6;
}

.review-card {
  padding: 26px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--blob); overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.review-card.plain { border-radius: 0; padding: 20px; }
.stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: oklch(0.5 0.02 240); font-style: italic; line-height: 1.6; }
.review-note { text-align: center; font-size: 14px; color: var(--muted); }

.area-chips { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.area-chip {
  cursor: pointer; padding: 10px 22px; font-size: 15px;
  color: var(--ink-nav); border: 1px solid var(--line-2);
  background: var(--surface); font-weight: 500; font-family: inherit;
}
.area-chip.main { border-color: var(--accent); background: oklch(0.74 0.1 350 / .14); font-weight: 700; }

.article-card { cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.article-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 24px; display: block; }
.article-cat { font-size: 12px; color: var(--accent-mid); font-weight: 700; letter-spacing: 1px; }
.article-title { font-size: 16px; font-weight: 600; color: var(--ink-card); line-height: 1.5; }

.final-cta {
  padding: 100px var(--gutter); background: var(--dark);
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.final-cta h2 { font-family: var(--serif); font-size: clamp(26px, 5vw, 34px); font-weight: 700; color: var(--bg); margin: 0; }
.final-cta p { font-size: 17px; color: var(--footer-text); margin: 0; }
.final-cta .actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* --------------------------------------------------------------------------
   內頁
   -------------------------------------------------------------------------- */

.page-wrap {
  padding: 70px var(--gutter) 100px;
  display: flex; flex-direction: column; gap: 16px;
}
.page-wrap.narrow { max-width: 960px; gap: 24px; }
.page-wrap.narrower { max-width: 820px; gap: 20px; }

.article-body-wrap { padding: 60px var(--gutter) 100px; display: flex; flex-direction: column; align-items: center; }
.article-col { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 24px; }
.back-link {
  cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--accent-link);
  background: none; border: 0; padding: 0; text-align: left; font-family: inherit;
  align-self: flex-start;
}
.detail-hero { width: 100%; height: 360px; object-fit: cover; display: block; }
.detail-title { font-family: var(--serif); font-size: clamp(24px, 5vw, 32px); font-weight: 700; color: var(--ink-strong); line-height: 1.4; }
.detail-sub { font-size: 17px; color: oklch(0.42 0.02 250); line-height: 1.7; }
.detail-p { font-size: 16px; color: var(--body); line-height: 2; }
.detail-label { font-size: 16px; font-weight: 700; color: var(--ink-card); margin-top: 8px; }
.detail-list { display: flex; flex-direction: column; gap: 8px; }
.detail-list div { font-size: 15px; color: var(--body); line-height: 1.7; }
.detail-gallery { display: flex; flex-direction: column; gap: 16px; }
.detail-gallery img { width: 100%; height: 340px; object-fit: cover; border-radius: 18px; display: block; }
.advantage {
  margin-top: 8px; padding: 26px 28px; background: var(--band-pink);
  border-radius: 24px; display: flex; flex-direction: column; gap: 8px;
}
.advantage div { color: var(--ink-strong); line-height: 1.7; font-size: 15px; font-weight: 500; }
.advantage div.em { font-size: 19px; font-weight: 700; }

.rich { font-size: 16px; color: var(--body); line-height: 2; }
.rich h1 { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink-strong); line-height: 1.4; }
.rich h2 { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink-strong); line-height: 1.5; }
.rich p { margin: 0 0 1.1em; }
.rich ul, .rich ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.rich blockquote {
  margin: 1em 0; padding: 12px 20px;
  border-left: 3px solid var(--accent); background: var(--band-pink);
  border-radius: 0 12px 12px 0;
}
.rich img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 12px 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.rich td { border: 1px solid var(--line-2); padding: 8px; }

/* 匯入的 SEO 長文會用到 h3、表頭、粗體與行內連結 */
.rich h3 {
  font-family: var(--serif); font-size: 17.5px; font-weight: 700;
  color: var(--ink-strong); line-height: 1.6; margin: 1.6em 0 .6em;
}
.rich h2 { margin: 2em 0 .7em; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich th {
  border: 1px solid var(--line-2); padding: 8px; text-align: left;
  background: var(--band-mint); font-weight: 700; color: var(--ink-strong);
}
.rich strong { font-weight: 700; color: var(--ink-strong); }
.rich li { margin-bottom: .5em; }
.rich img { margin: 1.6em 0; }
/* 寬表格自己橫向捲，不要把整頁撐出橫捲軸 */
.rich .table-wrap { overflow-x: auto; margin: 1.2em 0; }
.rich .table-wrap table { margin: 0; min-width: 480px; }

.article-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.article-meta .cat { color: var(--accent-mid); font-weight: 700; letter-spacing: 1px; }

.inline-cta {
  margin-top: 16px; padding: 28px; background: var(--band-pink); border-radius: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.inline-cta-text { font-size: 15px; font-weight: 700; color: var(--ink-card); line-height: 1.6; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.related-card { cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
.related-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 16px; display: block; }
.related-card .cat { font-size: 11.5px; color: var(--accent-mid); font-weight: 700; }
.related-card .t { font-size: 14px; font-weight: 600; color: var(--ink-card); line-height: 1.4; }

.info-card {
  padding: 22px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--blob); overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.info-card .t { font-size: 17px; font-weight: 700; color: var(--ink-card); }
.info-card .d { font-size: 14px; color: var(--muted); line-height: 1.7; }

.quick-links { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.quick-links button,
.quick-links a {
  cursor: pointer; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 14px; font-weight: 700; color: var(--ink-nav); font-family: inherit;
}
.quick-links button:hover,
.quick-links a:hover { border-color: var(--accent); }

.filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter {
  cursor: pointer; padding: 7px 16px; border-radius: 999px;
  border: 1px solid oklch(0.88 0.012 235); background: transparent;
  font-size: 13px; font-weight: 500; color: var(--body); font-family: inherit;
}
.filter.active { border-color: var(--accent-mid); background: oklch(0.62 0.1 350 / .14); font-weight: 700; }

.case-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.case-card-body .title { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink-card); line-height: 1.4; }
.case-field { font-size: 14px; color: var(--muted); line-height: 1.7; }
.case-field b { color: oklch(0.4 0.02 250); }

.tags-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 20px; }
.tag-pill { padding: 8px 18px; border: 1px solid var(--line-2); font-size: 13.5px; color: oklch(0.44 0.015 240); }

.about-photo {
  width: 100%; height: clamp(220px, 40vw, 420px); object-fit: cover;
  border-radius: var(--blob); margin: 8px 0; display: block;
}

.svc-cta {
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  background: var(--band-pink); border-radius: 32px; padding: 50px 40px;
}
.svc-cta .t { font-family: var(--serif); font-size: clamp(22px, 4vw, 26px); font-weight: 700; color: var(--ink-strong); }
.svc-cta .d { font-size: 15.5px; color: oklch(0.42 0.02 250); max-width: 480px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   詢價表單
   -------------------------------------------------------------------------- */

.quote-wrap {
  padding: 70px var(--gutter) 100px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.quote-col { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 32px; }
.quote-q { display: flex; flex-direction: column; gap: 12px; }
.quote-q-label { font-size: 16px; font-weight: 700; color: var(--ink-card); }
.quote-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.quote-opt {
  cursor: pointer; padding: 10px 18px; font-size: 14px;
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink-nav); font-weight: 500; font-family: inherit;
}
.quote-opt.on { border-color: var(--accent); background: oklch(0.74 0.1 350 / .16); font-weight: 700; }
.quote-submit { padding: 18px; font-size: 17px; }
.quote-done {
  text-align: center; font-size: 14.5px; color: var(--accent-link);
  padding: 14px; border: 1px solid var(--accent); background: oklch(0.74 0.1 350 / .1);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   頁尾
   -------------------------------------------------------------------------- */

.footer {
  margin-top: auto; background: var(--footer); color: var(--footer-text);
  padding: 56px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px;
}
.footer-form {
  background: var(--footer-card);
  border-radius: 32px 12px 28px 14px / 16px 28px 12px 26px;
  padding: 36px 40px; display: flex; flex-direction: column; gap: 18px;
}
.footer-form h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--bg); margin: 0; }
.footer-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.footer-form input, .footer-form textarea {
  padding: 12px 16px; border: 1px solid var(--footer-line);
  background: var(--footer-fill); color: var(--bg); font-size: 14px;
  font-family: inherit;
}
.footer-form input { border-radius: 999px; }
.footer-form textarea { border-radius: 20px; resize: vertical; }
.footer-form input::placeholder, .footer-form textarea::placeholder { color: oklch(0.7 0.02 250); }
.footer-needs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-need {
  cursor: pointer; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--footer-line); background: var(--footer-fill);
  color: var(--bg); font-size: 13.5px; font-weight: 500; font-family: inherit;
}
.footer-need.on { border-color: var(--accent); background: oklch(0.74 0.1 350 / .25); font-weight: 700; }
.footer-sent { font-size: 13.5px; color: oklch(0.8 0.1 350); }

.footer-cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-brand .n { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--bg); }
.footer-brand .d { font-size: 13.5px; line-height: 1.8; color: var(--footer-dim); }
.footer-groups { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-group { display: flex; flex-direction: column; gap: 10px; }
.footer-group .h { font-size: 13px; font-weight: 700; color: var(--bg); letter-spacing: 1px; }
.footer-group button,
.footer-group a {
  cursor: pointer; white-space: nowrap; font-size: 13.5px; color: var(--footer-dim);
  background: none; border: 0; padding: 0; text-align: left; font-family: inherit;
}
.footer-group button:hover,
.footer-group a:hover { color: var(--bg); }
.footer-group .l { font-size: 13.5px; color: var(--footer-dim); }
.footer-group .l-link {
  cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--bg);
  background: none; border: 0; padding: 0; font-family: inherit;
}
.footer-group .l-link:hover { text-decoration: underline; }
.footer-copy {
  border-top: 1px solid oklch(0.4 0.02 250); padding-top: 20px;
  font-size: 12.5px; color: oklch(0.62 0.015 240);
}

/* 浮動 LINE 按鈕 */
.float-line {
  position: fixed; bottom: 28px; right: 28px; z-index: 80;
  display: flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--on-accent);
  padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 10px 28px oklch(0 0 0 / .18);
  cursor: pointer; font-size: 15px; font-weight: 700; border: 0; font-family: inherit;
}
.float-line i { width: 9px; height: 9px; border-radius: 50%; background: var(--on-accent); display: block; }

/* --------------------------------------------------------------------------
   響應式
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    box-shadow: 0 12px 24px oklch(0 0 0 / .08);
  }
  .nav-links.open { display: flex; }
  .nav-link {
    padding: 12px 0; border-bottom: 1px solid var(--line);
    text-align: left; width: 100%;
  }
  .nav-link:hover { border-bottom-color: var(--line); }
  .nav-drop { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .nav-drop > .nav-link { flex: 1; width: auto; }
  .nav-caret {
    padding: 12px 8px; font-size: 14px;
    border-bottom: 1px solid var(--line); align-self: stretch;
  }
  .dropdown {
    position: static; width: 100%; margin: 4px 0 8px;
    box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 0 12px; background: transparent;
  }
  .dropdown button,
  .dropdown a { padding: 10px 12px; font-size: 13.5px; color: var(--muted-2); }
  .nav { position: relative; }
  .nav .btn-primary { display: none; }
}

@media (max-width: 700px) {
  .section { padding: 60px var(--gutter); gap: 30px; }
  .hero { padding: 50px var(--gutter); }
  .hero-panel { padding: 28px 24px; }
  .hero-sub { font-size: 17px; }
  .trust { gap: 24px; margin-top: 24px; }
  .spotlight-body { padding: 32px 26px; }
  .founder-home, .founder-about { grid-template-columns: 1fr; gap: 24px; }
  .founder-home { padding: 28px 24px; }
  .founder-home img, .founder-about img { height: 320px; }
  .cta-banner { padding: 40px var(--gutter); }
  .final-cta { padding: 70px var(--gutter); }
  .page-wrap, .quote-wrap { padding: 50px var(--gutter) 80px; }
  .article-body-wrap { padding: 40px var(--gutter) 80px; }
  .detail-hero { height: 240px; }
  /* 窄螢幕直接用原圖比例，整張連標語都看得到，不必裁 */
  .banner-strip { aspect-ratio: 1600 / 800; max-height: none; }
  .footer { padding: 40px var(--gutter) 28px; }
  .footer-form { padding: 26px 22px; }
  .footer-groups { gap: 32px; }
  .steps { gap: 16px; }
  .step { flex: 1 1 100%; }
  .detail-gallery img { height: 220px; }
  .float-line { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 14px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .grid.g220, .grid.g240, .grid.g280 { grid-template-columns: 1fr; }
}

/* 404 */
.notfound {
  padding: 120px var(--gutter) 100px;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.notfound p { color: var(--muted); max-width: 36em; line-height: 1.9; }
.notfound-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
