:root {
  --ink: #152033;
  --muted: #5e6b7d;
  --line: #dce2ea;
  --paper: #ffffff;
  --soft: #f4f6f9;
  --navy: #10233f;
  --blue: #16558f;
  --teal: #1d6f74;
  --amber: #e2a13a;
  --orange: #d9772b;
  --green: #2e7d4f;
  --red: #b9473f;
  --shadow: 0 18px 45px rgba(15, 34, 58, .12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.topbar {
  background: var(--navy);
  color: #e6edf7;
  font-size: 13px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: #e6edf7;
}

.topbar .top-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar .top-contact span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar .top-note {
  color: #b8c6dc;
}

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

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}

.brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  color: #27364c;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--amber);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #14243a;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 23, 41, .92) 0%, rgba(9, 23, 41, .58) 58%, rgba(9, 23, 41, .2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #f3c56b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #dce5f2;
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  background: var(--amber);
  color: #172033;
}

.btn-primary:hover {
  background: #f0b34e;
}

.btn-light {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-line {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.section {
  padding: 78px 0;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.28;
}

.section-desc {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #c9d4e1;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9eef4;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 20px;
}

.card-tag {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
}

.card-title {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

.card-title a:hover {
  color: var(--blue);
}

.card-text {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: #8a97a8;
  font-size: 13px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.card-link::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
}

/* News list layout */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}

.news-item:hover {
  box-shadow: var(--shadow);
  border-color: #c9d4e1;
  transform: translateY(-3px);
}

.news-thumb {
  flex: 0 0 220px;
  width: 220px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: #e9eef4;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.news-item:hover .news-thumb img {
  transform: scale(1.05);
}

.news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.news-date {
  color: #8a97a8;
  font-size: 13px;
}

.news-title {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
}

.news-title a:hover {
  color: var(--blue);
}

.news-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-body .card-link {
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 760px) {
  .news-item {
    flex-direction: column;
    gap: 14px;
  }

  .news-thumb {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

.page-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #12223a url("../images/hero/hero-main.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 46, .78);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.2;
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #dce5f2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: #718096;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb span + span::before {
  content: "/";
  margin-right: 8px;
  color: #b3bdca;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 108px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.sidebar-title {
  margin: 0;
  padding: 18px 20px;
  background: var(--navy);
  color: #fff;
  font-size: 17px;
}

.sidebar-list {
  margin: 0;
  padding: 10px 0;
  list-style: none;
}

.sidebar-list li {
  border-bottom: 1px solid #edf0f4;
}

.sidebar-list li:last-child {
  border-bottom: 0;
}

.sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  color: #3e4b5d;
  font-size: 14px;
}

.sidebar-list a::after {
  content: "→";
  color: #9ba7b6;
}

.sidebar-list a:hover,
.sidebar-list a.active {
  background: #f2f6fa;
  color: var(--blue);
}

.sidebar-box {
  padding: 20px;
  background: var(--soft);
}

.sidebar-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

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

.prose {
  color: #344054;
}

.prose h2,
.prose h3 {
  color: var(--navy);
  line-height: 1.35;
}

.prose p {
  margin: 0 0 18px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 160px;
  background: #f7f9fc;
  color: var(--navy);
  font-weight: 700;
}

.detail-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.detail-article > img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 26px;
}

.detail-article h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.3;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: #7c8998;
  font-size: 13px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5fb;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue);
  font-weight: 800;
}

.contact-item h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 16px;
}

.contact-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 85, 143, .12);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  background: #fff8e9;
  color: #6f5319;
  font-size: 14px;
}

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

.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 28px 28px;
  border-left: 2px solid #d9e1eb;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline strong {
  color: var(--navy);
}

.timeline p {
  margin: 5px 0 0;
  color: var(--muted);
}

.footer {
  background: #0d1b2f;
  color: #c8d4e3;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 58px 0 42px;
}

.footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
}

.footer p,
.footer li {
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.footer-desc {
  margin: 12px 0 0;
  color: #9fb0c5;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 7px 0;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  margin: 8px 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #8fa0b5;
  font-size: 13px;
  text-align: center;
}

.footer-bottom a {
  color: #b9c6d7;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.map-panel {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef2f6;
}

.map-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.empty {
  padding: 40px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 10px 9px;
    font-size: 14px;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar .top-note {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid #edf0f4;
  }

  .main-nav a.active::after {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 62px 0;
  }

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

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

  .grid-2,
  .grid-3,
  .grid-4,
  .stats {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .detail-article {
    padding: 22px;
  }

  .section {
    padding: 58px 0;
  }
}
