:root {
  --ink: #18212f;
  --muted: #647184;
  --line: #d8e1ea;
  --panel: #ffffff;
  --soft: #f4f7f9;
  --blue: #1d4ed8;
  --teal: #0f766e;
  --green: #18a058;
  --amber: #d97706;
  --navy: #111827;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(216, 225, 234, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  width: 118px;
  height: 42px;
  place-items: center;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #334155;
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
}

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

.site-nav .lang-link {
  padding: 7px 12px;
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-weight: 800;
}

.site-nav .lang-link:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 74px 5vw 42px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(244, 247, 249, 0.96), rgba(255, 255, 255, 0.94) 52%, rgba(230, 242, 239, 0.96)),
    radial-gradient(circle at 90% 15%, rgba(29, 78, 216, 0.12), transparent 34%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  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: 24px;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: #405166;
  font-size: 18px;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(29, 78, 216, 0.22);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 38px 0 0;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 225, 234, 0.9);
  border-radius: 8px;
}

.hero-metrics dt {
  color: var(--teal);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 5vw;
  background: var(--line);
}

.trust-strip span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #263445;
  background: #ffffff;
  font-weight: 700;
  text-align: center;
}

.section {
  padding: 88px 5vw;
}

.section:nth-of-type(odd) {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.contact-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

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

.product-card,
.industry-grid article {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.62) 100%),
    var(--product-image) right 12px bottom 8px / 62% auto no-repeat,
    var(--panel);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 58%;
  height: 72%;
  background: radial-gradient(circle at 70% 70%, rgba(29, 78, 216, 0.1), transparent 58%);
  pointer-events: none;
}

.product-card:nth-child(1) {
  --product-image: url("./assets/product-connector.svg");
}

.product-card:nth-child(2) {
  --product-image: url("./assets/product-harness.svg");
}

.product-card:nth-child(3) {
  --product-image: url("./assets/product-chip.svg");
}

.product-card:nth-child(4) {
  --product-image: url("./assets/product-terminal.svg");
}

.product-card .card-icon,
.product-card h3,
.product-card p {
  position: relative;
  z-index: 1;
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  background: var(--navy);
  border-radius: 8px;
}

.product-card:nth-child(2) .card-icon {
  background: var(--teal);
}

.product-card:nth-child(3) .card-icon {
  background: var(--blue);
}

.product-card:nth-child(4) .card-icon {
  background: var(--amber);
}

.product-card h3,
.industry-grid h3,
.service-list h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.product-card p,
.industry-grid p,
.service-list p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.brand-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brand-chip {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.brand-chip strong {
  color: var(--ink);
  font-size: 16px;
}

.brand-logo {
  flex: 0 0 108px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 12px;
  color: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.08);
}

.brand-logo.te {
  background: #0f8b8d;
  font-size: 24px;
}

.brand-logo.molex {
  color: #d71920;
  background: #ffffff;
  border: 2px solid #d71920;
  font-size: 20px;
  text-transform: uppercase;
}

.brand-logo.amphenol {
  background: #004b8d;
  font-size: 12px;
}

.brand-logo.phoenix {
  color: #0f172a;
  background: #f8fafc;
  border: 2px solid #16a34a;
  font-size: 12px;
}

.brand-logo.harting {
  color: #111827;
  background: #ffd200;
  font-size: 28px;
  font-family: Georgia, serif;
}

.brand-logo.jst {
  background: #d71920;
  font-size: 22px;
}

.brand-logo.hirose {
  background: #1f2937;
  font-size: 20px;
}

.brand-logo.more {
  color: var(--teal);
  background: #ecfdf5;
  border: 2px dashed rgba(15, 118, 110, 0.38);
  font-size: 28px;
}

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

.industry-grid article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.62) 100%),
    var(--industry-image) right 14px bottom 8px / 54% auto no-repeat,
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(29, 78, 216, 0.1));
}

.industry-grid article::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 72%;
  background: radial-gradient(circle at 68% 72%, rgba(15, 118, 110, 0.12), transparent 60%);
  pointer-events: none;
}

.industry-grid article:nth-child(1) {
  --industry-image: url("./assets/industry-auto.svg");
}

.industry-grid article:nth-child(2) {
  --industry-image: url("./assets/industry-charging.svg");
}

.industry-grid article:nth-child(3) {
  --industry-image: url("./assets/industry-rail.svg");
}

.industry-grid article:nth-child(4) {
  --industry-image: url("./assets/industry-aviation.svg");
}

.industry-grid article:nth-child(5) {
  --industry-image: url("./assets/industry-appliance.svg");
}

.industry-grid article:nth-child(6) {
  --industry-image: url("./assets/industry-medical.svg");
}

.industry-grid article h3,
.industry-grid article p {
  position: relative;
  z-index: 1;
  max-width: 72%;
}

.services-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 50px;
  align-items: start;
  color: #ffffff;
  background: #142033;
}

.services-band .eyebrow,
.services-band h2,
.services-band .section-heading p {
  color: #ffffff;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.service-list span {
  color: #8be0d2;
  font-weight: 900;
}

.service-list p {
  color: #cbd5e1;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: start;
}

.advantage-list {
  display: grid;
  gap: 12px;
}

.advantage-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.advantage-list strong {
  color: var(--teal);
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: start;
  padding: 88px 5vw;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(17, 24, 39, 0.96)),
    linear-gradient(90deg, #0f766e, #1d4ed8);
}

.contact-section .eyebrow,
.contact-section p {
  color: #d8fff8;
}

.company-card {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-top: 28px;
  padding: 24px;
  color: #e6fffb;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.company-card strong {
  color: #ffffff;
  font-size: 20px;
}

.company-card span {
  color: #d8fff8;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label,
.contact-form span {
  display: block;
}

.contact-form span {
  margin-bottom: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 5vw;
  color: #d7dde7;
  background: #0b1220;
}

.site-footer p {
  margin: 6px 0 0;
  color: #9aa7b8;
}

.footer-links a {
  color: #cbd5e1;
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .services-band,
  .support-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 5vw;
    left: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-metrics,
  .trust-strip,
  .product-grid,
  .industry-grid,
  .brand-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .product-card,
  .industry-grid article {
    min-height: auto;
  }

  .industry-grid article h3,
  .industry-grid article p {
    max-width: none;
  }

  .advantage-list div {
    grid-template-columns: 1fr;
  }

  .brand-chip {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand-logo {
    flex-basis: auto;
    width: 126px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 92px;
    height: 34px;
  }

  .brand small {
    display: none;
  }

  .section,
  .contact-section {
    padding: 64px 5vw;
  }

  .hero-actions .button {
    width: 100%;
  }
}
