/* ===================== 進傑精機廠 網站樣式 ===================== */
/* Self-hosted subsetted variable fonts (SIL OFL 1.1, see fonts/OFL.txt).
   Built by tools/build_fonts.py - re-run it after changing Chinese copy. */
@font-face{
  font-family:"Noto Sans TC";
  src:url("/fonts/noto-sans-tc.woff2") format("woff2");
  font-weight:400 700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Oswald",sans-serif;
  src:url("/fonts/oswald.woff2") format("woff2");
  font-weight:500 700;
  font-style:normal;
  font-display:swap;
}
:root{
  --navy: #0e2a47;
  --navy-dark: #081a30;
  --steel: #1d4d78;
  --steel-light: #e8eef4;
  --accent: #d5641f;
  --accent-dark: #b34f14;
  --gray-bg: #f5f7f9;
  --gray-line: #dde3e8;
  --text: #2b333a;
  --text-light: #6b7680;
  --white: #ffffff;
  --radius: 4px;
  --maxw: 1240px;
  --shadow: 0 10px 30px rgba(14,42,71,.08);
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei","Noto Sans CJK TC","Hiragino Sans GB",sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-wrap:pretty;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
h1,h2,h3,h4{font-family:"Oswald","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-weight:600;letter-spacing:.02em;color:var(--navy);}
.eyebrow{
  font-family:"Oswald",sans-serif;
  color:var(--accent);
  font-size:14px;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-weight:600;
  margin-bottom:10px;
  display:block;
}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 30px;
  background:var(--accent);
  color:var(--white);
  font-weight:700;
  border-radius:var(--radius);
  font-size:15px;
  letter-spacing:.03em;
  border:2px solid var(--accent);
  transition:.2s;
  white-space:nowrap;
}
.btn:hover{background:var(--accent-dark);border-color:var(--accent-dark);}
.btn.outline{background:transparent;color:var(--white);border-color:rgba(255,255,255,.5);}
.btn.outline:hover{background:rgba(255,255,255,.12);border-color:var(--white);}
.btn.navy{background:var(--navy);border-color:var(--navy);}
.btn.navy:hover{background:var(--navy-dark);border-color:var(--navy-dark);}

/* ---- Top bar ---- */
.topbar{
  background:var(--navy-dark);
  color:#c9d6e2;
  font-size:13.5px;
}
.topbar .container{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:9px;padding-bottom:9px;
  flex-wrap:wrap;gap:8px;
}
.topbar .contacts{display:flex;gap:26px;flex-wrap:wrap;}
.topbar .contacts a{color:#c9d6e2;display:inline-flex;align-items:center;gap:7px;}
.topbar .contacts a:hover{color:var(--white);}
.topbar .contacts svg{width:14px;height:14px;flex:none;fill:var(--accent);}
.topbar .cta{
  color:var(--white);font-weight:700;font-size:13px;
  background:var(--accent);padding:6px 16px;border-radius:2px;
}
.topbar .cta:hover{background:var(--accent-dark);}

/* ---- Header / Nav ---- */
header.site-header{
  background:var(--white);
  border-bottom:1px solid var(--gray-line);
  position:sticky;top:0;z-index:50;
}
header.site-header .container{
  display:flex;align-items:center;justify-content:space-between;
  height:92px;gap:32px;
}
.logo img{height:58px;width:auto;}
.hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:36px;height:30px;background:none;border:none;cursor:pointer;padding:0;flex:none;}
.hamburger span{display:block;height:3px;width:100%;background:var(--navy);border-radius:2px;transition:.25s;}
.hamburger.open span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}
.nav-overlay{display:none;position:fixed;inset:0;background:rgba(8,26,48,.55);z-index:150;}
.nav-overlay.open{display:block;}
nav.main-nav{flex:1;display:flex;justify-content:flex-end;}
nav.main-nav > ul{display:flex;gap:6px;align-items:center;}
.dd-toggle{display:none;margin-left:6px;font-size:12px;}
nav.main-nav > ul > li{position:relative;}
nav.main-nav > ul > li > a{
  display:block;padding:14px 16px;
  font-weight:700;font-size:15.5px;color:var(--navy);
  border-bottom:3px solid transparent;
}
nav.main-nav > ul > li:hover > a,
nav.main-nav > ul > li.active > a{color:var(--accent);border-bottom-color:var(--accent);}
nav.main-nav .dropdown{
  position:absolute;top:100%;left:0;background:var(--white);
  min-width:230px;box-shadow:var(--shadow);border-top:3px solid var(--accent);
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:.18s;padding:6px 0;
}
nav.main-nav > ul > li:hover .dropdown{opacity:1;visibility:visible;transform:translateY(0);}
nav.main-nav .dropdown a{display:block;padding:11px 22px;font-size:14.5px;color:var(--text);}
nav.main-nav .dropdown a:hover{background:var(--gray-bg);color:var(--accent);}
nav.main-nav > ul > li > a{display:flex;align-items:center;}

