/* about — 由 prototype-20260904/en/about.html 的 <style> 抽出 */
:root {
  --navy:          #1A2B45;
  --navy-light:    #2A3D5C; /* Navy Light: accents, hovers, secondary emphasis */
  --cloud:         #F1F5F9; /* Cloud: section backgrounds, fills */
  --text-heading:  #1A2B45;
  --text-body:     #334155;
  --text-muted:    #64748B; /* Slate */
  --border:        rgba(100,116,139,0.25); /* Slate tint */
  --surface:       #F1F5F9;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body); background: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 800px; margin: 0 auto; }

/* ── Annotation Callouts ── */
.annotation {
  background: var(--cloud); border-left: 4px solid var(--navy-light);
  padding: 0.75rem 1rem; margin: 0.75rem 0;
  font-size: 0.8rem; color: var(--text-body); line-height: 1.5;
  border-radius: 0 0.375rem 0.375rem 0;
}
.annotation strong { color: var(--navy); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.site-header .inner {
  max-width: 1440px; margin: 0 auto; padding: 0 2rem;
  height: 5.75rem; display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: flex; align-items: center; }
.site-logo svg { height: 4.25rem; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { font-size: 0.875rem; color: var(--text-heading); font-weight: 500; transition: color 0.2s; }
.site-nav a:hover { color: var(--navy-light); }
.site-nav a.active { color: var(--navy-light); }
.lang-toggle {
  font-size: 0.8rem; font-weight: 500; border-radius: 9999px;
  padding: 0.375rem 0.75rem; letter-spacing: 0.05em;
  border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.5rem; font-weight: 600; font-size: 0.875rem;
  padding: 0.75rem 1.5rem; cursor: pointer; border: none;
  transition: transform 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background-color: #fff; color: var(--navy); }
.btn-white:hover { background-color: var(--cloud); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { filter: brightness(1.2); }

/* ── Page Hero ── */
.page-hero {
  background: var(--navy); padding: 7rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(241,245,249,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--cloud); font-weight: 600; margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 56px); font-weight: 700; color: #fff;
  line-height: 1.1; margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.125rem; color: rgba(241,245,249,0.7); max-width: 36rem; line-height: 1.7;
}

/* ── Content Sections ── */
.section { padding: 4rem 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--navy-light); font-weight: 600; margin-bottom: 0.75rem;
}
.section h2 {
  font-size: 1.75rem; font-weight: 700; color: var(--text-heading); margin-bottom: 1.5rem;
}
.section h3 {
  font-size: 1.125rem; font-weight: 600; color: var(--text-heading); margin-bottom: 0.75rem;
}
.section p {
  font-size: 0.9375rem; line-height: 1.8; margin-bottom: 1rem; color: var(--text-body);
}

/* ── Founder Section ── */
.founder-section {
  max-width: 46rem;
}
.founder-bio h3 { margin-bottom: 0.25rem; }
.founder-bio .founder-title {
  font-size: 0.8125rem; color: var(--navy-light); font-weight: 500; margin-bottom: 1rem;
}

/* ── Intermediary Section ── */
.intermediary-section { background: var(--surface); }
.intermediary-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem;
}
@media (max-width: 768px) {
  .intermediary-grid { grid-template-columns: 1fr; }
}
.intermediary-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 2rem;
}
.intermediary-card h3 {
  font-size: 1rem; margin-bottom: 0.75rem;
}
.intermediary-card ul {
  list-style: none; padding: 0;
}
.intermediary-card ul li {
  font-size: 0.875rem; line-height: 1.7; padding-left: 1.25rem; position: relative;
  color: var(--text-body);
}
.intermediary-card ul li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%;
}
.card-problem ul li::before { background: #334155; }
.card-solution ul li::before { background: var(--navy-light); }
.card-problem { border-top: 3px solid #64748B; }
.card-solution { border-top: 3px solid var(--navy-light); }

/* ── Trust Signals ── */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem;
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
}
.trust-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 1.5rem; text-align: center;
}
.trust-card .trust-icon {
  width: 3rem; height: 3rem; margin: 0 auto 0.75rem;
  background: var(--navy); border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
}
.trust-card h4 {
  font-size: 0.875rem; font-weight: 600; color: var(--text-heading); margin-bottom: 0.375rem;
}
.trust-card p {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 0;
}
.trust-card a {
  font-size: 0.75rem; color: var(--navy-light); font-weight: 500;
  border-bottom: 1px solid transparent;
}
.trust-card a:hover { border-bottom-color: var(--navy-light); }

