:root {
  --black: #090909;
  --charcoal: #161719;
  --panel: #202226;
  --metal: #9a9da3;
  --line: #34383f;
  --white: #ffffff;
  --soft: #f3f4f5;
  --muted: #c5c9cf;
  --red: #c81722;
  --red-dark: #8f1118;
  --yellow: #f2bf2f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

[dir="rtl"] body {
  text-align: right;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
}

.brand-text {
  color: var(--muted);
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 24px);
  min-width: 0;
  overflow-x: auto;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.primary-nav a:hover,
.contact-actions a:hover,
.language-switcher a:hover {
  color: var(--white);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.language-switcher {
  position: relative;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.language-switcher[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-switcher nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 170px;
  width: 190px;
  max-width: calc(100vw - 36px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.language-switcher a {
  display: block;
  padding: 9px 10px;
  border-radius: 4px;
}

.language-switcher a:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.header-cta,
.button,
.inquiry-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.header-cta,
.button.primary,
.inquiry-form button {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--black);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: 0 clamp(18px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(200, 23, 34, 0.28), transparent 28%),
    linear-gradient(135deg, #080808 0%, #15171b 48%, #262a30 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  right: -120px;
  bottom: -160px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 56px rgba(255, 255, 255, 0.03),
    inset 0 0 0 90px rgba(200, 23, 34, 0.22);
}

[dir="rtl"] .hero::before {
  right: auto;
  left: -120px;
}

.hero::after {
  inset: auto 0 0;
  height: 9px;
  background:
    linear-gradient(90deg, var(--red) 0 28%, transparent 28% 32%, var(--yellow) 32% 38%, transparent 38%),
    #25282e;
}

.hero-content {
  position: relative;
  width: min(680px, 100%);
  padding: 78px 0;
}

.hero-layout-preview {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.image-slot {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 132px;
  padding: 20px;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%),
    #15171b;
}

.image-slot.large {
  min-height: 300px;
}

.image-slot::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #15171b 0 11px, rgba(255, 255, 255, 0.38) 12px 17px, transparent 18px),
    conic-gradient(from 8deg, rgba(255, 255, 255, 0.56) 0 10deg, transparent 10deg 19deg);
  box-shadow: inset 0 0 0 14px rgba(200, 23, 34, 0.8);
}

[dir="rtl"] .image-slot::before {
  right: auto;
  left: 22px;
}

.image-slot span {
  position: relative;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.image-slot strong {
  position: relative;
  margin-top: 5px;
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 560px;
  color: #e2e4e7;
  font-size: 1.2rem;
}

.heritage-badge {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 0 10px;
  width: fit-content;
  margin: 0 0 24px;
  padding: 13px 16px;
  border-left: 5px solid var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.heritage-badge strong {
  grid-row: span 2;
  color: var(--white);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.heritage-badge span {
  color: var(--yellow);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.heritage-badge em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

[dir="rtl"] .heritage-badge {
  border-right: 5px solid var(--yellow);
  border-left: 0;
}

.zh {
  color: var(--muted);
}

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

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
}

.capabilities article {
  min-height: 220px;
  padding: clamp(26px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.capabilities article:last-child {
  border-right: 0;
}

.capabilities span {
  color: var(--red);
  font-weight: 900;
}

.capabilities h2 {
  margin-top: 24px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.capabilities p,
.section-heading p,
.product-card p,
.catalogue-panel p,
.split-band p,
.dealer-section p,
.site-footer p {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 64px);
}

.section-heading,
.two-column,
.product-grid,
.catalogue-panel,
.split-band,
.solution-row,
.industry-grid,
.article-grid,
.dealer-section,
.contact-section,
.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 720px;
}

.about-section,
.knowledge-section {
  background: var(--soft);
  color: var(--black);
}

.about-section .eyebrow,
.knowledge-section .eyebrow {
  color: var(--red);
}

.about-section .zh,
.knowledge-section p,
.about-section .check-list {
  color: #4e535b;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  font-size: 1.08rem;
}

.heritage-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(var(--max), 100%);
  margin: clamp(34px, 5vw, 62px) auto 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #d6d8dc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(200, 23, 34, 0.09), transparent 42%),
    #ffffff;
}

.heritage-number {
  display: grid;
  min-width: 130px;
  padding-right: 24px;
  border-right: 1px solid #d6d8dc;
}

.heritage-number strong {
  color: var(--red);
  font-size: clamp(4rem, 7vw, 6.8rem);
  line-height: 0.8;
}

.heritage-number span {
  color: #4e535b;
  font-weight: 900;
  text-transform: uppercase;
}

.heritage-panel h3 {
  color: var(--black);
  font-size: clamp(1.6rem, 2.7vw, 2.6rem);
}

.heritage-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: #4e535b;
}

[dir="rtl"] .heritage-number {
  padding-right: 0;
  padding-left: 24px;
  border-right: 0;
  border-left: 1px solid #d6d8dc;
}

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

.check-list li {
  padding-left: 28px;
  position: relative;
}

[dir="rtl"] .check-list li {
  padding-right: 28px;
  padding-left: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
}

[dir="rtl"] .check-list li::before {
  right: 0;
  left: auto;
}

.product-section,
.industries-section {
  background:
    linear-gradient(135deg, rgba(200, 23, 34, 0.12), transparent 38%),
    var(--black);
}

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

.product-card,
.article-grid a,
.catalogue-panel,
.spec-box,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card {
  overflow: hidden;
  background: var(--panel);
  min-height: 440px;
}

.product-card h3,
.product-card p,
.product-card ul {
  padding-inline: 22px;
}

.product-card ul {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-visual {
  height: 154px;
  position: relative;
  background: #111;
  overflow: hidden;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.product-visual::before {
  width: 130px;
  height: 130px;
  right: 22px;
  top: 18px;
  background:
    radial-gradient(circle at center, #111 0 10px, #c9cbd0 11px 16px, transparent 17px),
    conic-gradient(from 12deg, #c9cbd0 0 8deg, #2b2e34 8deg 15deg, #c9cbd0 15deg 23deg, #2b2e34 23deg 30deg);
  box-shadow: inset 0 0 0 18px rgba(200, 23, 34, 0.78), inset 0 0 0 24px #2c2f36;
}

.product-visual::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  inset: -60px auto auto -30px;
  width: 160px;
  height: 160px;
}

.product-visual.core::before {
  border-radius: 18px;
  width: 88px;
  height: 126px;
  background: linear-gradient(90deg, #151515, #555961, #151515);
  box-shadow: inset 0 10px 0 #bfc1c5, inset 0 -12px 0 var(--red);
}

.product-visual.grind::before,
.product-visual.prep::before {
  width: 124px;
  height: 124px;
  box-shadow: inset 0 0 0 16px var(--red), inset 0 0 0 34px #20242a;
}

.product-visual.prep::before {
  box-shadow: inset 0 0 0 10px var(--yellow), inset 0 0 0 30px #20242a;
}

.catalogue-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  margin-top: 24px;
  padding: 28px;
  background: var(--charcoal);
}

.filter-tags,
.spec-list,
.solution-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tags span,
.spec-list span,
.solution-row span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
}

.spec-box {
  padding: 28px;
  background: var(--panel);
}

.solutions-section {
  background: #111214;
}

.solution-row {
  justify-content: flex-start;
}

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

.industry-grid article {
  min-height: 110px;
  display: grid;
  align-items: end;
  padding: 20px;
  background: linear-gradient(145deg, #292d33, #141517);
  border-bottom: 4px solid var(--red);
  border-radius: 8px;
  font-weight: 800;
}

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

.article-grid a {
  display: block;
  padding: 26px;
  min-height: 230px;
  color: var(--black);
  background: var(--white);
}

.article-grid span {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dealer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--panel);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.inquiry-form .full,
.inquiry-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #454a52;
  border-radius: 4px;
  background: #111214;
  color: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
}

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

.contact-actions a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--white);
}

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

  .primary-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-tools {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .language-switcher nav {
    right: auto;
    left: 0;
  }

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

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

@media (max-width: 760px) {
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 720px;
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 52px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .image-slot.large {
    min-height: 220px;
  }

  .image-slot {
    min-height: 104px;
  }

  .image-slot::before {
    width: 70px;
    height: 70px;
  }

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

  .heritage-number {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid #d6d8dc;
  }

  [dir="rtl"] .heritage-number {
    padding-left: 0;
    border-left: 0;
  }

  .capabilities,
  .two-column,
  .catalogue-panel,
  .split-band,
  .industry-grid,
  .article-grid,
  .dealer-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-section,
  .site-footer {
    display: grid;
  }
}