/* ---- Hero ---- */
.hero{
  position:relative;
  background:linear-gradient(120deg,var(--navy) 0%,var(--steel) 100%);
  color:var(--white);
  overflow:hidden;
}
/* homepage hero: CNC photo behind a navy scrim */
.hero-cnc{
  background:
    linear-gradient(115deg,rgba(8,26,48,.93) 0%,rgba(14,42,71,.82) 45%,rgba(29,77,120,.68) 100%),
    url("/images/cnc.webp") center 42% / cover no-repeat;
}
.hero .container{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding-top:96px;padding-bottom:96px;min-height:460px;
}
.hero-cnc .container{padding-top:118px;padding-bottom:132px;}
.hero h1{text-shadow:0 2px 18px rgba(0,0,0,.35);}
.hero h1{
  color:var(--white);font-size:46px;line-height:1.3;margin-bottom:22px;
}
.hero p{font-size:17px;color:#cfd9e3;max-width:640px;margin-bottom:34px;}
.hero .actions{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;}
.hero-media{
  position:relative;border-radius:var(--radius);overflow:hidden;
  box-shadow:0 30px 60px rgba(0,0,0,.35);
  border:6px solid rgba(255,255,255,.12);
}
.hero-media img{width:100%;height:100%;object-fit:cover;}
.hero-stripe{
  position:absolute;inset:auto 0 0 0;height:6px;
  background:repeating-linear-gradient(45deg,var(--accent) 0 18px,#e8843f 18px 36px);
  opacity:.85;
}

/* ---- Section shells ---- */
section{padding:100px 0;}
.section-head{text-align:center;max-width:720px;margin:0 auto 56px;}
.section-head h2{font-size:34px;}
.bg-gray{background:var(--gray-bg);}
.bg-navy{background:var(--navy);color:var(--white);}
.bg-navy h2,.bg-navy h3,.bg-navy h4,.bg-navy h5{color:var(--white);}

/* ---- Feature strip (3 icons) ---- */
.features{
  display:grid;grid-template-columns:repeat(3,1fr);gap:32px;
  margin-top:-70px;position:relative;z-index:5;
}
.feature-card{
  background:var(--white);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:40px 34px;
  border-top:4px solid var(--accent);
}
.feature-card .num{font-family:"Oswald",sans-serif;font-size:14px;color:var(--accent);font-weight:700;letter-spacing:.15em;margin-bottom:14px;display:block;}
.feature-card img{width:52px;height:52px;margin-bottom:18px;}
.feature-card h3{font-size:19px;margin-bottom:10px;}
.feature-card p{color:var(--text-light);font-size:14.5px;}

/* ---- About / intro ---- */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;}
.about-grid img{border-radius:var(--radius);box-shadow:var(--shadow);}
.about-grid h2{font-size:30px;margin-bottom:20px;}
.about-grid p{margin-bottom:16px;color:var(--text-light);font-size:15.5px;}
.about-grid .accent-bar{width:56px;height:4px;background:var(--accent);margin-bottom:18px;}

/* ---- Product grid ---- */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;}
.product-card{
  background:var(--white);border:1px solid var(--gray-line);border-radius:var(--radius);
  overflow:hidden;transition:.2s;
}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-4px);border-color:transparent;}
.product-card .thumb{aspect-ratio:4/3;overflow:hidden;background:var(--steel-light);}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;transition:.35s;}
.product-card:hover .thumb img{transform:scale(1.06);}
.product-card .body{padding:22px 22px 26px;}
.product-card h4,.product-card h3{font-size:17px;margin-bottom:8px;}
.product-card .tag{color:var(--accent);font-size:12.5px;font-weight:700;letter-spacing:.1em;}
.product-card p{font-size:14px;color:var(--text-light);margin-top:8px;}
.product-card .more{margin-top:14px;font-size:13.5px;font-weight:700;color:var(--navy);display:inline-flex;align-items:center;gap:6px;}
.product-card:hover .more{color:var(--accent);}

