/* ===================================================================
   PAXTON — 設計系統 v2
   方向：成熟歐系工業品牌 / 深藍＋暖白＋少量銅橘 / 真實內容優先
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;700&family=Source+Sans+3:wght@400;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* 三層藍：主品牌藍 / 中層鋼藍 / 霧藍灰 */
  --navy-900: #0E2036;
  --navy-800: #163A63;
  --navy-700: #1C446F;
  --steel-600: #4E6E8E;
  --steel-500: #5E7F9F;
  --steel-100: #EEF3F7;
  --steel-050: #E6EDF3;

  --copper-600: #C96A2D;
  --copper-700: #A6551E;

  --text-primary: #24313D;
  --text-secondary: #65717C;

  --bg-main: #F8F8F6;
  --bg-surface: #FFFFFF;
  --bg-muted: #EEF3F7;
  --bg-deep: #163A63;

  --border: #D7DEE3;

  --font-heading: "Manrope", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-sm: 5px;
  --radius-md: 8px;

  --max-width: 1240px;

  --shadow-card: 0 8px 24px rgba(23, 50, 77, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-main);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.45em;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.15rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-secondary); max-width: 68ch; }
a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- Nav ---------- */

.site-nav {
  background: var(--bg-surface);
  border-bottom: 1px solid #EAEDF0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon { height: 38px; width: 38px; display: block; flex-shrink: 0; }
.brand-text {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--navy-800);
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover { color: var(--steel-600); }
.nav-links a[aria-current="page"] {
  color: var(--navy-800);
  border-bottom-color: var(--copper-600);
}
/* Contact 獨立深藍實心按鈕 */
.nav-links li:last-child a {
  background: var(--navy-800);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  transition: background .18s;
}
.nav-links li:last-child a:hover { background: var(--navy-900); }
.nav-links li:last-child a[aria-current="page"] { background: var(--navy-900); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .site-nav .wrap { height: 64px; }
  .brand-icon { height: 33px; width: 33px; }
  .brand-text { font-size: 19px; }
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .2s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--navy-800);
    font-size: 1.6rem;
    cursor: pointer;
  }
}

/* ---------- Eyebrow ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-600);
  margin-bottom: 12px;
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy-900);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 38px;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14,32,54,0.94) 0%, rgba(14,32,54,0.88) 38%, rgba(14,32,54,0.55) 68%, rgba(14,32,54,0.35) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 17ch; color: #fff; }
.hero .lede {
  color: #D7E0E9;
  font-size: 1.2rem;
  max-width: 56ch;
  margin-top: 18px;
}
.hero .eyebrow { color: var(--copper-600); }
@media (max-width: 700px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(14,32,54,0.90) 0%, rgba(14,32,54,0.94) 60%, rgba(14,32,54,0.97) 100%); }
}

.hero-page {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(ellipse 90% 70% at 12% 0%, rgba(58,94,130,0.30), transparent 70%),
    linear-gradient(rgba(94,127,159,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,127,159,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 46px 46px, 46px 46px;
  padding: 13px 0 11px;
}
.hero-page h1 { color: #fff; font-size: 2.25rem; }
@media (max-width: 600px) { .hero-page h1 { font-size: 1.7rem; } }
.hero-page .lede { color: #C7D3DF; font-size: 1.05rem; max-width: 62ch; margin-top: 8px; }
.hero-page .eyebrow { color: var(--copper-600); }
.hero-page .breadcrumb { color: #9FB2C6; margin-bottom: 10px; }
.hero-page .breadcrumb a { color: #9FB2C6; }
.hero-page .breadcrumb a:hover { color: #fff; }
.hero-page .breadcrumb .bc-sep { color: rgba(255,255,255,0.28); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-accent { background: var(--copper-600); color: #fff; }
.btn-accent:hover { background: var(--copper-700); }
.btn-ghost { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-ghost:hover { background: var(--steel-100); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--steel-100); }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Sections ---------- */

