:root {
  --red: #a40004;
  --bright-red: #e60012;
  --text: #333;
  --muted: #777;
  --footer: #2f2f2f;
  --content: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: #fff; font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 14px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.site-header { height: 120px; background: #fff; position: relative; z-index: 20; }
.header-inner { width: min(var(--content), calc(100% - 32px)); height: 120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { width: 157px; height: 58px; margin-left: 12px; overflow: hidden; }
.logo img { width: 157px; height: 58px; object-fit: contain; }
.main-nav { align-self: stretch; display: flex; align-items: center; gap: 68px; padding-right: 139px; font-size: 16px; }
.main-nav a { height: 120px; display: flex; align-items: center; white-space: nowrap; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--bright-red); }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button span { display: block; width: 25px; height: 2px; margin: 5px; background: #333; }

.hero { position: relative; height: 800px; overflow: hidden; background: #a90005; }
.hero-track { width: 100%; height: 100%; display: flex; will-change: transform; transform: translate3d(-100%, 0, 0); }
.hero-slide { flex: 0 0 100%; width: 100%; height: 100%; background-position: center center; background-repeat: no-repeat; background-size: cover; }
.hero-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 65px; height: 90px; border: 0; background: transparent; color: rgba(255,255,255,.45); font: 76px/1 Arial; cursor: pointer; }
.hero-arrow.prev { left: 40px; }
.hero-arrow.next { right: 40px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 25px; transform: translateX(-50%); display: flex; gap: 10px; opacity: 0; }
.hero-dots button { width: 9px; height: 9px; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); padding: 0; }
.hero-dots button.active { background: #fff; }

.inner-banner { height: 300px; background: url('/public/assets/13-ABUIABACGAAgyca3mAYosoSAhAMwgA84rAI.jpg.webp') center/cover no-repeat; }
.inner-banner.cases-banner { background-image: url('/public/assets/06-ABUIABACGAAg7OG8mAYogMiriQIwgA84rAI.jpg.webp'); }

.section-title { text-align: center; }
.section-title .en { font-size: 24px; line-height: 30px; letter-spacing: 8px; font-weight: 700; color: #333; }
.section-title .en b { color: #c40000; }
.section-title .en span { color: #333; }
.section-title .zh { margin-top: 12px; font-size: 24px; line-height: 30px; color: #333; }

.services-section { padding-top: 58px; }
.home-services { height: 765px; }
.inner-services { min-height: 907px; padding-top: 59px; }
.service-grid { width: min(var(--content), calc(100% - 32px)); margin: 42px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #fff; }
.service-card { height: 280px; background: #a30003 url('/public/assets/20-ABUIABAEGAAgjaW8mAYo1ofklwMwjgM4mAI.png.webp') center/cover; color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 47px; overflow: hidden; }
.service-card img { width: 110px; height: 84px; object-fit: contain; transition: transform .25s; }
.service-card:hover img { transform: translateY(-4px); }
.service-name { margin-top: 12px; font-size: 18px; line-height: 25px; }
.service-en { margin-top: 8px; font-size: 12px; line-height: 18px; text-transform: uppercase; white-space: nowrap; }

.site-footer { height: 330px; background: var(--footer); color: #ddd; position: relative; padding-top: 42px; }
.footer-columns { width: 670px; max-width: calc(100% - 32px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 58px; }
.footer-columns h3 { margin: 0 0 34px; font-size: 18px; font-weight: 400; color: #fff; }
.footer-columns a { display: block; margin-bottom: 19px; font-size: 12px; color: #9a9a9a; }
.footer-columns a:hover { color: #fff; }
.legal { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 12px; white-space: nowrap; }
.legal span { display: flex; align-items: center; }
.legal img { width: 20px; height: 20px; margin-right: 6px; }

/* 关于我们 */
.about-company { padding: 59px 0 0; }
.brand-card { width: min(var(--content), calc(100% - 32px)); height: 380px; margin: 45px auto 0; display: grid; grid-template-columns: 760px 1fr; background: #d30005; color: white; overflow: hidden; }
.brand-card > img { width: 760px; height: 380px; object-fit: cover; }
.brand-copy { padding: 57px 38px; }
.brand-copy h2 { margin: 0 0 51px; font-size: 30px; line-height: 1.45; font-weight: 700; }
.brand-copy p { margin: 0 0 22px; font-size: 18px; }
.brand-copy i, .case-brand-label i { display: block; width: 46px; border-top: 1px solid #fff; margin-top: 69px; }
.company-copy { width: 1140px; max-width: calc(100% - 60px); margin: 51px auto 0; color: #777; font-size: 13px; line-height: 26px; }
.company-copy p { margin: 0; }
.concept-section { padding-top: 124px; height: 1095px; }
.concept-map { position: relative; width: 1200px; height: 800px; margin: 39px auto 0; }
.concept-map > img { --reveal-opacity: .68; position: absolute; width: 620px; height: 566px; object-fit: fill; left: 290px; top: 104px; opacity: .68; }
.concept-item { position: absolute; width: 250px; font-size: 14px; line-height: 25px; color: #666; }
.concept-item h3 { margin: 0 0 3px; color: #e3262e; font-size: 18px; font-weight: 400; }
.concept-item p { margin: 0; }
.concept-item.vision { left: 315px; top: 10px; width: 260px; }
.concept-item.mission { left: 838px; top: 57px; width: 220px; }
.concept-item.target { left: 944px; top: 228px; width: 235px; }
.concept-item.style { left: 935px; top: 445px; }
.concept-item.core { left: 850px; top: 638px; }
.concept-item.operation { left: 250px; top: 638px; width: 300px; text-align: center; }
.concept-item.guarantee { left: 37px; top: 490px; width: 275px; text-align: right; }
.concept-item.position { left: 80px; top: 250px; width: 230px; text-align: right; }

/* 案例分享 */
.cases-intro { padding-top: 67px; }
.case-brand-card { width: min(var(--content), calc(100% - 32px)); height: 380px; margin: 44px auto 0; display: grid; grid-template-columns: 440px 760px; background: #c80003; color: #fff; overflow: hidden; }
.case-brand-label { padding: 142px 0 0 198px; background: #d40004; }
.case-brand-label strong { font-size: 30px; }
.case-brand-label i { margin-top: 24px; }
.case-brand-card img { width: 760px; height: 380px; object-fit: cover; }
.case-copy { width: min(var(--content), calc(100% - 32px)); margin: 43px auto 0; color: #777; font-size: 13px; line-height: 27px; }
.case-copy p { margin: 0 0 22px; }
.case-gallery { padding: 79px 0 100px; }
.case-grid { width: min(var(--content), calc(100% - 32px)); margin: 35px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 13px; row-gap: 31px; }
.case-grid figure { margin: 0; text-align: center; color: #555; font-size: 14px; }
.case-grid img { width: 100%; aspect-ratio: 290/200; object-fit: cover; }
.case-grid figcaption { min-height: 35px; padding: 12px 12px 0; line-height: 20px; }

/* 服务详情 */
.detail-page { width: 914px; max-width: calc(100% - 48px); margin: 0 auto; padding: 31px 0 54px; min-height: 824px; }
.detail-page h1 { margin: 0; padding: 0; font-size: 26px; line-height: 53px; font-weight: 400; color: #333; }
.detail-rule { border-top: 1px solid #eee; }
.detail-copy { padding: 36px 11px 16px; color: #555; font-size: 14px; line-height: 23px; }
.detail-copy ul { margin: 0 0 20px; padding-left: 18px; }
.detail-copy li { margin: 0; }
.detail-sections > div { margin-bottom: 31px; }
.detail-sections h3 { margin: 0 0 8px; font-size: 16px; font-weight: 400; color: #555; }
.detail-sections p, .detail-paragraphs p { margin: 0 0 19px; }
.detail-infographic { width: 100%; height: auto; margin: 12px auto 0; }
.service-float { position: fixed; z-index: 10; left: 0; top: 58%; transform: translateY(-50%); width: 34px; padding: 21px 8px; border-radius: 0 3px 3px 0; background: #d90008; color: white; font-size: 16px; line-height: 22px; writing-mode: vertical-rl; letter-spacing: 6px; box-shadow: 0 1px 8px rgba(0,0,0,.18); }

/* 首次进入视口时的原站式放缩动效 */
.motion-ready .zoom-reveal { opacity: 0; transform: scale(.78); transform-origin: 50% 50%; }
.motion-ready .zoom-reveal.is-visible { animation: contentZoomIn .72s cubic-bezier(.2, .72, .28, 1) var(--reveal-delay, 0ms) both; }
@keyframes contentZoomIn {
  0% { opacity: 0; transform: scale(.78); }
  62% { opacity: var(--reveal-opacity, 1); transform: scale(1.025); }
  100% { opacity: var(--reveal-opacity, 1); transform: scale(1); }
}

/* PC 端返回顶部：对齐原站 special_03（42×42 图标，默认半透明） */
.back-to-top { position: fixed; z-index: 50; right: 57px; bottom: 50px; width: 42px; height: 42px; margin: 5px; padding: 0; border: 0; border-radius: 0; background: transparent url('/public/assets/back-to-top-03.png') center/42px 42px no-repeat; opacity: 0; visibility: hidden; transform: none; transition: opacity .2s ease, visibility .2s ease; cursor: pointer; }
.back-to-top.visible { opacity: .2; visibility: visible; }
.back-to-top:hover, .back-to-top:focus-visible { opacity: 1; }
.back-to-top span { display: none; }

@media (max-width: 900px) {
  .site-header, .header-inner { height: 82px; }
  .logo { margin-left: 0; width: 126px; height: 47px; }
  .logo img { width: 126px; height: 47px; }
  .menu-button { display: block; position: relative; z-index: 30; }
  .main-nav { position: fixed; z-index: 25; inset: 82px 0 auto; display: block; max-height: 0; overflow: hidden; padding: 0; background: #fff; box-shadow: 0 5px 12px rgba(0,0,0,.08); transition: max-height .25s; }
  .menu-open .main-nav { max-height: 280px; }
  .main-nav a { height: 56px; justify-content: center; border-top: 1px solid #eee; }
  .hero { height: min(66vw, 500px); min-height: 250px; }
  .hero-slide { background-size: cover; }
  .hero-arrow { font-size: 48px; width: 40px; }
  .hero-arrow.prev { left: 4px; } .hero-arrow.next { right: 4px; }
  .inner-banner { height: 180px; }
  .section-title .en { font-size: 20px; letter-spacing: 5px; }
  .section-title .zh { font-size: 20px; }
  .home-services, .inner-services { height: auto; min-height: 0; padding: 45px 0 55px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 32px; }
  .service-card { height: 230px; padding: 32px 8px 0; }
  .service-card img { width: 90px; height: 75px; }
  .service-name { font-size: 16px; }
  .service-en { font-size: 10px; white-space: normal; }
  .brand-card { height: auto; grid-template-columns: 1fr; }
  .brand-card > img { width: 100%; height: auto; }
  .brand-copy { padding: 35px; }
  .brand-copy h2 { font-size: 25px; margin-bottom: 34px; }
  .brand-copy i { margin-top: 35px; }
  .company-copy { max-width: calc(100% - 32px); }
  .concept-section { height: auto; padding: 75px 0; }
  .concept-map { width: min(620px, calc(100% - 32px)); height: auto; margin-top: 38px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .concept-map > img { position: relative; grid-column: 1/-1; width: 100%; height: auto; left: auto; top: auto; opacity: .55; }
  .concept-item { position: static; width: auto !important; text-align: left !important; }
  .case-brand-card { height: auto; grid-template-columns: 1fr; }
  .case-brand-label { min-height: 185px; padding: 63px 0 0 13%; }
  .case-brand-card img { width: 100%; height: auto; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { height: auto; min-height: 330px; padding-bottom: 70px; }
  .legal { white-space: normal; flex-wrap: wrap; gap: 5px 0; width: calc(100% - 24px); line-height: 20px; }
}

@media (max-width: 520px) {
  .inner-banner { height: 125px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { height: 218px; }
  .section-title .en { font-size: 17px; letter-spacing: 3px; }
  .section-title .zh { font-size: 18px; margin-top: 8px; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .footer-columns h3 { font-size: 15px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-gallery { padding-bottom: 60px; }
  .concept-map { grid-template-columns: 1fr; }
  .detail-page { max-width: calc(100% - 28px); padding-top: 20px; }
  .detail-page h1 { font-size: 22px; }
  .detail-copy { padding-left: 4px; padding-right: 4px; }
  .service-float { display: none; }
}

@media (max-width: 900px) {
  .back-to-top { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none !important; }
  .zoom-reveal, .zoom-reveal.is-visible { opacity: 1 !important; transform: none !important; animation: none !important; }
  .back-to-top { transition: none; }
}



