/* 永揚視聽 TTEC — 全站樣式 */
:root {
  --ink: #0E1B2B;
  --ink-2: #16273B;
  --ink-line: #2C3D53;
  --paper: #F5F6F4;
  --white: #FFFFFF;
  --brand: #2457A8;
  --brand-hover: #1C4688;
  --signal: #7FB5E0;
  --signal-text: #2457A8;
  --todo: #B8470A;
  --todo-dark: #F59A5C;
  --steel: #4A5563;
  --steel-light: #A9B4C2;
  --mist: #D5DCE4;
  --line: #D9DDE2;
  --body: #2E3A48;
  --font-zh: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --font-num: "Space Grotesk", "Noto Sans TC", sans-serif;
  --wrap: 1200px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-zh);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--signal-text); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--white); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.num { font-family: var(--font-num); }
.todo { color: var(--todo); font-weight: 500; }
.dark .todo { color: var(--todo-dark); }

/* ---------- 頁首 ---------- */
.site-header { background: var(--white); color: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { height: 40px; width: auto; }
.brand-word { height: 18px; width: auto; }
.brand-name { font-size: 14px; color: var(--steel); padding-left: 10px; border-left: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--steel); text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); }
.nav .btn { padding: 10px 18px; color: var(--white); box-shadow: none; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); color: var(--ink); font: inherit; font-size: 15px; padding: 8px 14px; border-radius: 4px; min-height: 44px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(14,27,43,0.12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--brand); font-weight: 700; }
  .nav .btn { margin-top: 16px; text-align: center; justify-content: center; border-bottom: 0; }
}

/* ---------- 按鈕 ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 4px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; font-family: inherit; }
.btn-signal { background: var(--brand); color: var(--white); }
.btn-signal:hover { background: var(--brand-hover); color: var(--white); }
.dark .btn-signal, .hero-slider .btn-signal, .site-footer .btn-signal { background: var(--signal); color: var(--ink); }
.dark .btn-signal:hover, .hero-slider .btn-signal:hover, .site-footer .btn-signal:hover { background: #A5CCEB; color: var(--ink); }
.btn-ghost { border: 1.5px solid var(--steel-light); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 區塊 ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.dark { background: var(--ink); color: var(--white); }
.white { background: var(--white); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; max-width: 720px; }
.section-head p { color: var(--steel); max-width: 560px; margin-top: 12px; }
.dark .section-head p { color: var(--mist); }
.text-link { font-weight: 700; }

/* ---------- 首頁 Hero ---------- */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 40px; }
.hero-kicker { color: var(--signal); font-weight: 700; font-size: 16px; letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 900; line-height: 1.08; margin: 18px 0 14px; letter-spacing: 0.01em; }
.hero-en { font-family: var(--font-num); color: var(--steel-light); font-size: 18px; letter-spacing: 0.03em; }
.hero-lead { color: var(--mist); font-size: 18px; max-width: 34em; margin: 22px 0 32px; }
.photo { border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 15px; }
.photo-dark { background-color: var(--ink-2); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px); color: var(--steel-light); }
.photo-light { background-color: #E4E7EA; background-image: repeating-linear-gradient(135deg, rgba(14,27,43,0.06) 0 2px, transparent 2px 14px); color: var(--steel); }
.hero .photo { aspect-ratio: 5 / 4; }

/* 聲波：全站唯一嘅動態 */
.wave { display: flex; align-items: flex-end; gap: 4px; height: 96px; padding: 0 24px; max-width: var(--wrap); margin: 0 auto; }
.wave span { flex: 1 1 0; background: var(--signal); border-radius: 2px 2px 0 0; opacity: 0.85; transform-origin: bottom; height: var(--h, 40%); animation: rise 1.4s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
.wave span:nth-child(3n) { background: var(--steel-light); opacity: 0.5; }
@keyframes rise { from { transform: scaleY(0.04); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; } html { scroll-behavior: auto; } }

.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stat strong { display: block; font-family: var(--font-num); font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.stat span { color: var(--steel); font-size: 15px; }

/* ---------- 方案卡 ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.solution { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.solution .photo { aspect-ratio: 4 / 3; border-radius: 0; font-size: 14px; }
.solution-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.solution h3 { font-size: 21px; }
.solution ul { margin: 0; padding-left: 20px; color: var(--body); font-size: 15px; line-height: 1.85; }
.solution .text-link { margin-top: auto; font-size: 15px; }

/* ---------- 原廠流程 ---------- */
.factory-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.factory-intro h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 18px; }
.factory-intro p { color: var(--mist); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--font-num); font-weight: 700; color: var(--signal); font-size: 15px; display: block; margin-bottom: 6px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--steel-light); font-size: 15px; line-height: 1.75; }
.factory-photo { margin: 48px 0 0; }
.factory-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.factory-photo figcaption { font-size: 14px; color: var(--steel-light); margin-top: 8px; }
.section:not(.dark) .factory-photo figcaption { color: var(--steel); }

