:root {
  --navy: #052a52;
  --navy-deep: #021a34;
  --navy-soft: #0b3867;
  --teal: #1cb89a;
  --teal-dark: #0c947a;
  --ink: #17334e;
  --muted: #65798b;
  --mist: #eef4fa;
  --line: #cfdae5;
  --white: #ffffff;
  --max: 1180px;
  --font-display: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-body); font-size: 18px; font-weight: 300; line-height: 1.5; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding-block: 112px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 30; color: var(--white); }
.site-header .shell,
.hero .shell { width: min(calc(100% - 112px), 1660px); }
.topbar { display: flex; justify-content: flex-end; gap: 36px; height: 58px; padding-top: 18px; color: rgba(255,255,255,.72); font-size: 16px; font-weight: 500; border: 0; }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: rgba(255,255,255,.95); }
.topbar a::before,
.topbar span::before { content: ""; display: inline-block; width: 19px; height: 19px; margin-right: 9px; flex: 0 0 19px; background-repeat: no-repeat; background-position: center; background-size: contain; vertical-align: -3px; opacity: .85; }
.topbar a::before { background-image: url("picture/email.png"); }
.topbar span::before { background-image: url("picture/phone.png"); }
.nav { min-height: 124px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand-logo { display: block; width: auto; height: 54px; object-fit: contain; }
.site-header .brand-mark { display: none; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: var(--teal); font-weight: 700; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .3em; font-weight: 400; }
.brand-name b { font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.nav-links > a:not(.nav-cta) { position: relative; padding-block: 18px; white-space: nowrap; }
.nav-links > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--teal); transition: right .25s ease; }
.nav-links > a:hover::after, .nav-links > a.active::after { right: 0; }
.has-menu { display: inline-flex; align-items: center; gap: 10px; }
.has-menu i { margin-top: -5px; font-size: 1.4rem; font-style: normal; line-height: 1; }
.nav-cta { min-width: 126px; background: var(--white); color: var(--navy); padding: 13px 24px; border-radius: 8px; font-weight: 500; text-align: center; white-space: nowrap; transition: transform .2s, background .2s; }
.nav-cta:hover { transform: translateY(-2px); background: var(--teal); color: var(--white); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 9px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 27px; height: 2px; margin: 6px; background: var(--white); }

