/**
 * 路徑：/public/contact-us/style.css
 * 說明：聯絡我們頁面樣式（與首頁同款 dark + orb，加入玻璃擬態多步驟表單）
 * 版本：v1.0
 */

:root {
  --bg: #0a0e17;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-focus: rgba(59, 130, 246, 0.55);
  --text: #f0f2f5;
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-tertiary: rgba(255, 255, 255, 0.40);
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-glow: rgba(59, 130, 246, 0.30);
  --violet: #8b5cf6;
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #ef4444;
  --cyan: #06b6d4;
  --shadow-card: 0 20px 60px -12px rgba(0, 0, 0, 0.45), 0 8px 24px -8px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef2f8;
    --surface: rgba(255, 255, 255, 0.85);
    --surface-2: rgba(255, 255, 255, 0.95);
    --surface-hover: rgba(255, 255, 255, 1);
    --border: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(15, 23, 42, 0.18);
    --text: #0f172a;
    --text-secondary: rgba(15, 23, 42, 0.62);
    --text-tertiary: rgba(15, 23, 42, 0.40);
    --shadow-card: 0 20px 50px -12px rgba(15, 23, 42, 0.18), 0 6px 18px -8px rgba(15, 23, 42, 0.10);
  }
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-font-smoothing: antialiased; }
body {
  min-height: 100%;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- 動態背景 ---------- */
.bg-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-orbs  { position: absolute; inset: -30%; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: float 20s ease-in-out infinite; }
.orb-1 { width: 600px; height: 600px; top: -10%; left: -5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 70%); }
.orb-2 { width: 500px; height: 500px; top: 50%; right: -10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
  animation-delay: -7s; animation-duration: 25s; }
.orb-3 { width: 450px; height: 450px; bottom: -15%; left: 30%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 70%);
  animation-delay: -13s; animation-duration: 22s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -25px) scale(1.05); }
  66%      { transform: translate(-20px, 15px) scale(0.97); }
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}
.bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}
@media (prefers-color-scheme: light) {
  .orb-1 { background: radial-gradient(circle, rgba(59, 130, 246, 0.10), transparent 70%); }
  .orb-2 { background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%); }
  .orb-3 { background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 70%); }
  .bg-grid {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  }
}

/* ---------- 版面骨架 ---------- */
.page { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 16px 24px 80px; }

