@font-face {
  font-family: "Alibaba PuHuiTi";
  src:
    local("Alibaba PuHuiTi 2.0"),
    local("Alibaba PuHuiTi"),
    local("AlibabaPuHuiTi-3-55-Regular"),
    local("AlibabaPuHuiTi-2-55-Regular");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src:
    local("Alibaba PuHuiTi 2.0 Medium"),
    local("Alibaba PuHuiTi Medium"),
    local("AlibabaPuHuiTi-3-65-Medium"),
    local("AlibabaPuHuiTi-2-65-Medium");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src:
    local("Alibaba PuHuiTi 2.0 SemiBold"),
    local("Alibaba PuHuiTi SemiBold"),
    local("AlibabaPuHuiTi-3-75-SemiBold"),
    local("AlibabaPuHuiTi-2-75-SemiBold");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #f5f0e8;
  --bg-soft: #fbf7f1;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-solid: #ffffff;
  --line: #e6ddcf;
  --line-strong: #cdbb9c;
  --text: #181410;
  --muted: #6a6154;
  --accent: #b99257;
  --accent-deep: #8c6932;
  --success: #3f845d;
  --max-width: 1200px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 26px rgba(34, 25, 12, 0.045);
  --font-sans: "Alibaba PuHuiTi", "Alibaba PuHuiTi 2.0", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 155, 71, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(201, 155, 71, 0.05), transparent 18%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 252, 247, 0.92);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #15110e, #2b231c);
  color: #e7c27d;
  font-size: 18px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #1c1a17;
  font-family: var(--font-sans);
  font-weight: 600;
}

.brand-copy span {
  font-size: 12px;
  color: #8b7c66;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 8px 6px 14px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #3b352d;
  transition: 0.25s ease;
}

.nav a:hover,
body[data-page="home"] .nav-home,
body[data-page="brand"] .nav-brand,
body[data-page="products"] .nav-products,
body[data-page="news"] .nav-news,
body[data-page="contact"] .nav-contact {
  color: #111;
  background: transparent;
  border-bottom-color: var(--accent);
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-badge {
  padding: 10px 18px;
  border: 1px solid #201914;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d1713, #2b231d);
  color: #fff7ea;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #171411;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: 0.25s ease;
  content: "";
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 4px;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  padding: 26px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.panel,
.feature-card,
.story-card,
.news-card,
.product-card,
.contact-card,
.map-card,
.cta-card,
.value-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 241, 229, 0.96)),
    linear-gradient(120deg, rgba(185, 146, 87, 0.05), transparent 32%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #8b6a2f;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1,
.section-head h2 {
  margin: 18px 0 12px;
  line-height: 1.12;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 62px);
  color: #161310;
  font-weight: 600;
}

.hero p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions,
.cta-actions,
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 0.25s ease;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}

