:root {
  --bg: #f4f7f4;
  --surface: #ffffff;
  --surface-soft: #edf4f0;
  --line: #d8e4dd;
  --text: #17231f;
  --muted: #5f746d;
  --primary: #0f7a69;
  --primary-dark: #0b4d42;
  --secondary: #3d8a4a;
  --accent: #be8e3a;
  --footer: #102823;
  --shadow: 0 18px 48px rgba(16, 40, 35, 0.08);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-break: strict;
}

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

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

button {
  font: inherit;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

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

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

.brand-mark {
  width: 76px;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: #ffffff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  background: #ffffff;
}

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

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  font-size: 0.8rem;
  color: var(--muted);
}

.site-menu ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  padding: 0;
}

.site-menu a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
}

.site-menu a.is-active,
.site-menu a:hover {
  color: var(--primary-dark);
  background: rgba(15, 122, 105, 0.08);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 14px;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(10, 39, 35, 0.82), rgba(10, 39, 35, 0.36)),
    url("../assets/images/company/warehouse-05.jpg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(244, 247, 244, 0), var(--bg));
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 72px 0 140px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1,
.article h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  line-height: 1.12;
  margin: 16px 0 18px;
  max-width: none;
  white-space: nowrap;
}

.hero p,
.page-hero p {
  max-width: 62ch;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.button {
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.text-link {
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
}

.text-link::after {
  content: "›";
}

main section,
.page-hero {
  padding: 84px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  margin-bottom: 12px;
  max-width: none;
  white-space: nowrap;
}

.section-header p {
  color: var(--muted);
}

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

.notice-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.stats-grid,
.grid-4,
.grid-3,
.product-grid,
.news-grid,
.qualification-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.stat-item,
.info-card,
.product-card,
.news-card,
.certificate-card,
.contact-card,
.detail-panel,
.value-item,
.process-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-item {
  padding: 22px;
}

.stat-item strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

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

.info-card,
.value-item,
.contact-card {
  padding: 24px;
}

.info-card h3,
.product-card h3,
.news-card h3,
.certificate-card h3,
.contact-card h3,
.value-item h3,
.detail-panel h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.38;
}

.audience-band {
  background: var(--primary-dark);
  color: white;
}

.audience-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.chip-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.visual-panel {
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card,
.news-card,
.certificate-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img,
.news-card img,
.certificate-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.certificate-card img {
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
}

.product-card-body,
.news-card-body {
  padding: 18px 18px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card > .text-link,
.news-card > .text-link {
  padding: 0 18px 18px;
}

.meta-list,
.spec-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.meta-list div,
.spec-list div {
  display: grid;
  gap: 4px;
}

.meta-list dt,
.spec-list dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-list dd,
.spec-list dd {
  margin: 0;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(13, 48, 42, 0.86), rgba(13, 48, 42, 0.4)),
    url("../assets/images/company/office-02.jpg") center/cover no-repeat;
  color: white;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
}

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

.content-columns {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}

.plain-list {
  display: grid;
  gap: 12px;
}

.plain-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 0 14px;
}

.filter-bar button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.is-hidden {
  display: none;
}

.detail-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.detail-hero img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
}

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

.detail-panel {
  padding: 24px;
}

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

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 20px;
  align-items: start;
}

.process-item span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 122, 105, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
}

.certificate-card {
  padding-bottom: 20px;
}

.certificate-card > div {
  padding: 18px;
}

.certificate-card strong {
  color: var(--primary-dark);
}

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.article time,
.news-card time {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-cover {
  margin: 22px 0;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.86);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 54px 0 28px;
}

.footer h3,
.footer h4 {
  color: white;
}

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

.footer-brand h3 {
  margin-bottom: 0;
}

.footer-brand-mark {
  flex: 0 0 76px;
}

.footer .brand-logo {
  padding: 3px;
}

.footer-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 34px;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  text-align: center;
}

.record-link {
  color: #d8efe6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.gallery-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.empty-state {
  padding: 40px 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .stats-grid,
  .grid-4,
  .grid-3,
  .product-grid,
  .news-grid,
  .qualification-grid,
  .contact-grid,
  .photo-gallery,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-columns,
  .detail-hero,
  .detail-grid,
  .audience-layout {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .article h1,
  .section-header h2 {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .notice-strip .container {
    flex-direction: column;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 20;
  }

  .site-menu.is-open {
    display: block;
  }

  .site-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
  }

  .site-menu a {
    border-radius: 8px;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero .container,
  .page-hero .container {
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .hero h1,
  .page-hero h1,
  .article h1,
  .section-header h2 {
    max-width: none;
  }

  .stats-grid,
  .grid-4,
  .grid-3,
  .product-grid,
  .news-grid,
  .qualification-grid,
  .contact-grid,
  .photo-gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  main section,
  .page-hero {
    padding: 64px 0;
  }

  .article {
    padding: 24px 18px;
  }
}
