:root {
  --ink-900: #15191d;
  --ink-700: #2c3339;
  --ink-500: #4b5560;
  --ink-300: #8a949e;
  --gold-600: #9c7846;
  --gold-500: #b38d54;
  --gold-300: #d7b47a;
  --bg-100: #f7f5f1;
  --bg-200: #efe9e0;
  --line: rgba(21, 25, 29, 0.12);
  --shadow-1: 0 16px 40px rgba(16, 20, 24, 0.08);
  --shadow-2: 0 24px 60px rgba(16, 20, 24, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 10% 20%, rgba(179, 141, 84, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(44, 51, 57, 0.12), transparent 40%),
    linear-gradient(180deg, var(--bg-100), var(--bg-200));
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  background: #1f2428;
  color: #f6f2ec;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-bar-inner {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.header-bar-sep {
  opacity: 0.6;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
  font-weight: 700;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.logo-mark img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.logo-text {
  font-size: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 10px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  color: var(--ink-700);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.page-home .nav-home::after,
.page-about .nav-about::after,
.page-products .nav-products::after,
.page-news .nav-news::after,
.page-partners .nav-partners::after,
.page-contact .nav-contact::after,

.header-cta {
  background: var(--gold-500);
  color: #111;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-1);
}

.page {
  padding-bottom: 80px;
}

.hero {
  padding: 80px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0;
}

.hero p {
  color: var(--ink-500);
  line-height: 1.8;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-600);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink-900);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink-900);
  color: #f7f5f1;
  border-color: var(--ink-900);
}

.btn-outline {
  background: transparent;
  color: var(--ink-900);
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-2);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

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

.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.stat-card strong {
  display: block;
  font-size: 20px;
}

.section {
  padding: 70px 0;
}

.section-contrast {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  font-family: "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
}

.section-heading p {
  margin: 0;
  color: var(--ink-500);
  max-width: 520px;
}

.section-actions {
  margin-top: 24px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  font-size: 16px;
  margin: 0;
}

.card-meta {
  font-size: 12px;
  color: var(--ink-300);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-excerpt {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
}

.card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--gold-600);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.feature-card h3 {
  margin-top: 0;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-500);
  line-height: 1.7;
}

.page-hero {
  padding: 60px 0 40px;
}

.page-hero.slim {
  padding-bottom: 20px;
}

.page-hero h1 {
  font-family: "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 10px 0 0;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}

.highlight-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.list {
  padding-left: 18px;
  color: var(--ink-500);
  line-height: 1.8;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.partner-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  min-height: 120px;
  box-shadow: var(--shadow-1);
}

.cta-section {
  padding-bottom: 90px;
}

.cta-card {
  background: var(--ink-900);
  color: #f7f5f1;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-card p {
  color: rgba(247, 245, 241, 0.7);
}

.cta-card .btn {
  border-color: transparent;
}

.cta-card .btn-primary {
  background: var(--gold-500);
  color: #111;
}

.cta-card .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.product-gallery-scroll img {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.product-info {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.product-info h2 {
  margin-top: 0;
}

.product-meta {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  color: var(--ink-500);
  font-size: 14px;
}

.detail-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-1);
  font-size: 13px;
}

.news-detail {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.news-meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.news-detail h1 {
  margin-top: 10px;
}

.rich-text p {
  line-height: 1.8;
  color: var(--ink-500);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-action {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


.pagination {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.pagination .active {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}

.site-footer {
  background: #1f2428;
  color: #f7f5f1;
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.9;
  color: rgba(247, 245, 241, 0.8);
}

.footer-list a {
  color: rgba(247, 245, 241, 0.8);
}

.footer-bottom {
  padding: 20px 0;
  color: rgba(247, 245, 241, 0.6);
  font-size: 12px;
}

@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 4vw;
    background: #fff;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    display: none;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

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

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

  .card-placeholder {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

@media (max-width: 520px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
