:root {
  --ink: #1f2933;
  --muted: #5d6b78;
  --line: #d9e1e8;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --brand: #0f5f7f;
  --brand-dark: #0b4058;
  --accent: #b98a2f;
  --green: #2e6f58;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img,
svg {
  max-width: 100%;
}

.topbar {
  background: #13232f;
  color: #dce6ec;
  font-size: 13px;
}

.topbar-inner,
.site-header-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 15px;
}

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

.site-nav a {
  padding: 23px 14px;
  color: #2f3b46;
  font-size: 15px;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.hero {
  background: linear-gradient(90deg, rgba(15, 95, 127, 0.94), rgba(19, 35, 47, 0.88)), url("../images/hero-workshop.svg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 44px;
  align-items: center;
  min-height: 520px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 20px 0 28px;
  color: #e8f1f5;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: #fff;
}

.button.line {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(4, 16, 28, 0.22);
}

.hero-panel h2 {
  margin: 0 0 14px;
  font-size: 21px;
}

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

.metric {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metric strong {
  display: block;
  color: var(--brand);
  font-size: 22px;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--soft);
}

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

.section-heading h2,
.page-section h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.grid-3,
.grid-4,
.split {
  display: grid;
  gap: 20px;
}

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

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

.split {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 44px;
}

.card,
.product-card,
.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card h3,
.product-card h3,
.contact-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p,
.product-card p,
.contact-box p,
.text-muted {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--brand-dark);
  background: #f8fafb;
  font-size: 13px;
}

.visual-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.visual-frame img {
  display: block;
  width: 100%;
}

.page-hero {
  background: #173040;
  color: #fff;
  padding: 76px 0;
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #dce8ee;
  font-size: 17px;
}

.breadcrumb {
  margin-bottom: 12px;
  color: #a9c2cf;
  font-size: 14px;
}

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

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

.timeline-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline-item strong {
  color: var(--brand);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card .meta {
  margin-top: auto;
  padding-top: 16px;
  color: var(--green);
  font-weight: 700;
}

.process-list {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.process-list li {
  list-style: none;
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #fff8ea;
  padding: 16px 18px;
  color: #604817;
}

.site-footer {
  background: #13232f;
  color: #d9e3e9;
  padding: 46px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #b8c7d0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  color: #9fb1bd;
  font-size: 13px;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-direction: column;
    gap: 2px;
  }

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

  .site-header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner,
  .split,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .metric-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

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

  .section,
  .page-section {
    padding: 48px 0;
  }
}
