:root {
  --ink: #181619;
  --paper: #f3f0ea;
  --white: #fffdf9;
  --red: #d6402f;
  --cyan: #72d8df;
  --muted: #706b68;
  --line: rgba(24, 22, 25, 0.16);
  font-family: "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "STSong", "Songti SC", Georgia, serif; font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.08; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 24px;
  padding: 18px clamp(18px, 4vw, 60px); color: var(--white);
  transition: .25s ease;
}
.site-header.is-scrolled, .site-header.is-open {
  color: var(--ink); background: rgba(243, 240, 234, .94);
  box-shadow: 0 10px 32px rgba(0,0,0,.1); backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; font-family: "STSong", serif; font-size: 25px; }
.brand-copy strong, .brand-copy small { display: block; white-space: nowrap; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { margin-top: 2px; font: 10px Georgia, serif; opacity: .66; }
.nav { display: flex; gap: 26px; font-size: 14px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--red); transition: .2s; }
.nav a:hover::after { right: 0; }
.language-switch { display: flex; padding: 3px; border: 1px solid currentColor; }
.language-switch button { width: 34px; height: 30px; border: 0; color: inherit; background: transparent; cursor: pointer; font-weight: 800; }
.language-switch button[aria-pressed="true"] { color: var(--ink); background: var(--white); }
.is-scrolled .language-switch button[aria-pressed="true"], .is-open .language-switch button[aria-pressed="true"] { color: var(--white); background: var(--ink); }
.header-cta, .primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; font-weight: 800; }
.header-cta { border: 1px solid currentColor; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid currentColor; color: inherit; background: transparent; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--white); background: #111; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(4,8,12,.94) 0%, rgba(4,8,12,.68) 35%, rgba(4,8,12,.12) 72%), linear-gradient(0deg, rgba(5,6,9,.7), transparent 40%); }
.hero-content { position: relative; z-index: 2; width: min(860px, calc(100% - 36px)); padding: 22vh 0 220px clamp(18px, 7vw, 110px); }
.eyebrow, .section-label { margin-bottom: 18px; color: var(--red); font: 800 12px Georgia, serif; letter-spacing: .16em; }
.hero h1 { max-width: 10em; margin-bottom: 26px; font-size: clamp(48px, 7.4vw, 104px); line-height: 1.02; }
.hero-copy { max-width: 660px; margin-bottom: 32px; color: rgba(255,255,255,.78); font-size: clamp(17px, 2vw, 21px); line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; }
.primary-button { color: var(--white); background: var(--red); }
.secondary-button { border: 1px solid rgba(255,255,255,.5); }
.hero-strip {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); width: min(820px, 100%);
  border-top: 1px solid rgba(255,255,255,.24); border-left: 1px solid rgba(255,255,255,.24);
  background: rgba(12,13,16,.62); backdrop-filter: blur(14px);
}
.hero-strip span { min-height: 112px; padding: 24px; color: var(--cyan); font: 25px Georgia, serif; }
.hero-strip span + span { border-left: 1px solid rgba(255,255,255,.18); }
.hero-strip b { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font: 500 13px "Microsoft YaHei UI", sans-serif; }

.statement, .services, .matrix, .process, .license-note, .search-summary, .faq, .contact { padding: clamp(72px, 10vw, 150px) clamp(18px, 6vw, 92px); }
.statement-grid { display: grid; grid-template-columns: 1.1fr .8fr; gap: clamp(34px, 8vw, 130px); align-items: end; }
.statement-grid h2 { margin: 0; }
.statement-grid p, .section-head > p, .matrix-copy > p, .license-note p, .contact-copy > p { color: var(--muted); font-size: 17px; line-height: 1.9; }
.text-link { display: inline-block; margin-top: 12px; color: var(--red); font-weight: 800; }

.services { color: var(--white); background: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 50px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 480px; }
.services .section-head > p { color: rgba(255,255,255,.6); }
.service-list { border-top: 1px solid rgba(255,255,255,.18); }
.service-list article {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 28px; align-items: start;
  padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.18); transition: .2s;
}
.service-list article:hover { padding-left: 18px; color: var(--white); background: rgba(214,64,47,.12); }
.service-list article > span { color: var(--red); font: 24px Georgia, serif; }
.service-list h3 { margin-bottom: 8px; font-size: 28px; }
.service-list p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.6); line-height: 1.8; }
.service-list b { color: rgba(255,255,255,.18); font: 42px Georgia, serif; }

.matrix { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 8vw, 120px); background: #e8e3db; }
.matrix-copy { align-self: center; }
.matrix-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.matrix-grid div { min-height: 180px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.26); }
.matrix-grid strong, .matrix-grid span { display: block; }
.matrix-grid strong { margin-bottom: 56px; color: var(--red); font: 28px Georgia, serif; }
.matrix-grid span { font-size: 20px; font-weight: 800; }

