:root {
  --blue: #003f7d;
  --blue-deep: #062646;
  --blue-soft: #eaf3fb;
  --gold: #d8a33a;
  --ink: #182436;
  --muted: #637083;
  --line: #dfe6ee;
  --paper: #ffffff;
  --bg: #f5f8fb;
  --shadow: 0 22px 70px rgba(6, 38, 70, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(12, 43, 77, 0.08);
  backdrop-filter: blur(16px);
}

.top-bar,
.navbar,
.section,
.section-pad,
.contact,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.top-bar a {
  color: var(--blue);
  font-weight: 700;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), #0072b8);
  border-radius: 14px;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 63, 125, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #2f3d4e;
  font-weight: 700;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 11px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: #005cae;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-deep);
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  padding: 120px max(40px, calc((100vw - 1180px) / 2)) 90px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 33, 61, 0.95), rgba(7, 64, 116, 0.72) 52%, rgba(12, 72, 126, 0.36)),
    radial-gradient(circle at 80% 20%, rgba(216, 163, 58, 0.55), transparent 28%),
    linear-gradient(135deg, #082542, #0f5c99);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.18) 42% 43%, transparent 43%),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #c68a19);
  box-shadow: 0 16px 36px rgba(216, 163, 58, 0.25);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-card {
  position: absolute;
  right: max(40px, calc((100vw - 1180px) / 2));
  bottom: 74px;
  width: min(380px, calc(100% - 40px));
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-left: 6px solid var(--gold);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-card span {
  color: var(--muted);
  font-weight: 700;
}

.hero-card strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-deep);
  font-size: 24px;
  line-height: 1.25;
}

.hero-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -46px;
  background: var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stats div {
  padding: 30px;
  background: #fff;
}

.stats strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: 92px 0 32px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.about-panel h2,
.contact h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-pad {
  padding: 22px 0 92px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.news-card,
.solution-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(11, 42, 75, 0.06);
}

.service-card {
  min-height: 270px;
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 63, 125, 0.35);
}

.service-card.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--blue), #0b67aa);
  border-color: transparent;
}

.service-card span {
  color: var(--gold);
  font-weight: 900;
}

.service-card h3,
.news-card h3,
.solution-grid h3 {
  margin: 22px 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.service-card p,
.news-card p,
.solution-grid p,
.about-panel p,
.process-list p,
.contact p,
.footer p {
  color: var(--muted);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

.solutions {
  padding: 72px 0 92px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 38, 70, 0.96), rgba(0, 63, 125, 0.9)),
    linear-gradient(90deg, transparent, rgba(216, 163, 58, 0.22));
}

.section-heading.light h2 {
  color: #fff;
}

.solution-grid {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-grid article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.solution-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  padding: 28px;
}

.news-card time {
  color: var(--gold);
  font-weight: 800;
}

.news-card h3 {
  color: var(--blue-deep);
}

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  padding-bottom: 92px;
}

.about-panel,
.process-list {
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.process-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.process-list span {
  color: var(--gold);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin: 6px 0;
  color: var(--blue-deep);
  font-size: 20px;
}

.process-list p {
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
  padding: 64px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact h2 {
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-deep);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 63, 125, 0.1);
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-top: 92px;
  padding: 46px 0 58px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-deep);
  box-shadow: 0 0 0 100vmax var(--blue-deep);
  clip-path: inset(0 -100vmax);
}

.footer strong,
.footer .brand strong {
  color: #fff;
}

.footer .brand small,
.footer p {
  color: rgba(255, 255, 255, 0.62);
}

.footer a:not(.brand) {
  display: block;
  margin-top: 10px;
}

.footer-brand {
  margin-bottom: 14px;
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 50px;
  }

  .stats,
  .service-grid,
  .solution-grid,
  .news-grid,
  .about,
  .contact,
  .footer,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid,
  .solution-grid,
  .news-grid {
    width: min(1180px, calc(100% - 40px));
  }
}

@media (max-width: 680px) {
  .top-bar {
    display: none;
  }

  .navbar {
    min-height: 68px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 72px 20px 58px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .stats,
  .service-grid,
  .solution-grid,
  .news-grid,
  .about,
  .contact,
  .footer,
  .split {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 68px;
  }

  .section-pad {
    padding-bottom: 68px;
  }

  .about {
    padding-bottom: 68px;
  }

  .contact {
    width: calc(100% - 28px);
    padding: 34px 22px;
  }

  .footer {
    margin-top: 68px;
  }
}