/* ---------- 推薦 ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.8; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--steel); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 16px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.case { display: flex; flex-direction: column; gap: 12px; }
.case .photo { aspect-ratio: 3 / 2; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 700; background: var(--ink); color: var(--white); padding: 3px 10px; border-radius: 3px; }
.case h3 { font-size: 20px; }
.case p { color: var(--steel); font-size: 15px; line-height: 1.75; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { font: inherit; font-size: 15px; font-weight: 500; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 20px; min-height: 44px; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); font-weight: 700; }
.case[hidden] { display: none; }

/* ---------- 時間線 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.timeline li { padding: 22px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.timeline strong { display: block; font-family: var(--font-num); font-size: 30px; }
.timeline span { color: var(--body); font-size: 15px; }

.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.logos .photo { height: 72px; font-size: 13px; }

/* ---------- 內頁 ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 900; margin-bottom: 14px; }
.page-hero p { color: var(--mist); max-width: 40em; font-size: 18px; }
.subnav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 40; }
.subnav .wrap { display: flex; gap: 28px; overflow-x: auto; }
.subnav a { white-space: nowrap; text-decoration: none; padding: 16px 0; font-size: 15px; font-weight: 500; color: var(--steel); }
.subnav a:hover { color: var(--ink); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; scroll-margin-top: 140px; }
.detail + .detail { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.detail h2 { font-size: clamp(28px, 3.6vw, 36px); font-weight: 900; margin-bottom: 16px; }
.detail .lead { color: var(--body); margin-bottom: 24px; }
.detail .photo { aspect-ratio: 4 / 3; }
.feature-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.feature-list li { padding-left: 22px; position: relative; color: var(--body); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--brand); }
.detail h3 { font-size: 18px; margin: 28px 0 12px; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-num); color: var(--signal-text); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--body); }

.prose { max-width: 760px; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--body); }

/* ---------- 聯絡 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; }
.contact-info h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 14px; }
.contact-info > p { color: var(--mist); }
.contact-list { margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.contact-list dt { color: var(--steel-light); }
.contact-list dd { margin: 0; }
.contact-list a { color: var(--white); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 36px; display: grid; gap: 18px; }
.form h3 { font-size: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 1.5px solid #8A94A3; border-radius: 4px; min-height: 48px; width: 100%; background: var(--white); color: var(--ink); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--signal); outline-offset: 1px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.checks label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--ink); }
.form-status { font-size: 15px; min-height: 1.8em; }
.form-status.ok { color: #1F6B3A; font-weight: 700; }
.form-status.err { color: #A3260F; font-weight: 700; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- CTA 帶 ---------- */
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; }
.cta-band p { color: var(--mist); margin-top: 8px; }

