﻿:root {
  --ink: #20231f;
  --muted: #6c7068;
  --line: #e4e0d8;
  --paper: #fbfaf6;
  --soft: #f1eee7;
  --wood: #b7743e;
  --wood-dark: #6b3f22;
  --green: #244b3a;
  --green-2: #446b55;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(32, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

html[lang="en"] body {
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(228, 224, 216, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #343831;
  font-size: 15px;
}

html[lang="en"] .nav-links {
  gap: 22px;
  font-size: 14px;
}

.nav-links a {
  position: relative;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 34px;
  padding: 3px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.lang-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 26px;
  padding: 0 8px;
  color: var(--muted);
}

.lang-toggle span.is-active {
  background: var(--green);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 21, 17, 0.82) 0%, rgba(17, 21, 17, 0.58) 40%, rgba(17, 21, 17, 0.08) 100%),
    linear-gradient(0deg, rgba(17, 21, 17, 0.48), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92vh;
  width: min(720px, 88vw);
  padding: 120px 0 64px 6vw;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: #c48c59;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

html[lang="en"] .eyebrow {
  font-size: 12px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.08;
  font-weight: 800;
}

html[lang="en"] h1 {
  max-width: 780px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
  font-weight: 800;
}

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

html[lang="en"] h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
}

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

html[lang="en"] h3 {
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

html[lang="en"] .hero-copy {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

html[lang="en"] .btn {
  font-size: 14px;
  font-weight: 800;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--wood);
  color: var(--white);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

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

.stat-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.stat-label {
  display: block;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
}

.hero-stats strong {
  display: block;
  color: #f1c08f;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.intro,
.section,
.band,
.contact {
  padding: 86px 6vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 64px;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro p:last-child,
.section-head p,
.quality-copy p,
.factory-panel p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

html[lang="en"] .intro p:last-child,
html[lang="en"] .section-head p,
html[lang="en"] .quality-copy p,
html[lang="en"] .factory-panel p,
html[lang="en"] .contact p {
  font-size: 16px;
  line-height: 1.7;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 28px;
}

.product-showcase {
  position: relative;
}

.product-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 75, 58, 0.35) transparent;
}

.product-viewport::-webkit-scrollbar {
  height: 8px;
}

.product-viewport::-webkit-scrollbar-track {
  background: rgba(228, 224, 216, 0.75);
}

.product-viewport::-webkit-scrollbar-thumb {
  background: rgba(36, 75, 58, 0.42);
}

.product-grid {
  display: flex;
  gap: 22px;
  width: max-content;
  min-width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(32, 35, 31, 0.16);
  color: var(--green);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.carousel-btn:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-50%) scale(1.04);
}

.carousel-prev {
  left: -18px;
}

.carousel-next {
  right: -18px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 116, 62, 0.48);
}

.filter-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.product-card {
  min-height: 100%;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(32, 35, 31, 0.06);
}

.photo-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(320px, 31vw, 430px);
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.product-photo {
  position: relative;
  height: 280px;
  margin: 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

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

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
}

.product-category {
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 9px;
  background: rgba(36, 75, 58, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

html[lang="en"] .product-category,
html[lang="en"] .product-tags span {
  font-size: 11px;
  text-transform: uppercase;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.product-tags span {
  padding: 4px 9px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-card ul {
  padding-left: 18px;
  margin-bottom: 0;
  color: var(--muted);
}

.product-card p {
  color: var(--muted);
}

html[lang="en"] .product-card p {
  font-size: 15px;
  line-height: 1.65;
}

.sample {
  height: 170px;
  margin-bottom: 20px;
  border: 1px solid rgba(107, 63, 34, 0.18);
  background-size: cover;
  overflow: hidden;
}

.sample-plywood {
  background:
    repeating-linear-gradient(0deg, rgba(78, 48, 25, 0.28) 0 5px, rgba(247, 205, 145, 0.18) 5px 10px),
    linear-gradient(135deg, #d5a06a, #8b542f);
}

.sample-melamine {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    repeating-linear-gradient(45deg, #ead7bd 0 12px, #dcc19e 12px 24px);
}

.sample-osb {
  background:
    repeating-linear-gradient(130deg, rgba(75, 47, 25, 0.32) 0 8px, transparent 8px 22px),
    repeating-linear-gradient(28deg, rgba(227, 181, 114, 0.42) 0 9px, transparent 9px 18px),
    #b9824b;
}

.sample-furniture {
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(120deg, #8f5a35, #d09a62 45%, #6f4328);
}

.sample-truck {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent),
    repeating-linear-gradient(90deg, #5a4a3a 0 18px, #7a6651 18px 36px),
    #6b5844;
}

.sample-trailer {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 8px, transparent 8px 22px),
    linear-gradient(120deg, #74684d, #b7925d 52%, #4f5f47);
}

.specs {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.spec-grid article {
  min-height: 170px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.spec-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 60px;
  align-items: center;
  background: var(--green);
  color: var(--white);
}

.band .eyebrow,
.contact .eyebrow {
  color: #efc18b;
}

.quality-copy p {
  color: rgba(255, 255, 255, 0.76);
}

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

.quality-list div {
  display: flex;
  gap: 16px;
  min-height: 112px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.quality-list strong {
  color: #efc18b;
  font-size: 28px;
}

.factory {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 42px;
  align-items: stretch;
}

.factory-panel {
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
}

.factory-metrics {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.factory-metrics span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.factory-metrics strong {
  color: var(--green);
}

.factory-visual {
  position: relative;
  min-height: 440px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18)),
    url("assets/wood-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.factory-visual span {
  position: absolute;
  right: 28px;
  left: 28px;
  height: 34px;
  background: linear-gradient(90deg, #7a4828, #d69e63, #8a5532);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.factory-visual span:nth-child(1) {
  bottom: 88px;
}

.factory-visual span:nth-child(2) {
  bottom: 48px;
}

.factory-visual span:nth-child(3) {
  bottom: 8px;
}

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

.application-grid article {
  min-height: 180px;
  padding: 28px;
  background: var(--soft);
  border-left: 4px solid var(--wood);
}

.application-grid p {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 52px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(36, 75, 58, 0.95), rgba(36, 75, 58, 0.84)),
    url("assets/wood-hero.png") center / cover;
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.website-link {
  display: inline-flex;
  margin-top: 18px;
  color: #efc18b;
  font-weight: 800;
}

.website-link:hover {
  text-decoration: underline;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #3b4038;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 6vw;
  background: #171a16;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .spec-grid,
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card {
    flex-basis: clamp(300px, 42vw, 390px);
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 16px 6vw;
    border-top: 1px solid var(--line);
  }

  .lang-toggle {
    width: calc(100% - 12vw);
    margin: 14px 6vw;
  }

  .lang-toggle span {
    flex: 1;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    padding-top: 116px;
  }

  .hero-stats,
  .intro,
  .band,
  .factory,
  .contact {
    grid-template-columns: 1fr;
  }

  .quality-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .spec-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 16px;
  }

  .photo-card {
    flex-basis: min(86vw, 360px);
  }

  .product-photo {
    height: 230px;
  }

  .product-info {
    min-height: 250px;
    padding: 20px;
  }

  .carousel-btn {
    top: auto;
    bottom: -10px;
    width: 42px;
    height: 42px;
    font-size: 28px;
    transform: none;
  }

  .carousel-btn:hover {
    transform: scale(1.04);
  }

  .carousel-prev {
    left: 0;
  }

  .carousel-next {
    right: 0;
  }

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

  .intro,
  .section,
  .band,
  .contact {
    padding: 64px 5vw;
  }

  .factory-panel,
  .quote-form {
    padding: 24px;
  }

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