:root {
  --ink: #17212b;
  --muted: #5c6b78;
  --line: #dce4eb;
  --paper: #f4f7fa;
  --steel: #123d63;
  --blue: #0067b1;
  --blue-deep: #003f73;
  --blue-soft: #e7f1f8;
  --mint: #2d8fbd;
  --red: #c4473d;
  --white: #ffffff;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "PingFang TC", "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #06182b;
  font-size: 13px;
}

.utility-bar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 56px);
  min-height: 76px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 103, 177, 0.18);
  box-shadow: 0 10px 28px rgba(16, 42, 68, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 clamp(330px, 32vw, 430px);
  min-width: 300px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 103, 177, 0.16);
  border-radius: 4px;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0.03em;
}

.brand-text small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  font-size: 15px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 76px;
  color: var(--ink);
  border-bottom: 3px solid transparent;
}

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

.language-toggle {
  min-width: 48px;
  height: 38px;
  border: 1px solid rgba(0, 103, 177, 0.28);
  border-radius: 6px;
  color: var(--blue-deep);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.language-toggle:hover {
  color: var(--white);
  background: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(24, 32, 34, 0.22);
  background: transparent;
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #071d35;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: right 68%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(3, 22, 42, 0.93) 0%, rgba(3, 34, 62, 0.82) 42%, rgba(3, 34, 62, 0.3) 72%, rgba(3, 34, 62, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 18, 34, 0.7) 0%, rgba(3, 18, 34, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 150px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: #84c9f2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.1vw, 60px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-subcopy {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

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

.hero-news {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: 150px repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  transform: translateX(-50%);
  color: var(--white);
  background: rgba(0, 103, 177, 0.94);
  box-shadow: 0 -16px 42px rgba(0, 0, 0, 0.16);
}

.hero-news strong,
.hero-news a {
  min-height: 76px;
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-news strong {
  display: grid;
  place-items: center;
  color: #dff1ff;
  background: rgba(0, 63, 115, 0.72);
}

.hero-news a {
  display: flex;
  align-items: center;
  font-weight: 800;
}

.hero-news a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: 48px auto 0;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(16, 42, 68, 0.08);
}

.quick-entry a {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.quick-entry a:hover {
  color: var(--white);
  background: var(--blue);
}

.quick-entry span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-entry a:hover span {
  color: rgba(255, 255, 255, 0.76);
}

.quick-entry strong {
  font-size: clamp(22px, 3vw, 30px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-band {
  margin-top: 46px;
}

.metrics div {
  padding: clamp(20px, 4vw, 34px);
  border-right: 1px solid var(--line);
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.1;
}

.metrics span {
  color: var(--muted);
}

.section,
.split-section,
.contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(70px, 9vw, 108px) 0;
}

.feature-section,
.news-section {
  width: auto;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #f4f7fa, #eaf1f7);
}

.compact-section {
  padding-top: clamp(48px, 7vw, 78px);
  padding-bottom: clamp(48px, 7vw, 78px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
  border-left: 4px solid var(--blue);
  padding-left: 22px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.intro .section-heading {
  display: block;
  margin: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.intro-copy p {
  margin-bottom: 18px;
}

.company-logo {
  width: min(360px, 42vw);
  margin: 22px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 42, 68, 0.12);
}

.company-logo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.service-grid,
.article-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.service-card,
.article-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 42, 68, 0.08);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.card-number,
.article-card > span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
}

.article-icon {
  display: inline-grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
}

.article-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-card h3,
.article-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.service-card p,
.article-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-visual {
  margin: auto -4px 0;
  padding-top: 22px;
}

.service-visual img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.article-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(16, 42, 68, 0.13);
}

.article-photo {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 42, 68, 0.08);
}

.article-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(0.72) contrast(0.88) brightness(1.08);
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.materials .section-heading {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.material-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.material-list span {
  min-width: 128px;
  padding: 14px 18px;
  text-align: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.materials-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(16, 42, 68, 0.16);
}

.materials-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-panel {
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
  background: var(--white);
}

.split-media img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: var(--radius);
}

.split-content p:not(.eyebrow) {
  color: var(--muted);
}

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

.process-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.process-list strong {
  color: var(--ink);
}

.process-list span {
  color: var(--muted);
}

.spec-table {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border-top: 4px solid var(--blue);
  box-shadow: 0 16px 40px rgba(16, 42, 68, 0.08);
}

.equipment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
}

.equipment-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: stretch;
}