/* ---------- 頁尾 ---------- */
.site-footer { background: #08121E; color: var(--steel-light); font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer h2 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--steel-light); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--ink-line); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; grid-template-columns: none; }
.footer-sign { font-family: var(--font-num); letter-spacing: 0.06em; }

/* ---------- 響應式 ---------- */
@media (max-width: 1024px) {
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero .wrap, .factory-grid, .detail, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero .wrap { padding-top: 48px; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .subnav { top: 72px; }
  .detail + .detail { margin-top: 64px; padding-top: 64px; }
  .wave { height: 64px; gap: 3px; }
}
@media (max-width: 560px) {
  .solution-grid, .steps, .form-row { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 24px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 560px) { .form .btn { width: 100%; justify-content: center; } }
.form .btn { justify-content: center; }

/* ===== v2：按草圖重排 ===== */
/* 波浪分隔 */
.divider { display: block; line-height: 0; }
.divider svg { display: block; width: 100%; height: 36px; }
@media (max-width: 860px) { .divider svg { height: 22px; } }

/* 首頁輪播 */
.hero-slider { background: var(--ink); color: var(--white); padding-bottom: 8px; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 32px; }
.slide h1, .slide h2 { font-size: clamp(38px, 6vw, 72px); font-weight: 900; line-height: 1.1; margin: 16px 0 14px; }
.slide .photo { aspect-ratio: 16 / 10; }
.slider-controls { display: flex; align-items: center; gap: 10px; padding-bottom: 32px; }
.slider-btn { background: none; border: 1.5px solid var(--ink-line); color: var(--white); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font: inherit; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.slider-btn:hover { border-color: var(--steel-light); }
.dots { display: flex; gap: 6px; margin: 0 8px; }
.dot { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.dot::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--ink-line); transition: background .3s; }
.dot[aria-current="true"]::before { background: var(--signal); }
.slide-label { font-size: 14px; color: var(--steel-light); margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* 產品展示 3x2 */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.product:hover { border-color: var(--ink); transform: translateY(-3px); color: var(--ink); }
.product .photo { aspect-ratio: 4 / 3; border-radius: 0; }
.product-body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.product h3 { font-size: 20px; }
.product p { color: var(--steel); font-size: 15px; }
.product .more { color: var(--signal-text); font-weight: 700; font-size: 14px; margin-top: 6px; }

/* 生產線 */
.guarantees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 40px 0; }
.guarantee { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 32px; }
.guarantee strong { display: block; font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; color: var(--signal); margin-bottom: 8px; }
.guarantee p { color: var(--mist); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: flow; border-top: 1px solid var(--ink-line); }
.flow li { counter-increment: flow; padding: 22px 20px 0 0; }
.flow li::before { content: "0" counter(flow); font-family: var(--font-num); color: var(--signal); font-weight: 700; font-size: 14px; display: block; margin-bottom: 6px; }
.flow h3 { font-size: 18px; margin-bottom: 4px; }
.flow p { color: var(--steel-light); font-size: 15px; line-height: 1.7; }

/* 場景方案 */
.scene-products { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.scene-products a { font-size: 14px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; }
.scene-products a:hover { background: var(--ink); color: var(--white); }

/* 新頁尾 */
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 56px 24px 40px; }
.site-footer .footer-cols h2 { font-family: var(--font-num); letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; color: var(--signal); margin-bottom: 14px; }
.footer-cols p { margin-bottom: 18px; }
.footer-cols .btn { font-size: 15px; min-height: 44px; padding: 10px 20px; }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social li { display: flex; align-items: center; gap: 10px; }
.social svg { width: 22px; height: 22px; flex-shrink: 0; }

@media (max-width: 860px) {
  .slide .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; }
  .slide .photo { order: -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .guarantees, .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .slide-label { display: none; }
}
@media (max-width: 480px) {
  .product-body { padding: 14px 14px 18px; }
  .product h3 { font-size: 17px; }
  .product p { font-size: 14px; }
}
.site-footer .wrap.footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 860px) { .site-footer .wrap.footer-cols { grid-template-columns: minmax(0, 1fr); } }

/* 頁尾 logo */
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img:first-child { height: 34px; width: auto; }
.footer-logo img:last-child { height: 15px; width: auto; }
.footer-en { font-family: var(--font-num); font-size: 13px; letter-spacing: 0.02em; }
@media (max-width: 480px) { .brand-name { display: none; } }

/* 產品相 */
.product-img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: #EEF1F4; }
.media-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.media-pair figure { margin: 0; }
.media-pair img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: #EEF1F4; border: 1px solid var(--line); }
.media-pair figcaption { font-size: 14px; color: var(--steel); margin-top: 8px; font-family: var(--font-num); }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }

/* 客戶名單 */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.case.client { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; gap: 10px; min-height: 120px; }
.case.client h3 { font-size: 19px; line-height: 1.45; }

/* 說明書下載 */
.manuals { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--line); }
.manuals li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.manuals li span { flex: 1 1 200px; color: var(--body); }
.manuals a { font-weight: 700; font-size: 14px; color: var(--brand); min-height: 32px; display: inline-flex; align-items: center; }
.detail .btn-ink + h3 { margin-top: 36px; }

