:root {
  --navy: #082b4c;
  --navy-2: #0f416c;
  --orange: #ff7100;
  --mint: #52a784;
  --ink: #182633;
  --muted: #5e6c78;
  --line: #dce4e8;
  --soft: #f3f7f8;
  --white: #ffffff;
  --max: 1180px;
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)); background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(8,43,76,.1); backdrop-filter: blur(16px);
}
.brand { width: 172px; }
.brand img { width: 100%; height: 48px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; justify-content: center; gap: 34px; }
.site-nav a { position: relative; padding: 25px 0 22px; color: #43525f; font-size: .95rem; }
.site-nav a:hover, .site-nav a.active { color: var(--navy); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 2px; background: var(--orange); }
.menu-button { display: none; }

.primary, .secondary {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px;
  border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-weight: 700; letter-spacing: 0;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.primary { background: var(--orange); color: #fff; box-shadow: 0 9px 24px rgba(255,113,0,.2); }
.primary:hover { background: #e96000; transform: translateY(-1px); }
.primary.small { min-height: 40px; padding: 0 17px; font-size: .9rem; }
.secondary { border-color: rgba(8,43,76,.28); color: var(--navy); background: rgba(255,255,255,.88); }
.secondary:hover { border-color: var(--navy); background: #fff; }

.hero { position: relative; min-height: min(720px, calc(100vh - 76px)); display: flex; align-items: center; overflow: hidden; background: url("assets/hero.jpg") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,28,52,.97) 0%, rgba(5,37,65,.9) 42%, rgba(8,43,76,.35) 72%, rgba(8,43,76,.08) 100%); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 70px 0 62px; color: #fff; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: .88rem; font-weight: 800; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.08; letter-spacing: 0; }
.hero-lead { margin: 20px 0 8px; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 700; }
.hero-copy { max-width: 630px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.hero .secondary { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(5,31,54,.18); }
.quick-proof { display: flex; gap: 38px; margin-top: 54px; color: rgba(255,255,255,.72); font-size: .92rem; }
.quick-proof span { display: grid; }
.quick-proof strong { color: #fff; font-size: 1.55rem; line-height: 1.2; }

.section-inner { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.discipline-strip { border-bottom: 1px solid var(--line); background: #fff; }
.discipline-list { min-height: 78px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; }
.discipline-list span { text-align: center; color: var(--navy); font-weight: 700; border-right: 1px solid var(--line); }
.discipline-list span:last-child { border-right: 0; }
.section { padding: 100px 0; }
.section h2, .cta-band h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.2; letter-spacing: 0; }
.section-copy { margin: 0; color: var(--muted); font-size: 1.05rem; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 58px; border: 1px solid var(--line); background: var(--line); }
.service-grid article { min-height: 240px; padding: 32px 28px; background: #fff; }
.service-grid article > span { color: var(--orange); font-size: .84rem; font-weight: 800; }
.service-grid h3 { margin: 44px 0 10px; color: var(--navy); font-size: 1.25rem; }
.service-grid p { margin: 0; color: var(--muted); }

.case-feature { background: var(--soft); }
.case-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.case-image-wrap { height: 560px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.case-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.case-feature-copy h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.case-feature-copy dl { margin: 38px 0 28px; }
.case-feature-copy dl div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.case-feature-copy dt { color: var(--muted); }
.case-feature-copy dd { margin: 0; font-weight: 700; }
.text-link { display: inline-flex; color: var(--navy); font-weight: 800; border-bottom: 2px solid var(--orange); }

.trust-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: center; }
.trust-layout .section-copy { margin-top: 24px; max-width: 580px; }
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.trust-stats div { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border-right: 1px solid var(--line); }
.trust-stats div:last-child { border-right: 0; }
.trust-stats strong { color: var(--navy); font-size: 2.2rem; line-height: 1.1; }
.trust-stats span { margin-top: 10px; color: var(--muted); }

.cta-band { padding: 70px 0; background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-footer { background: #061f36; color: rgba(255,255,255,.74); }
.footer-main { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 44px; padding: 48px 0 34px; }
.footer-main strong { color: #fff; font-size: 1.1rem; }
.footer-main p { margin: 5px 0 0; }
.footer-main div:not(:first-child) { display: flex; flex-direction: column; }
.footer-main span { color: rgba(255,255,255,.46); font-size: .82rem; }
.footer-main a:hover { color: #fff; }
.footer-note { padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: .82rem; }

.consult-dialog { width: min(760px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 28px 80px rgba(3,24,42,.34); }
.consult-dialog::backdrop { background: rgba(3,24,42,.68); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--navy); font-size: 1.8rem; cursor: pointer; }
.dialog-body { display: grid; grid-template-columns: 1fr 260px; gap: 44px; align-items: center; padding: 52px; }
.dialog-body h2 { margin: 0; color: var(--navy); font-size: 2rem; }
.dialog-body p:not(.eyebrow) { margin: 16px 0 24px; color: var(--muted); }
.dialog-body img { width: 260px; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }

.page-hero { min-height: 520px; display: flex; align-items: end; color: #fff; background: var(--navy); }
.page-hero-inner { padding: 100px 0 76px; }
.page-hero h1 { margin: 0; max-width: 800px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.08; letter-spacing: 0; }
.page-hero p:not(.eyebrow) { max-width: 660px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.page-hero .primary { margin-top: 30px; }
.service-hero { background: linear-gradient(115deg, rgba(6,33,58,.98), rgba(10,65,102,.92)), url("assets/case-2.png") center 33%/cover; }
.cases-hero { background: linear-gradient(115deg, rgba(6,33,58,.97), rgba(6,33,58,.68)), url("assets/case-3.png") center 20%/cover; }
.about-hero { background: linear-gradient(115deg, rgba(6,33,58,.97), rgba(6,33,58,.7)), url("assets/hero.jpg") center/cover; }

.service-heading { align-items: start; }
.process-list { margin-top: 62px; border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-list article > span { color: var(--orange); font-size: 1rem; font-weight: 800; }
.process-list h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.35rem; }
.process-list p { margin: 0; color: var(--muted); }
.disciplines-section { background: var(--soft); }
.discipline-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.discipline-header > p { max-width: 430px; margin: 0; color: var(--muted); }
.discipline-directory { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid #cfdadd; border-left: 1px solid #cfdadd; }
.discipline-directory article { min-height: 220px; padding: 30px; border-right: 1px solid #cfdadd; border-bottom: 1px solid #cfdadd; background: rgba(255,255,255,.55); }
.discipline-directory span { color: var(--orange); font-weight: 800; font-size: .82rem; }
.discipline-directory h3 { margin: 34px 0 10px; color: var(--navy); font-size: 1.45rem; }
.discipline-directory p { margin: 0; color: var(--muted); }
.workflow-section { background: #fff; }
.workflow-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.workflow-layout .section-copy { margin-top: 22px; }
.workflow-layout ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-layout li { display: grid; grid-template-columns: 48px 1fr; align-items: center; min-height: 70px; border-bottom: 1px solid var(--line); font-weight: 700; }
.workflow-layout li span { color: var(--orange); font-size: .82rem; }

.case-browser { padding: 34px 0 100px; background: var(--soft); }
.case-toolbar { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px 34px; scrollbar-width: thin; }
.filter-button { min-width: max-content; padding: 10px 16px; border: 1px solid var(--line); border-radius: 5px; color: var(--navy); background: #fff; cursor: pointer; }
.filter-button:hover, .filter-button.active { color: #fff; border-color: var(--navy); background: var(--navy); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.case-card[hidden] { display: none; }
.case-open { width: 100%; padding: 0; border: 0; text-align: left; background: transparent; cursor: pointer; }
.case-thumb { height: 340px; overflow: hidden; background: #eaf0f0; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.case-open:hover .case-thumb img { transform: scale(1.025); }
.case-thumb.crop-mid img { object-position: center 44%; }
.case-thumb.crop-bottom img { object-position: center 80%; }
.case-thumb.crop-top img { object-position: center 24%; }
.case-card-copy { min-height: 210px; padding: 24px; }
.case-card-copy span { color: var(--orange); font-size: .8rem; font-weight: 800; }
.case-card-copy h2 { margin: 14px 0 10px; color: var(--navy); font-size: 1.25rem; line-height: 1.35; }
.case-card-copy p { margin: 0; color: var(--muted); }
.case-note { margin-top: 32px; color: var(--muted); font-size: .86rem; }
.case-dialog { width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 28px 80px rgba(3,24,42,.34); overflow: auto; }
.case-dialog::backdrop { background: rgba(3,24,42,.75); backdrop-filter: blur(5px); }
.case-dialog-image { width: 100%; max-height: 68vh; object-fit: contain; object-position: top center; background: var(--soft); }
.case-dialog-copy { padding: 26px 32px 34px; }
.case-dialog-copy span { color: var(--orange); font-weight: 800; font-size: .82rem; }
.case-dialog-copy h2 { margin: 8px 0; color: var(--navy); }
.case-dialog-copy p { margin: 0; color: var(--muted); }
.case-dialog .dialog-close { position: fixed; color: #fff; background: var(--navy); border-radius: 50%; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.about-grid p { margin: 0 0 20px; color: var(--muted); font-size: 1.05rem; }
.about-numbers { background: var(--navy); color: #fff; }
.number-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.number-grid div { min-height: 210px; display: flex; flex-direction: column; justify-content: center; padding: 30px; border-right: 1px solid rgba(255,255,255,.13); }
.number-grid div:last-child { border-right: 0; }
.number-grid strong { font-size: 2.7rem; line-height: 1; }
.number-grid span { margin-top: 15px; color: rgba(255,255,255,.6); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; border: 1px solid var(--line); }
.values-grid article { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); }
.values-grid article:last-child { border-right: 0; }
.values-grid span { color: var(--orange); font-size: .82rem; font-weight: 800; }
.values-grid h3 { margin: 50px 0 10px; color: var(--navy); }
.values-grid p { margin: 0; color: var(--muted); }
.feedback-section { padding: 90px 0; background: var(--soft); }
.feedback-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.feedback-layout h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.2; }
.feedback-layout p { color: var(--muted); }
.feedback-placeholders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feedback-placeholders div { min-height: 230px; display: flex; align-items: end; padding: 22px; border: 1px dashed #b7c6cc; background: rgba(255,255,255,.48); color: #83919b; }
.contact-section { padding: 100px 0; background: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 90px; align-items: center; }
.contact-layout h2 { margin: 0; color: var(--navy); font-size: clamp(2.4rem, 5vw, 4rem); }
.contact-layout p { max-width: 600px; margin: 22px 0 30px; color: var(--muted); }
.qr-panel { display: flex; flex-direction: column; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.qr-panel img { width: 280px; aspect-ratio: 1; object-fit: cover; }
.qr-panel strong { margin-top: 16px; color: var(--navy); }
.qr-panel span { color: var(--muted); }

@media (max-width: 920px) {
  .site-header { grid-template-columns: auto auto 1fr; gap: 16px; padding-inline: 20px; }
  .brand { width: 148px; }
  .menu-button { display: inline-flex; justify-self: end; min-height: 40px; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--navy); }
  .site-header > .primary { display: none; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .site-nav a.active::after { bottom: 8px; right: auto; width: 30px; }
  .hero { min-height: 680px; background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,28,52,.97) 0%, rgba(5,37,65,.88) 66%, rgba(8,43,76,.55) 100%); }
  .two-column, .case-layout, .trust-layout { grid-template-columns: 1fr; gap: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-image-wrap { height: 460px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .discipline-directory, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-layout, .about-grid, .feedback-layout, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .number-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid article:nth-child(2) { border-right: 0; }
  .values-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-layout { justify-items: stretch; }
  .qr-panel { width: min(100%, 380px); justify-self: center; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; }
  .site-nav { top: 66px; }
  .hero { min-height: max(560px, min(720px, calc(100svh - 106px))); align-items: end; background-position: 69% center; }
  .hero-content { width: min(100% - 36px, var(--max)); padding: 48px 0 34px; }
  .hero h1 { font-size: 2.45rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .quick-proof { gap: 18px; justify-content: space-between; margin-top: 34px; }
  .quick-proof strong { font-size: 1.25rem; }
  .quick-proof span { font-size: .75rem; }
  .section-inner { width: min(var(--max), calc(100% - 36px)); }
  .discipline-list { grid-template-columns: repeat(4, 1fr); padding: 12px 0; gap: 10px 0; }
  .discipline-list span { font-size: .9rem; }
  .discipline-list span:nth-child(4) { border-right: 0; }
  .section { padding: 72px 0; }
  .section h2 { font-size: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; }
  .service-grid h3 { margin-top: 24px; }
  .case-image-wrap { height: 420px; }
  .trust-stats { grid-template-columns: 1fr; }
  .trust-stats div { min-height: 96px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-stats div:last-child { border-bottom: 0; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .dialog-body { grid-template-columns: 1fr; padding: 44px 24px 24px; }
  .dialog-body img { width: min(100%, 260px); justify-self: center; }
  .page-hero { min-height: 440px; }
  .page-hero-inner { padding: 80px 0 54px; }
  .page-hero h1 { font-size: 2.6rem; }
  .process-list article { grid-template-columns: 48px 1fr; gap: 16px; }
  .discipline-header { align-items: start; flex-direction: column; }
  .discipline-directory, .case-grid { grid-template-columns: 1fr; }
  .discipline-directory article { min-height: 180px; }
  .case-thumb { height: 390px; }
  .number-grid, .values-grid { grid-template-columns: 1fr; }
  .number-grid div { min-height: 145px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .values-grid article { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  .values-grid h3 { margin-top: 28px; }
  .feedback-placeholders { grid-template-columns: 1fr; }
  .feedback-placeholders div { min-height: 120px; }
  .case-dialog-copy { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.error-page { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 28px 0 64px; }
.error-page > div { align-self: center; max-width: 700px; }
.error-page h1 { margin: 0; color: var(--navy); font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1.08; }
.error-page p:not(.eyebrow) { margin: 20px 0 30px; color: var(--muted); font-size: 1.08rem; }