section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-muted); }
.section-dark { background: linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 100%); }
.section-dark h2 { color: #fff; }
.section-dark p { color: #C7D2DC; }

.section-head { max-width: 66ch; margin-bottom: 44px; }

hr.rule { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ---------- Capability cards ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--steel-500);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color .18s, box-shadow .18s;
}
.cap-card:hover { border-top-color: var(--copper-600); box-shadow: var(--shadow-card); }
.cap-num {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--copper-600);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.cap-card h3 { margin-top: 10px; }
.cap-card a { color: var(--navy-800); font-weight: 600; text-decoration: none; }
.cap-card a:hover { color: var(--copper-600); }

@media (max-width: 800px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- Grids & cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
a.card:hover {
  border-color: var(--steel-500);
}
a.card:hover h3 { text-decoration: underline; }

.card .tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.card h3 { margin-top: 8px; margin-bottom: 6px; transition: color .15s; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

.card.placeholder { border-style: solid; opacity: 0.75; }
.card .status {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--copper-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- 規格表（專業技術文件風格）---------- */

.plate {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  margin: 36px 0;
  overflow: hidden;
}
.plate .plate-corner { display: none; }
.plate-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-800);
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.94rem;
}
table.spec th, table.spec td {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid #E2E7EA;
  white-space: nowrap;
  color: var(--text-primary);
}
table.spec th {
  background: var(--steel-100);
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
table.spec tr:nth-child(even) td { background: #FAFBFC; }
table.spec tr:last-child td { border-bottom: none; }
table.spec td:first-child { font-family: var(--font-mono); font-size: 0.87rem; }
.spec-scroll { overflow-x: auto; }

/* ---------- Timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.timeline li { padding: 0 0 28px 28px; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px; top: 6px;
  width: 12px; height: 12px;
  background: var(--navy-800);
  border-radius: 50%;
}
.timeline .yr {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--copper-600);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 2px;
}

/* ---------- Affiliates ---------- */

.affiliate { border-top: 1px solid var(--border); padding: 26px 0; }
.affiliate h4 { font-family: var(--font-heading); font-size: 1.12rem; margin-bottom: 6px; }
.affiliate .role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--steel-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: inline-block;
}

/* ---------- Forms ---------- */

.form-wrap { max-width: 560px; }
label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 18px 0 6px;
  color: var(--text-primary);
}
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--bg-surface);
  color: var(--text-primary);
}
textarea { height: auto; min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(23, 50, 77, 0.12);
}
.hp { position: absolute; left: -9999px; }

#formStatus {
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  display: none;
}
#formStatus.ok { display: block; background: #E9F3EC; color: #2E6B3E; }
#formStatus.err { display: block; background: #F8E9E4; color: var(--copper-700); }

/* ---------- Empty state ---------- */

.empty-state {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 48px 32px;
  text-align: center;
}
.empty-state .eyebrow { color: var(--copper-600); }
.empty-state p { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */

footer {
  background: var(--navy-800);
  color: #9FB0BF;
  padding: 56px 0 30px;
  font-size: 0.94rem;
}
footer a { color: #C7D2DC; text-decoration: none; }
footer a:hover { color: #fff; }
footer .footer-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  display: inline-block;
}
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
footer p { color: #9FB0BF; }

/* ---------- Staging banner（正式上線前移除）---------- */

.staging-banner {
  background: var(--bg-muted);
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Production flow steps ---------- */

.flow-stage { margin-bottom: 44px; }
.flow-stage-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  display: block;
  margin-bottom: 14px;
}
.flow-trail { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.flow-arrow { color: var(--border); font-size: 1.05rem; flex-shrink: 0; align-self: center; }

.flow-step {
  padding: 12px 16px 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.35;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
}
.flow-step.linked { border-left-color: var(--navy-800); transition: box-shadow .18s, border-color .18s; }
.flow-step.linked:hover { box-shadow: var(--shadow-card); border-color: var(--steel-600); }
.flow-step .k {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-800); text-decoration: underline; }
.breadcrumb .bc-sep { margin: 0 5px; color: var(--border); }

/* ---------- Anchor nav ---------- */

.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.anchor-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  padding: 8px 16px;
  transition: border-color .15s, color .15s;
}
.anchor-nav a:hover { border-color: var(--navy-800); color: var(--navy-800); }

/* ---------- Heritage strip ---------- */

.heritage-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.heritage-strip .h-item {
  border-left: 3px solid var(--copper-600);
  padding-left: 20px;
}
.heritage-strip .h-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy-800);
  display: block;
}
.heritage-strip .h-label { font-size: 0.94rem; color: var(--text-secondary); }
@media (max-width: 700px) { .heritage-strip { grid-template-columns: 1fr; } }