/* ---------- Hero ---------- */
.hero { text-align: center; margin-top: 0; margin-bottom: 36px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 18px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.24);
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.55;transform:scale(.85)} }
.hero h1 {
  font-size: clamp(32px, 3.8vw, 54px); font-weight: 800; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--text) 0%, var(--blue-2) 60%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.hero p { font-size: clamp(15px, 1.7vw, 18px); color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* 品牌標語 — 簡潔深藍、適中大小 */
.hero-slogan {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #1e40af;
}
.hero-slogan::before,
.hero-slogan::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #1e40af 100%);
}
.hero-slogan::after {
  background: linear-gradient(90deg, #1e40af 0%, transparent 100%);
}

/* ---------- 內容容器（單欄置中流式） ---------- */
.content { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }

/* 表單卡：置中、寬版（與 info-row / map-section 同寬 1080） */
.form-card { width: 100%; max-width: 1080px; margin: 0 auto; }

/* 4 欄資訊區（公司資訊 / 聯絡 / 營業 / 社群）— 寬版置中 */
.info-row {
  width: 100%; max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.info-row > .card { display: flex; flex-direction: column; }
@media (max-width: 1000px) { .info-row { grid-template-columns: repeat(2, 1fr); max-width: 720px; } }
@media (max-width: 560px)  { .info-row { grid-template-columns: 1fr; } }

/* 地圖區：寬版置中 */
.map-section { width: 100%; max-width: 1080px; margin: 0 auto; }

/* ---------- 卡片通用 ---------- */
.card {
  background: var(--surface);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* ---------- 表單卡 ---------- */
.form-card {
  padding: 36px 32px;
  position: relative;
  /* 預設主色（active 狀態用） */
  --acc: #3b82f6;
  --acc-light: #60a5fa;
  --acc-glow: rgba(59,130,246,.30);
  --acc-bg: rgba(59,130,246,.10);
}
@media (max-width: 600px) { .form-card { padding: 26px 20px; } }

/* 表單卡頂部 4 色漸層光條（呼應下方 4 色資訊卡） */
.form-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 7px; border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg,
    #3b82f6 0%, #3b82f6 25%,
    #10b981 25%, #10b981 50%,
    #f59e0b 50%, #f59e0b 75%,
    #8b5cf6 75%, #8b5cf6 100%);
  opacity: 1;
  box-shadow: 0 6px 18px -4px rgba(99, 102, 241, .35);
}

.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 28px; }
.step {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 14px; border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(248,250,252,.85) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 -1px 0 rgba(15,23,42,.04) inset,
    0 1px 2px rgba(15,23,42,.04);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  font-size: 13px;
}
.step .step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  color: #64748b;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 -1px 0 rgba(15,23,42,.06) inset,
    0 1px 2px rgba(15,23,42,.08);
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
/* 每個 step 各自的主題色 token */
.step:nth-child(1) { --st: #3b82f6; --st-bg: rgba(59,130,246,.18); --st-bd: rgba(59,130,246,.65); --st-glow: rgba(59,130,246,.45); }
.step:nth-child(2) { --st: #10b981; --st-bg: rgba(16,185,129,.18); --st-bd: rgba(16,185,129,.65); --st-glow: rgba(16,185,129,.45); }
.step:nth-child(3) { --st: #f59e0b; --st-bg: rgba(245,158,11,.20); --st-bd: rgba(245,158,11,.70); --st-glow: rgba(245,158,11,.50); }
.step:nth-child(4) { --st: #8b5cf6; --st-bg: rgba(139,92,246,.18); --st-bd: rgba(139,92,246,.65); --st-glow: rgba(139,92,246,.45); }
.step:nth-child(5) { --st: #0ea5e9; --st-bg: rgba(14,165,233,.18); --st-bd: rgba(14,165,233,.65); --st-glow: rgba(14,165,233,.45); }

.step.active {
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, var(--st-bg) 100%);
  border-color: var(--st-bd);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 -1px 0 var(--st-bd) inset,
    0 8px 24px -8px var(--st-glow),
    0 2px 6px -2px var(--st-glow);
  transform: translateY(-1px);
}
.step.active .step-label { color: var(--st); font-weight: 700; }
.step.active .step-num {
  background: linear-gradient(180deg, var(--st) 0%, color-mix(in srgb, var(--st) 75%, black) 100%);
  color: white;
  box-shadow:
    0 0 0 5px var(--st-glow),
    0 1px 0 rgba(255,255,255,.45) inset,
    0 -2px 0 rgba(0,0,0,.18) inset,
    0 6px 14px -2px var(--st-glow),
    0 3px 6px -1px rgba(15,23,42,.20);
  transform: scale(1.12);
}
.step.done .step-num {
  background: linear-gradient(180deg, var(--st) 0%, color-mix(in srgb, var(--st) 80%, black) 100%);
  color: white;
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 -1px 0 rgba(0,0,0,.15) inset,
    0 3px 8px -2px var(--st-glow);
}
.step.done .step-label { color: var(--st); }
.step.done .step-num::after { content: "✓"; }
.step.done .step-num span { display: none; }
.step-label { color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step.active .step-label, .step.done .step-label { color: var(--text); }
@media (max-width: 600px) {
  .step-label { display: none; }
  .step { justify-content: center; padding: 10px; }
}

.panel { display: none; animation: fadeUp .3s ease; }
.panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.panel-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.panel-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--rose); margin-left: 3px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px; font-size: 16px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  outline: none; transition: all .2s;
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--border-hover); }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--border-focus); background: var(--surface-hover);
  box-shadow: 0 0 0 4px var(--blue-glow);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* 第 3 步依需求類型動態顯示的欄位組 */
.svc-detail { display: none; }
.svc-detail.active { display: block; animation: svcFade .25s ease; }
@keyframes svcFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field-hint { font-size: 12px; color: var(--text-tertiary); margin-top: 6px; }
.field-error { font-size: 12px; color: var(--rose); margin-top: 6px; display: none; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
.field.has-error .field-error { display: block; }

/* ---------- 服務類型卡 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.service-card {
  position: relative; padding: 18px 14px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface-2);
  text-align: left; transition: all .2s;
  display: flex; flex-direction: column; gap: 8px;
}
.service-card:hover { border-color: var(--border-hover); background: var(--surface-hover); transform: translateY(-2px); }
.service-card input { position: absolute; opacity: 0; pointer-events: none; }
.service-card .svc-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.12); color: var(--blue-2);
}
.service-card .svc-name { font-size: 14px; font-weight: 600; color: var(--text); }
.service-card .svc-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.service-card.checked {
  border-color: var(--blue); background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 0 4px var(--blue-glow);
}
.service-card.checked .svc-ico { background: var(--blue); color: white; }

/* ---------- 偏好聯絡方式 (radio chip) ---------- */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  font-size: 14px; font-weight: 600;
  color: #475569; cursor: pointer;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 -1px 0 rgba(15,23,42,.06) inset,
    0 2px 4px rgba(15,23,42,.06),
    0 1px 2px rgba(15,23,42,.04);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover {
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 -1px 0 rgba(15,23,42,.08) inset,
    0 6px 12px rgba(15,23,42,.10),
    0 2px 4px rgba(15,23,42,.06);
}
.chip:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 2px rgba(15,23,42,.10) inset,
    0 1px 2px rgba(15,23,42,.06);
}
.chip.checked {
  border-color: #1d4ed8;
  background: linear-gradient(180deg, #4f8cf6 0%, #2563eb 100%);
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,.45) inset,
    0 -2px 0 rgba(0,0,0,.15) inset,
    0 6px 16px -4px rgba(59,130,246,.55),
    0 2px 6px -1px rgba(15,23,42,.20);
}
.chip.checked:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 -2px 0 rgba(0,0,0,.18) inset,
    0 10px 22px -6px rgba(59,130,246,.55),
    0 3px 8px -1px rgba(15,23,42,.25);
}

/* ---------- 同意 ---------- */
.consent { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.consent-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- 步驟按鈕 ---------- */
.step-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.btn {
  padding: 12px 22px; border-radius: 12px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s; cursor: pointer;
}
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text-secondary); }
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); background: var(--surface-2); }
.btn-primary {
  background: linear-gradient(180deg, #4f8cf6 0%, #2563eb 100%);
  color: white;
  border: 1px solid #1d4ed8;
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 -2px 0 rgba(0,0,0,.18) inset,
    0 6px 18px -4px var(--blue-glow),
    0 2px 6px -1px rgba(15,23,42,.25);
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #5b95f8 0%, #2f6fef 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.45) inset,
    0 -2px 0 rgba(0,0,0,.20) inset,
    0 12px 28px -6px var(--blue-glow),
    0 4px 10px -2px rgba(15,23,42,.30);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.30) inset,
    0 -1px 0 rgba(0,0,0,.15) inset,
    0 2px 6px -2px var(--blue-glow);
}
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn .spin { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.3); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spin { display: inline-block; }
.btn.loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 摘要 (review step) ---------- */
.review-block { padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 14px; }
.review-block h4 { font-size: 12px; color: var(--text-tertiary); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.review-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.review-row:last-child { border-bottom: none; }
.review-row .k { color: var(--text-secondary); }
.review-row .v { color: var(--text); font-weight: 500; text-align: right; word-break: break-all; }
.review-block .msg-preview { color: var(--text); font-size: 14px; line-height: 1.7; white-space: pre-wrap; }

/* ---------- 成功狀態 ---------- */
.success-state { text-align: center; padding: 48px 24px 40px; }

/* 成功圖示：三層光暈 + 脈衝環 */
.success-icon {
  position: relative;
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 28px;
  background: linear-gradient(145deg, #34d399, #059669);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 12px rgba(16, 185, 129, 0.14),
    0 0 0 24px rgba(16, 185, 129, 0.06),
    0 20px 48px -8px rgba(16, 185, 129, 0.55),
    inset 0 2px 6px rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.2);
  animation: pop .6s cubic-bezier(.34, 1.56, .64, 1);
}
.success-icon::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  animation: ring-pulse 2.4s ease-out 0.6s infinite;
}
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ring-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.success-icon svg { width: 42px; height: 42px; color: white; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25)); }