.hero { position: relative; min-height: 725px; display: flex; align-items: stretch; color: var(--white); background: var(--navy-deep) url("assets/hero-pcba.png") center/cover no-repeat; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,18,37,.72) 0%, rgba(2,29,57,.45) 46%, rgba(2,27,53,.14) 82%), linear-gradient(0deg, rgba(1,17,34,.34), transparent 52%); }
.hero-content { --hero-title-shift: -36px; --hero-copy-shift: 20px; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 0 0 108px; }
.eyebrow, .section-kicker, .mini-label { margin: 0 0 20px; font-size: 13px; letter-spacing: .2em; font-weight: 600; color: var(--teal); }
.hero h1 { max-width: 1050px; margin: 0; font-family: var(--font-display); font-size: clamp(52px, 3.9vw, 72px); line-height: 1.24; letter-spacing: .005em; font-weight: 400; animation: hero-title-in 1s cubic-bezier(.22,1,.36,1) 100ms both; }
.hero h1 span { display: block; }
.hero-copy { max-width: 900px; margin: 26px 0 0; font-size: 20px; line-height: 1.7; color: rgba(255,255,255,.82); animation: hero-copy-in 2s cubic-bezier(.22,1,.36,1) 280ms both; }
@keyframes hero-title-in { from { opacity: 0; transform: translate3d(var(--hero-title-shift),0,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes hero-copy-in { from { opacity: 0; transform: translate3d(0,var(--hero-copy-shift),0); } to { opacity: 1; transform: translate3d(0,0,0); } }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 220px; border: 0; border-radius: 7px; padding: 17px 22px; font-family: var(--font-display); font-size: 18px; font-weight: 500; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover { background: var(--teal-dark); }
.floating-contact { position: fixed; z-index: 25; right: 0; top: 50%; display: flex; align-items: center; gap: 12px; padding: 19px 5px; background: var(--teal); color: var(--white); border-radius: 7px 0 0 7px; writing-mode: vertical-rl; transform: translateY(-50%); font-weight: 650; box-shadow: 0 10px 30px rgba(1,25,50,.18); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; padding-block: 58px; }
.metrics strong { display: block; white-space: nowrap; font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; font-weight: 300; color: var(--navy); }
.metrics strong span { font-size: .4em; color: var(--teal); }
.metrics p { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

.intro { border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.22; letter-spacing: .02em; font-weight: 300; color: var(--navy); }
.intro-copy p { margin: 0 0 24px; color: var(--muted); font-size: 1.1rem; }
.intro-copy .emphasis { color: var(--navy); font-size: 1.45rem; font-style: italic; font-weight: 500; }
.intro-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; padding-bottom: 6px; color: var(--navy); border-bottom: 2px solid var(--teal); font-weight: 600; }
.intro-cta span { color: var(--teal); transition: transform .2s ease; }
.intro-cta:hover span { transform: translateX(4px); }

.capabilities { background: var(--mist); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 55px; }
.section-heading > p { max-width: 410px; margin: 0 0 7px; color: var(--muted); font-size: 1.05rem; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.capability-card { min-height: 515px; padding: 33px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .3s ease, box-shadow .3s ease; }
.capability-card:hover { transform: translateY(-9px); box-shadow: 0 24px 50px rgba(2,32,61,.17); z-index: 2; }
.card-dark { color: var(--white); background: var(--navy); border-radius: 18px 0 0 18px; }
.card-teal { color: var(--white); background: var(--teal); }
.card-light { color: var(--ink); background: var(--white); border-radius: 0 18px 18px 0; }
.capability-card h3 { margin: 0 0 27px; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.3; font-weight: 500; }
.capability-card ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; opacity: .8; }
.capability-card li { padding: 9px 0; border-top: 1px solid currentColor; border-color: rgba(255,255,255,.25); }
.card-light li { border-color: var(--line); }
.capability-card .mini-label { color: inherit; opacity: .7; }
.capability-card > a { align-self: flex-end; display: grid; place-items: center; width: 48px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-size: 1.25rem; }

.compact { margin-bottom: 45px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: 75px; }
.why-grid article { padding: 32px 28px 35px 0; border-right: 1px solid var(--line); }
.why-grid article:not(:first-child) { padding-left: 28px; }
.why-grid article:last-child { border-right: 0; }
.why-grid h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--navy); }
.why-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.feature-image { position: relative; overflow: hidden; border-radius: 18px; }
.feature-image img { aspect-ratio: 2.1/1; object-fit: cover; }
.feature-badge { position: absolute; right: 0; bottom: 0; width: 275px; min-height: 150px; padding: 30px; display: flex; justify-content: space-between; align-items: end; background: rgba(5,42,82,.95); color: var(--white); }
.feature-badge strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.28; font-weight: 400; }
.feature-badge span { color: var(--teal); font-size: 1.7rem; }

