:root {
  --xj-ink: #142033;
  --xj-muted: #667789;
  --xj-line: #e2e8ef;
  --xj-soft: #f4f7fa;
  --xj-white: #ffffff;
  --xj-blue: #19354f;
  --xj-sky: #2e799e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  color: var(--xj-ink);
  background: var(--xj-white);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 58px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--xj-line);
  backdrop-filter: blur(16px);
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  min-width: 170px;
}

.site-logo img,
.custom-logo {
  display: block;
  width: 170px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.site-logo span {
  font-size: 12px;
  color: var(--xj-muted);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu a {
  color: #26394d;
  text-decoration: none;
  font-size: 14px;
}

.menu a:hover {
  color: var(--xj-sky);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 50;
  display: none;
  min-width: 190px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--xj-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(20, 32, 51, .13);
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
  display: grid;
  gap: 2px;
}

.sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: #26394d;
  white-space: nowrap;
}

.sub-menu a:hover {
  background: var(--xj-soft);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--xj-blue);
  border-radius: 4px;
  background: var(--xj-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--xj-muted);
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

.language-switcher label {
  font-weight: 600;
}

.language-switcher select,
.language-switcher .goog-te-combo {
  min-height: 34px;
  width: 156px;
  padding: 0 8px;
  border: 1px solid var(--xj-line);
  border-radius: 4px;
  background: #fff;
  color: var(--xj-ink);
  font-size: 13px;
}

#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.language-switcher .goog-te-gadget {
  color: transparent;
  font-size: 0;
}

.language-switcher .goog-te-gadget span,
.language-switcher .goog-logo-link {
  display: none;
}

body {
  top: 0 !important;
}

.skiptranslate iframe {
  display: none !important;
}

.button.secondary {
  background: transparent;
  color: var(--xj-blue);
}

.button.light {
  border-color: rgba(255, 255, 255, .82);
  background: #fff;
  color: var(--xj-blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--xj-line);
  border-radius: 4px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--xj-ink);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--xj-soft);
}

.hero > img {
  width: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 610px;
  padding: clamp(32px, 6vw, 78px);
  background: linear-gradient(90deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .58) 52%, rgba(255, 255, 255, 0) 100%);
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--xj-sky);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0;
  color: var(--xj-muted);
  line-height: 1.7;
}

.hero-content p {
  max-width: 500px;
  margin-top: 18px;
  color: #33475a;
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--xj-line);
  border-bottom: 1px solid var(--xj-line);
  background: #fbfcfd;
}

.proof-strip div {
  padding: 26px clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--xj-line);
}

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

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.proof-strip span {
  color: var(--xj-muted);
  font-size: 13px;
}

.section,
.about-section,
.case-section,
.cta-section,
.simple-page {
  padding: clamp(52px, 6vw, 92px) clamp(20px, 4vw, 58px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 560px;
}

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

.product-card {
  scroll-margin-top: 132px;
  overflow: hidden;
  border: 1px solid var(--xj-line);
  border-radius: 8px;
  background: var(--xj-soft);
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
  transition: transform .24s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card div {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.product-card span {
  color: var(--xj-muted);
  font-size: 13px;
}

.product-card a {
  margin-top: 5px;
  color: var(--xj-sky);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: var(--xj-soft);
}

.about-section img,
.process-section img,
.case-grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.about-section img {
  aspect-ratio: 16 / 10;
}

.about-section p {
  margin-top: 16px;
}

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

.capability-grid span {
  min-height: 62px;
  padding: 14px;
  border-left: 3px solid var(--xj-sky);
  background: #fff;
  color: #25384d;
  font-weight: 500;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.process-section p {
  margin-top: 16px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 22px;
}

.process-list span {
  padding: 13px 0;
  border-bottom: 1px solid var(--xj-line);
  font-size: 14px;
}

.case-section {
  background: #111d2b;
  color: #eef4fa;
}

.case-section p {
  color: #c9d5df;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.case-copy {
  display: grid;
  gap: 14px;
}

.case-copy article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.case-copy p {
  margin-top: 8px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  background: #edf4f8;
}

.cta-section p {
  max-width: 760px;
  margin-top: 12px;
}

.site-footer {
  padding: 54px clamp(20px, 4vw, 58px) 26px;
  background: #0e1721;
  color: #e8f0f6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 38px;
}

.footer-logo {
  width: 190px;
  max-height: 54px;
  object-fit: contain;
  filter: invert(1);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.site-footer p {
  margin-top: 14px;
  color: #b8c5d1;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .1);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #93a3b1;
  font-size: 13px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #1faa59;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.simple-page {
  max-width: 960px;
  margin: 0 auto;
}

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

.inner-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--xj-soft);
}

.inner-hero img {
  width: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(.86);
}

.inner-hero > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 78px);
  background: linear-gradient(90deg, rgba(12, 24, 38, .72), rgba(12, 24, 38, .32), rgba(12, 24, 38, 0));
  color: #fff;
}

.inner-hero .eyebrow {
  color: #a9dbef;
}

.inner-hero h1 {
  max-width: 760px;
}

.two-column,
.contact-layout,
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.light-section {
  background: var(--xj-soft);
}

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

.module-grid article,
.info-list article {
  padding: 20px;
  border: 1px solid var(--xj-line);
  border-radius: 8px;
  background: #fff;
}

.module-grid p,
.info-list p {
  margin-top: 10px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.contact-layout .button {
  margin-top: 26px;
}

.post-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.post-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--xj-line);
}

.post-list a {
  color: var(--xj-ink);
  text-decoration: none;
}

.product-detail img {
  width: 100%;
  border-radius: 8px;
  background: var(--xj-soft);
}

.product-detail .button {
  margin-top: 28px;
}

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

.detail-showcase article {
  overflow: hidden;
  border: 1px solid var(--xj-line);
  border-radius: 8px;
  background: #fff;
}

.detail-showcase img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  background: var(--xj-soft);
}

.detail-showcase div {
  padding: 18px;
}

.detail-showcase p {
  margin-top: 8px;
}

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

.qc-grid article {
  overflow: hidden;
  border: 1px solid var(--xj-line);
  border-radius: 8px;
  background: #fff;
}

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

.qc-grid h3 {
  padding: 14px;
  font-size: 16px;
}

.export-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(52px, 6vw, 92px) clamp(20px, 4vw, 58px);
  background: #fff;
}

.export-section img {
  width: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.export-section p {
  margin-top: 16px;
}

.export-section .button {
  margin-top: 26px;
}

.wide-photo {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--xj-line);
  background: #fff;
}

.showroom-section {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(52px, 6vw, 92px) clamp(20px, 4vw, 58px);
  background: var(--xj-soft);
}

.showroom-section img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.showroom-section p {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .primary-nav {
    display: flex;
    order: 4;
    flex-basis: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .menu {
    justify-content: flex-start;
    gap: 16px;
    min-width: max-content;
  }

  .menu-toggle {
    display: none;
  }

  .header-cta {
    display: none;
  }

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

  .proof-strip,
  .product-grid,
  .capability-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section,
  .process-section,
  .case-grid,
  .cta-section,
  .export-section,
  .showroom-section,
  .two-column,
  .contact-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

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

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

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

@media (max-width: 620px) {
  .hero,
  .hero > img {
    min-height: 560px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 52px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 58%, rgba(255, 255, 255, 0) 100%);
  }

  h1 {
    font-size: 38px;
  }

  .proof-strip,
  .product-grid,
  .capability-grid,
  .process-list,
  .module-grid,
  .qc-grid {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    padding-inline: 16px;
  }
}