/* ---- Process ---- */
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;}
.process-step{text-align:center;padding:0 24px;position:relative;}
.process-step:not(:last-child)::after{
  content:"";position:absolute;top:44px;right:-14px;width:28px;height:2px;background:var(--gray-line);
}
.process-step .circle{
  width:88px;height:88px;border-radius:50%;background:var(--white);
  border:2px solid var(--gray-line);display:flex;align-items:center;justify-content:center;
  margin:0 auto 22px;position:relative;
}
.process-step .circle img{width:42px;height:42px;}
.process-step .circle .step-no{
  position:absolute;top:-8px;right:-8px;background:var(--accent);color:#fff;
  width:26px;height:26px;border-radius:50%;font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.process-step h4,.process-step h3{font-size:17px;margin-bottom:10px;}
.process-step p{font-size:13.5px;color:var(--text-light);}

/* ---- Why us / stats ---- */
.whyus{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;}
.whyus .eyebrow-alt{color:var(--accent);font-weight:700;letter-spacing:.1em;font-size:14px;text-transform:uppercase;}
.whyus h2{font-size:30px;margin:14px 0 20px;}
.whyus .badge-no1{
  display:inline-flex;align-items:baseline;gap:10px;background:rgba(213,100,31,.15);
  color:var(--accent);font-weight:700;padding:8px 18px;border-radius:2px;margin-bottom:22px;font-size:14px;letter-spacing:.05em;
}
.whyus ul.checklist li{
  padding-left:28px;position:relative;margin-bottom:12px;color:#dbe4ec;font-size:15px;
}
.whyus ul.checklist li::before{
  content:"✓";position:absolute;left:0;top:0;color:var(--accent);font-weight:700;
}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
.stat-card{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);padding:30px 24px;text-align:center;
}
.stat-card img{width:40px;height:40px;margin:0 auto 14px;}
.stat-card .num{font-family:"Oswald",sans-serif;font-size:38px;font-weight:700;color:var(--white);}
.stat-card .label{font-size:13.5px;color:#aebfcf;margin-top:6px;}

/* ---- News ---- */
.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;}
.news-card{border-radius:var(--radius);overflow:hidden;border:1px solid var(--gray-line);background:var(--white);}
.news-card .thumb{aspect-ratio:4/3;overflow:hidden;}
.news-card .thumb img{width:100%;height:100%;object-fit:cover;transition:.35s;}
.news-card:hover .thumb img{transform:scale(1.06);}
.news-card .body{padding:20px;}
.news-card .date{font-size:12.5px;color:var(--accent);font-weight:700;letter-spacing:.05em;margin-bottom:8px;}
.news-card h4,.news-card h3{font-size:15.5px;line-height:1.5;margin-bottom:12px;min-height:48px;}
.news-card .more{font-size:13px;font-weight:700;color:var(--navy);}
.news-card:hover .more{color:var(--accent);}

