:root {
  --color-red: #9f0808;
  --color-red-dark: #720505;
  --color-graphite: #202226;
  --color-ink: #30343a;
  --color-muted: #6a7078;
  --color-line: #e6e0d8;
  --color-bg: #f6f3ee;
  --color-white: #ffffff;
  --color-gold: #b98b45;
  --shadow-soft: 0 20px 60px rgba(21, 24, 28, 0.12);
  --radius: 8px;
  --header-height: 94px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(31, 34, 38, 0.08);
  box-shadow: 0 10px 30px rgba(20, 21, 24, 0.06);
  backdrop-filter: blur(10px);
}

.topbar {
  color: rgba(255, 255, 255, 0.86);
  background: var(--color-graphite);
  font-size: 13px;
}

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

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

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

.brand img {
  width: min(300px, 46vw);
  height: auto;
}

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

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  color: var(--color-graphite);
  font-size: 15px;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--color-red);
  transition: transform 180ms ease;
}

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

.site-nav a.is-active {
  color: var(--color-red);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-graphite);
}

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

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

.hero__shade,
.page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 21, 24, 0.86), rgba(20, 21, 24, 0.56) 48%, rgba(20, 21, 24, 0.18)),
    linear-gradient(0deg, rgba(20, 21, 24, 0.18), rgba(20, 21, 24, 0.18));
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
}

.hero__content h1,
.page-hero__content h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: 54px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.84);
  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: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: var(--color-white);
  background: var(--color-red);
  box-shadow: 0 14px 30px rgba(159, 8, 8, 0.22);
}

.button--primary:hover {
  background: var(--color-red-dark);
}

.button--light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-gold);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trust-strip {
  background: var(--color-red);
  color: var(--color-white);
}

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

.trust-grid div {
  min-height: 122px;
  padding: 26px 26px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
  line-height: 1.3;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

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

.section--intro {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.85)),
    var(--color-white);
}

.section--dark {
  color: var(--color-white);
  background: var(--color-graphite);
}

.section--dark .section-copy p,
.section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.section--cta {
  padding: 74px 0;
  background: var(--color-white);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.cta-band h2,
.contact-panel h2,
.qr-panel h2 {
  margin: 0 0 18px;
  color: var(--color-graphite);
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: 0;
}

.section--dark .section-copy h2 {
  color: var(--color-white);
}

.section-heading p,
.section-copy p,
.cta-band p,
.contact-panel p,
.qr-panel p {
  margin: 0 0 16px;
  color: var(--color-muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: 54px;
  align-items: center;
}

.split-layout--center {
  align-items: center;
}

.image-panel,
.honor-box {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.image-panel img,
.honor-box img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.image-panel--contain {
  padding: 18px;
  background: var(--color-white);
}

.image-panel--contain img {
  min-height: 0;
  object-fit: contain;
}

.service-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.service-card,
.feature-grid article,
.announcement-item,
.contact-panel,
.qr-panel,
.placeholder-box,
.fact-list,
.map-placeholder {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.service-card {
  min-height: 292px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.service-card__mark,
.service-detail__index {
  color: var(--color-red);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.service-card h3,
.process-item h3,
.feature-grid h3,
.service-detail h2,
.announcement-item h2 {
  margin: 12px 0 12px;
  color: var(--color-graphite);
  line-height: 1.35;
  letter-spacing: 0;
}

.service-card p,
.process-item p,
.feature-grid p,
.service-detail p,
.announcement-item p {
  margin: 0;
  color: var(--color-muted);
}

.service-card a,
.text-link {
  display: inline-flex;
  margin-top: auto;
  color: var(--color-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.process-item {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border-top: 3px solid var(--color-red);
  background: var(--color-white);
  box-shadow: 0 10px 32px rgba(24, 25, 27, 0.08);
}

.process-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--color-white);
  border-radius: 50%;
  background: var(--color-red);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 800;
}

.honor-box {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.certificate-strip figure,
.certificate-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.certificate-strip img,
.certificate-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  background: #faf8f4;
}

.certificate-strip figcaption,
.certificate-grid figcaption {
  padding: 14px 16px 16px;
  color: var(--color-graphite);
  border-top: 1px solid var(--color-line);
  font-weight: 700;
  text-align: center;
}

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

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px;
  border: 1px solid var(--color-line);
  border-left: 5px solid var(--color-red);
  border-radius: var(--radius);
  background: var(--color-bg);
}

.page-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-graphite);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero__content p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.fact-list {
  overflow: hidden;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--color-line);
}

.fact-list div:last-child {
  border-bottom: 0;
}

.fact-list span {
  color: var(--color-muted);
}

.fact-list strong {
  color: var(--color-graphite);
  text-align: right;
}

.feature-grid article {
  min-height: 190px;
  padding: 26px;
}

.service-detail-list {
  display: grid;
  gap: 24px;
}

.service-detail {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 26px;
  padding: 36px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.service-detail__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(159, 8, 8, 0.2);
  border-radius: 50%;
  background: rgba(159, 8, 8, 0.06);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red);
}

.check-list--large {
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.flow-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: var(--color-white);
  border-radius: var(--radius);
  background: var(--color-graphite);
  font-weight: 700;
  text-align: center;
}

.announcement-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--color-ink);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
}

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

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