/* ---------- Card with image（首頁主力產品、產線卡）---------- */
.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: block;
  margin: -28px -28px 20px;
  width: calc(100% + 56px);
  transition: transform .3s ease;
}
a.card:hover .card-img { }
.card.has-img { padding-top: 0; overflow: hidden; }
.card.has-img .card-body { padding: 20px 28px 28px; }

/* ---------- Photo block（Technical Services / About 用）---------- */
.photo-block {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.photo-block img { width: 100%; display: block; object-fit: cover; }

/* ---------- Production line card（首頁）---------- */
.pl-card { position: relative; }
.pl-num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--steel-100);
}

/* ---------- Cutout photo row（型錄去背照：等高、不裁切、白卡）---------- */
.cutout-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cutout-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px 16px;
  text-align: center;
}
.cutout-item img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  display: block;
}
.cutout-cap {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--navy-800);
  margin-top: 14px;
  letter-spacing: 0.03em;
}
.cutout-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 3px;
}
@media (max-width: 820px) { .cutout-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cutout-row { grid-template-columns: 1fr; } .cutout-item img { height: 200px; } }

/* ---------- Flow: Represented Technology（SongXing，經 PAXTON 代理）---------- */

/* ---------- Flow: 手機版改直向堆疊 ---------- */
@media (max-width: 760px) {
  .flow-trail { flex-direction: column; align-items: stretch; gap: 0; }
  .flow-step { width: 100%; }
  .flow-arrow {
    display: block;
    align-self: center;
    transform: rotate(90deg);
    margin: 6px 0;
    color: var(--steel-500);
  }
  }

/* ================= 首頁重建 ================= */

/* ---------- 信任資訊列 ---------- */
.trust-bar {
  background: var(--navy-900);
  color: #C7D3DF;
  border-top: 1px solid var(--navy-800);
}
.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-bar span { position: relative; }
.trust-bar span + span::before {
  content: "";
  position: absolute;
  left: -20px; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--copper-600);
  transform: translateY(-50%);
}
@media (max-width: 640px) {
  .trust-bar .wrap { gap: 8px 0; flex-direction: column; }
  .trust-bar span + span::before { display: none; }
}

