:root {
  --bg: #f3f5f4;
  --paper: #ffffff;
  --ink: #172028;
  --muted: #5c6b73;
  --line: #e2e8e6;
  --teal: #0b5e59;
  --teal-deep: #084843;
  --teal-soft: #e7f3f2;
  --sand: #f7f1e8;
  --shadow: 0 18px 50px rgba(23, 32, 40, 0.08);
  --header: 4.5rem;
  --wrap: 1120px;
  --serif: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --sans: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
button, input, textarea, select { font-family: inherit; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { line-height: 1.25; font-weight: 620; letter-spacing: -0.02em; }
h1 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
p { margin: 0 0 0.9em; }

.skip {
  position: absolute; left: 12px; top: 0; z-index: 20;
  transform: translateY(-120%);
  background: var(--teal); color: #fff; padding: 8px 12px;
}
.skip:focus { transform: none; }

.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.hero-grid > *, .split > *, .grid-3 > *, .grid-2 > * { min-width: 0; }
.lede, .fine { overflow-wrap: anywhere; }
.section { padding: 72px 0; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.lede { font-size: 1.12rem; color: #314047; max-width: 42rem; }
.muted { color: var(--muted); }

.header {
  position: sticky; top: 0; z-index: 10;
  height: var(--header);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; min-width: 0; }
.brand-logo { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav-drop > a {
  color: var(--ink); text-decoration: none; font-size: 0.94rem;
  padding: 8px 10px; border-radius: 8px;
}
.nav a:hover, .nav-drop > a:hover, .nav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-deep); }
.nav-phone { display: none; }
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-panel {
  display: none; position: absolute; top: calc(100% - 4px); left: 0;
  width: 520px; padding: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  grid-template-columns: 1fr 1fr; gap: 4px 16px;
}
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { display: grid; }
.nav-panel a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.nav-panel strong { display: block; font-size: 0.92rem; }
.nav-panel span { display: block; color: var(--muted); font-size: 0.78rem; }
.header-cta {
  text-decoration: none; color: #fff; background: var(--teal);
  padding: 8px 12px; border-radius: 999px; font-size: 0.88rem; white-space: nowrap;
}
.header-cta:hover { background: var(--teal-deep); color: #fff; }
.nav-toggle {
  display: none; margin-left: auto;
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  width: 40px; height: 40px; padding: 0; font: inherit;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.hero { padding: 42px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.15rem); margin: 0 0 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.hero-photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #dfe7e4; }
.hero-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.fine { color: var(--muted); font-size: 0.92rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 999px; text-decoration: none; font-weight: 650;
  border: 1px solid transparent;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c9d4d1; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.fact, .card, .step, .quote-box, .answer, .note, .cite, .contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
}
.fact { padding: 16px 16px 14px; }
.fact h1, .fact h2, .fact b { display: block; margin: 0 0 4px; font-size: 1.02rem; font-weight: 720; font-family: var(--sans); letter-spacing: 0; line-height: 1.3; }
.hero h1 span { display: block; margin-top: 0.18em; font-size: 0.42em; font-weight: 560; letter-spacing: -0.02em; line-height: 1.35; }
.fact span { color: var(--muted); font-size: 0.88rem; }

.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.section-head > div { min-width: 0; flex: 1; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; font-family: var(--serif); font-weight: 560; }
.section-head h2.h-sentence { font-size: clamp(1.28rem, 2.15vw, 1.72rem); line-height: 1.45; max-width: 36em; }
.h-sentence .keep, .lede .keep, .section-head .keep { white-space: nowrap; overflow-wrap: normal; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.card:hover { border-color: #b7ccc8; }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #e7eeec; }
.card-body, .pad { padding: 16px 16px 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.kicker { color: var(--teal); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; }

.band { background: var(--ink); color: #f4f7f6; }
.band a { color: #b7e2dc; }
.band .card { background: #213038; border-color: #31434a; color: #f4f7f6; }
.band .card p, .band .card .muted { color: #c5d2d0; }
.band .step { color: var(--ink); }
.band .step h3 { color: var(--ink); }
.band .step .muted { color: #3e4c54; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.step { padding: 16px; }
.step em { font-style: normal; color: var(--teal); font-weight: 720; font-size: 0.82rem; }
.step p { margin: 0 0 0.4em; font-size: 0.94rem; }
.step p:last-child { margin-bottom: 0; }

.page-hero { padding: 36px 0 8px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0 0 12px; }
.crumbs { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.prose h2 { font-size: 1.45rem; margin: 1.4em 0 0.45em; }
.prose h3 { font-size: 1.12rem; margin: 1.1em 0 0.35em; }
.prose h4 { font-size: 1.02rem; margin: 1em 0 0.3em; }
.prose strong { font-weight: 720; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.kb-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 1.1em;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.prose table, .kb-article table, .kb-table-wrap table { width: 100%; border-collapse: collapse; margin: 0; font-size: 0.94rem; min-width: 28rem; }
.prose th, .prose td, .kb-article th, .kb-article td, .kb-table-wrap th, .kb-table-wrap td {
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.prose th, .kb-article th, .kb-table-wrap th { background: var(--teal-soft); font-weight: 700; }
.prose tbody tr:last-child td, .kb-article tbody tr:last-child td, .kb-table-wrap tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td, .kb-article tbody tr:nth-child(even) td, .kb-table-wrap tbody tr:nth-child(even) td { background: #f7faf9; }
.frame + .prose { margin-top: 22px; }
.frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.cert-grid { display: flex; flex-wrap: wrap; gap: 16px 14px; align-items: flex-start; }
.cert { width: 76px; margin: 0; background: transparent; border: 0; padding: 0; }
.cert img { display: block; width: 76px; height: 100px; object-fit: cover; object-position: top; background: #f7f7f5; }
.cert figcaption { margin-top: 4px; font-size: 11px; line-height: 1.35; color: #9aa3a8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-certs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px 12px; width: 100%; }
.home-certs .cert { width: auto; min-width: 0; }
.home-certs .cert img { width: 100%; height: auto; object-fit: contain; object-position: top center; }

.answer { padding: 16px 18px; background: var(--teal-soft); border-color: #cfe4e1; margin: 0 0 18px; }
.note, .cite { padding: 14px 16px; margin-top: 18px; background: var(--sand); border-color: #eadfce; font-size: 0.94rem; }
.kb-shell { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding-bottom: 64px; }
.kb-side { position: sticky; top: calc(var(--header) + 16px); align-self: start; }
.kb-side a { display: block; color: var(--ink); text-decoration: none; padding: 7px 10px; border-radius: 8px; }
.kb-side a[aria-current="page"], .kb-side a:hover { background: var(--teal-soft); color: var(--teal-deep); }
.kb-side h2 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 16px 10px 6px; }
.search {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font: inherit; background: #fff; margin-bottom: 16px;
}
.meta { color: var(--muted); font-size: 0.9rem; }
dl.defs { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
dl.defs dt { color: var(--muted); }
dl.defs dd { margin: 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
.faq-item h2 { font-size: 1.15rem; margin: 0 0 8px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.contact-card { padding: 18px; }
.qr { width: 180px; border-radius: 12px; border: 1px solid var(--line); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.pager a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

.footer { background: #10181d; color: #d5dfdc; padding: 48px 0 20px; }
.footer a { color: #d5dfdc; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.footer h2 { font-size: 0.95rem; margin: 0 0 10px; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 6px; }
.legal { border-top: 1px solid #243038; margin-top: 28px; padding-top: 14px; color: #93a29e; font-size: 0.85rem; }
.video { width: 100%; border-radius: 16px; background: #000; display: block; aspect-ratio: 16/9; object-fit: contain; }

.hero { padding: 48px 0 12px; }
.hero-grid { gap: 56px; }
.hero h1 { font-size: clamp(2.55rem, 4.8vw, 4.35rem); }
.hero-photo { border-radius: 22px; }
.hero-photo img { aspect-ratio: 4/3; }
.facts-bar {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.facts-bar .fact {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 18px 18px 16px;
}
.facts-bar .fact:last-child { border-right: 0; }
a.fact { color: inherit; text-decoration: none; display: block; }
a.fact:hover { color: var(--teal-deep); }
.facts-photo .fact { padding: 0 0 16px; }
.facts-photo .fact img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
}
.facts-photo .fact h2 { margin: 12px 16px 4px; }
.facts-photo .fact span { display: block; margin: 0 16px; }
.why-choose { padding: 28px 0 8px; }
.why-choose .facts { margin-top: 14px; }
.why-choose .fact a { color: var(--teal-deep); text-decoration: none; }
.why-choose .fact a:hover { text-decoration: underline; }

.film { background: #10181d; color: #f3f7f6; padding: 72px 0; }
.film a { color: #d5f3ee; }
.film .eyebrow { color: #8fd9d1; }
.film-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 40px; align-items: center; }
.film h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 560; font-size: clamp(1.8rem, 3vw, 2.55rem); color: #fff; }
.film .lede { color: #d5dfdc; }
.film-frame { margin: 0; }
.film-frame video, .video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  object-fit: contain;
}
.film-frame figcaption { margin: 10px 2px 0; font-size: 0.86rem; letter-spacing: 0.04em; opacity: 0.78; }

.scene-board { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scene-col { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.scene-col > img { width: 100%; height: 210px; object-fit: cover; }
.scene-links { padding: 8px; }
.scene-links a {
  display: block;
  padding: 12px 12px 11px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}
.scene-links a:hover { background: var(--teal-soft); }
.scene-links h3, .scene-links strong { display: block; margin: 0; font-size: 1.02rem; font-weight: 720; font-family: var(--sans); letter-spacing: 0; line-height: 1.35; }
.scene-links em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.88rem;
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.photo-grid a { display: block; }
.photo-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.photo-grid figcaption { padding: 10px 12px 12px; color: var(--muted); font-size: 0.86rem; }
.photo-grid a,
.case-grid a,
.cert img,
.qr,
.consult-qr,
.frame img,
.scope-photo img,
.split img { cursor: zoom-in; }
.photo-lightbox {
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
  overflow: visible;
}
.photo-lightbox::backdrop { background: rgba(8, 16, 28, 0.82); }
.photo-lightbox-stage { position: relative; }
.photo-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1100px, 94vw);
  max-height: 82vh;
  border-radius: 12px;
  background: #fff;
}
body.lightbox-open .consult { visibility: hidden; }
.photo-lightbox-cap {
  margin: 12px auto 0;
  padding: 6px 14px;
  max-width: min(720px, 94vw);
  color: #fff;
  background: rgba(8, 16, 28, 0.78);
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}
.photo-lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #172028;
  cursor: pointer;
}
.photo-lightbox button svg { display: block; width: 22px; height: 22px; }
.photo-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.photo-lightbox-close { top: 10px; right: 10px; }
.photo-lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.photo-lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }
.photo-lightbox button[hidden] { display: none; }
.search-empty { margin: -4px 0 16px; color: var(--muted); }

.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 18px;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}
.topic:hover { border-color: #b7ccc8; }
.topic h3 { margin: 0 0 6px; font-size: 1.05rem; }
.topic p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.home-faq .faq-item p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact-band { background: #084843; color: #f4fbfa; }
.contact-band .lede, .contact-band p { color: #d7ebe8; }
.contact-band .eyebrow { color: #b7e2dc; }
.contact-band h2 { color: #fff; font-family: var(--serif); font-weight: 560; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 10px; }
.contact-band .contact-card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: #f4fbfa; }
.contact-band a { color: #fff; }
.contact-band .btn-primary { background: #fff; color: #084843; }
.contact-band .btn-primary:hover { background: #e7f3f2; color: #084843; }
.contact-card-qr { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wechat-qr { margin: 0; text-align: center; flex: 0 0 auto; }
.wechat-qr figcaption { margin-top: 6px; font-size: 0.85rem; }
.contact-band .qr { display: block; background: #fff; padding: 8px; }

@media (max-width: 980px) {
  .hero-grid, .split, .grid-3, .facts, .facts-bar, .steps, .footer-grid, .contact-grid, .kb-shell, .grid-2, dl.defs, .film-grid, .scene-board, .topic-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-qr { flex-direction: column; align-items: flex-start; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .facts-bar .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts-bar .fact:last-child { border-bottom: 0; }
  .facts-photo .fact img { height: 168px; }
  .scene-col > img { height: 180px; }
  .cert { width: 64px; }
  .cert img { width: 64px; height: 84px; }
  .home-certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-certs .cert { width: auto; }
  .home-certs .cert img { width: 100%; height: auto; }
  .nav-toggle { display: inline-flex; }
  .brand-logo { height: auto; width: min(230px, calc(100vw - 96px)); }
  .header-inner { gap: 8px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .header.is-open { height: auto; }
  .header.is-open .header-inner { flex-wrap: wrap; padding: 10px 0 14px; }
  .header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    width: 100%; order: 5; background: #fff;
  }
  .header.is-open .nav-phone { display: block; font-weight: 700; }
  .header.is-open .header-cta { width: fit-content; }
  .nav-panel { position: static; width: auto; display: grid; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