.process { background: var(--white); }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process li { min-height: 260px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process i { display: block; margin-bottom: 70px; color: var(--red); font: normal 28px Georgia, serif; }
.process h3 { font-size: 22px; }
.process p { color: var(--muted); line-height: 1.8; }

.license-note { display: grid; grid-template-columns: .45fr 1.55fr; gap: 40px; color: var(--white); background: var(--red); }
.license-note .section-label { color: rgba(255,255,255,.65); }
.license-note h2 { margin-bottom: 20px; }
.license-note p { max-width: 950px; margin-bottom: 0; color: rgba(255,255,255,.78); }

.search-summary { background: #efece6; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.summary-grid article { min-height: 240px; padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.54); }
.summary-grid h3 { font-size: 23px; }
.summary-grid p, .faq details p { color: var(--muted); line-height: 1.8; }

.faq { padding-top: 20px; background: #efece6; }
.faq h2 { margin-bottom: 36px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 24px 0; cursor: pointer; font-size: 18px; font-weight: 800; }
.faq details p { max-width: 800px; padding-bottom: 22px; }

.contact { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(40px, 9vw, 140px); color: var(--white); background: #111012; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy > p { max-width: 660px; color: rgba(255,255,255,.62); }
address { display: grid; gap: 9px; margin-top: 26px; color: rgba(255,255,255,.76); font-style: normal; }
.contact-panel { align-self: center; padding: 34px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.contact-panel > span { color: rgba(255,255,255,.6); font-size: 14px; }
.phone { display: block; margin: 15px 0 28px; color: var(--cyan); font: clamp(36px, 5vw, 60px) Georgia, serif; }
.contact-panel > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-panel > div a { display: grid; place-items: center; min-height: 48px; border: 1px solid rgba(255,255,255,.28); font-weight: 800; }
.contact-panel .wechat { border-color: var(--red); background: var(--red); }
.wechat-note { min-height: 18px; margin: 14px 0 0; color: rgba(255,255,255,.62); font-size: 13px; }

footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(18px, 6vw, 92px); color: rgba(255,255,255,.54); background: #080708; font-size: 13px; }
.mobile-call { display: none; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav, .header-cta { display: none; }
  .menu-button { display: block; }
  .site-header.is-open .nav { position: absolute; top: 78px; left: 18px; right: 18px; display: grid; gap: 0; padding: 8px; color: var(--ink); background: var(--white); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
  .site-header.is-open .nav a { padding: 15px; }
  .statement-grid, .matrix, .license-note, .contact { grid-template-columns: 1fr; }
  .process ol { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { padding-bottom: 76px; }
  .site-header { padding: 12px 14px; }
  .site-header.is-open .nav { top: 66px; left: 14px; right: 14px; }
  .brand-mark { width: 36px; height: 36px; font-size: 21px; }
  .brand-copy strong { max-width: 8em; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
  .brand-copy small { display: none; }
  .hero-image { object-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,8,12,.92), rgba(4,8,12,.52)), linear-gradient(0deg, rgba(4,8,12,.82), transparent 55%); }
  .hero-content { width: calc(100% - 28px); padding: 116px 0 290px 14px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-copy { font-size: 15px; line-height: 1.75; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-strip { right: 14px; bottom: 22px; width: calc(100% - 28px); grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255,255,255,.2); }
  .hero-strip span { min-height: 76px; padding: 13px; font-size: 19px; }
  .hero-strip span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .hero-strip span:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); }
  .hero-strip b { margin-top: 6px; font-size: 11px; }
  .statement, .services, .matrix, .process, .license-note, .search-summary, .faq, .contact { padding: 58px 16px; }
  h2 { font-size: clamp(34px, 10vw, 46px); }
  .statement-grid, .matrix, .contact { gap: 24px; }
  .statement-grid p, .section-head > p, .matrix-copy > p, .license-note p, .contact-copy > p { font-size: 15px; line-height: 1.8; }
  .section-head { display: block; margin-bottom: 28px; }
  .service-list article { grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; }
  .service-list article > span { font-size: 19px; }
  .service-list h3 { font-size: 21px; }
  .service-list p { font-size: 14px; }
  .service-list b { display: none; }
  .matrix-grid { grid-template-columns: 1fr 1fr; }
  .matrix-grid div { min-height: 128px; padding: 18px; }
  .matrix-grid strong { margin-bottom: 30px; font-size: 22px; }
  .matrix-grid span { font-size: 16px; }
  .process ol, .summary-grid { grid-template-columns: 1fr; }
  .process li { min-height: auto; padding: 22px; }
  .process i { margin-bottom: 28px; }
  .summary-grid article { min-height: auto; padding: 22px; }
  .license-note { gap: 4px; }
  .contact-panel { padding: 22px; }
  .contact-panel > div { grid-template-columns: 1fr; }
  footer { display: grid; padding: 20px 16px; }
  .mobile-call { position: fixed; right: 14px; bottom: 12px; left: 14px; z-index: 40; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; color: var(--white); background: var(--red); box-shadow: 0 15px 35px rgba(0,0,0,.28); }
  .mobile-call strong { font: 22px Georgia, serif; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
