:root {
  color-scheme: light;
  --ink: #151717;
  --muted: #5d6865;
  --stone: #f3f0e8;
  --paper: #fffdf8;
  --limestone: #d6c29d;
  --water: #1f7a8c;
  --moss: #315f4b;
  --helmet: #e25d2a;
  --cave: #101312;
  --line: rgba(21, 23, 23, 0.13);
  --shadow: 0 16px 50px rgba(16, 19, 18, 0.16);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 5.5rem); max-width: 12ch; }
h2 { font-size: clamp(1.65rem, 3vw, 3.1rem); }
h3 { font-size: 1.18rem; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--helmet);
  color: white;
  padding: .6rem .9rem;
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(255, 253, 248, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: 215px;
}
.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  background: var(--cave);
  color: var(--limestone);
  font-weight: 800;
  border-radius: 6px;
}
.brand strong { display: block; font-size: 1rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.3; }
.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}
.site-nav a {
  padding: .62rem .72rem;
  color: #313a37;
  font-size: .92rem;
  border-radius: 6px;
}
.site-nav a[aria-current="page"], .site-nav a:hover {
  background: var(--stone);
  color: var(--cave);
}
.header-call {
  padding: .64rem .88rem;
  background: var(--helmet);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: .55rem;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 52px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--cave);
}
.hero-media, .hero-media img, .page-hero-media, .page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 48%, rgba(0,0,0,.18) 100%);
}
.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 7rem;
  color: white;
}
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--helmet);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: 0;
}
.hero .eyebrow, .page-hero .eyebrow { color: #ffd0a2; }
.hero-lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 1.25rem 0 0;
  color: rgba(255,255,255,.88);
}
.hero-actions, .contact-actions, .contact-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.6rem;
}
.hero-actions.compact { margin-top: 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}
.button.primary { background: var(--helmet); color: white; }
.button.secondary { background: var(--cave); color: white; }
.button.ghost { background: transparent; color: var(--cave); border-color: var(--line); }
.button.glass { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.38); }
.band {
  width: min(var(--max), calc(100% - 2rem));
  margin: -3.2rem auto 0;
  position: relative;
  z-index: 2;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.metric { padding: 1.3rem; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 1.75rem; line-height: 1; color: var(--moss); }
.metric span { display: block; margin-top: .55rem; color: var(--muted); font-size: .92rem; }
.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro-grid.reverse { grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr); }
.section-copy p { color: var(--muted); font-size: 1.02rem; }
.section-copy h2 { margin-bottom: 1.2rem; }
.text-link {
  display: inline-block;
  margin-top: .5rem;
  color: var(--water);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}
