:root {
  --color-primary: #0A2E5C;
  --color-primary-deep: #061a35;
  --color-secondary: #1E5FBF;
  --color-accent: #FF6B2C;
  --color-accent-deep: #db4e18;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F8F9FA;
  --color-text: #2C3E50;
  --color-muted: #6C757D;
  --color-border: #D8E2EE;
  --color-blue-soft: #E9F2FB;
  --shadow-sm: 0 8px 24px rgba(10, 46, 92, .08);
  --shadow-md: 0 16px 40px rgba(10, 46, 92, .16);
  --shadow-lg: 0 28px 70px rgba(6, 26, 53, .24);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --header-height: 82px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--color-bg); color: var(--color-text); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; font-size: 16px; line-height: 1.75; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--color-primary); line-height: 1.22; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .8rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); margin-bottom: .55rem; }
p { margin-bottom: 1rem; }
address { font-style: normal; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .65rem 1rem; border-radius: var(--radius-sm); background: var(--color-accent); color: #fff; font-weight: 700; transition: top .2s var(--ease); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-height); color: #fff; background: transparent; transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease); }
.site-header.is-scrolled, body:not([data-page="home"]) .site-header { background: rgba(10, 46, 92, .97); box-shadow: 0 8px 24px rgba(2, 19, 42, .18); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; font-size: .96rem; font-weight: 700; line-height: 1.3; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); margin-left: auto; }
.site-nav a { position: relative; padding: .5rem 0; color: rgba(255, 255, 255, .8); font-size: .95rem; transition: color .25s var(--ease); }
.site-nav a::after { position: absolute; content: ""; left: 0; right: 0; bottom: .15rem; height: 2px; transform: scaleX(0); transform-origin: center; background: var(--color-accent); transition: transform .25s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after, .site-nav a:hover::after { transform: scaleX(1); }
.header-phone { display: inline-flex; align-items: center; white-space: nowrap; padding: .6rem .9rem; border: 1px solid rgba(255, 255, 255, .36); border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 700; transition: background .25s var(--ease), border-color .25s var(--ease); }
.header-phone:hover { border-color: var(--color-accent); background: var(--color-accent); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: .65rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: #fff; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; }
.nav-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(2, 14, 32, .58); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: .5rem; padding: .72rem 1.25rem; border: 1px solid transparent; border-radius: 999px; font-weight: 700; line-height: 1.2; transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover { transform: scale(1.02); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 22px rgba(255, 107, 44, .24); }
.btn-accent:hover { background: var(--color-accent-deep); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }

.hero { position: relative; min-height: min(780px, 88vh); display: flex; align-items: center; overflow: hidden; background: var(--color-primary); color: #fff; }
.hero-media, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { opacity: .72; }
.hero-overlay { background: linear-gradient(90deg, rgba(3, 18, 38, .94) 0%, rgba(6, 28, 57, .76) 44%, rgba(6, 28, 57, .2) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: calc(var(--header-height) + 4rem) 0 6rem; }
.hero h1 { max-width: 720px; color: #fff; }
.hero p { max-width: 670px; color: rgba(255, 255, 255, .84); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.eyebrow { margin-bottom: 1rem; color: var(--color-accent); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.page-hero { display: flex; align-items: end; min-height: 360px; padding: calc(var(--header-height) + 3rem) 0 3.5rem; color: #fff; background: linear-gradient(115deg, var(--color-primary-deep), var(--color-primary) 65%, var(--color-secondary)); }
.page-hero h1 { margin-bottom: 0; color: #fff; }

.section { padding: 6rem 0; }
.section-soft { background: var(--color-bg-soft); }
.section-primary { background: var(--color-primary); color: #fff; }
.section-primary h2, .section-primary h3 { color: #fff; }
.section-heading { max-width: 700px; margin-bottom: 2.6rem; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading p { color: var(--color-muted); }
.section-primary .section-heading p { color: rgba(255, 255, 255, .72); }
.card-grid { display: grid; gap: 1.25rem; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.prose { max-width: 760px; }
.prose p:last-child { margin-bottom: 0; }

.business-card, .industry-card, .case-card, .team-card, .qualification-card, .culture-card, .service-card, .contact-card { min-width: 0; padding: 1.65rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.business-card:hover, .industry-card:hover, .case-card:hover, .team-card:hover, .qualification-card:hover, .culture-card:hover, .service-card:hover, .contact-card:hover { transform: translateY(-4px); border-color: rgba(30, 95, 191, .38); box-shadow: var(--shadow-md); }
.business-card h2, .industry-card h2, .case-card h2 { font-size: 1.35rem; }
.business-card p, .industry-card p, .case-card p { color: var(--color-muted); }
.business-card a, .case-card a, .text-link { color: var(--color-secondary); font-weight: 700; }
.business-card a::after, .case-card a::after, .text-link::after { content: " →"; color: var(--color-accent); }
.industry-card { padding: 0; overflow: hidden; }
.industry-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--color-primary); }
.industry-card h2, .industry-card p { padding-inline: 1.35rem; }
.industry-card h2 { margin-top: 1.2rem; margin-bottom: .25rem; }
.industry-card p { padding-bottom: 1rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.metric-grid p { margin: 0; padding: 1.2rem 1rem; border-left: 1px solid rgba(255, 255, 255, .24); }
.metric-grid strong { display: block; color: var(--color-accent); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; }
.metric-grid span { display: block; margin-top: .55rem; color: rgba(255, 255, 255, .76); }
.case-card > p:first-child { margin-bottom: .55rem; color: var(--color-accent); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }

.anchor-nav { position: sticky; top: var(--header-height); z-index: 20; padding: .75rem 0; border-bottom: 1px solid var(--color-border); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); }
.anchor-nav .container { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; }
.anchor-nav a { flex: 0 0 auto; padding: .5rem .85rem; border-radius: 999px; color: var(--color-muted); font-size: .92rem; white-space: nowrap; }
.anchor-nav a:hover { background: var(--color-blue-soft); color: var(--color-secondary); }
.service-detail { scroll-margin-top: calc(var(--header-height) + 72px); padding: 5rem 0; border-bottom: 1px solid var(--color-border); }
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-of-type(even) { background: var(--color-bg-soft); }
.service-card { height: 100%; }
.service-card ul, .check-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.service-card li, .check-list li { position: relative; padding-left: 1.3rem; }
.service-card li::before, .check-list li::before { position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--color-accent); }
.spec-list { display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.spec-list div { display: flex; gap: .75rem; justify-content: space-between; padding-bottom: .6rem; border-bottom: 1px dashed var(--color-border); }
.spec-list dt { color: var(--color-muted); }
.spec-list dd { margin: 0; color: var(--color-primary); font-weight: 700; text-align: right; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip { display: inline-flex; padding: .35rem .7rem; border-radius: 999px; background: var(--color-blue-soft); color: var(--color-secondary); font-size: .85rem; }

.case-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-button { padding: .6rem 1rem; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; color: var(--color-muted); font-weight: 700; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.case-count { margin-bottom: 1rem; color: var(--color-muted); }
.case-card-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; text-align: left; background: transparent; }
.case-detail { position: relative; margin-top: 1.5rem; padding: 2rem; border-radius: var(--radius); background: var(--color-primary); color: rgba(255, 255, 255, .82); box-shadow: var(--shadow-lg); }
.case-detail h2, .case-detail h3 { color: #fff; }
.case-detail-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%; background: transparent; color: #fff; font-size: 1.25rem; }
.case-detail-close:hover { border-color: var(--color-accent); background: var(--color-accent); }
.case-detail .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.case-detail .detail-item strong { display: block; margin-bottom: .25rem; color: var(--color-accent); }
.empty-state { padding: 3rem 1rem; border: 1px dashed var(--color-border); color: var(--color-muted); text-align: center; }

.timeline { position: relative; display: grid; gap: 1.2rem; }
.timeline::before { position: absolute; left: 78px; top: 0; bottom: 0; width: 2px; content: ""; background: var(--color-border); }
.timeline-item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; }
.timeline-item::before { position: absolute; left: 72px; top: .55rem; z-index: 1; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; content: ""; background: var(--color-accent); box-shadow: 0 0 0 2px var(--color-accent); }
.timeline-year { color: var(--color-secondary); font-size: 1.1rem; font-weight: 800; text-align: right; }
.timeline-copy { padding-bottom: 1rem; }
.team-card .role, .qualification-card .label { color: var(--color-accent); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.culture-card { border-top: 4px solid var(--color-accent); }

.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-card strong { display: block; margin-bottom: .25rem; color: var(--color-primary); }
.contact-card a { color: var(--color-secondary); font-weight: 700; }
.map-card { min-height: 280px; display: flex; flex-direction: column; justify-content: end; padding: 2rem; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--color-primary), var(--color-secondary)); }
.map-card h2 { color: #fff; }
.map-card p { color: rgba(255, 255, 255, .78); }
.map-card .btn { align-self: flex-start; }
.form-card { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: .35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--color-primary); font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: .75rem .85rem; color: var(--color-text); background: #fff; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(30, 95, 191, .15); }
.form-field [aria-invalid="true"] { border-color: #c83c32; }
.field-error { min-height: 1.2em; color: #b32e26; font-size: .86rem; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.form-status { min-height: 1.5em; color: var(--color-muted); }
.form-status.is-success { color: #1d7a4b; }
.form-status.is-error { color: #b32e26; }
.submit-spinner { display: none; width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.42); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .submit-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.cta-band { padding: 4rem 0; color: #fff; background: linear-gradient(110deg, var(--color-primary), var(--color-secondary)); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0; color: #fff; }
.site-footer { padding: 3.5rem 0 1.5rem; color: rgba(255, 255, 255, .75); background: var(--color-primary-deep); }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.1fr; gap: 2rem; }
.footer-grid p { margin-top: .5rem; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .75rem; align-content: start; }
.footer-grid nav a:hover, .site-footer address a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .83rem; }
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 30; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-md); }
.back-to-top:hover { background: var(--color-accent-deep); }

[data-reveal] { transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js [data-reveal] { opacity: 0; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 768px) and (max-width: 1023px) {
  .four-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { gap: 1rem; }
  .brand span { max-width: 180px; }
  .site-nav { gap: .8rem; }
  .site-nav a { font-size: .88rem; }
  .header-phone { padding-inline: .65rem; font-size: .82rem; }
}

@media (max-width: 767px) {
  :root { --header-height: 70px; }
  .container { width: min(100% - 32px, var(--container)); }
  .site-header { background: var(--color-primary); }
  .header-inner { gap: .65rem; }
  .brand { min-width: 0; font-size: .78rem; }
  .brand img { width: 40px; height: 40px; }
  .brand span { max-width: 180px; }
  .header-phone { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: fixed; inset: 0 0 0 auto; z-index: 55; display: flex; width: min(84vw, 340px); flex-direction: column; align-items: stretch; gap: .3rem; margin: 0; padding: calc(var(--header-height) + 1.5rem) 1.5rem 2rem; background: var(--color-primary-deep); transform: translateX(100%); transition: transform .3s var(--ease); }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: .8rem .25rem; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
  .hero { min-height: 720px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(3,18,38,.78), rgba(3,18,38,.92)); }
  .hero-content { padding: calc(var(--header-height) + 3rem) 0 4rem; }
  .section { padding: 4rem 0; }
  .two-columns, .three-columns, .four-columns, .split, .contact-layout { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid p:nth-child(odd) { border-left: 0; }
  .service-detail { padding: 3.5rem 0; }
  .case-detail .detail-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: .35rem; padding-left: 2rem; }
  .timeline-item::before { left: 2px; }
  .timeline-year { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .35rem; }
  .cta-band .container { align-items: flex-start; flex-direction: column; }
}

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

@media print {
  .site-header, .menu-toggle, .back-to-top, .nav-backdrop, .cta-band { display: none !important; }
  .page-hero { min-height: auto; padding: 2rem 0; color: #000; background: none; }
  .page-hero h1 { color: #000; }
}