.success-state h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.3px; }
.success-state p { color: var(--text-secondary); font-size: 15px; max-width: 360px; margin: 0 auto; }

/* 受理編號 — 票券浮卡 */
.success-meta {
  font-size: 12px; color: var(--text-tertiary); margin-top: 24px;
  padding: 14px 22px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow:
    0 6px 20px -6px rgba(0,0,0,0.35),
    0 2px 8px -2px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.08);
  letter-spacing: 0.02em;
}
.success-meta b {
  font-size: 14px; color: var(--text);
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  letter-spacing: 0.1em;
}

/* LINE CTA — 玻璃浮卡 */
.line-cta {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-top: 28px; padding: 24px 20px;
  background: linear-gradient(145deg, rgba(6,199,85,0.08), rgba(6,199,85,0.03));
  border: 1px solid rgba(6,199,85,0.18);
  border-top: 1px solid rgba(6,199,85,0.28);
  border-radius: 20px;
  box-shadow:
    0 12px 36px -8px rgba(6,199,85,0.14),
    0 4px 16px -4px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.line-cta-title { font-size: 13px; color: var(--text-secondary); margin: 0; font-weight: 500; }

/* QR Code 懸浮框 */
.line-qr-img {
  width: 160px; height: 160px; border-radius: 16px; display: block;
  box-shadow:
    0 12px 32px -6px rgba(0,0,0,0.5),
    0 4px 12px -2px rgba(0,0,0,0.3),
    0 0 0 3px rgba(255,255,255,0.12);
}
@media (prefers-color-scheme: light) {
  .line-qr-img { box-shadow: 0 8px 24px -4px rgba(0,0,0,0.18), 0 2px 8px -2px rgba(0,0,0,0.1), 0 0 0 2px rgba(0,0,0,0.06); }
}

/* LINE 按鈕 — 立體效果 */
.btn-line-add {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 14px;
  background: linear-gradient(145deg, #06C755, #04b34a);
  color: #ffffff; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all .18s;
  box-shadow:
    0 6px 20px -4px rgba(6,199,85,0.5),
    0 3px 0 #038f3d,
    inset 0 1px 0 rgba(255,255,255,0.22);
  letter-spacing: 0.01em;
}
.btn-line-add:hover {
  background: linear-gradient(145deg, #07d85e, #05c24f);
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px -6px rgba(6,199,85,0.6),
    0 3px 0 #038f3d,
    inset 0 1px 0 rgba(255,255,255,0.22);
  color: #ffffff;
}
.btn-line-add:active {
  transform: translateY(1px);
  box-shadow:
    0 3px 10px -4px rgba(6,199,85,0.4),
    0 1px 0 #038f3d,
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-line-add svg { flex-shrink: 0; }


/* ---------- 資訊卡片 ---------- */
.info-card {
  padding: 22px;
  position: relative;
  /* 主題色 token，由 [data-accent] 覆蓋；預設藍 */
  --acc:        #3b82f6;
  --acc-light:  #60a5fa;
  --acc-bg:     rgba(59, 130, 246, 0.12);
  --acc-bg-2:   rgba(59, 130, 246, 0.06);
  --acc-glow:   rgba(59, 130, 246, 0.30);
  --acc-border: rgba(59, 130, 246, 0.35);
}
.info-card[data-accent="blue"]    { --acc:#3b82f6; --acc-light:#60a5fa; --acc-bg:rgba(59,130,246,.13); --acc-bg-2:rgba(59,130,246,.06); --acc-glow:rgba(59,130,246,.30); --acc-border:rgba(59,130,246,.35); }
.info-card[data-accent="emerald"] { --acc:#10b981; --acc-light:#34d399; --acc-bg:rgba(16,185,129,.13); --acc-bg-2:rgba(16,185,129,.06); --acc-glow:rgba(16,185,129,.30); --acc-border:rgba(16,185,129,.35); }
.info-card[data-accent="amber"]   { --acc:#f59e0b; --acc-light:#fbbf24; --acc-bg:rgba(245,158,11,.14); --acc-bg-2:rgba(245,158,11,.06); --acc-glow:rgba(245,158,11,.32); --acc-border:rgba(245,158,11,.38); }
.info-card[data-accent="violet"]  { --acc:#8b5cf6; --acc-light:#a78bfa; --acc-bg:rgba(139,92,246,.13); --acc-bg-2:rgba(139,92,246,.06); --acc-glow:rgba(139,92,246,.30); --acc-border:rgba(139,92,246,.35); }

/* 卡片頂部主題色光條 */
.info-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 6px; border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--acc) 0%, var(--acc-light) 100%);
  opacity: 1;
  box-shadow: 0 4px 14px -4px var(--acc-glow);
}

.info-card h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  color: var(--text);
}
.info-card h3 .ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--acc-bg); color: var(--acc);
  box-shadow: 0 0 0 1px var(--acc-border) inset, 0 4px 10px -4px var(--acc-glow);
  display: flex; align-items: center; justify-content: center;
}
.info-card .contact-list,
.info-card .hours-list,
.info-card .social-row { flex: 1; }

/* 卡片內 .contact-row 圖示吃主題色 */
.info-card .contact-row .ico { background: var(--acc-bg-2); color: var(--acc); }
.info-card .contact-row:hover .ico { background: var(--acc-bg); }

.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: all .2s;
}
.contact-row:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateX(2px); }
.contact-row .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.04); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-row .meta { flex: 1; min-width: 0; }
.contact-row .lbl { font-size: 11px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-row .val { font-size: 14px; color: var(--text); font-weight: 500; word-break: break-all; }

.map-card { padding: 0; overflow: hidden; }
.map-card .map-wrap { aspect-ratio: 21 / 9; width: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map-card .map-wrap { aspect-ratio: 4 / 3; } }
.map-foot { padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.map-foot .addr { font-size: 14px; color: var(--text); font-weight: 500; }
.map-foot a { font-size: 13px; color: var(--blue-2); font-weight: 600; }
.map-foot a:hover { text-decoration: underline; }

.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
}
.social-btn {
  padding: 14px 8px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--text-secondary); transition: all .25s;
  min-height: 0;
}
.social-btn:hover {
  background: var(--surface-hover); border-color: var(--border-hover);
  color: var(--text); transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(15,23,42,.18);
}
.social-btn svg { width: 32px; height: 32px; transition: transform .25s; }
.social-btn:hover svg { transform: scale(1.08); }
.social-btn.line  { color: #06C755; }
.social-btn.fb    { color: #1877F2; }
.social-btn.yt    { color: #FF0033; }
.social-btn.phone { color: var(--emerald); }
.social-btn span { color: var(--text); }

.hours-list { display: flex; flex-direction: column; gap: 6px; }
.hours-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.hours-row .day { color: var(--text-secondary); }
.hours-row .time { color: var(--text); font-weight: 500; }
.hours-row.open .time { color: var(--acc); font-weight: 700; }
.hours-row.open .day { color: var(--acc); font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(100px);
  padding: 12px 20px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  z-index: 100;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s;
  opacity: 0; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.toast.error { border-color: rgba(239, 68, 68, 0.4); }
.toast.error .ico { color: var(--rose); }
.toast .ico { color: var(--emerald); }

/* ---------- Footer（仿官網 6 欄 + 底列） ---------- */
.site-footer {
  position: relative;
  margin-top: 60px;
  background: linear-gradient(180deg, #0267b9 0%, #014e8e 100%);
  color: #ffffff;
  z-index: 2;
  font-family: inherit;
}
.footer-inner {
  max-width: none;
  margin: 0 auto;
  padding: 56px 28px 40px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px 28px;
}
.footer-col { min-width: 0; }
.footer-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700;
  color: #ffffff;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  text-decoration: none;
  letter-spacing: .04em;
}
.footer-h::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255,255,255,.6);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s, transform .2s;
  display: inline-block;
}
.footer-col li a:hover { color: #ffffff; transform: translateX(3px); }

/* 底列：社群 + Copyright */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
}
.footer-bottom-inner {
  max-width: none;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-social { display: inline-flex; align-items: center; gap: 10px; }
.footer-social-label {
  font-size: 14px;
  color: #ffffff;
  margin-right: 6px;
  letter-spacing: .08em;
}
.footer-social-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #ffffff;
  transition: background .2s, transform .2s;
}
.footer-social-btn svg { width: 16px; height: 16px; display: block; }
.footer-social-btn:hover { background: #ffffff; color: #0267b9; transform: translateY(-2px); }

.footer-copy {
  display: inline-flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.footer-copy a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .2s;
}
.footer-copy a:hover { color: #ffffff; text-decoration: underline; }

/* 平板 */
@media (max-width: 1080px) {
  .footer-inner { padding: 40px 18px 28px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 30px 22px; }
  .footer-bottom-inner { padding: 16px 18px; }
}
/* 手機 */
@media (max-width: 600px) {
  .footer-inner { padding: 32px 16px 20px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .footer-h { font-size: 15px; padding-bottom: 10px; margin-bottom: 10px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom-inner {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-copy { font-size: 12px; gap: 12px; }
}

/* =================================================================
   官網導航列 + 左側 sidebar （仿 fonyuh.com.tw 視覺）
   ================================================================= */

/* ---------- 頂部 navbar（白底、扁平、94px 高） ---------- */
.site-navbar {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e5ecf2;
  box-shadow: 0 2px 12px -6px rgba(15, 23, 42, 0.08);
}
.navbar-inner {
  max-width: none;
  margin: 0 auto;
  height: 94px;
  display: flex; align-items: center;
  padding: 10px 28px;
  gap: 18px;
}

.navbar-burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  background: transparent; border: 1px solid #d4dde6; border-radius: 6px;
  cursor: pointer;
}
.navbar-burger span {
  display: block; width: 18px; height: 2px;
  background: #495057; border-radius: 1px;
  transition: transform .25s, opacity .25s;
}

.navbar-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.navbar-logo img { height: 74px; width: auto; display: block; }

.navbar-menu {
  display: flex; gap: 2px;
  flex: 1; justify-content: center;
  align-items: center;
  height: 100%;
}
.navbar-menu a {
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  height: 42px;
  color: #212529;
  font-weight: 400; font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.navbar-menu a:hover {
  color: #008fd0;
}
.navbar-menu a.active {
  background: #008fd0;
  color: #ffffff;
  font-weight: 500;
}

.navbar-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.navbar-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  color: #495057;
  text-decoration: none;
  font-size: 13px;
  transition: color .2s, background .2s;
  position: relative;
}
.navbar-icon:hover { color: #008fd0; background: rgba(0,143,208,.06); }
.navbar-cart, .navbar-icon[aria-label="比較"] {
  width: auto; padding: 0 10px; gap: 2px;
}
.cart-count { font-size: 13px; color: #495057; }
.navbar-icon:hover .cart-count { color: #008fd0; }
.navbar-line { color: #06C755; }
.navbar-line:hover { color: #06C755; background: rgba(6,199,85,.10); }

/* ---------- 兩欄 layout: sidebar + main ---------- */
.site-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 94px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  gap: 30px;
}

/* ---------- 左側 sidebar（仿官網 INFORMATIONS capsule） ---------- */
.site-sidebar {
  padding: 30px 0;
  position: sticky; top: 94px;
  height: calc(100vh - 94px);
  overflow-y: auto;
  z-index: 90;
}
.site-sidebar::-webkit-scrollbar { width: 6px; }
.site-sidebar::-webkit-scrollbar-thumb { background: rgba(15,23,42,.15); border-radius: 3px; }

.aside-inner {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 14px -4px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5ecf2;
}

/* sidebar 上方藍漸層 INFORMATIONS header */
.aside-header {
  position: relative;
  padding: 28px 30px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.45) 0%, transparent 60%),
    linear-gradient(135deg, #c9e4f6 0%, #b1d8f3 50%, #97cbef 100%);
  border-bottom: 1px solid #e5ecf2;
}
.aside-eyebrow {
  color: #0267b9;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 4px;
}
.aside-title {
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(0, 70, 130, 0.18);
}

/* 子項目列表 */
.aside-list {
  list-style: none; margin: 0; padding: 0;
  background: #ffffff;
}
.aside-list li {
  border-top: 1px solid #f1f5f9;
}
.aside-list li:first-child { border-top: none; }
.aside-list a {
  display: block;
  padding: 18px 30px;
  color: #212529;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s, background .2s;
  position: relative;
}
.aside-list a:hover {
  color: #008fd0;
  background: rgba(0, 143, 208, 0.04);
}
.aside-list a.active {
  color: #181818;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(0,143,208,.08), transparent);
}
.aside-list a.active::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 24px;
  background: #008fd0;
  border-radius: 0 2px 2px 0;
}

/* ---------- 右側 main ---------- */
.site-main {
  position: relative;
  min-width: 0;
  overflow-x: hidden;
}
.site-main .page {
  max-width: 100%;
  padding: 32px 0 80px;
}

/* 行動裝置遮罩 */
.sidebar-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 95;
  opacity: 0;
  transition: opacity .3s;
}

/* ---------- 平板 / 手機 RWD ---------- */
@media (max-width: 1199px) {
  .navbar-inner { height: 70px; padding: 6px 18px; }
  .navbar-logo img { height: 50px; }
  .navbar-burger { display: inline-flex; }
  .navbar-menu { display: none; }
  .navbar-icon[aria-label="搜尋"], .navbar-icon[aria-label="比較"] { display: none; }
  .cart-count { display: none; }

  .site-layout {
    grid-template-columns: 1fr;
    padding: 0 18px;
    gap: 0;
    min-height: calc(100vh - 70px);
  }

  .site-sidebar {
    position: fixed;
    left: -300px; top: 70px;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    z-index: 99;
    transition: left .3s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 8px 0 24px rgba(15, 23, 42, .25);
    padding: 18px;
  }

  body.sidebar-open .site-sidebar { left: 0; }
  body.sidebar-open .sidebar-backdrop { display: block; opacity: 1; }
  body.sidebar-open .navbar-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.sidebar-open .navbar-burger span:nth-child(2) { opacity: 0; }
  body.sidebar-open .navbar-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .navbar-inner { padding: 6px 12px; gap: 8px; }
  .navbar-logo img { height: 44px; }
}

/* =================================================================
   拆頁（2026-06-04）：聯絡我們頁＝資訊卡+地圖；聯絡表單頁＝表單置中收窄
   （form-card / info-row / map-section 皆沿用 base max-width:1080 置中）
   ================================================================= */
.page-form .form-card { max-width: 880px; }

/* =================================================================
   字級對齊官網內容頁 portfolio（2026-06-04）：放大偏小文字
   portfolio 基準：主標 58 / 子標 20 / 內文 18 / 次要 16 / 小描述 15 / eyebrow 13
   ================================================================= */
.hero h1 { font-size: clamp(34px, 4.2vw, 58px); }   /* 54→58 對齊 portfolio 主標 */
/* 聯絡我們頁・資訊卡群 */
.info-card h3 { font-size: 18px; }                  /* 14→18 卡片標題＝子標級 */
.info-card .contact-row .lbl { font-size: 13px; }   /* 11→13 */
.info-card .contact-row .val { font-size: 16px; }   /* 14→16 */
.hours-row { font-size: 15px; }                     /* 13→15 */
.social-btn { font-size: 14px; }                    /* 13→14 */
.map-foot .addr { font-size: 16px; }                /* 14→16 */
.map-foot a { font-size: 14px; }                    /* 13→14 */
/* 聯絡表單頁 */
.panel-sub { font-size: 15px; }                     /* 14→15 */
.service-card .svc-name { font-size: 15px; }        /* 14→15 */
.service-card .svc-desc { font-size: 13px; }        /* 12→13 */
.consent-text { font-size: 14px; }                  /* 13→14 */
/* 放大文字後，給聯絡資訊「值」更多橫向空間，避免 email/URL 折行 */
.info-card { padding: 20px 17px; }
.info-card .contact-row { padding: 9px 10px; gap: 10px; }
.info-card .contact-row .ico { width: 32px; height: 32px; }
.info-card .contact-row .val { word-break: break-word; overflow-wrap: anywhere; }
/* =================================================================
   寬螢幕排版對齊官網（2026-06-05）
   問題：舊版 .site-layout 鎖死 max-width:1440，內層 info-row/map 再鎖 1080，
        在 2K / 超寬螢幕只占畫面約 56%，左右大量留白 → 看起來字小、空、沒設計。
   官網內容頁是「側欄固定靠左 + 內容隨視窗縮放」(col-lg-10 ≈ 視窗寬 83%)，
        固定 1440 是當初在 1920 量的值，到 2560 就與官網差了 ~700px。
   改法：桌機 (>=1200) 讓 .site-layout 改為流式寬度（視窗 88%，上限 2200），
        內容區填滿主欄，與官網一致；手機 (<1200) 完全沿用原單欄規則不動。
   ================================================================= */
@media (min-width: 1200px) {
  .site-layout {
    width: min(88%, 2200px);
    max-width: none;
    padding: 0;
  }
  /* 資訊卡群 / 地圖填滿主欄，不再被 1080 夾在畫面中央 */
  .info-row,
  .map-section { max-width: none; }
  /* 聯絡表單維持易讀寬度（略放寬），於主欄置中 */
  .page-form .form-card { max-width: 960px; }
}

/* 超寬桌機 (>=1700)：資訊卡之間距離拉開、內容間距加大，避免被拉得太空 */
@media (min-width: 1700px) {
  .info-row { gap: 26px; }
  .content { gap: 34px; }
}
/* =================================================================
   聯絡表單頁右側資訊欄（2026-06-05）
   寬螢幕 (>=1200) 表單與資訊欄並排填滿主欄，避免表單孤零零置中、兩側空蕩；
   窄螢幕資訊欄堆疊到表單下方，行動裝置也能快速取得電話 / LINE。
   ================================================================= */
.form-aside { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.aside-card { padding: 20px 18px; }
.aside-card-h {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--text);
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.aside-card-h .ico {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,.12); color: var(--blue);
  box-shadow: 0 0 0 1px rgba(59,130,246,.30) inset, 0 4px 10px -4px rgba(59,130,246,.30);
}
.aside-contact {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 11px; margin-bottom: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: all .2s;
}
.aside-contact:hover { background: var(--surface-hover); border-color: var(--border-hover); transform: translateX(2px); }
.aside-contact .ac-ico {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,.10); color: var(--blue);
}
.ac-meta { display: flex; flex-direction: column; min-width: 0; }
.ac-lbl { font-size: 12px; color: var(--text-tertiary); letter-spacing: .02em; }
.ac-val { font-size: 15px; font-weight: 600; color: var(--text); word-break: break-word; overflow-wrap: anywhere; }
.aside-line-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 4px; padding: 12px; border-radius: 12px;
  background: linear-gradient(180deg, #06C755 0%, #04b34a 100%);
  color: #ffffff; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 18px -5px rgba(6,199,85,.55), 0 3px 0 #038f3d, inset 0 1px 0 rgba(255,255,255,.22);
  transition: all .18s;
}
.aside-line-btn:hover { transform: translateY(-2px); color: #ffffff; }
.aside-line-btn:active { transform: translateY(1px); box-shadow: 0 2px 8px -4px rgba(6,199,85,.4), 0 1px 0 #038f3d; }
.aside-promise .aside-card-h .ico { background: rgba(16,185,129,.14); color: var(--emerald); box-shadow: 0 0 0 1px rgba(16,185,129,.30) inset, 0 4px 10px -4px rgba(16,185,129,.30); }
.promise-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.promise-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.promise-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.18);
}
.aside-hours { font-size: 13px; color: var(--text-tertiary); padding-top: 12px; border-top: 1px solid var(--border); }

@media (min-width: 1200px) {
  .page-form .content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    max-width: 1340px;
    margin: 0 auto;
  }
  .page-form .form-card { max-width: 960px; }   /* 填滿左欄（覆蓋上方 960 設定） */
  .form-aside { margin-top: 0; position: sticky; top: 116px; }
}
/* =================================================================
   寬螢幕 Footer 收進內容帶（2026-06-05）
   問題：footer-inner / footer-bottom-inner 為 max-width:none，6 欄連結在
        2K/超寬螢幕被拉到畫面最左最右、邊到邊散開（99% 寬），看起來很空很醜。
   官網 footer 6 欄其實只占 ~81% 並置中（兩側留白）。
   改法：桌機 (>=1200) footer 內容收進與頁面內容相同的帶寬 min(88%,2200) 置中，
        欄位群聚、與上方內容對齊；底色仍維持整片滿版藍。手機規則不動。
   ================================================================= */
@media (min-width: 1200px) {
  .footer-inner {
    width: min(88%, 2200px);
    max-width: none;
    margin: 0 auto;
    padding: 56px 0 44px;
  }
  .footer-bottom-inner {
    width: min(88%, 2200px);
    max-width: none;
    margin: 0 auto;
    padding: 20px 0;
  }
}
/* =================================================================
   桌機整體放大字級（2026-06-05 老闆 2K 螢幕嫌「字真的太小」）
   排版寬度已對齊官網，但 2K 大螢幕上 16~18px 物理上偏小 → 桌機 (>=1200)
   把主要文字往上抬一級；手機 (<1200) 維持原字級不動（小螢幕原本剛好）。
   ================================================================= */
@media (min-width: 1200px) {
  /* 補助頁等 rem 基準文字一次抬升（多數補助頁文字用 rem） */
  html { font-size: 17px; }

  /* Hero */
  .hero h1 { font-size: clamp(44px, 4.4vw, 68px); }
  .hero p { font-size: 20px; }
  .hero-slogan { font-size: 16px; }

  /* 側欄 */
  .aside-title { font-size: 33px; }
  .aside-list a { font-size: 19px; }

  /* 資訊卡 */
  .info-card h3 { font-size: 20px; }
  .info-card .contact-row .lbl { font-size: 14px; }
  .info-card .contact-row .val { font-size: 18px; }
  .hours-row { font-size: 17px; }
  .social-btn { font-size: 15px; }
  .map-foot .addr { font-size: 17px; }
  .map-foot a { font-size: 15px; }

  /* 表單頁 */
  .panel-title { font-size: 23px; }
  .panel-sub { font-size: 16px; }
  .field label { font-size: 15px; }
  .input, .textarea, .select { font-size: 16.5px; }
  .service-card .svc-name { font-size: 16px; }
  .service-card .svc-desc { font-size: 13.5px; }
  .chip { font-size: 15px; }
  .consent-text { font-size: 14.5px; }
  .aside-card-h { font-size: 17px; }
  .ac-val { font-size: 16px; }
  .ac-lbl { font-size: 13px; }
  .promise-list li { font-size: 15px; }

  /* Footer */
  .footer-h { font-size: 18px; }
  .footer-col a { font-size: 16px; }
  .footer-social-label { font-size: 15px; }
  .footer-copy { font-size: 14.5px; }
}
/* =================================================================
   Footer 視覺對齊官網（2026-06-05 老闆：少連結 / 標題沒設計 / 偏暗）
   官網 footer：純色 #0267b9（不轉暗）、標題白 20px + 白點(無底線)、連結白 18px。
   原本問題：(1) `.footer-col a` 的 .82 透明蓋掉標題白色、字偏小 → 標題看起來沒設計
            (2) 漸層到 #014e8e + 底列壓黑 → 整體偏暗。
   ================================================================= */
.site-footer { background: #0267b9; }
.footer-bottom { background: rgba(0,0,0,.06); border-top: 1px solid rgba(255,255,255,.22); }

/* 標題：純白、加大、白點放大、去底線（對齊官網 .title + .point） */
.footer-col a.footer-h {
  color: #ffffff;
  font-weight: 500;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 16px;
  gap: 12px;
}
.footer-h::before { width: 7px; height: 7px; }

/* 連結：更亮的白、放大 */
.footer-col li a { color: rgba(255,255,255,.90); }
.footer-col li a:hover { color: #ffffff; transform: translateX(3px); }

@media (min-width: 1200px) {
  .footer-col a.footer-h { font-size: 20px; }
  .footer-col li a { font-size: 17px; }
}
/* 標題加回細底線分隔（官網標題下方也有淡分隔線，提升「有設計」感；比舊版 .22 更亮 .30） */
.footer-col a.footer-h {
  border-bottom: 1px solid rgba(255,255,255,.30);
  padding-bottom: 13px;
}
/* 手機 (<1200) 標題也要比連結大、才有階層（否則被 .footer-col a 壓成 13px） */
@media (max-width: 1199px) {
  .footer-col a.footer-h { font-size: 16px; }
}
/* =================================================================
   導航列 hover 下拉選單（2026-06-05 對齊官網：滑到主項目跳出子選單）
   官網 active/hover 是青色文字（非藍底方塊）；子選單白底 + 頂部青色條。
   只在桌機 (navbar-menu 顯示時) 生效；手機維持漢堡 + 側欄。
   ================================================================= */
.navbar-menu { gap: 0; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.navbar-menu .nav-item > a { display: inline-flex; align-items: center; height: 42px; }

/* active / hover：青色文字，不要藍底方塊 */
.navbar-menu .nav-item > a.active { background: transparent; color: #008fd0; font-weight: 500; }
.navbar-menu .nav-item:hover > a { color: #008fd0; }

/* 下拉容器 */
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px; padding: 8px;
  background: #ffffff;
  border: 1px solid #e5ecf2;
  border-top: 3px solid #008fd0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 36px -10px rgba(15,23,42,.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* 子選單連結（蓋掉 .navbar-menu a 的 42px/inline-flex） */
.navbar-menu .nav-dropdown a {
  display: block; height: auto; width: 100%;
  padding: 11px 16px; border-radius: 8px;
  color: #333333; font-size: 16px; font-weight: 400;
  white-space: nowrap; text-align: left;
}
.navbar-menu .nav-dropdown a:hover { background: rgba(0,143,208,.08); color: #008fd0; }
/* =================================================================
   導航列再對齊官網（2026-06-05 第2版）：老闆說還看得出差別
   官網實測：選單緊接 logo「靠左」(x279起) 非置中；字重 500；項目較寬(~142px)；
            選單與右側 icon 間有「|」分隔線(1px×25, #44494d)；
            LINE icon 是深色 #222 + 下方「LINE」字（非綠色）。
   ================================================================= */
.navbar-menu { justify-content: flex-start; margin-left: 32px; }
.navbar-menu .nav-item > a { font-weight: 500; padding-left: 28px; padding-right: 28px; }

/* 選單與 icon 之間的分隔線 */
.navbar-actions::before {
  content: ""; align-self: center; flex-shrink: 0;
  width: 1px; height: 26px;
  background: #c2cdd6;
  margin: 0 14px 0 8px;
}

/* LINE icon：深色 + 下方標字（對齊官網），hover 才轉品牌綠 */
.navbar-line { flex-direction: column; width: auto; height: auto; padding: 2px 8px; gap: 2px; color: #222222; line-height: 1; }
.navbar-line svg { width: 22px; height: 22px; }
.navbar-line::after { content: "LINE"; font-size: 9px; font-weight: 700; letter-spacing: .4px; }
.navbar-line:hover { color: #06C755; background: transparent; }
/* =================================================================
   導航列選單改回「置中」+ 間距隨視窗自動調整（2026-06-05 老闆指定）
   原本 flex-start 靠左、固定 padding → 改回 center；
   間距用 clamp(min, vw, max) 讓視窗越寬間距越大、越窄越小（不再固定）。
   ================================================================= */
.navbar-menu { justify-content: center; margin-left: 0; gap: clamp(14px, 1.6vw, 50px); }
.navbar-menu .nav-item > a { padding-left: 9px; padding-right: 9px; }
/* =================================================================
   LINE icon 改回原本綠色圖示（撤回深色+「LINE」文字）+ 右側 icon 間距加大
   （2026-06-05 老闆：line 圖改回原樣、適當間隔）
   ================================================================= */
.navbar-actions { gap: 8px; }
.navbar-line {
  flex-direction: row;
  width: 38px; height: 38px;
  padding: 0; gap: 0;
  color: #06C755;
  line-height: normal;
}
.navbar-line svg { width: 22px; height: 22px; }
.navbar-line::after { content: none; }
.navbar-line:hover { color: #06C755; background: rgba(6,199,85,.10); }
/* 分隔線左右間距配合新 gap，避免兩側不均 */
.navbar-actions::before { margin: 0 6px 0 2px; }
/* =================================================================
   浮動 LINE 按鈕（2026-06-05 對齊官網：固定右下角綠色立體膠囊）
   樣式 1:1 取自官網 fonyuh.com.tw 右下浮動鈕。
   ================================================================= */
.fy-line-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 9999;
  display: block;
  padding: 14px 22px; border-radius: 50px;
  background: linear-gradient(#2ee86e 0%, #06c755 50%, #04a844 100%);
  color: #ffffff; font-weight: 800; font-size: 16px; letter-spacing: 1px;
  text-decoration: none; text-shadow: rgba(0,0,0,.3) 0 1px 2px;
  box-shadow:
    rgba(255,255,255,.4) 0 2px 0 inset,
    rgba(0,0,0,.25) 0 -4px 0 inset,
    #027a32 0 4px 0,
    rgba(6,199,85,.45) 0 8px 20px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.fy-line-fab:hover {
  color: #ffffff; transform: translateY(-2px);
  box-shadow:
    rgba(255,255,255,.45) 0 2px 0 inset,
    rgba(0,0,0,.25) 0 -4px 0 inset,
    #027a32 0 5px 0,
    rgba(6,199,85,.5) 0 12px 26px;
}
.fy-line-fab:active {
  transform: translateY(2px);
  box-shadow:
    rgba(255,255,255,.4) 0 2px 0 inset,
    rgba(0,0,0,.25) 0 -2px 0 inset,
    #027a32 0 2px 0,
    rgba(6,199,85,.4) 0 4px 12px;
}
@media (max-width: 600px) {
  .fy-line-fab { bottom: 16px; right: 16px; padding: 12px 20px; font-size: 15px; }
}