:root {
  --ink: #333333;
  --ink-soft: #666666;
  --navy: #1f2933;
  --navy-deep: #112b40;
  --blue: #0879c9;
  --red: #d0021b;
  --red-dark: #b50016;
  --green: #5e9f4b;
  --mint: #f1f7f3;
  --paper: #f3f2f7;
  --line: #e1e1e5;
  --white: #fff;
  --shadow: 0 8px 26px rgba(24, 33, 42, .08);
  --container: min(1200px, calc(100% - 64px));
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.7; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.container { width: var(--container); margin: 0 auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 90px; background: #fff; border-bottom: 1px solid #eeeeef; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(6, 27, 43, .08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 250px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: var(--green); border: 3px solid #d7ead2; border-radius: 50%; font-family: Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1; }
.brand-copy { display: grid; gap: 0; }
.brand-copy strong { color: #222; font-size: 20px; letter-spacing: .08em; line-height: 1.1; }
.brand-copy small { color: #777; font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .08em; line-height: 1.5; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 29px; flex: 1; height: 100%; }
.site-nav a { position: relative; display: inline-flex; align-items: center; height: 100%; color: #444; font-size: 14px; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: auto; bottom: 17px; width: 30px; height: 2px; background: var(--red); transform: translateX(-50%) scaleX(0); transform-origin: center; transition: transform .2s ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--red); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: translateX(-50%) scaleX(1); }
.header-phone { display: grid; gap: 0; min-width: 178px; padding-left: 25px; border-left: 1px solid var(--line); }
.header-phone span { color: #888; font-size: 11px; }
.header-phone strong { color: var(--red); font-family: Arial, sans-serif; font-size: 15px; letter-spacing: .03em; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 575px; overflow: hidden; display: flex; align-items: center; padding: 125px 0 70px; color: var(--ink); background: #f1f0f5; }
.hero::before, .hero::after { display: none; }
.hero-document { position: absolute; inset: 90px 0 0 46%; background: url("assets/certificates/certificate-3.png") right center / auto 86% no-repeat; opacity: .10; filter: grayscale(1) contrast(.9); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 82px; }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-family: Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.eyebrow.light { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 21px; color: #303030; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.25; letter-spacing: .02em; font-weight: 700; }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-lede { max-width: 575px; margin-bottom: 27px; color: #555; font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 20px; border: 1px solid transparent; font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-red { color: var(--white); background: var(--red); }
.button-red:hover { background: var(--red-dark); }
.button-ghost { color: #555; border-color: #aaa; background: transparent; }
.button-ghost:hover { color: var(--white); background: var(--navy); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: #777; font-size: 12px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.hero-credential { max-width: 360px; padding: 28px 30px 24px; border: 1px solid #dddde2; border-top: 3px solid var(--red); background: #fff; box-shadow: var(--shadow); }
.credential-kicker { color: var(--blue); font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.credential-grade { margin: 10px 0 1px; color: var(--red); font-family: Georgia, serif; font-size: 82px; font-weight: 700; line-height: .9; }
.credential-grade small { font-family: "PingFang SC", sans-serif; font-size: 24px; }
.hero-credential p { margin-bottom: 22px; color: #444; font-size: 16px; line-height: 1.7; }
.credential-rule { height: 1px; margin-bottom: 16px; background: #dedee2; }
.credential-meta { display: grid; grid-template-columns: 78px 1fr; gap: 14px; margin-bottom: 10px; font-size: 11px; }
.credential-meta span { color: #888; }
.credential-meta strong { color: #333; font-weight: 500; }
.text-link { display: inline-flex; gap: 15px; margin-top: 13px; color: var(--red); font-size: 12px; }
.scroll-cue { position: absolute; z-index: 1; bottom: 23px; left: 50%; display: flex; align-items: center; gap: 13px; color: #888; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .16em; transform: translateX(-50%); }
.scroll-cue span { width: 38px; height: 1px; background: var(--red); }

.section { padding: 88px 0; }
.positioning { background: #fff; }
.positioning-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr); gap: 90px; align-items: start; }
.section-intro { max-width: 500px; }
.section h2 { margin-bottom: 26px; color: var(--navy); font-size: clamp(31px, 3vw, 46px); line-height: 1.28; letter-spacing: .02em; }
.section-intro > p:not(.eyebrow) { color: var(--ink-soft); font-size: 15px; line-height: 2; }
.inline-link { display: inline-flex; gap: 18px; margin-top: 23px; color: var(--red); font-size: 13px; font-weight: 700; }
.positioning-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stat-block { min-height: 164px; display: flex; flex-direction: column; justify-content: center; padding: 22px 30px; border-bottom: 1px solid var(--line); }
.stat-block:nth-child(odd) { border-right: 1px solid var(--line); }
.stat-block strong { color: var(--blue); font-family: Georgia, serif; font-size: 58px; font-weight: 500; line-height: .95; }
.stat-block span { margin-top: 13px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }

.services { background: var(--white); }
.section-heading { display: block; margin-bottom: 38px; text-align: center; }
.section-heading > div { display: flex; flex-direction: column; align-items: center; }
.section-heading .eyebrow { order: 2; margin: 12px 0 0; }
.section-heading h2 { order: 1; margin-bottom: 0; }
.section-heading > p { max-width: 460px; margin: 15px auto 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; text-align: center; }
.services .section-heading h2, .credentials .section-heading h2 { color: var(--red); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 340px; display: flex; flex-direction: column; padding: 29px 25px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.service-card:hover { background: var(--paper); }
.service-card-feature { background: #fff; color: var(--ink); border-top: 3px solid var(--red); }
.service-card-feature:hover { background: var(--paper); }
.service-no { color: var(--red); font-family: Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 31px 0 29px; color: var(--red); border: 1px solid currentColor; border-radius: 0; font-size: 22px; font-weight: 700; }
.service-card-feature .service-icon { color: var(--blue); }
.service-card h3 { margin-bottom: 17px; font-size: 21px; line-height: 1.4; }
.service-card p { margin-bottom: 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.service-card-feature p { color: var(--ink-soft); }
.service-link { display: inline-flex; gap: 14px; margin-top: auto; color: var(--red); font-size: 12px; font-weight: 700; }
.service-card-feature .service-link { color: var(--red); }

.scenes { color: var(--ink); background: var(--paper); }
.section-heading-light h2 { color: var(--red); }
.section-heading-light > p { color: var(--ink-soft); }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.scene-item { min-height: 150px; display: grid; align-content: center; gap: 3px; padding: 23px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.scene-index { color: var(--red); font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .12em; }
.scene-item strong { font-size: 21px; font-weight: 500; }
.scene-item small { color: var(--ink-soft); font-size: 12px; }

.process { background: #fff; }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { position: relative; min-height: 152px; padding: 0 22px 0 0; }
.process-list li:not(:last-child)::after { content: ""; position: absolute; top: 13px; right: 20px; width: 30px; height: 1px; background: var(--red); }
.process-number { display: block; margin-bottom: 21px; color: var(--red); font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; }
.process-list h3 { margin-bottom: 8px; font-size: 19px; }
.process-list p { max-width: 165px; margin-bottom: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }

.credentials { background: var(--white); }
.credential-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 72px; align-items: start; }
.credential-list { border-top: 1px solid var(--line); }
.credential-item { display: grid; grid-template-columns: 12px 1fr; gap: 17px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.credential-dot { width: 9px; height: 9px; margin-top: 8px; border: 2px solid var(--red); border-radius: 50%; }
.credential-item.is-highlight .credential-dot { background: var(--red); }
.credential-item strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 17px; }
.credential-item p { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.certificate-feature { position: relative; padding: 12px; border: 1px solid var(--line); background: var(--paper); box-shadow: none; }
.certificate-feature img { width: 100%; aspect-ratio: 1.414 / 1; object-fit: cover; object-position: center; cursor: zoom-in; }
.certificate-feature span { position: absolute; top: 24px; left: 24px; padding: 4px 9px; color: var(--white); background: var(--red); font-size: 11px; }
.certificate-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 58px; }
.certificate-thumb { position: relative; min-height: 120px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); cursor: zoom-in; }
.certificate-thumb::after { content: "查看"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); background: rgba(8,38,59,.7); font-size: 12px; opacity: 0; transition: opacity .2s ease; }
.certificate-thumb:hover::after, .certificate-thumb:focus-visible::after { opacity: 1; }
.certificate-thumb img { width: 100%; height: 130px; object-fit: cover; }

.about { color: var(--ink); background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); gap: 90px; align-items: center; }
.about-visual { position: relative; min-height: 380px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.about-visual::before, .about-visual::after { content: ""; position: absolute; border: 1px solid #bddcc2; border-radius: 50%; }
.about-visual::before { width: 310px; height: 310px; }
.about-visual::after { width: 230px; height: 230px; }
.about-seal { position: relative; z-index: 1; width: 164px; height: 164px; display: grid; place-items: center; align-content: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-family: Georgia, serif; font-size: 58px; line-height: .8; text-align: center; }
.about-seal small { margin-top: 14px; color: var(--blue); font-family: "PingFang SC", sans-serif; font-size: 10px; letter-spacing: .12em; }
.about-caption { position: absolute; right: 22px; bottom: 17px; color: #999; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .16em; }
.about-copy h2 { color: var(--ink); }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; line-height: 2; }
.about-signature { display: grid; gap: 4px; margin-top: 31px; padding-left: 18px; border-left: 2px solid var(--red); }
.about-signature span { color: #888; font-size: 12px; }
.about-signature strong { color: var(--ink); font-size: 16px; font-weight: 500; }

.contact-cta { padding: 76px 0; color: var(--white); background: var(--blue); }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.contact-inner h2 { margin-bottom: 0; color: var(--white); font-size: clamp(30px, 3vw, 45px); }
.contact-action { max-width: 330px; }
.contact-action p { margin-bottom: 21px; color: rgba(255,255,255,.68); font-size: 13px; }
.contact-action .button { min-width: 210px; }

.site-footer { color: rgba(255,255,255,.7); background: #232323; }
.footer-main { display: flex; justify-content: space-between; gap: 65px; padding: 58px 0 47px; }
.footer-brand { align-self: start; }
.footer-brand .brand-copy strong { color: var(--white); }
.footer-brand .brand-copy small { color: #7dd0c2; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 55px; }
.footer-columns span { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.footer-columns p { margin: 11px 0 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 2; }
.footer-columns a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 18px 0 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.42); font-family: Arial, sans-serif; font-size: 10px; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 30px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(2,12,20,.9); }
.lightbox-dialog { position: relative; z-index: 1; max-width: min(960px, 94vw); max-height: 92vh; display: grid; justify-items: center; gap: 12px; }
.lightbox-dialog img { max-width: 100%; max-height: 78vh; object-fit: contain; border: 10px solid var(--white); background: var(--white); }
.lightbox-dialog p { margin: 0; color: var(--white); font-size: 13px; }
.lightbox-close { position: absolute; z-index: 2; top: -22px; right: -22px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.6); background: var(--navy); border-radius: 50%; cursor: pointer; font-size: 25px; line-height: 1; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (max-width: 1100px) {
  :root { --container: min(100% - 42px, 920px); }
  .header-inner { gap: 20px; }
  .brand { min-width: auto; }
  .site-nav { gap: 17px; }
  .header-phone { min-width: auto; padding-left: 14px; }
  .header-phone strong { font-size: 13px; }
  .hero-inner { gap: 46px; }
  .positioning-grid { gap: 45px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 330px; }
  .credential-layout { gap: 35px; }
  .footer-main { gap: 30px; }
  .footer-columns { gap: 25px; }
}

@media (max-width: 900px) {
  .site-header { height: 74px; }
  .header-inner { justify-content: space-between; }
  .brand-copy small { display: none; }
  .header-phone { margin-left: auto; padding-left: 0; border-left: 0; }
  .header-phone span { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0 8px 12px; border: 0; background: transparent; color: var(--ink); font-size: 12px; cursor: pointer; }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon i { width: 18px; height: 1px; display: block; background: currentColor; }
  .site-nav { position: absolute; top: 74px; left: 0; right: 0; height: auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px var(--container); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(6,27,43,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav a { height: 48px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { bottom: 0; left: auto; width: 28px; right: auto; }
  .hero { min-height: auto; padding: 150px 0 92px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-credential { max-width: 470px; }
  .hero-document { inset: 74px 0 0 15%; background-size: auto 80%; opacity: .16; }
  .positioning-grid, .credential-layout, .about-grid { grid-template-columns: 1fr; }
  .positioning-grid, .about-grid { gap: 45px; }
  .positioning-stats { max-width: 640px; }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .process-list li:nth-child(3)::after { display: none; }
  .about-visual { min-height: 330px; }
  .footer-main { flex-direction: column; }
  .footer-columns { width: 100%; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 36px); }
  .header-phone strong { font-size: 12px; }
  .brand-mark { width: 39px; height: 39px; font-size: 17px; }
  .brand-copy strong { font-size: 17px; }
  .hero { padding: 130px 0 75px; }
  h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-lede { font-size: 14px; }
  .hero-proof { gap: 10px 18px; margin-top: 35px; }
  .hero-credential { padding: 25px 21px 22px; }
  .section { padding: 80px 0; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 17px; text-align: left; }
  .positioning-stats { grid-template-columns: 1fr 1fr; }
  .stat-block { min-height: 140px; padding: 19px 16px; }
  .stat-block strong { font-size: 54px; }
  .stat-block span { font-size: 11px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene-item { min-height: 125px; padding: 18px 15px; }
  .scene-item strong { font-size: 17px; }
  .scene-item small { font-size: 10px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:not(:last-child)::after { display: none; }
  .process-list li { min-height: 130px; }
  .credential-layout { gap: 30px; }
  .certificate-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 35px; }
  .certificate-thumb img { height: 105px; }
  .about-visual { min-height: 270px; }
  .about-visual::before { width: 230px; height: 230px; }
  .about-visual::after { width: 170px; height: 170px; }
  .about-seal { width: 125px; height: 125px; font-size: 46px; }
  .contact-inner { display: block; }
  .contact-action { margin-top: 35px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-columns > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom a { display: inline-block; margin-top: 10px; }
  .lightbox { padding: 18px; }
  .lightbox-dialog img { border-width: 5px; }
  .lightbox-close { top: -17px; right: -10px; width: 34px; height: 34px; font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
