:root {
  --ink: #162236;
  --muted: #5c6878;
  --line: #dde4ec;
  --blue: #0d56a6;
  --blue-dark: #08396f;
  --gold: #c8942d;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --green: #1f7a63;
  --shadow: 0 18px 45px rgba(10, 36, 72, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  background: #10294a;
}

.topbar__inner,
.topbar__meta,
.navbar__inner,
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar__inner {
  min-height: 38px;
}

.topbar__meta {
  gap: 28px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar__inner {
  min-height: 76px;
}

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

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  box-shadow: 0 8px 18px rgba(13, 86, 166, 0.24);
}

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

.brand strong {
  font-size: 22px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links a {
  padding: 26px 16px;
  color: #24344d;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
  background: #eef5fd;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 25, 51, 0.88) 0%, rgba(6, 25, 51, 0.64) 44%, rgba(6, 25, 51, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 39, 78, 0.08), rgba(7, 39, 78, 0.22));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 92px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.14;
  font-weight: 800;
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.button--primary {
  color: #fff;
  background: var(--gold);
}

.button--primary:hover {
  background: #b47d18;
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.hero__stats {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 23, 45, 0.42);
  backdrop-filter: blur(8px);
}

.hero__stats div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__stats div:last-child {
  border-right: 0;
}

.hero__stats strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1.1;
}

.hero__stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.notice {
  background: var(--blue);
}

.notice__inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.notice strong {
  color: #ffe0a3;
}

.notice span {
  flex: 1;
}

.notice a {
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2,
.about__copy h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section-heading p:last-child,
.about__copy p,
.contact p {
  color: var(--muted);
}

.services {
  background: var(--soft);
}

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

.service-card,
.service-mini,
.about__panel,
.news-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 42, 75, 0.07);
}

.service-card {
  grid-column: span 3;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
}

.service-card__body span,
.service-mini .icon {
  display: inline-grid;
  min-width: 42px;
  height: 32px;
  place-items: center;
  color: var(--blue);
  font-weight: 700;
  background: #eef5fd;
  border-radius: 4px;
}

.service-card h3,
.service-mini h3,
.news-grid h3,
.process-list h3 {
  margin: 14px 0 8px;
  line-height: 1.3;
}

.service-card p,
.service-mini p,
.news-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.service-mini {
  grid-column: span 2;
  min-height: 190px;
  padding: 26px;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.about__points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.about__points span {
  padding: 14px 8px;
  color: var(--blue);
  font-weight: 700;
  text-align: center;
  border: 1px solid #cddff2;
  border-radius: 6px;
  background: #f6faff;
}

.about__panel {
  padding: 34px;
  border-top: 4px solid var(--blue);
}

.about__panel h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.about__panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__panel li {
  position: relative;
  padding-left: 22px;
  color: #2d3d52;
}

.about__panel li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.process {
  color: #fff;
  background: linear-gradient(135deg, #0b376a, #11645a);
}

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

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

.process-list article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.process-list span {
  color: #ffe0a3;
  font-size: 34px;
  font-weight: 800;
}

.process-list p {
  color: rgba(255, 255, 255, 0.78);
}

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

.news-grid article {
  padding: 26px;
}

.news-grid time {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.news-grid article span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-left: 10px;
  padding: 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  background: #eef5fd;
}

.news-more {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-top: 18px;
  padding: 0 14px;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  background: var(--blue);
}

.news-more:hover {
  background: var(--blue-dark);
}

.detail-hero {
  padding: 78px 0;
  color: #fff;
  background: linear-gradient(135deg, #10294a, #0d56a6);
}

.detail-hero__meta {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.detail-hero__meta span,
.detail-hero__meta time {
  min-height: 30px;
  padding: 4px 12px;
  color: #ffe0a3;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.detail-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.18;
}

.detail-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.detail-main {
  padding: 72px 0;
  background: #f4f7fb;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.detail-article,
.detail-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 42, 75, 0.07);
}

.detail-article {
  padding: clamp(28px, 5vw, 48px);
}

.detail-article p {
  margin: 0 0 18px;
  color: #2d3d52;
  font-size: 17px;
}

.detail-article h2,
.detail-article h3 {
  margin: 28px 0 14px;
  color: var(--ink);
  line-height: 1.3;
}

.detail-article figure {
  margin: 26px 0;
}

.detail-article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(19, 42, 75, 0.1);
}

.detail-article table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.detail-article td,
.detail-article th {
  padding: 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.detail-article ul,
.detail-article ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #2d3d52;
}

.detail-side {
  padding: 26px;
}

.detail-side h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.detail-side a {
  color: var(--blue);
  font-weight: 700;
}

.detail-news-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-news-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-news-item:last-child {
  border-bottom: 0;
}

.detail-news-item time {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.detail-news-item span {
  color: var(--ink);
  line-height: 1.35;
}

.detail-news-item small {
  color: var(--muted);
}

.detail-empty {
  color: var(--muted);
}

.contact {
  padding: 76px 0;
  background: #eef4fb;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #2e3e53;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid #cbd7e5;
  border-radius: 4px;
  background: #fff;
}

.contact-form button {
  grid-column: span 2;
  width: 100%;
  border: 0;
}

.footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #102033;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: #fff;
  font-size: 18px;
}

@media (max-width: 900px) {
  .topbar__inner,
  .topbar__meta,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

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

  .hero,
  .hero__content {
    min-height: 620px;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(6, 25, 51, 0.9), rgba(6, 25, 51, 0.48));
  }

  .service-card,
  .service-mini {
    grid-column: span 6;
  }

  .about__inner,
  .contact__inner,
  .detail-layout,
  .process-list,
  .news-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__content {
    min-height: 680px;
    padding-top: 48px;
  }

  .hero__stats,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero__stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero__stats div:last-child {
    border-bottom: 0;
  }

  .notice__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .section {
    padding: 62px 0;
  }

  .contact-form button {
    grid-column: span 1;
  }
}
