:root {
  --navy: #0a1728;
  --blue: #0c65cf;
  --light: #e9f3ff;
  --text: #1c2b3a;
  --muted: #617284;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

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

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 18px #0b27410f;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #102a49;
  line-height: 1.12;
}

.logo small {
  font-size: 10px;
  display: block;
  letter-spacing: 2px;
  color: #6f8095;
  margin-top: 6px;
}

nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  color: #fff;
  background: radial-gradient(circle at 80% 26%, #205b96 0, transparent 42%),
    linear-gradient(115deg, #081829, #103760 80%);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  min-height: 550px;
  gap: 45px;
}

.eyebrow {
  color: #7ec0ff;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 13px;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.28;
  margin: 17px 0 20px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 17px;
  color: #cddfec;
  max-width: 570px;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 24px;
}

.btn:hover {
  background: #0a55ae;
}

.machine {
  width: 100%;
  filter: drop-shadow(0 25px 45px #0005);
}

section {
  padding: 80px 0;
}

.title {
  font-size: 34px;
  line-height: 1.3;
  margin: 8px 0 18px;
}

.section-tag {
  font-weight: 800;
  color: #0d65ca;
  font-size: 13px;
  letter-spacing: 2px;
}

.intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 900px;
}

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

.fact {
  background: #f3f8fe;
  border-left: 4px solid #0d65ca;
  padding: 20px 24px;
  border-radius: 5px;
}

.fact strong {
  display: block;
  font-size: 20px;
  color: #0c376a;
}

.products {
  background: #f5f8fc;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px #203a5810;
  border: 1px solid #e3ecf4;
}

.visual {
  height: 158px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0c3156, #2077bd);
  color: #d9efff;
}

.card .content {
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  color: #11385f;
  font-size: 20px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.capability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.panel {
  background: #0e2c49;
  border-radius: 16px;
  padding: 35px;
  color: #fff;
}

.panel .line {
  border-bottom: 1px solid #ffffff25;
  padding: 12px 0;
}

.panel .line:last-child {
  border: 0;
}

.panel strong {
  color: #a5d5ff;
}

.contact {
  background: linear-gradient(105deg, #09243e, #0b467b);
  color: white;
}

.contact .section-tag {
  color: #a0d5ff;
}

.contact .title {
  color: white;
}

.contact p {
  color: #d5e5f4;
}

.contactbox {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: #ffffff12;
  border: 1px solid #ffffff33;
  padding: 28px;
  border-radius: 12px;
}

.contact-info p {
  margin: 6px 0 19px;
}

.notice {
  font-size: 12px !important;
  opacity: .8;
}

footer {
  background: #071625;
  color: #9bb0c4;
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

@media(max-width:800px) {
  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    padding: 15px 0;
    justify-content: center;
  }

  .hero .wrap,
  .capability,
  .contactbox {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    padding: 60px 0;
  }

  .machine {
    max-width: 440px;
    margin: auto;
  }

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

  .facts {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }
}

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

  section {
    padding: 56px 0;
  }

  .title {
    font-size: 27px;
  }

  nav {
    font-size: 12px;
    gap: 12px;
  }

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

.lang-switch {
  background: #eef5ff;
  border: 1px solid #d0e0f3;
  border-radius: 5px;
  padding: 6px 10px;
  color: #125899;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch:hover {
  background: #dcecff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #68b7ff;
  outline-offset: 3px;
}

.contact-info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal {
  font-size: 12px;
  opacity: .7;
}

.added-section {
  background: #fff;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.eq-card {
  padding: 27px;
  border: 1px solid #dae7f2;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff, #f2f7fc);
}

.eq-icon {
  font-size: 34px;
  color: #0c65cf;
}

.eq-card h3 {
  margin: 12px 0 8px;
  color: #11385f;
}

.eq-card p {
  color: #5c7287;
  margin: 0;
}

.under-review {
  display: inline-block;
  background: #fff3cf;
  color: #745600;
  border-radius: 99px;
  font-size: 12px;
  padding: 5px 12px;
  font-weight: 700;
}

.rfq {
  background: #eef5fc;
}

.rfq-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.rfq-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 45px #1c3f6215;
}

.rfq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rfq label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #174267;
  margin-bottom: 12px;
}

.rfq input,
.rfq select,
.rfq textarea {
  display: block;
  margin-top: 5px;
  width: 100%;
  border: 1px solid #b9cbdc;
  padding: 11px 12px;
  border-radius: 7px;
  font: inherit;
  color: #1c2b3a;
  background: #fff;
}

.rfq textarea {
  min-height: 110px;
  resize: vertical;
}

.rfq button {
  font: inherit;
  cursor: pointer;
}

.rfq button:disabled {
  cursor: wait;
  opacity: .65;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.form-actions .btn {
  margin-top: 0;
}

.smallnote {
  color: #5a6c7b;
  font-size: 13px;
}

.guide {
  padding-left: 21px;
  color: #526779;
}

.guide li {
  margin: 14px 0;
}

.form-result {
  white-space: pre-wrap;
  padding: 12px;
  background: #eaf6ef;
  border-radius: 8px;
  margin-top: 12px;
}

.form-result[hidden] {
  display: none;
}

.form-result.is-pending {
  color: #174267;
  background: #eef5fc;
}

.form-result.is-error {
  color: #8a1c1c;
  background: #fdecec;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.process-row div {
  padding: 16px;
  border-top: 3px solid #0c65cf;
  background: #f3f8fe;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: white;
  color: black;
  z-index: 100;
  padding: 10px;
}

.skip-link:focus {
  left: 10px;
}

@media(max-width:800px) {
  .equipment-grid,
  .process-row {
    grid-template-columns: 1fr 1fr;
  }

  .rfq-layout {
    grid-template-columns: 1fr;
  }
}

@media(max-width:530px) {
  .equipment-grid,
  .process-row,
  .rfq-row {
    grid-template-columns: 1fr;
  }

  .rfq-form {
    padding: 18px;
  }
}
