:root {
  --ink: #1d1b1a;
  --muted: #68615d;
  --line: #e7dfd8;
  --paper: #fffaf4;
  --surface: #ffffff;
  --red: #d71920;
  --red-dark: #a90f16;
  --green: #0f5a42;
  --gold: #b98a3a;
  --shadow: 0 18px 48px rgba(42, 31, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(29, 27, 26, 0.08);
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

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

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  color: #403b38;
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

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

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 3px;
}

.lang-button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4f4946;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

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

.header-action,
.primary-button,
.secondary-button,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action,
.primary-button,
.quote-form button {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.2);
}

.header-action {
  padding: 0 18px;
  font-size: 14px;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  min-height: 760px;
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 72px) 32px;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.98), rgba(255, 250, 244, 0.74)),
    radial-gradient(circle at 85% 20%, rgba(215, 25, 32, 0.12), transparent 34%);
}

.hero-copy,
.about-text,
.factory-copy,
.contact-copy,
.hero-section > *,
.about-grid > *,
.advantage-layout > *,
.factory-grid > *,
.contact-section > * {
  min-width: 0;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.08;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

h3 {
  font-size: 22px;
  line-height: 1.24;
}

.hero-lede {
  max-width: 690px;
  color: #4f4946;
  font-size: clamp(17px, 2vw, 21px);
  overflow-wrap: anywhere;
}

.value-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.value-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(15, 90, 66, 0.2);
  border-radius: 999px;
  background: rgba(15, 90, 66, 0.08);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

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

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

.hero-visual {
  margin: 0;
  width: 100%;
  max-height: 78vh;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-visual img {
  aspect-ratio: 3 / 4.25;
  object-fit: contain;
  object-position: top center;
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.about-grid,
.advantage-layout,
.factory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.about-text {
  color: #413b37;
  font-size: 18px;
}

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

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

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.catalogue-panel,
.wide-image,
.catalogue-grid figure {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.catalogue-panel img {
  aspect-ratio: 3 / 4.25;
  object-fit: contain;
  object-position: top center;
}

.product-section,
.factory-section {
  background: #fff;
}

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

.product-grid article,
.advantage-list article {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.product-grid article {
  padding: 24px;
}

.product-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-grid h3 {
  margin-bottom: 10px;
}

.product-grid p,
.advantage-list p,
.factory-copy p,
.contact-copy p {
  color: var(--muted);
}

.advantage-layout {
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
}

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

.advantage-list article {
  padding: 22px;
}

.advantage-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 20px;
}

.factory-grid {
  grid-template-columns: minmax(0, 680px) minmax(320px, 1fr);
  align-items: center;
}

.wide-image img {
  aspect-ratio: 3 / 4.25;
  object-fit: contain;
  object-position: top center;
}

.factory-copy {
  padding: clamp(0px, 2vw, 20px) 0;
}

.process-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.process-row span {
  padding: 9px 12px;
  border: 1px solid rgba(15, 90, 66, 0.2);
  border-radius: 999px;
  background: rgba(15, 90, 66, 0.08);
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

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

.catalogue-grid img {
  aspect-ratio: 3 / 4.25;
  object-fit: contain;
  object-position: top center;
}

.catalogue-grid figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: #403b38;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.contact-section .eyebrow,
.contact-section a {
  color: #ffcc66;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

address {
  margin-top: 26px;
  font-style: normal;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.quote-form input,
.quote-form select {
  min-height: 44px;
  padding: 0 12px;
}

.quote-form textarea {
  resize: vertical;
  padding: 12px;
}

.quote-form button {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  border-top: 4px solid var(--red);
  background: #fff;
  color: #4f4946;
  font-size: 14px;
}

.site-footer a {
  color: var(--red-dark);
  font-weight: 800;
}

html[dir="rtl"] body {
  font-family: Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .hero-section,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .advantage-layout,
html[dir="rtl"] .factory-grid,
html[dir="rtl"] .contact-section,
html[dir="rtl"] .site-footer {
  direction: rtl;
}

html[dir="rtl"] .brand-mark,
html[dir="rtl"] .hero-stats dt {
  direction: ltr;
}

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

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

html[dir="rtl"] .quote-form input,
html[dir="rtl"] .quote-form select,
html[dir="rtl"] .quote-form textarea {
  direction: rtl;
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-tools {
    justify-content: flex-start;
    width: 100%;
  }

  .header-action {
    position: static;
  }

  .hero-section,
  .about-grid,
  .advantage-layout,
  .factory-grid,
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-section {
    min-height: 0;
  }

  .hero-visual,
  .catalogue-panel,
  .wide-image {
    max-width: 560px;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: relative;
  }

  .brand {
    min-width: 0;
    max-width: 210px;
  }

  .header-action {
    position: static;
    width: 100%;
    margin-top: 4px;
    padding: 0 12px;
  }

  .site-nav {
    width: 100%;
    gap: 4px 16px;
    font-size: 13px;
  }

  .hero-section,
  .section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
    width: 100vw;
    max-width: 100vw;
  }

  .hero-copy,
  .hero-visual,
  .hero-lede,
  .primary-button,
  .secondary-button {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-lede {
    font-size: 16px;
    word-break: break-all;
  }

  .hero-stats,
  .product-grid,
  .catalogue-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .quote-form {
    padding: 18px;
  }
}
