/* 1022 review: contact details, service entry points and a more compact home. */
.site-header.home-header { position: sticky; background: #fff; color: var(--blue); border-bottom-color: #e7edf4; }
.home-header .logo-wordmark-dark, .home-header.header-ready:not(.is-scrolled) .logo-wordmark-dark { display: block; }
.home-header .logo-wordmark-light, .home-header.header-ready:not(.is-scrolled) .logo-wordmark-light { display: none; }
.header-inner { gap: 18px; }
.header-contact { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--blue); }
.header-contact > svg { width: 26px; height: 26px; }
.header-contact-numbers { display: grid; gap: 3px; }
.header-contact a { display: flex; align-items: baseline; gap: 8px; font: 500 16px/1.6 Arial, sans-serif; white-space: nowrap; text-decoration: none; }
.header-contact a span { font: 400 14px/1.6 var(--serif); color: #58667d; }
.header-contact a:hover, .header-contact a:focus-visible { color: #9a831e; text-decoration: underline; text-underline-offset: 4px; }
.home-header .nav-link:hover { background-color: #103b820b; }
.hero-home { height: clamp(460px, 37.5vw, 680px); min-height: 0; }
.hero-home > .container { position: relative; left: auto; top: auto; translate: none; width: min(86%, 1600px); height: 100%; padding: 36px 0; justify-content: center; }
.hero-home h1 { font-size: clamp(38px, 3.5vw, 66px); line-height: 1.28; }
.hero-home .hero-en { width: max-content; max-width: 100%; margin: 0 0 22px; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 14px; line-height: 1.6; }
.hero-home .hero-desc { margin-top: 16px; font-size: 16px; }
.hero-home .hero-actions { margin-top: 28px; }
.home-statistics { padding: 58px 0; background: #f4f6fa; color: #394c69; }
.home-statistics .container { width: min(86%, 1600px); gap: 0; }
.home-statistics .stat { min-width: 0; min-height: 150px; padding: 12px 18px 24px; position: relative; }
.home-statistics .stat + .stat { border-left: 1px solid #d6deea; }
.home-statistics .stat::after { content: ''; display: block; width: 28px; height: 2px; margin: 20px auto 0; background: var(--gold); }
.home-statistics .stat strong { font: 400 clamp(46px, 3.8vw, 72px)/1.2 var(--serif); color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.home-statistics .stat strong sup { color: #9a831e; font-size: .38em; margin-left: 4px; top: .12em; }
.home-statistics .stat p { margin-top: 14px; font-size: 17px; line-height: 1.7; }
.service-subnav { display: flex; justify-content: center; gap: 42px; border-bottom: 1px solid #dce2eb; margin: 0 0 60px; }
.service-subnav a { display: block; padding: 0 14px 20px; color: #526075; font-size: 20px; border-bottom: 2px solid transparent; }
.service-subnav a[aria-current], .service-subnav a:hover, .service-subnav a:focus-visible { color: var(--blue); border-bottom-color: var(--gold); text-decoration: none; }
.download-section { padding-bottom: 100px; }
.download-empty { padding: 70px 24px; text-align: center; background: #f4f6fa; }
.download-empty > svg { width: 76px; height: 76px; margin-bottom: 20px; color: var(--blue); }
.download-empty h3 { color: var(--blue); font-size: 28px; font-weight: 400; margin-bottom: 16px; }
.download-empty p { font-size: 16px; line-height: 1.9; color: #526075; }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; margin-top: 30px; }
.certificate-preview { position: relative; }
.certificate-preview::after { content: '查看原图'; position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; background: #fff; color: var(--blue); border: 1px solid #dce2eb; font-size: 14px; opacity: 0; transition: opacity .2s; }
.certificate-open:hover .certificate-preview::after, .certificate-open:focus-visible .certificate-preview::after { opacity: 1; }
.certificate-image-frame { position: relative; display: grid; place-items: center; height: min(54vh, 560px); background: #f4f6fa; }
.media-dialog .certificate-image-frame .certificate-document-page { width: 100%; height: 100%; max-height: min(54vh, 560px); margin: 0; object-fit: contain; }
.media-dialog .certificate-load-status { position: absolute; bottom: 12px; left: 12px; right: 12px; margin: 0; padding: 9px 12px; background: #fff; color: var(--blue); font-size: 14px; line-height: 1.6; text-align: center; }
.certificate-retry { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 18px; border: 1px solid var(--blue); background: white; color: var(--blue); font-size: 14px; }
.certificate-retry:hover, .certificate-retry:focus-visible { background: var(--blue); color: white; }
@media (min-width: 1201px) and (max-width: 1600px) {
  .header-inner { width: 94%; gap: 12px; }
  .header-inner .brand { width: 172px; flex-shrink: 0; }
  .header-inner .main-nav { gap: 2px; }
  .header-inner .nav-link { padding-inline: 7px; font-size: 15px; }
  .header-contact { gap: 7px; }
  .header-contact > svg { width: 22px; height: 22px; }
  .header-contact a { font-size: 15px; }
  .header-tools { gap: 10px; }
  .language { padding-left: 10px; }
}
@media (max-width: 1200px) {
  :root { --header-height: 108px; }
  .site-header { background: #fff; }
  .header-inner { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 68px 40px; gap: 0 12px; width: 90%; }
  .header-inner .brand { width: 174px; grid-column: 1; grid-row: 1; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .header-contact { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 10px; border-top: 1px solid #e7edf4; align-self: stretch; }
  .header-contact > svg { width: 18px; height: 18px; }
  .header-contact-numbers { display: flex; gap: 18px; }
  .header-contact a { font-size: 14px; line-height: 1.6; }
  .header-contact a span { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 108px; left: -5.56%; right: -5.56%; max-height: calc(100dvh - 108px); overflow-y: auto; height: auto; padding: 15px 6%; background: #fff; color: var(--blue); box-shadow: 0 10px 24px #103b8220; }
  .main-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav .nav-item { width: 100%; }
  .main-nav .nav-link { height: auto; padding: 12px 10px; justify-content: flex-start; font-size: 16px; }
  .main-nav .nav-dropdown { position: static; display: grid; width: 100%; box-shadow: none; padding: 0 0 10px 18px; background: #fff; opacity: 1; visibility: visible; transform: none; }
  .main-nav .nav-dropdown a { padding: 7px 10px; font-size: 14px; }
  .hero-home { height: 500px; }
}
@media (max-width: 800px) {
  .hero-home { height: 440px; }
  .hero-home > .container { width: 90%; padding: 30px 0; }
  .hero-home h1 { font-size: 36px; letter-spacing: .01em; }
  .hero-home .hero-en { order: 0; font-size: 12px; margin: 15px 0 0; letter-spacing: .035em; }
  .hero-home .hero-desc { font-size: 14px; margin-top: 12px; }
  .hero-home .hero-actions { margin-top: 22px; gap: 12px; }
  .hero-home .hero-actions .button { font-size: 14px; padding: 11px 16px; }
  .hero-home h1 { order: -1; }
  .home-statistics { padding: 32px 0; }
  .home-statistics .container { width: 90%; gap: 24px 0; }
  .home-statistics .stat { padding: 10px 8px; min-height: 125px; }
  .home-statistics .stat:nth-child(3) { border-left: 0; }
  .home-statistics .stat strong { font-size: 42px; }
  .home-statistics .stat p { font-size: 14px; margin-top: 10px; }
  .home-statistics .stat::after { margin-top: 14px; width: 24px; }
  .service-subnav { gap: 28px; margin-bottom: 40px; }
  .service-subnav a { font-size: 18px; padding: 0 12px 16px; }
  .download-section { padding-bottom: 60px; }
  .download-empty { padding: 45px 18px; }
  .download-empty h3 { font-size: 24px; }
  .download-empty p { font-size: 15px; }
  .download-actions { flex-direction: column; gap: 20px; }
}
@media (max-width: 360px) {
  .header-inner .brand { width: 148px; }
  .header-tools { gap: 8px; }
  .header-contact-numbers { gap: 12px; }
  .hero-home h1 { font-size: 33px; }
  .home-statistics .stat strong { font-size: 36px; }
}
@media (hover: none) { .certificate-preview::after { opacity: 1; } }

/* Column decorations belong to the responsive grid, never to the photograph. */
.home-modules .module-icons { background: #ffffff99; }
.home-modules .module-icon { position: relative; border: 0; }
.home-modules .module-icon::before,
.home-modules .module-icon:last-child::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: #c7b55d; pointer-events: none; }
.home-modules .module-icon:last-child::after { left: auto; right: 0; }
.home-modules .module-icon p { position: relative; }
.home-modules .module-icon p::before { content: ''; position: absolute; left: 50%; top: -26px; translate: -50% 0; width: 64px; height: 4px; background: #29333d4d; filter: blur(3px); pointer-events: none; }
/* Keep each complete phrase consistent; retain the existing role sizes and weights. */
body { font-family: var(--sans); }
.download-empty h3, .download-empty p { font-family: var(--sans); font-weight: 400; }
@media (max-width: 800px) {
  .home-modules .module-icon:nth-child(4)::after { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: #c7b55d; pointer-events: none; }
  .home-modules .module-icon p::before { top: -18px; width: 34px; height: 3px; filter: blur(2px); }
}

/* Culture cards sit at the center of their photograph, with equal block padding. */
[data-page="culture"] .culture-stage { padding: clamp(64px, 7vw, 132px) 0; }
/* Keep tab spacing inside the painted surface instead of a collapsed white margin. */
.team-introduction-surface { display: flow-root; background: #f0f5f8 url('../images/image-056.webp') center/cover no-repeat; }
.team-introduction-surface > .about-intro-surface,
.team-introduction-surface > .team-profile { background: transparent; }
[data-page="team"] .about-intro-surface,
[data-page="careers"] .about-intro-surface { display: flow-root; padding-bottom: 48px; }
[data-page="team"] .about-tabs,
[data-page="careers"] .about-tabs { margin-bottom: 0; }
@media (max-width: 800px) {
  [data-page="culture"] .culture-stage { padding-block: 40px; }
  [data-page="team"] .about-intro-surface,
  [data-page="careers"] .about-intro-surface { padding-bottom: 32px; }
}
