:root {
  --blue: #5a2a2f;
  --blue-dark: #3f2024;
  --blue-soft: #f7eeee;
  --cyan: #8c4a3f;
  --gold: #b28a54;
  --ink: #231b1c;
  --muted: #706063;
  --line: #eadcda;
  --bg: #faf6f2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(74, 40, 44, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(217, 226, 239, 0.85);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand img {
  width: 52px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--blue-dark);
}

.brand span {
  display: block;
  margin-top: -2px;
  font-size: 12px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  color: var(--blue-dark);
  font-size: 22px;
}

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

.site-nav a {
  padding: 24px 13px;
  color: #344054;
  font-size: 15px;
  border-bottom: 3px solid transparent;
}

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

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
}

.page-hero {
  min-height: 380px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(47, 24, 27, 0.9) 0%, rgba(80, 39, 45, 0.74) 44%, rgba(80, 39, 45, 0.22) 100%),
    linear-gradient(0deg, rgba(93, 52, 43, 0.18), rgba(93, 52, 43, 0.18));
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f2d6bf;
  font-size: 15px;
  font-weight: 700;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero:not(.page-hero) h1 {
  max-width: 820px;
  font-size: clamp(34px, 4.8vw, 56px);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.contact-hero-title {
  max-width: 840px;
  font-size: clamp(34px, 4.4vw, 50px);
}

.contact-hero-title span {
  white-space: nowrap;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 84px 0;
}

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

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

.section-head h2 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -58px;
  position: relative;
  z-index: 3;
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 136px;
  padding: 28px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.grid-3,
.grid-4,
.case-grid,
.cert-grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 21px;
}

.card p,
.list p {
  margin-bottom: 0;
  color: var(--muted);
}

.card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card {
  padding: 26px;
  border-top: 4px solid var(--blue);
}

.service-card .num {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.list-item {
  padding: 22px;
  border-left: 4px solid var(--blue);
  background: var(--white);
}

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

.case-card img {
  aspect-ratio: 4 / 3;
}

.partner-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.partner-strip img {
  height: 100%;
  min-height: 180px;
  object-fit: contain;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.cert-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  background: #fffaf6;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: process;
}

.process-step {
  position: relative;
  min-height: 180px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-step::before {
  counter-increment: process;
  content: "0" counter(process);
  display: block;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 26px;
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-card {
  padding: 38px 42px;
  border-radius: var(--radius);
  background: var(--blue-dark);
  color: var(--white);
}

.contact-card h3,
.contact-card p {
  color: var(--white);
}

.contact-card h2 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 28px;
  line-height: 1.25;
}

.contact-person {
  margin-bottom: 22px;
  font-size: 19px;
}

.contact-lines {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.contact-lines a,
.contact-lines span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.55;
}

.contact-lines a {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.contact-lines span {
  max-width: 420px;
}

.contact-lines a span,
.contact-lines > span span {
  display: inline;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 600;
}

.site-footer {
  padding: 24px 0;
  background: #2b171a;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-inner strong {
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

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

.footer-brand a {
  color: rgba(255, 255, 255, 0.66);
}

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

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

  .hero,
  .page-hero {
    min-height: 520px;
  }

  .section {
    padding: 62px 0;
  }

  .stats,
  .grid-3,
  .grid-4,
  .case-grid,
  .cert-grid,
  .process,
  .contact-panel,
  .split,
  .partner-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: auto;
  }

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

  .brand span {
    display: none;
  }

  .hero,
  .page-hero {
    min-height: 500px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(47, 24, 27, 0.92), rgba(80, 39, 45, 0.72));
  }

  .contact-hero-title span {
    white-space: normal;
  }

  .section-head {
    display: block;
  }

  .stats,
  .grid-3,
  .grid-4,
  .case-grid,
  .cert-grid,
  .process,
  .contact-panel,
  .split,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
  }

  .hero-actions .button {
    width: 100%;
  }
}