/* ---- CTA band ---- */
.cta-band{
  background:linear-gradient(120deg,var(--steel),var(--navy));
  color:var(--white);text-align:center;padding:70px 0;
}
.cta-band h2{color:var(--white);font-size:28px;margin-bottom:14px;}
.cta-band p{color:#cfd9e3;margin-bottom:28px;}

/* ---- Footer ---- */
footer{background:var(--navy-dark);color:#aebfcf;padding-top:70px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:48px;padding-bottom:50px;border-bottom:1px solid rgba(255,255,255,.08);}
.footer-grid img.f-logo{height:46px;width:auto;margin-bottom:18px;}
.footer-grid p{font-size:13.5px;color:#8ea0b3;}
.footer-grid h5{color:var(--white);font-size:16px;margin-bottom:20px;letter-spacing:.03em;}
.footer-grid ul li{margin-bottom:11px;font-size:14px;}
.footer-grid ul li a:hover{color:var(--accent);}
.footer-grid .contact-item{display:flex;gap:10px;font-size:14px;margin-bottom:14px;}
.footer-grid .contact-item svg{width:16px;height:16px;fill:var(--accent);flex:none;margin-top:3px;}
.footer-bottom{
  padding:22px 0;font-size:13px;color:#7a8ba0;text-align:center;
}

/* ---- Breadcrumb / page header (inner pages) ---- */
.page-header{
  background:linear-gradient(120deg,var(--navy),var(--steel));
  color:var(--white);padding:56px 0 52px;text-align:center;
}
.page-header h1{color:var(--white);font-size:34px;margin-bottom:12px;}
.breadcrumb{font-size:14px;color:#c9d6e2;}
.breadcrumb a{color:#c9d6e2;}
.breadcrumb a:hover{color:var(--white);}
.breadcrumb .sep{margin:0 8px;color:var(--accent);}

.category-nav{background:var(--white);border-bottom:1px solid var(--gray-line);}
.category-nav .container{display:flex;gap:6px;padding:14px 24px;flex-wrap:wrap;}
.category-nav a{
  padding:10px 20px;font-size:14.5px;font-weight:700;color:var(--text);
  border-radius:var(--radius);border:1px solid var(--gray-line);
}
.category-nav a.active,.category-nav a:hover{background:var(--navy);border-color:var(--navy);color:var(--white);}

.sidebar-layout{display:grid;grid-template-columns:2.6fr 1fr;gap:48px;align-items:start;}
.side-box{background:var(--gray-bg);border-radius:var(--radius);padding:28px;margin-bottom:24px;}
.side-box h5{font-size:16px;margin-bottom:18px;color:var(--navy);}
.side-box ul li{margin-bottom:13px;font-size:14px;}
.side-box ul li a{color:var(--text-light);}
.side-box ul li a:hover{color:var(--accent);}
.side-box.contact-box{background:var(--navy);color:var(--white);}
.side-box.contact-box h5{color:var(--white);}
.side-box.contact-box .contact-item{display:flex;gap:10px;font-size:14px;margin-bottom:14px;color:#dbe4ec;}
.side-box.contact-box svg{width:16px;height:16px;fill:var(--accent);flex:none;margin-top:3px;}

.product-grid.inner{grid-template-columns:repeat(2,1fr);gap:32px;}
.product-card.large .thumb{aspect-ratio:16/10;}
.product-card.large .body{padding:26px 26px 30px;}
.product-card.large h4,.product-card.large h3{font-size:20px;}

.spec-block{background:var(--gray-bg);border-radius:var(--radius);padding:36px;margin-top:60px;}
.spec-block h3,.spec-block h2{margin-bottom:20px;}
table.spec-table{width:100%;border-collapse:collapse;}
table.spec-table td{padding:12px 16px;border-bottom:1px solid var(--gray-line);font-size:14.5px;}
table.spec-table td:first-child{color:var(--text-light);width:34%;}
table.spec-table tr:last-child td{border-bottom:none;}

/* ---- Product detail page ---- */
.product-hero{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.product-hero .thumb{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.product-hero .thumb img{width:100%;height:100%;object-fit:cover;}
.product-hero .tag{color:var(--accent);font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;}
.product-hero h1,.product-hero .model-name{font-size:32px;margin:10px 0 20px;}
.product-hero p.desc{color:var(--text-light);font-size:16px;margin-bottom:28px;}
.product-hero .actions{display:flex;gap:14px;flex-wrap:wrap;}
@media(max-width:1080px){.product-hero{grid-template-columns:1fr;}}

/* ---- Video pages ---- */
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.video-card{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;background:var(--navy);}
.video-card img{width:100%;height:100%;object-fit:cover;opacity:.85;}
.video-card .play{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
}
.video-card .play span{
  width:66px;height:66px;border-radius:50%;background:var(--accent);
  display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(0,0,0,.3);
}
.video-card .play svg{width:22px;height:22px;fill:#fff;margin-left:4px;}
.video-card .label{
  position:absolute;left:0;right:0;bottom:0;padding:16px 18px;
  background:linear-gradient(0deg,rgba(8,26,48,.85),transparent);
  color:#fff;font-weight:700;font-size:15px;
}

/* ---- Gallery (加工範例) ---- */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.gallery-card{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;}
.gallery-card img{width:100%;height:100%;object-fit:cover;transition:.3s;}
.gallery-card:hover img{transform:scale(1.06);}

/* ---- Contact page ---- */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}
.contact-info-card{background:var(--navy);color:#fff;border-radius:var(--radius);padding:36px;}
.contact-info-card h3,.contact-info-card h2{color:#fff;margin-bottom:20px;}
.contact-info-card .contact-item{display:flex;gap:12px;font-size:15.5px;margin-bottom:18px;color:#dbe4ec;}
.contact-info-card svg{width:18px;height:18px;fill:var(--accent);flex:none;margin-top:3px;}
.map-frame{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:none;width:100%;height:420px;}
@media(max-width:1080px){.contact-layout{grid-template-columns:1fr;}}

/* ---- News / article ---- */
.article-layout{max-width:820px;margin:0 auto;}
.article-cover{border-radius:var(--radius);overflow:hidden;margin-bottom:32px;box-shadow:var(--shadow);}
.article-meta{color:var(--accent);font-weight:700;font-size:13.5px;letter-spacing:.05em;margin-bottom:14px;}
.article-body p{margin-bottom:18px;color:var(--text);font-size:16px;line-height:1.9;}
.article-body strong{color:var(--navy);}
.news-list-item{display:grid;grid-template-columns:280px 1fr;gap:28px;padding:28px 0;border-bottom:1px solid var(--gray-line);align-items:center;}
.news-list-item .thumb{border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;}
.news-list-item .thumb img{width:100%;height:100%;object-fit:cover;}
.news-list-item h3{font-size:19px;margin-bottom:8px;}
.news-list-item .date{color:var(--accent);font-weight:700;font-size:13px;letter-spacing:.05em;margin-bottom:8px;}
.news-list-item p{color:var(--text-light);font-size:14.5px;margin-bottom:10px;}
@media(max-width:720px){.news-list-item{grid-template-columns:1fr;}}

/* ---- Responsive ---- */
@media(max-width:1080px){
  .features,.product-grid,.news-grid{grid-template-columns:repeat(2,1fr);}
  .process-grid{grid-template-columns:repeat(2,1fr);row-gap:48px;}
  .process-step:nth-child(2)::after{display:none;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px;}
  .sidebar-layout{grid-template-columns:1fr;}
  .hamburger{display:flex;}
  .dd-toggle{display:inline-flex;margin-left:auto;padding:4px 8px;}
  nav.main-nav{
    position:fixed;top:0;right:-100%;width:320px;max-width:86vw;height:100vh;
    background:var(--white);box-shadow:-14px 0 40px rgba(0,0,0,.2);
    padding:100px 26px 30px;transition:right .3s ease;overflow-y:auto;z-index:200;
    justify-content:flex-start;display:block;
  }
  nav.main-nav.open{right:0;}
  nav.main-nav > ul{flex-direction:column;align-items:stretch;gap:0;}
  nav.main-nav > ul > li{width:100%;}
  nav.main-nav > ul > li > a{padding:15px 4px;border-bottom:1px solid var(--gray-line);font-size:16px;}
  nav.main-nav .dropdown{
    position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;
    border-top:none;border-left:2px solid var(--gray-line);margin-left:8px;
    max-height:0;overflow:hidden;padding:0;transition:max-height .25s ease;
  }
  nav.main-nav > ul > li.dd-open .dropdown{max-height:500px;padding:4px 0 10px;}
}
@media(max-width:720px){
  .hero h1{font-size:30px;}
  .about-grid,.whyus{grid-template-columns:1fr;}
  .features,.product-grid,.news-grid,.product-grid.inner{grid-template-columns:1fr;}
  .stats{grid-template-columns:1fr 1fr;}
  section{padding:56px 0;}
  .footer-grid{grid-template-columns:1fr;text-align:left;gap:32px;padding-bottom:36px;}
  header.site-header .container{height:76px;}
  .logo img{height:46px;}
  .page-header h1{font-size:26px;}
  .category-nav .container{padding:12px 16px;}
  .category-nav a{padding:8px 14px;font-size:13.5px;}
  .spec-block{padding:22px;overflow-x:auto;}
  table.spec-table{min-width:480px;}
  .video-grid,.gallery-grid{grid-template-columns:1fr 1fr;}
  .contact-layout{grid-template-columns:1fr;}
}
@media(max-width:480px){
  .video-grid,.gallery-grid{grid-template-columns:1fr;}
  .topbar .contacts a:nth-child(3){display:none;}
}

/* ===================== 靜態化改版新增元件 ===================== */

/* ---- Spec table (機台規格) ---- */
.spec-block h2{font-size:24px;margin-bottom:6px;}
.spec-caption{color:var(--text-light);font-size:14.5px;margin-bottom:18px;}
.spec-note{margin-top:18px;font-size:13px;color:var(--text-light);}
.spec-note a{color:var(--accent);font-weight:700;}
table.spec-table{background:var(--white);border-radius:var(--radius);overflow:hidden;}
table.spec-table thead th{
  background:var(--navy);color:var(--white);text-align:left;
  padding:12px 16px;font-size:13px;letter-spacing:.08em;font-weight:700;
}
table.spec-table thead th:nth-child(2){width:15%;}
table.spec-table tr.spec-group th{
  background:var(--steel-light);color:var(--navy);text-align:left;
  padding:11px 16px;font-size:14px;font-weight:700;letter-spacing:.04em;
  border-bottom:1px solid var(--gray-line);
}
table.spec-table tbody td:nth-child(2){color:var(--text-light);font-size:13.5px;width:15%;}
table.spec-table tbody td:last-child{color:var(--navy);}
table.spec-table tbody tr:nth-child(even) td{background:#fafbfc;}
table.model-table thead th:nth-child(2){width:auto;}
table.model-table td:first-child{width:22%;color:var(--navy);font-weight:700;}
table.model-table td:nth-child(2){color:var(--text);font-size:14.5px;width:auto;}
table.model-table a{color:var(--navy);}
table.model-table a:hover{color:var(--accent);}

/* ---- Product feature list (產品描述／特色) ---- */
.feature-list{
  background:var(--gray-bg);border-left:3px solid var(--accent);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:22px 26px;margin-bottom:28px;
}
.feature-list h2{font-size:17px;margin-bottom:12px;}
.feature-list ul li{
  position:relative;padding-left:20px;margin-bottom:8px;
  font-size:14.5px;color:var(--text);
}
.feature-list ul li:last-child{margin-bottom:0;}
.feature-list ul li::before{
  content:"";position:absolute;left:0;top:11px;
  width:7px;height:7px;border-radius:50%;background:var(--accent);
}

/* ---- YouTube embeds (加工影片) ---- */
.page-lede{
  max-width:820px;margin:0 auto 52px;text-align:center;
  color:var(--text-light);font-size:16px;
}
.video-embed-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;}
.video-embed{
  background:var(--navy-dark);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);
}
.video-embed iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;}
.video-embed figcaption{
  padding:14px 18px;color:#dbe4ec;font-size:14px;line-height:1.6;
}
.video-embed figcaption a{color:#dbe4ec;}
.video-embed figcaption a:hover{color:var(--accent);text-decoration:underline;}
/* click-to-load facade: keeps the YouTube player off the initial page load */
.video-facade{
  display:block;position:relative;width:100%;padding:0;border:0;cursor:pointer;
  background:var(--navy-dark);aspect-ratio:16/9;overflow:hidden;
}
.video-facade img{width:100%;height:100%;object-fit:cover;transition:.35s;opacity:.9;}
.video-facade:hover img{transform:scale(1.04);opacity:1;}
.video-facade .play{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  pointer-events:none;
}
.video-facade .play svg{
  width:64px;height:64px;fill:#fff;padding:16px;border-radius:50%;
  background:rgba(213,100,31,.92);box-shadow:0 10px 28px rgba(0,0,0,.42);transition:.2s;
}
.video-facade:hover .play svg{background:var(--accent-dark);transform:scale(1.08);}
@media(max-width:900px){.video-embed-grid{grid-template-columns:1fr;}}

/* ---- Sample gallery groups (加工範例樣品) ---- */
.sample-group{margin-bottom:56px;}
.sample-group:last-child{margin-bottom:0;}
.sample-group h2{
  font-size:22px;margin-bottom:22px;padding-bottom:12px;
  border-bottom:2px solid var(--gray-line);
  display:flex;align-items:baseline;gap:14px;
}
.sample-group h2 .en{
  font-family:"Oswald",sans-serif;font-size:12.5px;letter-spacing:.2em;
  color:var(--accent);font-weight:600;
}

/* ---- News list wrapper ---- */
.news-list-item{background:var(--white);}
.news-list .news-list-item{color:inherit;text-decoration:none;}
.news-list-item h2{font-size:19px;margin-bottom:8px;}
.news-list-item .more{font-size:13.5px;font-weight:700;color:var(--navy);}
.news-list-item:hover h2,.news-list-item:hover h3,.news-list-item:hover .more{color:var(--accent);}
.bg-gray .news-list .news-list-item{padding:20px;border-radius:var(--radius);border-bottom:none;margin-bottom:16px;}

/* ---- Misc ---- */
.product-hero .model-name{font-size:32px;margin:10px 0 20px;}
.article-body p:last-child{margin-bottom:0;}
.contact-info-card .contact-item a{color:#fff;}
.contact-info-card .contact-item a:hover{color:var(--accent);}
.footer-grid .contact-item a:hover{color:var(--accent);}
:where(a,button,iframe):focus-visible{outline:3px solid var(--accent);outline-offset:2px;}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,::before,::after{transition-duration:.01ms !important;animation-duration:.01ms !important;}
}
@media(max-width:720px){
  .hero-cnc .container{padding-top:76px;padding-bottom:84px;}
  .sample-group h2{font-size:19px;}
  table.model-table{min-width:520px;}
}

/* ---- Machine photo strip (原廠輪播照) ---- */
.product-shots{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px;
}
.product-shots .shot{
  display:block;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--gray-line);background:var(--steel-light);aspect-ratio:1/1;
}
.product-shots .shot img{width:100%;height:100%;object-fit:cover;transition:.3s;}
.product-shots .shot:hover img{transform:scale(1.07);}
@media(max-width:480px){.product-shots{grid-template-columns:repeat(2,1fr);}}
