:root {
  --bg: #f5f0e8;
  --bg-soft: #faf7f2;
  --surface: #ffffff;
  --line: rgba(80, 55, 30, 0.12);
  --text: #2c1f0e;
  --muted: #7a6248;
  --primary: #8b4513;
  --primary-deep: #5c2d0a;
  --accent: #c49a4a;
  --navy: #4a2e12;
  --shadow-sm: 0 2px 8px rgba(80, 50, 20, 0.08);
  --shadow-md: 0 6px 24px rgba(80, 50, 20, 0.12);
  --radius: 6px;
  --radius-md: 10px;
  --container: min(1160px, calc(100vw - 48px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #8b4513 0%, #4a2e12 100%);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong { font-size: 0.95rem; color: var(--text); }
.brand-copy small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 0.88rem;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--muted);
  transition: color 160ms;
}

.site-nav a:hover { color: var(--text); }

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Hero Banner ── */
.hero-section {
  position: relative;
  height: 580px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3d2008 0%, #8b4513 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.82) 0%,
    rgba(10, 22, 40, 0.55) 55%,
    rgba(10, 22, 40, 0.30) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-inner h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-family: "STSong", "Songti SC", "Noto Serif SC", serif;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-inner .hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  transition: opacity 160ms, transform 160ms;
  cursor: pointer;
}

.button:hover { opacity: 0.88; transform: translateY(-1px); }

.button-primary {
  color: #fff;
  background: #8b4513;
  border-color: #8b4513;
}

.button-primary:hover {
  background: #4a2e12;
  border-color: #4a2e12;
  opacity: 1;
}

.button-outline {
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.38);
  background: transparent;
}

.button-outline:hover { border-color: rgba(255,255,255,0.7); }

/* ── Metrics Bar ── */
.metrics-section {
  background: #4a2e12;
  padding: 0;
  border-bottom: 3px solid #c49a4a;
}

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

.metrics-grid article {
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}

.metrics-grid article:last-child { border-right: 0; }

.metrics-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196,154,74,0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "STSong", serif;
}

.metrics-grid article strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.metrics-grid article p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.5;
}

/* ── Sections ── */
.content-section { padding: 64px 0; }
.muted-section { background: #faf7f2; }

.section-header {
  margin-bottom: 40px;
}

.section-header .eyebrow {
  color: #8b4513;
  border-left: 3px solid #c49a4a;
  padding-left: 10px;
}

.section-header h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-family: "STSong", "Songti SC", "Noto Serif SC", serif;
  color: var(--text);
  margin-top: 6px;
  line-height: 1.3;
  font-weight: 600;
}

.section-header p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
  max-width: 600px;
  line-height: 1.8;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10,22,40,0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
}

.about-image-badge strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
}

