:root {
  --ink: #14202e;
  --muted: #5f6b78;
  --line: #dce3eb;
  --panel: #f6f8fa;
  --steel: #234a68;
  --blue: #0b4f86;
  --gold: #d8a33c;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 32, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

html[dir="rtl"] body {
  direction: rtl;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(20, 32, 46, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--white);
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.site-header.is-scrolled .language-button,
.site-header.is-open .language-button {
  background: var(--white);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  width: 172px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

.language-switcher.is-open .language-menu {
  display: grid;
  gap: 4px;
}

.language-menu button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

html[dir="rtl"] .language-menu button {
  text-align: right;
}

.language-menu button:hover,
.language-menu button.is-active {
  background: #eef3f7;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 136px clamp(20px, 5vw, 72px) 138px;
  color: var(--white);
  background: #0f1b28;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
  opacity: 0.72;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 12, 20, 0.9) 0%, rgba(4, 12, 20, 0.62) 42%, rgba(4, 12, 20, 0.15) 100%),
    linear-gradient(0deg, rgba(4, 12, 20, 0.7) 0%, rgba(4, 12, 20, 0) 36%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-heading span {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 0;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.25;
}

.btn.primary {
  color: #111;
  background: var(--gold);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 28px;
  left: clamp(20px, 5vw, 72px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 18, 29, 0.72);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h2 em,
.intro-panel h3 em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.42em;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.intro-panel h3 em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58em;
}

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

.section-heading p + p,
.hero-copy + .hero-copy,
.contact p + p {
  margin-top: 10px;
}

.en {
  color: var(--muted);
  font-size: 0.94em;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: stretch;
}

.wide-image,
.capability-visual {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-image img,
.capability-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-image {
  min-height: 0;
  background: #edf3f8;
}

.wide-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-panel {
  padding: clamp(28px, 4vw, 46px);
  color: var(--white);
  border-radius: 8px;
  background: var(--steel);
}

.intro-panel h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.18;
}

.intro-panel p,
.intro-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.capabilities,
.strengths,
.industries {
  background: var(--panel);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.capability-visual {
  width: 100%;
  min-height: clamp(360px, 45vw, 560px);
  margin: 0 auto;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.capability-list article,
.strength-grid article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-list article {
  padding: 24px;
}

.capability-list strong {
  display: block;
  font-size: 18px;
  line-height: 1.3;
}

.capability-list p,
.product-card p,
.strength-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.capability-list .en,
.product-card .en,
.strength-grid .en {
  margin-top: 8px;
}

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

.industry-grid span {
  display: block;
  min-height: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.industry-grid em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

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

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #eef2f5;
}

.product-card img[src*="product-07"] {
  object-fit: contain;
  object-position: right center;
}

.product-card img[src*="product-05"] {
  object-fit: cover;
  object-position: center;
}

.product-card:not(.featured) {
  padding-bottom: 22px;
}

.product-card:not(.featured) > :not(img) {
  margin-right: 22px;
  margin-left: 22px;
}

.product-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  min-height: 380px;
}

.product-card.featured img {
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  aspect-ratio: 3 / 4;
}

.product-card.featured div {
  padding: clamp(26px, 4vw, 42px);
}

.product-index {
  display: inline-block;
  margin-top: 22px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.product-card.featured .product-index {
  margin-top: 0;
}

.product-card h3 {
  margin: 8px 0 0;
  font-size: 21px;
  line-height: 1.28;
}

.product-card.featured h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.product-card em {
  color: var(--muted);
  font-size: 0.72em;
  font-style: normal;
  font-weight: 700;
}

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

.strength-grid article {
  padding: 26px;
}

.strength-grid span {
  color: var(--gold);
  font-weight: 900;
}

.strength-grid h3 {
  min-height: 54px;
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.32;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.process-list li {
  position: relative;
  min-height: 140px;
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  content: "0" counter(list-item);
}

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

.process-list strong {
  font-size: 18px;
}

.process-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: center;
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, #102434 0%, #1d4d71 100%);
}

.contact h2 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
}

.contact p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

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

.contact-card strong {
  font-size: 24px;
}

.contact-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-card .btn {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #cbd4dd;
  background: #08121c;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero-stats,
  .product-grid,
  .strength-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.featured {
    grid-column: span 2;
  }

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

  .process-list li {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

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

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 52px;
  }

  .intro-grid,
  .capability-layout,
  .contact,
  .product-card.featured {
    grid-template-columns: 1fr;
  }

  .wide-image,
  .capability-visual {
    min-height: 260px;
  }

  .capability-list,
  .product-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: auto;
  }

  .product-card.featured img {
    height: auto;
    min-height: 0;
  }
}

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

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.18;
  }

  .hero-stats,
  .strength-grid,
  .process-list,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .process-list li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .process-list li {
    border-bottom-color: var(--line);
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
