:root {
  --ink: #17201d;
  --muted: #68736d;
  --line: #dce4df;
  --paper: #faf8f2;
  --white: #ffffff;
  --leaf: #2f6f5e;
  --berry: #a33d52;
  --gold: #b88746;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 242, 0.9);
  border-bottom: 1px solid rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--leaf), var(--berry));
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.lang {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 248, 242, 0.96), rgba(250, 248, 242, 0.75), rgba(250, 248, 242, 0.25));
  z-index: 1;
}

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

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(47, 111, 94, 0.22), rgba(163, 61, 82, 0.12)),
    radial-gradient(circle at 75% 35%, rgba(184, 135, 70, 0.24), transparent 32%),
    var(--paper);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 84px 0 120px;
}

.eyebrow {
  color: var(--leaf);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: #3f4b45;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-weight: 700;
}

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

.btn.secondary {
  background: rgba(255, 255, 255, 0.62);
}

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

.stat {
  background: var(--white);
  padding: 28px;
}

.stat strong {
  display: block;
  font-size: 30px;
  color: var(--berry);
}

.stat span {
  color: var(--muted);
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid rgba(23, 32, 29, 0.08);
}

.section.compact {
  padding-top: 64px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 17px;
}

.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.18), rgba(184, 135, 70, 0.2)),
    #eef0e8;
}

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

.tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tile:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.tile-image,
.tile-image.image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper);
}

.tile-image.image-placeholder {
  background: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%2368736d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
  min-height: 120px;
}

.tile-text {
  padding: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.news-band {
  background: #fffdf8;
}

.news-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 36%);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-image,
.image-placeholder.news-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(184, 135, 70, 0.2), rgba(47, 111, 94, 0.16)),
    #eef0e8;
}

.news-copy {
  padding: 18px;
}

.news-copy span {
  display: block;
  margin-bottom: 10px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 700;
}

.news-copy h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

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

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

.product-card,
.branch-card,
.gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-image,
.branch-image,
.gallery-image,
.image-placeholder {
  display: block;
  width: 100%;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.18), rgba(163, 61, 82, 0.12)),
    #eef0e8;
}

.product-image,
.image-placeholder.product-image {
  aspect-ratio: 4 / 3;
}

.product-copy {
  padding: 20px;
}

.product-copy span {
  display: block;
  color: var(--berry);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-copy h3,
.branch-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.product-copy p,
.branch-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
}

.gallery-item {
  margin: 0;
}

.gallery-image,
.image-placeholder.gallery-image {
  aspect-ratio: 5 / 4;
}

.gallery-item:first-child .gallery-image,
.gallery-item:first-child .image-placeholder {
  aspect-ratio: 6 / 5;
}

.gallery-item figcaption {
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 700;
}

.branch-band {
  background: #eef3ed;
}

.branch-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.branch-image,
.image-placeholder.branch-image {
  aspect-ratio: 16 / 10;
}

.branch-card div:last-child {
  padding: 20px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
}

.logo-cell {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.logo-cell img {
  display: block;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.logo-empty span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

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

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

.factory-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.factory-image,
.image-placeholder.factory-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(47, 111, 94, 0.18), rgba(163, 61, 82, 0.12)),
    #eef0e8;
}

.factory-copy {
  padding: 20px;
}

.factory-copy h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

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

.timeline {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.milestone {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--white);
}

.milestone strong {
  color: var(--leaf);
  font-size: 22px;
}

.contact-band {
  background: var(--ink);
  color: var(--white);
}

.contact-band p,
.contact-band .muted {
  color: rgba(255, 255, 255, 0.72);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.contact-meta a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 14px 16px;
}

.wechat-qr {
  flex-basis: 100%;
  margin-top: 8px;
}

.wechat-qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  object-fit: cover;
}

.wechat-tip {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer {
  padding: 26px 0;
  color: var(--muted);
  background: var(--white);
}

.back-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--white);
  font-weight: 700;
}

.article {
  padding: 86px 0;
}

.article h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 72px);
}

.article .lead {
  max-width: 780px;
}

.article-image {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 8px;
  margin: 34px 0;
  background:
    linear-gradient(135deg, rgba(184, 135, 70, 0.2), rgba(47, 111, 94, 0.16)),
    #eef0e8;
}

.article-body {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.article-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .article-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 64px;
    padding: 10px 0;
    gap: 12px;
    flex-wrap: wrap;
  }

  .navlinks {
    display: none;
    width: 100%;
    padding: 10px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(23, 32, 29, 0.12);
  }

  .navlinks.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .navlinks a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--ink);
    font-weight: 700;
  }

  .navlinks a:active {
    background: var(--paper);
  }

  .menu-toggle {
    display: flex;
  }

  .grid,
  .split,
  .section-head,
  .product-showcase,
  .branch-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .news-rail {
    grid-auto-columns: minmax(274px, 82%);
    gap: 12px;
    padding-bottom: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    object-position: center top;
  }

  .hero-content {
    padding: 72px 0 96px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.05;
  }

  .lead {
    font-size: 16px;
  }

  .stat {
    min-height: 86px;
    padding: 14px;
  }

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

  .stat strong {
    font-size: 24px;
  }

  .stat span {
    display: block;
    font-size: 13px;
    line-height: 1.35;
  }

  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .logo-cell {
    min-height: 72px;
    padding: 10px;
  }

  .logo-cell img {
    max-height: 40px;
  }

  .actions,
  .contact-meta {
    flex-direction: column;
  }

  .btn,
  .contact-meta a {
    width: 100%;
  }

  .product-copy,
  .branch-card div:last-child {
    padding: 17px;
  }

  .article {
    padding: 58px 0;
  }

  .article-image {
    aspect-ratio: 4 / 3;
  }

  .milestone {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


