/* 基础样式 */
:root {
  --navy: #17324d;
  --navy-deep: #10263b;
  --teal: #2aa198;
  --teal-dark: #16766f;
  --ink: #1c2733;
  --muted: #697786;
  --paper: #f4f7f7;
  --line: #dfe7e8;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(23, 50, 77, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

/* 顶部导航区域：背景色与悬停色统一使用深蓝、青绿 */
#Layer1 {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(9, 25, 40, 0.18);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--white);
}

.brand img {
  width: 76px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav {
  flex: 1;
}

.main-nav,
.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav {
  display: flex;
  align-items: stretch;
}

.main-nav li {
  position: relative;
}

.main-nav > li > a {
  min-width: 104px;
  height: 70px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.main-nav > li > a:hover,
.main-nav > li > a:focus-visible {
  color: var(--white);
  background: var(--teal);
  outline: none;
}

.main-nav ul {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  min-width: 178px;
  padding: 8px;
  border-radius: 0 0 8px 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.main-nav li:hover > ul,
.main-nav li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul ul {
  top: -8px;
  left: calc(100% - 2px);
  border-radius: 8px;
}

.main-nav ul a {
  min-width: 160px;
  padding: 10px 14px;
  display: block;
  border-radius: 5px;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.main-nav ul a:hover,
.main-nav ul a:focus-visible {
  color: var(--teal-dark);
  background: #eaf7f5;
  outline: none;
}

.header-action {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.header-action:hover {
  border-color: var(--teal);
  background: var(--teal);
}

/* Layer2：左侧大图、右侧新闻列表，下方三项服务说明 */
#Layer2 {
  width: 100%;
  min-height: 640px;
  padding: 42px 0 38px;
  background:
    linear-gradient(180deg, #eef5f4 0%, #f4f7f7 48%, #ffffff 100%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.hero-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 25, 38, 0.78), rgba(8, 25, 38, 0.08));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 58px 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: var(--white);
}

.hero-caption p,
.eyebrow {
  margin: 0 0 10px;
  color: #9ce3dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-caption h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.hero-caption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.news-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-heading .eyebrow {
  color: var(--teal-dark);
}

.panel-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
}

.panel-heading > a {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.news-list {
  margin: 0;
  padding: 2px 0 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid #edf1f1;
}

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

.news-list img {
  width: 78px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
}

.news-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.news-list a {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  transition: color 0.18s ease;
}

.news-list a:hover {
  color: var(--teal-dark);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.service-strip article {
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-strip article:hover {
  transform: translateY(-3px);
  border-color: #b9dcd8;
}

.service-strip article > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-strip h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 18px;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* 底部区域，删除友情链接并紧接主体内容 */
#Layer4 {
  width: 100%;
  padding: 24px 0;
  color: #dbe9ef;
  background: var(--navy-deep);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  nav {
    order: 3;
    width: 100%;
  }

  .main-nav > li {
    flex: 1;
  }

  .main-nav > li > a {
    min-width: 0;
    height: 52px;
    padding: 0 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 380px;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .content,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand span,
  .header-action {
    display: none;
  }

  .hero-caption {
    padding: 28px 24px;
  }

  .hero-caption h1 {
    font-size: 32px;
  }

  .news-panel {
    padding: 18px;
  }

  .footer-inner {
    display: block;
    text-align: center;
  }
}