.image-stack { position: relative; min-height: 480px; }
.image-panel {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--stone);
}
.image-panel img { width: 100%; height: 430px; object-fit: cover; }
.image-panel.small {
  position: absolute;
  width: 48%;
  right: -4%;
  bottom: -8%;
  border: 6px solid var(--paper);
}
.image-panel.small img { height: 210px; }
.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}
.section-heading p { color: var(--muted); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(16, 19, 18, .08);
}
.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card div { padding: 1.1rem; }
.service-card p { color: var(--muted); font-size: .96rem; }
.service-card span { color: var(--water); font-size: .86rem; font-weight: 800; }
.service-card a:hover { color: var(--water); }
.dark-panel {
  display: grid;
  grid-template-columns: .75fr 1.2fr;
  gap: 2rem;
  color: white;
  background: var(--cave);
  padding: 3rem;
  border-radius: 8px;
  width: min(var(--max), calc(100% - 2rem));
}
.dark-panel p { color: rgba(255,255,255,.76); }
.case-cloud {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-content: start;
}
.case-cloud li {
  padding: .46rem .62rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  font-size: .9rem;
}
.case-cloud.full li { font-size: .92rem; }
.process { padding-top: 4rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.2rem;
  background: var(--stone);
  border-radius: 8px;
  min-height: 170px;
}
.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--helmet);
  font-weight: 900;
  margin-bottom: .6rem;
}
.steps span { display: block; color: var(--muted); margin-top: .4rem; font-size: .94rem; }
.gallery-strip {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
}
.gallery-main, .gallery-main img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}
.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  color: white;
  background: var(--cave);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.38));
}
.page-hero > div {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}
.page-hero h1 { max-width: 14ch; }
.page-hero p:not(.eyebrow) { max-width: 740px; color: rgba(255,255,255,.86); font-size: 1.12rem; }
.text-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3rem;
  align-items: start;
}
.text-layout article p { color: var(--muted); font-size: 1.04rem; }
.text-layout article h2 { margin-bottom: 1rem; }
.fact-list {
  border-left: 4px solid var(--helmet);
  background: var(--stone);
  padding: 1.2rem;
  border-radius: 0 8px 8px 0;
}
.fact-list h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.fact-list p, .fact-list li { color: var(--muted); font-size: .96rem; }
.fact-list ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.partner-band {
  background: var(--stone);
  padding: 2rem;
  border-radius: 8px;
}
.partner-band div {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.partner-band span {
  background: white;
  border: 1px solid var(--line);
  padding: .56rem .75rem;
  border-radius: 6px;
  font-weight: 800;
}
.related-links div {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
.related-links a {
  padding: .7rem .9rem;
  background: var(--stone);
  border-radius: 6px;
  font-weight: 800;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.gallery-card img { width: 100%; height: 190px; object-fit: cover; }
figcaption { padding: .8rem; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(16, 19, 18, .08);
}
.contact-card.muted { background: var(--stone); }
.contact-card.wide { grid-column: 1 / -1; box-shadow: none; }
.contact-card .inline-contact-button { color: var(--water); }
.phone-large a {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--helmet);
  font-weight: 900;
}
.contact-card ul { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.faq-list {
  max-width: 860px;
}
details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: .8rem;
  padding: 1rem 1.1rem;
}
summary {
  cursor: pointer;
  font-weight: 900;
}
details p { color: var(--muted); margin: .8rem 0 0; }
.contact-strip {
  width: min(var(--max), calc(100% - 2rem));
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem;
  background: var(--moss);
  color: white;
  border-radius: 8px;
}
.contact-strip p { margin: 0; color: rgba(255,255,255,.82); }
.contact-strip .button.ghost { color: white; border-color: rgba(255,255,255,.35); }
.site-footer {
  background: var(--cave);
  color: white;
  padding: 3rem max(1rem, calc((100vw - var(--max)) / 2)) 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  gap: 2rem;
}
.site-footer p, .site-footer small { color: rgba(255,255,255,.72); }
.site-footer span { display: block; color: var(--limestone); font-weight: 900; margin-bottom: .5rem; }
.inline-contact-button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--limestone);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  border-bottom: 1px solid currentColor;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.float-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  gap: .4rem;
}
.float-contact a, .float-contact button {
  width: 3.4rem;
  height: 3.4rem;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--helmet);
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  cursor: pointer;
  font: inherit;
}
.float-contact button { background: var(--water); }
body.modal-open { overflow: hidden; }
.wechat-modal[hidden] { display: none; }
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.wechat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.64);
}
.wechat-dialog {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
}
.wechat-dialog h2 { font-size: 1.5rem; margin-bottom: .55rem; }
.wechat-dialog p:not(.eyebrow) { color: var(--muted); }
.wechat-close {
  position: absolute;
  right: .8rem;
  top: .8rem;
  border: 1px solid var(--line);
  background: var(--stone);
  color: var(--ink);
  border-radius: 6px;
  padding: .35rem .55rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.wechat-qr-image, .qr-card {
  display: block;
  margin-top: .9rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--stone);
}
.wechat-qr-image img, .qr-card img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-qr { max-width: 360px; margin-top: 1rem; }
.qr-note { margin-top: .8rem; font-size: .9rem; }
@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    display: none;
    order: 10;
    width: 100%;
    margin: .5rem 0 0;
    padding: .5rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .header-call { display: none; }
  .metrics, .steps, .service-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .intro-grid.reverse, .text-layout, .dark-panel, .gallery-strip, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .image-stack { min-height: 390px; }
  .image-panel img { height: 340px; }
  .dark-panel { padding: 2rem; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .brand { min-width: auto; }
  .brand small { display: none; }
  .hero { min-height: 650px; }
  .hero-content { padding: 5.5rem 0 5rem; }
  .metrics, .steps, .service-grid, .gallery-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .section { padding: 4rem 0; }
  .image-stack { min-height: auto; }
  .image-panel.small { position: static; width: 100%; margin-top: 1rem; border: 0; }
  .image-panel img, .image-panel.small img, .gallery-main img, .gallery-main { height: 260px; }
  .page-hero { min-height: 390px; }
  .page-hero > div { padding: 4rem 0; }
  .footer-bottom { flex-direction: column; }
  .float-contact { right: .65rem; bottom: .65rem; }
  .float-contact a, .float-contact button { width: 3rem; height: 3rem; font-size: .9rem; }
}
