:root {
  --ink: #17211f;
  --ink-soft: #46524f;
  --paper: #ffffff;
  --mist: #f2f5f3;
  --line: #d9dfdc;
  --red: #d8342a;
  --red-dark: #a7221b;
  --green: #1f5c4d;
  --green-soft: #dce9e4;
  --max: 1180px;
  --header: 72px;
}

* { 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;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--paper); border: 1px solid var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { width: min(calc(100% - 48px), var(--max)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 220px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--red); border-color: var(--red); }
.site-nav .nav-contact { padding: 10px 18px; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); }
.site-nav .nav-contact:hover, .site-nav .nav-contact:focus-visible { color: var(--paper); background: var(--green); border-color: var(--green); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.credential-strip { display: grid; grid-template-columns: 170px 1fr; gap: 3px 28px; align-items: center; min-height: 88px; padding: 15px max(24px, calc((100% - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.credential-label { grid-row: 1 / 3; color: var(--red); font-size: 13px; font-weight: 800; }
.credential-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #303735; font-size: 13px; line-height: 1.55; }
.credential-copy i { width: 3px; height: 3px; border-radius: 50%; background: #aeb7b4; }
.credential-strip:hover .credential-copy strong { color: var(--red-dark); }

.hero { position: relative; min-height: 480px; height: calc(100svh - 208px); max-height: 640px; overflow: hidden; color: var(--paper); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(10, 21, 18, .58); }
.hero-inner { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); height: 100%; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px 0; }
.hero-kicker, .eyebrow { margin: 0 0 14px; color: var(--red); font-size: 12px; line-height: 1.4; font-weight: 800; text-transform: uppercase; }
.hero-kicker { color: #ffbbb5; }
.hero h1 { max-width: 760px; margin: 0; font-size: 46px; line-height: 1.22; font-weight: 800; }
.hero-lead { margin: 18px 0 0; font-size: 28px; line-height: 1.35; font-weight: 700; }
.hero-summary { max-width: 620px; margin: 12px 0 0; color: #eef3f1; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid transparent; font-size: 14px; font-weight: 800; }
.button-primary { color: var(--paper); background: var(--red); border-color: var(--red); }
.button-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button-secondary { color: var(--paper); border-color: rgba(255,255,255,.72); }
.button-secondary:hover { background: var(--paper); color: var(--ink); }

.signal-band { background: var(--ink); color: var(--paper); }
.signal-inner { width: min(calc(100% - 48px), var(--max)); min-height: 104px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 150px) 1fr; align-items: center; gap: 26px; }
.signal-inner div { display: flex; align-items: baseline; gap: 9px; }
.signal-inner strong { color: #ff766d; font-size: 28px; }
.signal-inner span, .signal-inner p { color: #c7d1ce; font-size: 13px; }
.signal-inner p { margin: 0; text-align: right; }

.section { padding: 92px 0; scroll-margin-top: var(--header); }
.section-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 64px; align-items: end; margin-bottom: 40px; }
.section-heading h2, .method-copy h2, .about-copy h2, .contact-section h2 { margin: 0; max-width: 720px; font-size: 34px; line-height: 1.3; }
.section-heading > p { margin: 0; color: var(--ink-soft); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 290px; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.service-card h3 { margin: 18px 0 10px; font-size: 21px; line-height: 1.4; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.service-card a { margin-top: auto; padding-top: 24px; color: var(--red); font-size: 13px; font-weight: 800; }
.service-number { color: var(--green); font-size: 13px; font-weight: 800; }
.service-featured { grid-row: span 2; min-height: 596px; padding: 0; overflow: hidden; }
.service-featured img { width: 100%; height: 280px; object-fit: cover; }
.service-featured .service-copy { padding: 28px; }
.service-featured ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.service-featured li { padding: 5px 9px; color: var(--green); background: var(--green-soft); font-size: 12px; }

.method-section { background: var(--mist); }
.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 84px; align-items: start; }
.method-copy { position: sticky; top: 118px; }
.method-copy > p:not(.eyebrow) { margin: 18px 0; color: var(--ink-soft); }
.text-link { color: var(--red); font-weight: 800; }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.method-steps > li > span { color: var(--red); font-size: 13px; font-weight: 800; }
.method-steps h3 { margin: 0 0 6px; font-size: 19px; }
.method-steps p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.news-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.news-card img { width: 100%; height: 210px; object-fit: cover; }
.news-card-wide { grid-row: span 2; }
.news-card-wide img { height: 410px; }
.news-copy { padding: 22px; }
.news-copy time { color: var(--red); font-size: 12px; font-weight: 800; }
.news-copy h3 { margin: 8px 0; font-size: 19px; line-height: 1.45; }
.news-copy p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.about-section { background: var(--green); color: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy .eyebrow { color: #ffb0aa; }
.about-copy > p:not(.eyebrow) { color: #dbe8e4; }
.about-copy dl { margin: 30px 0 0; }
.about-copy dl div { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.24); }
.about-copy dt { color: #a9c7bd; font-size: 13px; }
.about-copy dd { margin: 0; }
.about-page-link { display: inline-flex; margin-top: 24px; color: #fff; font-size: 14px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.5); }

.contact-section { padding: 76px 0; color: var(--paper); background: var(--ink); scroll-margin-top: var(--header); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact-section .eyebrow { color: #ff8e86; }
.contact-section p { color: #bdc8c5; }
.contact-actions { border-top: 1px solid #44504d; }
.contact-line { display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid #44504d; }
.contact-line span { color: #92a09c; font-size: 13px; }
.contact-line strong { overflow-wrap: anywhere; }
.contact-line:hover strong { color: #ff8e86; }

.site-footer { padding: 32px 0; background: #0d1412; color: #a8b3b0; }
.footer-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; }
.footer-inner strong { color: var(--paper); }
.footer-inner p { margin: 5px 0 0; font-size: 12px; }
.footer-inner > div:last-child { text-align: right; }
.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

:focus-visible { outline: 3px solid #ff8e86; outline-offset: 3px; }

@media (max-width: 900px) {
  :root { --header: 64px; }
  .header-inner { width: min(calc(100% - 32px), var(--max)); }
  .brand img { width: 180px; }
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: var(--header) 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .nav-contact { margin-top: 12px; text-align: center; }
  .credential-strip { grid-template-columns: 1fr; gap: 5px; min-height: 112px; padding: 14px 16px; }
  .credential-label { grid-row: auto; }
  .credential-copy { font-size: 12px; }
  .hero { min-height: 460px; height: calc(100svh - 210px); max-height: 600px; }
  .hero-inner, .signal-inner, .section-inner, .footer-inner { width: min(calc(100% - 32px), var(--max)); }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 24px; }
  .signal-inner { grid-template-columns: repeat(3, 1fr); min-height: 100px; gap: 12px; }
  .signal-inner div { flex-direction: column; gap: 0; }
  .signal-inner p { display: none; }
  .section { padding: 72px 0; }
  .section-heading, .method-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .section-heading { margin-bottom: 30px; }
  .method-copy { position: static; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-featured { grid-row: auto; grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .service-featured img { height: 100%; min-height: 300px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card-wide { grid-column: 1 / -1; grid-row: auto; }
  .news-card-wide img { height: 360px; }
}

@media (max-width: 620px) {
  .hero { min-height: 430px; height: calc(100svh - 224px); max-height: 560px; }
  .hero-media { object-position: 54% center; }
  .hero-overlay { background: rgba(10, 21, 18, .66); }
  .hero h1 { max-width: 330px; font-size: 30px; }
  .hero-lead { font-size: 22px; }
  .hero-summary { font-size: 15px; }
  .hero-actions { width: 100%; }
  .button { flex: 1; padding-inline: 14px; }
  .signal-inner strong { font-size: 23px; }
  .signal-inner span { font-size: 11px; }
  .section-heading h2, .method-copy h2, .about-copy h2, .contact-section h2 { font-size: 27px; }
  .service-grid, .news-grid { grid-template-columns: 1fr; }
  .service-featured { grid-column: auto; display: block; }
  .service-featured img { height: 220px; min-height: 0; }
  .service-card { min-height: 245px; }
  .news-card-wide { grid-column: auto; }
  .news-card-wide img, .news-card img { height: 230px; }
  .about-layout { gap: 28px; }
  .about-copy dl div { grid-template-columns: 78px 1fr; gap: 12px; }
  .contact-line { grid-template-columns: 58px 1fr; gap: 10px; }
  .footer-inner { flex-direction: column; }
  .footer-inner > div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.archive-home-link { margin-top: 28px; text-align: center; }
