:root {
  --red: #df3830;
  --red-dark: #b91f1a;
  --ink: #202326;
  --muted: #626a73;
  --line: #dfe3e7;
  --soft: #f5f6f8;
  --panel: #ffffff;
  --steel: #eef2f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:focus-visible {
  outline: 3px solid rgba(223, 56, 48, 0.5);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
  padding: 18px clamp(24px, 6vw, 88px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(32, 35, 38, 0.08);
  backdrop-filter: blur(10px);
}

.brand img {
  width: 200px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
  color: #333333;
  font-size: 15px;
}

.site-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.site-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(680px, calc(100vh - 96px));
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("archive/image/imagestyle/home/tw/701.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(32, 35, 38, 0.84) 0%, rgba(32, 35, 38, 0.62) 46%, rgba(32, 35, 38, 0.18) 100%),
    linear-gradient(0deg, rgba(32, 35, 38, 0.3), rgba(32, 35, 38, 0.08));
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
}

.btn.primary {
  color: #ffffff;
  background: var(--red);
}

.btn.primary:hover {
  background: var(--red-dark);
}

.btn.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(1120px, calc(100% - 48px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 35, 38, 0.12);
}

.proof-item {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--red);
  font-size: 28px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 64px;
  align-items: start;
  padding-top: 108px;
}

.section-lead {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin-bottom: 22px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card:hover {
  border-color: rgba(223, 56, 48, 0.45);
  box-shadow: 0 14px 34px rgba(32, 35, 38, 0.09);
}

.service-number {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--red);
  font-weight: 800;
}

.service-card p,
.feature-copy p,
.process-list span {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  background: var(--steel);
}

.feature-band img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.feature-copy {
  padding: 56px clamp(24px, 6vw, 84px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  display: grid;
  min-height: 306px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 14px 34px rgba(32, 35, 38, 0.1);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.product-card span {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 16px;
  font-weight: 700;
}

.product-more-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.article-intro-section {
  padding-bottom: 48px;
}

.article-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 42px;
  align-items: start;
}

.article-lead-grid p {
  color: var(--muted);
}

.article-kicker-card {
  padding: 30px;
  background: var(--soft);
  border-left: 4px solid var(--red);
  border-radius: 8px;
}

.article-kicker-card strong {
  display: block;
  margin-bottom: 22px;
  font-size: 22px;
}

.article-stat-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.article-stat-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: var(--muted);
}

.article-stat-list span {
  color: var(--red);
  font-weight: 800;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insight-card {
  min-height: 240px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.insight-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
}

.article-media-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  color: #ffffff;
  background: var(--ink);
}

.article-media-band > img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  background: #ffffff;
}

.article-media-band > div {
  padding: 56px clamp(24px, 6vw, 84px);
}

.article-media-band h2 {
  color: #ffffff;
}

.article-media-band p {
  color: rgba(255, 255, 255, 0.76);
}

.article-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn.outline.light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.btn.outline.light:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
  color: #ffffff;
  background: var(--ink);
}

.comparison-table tbody th {
  width: 22%;
  color: var(--red);
  font-weight: 800;
}

.comparison-table td {
  color: var(--muted);
}

.technical-media-grid,
.application-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.technical-media-grid figure,
.application-grid a {
  overflow: hidden;
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.technical-media-grid img,
.application-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--soft);
}

.technical-media-grid img {
  padding: 18px;
}

.technical-media-grid figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-weight: 700;
}

.application-grid {
  grid-template-columns: repeat(3, 1fr);
}

.application-grid a {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.application-grid strong,
.application-grid span {
  display: block;
  padding: 0 20px;
}

.application-grid strong {
  padding-top: 20px;
  font-size: 20px;
}

.application-grid span {
  padding-bottom: 22px;
  color: var(--muted);
}

.process-section {
  padding-top: 24px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 220px;
  padding: 28px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.process-list li::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  margin-bottom: 56px;
  color: var(--red);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
  padding: 76px clamp(24px, 6vw, 88px);
  color: #ffffff;
  background: var(--red);
}

.contact-section .eyebrow {
  color: #ffffff;
}

.contact-section h2 {
  margin-bottom: 0;
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

address a,
address span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  color: #ffffff;
  background: var(--ink);
}

.page-hero-media,
.page-hero-shade {
  position: absolute;
  inset: 0;
}

.page-hero-media {
  background-image: url("archive/image/imagestyle/home/tw/703.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.product-hero .page-hero-media {
  background-image: url("archive/image/imagestyle/home/tw/701.jpg");
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(32, 35, 38, 0.86) 0%, rgba(32, 35, 38, 0.65) 46%, rgba(32, 35, 38, 0.24) 100%),
    linear-gradient(0deg, rgba(32, 35, 38, 0.28), rgba(32, 35, 38, 0.12));
}

.page-hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.42);
}

.page-hero h1 {
  margin-bottom: 16px;
  font-size: 46px;
}

.page-hero .eyebrow {
  color: #ffffff;
}

.page-hero-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  min-height: 240px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-card:hover,
.category-card.active {
  border-color: rgba(223, 56, 48, 0.62);
  box-shadow: 0 14px 34px rgba(32, 35, 38, 0.09);
}