/* ---------- 產線入口列 ---------- */
.line-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.line-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--steel-500);
  border-radius: var(--radius-sm);
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.line-links a span { color: var(--copper-600); }
.line-links a:hover {
  border-left-color: var(--copper-600);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
@media (max-width: 860px) { .line-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .line-links { grid-template-columns: 1fr; } }

/* ---------- 專案四步 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.step {
  border-top: 2px solid var(--navy-800);
  padding-top: 18px;
}
.step-n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--copper-600);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 深色區塊裡的規格牌 ---------- */
.section-dark .plate,
.plate-dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
}
.section-dark .plate-title,
.plate-dark .plate-title { color: var(--copper-600); border-bottom-color: rgba(255,255,255,0.14); }
.section-dark .spec td,
.plate-dark .spec td { color: #C7D3DF; border-bottom-color: rgba(255,255,255,0.10); }
.section-dark .spec td:first-child,
.plate-dark .spec td:first-child { color: #93A6B8; }
.section-dark .section-head p { color: #C7D3DF; }
.section-dark p { color: #B8C6D4; }
.section-dark strong { color: #fff; }

/* ---------- Hero D：深藍底，工程圖浮在白卡上 ---------- */
.hero-plate {
  background: var(--navy-900);
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(58, 94, 130, 0.35), transparent 70%);
  padding: 38px 0 34px;
  color: #fff;
}
.hero-plate .eyebrow { color: var(--copper-600); }
.hero-plate h1 {
  color: #fff;
  max-width: 20ch;
  margin-bottom: 18px;
}
.hero-plate .lede {
  color: #C7D3DF;
  font-size: 1.14rem;
  max-width: 58ch;
}
.hero-plate .btn-outline {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.hero-plate .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* 左文右圖 */
.hero-plate-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

/* 白卡 —— 對比來自這裡 */
.hero-plate .hero-figure {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px 24px 0;
  box-shadow:
    0 24px 60px -18px rgba(0, 0, 0, 0.55),
    0 4px 12px -4px rgba(0, 0, 0, 0.3);
}
.hero-plate .hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-plate .hero-figure figcaption {
  margin: 18px -24px 0;
  padding: 13px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-main);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

/* 白卡緊接深藍信任列 —— 不留視覺斷層 */
.hero-plate + .trust-bar { border-top: 1px solid rgba(255,255,255,0.10); }

@media (max-width: 980px) {
  .hero-plate-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-plate h1 { max-width: none; }
}
@media (max-width: 760px) {
  .hero-plate { padding: 44px 0 40px; }
  .hero-plate .hero-figure {
    margin-top: 0;
    padding: 14px 14px 0;
    box-shadow: 0 14px 34px -12px rgba(0,0,0,0.5);
  }
  .hero-plate .hero-figure figcaption {
    margin: 14px -14px 0;
    padding: 11px 14px;
  }
}

/* Technical Services — three-phase service breakdown, Layout Q (scoped) */
.ts-ph{max-width:900px;margin:0 auto;}
.ts-ph .phase{padding:8px 0 12px;}
.ts-ph .ph-step{font-family:var(--font-mono);font-size:.76rem;letter-spacing:.14em;color:var(--copper-600);text-transform:uppercase;}
.ts-ph .phase h3{margin:6px 0 7px;font-size:1.5rem;color:var(--navy-900);line-height:1.1;}
.ts-ph .ph-intro{margin:0 0 18px;color:var(--text-primary);font-size:1rem;max-width:74ch;line-height:1.55;}
.ts-ph .ph-band{max-width:865px;margin:0 auto 22px;background:#F3EFEA;border-radius:12px;padding:16px 22px;}
.ts-ph .ph-band img{width:100%;display:block;}
.ts-ph .ph-items{display:flex;flex-wrap:wrap;gap:18px 44px;}
.ts-ph .ph-item{flex:1 1 40%;min-width:250px;display:flex;gap:13px;align-items:flex-start;}
.ts-ph .ph-item>svg{flex:0 0 24px;width:24px;height:24px;color:var(--copper-600);margin-top:2px;}
.ts-ph .ph-item h4{margin:0 0 3px;font-size:1.05rem;color:var(--navy-900);}
.ts-ph .ph-item p{margin:0;color:var(--text-secondary);font-size:.95rem;line-height:1.5;}
.ts-ph .ph-chevron{display:flex;justify-content:center;color:var(--steel-500);margin:12px 0;}
@media(max-width:640px){.ts-ph .ph-item{flex:1 1 100%;}.ts-ph .phase h3{font-size:1.35rem;}}

/* News & Updates (scoped) */
.news-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:34px;}
.news-chip{font-family:var(--font-body);font-size:.9rem;padding:7px 16px;border-radius:20px;border:1px solid var(--border);background:#fff;color:var(--text-secondary);cursor:pointer;transition:border-color .15s,color .15s,background .15s;}
.news-chip:hover{border-color:var(--steel-500);color:var(--navy-800);}
.news-chip.is-active{background:var(--navy-800);border-color:var(--navy-800);color:#fff;}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.news-card{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;}
.news-img img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;}
.news-card-body{padding:24px;display:flex;flex-direction:column;}
.news-meta{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.news-tag{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--copper-600);background:var(--steel-050);padding:3px 10px;border-radius:4px;}
.news-meta time{font-size:.82rem;color:var(--text-secondary);}
.news-card h3{font-size:1.2rem;color:var(--navy-900);margin:0 0 10px;line-height:1.25;}
.news-card p{margin:0;color:var(--text-secondary);font-size:.95rem;line-height:1.6;}
.news-more-wrap{text-align:center;margin-top:36px;}
@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.news-grid{grid-template-columns:1fr;}}

/* Products — compact clickable production-line cards */
.line-grid{display:flex;gap:16px;}
.line-card{flex:1;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:18px 18px 16px;text-decoration:none;transition:border-color .15s;}
.line-card:hover{border-color:var(--steel-500);}
.line-card h3{margin:0 0 6px;font-size:1.02rem;color:var(--navy-800);line-height:1.2;}
.line-card:hover h3{text-decoration:underline;}
.line-card p{margin:0;font-size:.85rem;color:var(--text-secondary);line-height:1.5;}
@media(max-width:760px){.line-grid{flex-wrap:wrap;}.line-card{flex:1 1 45%;}}
@media(max-width:480px){.line-card{flex:1 1 100%;}}

/* EVA Sheet Press — photo gallery */
.eva-gallery{max-width:82%;margin:0 auto 36px;}
.eva-main img{width:100%;border-radius:var(--radius-md);display:block;}
.eva-thumbs{display:flex;gap:14px;margin-top:14px;}
.eva-thumbs img{flex:1;width:0;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-md);display:block;}
@media(max-width:640px){.eva-thumbs{flex-wrap:wrap;}.eva-thumbs img{flex:1 1 45%;width:auto;}}

/* EVA — model variant comparison cards */
.eva-variants{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:8px;}
.eva-var{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:26px 28px;}
.eva-var-code{font-family:var(--font-mono);font-size:.8rem;letter-spacing:.1em;color:var(--copper-600);}
.eva-var h3{margin:5px 0 10px;font-size:1.22rem;color:var(--navy-900);line-height:1.2;}
.eva-var-for{margin:0 0 18px;color:var(--text-secondary);font-size:1rem;line-height:1.5;}
.eva-var-for strong{color:var(--navy-800);}
.eva-var-specs{border-top:1px solid var(--border);margin-bottom:20px;}
.eva-var-specs>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--border);}
.eva-var-specs span{color:var(--text-secondary);font-size:.9rem;}
.eva-var-specs b{color:var(--navy-800);font-family:var(--font-mono);font-size:.9rem;font-weight:600;}
.eva-var-lbl{margin:0 0 10px;font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;color:var(--steel-600);font-weight:700;}
.eva-tags{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;}
.eva-tags li{font-size:.82rem;color:var(--navy-800);background:var(--steel-050);border-radius:5px;padding:4px 10px;}
.eva-var-note{margin:0;font-size:.88rem;color:var(--text-secondary);line-height:1.55;font-style:italic;}
@media(max-width:760px){.eva-variants{grid-template-columns:1fr;}}

/* About Us — redesigned history + horizontal timeline + affiliates + photo pairs */
.about-top{display:grid;grid-template-columns:1.4fr 1fr;gap:44px;align-items:start;margin-bottom:44px;}
.about-figure img{width:100%;border-radius:var(--radius-md);display:block;}
.tl-h{display:flex;border-top:2px solid var(--border);}
.tl-h-item{flex:1;padding:22px 22px 0 0;position:relative;}
.tl-h-item::before{content:"";position:absolute;top:-8px;left:0;width:13px;height:13px;background:var(--navy-800);border-radius:50%;}
.tl-h-item .yr{font-family:var(--font-heading);font-weight:700;color:var(--copper-600);font-size:1rem;display:block;margin-bottom:6px;}
.tl-h-item p{margin:0;font-size:.9rem;color:var(--text-secondary);max-width:none;line-height:1.5;}
.affiliates-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.aff2{border:1px solid var(--border);border-radius:var(--radius-md);padding:24px 26px;background:var(--bg-surface);}
.aff2 .role{font-size:.78rem;font-weight:600;color:var(--steel-600);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;display:inline-block;}
.aff2 h4{font-family:var(--font-heading);font-size:1.12rem;margin:0 0 6px;}
.aff2 p{margin:0;font-size:.95rem;}
.photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.photo-pair img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius-md);display:block;}
@media(max-width:760px){.about-top{grid-template-columns:1fr;}.tl-h{flex-direction:column;border-top:none;border-left:2px solid var(--border);}.tl-h-item{padding:0 0 24px 24px;}.tl-h-item::before{top:4px;left:-8px;}.affiliates-grid{grid-template-columns:1fr;}.photo-pair{grid-template-columns:1fr;}}

/* About Us — three-photo breadth row */
.photo-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.photo-trio img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius-md);display:block;}
@media(max-width:760px){.photo-trio{grid-template-columns:1fr;}}