/* v4：官方 logo、工程相、客戶 logo */
.brand-lockup { height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .brand-lockup { height: 34px; } }
.slide-photo { margin: 0; }
.slide-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); display: block; }
.slide-photo figcaption { font-size: 13px; color: var(--steel-light); margin-top: 8px; }
@media (max-width: 860px) { .slide .slide-photo { order: -1; } }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.project { display: flex; flex-direction: column; gap: 12px; }
.project-photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.project-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.project h3 { font-size: 20px; }
.case.client { flex-direction: row; align-items: center; gap: 18px; }
.client-logo { width: 72px; height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.client-logo img { width: auto; height: auto; max-width: 72px; max-height: 72px; object-fit: contain; }
.client-initial { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 24px; color: var(--steel); }
.case.client > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.logo-wall img { width: 100%; height: 96px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.scene-photo { margin: 0; }
.scene-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.scene-photo figcaption { font-size: 14px; color: var(--steel); margin-top: 8px; }
@media (max-width: 860px) { .project-grid { grid-template-columns: minmax(0, 1fr); } }

/* 場景示意圖：同實景相一樣 4:3 半欄，用 contain 唔裁走標籤 */
.scene-figs { display: grid; gap: 24px; }
.scene-diagram a { display: block; }
.scene-diagram img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.media-pair figure.wide { grid-column: 1 / -1; }
.media-pair figure.wide img { aspect-ratio: 3 / 2; }

/* ===== 宣傳冊內容 ===== */
.detail-extra { grid-column: 1 / -1; }
.detail-extra h3 { margin-top: 8px; }
.detail-extra h3 ~ h3 { margin-top: 32px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.spec-table thead th { background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; }
.spec-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; width: 1%; }
.spec-table tbody td { color: var(--body); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) { background: #F7F8FA; }
.needs-table td:last-child { color: var(--ink); }
.table-note { font-size: 13px; color: var(--steel); margin-top: 8px; }
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink); }
.priority { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; counter-reset: pr; }
.priority li { counter-increment: pr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; font-weight: 700; color: var(--ink); }
.priority li::before { content: counter(pr) "　"; color: var(--brand); font-family: var(--font-num); }
.priority li + li { position: relative; }
.priority li:first-child { border-color: #C9372C; color: #C9372C; }
.flow-title { font-size: 16px; color: var(--signal); margin: 8px 0 0; font-weight: 700; }
.flow.flow-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 16px; }
@media (max-width: 1024px) { .flow.flow-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 560px) { .flow.flow-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-line { margin-top: 32px; font-size: 15px; color: var(--mist); letter-spacing: .02em; }
.brand-letters { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.brand-letters li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 2px; }
.brand-letters strong { font-size: 44px; line-height: 1; font-weight: 900; color: var(--brand); margin-bottom: 8px; font-family: var(--font-num); }
.brand-letters span { font-weight: 700; color: var(--ink); }
.brand-letters em { font-style: normal; color: var(--steel); font-size: 15px; }
.brand-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.brand-list div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.brand-list dt { font-weight: 700; color: var(--brand); }
.brand-list dd { margin: 0; color: var(--ink); }
.cert-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.cert-photo { margin: 0; }
.cert-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 860px) {
  .brand-letters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cert-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cert-photo { max-width: 420px; }
}
@media (max-width: 600px) {
  .table-wrap { overflow: visible; }
  .spec-table { min-width: 0; }
  .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .spec-table tbody th, .spec-table tbody td { padding: 0; border: 0; white-space: normal; }
  .spec-table tbody th { font-size: 16px; margin-bottom: 6px; width: auto; }
  .spec-table tbody td + td { margin-top: 6px; }
  .spec-table td[data-label]:not([data-label=""])::before { content: attr(data-label) "："; font-weight: 700; color: var(--steel); font-size: 13px; display: block; }
}
.manual-note { font-size: 14px; color: var(--steel); margin: 0 0 10px; } .manual-note a { color: var(--brand); font-weight: 700; }
/* 合作單位：只顯示標誌 */
.client-grid-logos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.client-mark { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); height: 140px; padding: 20px; align-items: center; justify-content: center; }
.client-mark img { display: block; max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 560px) { .client-grid-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .client-mark { height: 120px; } }
.case.is-filtered, .case.is-collapsed { display: none; }
.show-more-row { display: flex; justify-content: center; margin-top: 28px; }
.show-more[hidden] { display: none; }