.category-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 800;
}

.category-card strong,
.category-card p {
  display: block;
}

.category-card strong {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.category-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.catalog-section {
  padding-top: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.catalog-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
  min-height: 340px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-card:hover {
  border-color: var(--red);
  box-shadow: 0 14px 34px rgba(32, 35, 38, 0.1);
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.catalog-card strong {
  display: block;
  padding: 0 18px 20px;
  font-size: 17px;
  line-height: 1.45;
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  margin: 18px 18px 10px;
  padding: 4px 10px;
  color: var(--red);
  background: rgba(223, 56, 48, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.product-detail-section {
  padding-bottom: 56px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.gallery-main,
.gallery-thumbs img {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-main {
  display: grid;
  place-items: center;
  min-height: 420px;
  margin: 0;
  padding: 34px;
}

.gallery-main img {
  width: min(100%, 520px);
  max-height: 340px;
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 14px;
  object-fit: contain;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gallery-thumbs img:hover,
.gallery-thumbs img:focus-visible,
.gallery-thumbs img.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 56, 48, 0.18);
}

.gallery-thumbs img:hover,
.gallery-thumbs img:focus-visible {
  transform: translateY(-2px);
}

.gallery-thumbs img:focus-visible {
  outline: none;
}

.product-summary-panel {
  position: sticky;
  top: 104px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(32, 35, 38, 0.08);
}

.product-summary-panel h2 {
  margin-bottom: 14px;
}

.product-summary-panel p {
  color: var(--muted);
}

.product-meta-list {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.product-meta-list div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.product-meta-list dt {
  color: var(--muted);
  font-size: 14px;
}

.product-meta-list dd {
  margin: 0;
  font-weight: 700;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn.outline {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.btn.outline:hover {
  color: var(--red);
  border-color: var(--red);
}

.product-description-section,
.related-products-section {
  padding-top: 0;
}

.description-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.description-image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 24px;
  object-fit: contain;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.description-text-field {
  min-height: 140px;
  padding: 28px 32px;
  color: var(--ink);
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.8;
}

.description-text-field p {
  margin: 0;
  white-space: pre-wrap;
}

.catalog-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .proof-band,
  .service-grid,
  .product-grid,
  .process-list,
  .intro-section,
  .feature-band,
  .contact-section,
  .category-grid,
  .catalog-grid,
  .product-detail-grid,
  .description-image-grid,
  .article-lead-grid,
  .insight-grid,
  .article-media-band,
  .technical-media-grid,
  .application-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-summary-panel {
    position: static;
  }

  .intro-section,
  .contact-section {
    gap: 32px;
  }

  .feature-band img {
    height: 420px;
  }

  .article-media-band > img {
    min-height: 360px;
  }
}

@media screen and (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 0;
    padding: 18px 16px;
  }

  .brand img {
    width: 194px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .site-nav a:last-child {
    grid-column: 1 / -1;
  }

  .site-nav a {
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-media {
    background-image: url("archive/image/imagestyle/home/tw/702.jpg");
    background-position: center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(32, 35, 38, 0.9), rgba(32, 35, 38, 0.7));
  }

  .hero-content,
  .section,
  .proof-band {
    width: calc(100% - 32px);
  }

  .hero-content {
    padding: 54px 0;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-copy,
  .section-lead {
    font-size: 16px;
  }

  .proof-band,
  .service-grid,
  .product-grid,
  .process-list,
  .intro-section,
  .feature-band,
  .contact-section,
  .category-grid,
  .catalog-grid,
  .product-detail-grid,
  .description-image-grid,
  .catalog-grid.compact,
  .article-lead-grid,
  .insight-grid,
  .article-media-band,
  .technical-media-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 430px;
  }

  .page-hero-shade {
    background: linear-gradient(0deg, rgba(32, 35, 38, 0.9), rgba(32, 35, 38, 0.68));
  }

  .page-hero-content {
    width: calc(100% - 32px);
    padding: 54px 0;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero-copy {
    font-size: 16px;
  }

  .proof-band {
    margin-top: -28px;
  }

  .proof-item {
    min-height: 0;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .intro-section {
    padding-top: 78px;
  }

  .section-lead {
    margin-top: 0;
  }

  .section-heading {
    display: block;
  }

  .service-card,
  .process-list li,
  .category-card,
  .catalog-card {
    min-height: 0;
  }

  .gallery-main {
    min-height: 280px;
    padding: 24px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-thumbs img,
  .description-image-grid img {
    padding: 12px;
  }

  .description-text-field {
    min-height: 112px;
    padding: 22px;
    font-size: 16px;
  }

  .product-summary-panel {
    padding: 24px;
  }

  .article-kicker-card,
  .insight-card,
  .article-media-band > div {
    padding: 24px;
  }

  .article-media-band > img {
    min-height: 280px;
  }

  .product-meta-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-number,
  .process-list li::before,
  .category-card span {
    margin-bottom: 28px;
  }

  .feature-band img {
    height: 280px;
  }

  .feature-copy {
    padding: 36px 16px;
  }

  .product-card {
    min-height: 0;
  }

  .contact-section {
    padding: 54px 16px;
  }

}
