:root {
  --brand: #289dda;
  --brand-dark: #116b9e;
  --brand-soft: #e6f5fc;
  --ink: #143042;
  --muted: #627684;
  --line: #dbe7ee;
  --white: #ffffff;
  --mint: #2fbf8f;
  --coral: #f26f63;
  --sun: #f6b84b;
  --footer: #102938;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(19, 62, 86, 0.16);
  --soft-shadow: 0 10px 26px rgba(19, 62, 86, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #f7fbfd;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(135deg, var(--brand), #1f86bf);
  box-shadow: 0 10px 26px rgba(17, 107, 158, 0.24);
  backdrop-filter: blur(14px);
}

.utility-bar,
.navbar,
.section,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.utility-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.utility-bar p {
  margin: 0;
}

.utility-links,
.nav-menu,
.nav-actions,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.utility-links {
  gap: 18px;
  white-space: nowrap;
}

.navbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--white);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--white);
}

.brand strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.3;
  margin-top: 4px;
}

.nav-menu {
  justify-content: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.nav-menu a {
  position: relative;
  padding: 26px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  background: var(--white);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  gap: 10px;
  white-space: nowrap;
}

.action-link,
.primary-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
}

.action-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.primary-link,
.button.primary {
  color: var(--white);
  background: var(--brand);
}

.site-header .primary-link {
  color: var(--brand-dark);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 560px;
  height: calc(100vh - 114px - 170px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.8s ease,
    transform 5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 41, 60, 0.78), rgba(9, 41, 60, 0.3) 58%, rgba(9, 41, 60, 0.08)),
    linear-gradient(0deg, rgba(40, 157, 218, 0.22), rgba(47, 191, 143, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9fe8ff;
  font-size: 16px;
  margin-bottom: 16px;
}

.hero h1 {
  width: min(720px, 100%);
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 24px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 800;
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.1);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
}

.dot.is-active {
  background: var(--white);
}