/* ── V2 approved: Verify us yourself (replaces Verifiable Credentials) ── */
.verify-section .lead { font-size: 0.95rem; line-height: 1.8; max-width: 46rem; margin-bottom: 2.5rem; }
.verify-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .verify-grid { grid-template-columns: 1fr; } }
.verify-card {
  border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem; background: #fff;
}
.verify-card .v-icon {
  width: 3.25rem; height: 3.25rem; background: var(--navy); color: #fff; border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
}
.verify-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-heading); margin-bottom: 0; }
.verify-card .v-detail { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 0; }
.verify-card .v-value { font-size: 0.9rem; font-weight: 700; color: var(--navy); letter-spacing: 0.5px; }
.verify-card .btn { align-self: flex-start; font-size: 0.8rem; padding: 0.6rem 1.1rem; }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }

/* ── Values ── */
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem;
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  padding: 1.5rem; border-left: 3px solid var(--navy-light);
  background: var(--surface); border-radius: 0 0.5rem 0.5rem 0;
}
.value-card h4 {
  font-size: 0.9375rem; font-weight: 600; color: var(--text-heading); margin-bottom: 0.375rem;
}
.value-card p {
  font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0;
}

/* ── CTA Block ── */
.cta-block {
  position: relative; background: var(--navy);
  padding: 5rem 0; text-align: center; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(241,245,249,0.08) 0%, transparent 70%);
}
.cta-block .container { position: relative; z-index: 1; }
.cta-block h2 { font-size: 1.75rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.cta-block p { font-size: 1rem; color: rgba(241,245,249,0.7); margin-bottom: 2rem; }

/* ── Footer ── */
.site-footer {
  background: var(--navy); color: rgba(241,245,249,0.5);
  padding: 3rem 0 1.5rem; border-top: 1px solid rgba(241,245,249,0.1);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: start;
  flex-wrap: wrap; gap: 2rem;
}
.footer-brand { max-width: 280px; }
.footer-brand h4 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.75rem; line-height: 1.6; }
.footer-nav { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-nav-col h5 {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(241,245,249,0.3); margin-bottom: 0.75rem; font-weight: 600;
}
.footer-nav-col a { display: block; font-size: 0.8125rem; color: rgba(241,245,249,0.6); margin-bottom: 0.5rem; }
.footer-nav-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(241,245,249,0.08);
  font-size: 0.6875rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ── Major Roadmap (items 8, 10, 11, 15, 16) ── */

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--navy-light);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Focus ring on dark navy sections needs a light color to stay visible */
.page-hero a:focus-visible,
.cta-block a:focus-visible,
.supplier-cta a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--cloud);
}


.nav-toggle {
  display: none;
  width: 2.5rem; height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle-bars { position: relative; display: block; width: 18px; height: 2px; background: var(--text-heading); }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--text-heading);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

@media (max-width: 900px) {
  .site-header .inner { position: relative; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 2rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 0.875rem 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav a:last-child { border-bottom: 0; }
}

/* Item 16: semantic dl for company info (replaces inline-styled table) */
.company-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 2rem;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}
.company-details dt {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.company-details dd {
  color: var(--text-heading);
  font-weight: 500;
  margin: 0;
}
.company-details dd a { color: var(--navy-light); font-weight: 500; }
@media (max-width: 540px) {
  .company-details { grid-template-columns: 1fr; gap: 0.125rem 0; }
  .company-details dd { margin-bottom: 0.75rem; }
}

/* ── 客戶要求：置入原網站圖片素材（2026-09-07）── */
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  /* 沿用線上站 .inner-hero-overlay 的漸層比例，確保左側文字對比 */
  background-image: linear-gradient(to right, rgba(5,13,26,0.95), rgba(10,22,40,0.80), rgba(10,22,40,0.30)), var(--hero-photo);
  background-size: cover, cover; background-position: center, center;
}
.photo-band {
  height: clamp(230px, 30vw, 430px);
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}