.btn-primary {
  color: #fffdf8;
  background: linear-gradient(180deg, #171310, #2c241c);
  border-color: rgba(185, 146, 87, 0.38);
  box-shadow: 0 10px 22px rgba(23, 19, 16, 0.14);
}

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

.btn-secondary {
  border-color: var(--line-strong);
  color: #221d18;
  background: rgba(255, 255, 255, 0.88);
}

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

.stat-card {
  padding: 18px;
  background: #fcf8f1;
}

.stat-card strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  color: #2b241c;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  min-height: 500px;
  overflow: hidden;
  position: relative;
  background: #f5efe3;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 10, 0.04), rgba(18, 14, 10, 0.22));
  pointer-events: none;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.media-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid rgba(185, 146, 87, 0.28);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.media-badge strong,
.media-badge span {
  display: block;
}

.media-badge strong {
  font-size: 18px;
  color: #171411;
}

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

main section {
  padding: 52px 0;
}

main section:nth-child(even) {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head p {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 15px;
}

.grid-3,
.grid-4,
.grid-2,
.products-grid,
.news-grid,
.contact-grid,
.values-grid,
.story-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.feature-card,
.story-card,
.news-card,
.product-card,
.contact-card,
.value-card,
.map-card,
.cta-card {
  overflow: hidden;
}

.feature-card,
.story-card,
.contact-card,
.value-card {
  padding: 24px;
  background: #fff;
}

.feature-card,
.story-card,
.product-card,
.news-card,
.contact-card,
.value-card,
.timeline-item,
.map-card,
.cta-card,
.panel {
  position: relative;
}

.feature-card::before,
.story-card::before,
.product-card::before,
.news-card::before,
.contact-card::before,
.value-card::before,
.timeline-item::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}

.feature-card h3,
.story-card h3,
.product-card h3,
.news-card h3,
.contact-card h3,
.value-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  color: #191612;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-card p,
.story-card p,
.product-card p,
.news-card p,
.contact-card p,
.value-card p,
.map-card p {
  margin: 0;
  color: var(--muted);
}

.icon-pill {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #6d4c16;
  background: linear-gradient(180deg, #f8f0e2, #efe1c8);
  border: 1px solid #dfcaa0;
}

.story-card ul,
.contact-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.story-card li,
.contact-card li {
  margin: 8px 0;
}

.product-card img,
.news-card img,
.map-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card img,
.news-card img {
  filter: saturate(0.92) contrast(1.03);
}

.product-copy,
.news-copy {
  padding: 20px;
  background: #fff;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.chip,
.filter-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f6eee0;
  color: #7c5a1f;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.filter-tags a {
  color: #3d352c;
  border: 1px solid var(--line);
  background: #fff;
}

.filter-tags a:hover,
.filter-tags a.is-active {
  color: #171411;
  background: #f4ead8;
  border-color: #e5d4af;
}

.product-meta,
.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.timeline-item strong {
  color: #8b6a2f;
  font-size: 15px;
}

.timeline-item h3 {
  margin: 10px 0 8px;
  font-family: var(--font-sans);
  font-weight: 600;
}

.form-card {
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 10px;
}

.field label {
  color: #594e3f;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #ddd2be;
  background: #fffdfa;
  color: var(--text);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-note {
  margin-top: 16px;
  color: var(--success);
  display: none;
}

.submit-note.is-visible {
  display: block;
}

.cta-card {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(248, 239, 224, 0.96), rgba(255, 250, 243, 0.98)),
    linear-gradient(180deg, rgba(185, 146, 87, 0.05), transparent);
  border-color: #e1cfaa;
}

.cta-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  font-family: var(--font-sans);
  font-weight: 600;
}

.cta-card p {
  margin: 0 0 24px;
  max-width: 720px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 40px;
  background: #171411;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.footer-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.footer-card p,
.footer-card a {
  color: rgba(255, 248, 237, 0.72);
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, #d2b076, #a97a2b);
  color: #171411;
}

.site-footer .brand-copy strong {
  color: #fff8ef;
}

.site-footer .brand-copy span {
  color: rgba(255, 248, 237, 0.58);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.sub-hero {
  padding-top: 24px;
}

.sub-hero .hero-copy {
  min-height: 420px;
}

.sub-hero .hero-media {
  min-height: 420px;
}

.highlight {
  color: #8b6a2f;
}

@media (max-width: 1080px) {
  .hero-grid,
  .grid-2,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .grid-3,
  .story-grid,
  .news-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy,
  .hero-media,
  .sub-hero .hero-copy,
  .sub-hero .hero-media {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav,
  .topbar-contact .phone-badge {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 78px 16px auto;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open a:last-child {
    border-bottom: 0;
  }

  .hero-copy,
  .hero-media,
  .sub-hero .hero-copy,
  .sub-hero .hero-media {
    min-height: auto;
  }

  .hero-copy {
    padding: 30px 26px;
  }

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

  .form-grid.two,
  .grid-3,
  .story-grid,
  .news-grid,
  .products-grid,
  .grid-4,
  .values-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .topbar-inner {
    min-height: 74px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .feature-card,
  .story-card,
  .contact-card,
  .value-card,
  .form-card,
  .cta-card {
    padding: 20px;
  }

  .media-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}