.announcement-item {
  padding: 28px;
}

.announcement-item[hidden] {
  display: none;
}

.announcement-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-muted);
  font-size: 14px;
}

.announcement-item__meta span {
  color: var(--color-red);
  font-weight: 700;
}

.placeholder-box,
.map-placeholder {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(159, 8, 8, 0.08), rgba(185, 139, 69, 0.12)),
    var(--color-white);
}

.placeholder-box strong,
.map-placeholder strong {
  color: var(--color-graphite);
  font-size: 24px;
}

.placeholder-box span,
.map-placeholder span {
  max-width: 360px;
  color: var(--color-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: 24px;
}

.contact-panel,
.qr-panel {
  padding: 32px;
}

.map-card,
.map-panel {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.map-card img,
.map-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.map-panel img {
  min-height: 360px;
}

.contact-list {
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}

.contact-list div:last-child {
  border-bottom: 0;
}

.contact-list dt {
  color: var(--color-muted);
}

.contact-list dd {
  margin: 0;
  color: var(--color-graphite);
  font-weight: 700;
}

.qr-panel {
  text-align: center;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(159, 8, 8, 0.4);
  border-radius: var(--radius);
  background: var(--color-bg);
}

.qr-placeholder img {
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #1d1e21;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 44px;
  padding: 54px 0;
}

.footer-logo {
  width: min(260px, 70vw);
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 18px;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-bottom .container {
  min-height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  width: 44px;
  height: 44px;
  color: var(--color-white);
  border: 0;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 980px) {
  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__inner span:last-child {
    display: none;
  }

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

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 104px;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    border-top: 1px solid var(--color-line);
    background: var(--color-white);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.14);
    transform: translateY(-130%);
    transition: transform 200ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 52px;
    border-bottom: 1px solid var(--color-line);
  }

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

  .hero,
  .hero__content {
    min-height: 540px;
  }

  .hero__content h1,
  .page-hero__content h1 {
    font-size: 42px;
  }

  .trust-grid,
  .service-grid,
  .feature-grid,
  .process-list,
  .flow-grid,
  .footer-grid,
  .contact-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: min(250px, 66vw);
  }

  .nav-shell {
    min-height: 66px;
  }

  .site-nav {
    top: 100px;
  }

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

  .hero__shade,
  .page-hero__shade {
    background: linear-gradient(90deg, rgba(20, 21, 24, 0.9), rgba(20, 21, 24, 0.62));
  }

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

  .hero__lead,
  .page-hero__content p:last-child {
    font-size: 16px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .section-copy h2,
  .cta-band h2,
  .contact-panel h2,
  .qr-panel h2 {
    font-size: 27px;
  }

  .trust-grid,
  .service-grid,
  .feature-grid,
  .process-list,
  .flow-grid,
  .footer-grid,
  .contact-grid,
  .certificate-strip,
  .certificate-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .service-detail {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }
}
