/* =========================================================
   SmartVet 展會網站｜樣式 style.css
   ---------------------------------------------------------
   色彩、圓角、卡片樣式延伸自設計師的 SmartVet EDM。
   採手機優先（mobile-first）撰寫，桌機版調整集中在檔案最後的
   @media (min-width: 640px) 區塊。

   目錄
     1. 設計變數與語系字型
     2. 基礎設定
     3. 頁首
     4. 首頁：語系選擇（index.html）
     5. 表單頁（form.html）
     6. 產品頁（products.html）
        6-1 提示列 / 6-2 分頁列 / 6-3 Hero / 6-4 系統畫面輪播
        6-5 放大檢視 / 6-6 實體產品照 / 6-7 功能亮點 / 6-8 CTA
     7. 其他
     8. 桌機版調整
   ========================================================= */


/* =========================================================
   1. 設計變數與語系字型
   色碼取自 EDM，修改品牌色只需調整這裡
   ========================================================= */
:root {
  /* 品牌橘：漸層起點 / 終點 / 深橘（文字用，對比度較足） */
  --orange: #F37A1F;
  --orange-2: #F8A933;
  --orange-ink: #D9650A;
  /* 文字色：標題 / 內文 / 次要說明 */
  --ink: #2B1E12;
  --body: #4A3B2E;
  --muted: #8A7663;
  /* 背景與框線：Hero 奶油色、卡片底色、卡片框線 */
  --cream: #FFF3DC;
  --cream-2: #FFF9EF;
  --line: #F2DBB1;
  /* 「適合對象」標籤 */
  --tag-bg: #FCE3A2;
  --tag-ink: #6B4100;
  --white: #FFFFFF;
  /* 表單錯誤提示 */
  --danger: #C8322B;
  --danger-bg: #FDECEA;
  /* 圓角：大卡片 / 一般元件 */
  --radius-lg: 20px;
  --radius: 14px;
  /* 預設字型堆疊；各語系在下方覆寫，Google Fonts 未載入前先用系統字型 */
  --font: "Noto Sans TC", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  color-scheme: light; /* 品牌頁面固定淺色，不跟隨系統深色模式 */
}

/* 依 <html data-lang> 切換字型（由 common.js 的 applyLang 設定） */
html[data-lang="zh-CN"] { --font: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
html[data-lang="ja"] { --font: "Noto Sans JP", -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif; }
html[data-lang="ko"] { --font: "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html[data-lang="th"] { --font: "Noto Sans Thai", -apple-system, "Thonburi", "Leelawadee UI", sans-serif; }



/* =========================================================
   2. 基礎設定
   ========================================================= */
* { box-sizing: border-box; }
/* 防止 iPhone 橫向時自動放大字級 */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font); color: var(--body); background: var(--white);
  line-height: 1.6; font-size: 16px;
  /* 避開 iPhone 瀏海與底部橫條 */
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
/* 鍵盤操作時的焦點框；滑鼠點擊不會出現 */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
/* 只給螢幕閱讀器讀的文字 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 內容寬度與 EDM 一致，桌機上置中 */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }



/* =========================================================
   3. 頁首（表單頁、產品頁共用）
   ========================================================= */
.topbar { background: linear-gradient(90deg, var(--orange), var(--orange-2)); color: var(--white); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.topbar .brand img { height: 50px; width: auto; }
.topbar .company { font-weight: 700; font-size: 14px; letter-spacing: .04em; }
/* 右上角語系按鈕，點擊回首頁重新選擇 */
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.85); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500;
}
.lang-btn svg { width: 16px; height: 16px; }



/* =========================================================
   4. 首頁：語系選擇（index.html）
   背景模擬背板的黃橘放射漸層，底部疊上背板的數位紋理圖
   ========================================================= */
