:root {
  --red: #a7192f;
  --red-dark: #7d1223;
  --ink: #171b1f;
  --muted: #626d73;
  --line: #e1e5e4;
  --surface: #ffffff;
  --surface-soft: #f5f7f6;
  --surface-warm: #faf9f6;
  --green: #405a49;
  --gold: #b58a46;
  --shadow: 0 18px 45px rgba(24, 31, 35, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Segoe UI",
    Arial,
    "Noto Sans SC",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.5;
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 27, 31, 0.08);
  box-shadow: 0 8px 28px rgba(23, 27, 31, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: 226px;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  padding: 9px 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red-dark);
  background: #f7eef0;
}

.language-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(23, 27, 31, 0.1);
  border-radius: var(--radius);
  background: #f3f5f4;
}

.lang-button {
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.lang-button.active {
  color: #fff;
  background: var(--red);
}

.hero {
  position: relative;
  min-height: clamp(600px, calc(100vh - 112px), 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(167, 25, 47, 0.12), transparent 30%),
    radial-gradient(circle at 72% 88%, rgba(64, 90, 73, 0.16), transparent 32%),
    linear-gradient(135deg, #fbfcfb 0%, #eef5f1 50%, #fff4f6 100%);
}

.hero-gallery {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  padding: clamp(30px, 4vw, 62px) clamp(24px, 5vw, 72px) clamp(30px, 4vw, 62px)
    clamp(610px, 53vw, 790px);
  background: transparent;
  opacity: 0.98;
}

.hero-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(64, 90, 73, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 90, 73, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 44%, #000 100%);
}

.hero-gallery img {
  min-width: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(10px, 1.8vw, 24px);
  border: 1px solid rgba(64, 90, 73, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, #eef4f1 72%),
    #f7faf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 20px 42px rgba(23, 27, 31, 0.11);
  filter: saturate(0.9) contrast(0.98) brightness(1);
  opacity: 0.98;
}

.hero-gallery img:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}

.hero-gallery img:nth-child(2) {
  grid-column: 5 / 9;
  grid-row: 1;
}

.hero-gallery img:nth-child(3) {
  grid-column: 9 / 13;
  grid-row: 1;
}

.hero-gallery img:nth-child(4) {
  grid-column: 5 / 8;
  grid-row: 2;
}

.hero-gallery img:nth-child(5) {
  grid-column: 8 / 10;
  grid-row: 2;
}

.hero-gallery img:nth-child(6) {
  grid-column: 10 / 13;
  grid-row: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 252, 251, 0.98) 0%, rgba(246, 249, 247, 0.96) 42%, rgba(246, 249, 247, 0.22) 70%, rgba(255, 244, 246, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(238, 245, 241, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 74px 0 82px;
  color: var(--ink);
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--red-dark);
  font-size: clamp(1.06rem, 1.1vw, 1.22rem);
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(2.32rem, 3.9vw, 3.42rem);
  line-height: 1.05;
  text-shadow: none;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5vw, 4.05rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: #435056;
  font-size: 1.02rem;
  text-shadow: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(167, 25, 47, 0.34);
}

.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--red-dark);
  background: #fff;
  border-color: rgba(167, 25, 47, 0.14);
  box-shadow: 0 12px 26px rgba(23, 27, 31, 0.08);
}

.button-ghost {
  color: var(--ink);
  background: #fff;
  border-color: rgba(64, 90, 73, 0.14);
  box-shadow: 0 12px 26px rgba(23, 27, 31, 0.08);
}

.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.category-strip {
  border-top: 1px solid rgba(64, 90, 73, 0.1);
  border-bottom: 1px solid rgba(64, 90, 73, 0.1);
  background: #ffffff;
}

.category-strip-inner {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  overflow-x: auto;
}

.category-strip span {
  flex: 0 0 auto;
  color: #435056;
  font-size: 0.9rem;
  font-weight: 800;
}

.category-strip span::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 2px 2px 12px;
  border-radius: 50%;
  background: var(--gold);
}

.category-strip span:last-child::after {
  display: none;
}

.section {
  padding: 82px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.split-section .section-kicker {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.split-section h2 {
  max-width: 580px;
  font-size: clamp(1.72rem, 2.75vw, 2.42rem);
}

html[lang="zh-Hans"] .split-section h2 {
  max-width: 640px;
  font-size: clamp(1.7rem, 2.55vw, 2.3rem);
}

.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(181, 22, 37, 0.22);
}

.page-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(167, 25, 47, 0.1), transparent 28%),
    linear-gradient(135deg, #fbfcfb 0%, #eef5f1 58%, #fff4f6 100%);
  color: var(--ink);
  border-bottom: 1px solid rgba(64, 90, 73, 0.1);
}