/* ── 客戶第二輪：單一憑證卡重新排版（2026-09-07）── */
.verify-grid { grid-template-columns: 1fr; max-width: 40rem; margin-left: auto; margin-right: auto; }
.verify-grid .verify-card { align-items: flex-start; }
/* ── 客戶第二輪：Going Direct 移除後改單欄 ── */
.intermediary-grid { grid-template-columns: 1fr; max-width: 42rem; }


/* ── 客戶要求：含台北 101 的圖片不得裁切（2026-09-08）──
   101 為縱向主體、佔畫面 57%~94% 高度，短版面用 cover 必切。
   改為依高度縮放（auto 100%）＋不重複，寬版面即可完整呈現。 */
.cta-block::before, .supplier-cta::before {
  background-color: #0A1628 !important;
  background-image: linear-gradient(90deg, rgba(10,22,40,.30) 0%, rgba(10,22,40,.55) 32%, rgba(10,22,40,.80) 58%, rgba(10,22,40,.88) 100%),
                    url('../../photos/taipei-night-wide.jpg') !important;
  background-size: 100% 100%, cover !important;
  background-position: center, 6% center !important;
  background-repeat: no-repeat, no-repeat !important;
}
.page-hero.hero-whole::before {
  background-color: #0A1628;
  background-image: linear-gradient(90deg, rgba(5,13,26,.94) 0%, rgba(10,22,40,.70) 40%, rgba(10,22,40,.22) 68%, rgba(10,22,40,.45) 100%),
                    var(--hero-photo);
  background-size: 100% 100%, cover;
  background-position: center, 42% center;
  background-repeat: no-repeat, no-repeat;
}

/* ── 客戶要求：重新校正裁切對焦點，避免人像被截（2026-09-08）── */
.page-hero[style*='iStock-2211208040']::before { background-position: center, center 40%; }
.photo-band[style*='iStock-2211208040'] { background-position: center 40%; }
.page-hero[style*='iStock-1363604950']::before { background-position: center, center 30%; }
.photo-band[style*='iStock-1363604950'] { background-position: center 30%; }
.page-hero[style*='iStock-2243912827']::before { background-position: center, center 35%; }
.photo-band[style*='iStock-2243912827'] { background-position: center 35%; }
.page-hero[style*='hero-suppliers']::before { background-position: center, center 22%; }
.photo-band[style*='hero-suppliers'] { background-position: center 8%; }
.page-hero[style*='semiconductor-wafer']::before { background-position: center, center 45%; }
.photo-band[style*='semiconductor-wafer'] { background-position: center 45%; }
.page-hero[style*='pcb-circuit-macro']::before { background-position: center, center; }
.photo-band[style*='pcb-circuit-macro'] { background-position: center; }
.page-hero[style*='pcb-navy-gold']::before { background-position: center, center; }
.photo-band[style*='pcb-navy-gold'] { background-position: center; }

/* ── 客戶要求：問題區改雙欄清單（2026-09-08）── */
.solution-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; margin-top: 2rem; }
@media (max-width: 720px) { .solution-list { grid-template-columns: 1fr; } }
.solution-item { display: flex; gap: 0.85rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: 0.6rem; padding: 1.1rem 1.25rem; }
.solution-item .tick { width: 1.15rem; height: 1.15rem; flex: none; margin-top: 0.15rem; color: var(--navy-light); }
.solution-item p { font-size: 0.875rem; line-height: 1.6; color: var(--text-body); margin: 0; }