.quick-entry {
  width: min(1160px, calc(100% - 40px));
  margin: 24px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quick-entry a {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.program-entry i {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand);
  font-style: normal;
  font-size: 26px;
  font-weight: 900;
}

.program-entry.civil i {
  background: var(--brand-dark);
}

.quick-entry span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.quick-entry small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quick-entry strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.quick-entry em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.quick-entry em::after {
  content: "  进入";
  color: var(--brand-dark);
  font-weight: 800;
}

.quick-entry a:hover,
.links-row a:hover,
.news-feature:hover,
.news-list a:hover {
  border-color: #b9deef;
  box-shadow: var(--soft-shadow);
}

.section {
  padding: 56px 0;
}

.section-heading {
  width: min(650px, 100%);
  margin-bottom: 24px;
}

.section-heading h2,
.solution-copy h2,
.feature-content h2,
.contact-strip h2 {
  margin: 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}

.solution-copy h2 {
  font-size: 32px;
  white-space: nowrap;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 54px;
  align-items: center;
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metrics div {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--white);
}

.metrics strong {
  color: var(--brand-dark);
  font-size: 34px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.services {
  padding-top: 40px;
}

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

.service-card {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.service-card p,
.solution-copy p,
.feature-content p,
.contact-strip p {
  margin: 0;
  color: var(--muted);
}

.solution-band {
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 56px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.solution-copy p {
  margin: 18px 0 28px;
  font-size: 17px;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 22px;
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  background: #f7fbfd;
}

.solution-list strong {
  color: var(--brand-dark);
  font-size: 22px;
}

.solution-list span {
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  background: var(--footer);
}

.feature img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px max(40px, calc((100vw - 1160px) / 2)) 64px 64px;
}

.feature-content h2,
.feature-content p {
  color: var(--white);
}

.feature-content p {
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.82);
}

.feature-content a {
  color: #9fe8ff;
  font-weight: 800;
}

.links-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.links-row a {
  min-height: 178px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.links-row a:nth-child(2) {
  background: var(--white);
}

.links-row a:nth-child(3) {
  background: var(--white);
}

.links-row span {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.links-row strong {
  font-size: 21px;
  line-height: 1.35;
}

.links-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.links-row em {
  align-self: end;
  color: var(--brand-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.links-row em::after {
  content: " ->";
}

.links-row a:hover {
  transform: translateY(-2px);
}

.news {
  padding-top: 40px;
}

.section-heading.inline {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading.inline a {
  color: var(--brand-dark);
  font-weight: 800;
}

.news-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 18px;
  align-items: stretch;
}

.news-feature,
.news-list {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.news-feature {
  min-height: 270px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 30px;
  border-top: 5px solid var(--brand);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.news-feature time,
.news-list time {
  color: var(--brand-dark);
  font-weight: 800;
}

.news-feature strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.news-feature p {
  margin: 0;
  color: var(--muted);
}

.news-feature em {
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 800;
}

.news-feature em::after {
  content: " ->";
}

.news-list {
  overflow: hidden;
}

.news-list a {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 90px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.news-list a:last-child {
  border-bottom: 0;
}

.news-list a:hover {
  background: #f7fbfd;
}

.news-list span {
  color: var(--ink);
  font-weight: 700;
}

.contact-strip {
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  border: 1px solid #c6e8f8;
}

.contact-strip h2 {
  margin-bottom: 8px;
}

.footer-wrap {
  background: linear-gradient(135deg, #102938, #0d4662);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 42px 0 30px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.footer-cta .eyebrow {
  color: #9fe8ff;
}

.footer-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: 30px;
  line-height: 1.25;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 42px;
  padding: 48px 0 38px;
}

.site-footer .brand strong,
.site-footer .brand small {
  color: var(--white);
}

.footer-brand p {
  max-width: 380px;
  margin: 20px 0 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 16px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-column a:hover {
  color: #9fe8ff;
}

.footer-contact {
  min-width: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

@media (max-width: 1040px) {
  .navbar {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .nav-menu.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding-bottom: 16px;
  }

  .nav-menu.is-open a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .intro-grid,
  .solution-band,
  .feature {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature img {
    height: 360px;
  }

  .feature-content {
    padding: 50px 40px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .utility-bar,
  .navbar,
  .section,
  .site-footer,
  .quick-entry,
  .solution-band,
  .contact-strip {
    width: min(100% - 28px, 1160px);
  }

  .utility-bar {
    display: none;
  }

  .navbar {
    min-height: 68px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo-mark {
    width: 40px;
    height: 40px;
  }

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

  .hero {
    min-height: 500px;
    height: 62vh;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .hero-actions,
  .quick-entry,
  .metrics,
  .service-grid,
  .links-row,
  .news-layout,
  .news-list a,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-strip {
    align-items: stretch;
  }

  .button,
  .quick-entry a {
    width: 100%;
  }

  .quick-entry {
    margin-top: 18px;
  }

  .section {
    padding: 40px 0;
  }

  .section-heading h2,
  .solution-copy h2,
  .feature-content h2,
  .contact-strip h2 {
    font-size: 28px;
  }

  .solution-copy h2 {
    white-space: normal;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    min-height: 0;
  }

  .solution-band {
    padding: 30px 22px;
    margin-bottom: 40px;
  }

  .solution-list div {
    grid-template-columns: 1fr;
  }

  .feature img {
    height: 300px;
  }

  .feature-content {
    padding: 40px 24px;
  }

  .news-list a {
    gap: 6px;
    align-items: start;
    padding: 18px;
  }

  .news-feature {
    min-height: auto;
    padding: 24px;
  }

  .news-feature strong {
    font-size: 21px;
  }

  .contact-strip {
    flex-direction: column;
    padding: 28px 22px;
    margin-bottom: 40px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-cta,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta {
    padding: 28px 22px;
  }

  .footer-cta h2 {
    font-size: 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 30px;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }
}