.compact-hero {
  padding: 78px 0 60px;
}

.page-hero .eyebrow {
  color: var(--red-dark);
  font-size: 0.98rem;
}

.page-hero h1 {
  color: var(--ink);
  text-shadow: none;
}

.compact-hero h1 {
  margin-bottom: 14px;
}

.compact-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #435056;
  font-size: 1.08rem;
}

.products-section {
  padding: 34px 0 82px;
  background: #f5f7f6;
}

.products-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 520px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.search-label span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd6dc;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(181, 22, 37, 0.16);
  border-color: var(--red);
}

.product-count {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  border: 1px solid rgba(23, 27, 31, 0.1);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  background: #fff;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

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

.product-card {
  min-width: 0;
  border: 1px solid rgba(23, 27, 31, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 27, 31, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.product-card:hover {
  border-color: rgba(167, 25, 47, 0.22);
  box-shadow: 0 16px 34px rgba(23, 27, 31, 0.1);
  transform: translateY(-2px);
}

.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 14px;
  background:
    radial-gradient(circle at center, #fff 0%, #eef2f0 70%),
    #eef2f0;
}

.product-image-frame {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(64, 90, 73, 0.12);
  background: #fff;
}

.product-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--product-image-zoom, 1));
  transform-origin: center;
}

.product-body {
  padding: 16px;
}

.product-category {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  background: #fff0f2;
}

.product-title {
  margin-bottom: 4px;
  font-size: 1.03rem;
  line-height: 1.25;
}

.product-subtitle {
  min-height: 24px;
  margin-bottom: 13px;
  color: var(--muted);
}

.product-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.product-meta div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
  min-width: 0;
  font-size: 0.86rem;
}

.product-meta dt {
  color: var(--muted);
  font-weight: 800;
}

.product-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.empty-state {
  margin: 28px 0 0;
  padding: 22px;
  border: 1px dashed #cfd6dc;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-details,
.contact-panel {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 27, 31, 0.09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-details {
  padding: 28px;
}

.contact-details h2 {
  margin-bottom: 22px;
  font-size: 1.68rem;
}

.contact-details dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-details dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.contact-details a {
  color: var(--red-dark);
}

.email-text,
.footer-email {
  font-weight: 800;
}

.contact-note {
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(64, 90, 73, 0.1);
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-service {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(64, 90, 73, 0.1);
  border-radius: var(--radius);
  background: #f5f7f6;
}

.contact-service-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 800;
}

.contact-service p:not(.contact-service-title) {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-panel {
  padding: 28px;
}

.contact-panel h2 {
  max-width: 640px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.contact-panel p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1rem;
}

.inquiry-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.inquiry-list li {
  position: relative;
  padding-left: 22px;
  color: #2f3c42;
  font-weight: 700;
}

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

.contact-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 24px;
}

.contact-chip-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(64, 90, 73, 0.12);
  border-radius: 999px;
  color: #405a49;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  background: #f5f7f6;
}

.contact-catalogue-link {
  width: fit-content;
  margin-top: auto;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #12191b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner p {
  margin: 4px 0 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 12px 0;
  }

  .brand-link {
    width: 220px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

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

  .hero-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    padding-left: clamp(330px, 45vw, 500px);
  }

  .hero-gallery img:nth-child(1) {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }

  .hero-gallery img:nth-child(2) {
    grid-column: 4 / 7;
    grid-row: 1;
  }

  .hero-gallery img:nth-child(3) {
    grid-column: 4 / 7;
    grid-row: 2;
  }

  .hero-gallery img:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .hero-gallery img:nth-child(5) {
    grid-column: 3 / 5;
    grid-row: 3;
  }

  .hero-gallery img:nth-child(6) {
    grid-column: 5 / 7;
    grid-row: 3;
  }

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

  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand-link {
    width: 190px;
  }

  .main-nav {
    overflow-x: auto;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(118px, 1fr));
    gap: 8px;
    padding: 16px;
    opacity: 0.38;
  }

  .hero-gallery::after {
    mask-image: none;
  }

  .hero-gallery img,
  .hero-gallery img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    padding: 18px;
    filter: saturate(0.5) contrast(0.94) brightness(1.02);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 252, 251, 0.86), rgba(246, 249, 247, 0.9)),
      rgba(251, 252, 251, 0.9);
  }

  .hero-content {
    padding: 76px 0 88px;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 58px 0;
  }

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

  .products-toolbar,
  .two-column {
    grid-template-columns: 1fr;
  }

  .product-count {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .header-inner {
    align-items: flex-start;
  }

  .language-toggle {
    width: 100%;
  }

  .lang-button {
    flex: 1;
  }

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

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

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