.about-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-body p:last-child { margin-bottom: 0; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.about-tag {
  padding: 5px 12px;
  border: 1px solid rgba(80,55,30,0.15);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  transition: border-color 160ms;
}

.about-tag:hover { border-color: #8b4513; }

/* ── Service Cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(80,55,30,0.12);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #8b4513;
}

.service-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(26,58,107,0.08);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #8b4513;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "STSong", serif;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Business Scope ── */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scope-card {
  background: var(--surface);
  border: 1px solid rgba(80,55,30,0.12);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 200ms ease;
}

.scope-card:hover {
  border-color: #8b4513;
  box-shadow: var(--shadow-md);
}

.scope-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.scope-card > p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 8px 0 12px;
  line-height: 1.6;
}

.scope-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scope-list li {
  padding: 3px 10px;
  background: #f0ece4;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #8b4513;
}

/* ── Credentials ── */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.credentials-image {
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
}

.credentials-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cred-cards {
  display: grid;
  gap: 12px;
}

.cred-card {
  background: var(--surface);
  border: 1px solid rgba(80,55,30,0.12);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.cred-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b4513 0%, #4a2e12 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.3;
}

.cred-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.cred-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Workflow ── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workflow-card {
  background: var(--surface);
  border: 1px solid rgba(80,55,30,0.12);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.workflow-num {
  font-size: 2rem;
  font-weight: 700;
  font-family: "STSong", serif;
  color: rgba(26,58,107,0.12);
  line-height: 1;
  margin-bottom: 10px;
}

.workflow-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.workflow-card > p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.workflow-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.workflow-steps span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── News ── */
.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  background: var(--surface);
  border: 1px solid rgba(80,55,30,0.12);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 180ms;
}

.news-card:hover { box-shadow: var(--shadow-md); }

.news-tag {
  display: inline-flex;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(26,58,107,0.07);
  color: #8b4513;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.news-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.news-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.meta-line {
  font-size: 0.78rem;
  color: var(--muted);
}

.text-link {
  font-size: 0.82rem;
  color: #8b4513;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.contact-body h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-family: "STSong", "Songti SC", serif;
  color: var(--text);
  margin: 6px 0 12px;
  line-height: 1.35;
}

.contact-body > p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.contact-info {
  display: grid;
  gap: 8px;
}

.contact-info p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-info strong {
  color: var(--text);
  margin-right: 6px;
}

.contact-card-box {
  background: #4a2e12;
  border-radius: 12px;
  padding: 28px 24px;
  color: #fff;
  border-left: 4px solid #c49a4a;
}

.contact-card-box h3 {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  margin-bottom: 6px;
}

.contact-card-box .phone {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.contact-card-box .phone-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.contact-card-box .divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0;
}

.contact-card-box p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  background: #3d2008;
  padding: 28px 0;
  border-top: 3px solid #c49a4a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand strong {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

.footer-brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  margin-top: 3px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 160ms;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Subhero (news / article pages) ── */
.subhero-section {
  background: linear-gradient(135deg, #3d2008 0%, #8b4513 60%, #4a2e12 100%);
  padding: 48px 0 40px;
}

.subhero-inner {
  max-width: 720px;
}

.subhero-inner h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: "STSong", "Songti SC", "Noto Serif SC", serif;
  color: #ffffff;
  line-height: 1.35;
  margin: 8px 0 12px;
  font-weight: 600;
}

.subhero-inner p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
}

.subhero-section .eyebrow {
  color: var(--accent);
}

/* ── News filter ── */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
}

.filter-chip:hover { border-color: var(--primary); color: var(--primary); }

.filter-chip.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--primary);
}

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

/* ── Article page ── */
.article-hero { padding-bottom: 32px; }

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.article-breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 160ms;
}

.article-breadcrumb a:hover { color: rgba(255,255,255,0.9); }

.article-breadcrumb span { color: rgba(255,255,255,0.3); }

.article-head .news-tag { margin-bottom: 10px; }

.article-head h1 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-family: "STSong", "Songti SC", serif;
  color: #ffffff;
  line-height: 1.35;
  margin: 8px 0 10px;
  font-weight: 600;
}

.article-head p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.article-head .meta-line {
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.article-content {
  background: var(--surface);
  border: 1px solid rgba(80,55,30,0.12);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  min-height: 360px;
}

.article-content h2 {
  font-size: 1.1rem;
  font-family: "STSong", "Songti SC", serif;
  color: var(--text);
  margin: 0 0 14px;
}

.article-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.article-content p:last-child { margin-bottom: 0; }

.article-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.article-side {
  display: grid;
  gap: 14px;
}

.article-side-card {
  background: var(--surface);
  border: 1px solid rgba(80,55,30,0.12);
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}

.article-side-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.side-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-side-card {
  background: var(--navy);
  border-color: transparent;
}

.contact-side-card h3 {
  color: rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.1);
}

.side-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.side-phone-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

.side-addr {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .header-inner { position: relative; }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }

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

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

  .site-nav a::after { display: none; }

  .hero-section { height: 420px; }

  .about-grid,
  .credentials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid { grid-template-columns: 1fr; }
  .metrics-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .metrics-grid article:last-child { border-bottom: 0; }
  .article-layout {
    grid-template-columns: 1fr;
  }

  .news-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-section { height: 360px; }
  .hero-inner h1 { font-size: 1.5rem; }

  .service-grid,
  .scope-grid,
  .workflow-grid,
  .news-preview-grid {
    grid-template-columns: 1fr;
  }

  .news-list-grid {
    grid-template-columns: 1fr;
  }

  .content-section { padding: 36px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