.equipment-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 172px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 42, 68, 0.08);
}

.spec-table div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.spec-table span {
  color: var(--muted);
}

.spec-table strong {
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  margin-bottom: clamp(66px, 10vw, 110px);
  margin-top: clamp(40px, 7vw, 88px);
  padding: clamp(34px, 6vw, 62px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 103, 177, 0.96), rgba(0, 63, 115, 0.98));
  border-radius: var(--radius);
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-lines {
  margin-top: 26px;
}

.contact-lines a,
.contact-lines span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.line-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 0;
  color: var(--white);
  background: transparent;
}

.line-card img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 4px;
}

.line-card strong,
.line-card span {
  display: block;
}

.line-card strong {
  font-size: 18px;
}

.line-card span {
  color: #6ee7a8;
  font-size: 22px;
  font-weight: 800;
}

.line-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.quote-form .bot-field {
  display: none;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #cfd7d3;
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.captcha-question {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 4px;
  font-weight: 800;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-canvas {
  width: 156px;
  height: 52px;
  border: 1px solid #bad6ea;
  border-radius: 6px;
  background: #eef7ff;
}

.captcha-refresh {
  width: auto;
  min-height: 44px;
  padding: 0 14px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid #bad6ea;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.captcha-refresh:hover {
  border-color: var(--blue);
}

.captcha-message {
  min-height: 20px;
}

.captcha-message.is-error {
  color: #b42318;
}

.captcha-message.is-success {
  color: #067647;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.68);
  background: #071d35;
}

.site-footer span:last-child {
  max-width: 760px;
}

.article-page {
  padding: 128px 18px 80px;
}

.article-body {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  background: var(--white);
  border-top: 4px solid var(--blue);
  box-shadow: 0 16px 40px rgba(16, 42, 68, 0.08);
}

.article-body h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
}

.article-body .lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.article-body h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 18px;
}

.article-body ul {
  padding-left: 22px;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding: 20px;
  background: var(--blue-soft);
  border-radius: var(--radius);
}

@media (max-width: 920px) {
  .utility-bar {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .language-toggle {
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 103, 177, 0.16);
    border-radius: var(--radius);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
  }

  .metrics,
  .service-grid,
  .article-grid,
  .quick-entry {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 720px;
  }

  .hero-news {
    grid-template-columns: 1fr;
  }

  .hero-news strong,
  .hero-news a {
    min-height: auto;
    padding: 13px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .intro,
  .split-section,
  .contact,
  .materials-layout,
  .equipment-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .equipment-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .equipment-gallery img {
    min-height: 120px;
  }

  .materials .section-heading,
  .material-list {
    justify-content: center;
    text-align: center;
  }

  .company-logo {
    width: min(100%, 360px);
    margin: 18px 0 0;
  }

  .contact {
    padding: 28px;
  }

  .line-card {
    grid-template-columns: 112px 1fr;
  }

  .line-card img {
    width: 112px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }

  .brand-text strong {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: 0.04em;
  }

  .brand-text small {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.1;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    opacity: 0.72;
    object-position: 66% 68%;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(3, 22, 42, 0.94) 0%, rgba(3, 22, 42, 0.86) 62%, rgba(3, 22, 42, 0.72) 100%),
      linear-gradient(0deg, rgba(3, 18, 34, 0.86) 0%, rgba(3, 18, 34, 0.18) 48%);
  }

  .hero-content {
    padding-top: 92px;
    padding-bottom: 230px;
  }

  .metrics,
  .service-grid,
  .article-grid,
  .quick-entry {
    grid-template-columns: 1fr;
  }

  .quick-entry {
    margin-top: 24px;
  }

  .quick-entry a {
    min-height: 98px;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li,
  .spec-table div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact {
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }

  .line-card {
    grid-template-columns: 1fr;
  }

  .line-card img {
    width: min(220px, 100%);
  }

  .site-footer {
    display: grid;
  }
}
