:root {
  --navy: #0d3765;
  --navy-dark: #0a315b;
  --navy-soft: #174c7b;
  --gold: #d3ad5e;
  --gold-dark: #c69c46;
  --text: #1e293b;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f6f7f9;
  --white: #ffffff;
  --header-bg: #faf7f0;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(211, 173, 94, .8);
  outline-offset: 3px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 34px;
  align-items: center;
  min-height: 100px;
  padding: 0 20px;
  color: var(--navy-dark);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 64px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand strong {
  font-size: 31px;
  line-height: 1;
  color: var(--white);
}
.site-header .brand strong {
  color: var(--navy-dark);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 36px;
  font-size: 18px;
}
.main-nav a {
  color: var(--navy-dark);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}
.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 202px;
  min-height: 56px;
  color: var(--navy-dark);
  background: var(--gold);
  border-radius: 7px;
  font-size: 22px;
  font-weight: 900;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(10,49,91,.25);
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy-dark);
}
.mobile-nav { display: none; }

.home-hero {
  min-height: 620px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13,55,101,.94), rgba(18,82,127,.86)),
    url("./assets/site-hero-building-clean.jpg") center / cover;
}
.hero-content {
  width: min(880px, calc(100% - 32px));
  margin-top: -24px;
}
.hero-content h1 {
  margin: 0 0 26px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}
.hero-content p {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 900;
}
.btn.gold {
  color: var(--navy-dark);
  background: var(--gold);
  box-shadow: 0 10px 22px rgba(211, 173, 94, .25);
}
.btn.outline {
  color: var(--white);
  border: 2px solid rgba(255,255,255,.9);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 170px;
  align-items: center;
  padding: 28px 8vw;
  background: #f5f6f8;
  text-align: center;
}
.stat-item strong {
  display: block;
  color: var(--gold);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
}
.stat-item span {
  display: block;
  margin-top: 12px;
  color: #556070;
  font-size: 18px;
}

.section {
  padding: 84px 20px;
}
.section-title.centered {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2,
.page-hero h1,
.cta-section h2,
.blue-cta h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.2;
  font-weight: 900;
}
.section-title p,
.page-hero p,
.cta-section p,
.blue-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1880px;
  margin: 0 auto;
}
.service-card {
  min-height: 200px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.emoji-icon {
  display: block;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 {
  margin: 0 0 12px;
  color: var(--navy-dark);
  font-size: 27px;
}
.service-card p {
  margin: 0 0 16px;
  color: #5f6978;
  font-size: 18px;
}
.service-card a {
  color: #3d7699;
  font-size: 17px;
  font-weight: 900;
}

.why-section {
  padding: 92px 20px 84px;
  color: var(--white);
  background: var(--navy-dark);
}
.section-title.light h2,
.section-title.light p {
  color: var(--white);
}
.section-title.light p {
  color: rgba(255,255,255,.72);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1760px;
  margin: 0 auto;
  text-align: center;
}
.why-grid span {
  display: inline-grid;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  font-size: 28px;
}
.why-grid h3 {
  margin: 0 0 14px;
  font-size: 24px;
}
.why-grid p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
}

.cta-section {
  padding: 92px 20px 96px;
  text-align: center;
}
.cta-section .btn {
  margin-top: 28px;
}

.site-footer {
  color: rgba(255,255,255,.78);
  background: var(--navy-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 80px;
  max-width: 1880px;
  margin: 0 auto;
  padding: 66px 20px 60px;
}
.footer-brand {
  margin-bottom: 22px;
}
.footer-brand .brand-logo {
  width: 58px;
  height: 48px;
}
.footer-grid h3 {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 24px;
}
.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 13px;
  font-size: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1880px;
  margin: 0 auto;
  padding: 34px 20px;
  border-top: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.58);
  font-size: 18px;
}