.landing {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background:
    radial-gradient(120% 70% at 50% 62%, #F39321 0%, rgba(243,147,33,0) 70%),
    linear-gradient(180deg, #F8C93A 0%, #F6B12F 45%, #F4A02A 100%);
  color: var(--white); position: relative; overflow: hidden;
}
/* 底部數位紋理，用遮罩往上淡出 */
.landing::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32vh;
  background: url("../img/hero-floor.jpg") center bottom / cover no-repeat; opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); mask-image: linear-gradient(to bottom, transparent, #000 60%);
}
.landing-inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 48px 20px 40px; }
.landing-logo { width: min(56vw, 240px); height: auto; filter: drop-shadow(0 4px 14px rgba(170,90,0,.25)); }
.landing-glow { width: 70%; max-width: 360px; height: 2px; margin: 26px 0 22px; background: linear-gradient(90deg, transparent, #FFF6C9, transparent); }
.landing-tag { margin: 0; text-align: center; font-weight: 700; font-size: clamp(17px, 4.6vw, 22px); text-shadow: 0 2px 8px rgba(160,80,0,.35); }
.landing-tag-en { margin: 6px 0 0; text-align: center; font-size: 13px; opacity: .95; text-shadow: 0 1px 6px rgba(160,80,0,.35); }
.lang-card {
  width: 100%; max-width: 420px; margin-top: 32px; background: rgba(255,255,255,.96); border-radius: var(--radius-lg);
  padding: 18px 16px 10px; box-shadow: 0 18px 40px -18px rgba(150,70,0,.55); color: var(--ink);
}
.lang-card h1 { margin: 0 4px 10px; font-size: 15px; font-weight: 700; color: var(--muted); text-align: center; }
/* 六個語系按鈕，兩欄排列；is-suggested 為依瀏覽器語言推測的語系 */
.lang-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-list a {
  display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--cream-2); text-decoration: none; font-weight: 700; font-size: 17px; color: var(--ink);
  transition: background .15s, border-color .15s, transform .1s;
}
.lang-list a:active { transform: scale(.98); }
.lang-list a:hover, .lang-list a.is-suggested { border-color: var(--orange); }
.lang-list a.is-suggested { background: #FFEBD1; }
.landing-foot { position: relative; z-index: 1; text-align: center; font-size: 12px; padding: 0 20px 18px; opacity: .95; }



/* =========================================================
   5. 表單頁（form.html）
   ========================================================= */
.form-hero { background: var(--cream); padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.form-hero h1 { margin: 0; color: var(--ink); font-size: clamp(22px, 6vw, 28px); line-height: 1.35; font-weight: 700; }
.form-hero p { margin: 8px 0 0; font-size: 15px; color: var(--body); }
.form { padding: 8px 0 40px; }
.field { padding: 18px 0 2px; }
.field-label { display: flex; align-items: baseline; gap: 8px; font-weight: 700; color: var(--ink); font-size: 16px; margin-bottom: 8px; }
.field-label .req { color: var(--orange-ink); }
.field-label .opt { font-weight: 500; font-size: 13px; color: var(--muted); }
/* 輸入框字級必須 >= 16px，否則 iPhone 點擊時會自動放大畫面 */
.input, .select {
  width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--cream-2);
  padding: 12px 14px; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #B8A58D; }
.input:focus, .select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,122,31,.18); background: var(--white); }
/* 自訂下拉箭頭（用兩個漸層畫出 V 字形） */
.select { background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
/* 手機欄位：左邊國碼、右邊號碼 */
.phone-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
/* 單選、多選欄位用 fieldset；legend 改為 float 才能和一般欄位標題對齊 */
fieldset.field { border: 0; margin: 0; padding: 18px 0 2px; min-width: 0; }
fieldset.field > legend { float: left; width: 100%; padding: 0; }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
/* 標籤式選項：原生 input 透明覆蓋在標籤上，保留鍵盤與螢幕閱讀器操作 */
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--orange); color: var(--orange-ink); background: var(--white); font-weight: 500; font-size: 15px;
  transition: background .15s, color .15s;
}
.chip input:checked + span { background: var(--orange); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
/* 錯誤狀態（由 form.js 加上 has-error） */
.field.has-error .input, .field.has-error .select { border-color: var(--danger); background: var(--danger-bg); }
.field.has-error .chip span { border-color: var(--danger); }
.err { display: none; color: var(--danger); font-size: 14px; margin-top: 6px; }
.field.has-error .err { display: block; }
/* 防機器人欄位，移出畫面外 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { display: none; margin-top: 18px; padding: 12px 14px; border-radius: var(--radius); background: var(--danger-bg); color: var(--danger); font-size: 14px; }
.summary.show { display: block; }
/* 個資告知同意欄位：勾選框放大，方便手機點擊；連結外觀為底線文字 */
.consent-field { padding-top: 22px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.consent-row input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange); cursor: pointer; }
.consent-row label { font-size: 15px; line-height: 1.55; color: var(--ink); cursor: pointer; }
.consent-link { display: inline; padding: 0; border: 0; background: none; color: var(--orange-ink); font-weight: 700; font-size: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.field.has-error .consent-row input { outline: 2px solid var(--danger); outline-offset: 2px; }

/* 個資告知彈窗：手機從底部滑出式排版，桌機置中 */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(30,20,10,.55); display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-card { width: 100%; max-width: 560px; max-height: 88vh; max-height: 88dvh; background: var(--white); border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.35); padding-bottom: env(safe-area-inset-bottom, 0px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; border-bottom: 1px solid #F3E6CF; }
.modal-head h2 { margin: 0; font-size: 18px; line-height: 1.4; color: var(--ink); }
.modal-x { flex: 0 0 auto; width: 40px; height: 40px; margin: -6px -8px 0 0; border: 0; border-radius: 50%; background: var(--cream-2); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.modal-body { overflow-y: auto; padding: 14px 20px 6px; font-size: 14.5px; line-height: 1.7; -webkit-overflow-scrolling: touch; }
.modal-body p { margin: 0 0 10px; }
.modal-body ol { margin: 0; padding-left: 20px; }
.modal-body li { margin-bottom: 10px; }
.modal-body li strong { display: block; color: var(--orange-ink); }
.modal-foot { padding: 10px 20px 18px; border-top: 1px solid #F3E6CF; }
.modal-foot .btn-primary { margin-top: 0; }

/* 送出按鈕；aria-busy 為送出中狀態 */
.btn-primary {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 24px;
  border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); color: var(--white);
  font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(217,101,10,.9);
}
.btn-primary[aria-busy="true"] { opacity: .75; cursor: progress; }
.skip-link { display: block; text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }



/* =========================================================
   6. 產品頁（products.html）
   ========================================================= */

/* ----- 6-1 上方提示列（感謝填寫 / 資料暫存中） ----- */
.notice { padding: 12px 0; font-size: 14px; font-weight: 500; }
.notice.thanks { background: #FFF0C9; color: var(--tag-ink); }
.notice.queued { background: var(--danger-bg); color: var(--danger); }
.notice .wrap { display: flex; gap: 10px; align-items: flex-start; }
.notice button { margin-left: auto; border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; padding: 0 4px; cursor: pointer; }

/* ----- 6-2 產品分頁列：固定在畫面頂端，可左右滑動 ----- */
.tabs {
  position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid #F6E7CC;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tabs .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; } /* 隱藏捲軸（Safari / Chrome） */
/* 分頁置中：用左右 auto margin 而非 justify-content: center，
   手機上分頁超出寬度時，最左邊的分頁仍然可以滑得到 */
.tabs .tab:first-child { margin-left: auto; }
.tabs .tab:last-child { margin-right: auto; }
.tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px; border-radius: 999px;
  border: 1.5px solid var(--orange); color: var(--orange-ink); background: var(--white); text-decoration: none; font-weight: 700; font-size: 15px;
}
.tab[aria-current="page"] { background: linear-gradient(90deg, var(--orange), var(--orange-2)); color: var(--white); border-color: transparent; box-shadow: 0 6px 14px -8px rgba(217,101,10,.9); }

/* 切換產品時的淡出淡入；淡出時間需與 products.js switchTo() 的延遲（160ms）搭配 */
#product { transition: opacity .2s ease; }
#product.is-leaving { opacity: 0; transition-duration: .15s; }

/* ----- 6-3 Hero：Logo 卡片＋標題＋適合對象 ----- */
.p-hero { background: var(--cream); padding: 28px 0; }
.p-hero .wrap { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; }
.p-logo { width: 112px; height: 112px; border-radius: 22px; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: 0 8px 20px -14px rgba(120,70,10,.6); }
.p-logo img { max-height: 100%; width: auto; object-fit: contain; }
/* 方形底色 Logo 填滿卡片（config 設 logoFill: true） */
.p-logo.fill { padding: 0; overflow: hidden; }
.p-logo.fill img { width: 100%; height: 100%; object-fit: cover; }
.p-hero h2 { margin: 0; color: var(--ink); font-size: clamp(22px, 6vw, 32px); line-height: 1.3; font-weight: 700; }
.p-hero p { margin: 8px 0 12px; font-size: 15px; }
.p-tag { display: inline-block; background: var(--tag-bg); color: var(--tag-ink); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 8px; line-height: 1.5; }

/* ----- 6-4 系統畫面輪播（scroll-snap 原生滑動，不需額外套件） ----- */
.gallery { padding: 26px 0 6px; }
.gallery-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; scroll-padding: 0 20px; scrollbar-width: none; max-width: 760px; margin: 0 auto; }
.gallery-track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 88%; scroll-snap-align: center; border-radius: 14px; overflow: hidden; background: #1D1D1F; box-shadow: 0 14px 28px -16px rgba(40,25,10,.55); border: 1px solid #E8E2D8; }
/* 直式手機截圖並排置中（GoVet Lite）：兩張一起縮放，手機上也能同時看到 */
.gallery-track.fit { justify-content: center; }
.gallery-track.fit .shot.portrait { flex: 0 1 260px; }
/* 直式手機截圖：加上手機外框 */
.shot.portrait { flex-basis: 52%; border-radius: 26px; border: 6px solid #1D1D1F; }
.shot.single { flex-basis: 100%; }
.shot img { width: 100%; height: auto; }
.gallery-hint { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; text-align: center; margin: 10px 20px 0; }
/* 操作提示做成膠囊標籤＋圖示，比一般說明文字醒目 */
.gallery-hint span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: #FFEBD1; color: var(--orange-ink); font-size: 14px; font-weight: 700; line-height: 1.3; }
.gallery-hint svg { width: 18px; height: 18px; flex: 0 0 auto; }
/* 可點擊放大的圖片：右下角放大鏡標示 */
.shot-btn { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.zoom-badge { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px 7px 9px;
  border-radius: 999px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
  box-shadow: 0 4px 12px -4px rgba(120,50,0,.6); }
.zoom-badge svg { width: 18px; height: 18px; flex: 0 0 auto; }
/* 第一張圖的標籤播放三次光暈，提示可以點擊 */
.zoom-badge.pulse { animation: svPulse 1.6s ease-out .6s 3; }
@keyframes svPulse {
  0% { box-shadow: 0 0 0 0 rgba(243,122,31,.65); }
  100% { box-shadow: 0 0 0 14px rgba(243,122,31,0); }
}

/* ----- 6-5 放大檢視（lightbox.js） ----- */
/* 開啟時鎖住背景捲動 */
html.lb-open, html.lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; background-color: #140D07; color: #fff; display: flex; flex-direction: column;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.lb[hidden] { display: none; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 6px 18px; font-size: 14px; }
.lb-close, .lb-nav { border: 0; background: rgba(255,255,255,.14); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
/* touch-action 保留雙指縮放；放大後改為一般區塊以便上下左右捲動 */
.lb-stage { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pan-x pan-y pinch-zoom; -webkit-overflow-scrolling: touch; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lb.is-zoomed .lb-stage { display: block; }
.lb.is-zoomed .lb-stage img { max-width: none; max-height: none; height: auto; cursor: zoom-out; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav[hidden], .lb.is-zoomed .lb-nav { display: none; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-hint { margin: 0; padding: 10px 16px 14px; text-align: center; font-size: 13px; opacity: .85; }
/* 位置圓點（系統畫面與產品照共用）；目前位置拉長成膠囊形 */
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #EAD7B5; }
.dots i.on { background: var(--orange); width: 18px; border-radius: 4px; }

/* ----- 6-6 實體產品照＋亮點方塊（佳護銀、無針給藥） ----- */
.showcase { padding: 26px 0 4px; }
.showcase-grid { display: grid; gap: 14px; }
.showcase .photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 14px 28px -16px rgba(40,25,10,.55); }
.showcase .photo img { width: 100%; height: auto; }
.photo-col { min-width: 0; }
.photo-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.photo-track::-webkit-scrollbar { display: none; }
.photo-track .photo { flex: 0 0 100%; scroll-snap-align: center; background: #F7F3EE; }
/* 直式產品照與橫式情境照混在一起時，統一裁成方形，滑動時高度一致 */
.showcase.portrait .photo { aspect-ratio: 1 / 1; }
.showcase .photo-track .photo img { height: 100%; object-fit: cover; }
.showcase.portrait .photo img { height: 100%; object-fit: cover; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.highlights li { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border-radius: 16px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2)); color: var(--white); font-weight: 700; font-size: 17px; line-height: 1.35;
  box-shadow: 0 10px 20px -14px rgba(217,101,10,.9); }
.highlights img { width: 44px; height: 44px; flex: 0 0 auto; }

/* ----- 6-7 功能亮點卡片 ----- */
.features { padding: 22px 0 34px; }
.section-title { margin: 0 0 16px; padding-left: 12px; border-left: 6px solid var(--orange); border-radius: 0; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.3; }
.card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; background: var(--cream-2); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 18px 16px; margin-bottom: 14px; }
.card img { width: 64px; height: 64px; }
.card h3 { margin: 0; color: var(--orange-ink); font-size: 19px; line-height: 1.35; font-weight: 700; }
.card .lead { margin: 4px 0 8px; font-weight: 700; color: var(--ink); font-size: 15px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 16px; font-size: 14.5px; margin: 4px 0; }
/* 細項前的橘色圓點 */
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-2); }

/* ----- 6-8 頁尾 CTA ----- */
.cta { background: linear-gradient(90deg, var(--orange), var(--orange-2)); color: var(--white); padding: 30px 0; }
.cta h2 { margin: 0; font-size: clamp(20px, 5.6vw, 26px); line-height: 1.4; font-weight: 700; }
.cta p { margin: 6px 0 16px; font-size: 15px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-btns a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--orange-ink); text-decoration: none; font-weight: 700; font-size: 15px; }
/* LINE 按鈕使用 LINE 官方綠色 */
.cta-btns a.line { background: #06C755; color: var(--white); }
.cta-btns svg { width: 18px; height: 18px; }
.cta .contact { margin: 16px 0 0; font-size: 13px; opacity: .95; }




/* =========================================================
   7. 其他
   ========================================================= */

/* 測試模式提示條：config.js 未設定 SHEET_ENDPOINT 時顯示於表單頁 */
.dev-badge { position: relative; background: #2B1E12; color: #FFE7B8; font-size: 12px; text-align: center; padding: 6px 10px; }



/* =========================================================
   8. 桌機版調整（寬度 640px 以上）
   ========================================================= */
@media (min-width: 640px) {
  .p-hero .wrap { grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: center; }
  .p-logo { width: 150px; height: 150px; }
  .shot { flex-basis: 100%; }
  .shot.portrait { flex-basis: 260px; }
  .card { grid-template-columns: 76px minmax(0, 1fr); padding: 22px 24px; }
  .card img { width: 76px; height: 76px; }
  /* 個資告知彈窗改為畫面置中 */
  .modal { align-items: center; padding: 24px; }
  .modal-card { border-radius: 22px; }
  /* 實體產品：照片在左、亮點方塊在右；超寬橫幅（wide）維持上下排列 */
  .showcase:not(.wide) .showcase-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
  .showcase.portrait .showcase-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
  .showcase.wide .highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .highlights li { min-height: 76px; }
  .highlights img { width: 52px; height: 52px; }
}

/* 系統設定「減少動態效果」時關閉所有轉場 */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