.quality-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9vw; padding: 75px; background: var(--mist); border-radius: 18px; }
.quality-panel p:not(.section-kicker) { color: var(--muted); margin: 28px 0; }
.text-link { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--teal); padding-bottom: 6px; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: center; }
.cert-grid div { min-height: 130px; display: grid; place-content: center; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.cert-grid strong { display: block; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .08em; font-weight: 500; color: var(--navy); }
.cert-grid span { color: var(--muted); }

.testimonial { background: #f6f9fc; }
.testimonial-grid { display: grid; grid-template-columns: .25fr 1.75fr; gap: 40px; }
.quote-mark { color: var(--teal); font-family: Georgia, serif; font-size: 10rem; line-height: .7; }
blockquote { margin: 0; }
blockquote > p { max-width: 920px; margin: 0 0 35px; color: var(--navy); font-size: clamp(1.45rem, 2.7vw, 2.5rem); line-height: 1.42; font-weight: 300; }
blockquote > p { font-family: var(--font-display); }
blockquote footer { display: flex; flex-direction: column; }
blockquote footer span { color: var(--muted); font-size: .9rem; }

.contact-section { padding-block: 110px; background: var(--navy); color: var(--white); }
.contact-kicker { margin-bottom: 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 9vw; align-items: start; }
.contact-grid h2 { color: var(--white); }
.contact-copy > p { max-width: 600px; margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 1.08rem; }
.contact-card { display: grid; gap: 20px; padding: 34px; color: var(--ink); background: var(--white); border-radius: 14px; box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.contact-details { gap: 0; padding: 42px; }
.contact-card-head > p:last-child { margin: 0; color: var(--muted); font-size: .92rem; }
.contact-list { margin: 28px 0 0; }
.contact-list > div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { width: 68px; color: var(--muted); font-size: .8rem; font-weight: 500; text-align: justify; text-align-last: justify; }
.contact-list dd { margin: 0; color: var(--navy); font-size: .94rem; font-weight: 500; line-height: 1.55; }
.contact-list a { transition: color .2s ease; }
.contact-list a:hover { color: var(--teal-dark); }
.contact-list .wechat-row { align-items: center; }
.wechat-row dd { display: flex; align-items: center; justify-content: flex-start; }
.wechat-row img { width: 104px; height: 104px; flex: 0 0 104px; padding: 6px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.contact-card label span { display: block; margin-bottom: 7px; color: var(--navy); font-size: .8rem; font-weight: 700; }
.contact-card input, .contact-card textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 2px; color: var(--ink); outline: none; resize: vertical; }
.contact-card input:focus, .contact-card textarea:focus { border-color: var(--teal); }
.form-note { margin: -7px 0 0; font-size: .72rem; color: var(--muted); }

.footer { padding: 72px 0 25px; color: rgba(255,255,255,.72); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; padding-bottom: 65px; }
.footer-brand { color: var(--white); margin-bottom: 20px; }
.footer-logo { display: block; width: auto; height: 41px; object-fit: contain; }
.footer-grid > div:first-child p { max-width: 280px; }
.footer-grid h3 { color: var(--white); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid a, .footer-grid span { display: block; margin: 9px 0; font-size: .88rem; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: .78rem; }

.reveal { animation: reveal .75s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .nav-links { gap: 17px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .capability-card { padding: 25px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid article:nth-child(2) { border-right: 0; }
  .quality-panel { padding: 50px; gap: 50px; }
}

@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header .shell,
  .hero .shell { width: min(calc(100% - 32px), var(--max)); }
  .section { padding-block: 78px; }
  .topbar { display: none; }
  .nav { min-height: 74px; }
  .brand-logo { height: 42px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 74px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 28px 24px 40px; color: var(--white); background: var(--navy-deep); transform: translateX(100%); transition: transform .28s ease; }
  .nav-links.open { transform: none; }
  .nav-links > a:not(.nav-cta) { display: block; padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,.13); }
  .nav-links .nav-cta { min-width: 0; margin: 0; padding: 17px 4px; color: var(--white); background: transparent; border-bottom: 1px solid rgba(255,255,255,.13); border-radius: 0; font-weight: 400; text-align: left; }
  .nav-links .nav-cta:hover { color: var(--white); background: transparent; transform: none; }
  .hero { min-height: 710px; background-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(1,18,37,.95), rgba(2,29,57,.68)); }
  .hero-content { --hero-title-shift: -18px; --hero-copy-shift: 14px; padding: 100px 0 80px; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); line-height: 1.1; }
  .hero-copy { max-width: 100%; margin-top: 20px; font-size: 16px; line-height: 1.7; }
  .floating-contact { display: none; }
  .metrics { width: calc(100% - 48px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 24px; }
  .metrics > div { width: min(100%, 190px); justify-self: center; }
  .metrics strong { font-size: 2.8rem; }
  .contact-section { padding-block: 78px; }
  .contact-kicker { margin-bottom: 32px; }
  .intro-grid, .section-heading, .quality-panel, .contact-grid { grid-template-columns: 1fr; display: grid; gap: 38px; }
  .capability-grid { grid-template-columns: 1fr; gap: 16px; }
  .capability-card { min-height: 0; gap: 28px; border-radius: 14px; }
  .capability-card > a { margin-top: 2px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article, .why-grid article:not(:first-child) { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-image img { aspect-ratio: 4/5; }
  .feature-badge { width: 78%; }
  .quality-panel { padding: 34px 24px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 0; }
  .quote-mark { font-size: 7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  h2, .quality-panel h2, .contact-grid h2 { font-size: 2rem; line-height: 1.25; }
  .hero { min-height: 0; }
  .hero-content { justify-content: flex-start; padding: 150px 0 54px; }
  .hero h1 { font-size: clamp(28px, 8.5vw, 36px); line-height: 1.18; }
  .hero h1 span:first-child { white-space: nowrap; }
  .hero-copy { margin-top: 22px; font-size: 15px; line-height: 1.65; }
  .metrics { padding-block: 48px; }
  .metrics strong { font-size: clamp(2.3rem, 11vw, 2.8rem); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; text-align: center; }
  .footer-brand { display: flex; justify-content: center; width: 100%; }
  .footer-grid > div:first-child p { margin: 0 auto; }
  .footer-grid h3 { margin: 0 0 14px; }
  .footer-grid > div:last-child a,
  .footer-grid > div:last-child span { white-space: nowrap; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .contact-details { padding: 30px 24px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
  .wechat-row dd { justify-content: flex-start; }
  .wechat-row img { width: 96px; height: 96px; flex-basis: 96px; }
}

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