/* ── 客戶要求：良／橋 字卡（田字格）與段落並排（2026-09-08）── */
.glyph-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 2rem; align-items: start; margin: 2rem 0; }
@media (max-width: 620px) { .glyph-row { grid-template-columns: 1fr; gap: 1.25rem; } }
.glyph-card { margin: 0; text-align: center; }
.glyph-box { width: 8.5rem; height: 8.5rem; color: var(--navy); display: block; }
.glyph-ch { font-family: 'Noto Serif TC', 'Songti TC', serif; }
.glyph-card figcaption { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.1rem; }
.glyph-roman { font-size: 0.9rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.glyph-gloss { font-size: 0.75rem; color: var(--text-muted); }
.glyph-body p { margin: 0; }

/* ── 客戶要求：核心價值改下拉卡（2026-09-08）── */
.value-card { padding: 0; }
.value-details { padding: 1.35rem 1.5rem; }
.value-details summary { list-style: none; cursor: pointer;
  font-size: 1rem; font-weight: 700; color: var(--text-heading);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.value-details summary::-webkit-details-marker { display: none; }
.value-details summary::after { content: ''; width: 0.5rem; height: 0.5rem; flex: none;
  border-right: 2px solid var(--navy-light); border-bottom: 2px solid var(--navy-light);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease; }
.value-details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.value-details summary:hover { color: var(--navy); }
.value-details summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.value-details p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ── 客戶要求：良／橋 筆順動畫（2026-09-12）── */
.glyph-stage { position: relative; width: 8.5rem; height: 8.5rem; margin: 0 auto; }
.glyph-stage-inner { position: absolute; inset: 0; }
.glyph-writer { position: absolute; inset: 0; color: var(--navy); }
.glyph-writer svg { width: 100% !important; height: 100% !important; display: block; }
.glyph-replay {
  position: absolute; right: -0.35rem; bottom: -0.35rem;
  display: inline-flex; align-items: center; gap: 0.28rem;
  background: #fff; color: var(--navy-light);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.22rem 0.55rem 0.22rem 0.45rem;
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; opacity: 0; transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.glyph-replay svg { width: 0.7rem; height: 0.7rem; }
.glyph-card:hover .glyph-replay,
.glyph-replay:focus-visible { opacity: 1; transform: translateY(0); }
.glyph-replay:hover { color: var(--navy); border-color: var(--navy); }
@media (hover: none) { .glyph-replay { opacity: 1; transform: none; } }

/* ── 手機版：文字滿寬，水平漸層擋不住 → 改用垂直遮罩（2026-09-12）── */
@media (max-width: 900px) {
  .page-hero::before {
    background-image: linear-gradient(180deg, rgba(5,13,26,.70) 0%, rgba(10,22,40,.80) 45%, rgba(10,22,40,.92) 100%),
                      var(--hero-photo);
    background-size: 100% 100%, cover;
    background-position: center, center;
  }
  .page-hero.hero-whole::before {
    background-image: linear-gradient(180deg, rgba(5,13,26,.68) 0%, rgba(10,22,40,.78) 45%, rgba(10,22,40,.90) 100%),
                      var(--hero-photo);
    background-size: 100% 100%, cover;
    background-position: center, 42% center;
  }
  .cta-block::before, .supplier-cta::before {
    background-image: linear-gradient(180deg, rgba(10,22,40,.62) 0%, rgba(10,22,40,.86) 100%),
                      url('../../photos/taipei-night-wide.jpg') !important;
    background-size: 100% 100%, cover !important;
    background-position: center, 6% center !important;
  }
}

/* ── 客戶要求：查證與公司資料合併為同一區塊（2026-09-12）── */
.verify-merged { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem;
  align-items: start; margin-top: 2rem; }
@media (max-width: 860px) { .verify-merged { grid-template-columns: 1fr; gap: 2rem; } }
.vm-title { font-size: 1rem; font-weight: 700; color: var(--text-heading);
  padding-bottom: 0.7rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.vm-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1.5rem;
  font-size: 0.875rem; margin: 0; }
.vm-facts dt { color: var(--text-muted); font-weight: 500; }
.vm-facts dd { margin: 0; color: var(--text-heading); }
.verify-merged .verify-grid { max-width: none; margin: 0; }
.verify-merged .verify-card { height: 100%; }

/* ── 客戶要求：nav bar logo 放大（2026-09-12）── */
@media (max-width: 700px) {
  .site-header .inner { height: 4.9rem; }
  .site-logo svg { height: 3.4rem; }
}

/* ── 手機版排版優化與錯誤修正（2026-09-13）── */
/* 格線／flex 子項預設 min-width:auto，會被 canvas、長 email 等內容撐破版面 */
.office-grid > *, .globe-wrap, .globe-stage, .verify-merged > *, .stats-banner > *,
.form-tabs > *, .contact-forms, .form-row > * { min-width: 0; }
.globe-canvas { max-width: 100%; }

@media (max-width: 900px) {
  /* header 是獨立 sticky 列，內頁主視覺不需要 7rem 上留白 */
  .page-hero { padding-top: 4.5rem; }
  .page-hero:not(.hero-whole) { padding-bottom: 3rem; }

  /* Why Taiwan：數據卡改 2×2，主視覺高度大幅縮短；觸控沒有 hover，隱藏成長圖 */
  .hero-stats .stats-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .page-hero .stat-card { padding: 1rem 0.9rem; }
  .page-hero .stat-card .stat-value { font-size: 1.3rem; }
  .page-hero .stat-card .stat-label { font-size: 0.8125rem; }
  .page-hero .stat-card .stat-chart { display: none; }

  /* 公司資料：窄螢幕改上下排，長 email 可斷行 */
  .vm-facts dl.company-details, .vm-facts dl { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .company-details dt, .vm-facts dt { white-space: normal; margin-top: 0.6rem; }
  .vm-facts dd, .office-card dd { overflow-wrap: anywhere; }

  /* 聯絡表單分頁：三等分、允許換行 */
  .form-tab { flex: 1 1 0; padding: 0.8rem 0.35rem; font-size: 0.8125rem; line-height: 1.35;
    text-align: center; white-space: normal; min-height: 3rem; }

  /* iOS Safari：輸入框小於 16px 會在點擊時自動放大畫面 */
  .form-group input, .form-group select, .form-group textarea, input[type="file"] { font-size: 16px; }

  /* 觸控目標至少 44px */
  .lang-toggle { min-height: 2.75rem; padding: 0.55rem 0.9rem; }
  .service-card details.includes summary, .product-card details.includes summary,
  .detail-card details.includes summary, .value-details summary { min-height: 2.75rem; }
  .verify-card .btn { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .glyph-replay { min-height: 2.5rem; padding: 0.45rem 0.85rem 0.45rem 0.7rem; font-size: 0.75rem; }
  .office-card { padding: 1.5rem; }

  /* 小字下限 12px */
  .cat-card-body .tier, .product-card-body .tier, .detail-card-body .tier,
  .office-card .eyebrow, .office-card dt, .globe-hint, .footer-nav-col h5,
  .cert-badge .cert-desc, .page-hero .stat-card .stat-source, .service-card .service-number,
  .service-card details.includes summary, .product-card details.includes summary,
  .glyph-gloss { font-size: 0.75rem; }
}

/* ── 手機修正 第二批（2026-09-13）── */
/* 上傳框的「視覺隱藏」被 .form-group input { width:100% } 用較高權重蓋掉，外層又沒有定位基準 → 偏移撐破版面 */
.file-upload { position: relative; }
.form-group .file-upload-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .footer-bottom { font-size: 0.75rem; }
  .checkbox-group { align-items: flex-start; gap: 0.7rem; }
  .checkbox-group input[type="checkbox"] { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.1rem; }
  .checkbox-group label { font-size: 0.8125rem; padding: 0.15rem 0; }
  .form-group input[type="file"]:not(.file-upload-input) { min-height: 2.75rem; }
}
@media (max-width: 500px) {
  /* 首頁主視覺：9rem 上留白與 36px 標題在手機上把首屏撐到 600~720px */
  .hero-content { padding: 5.25rem 1.25rem 3.25rem; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 36px); margin-bottom: 1.1rem; }
}