.page-hero {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 70px 20px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(90deg, var(--navy-dark), #4c83ad);
}
.page-hero h1,
.page-hero p {
  color: var(--white);
}

.service-detail-list {
  padding: 56px 20px;
}
.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 40px;
  max-width: 1880px;
  margin: 0 auto 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.service-intro {
  padding-top: 12px;
}
.service-intro h2 {
  margin: 0 0 16px;
  color: var(--navy-dark);
  font-size: 34px;
}
.service-intro p {
  color: var(--muted);
  font-size: 20px;
}
.service-intro .btn {
  min-height: 52px;
  margin-top: 18px;
  font-size: 17px;
}
.detail-box {
  min-height: 200px;
  padding: 22px;
  border-radius: 4px;
  background: #f8fafc;
}
.detail-box h3,
.suitable h3 {
  margin: 0 0 20px;
  color: var(--navy-dark);
  font-size: 22px;
}
.detail-box li {
  margin: 0 0 10px;
  color: #46515f;
  font-size: 17px;
}
.detail-box li::marker {
  color: var(--gold);
  font-weight: 900;
}
.detail-box ol li::marker {
  color: var(--white);
}
.suitable {
  margin-top: 20px;
  padding: 16px 18px;
  color: var(--white);
  background: var(--navy-dark);
  border-radius: 7px;
}
.suitable h3,
.suitable p {
  color: var(--white);
}
.suitable p {
  margin: 0;
  font-size: 15px;
}
.suitable h3 { margin-bottom: 8px; font-size: 18px; }

.about-block,
.culture-section,
.cert-section,
.team-section,
.case-grid,
.case-tabs,
.case-stats,
.contact-main,
.message-panel {
  max-width: 1320px;
  margin: 0 auto;
}
.about-block,
.culture-section,
.cert-section,
.team-section,
.case-grid,
.contact-main,
.message-panel {
  padding: 70px 20px;
}
.about-block h2,
.culture-section h2,
.cert-section h2,
.team-section h2,
.message-panel h2 {
  text-align: center;
  color: var(--navy-dark);
  font-size: 36px;
}
.about-block p {
  color: #4b5563;
  font-size: 19px;
}
.culture-section,
.cert-section,
.team-section {
  background: #f7f8fa;
}
.culture-grid,
.team-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.culture-grid article,
.team-grid article,
.cert-grid span,
.case-grid article {
  padding: 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.culture-grid span {
  font-size: 38px;
}
.team-grid b {
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--white);
  background: var(--navy-soft);
  border-radius: 50%;
  font-size: 28px;
}

.case-tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 45px 20px 10px;
}
.case-tabs button {
  min-height: 42px;
  padding: 0 22px;
  color: var(--navy-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.case-tabs button:hover,
.case-tabs button.active {
  color: var(--white);
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-grid article {
  text-align: left;
}
.case-grid span {
  color: var(--gold-dark);
  font-weight: 900;
}
.case-grid b {
  color: var(--gold);
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 52px 20px;
  text-align: center;
  background: #f7f8fa;
}
.case-stats strong {
  display: block;
  color: var(--gold);
  font-size: 36px;
}

.contact-main {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
}
.contact-info p {
  display: grid;
  grid-template-columns: 42px 110px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}
.qr-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 168px));
  gap: 16px;
  margin-top: 26px;
}
.qr-card {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fa;
  text-align: center;
}
.qr-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 4px;
  background: var(--white);
}
.qr-card figcaption {
  margin-top: 10px;
  color: var(--navy-dark);
  font-weight: 800;
}
.map-box {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #e9eef2;
}
.map-link {
  position: relative;
  display: block;
  min-height: 330px;
  color: inherit;
}
.map-image {
  display: block;
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform .35s ease;
}
.map-link:hover .map-image {
  transform: scale(1.025);
}
.map-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 9px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 28px rgba(10,35,60,.2);
}
.map-overlay strong {
  color: var(--navy-dark);
}
.map-overlay small {
  flex: 0 0 auto;
  color: var(--gold-dark);
  font-weight: 900;
}
.message-panel {
  background: #f7f8fa;
}
.message-panel form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
.message-panel textarea,
.message-panel button {
  grid-column: 1 / -1;
}
.message-panel input,
.message-panel textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}
.message-panel button:disabled {
  cursor: wait;
  opacity: .76;
}
.blue-cta {
  padding: 80px 20px;
  color: var(--white);
  text-align: center;
  background: var(--navy-dark);
}
.blue-cta h2,
.blue-cta p {
  color: var(--white);
}
.compact-footer .footer-bottom {
  border-top: 0;
}

@media (max-width: 1100px) {
  .main-nav, .phone-button { display: none; }
  .menu-button { display: block; }
  .site-header { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .brand-logo { width: 52px; height: 42px; }
  .brand strong { font-size: 24px; }
  .mobile-nav.is-open {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 49;
    display: grid;
    padding: 12px 20px 18px;
    color: var(--white);
    background: var(--navy-dark);
  }
  .mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
  .service-card-grid,
  .history-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid,
  .stats,
  .process-grid,
  .culture-grid,
  .team-grid,
  .cert-grid,
  .case-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail,
  .contact-main {
    grid-template-columns: 1fr;
  }
  .suitable {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .home-hero { min-height: 480px; }
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 17px; }
  .btn { min-height: 52px; font-size: 18px; }
  .service-card-grid,
  .why-grid,
  .stats,
  .process-grid,
  .culture-grid,
  .team-grid,
  .cert-grid,
  .case-grid,
  .case-stats,
  .footer-grid,
  .message-panel form {
    grid-template-columns: 1fr;
  }
  .section { padding: 56px 16px; }
  .service-card { padding: 24px; }
  .footer-bottom { display: grid; }
  .case-tabs { flex-wrap: wrap; }
  .contact-info p { grid-template-columns: 34px 1fr; }
  .contact-info p b { grid-column: 2; }
  .contact-info .contact-value { grid-column: 2; }
  .qr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-overlay { left: 12px; right: 12px; bottom: 12px; display: grid; gap: 6px; }
}
