:root {
  --ink: #17202a;
  --muted: #5f6b76;
  --line: #dce4e8;
  --paper: #ffffff;
  --soft: #f3f7f8;
  --blue: #126d8f;
  --green: #2f7d64;
  --gold: #b7791f;
  --red: #9f3445;
  --shadow: 0 18px 48px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 228, 232, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 700;
}

.brand-text {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 12px;
  color: #30404c;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
}

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

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 96px;
  color: #fff;
  background-image: url("./hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 39, 0.9) 0%, rgba(10, 30, 39, 0.66) 46%, rgba(10, 30, 39, 0.22) 100%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ce0cc;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

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

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-item {
  min-height: 118px;
  padding: 24px;
  background: #fff;
}

.quick-number {
  display: block;
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.quick-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 86px max(24px, calc((100vw - 1180px) / 2));
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 62px;
}

.section h2 {
  margin: 0;
  max-width: 820px;
  font-size: 32px;
  line-height: 1.25;
}

.section h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

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

.section-body p + p {
  margin-top: 18px;
}

.feature-band {
  background: var(--soft);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

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

.service-card,
.contact-card {
  min-height: 180px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card:nth-child(2) {
  border-top: 4px solid var(--green);
}

.service-card:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.service-card:nth-child(4) {
  border-top: 4px solid var(--red);
}

.media-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(320px, 1.06fr);
  gap: 44px;
  align-items: center;
}

.media-copy p {
  margin-top: 18px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.platform-list span {
  padding: 7px 11px;
  color: #23424f;
  background: #edf6f4;
  border: 1px solid #cfe5dd;
  border-radius: 4px;
  font-size: 14px;
}

.media-figure {
  margin: 0;
}

.media-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.messages-section {
  background: #fbfcfc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.message-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px;
  gap: 14px;
  margin-bottom: 22px;
}

.search-box,
.select-box {
  display: grid;
  gap: 7px;
  color: #344653;
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfdbe0;
  border-radius: 4px;
  font: inherit;
}

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

.message-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.message-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e9eff2;
}

.message-content {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.message-title {
  min-height: 58px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.message-summary {
  color: var(--muted);
  font-size: 14px;
}

.message-link {
  align-self: end;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #b8c7cf;
  border-radius: 8px;
}

.activity-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.activity-image {
  min-height: 360px;
  background-image: url("./activity.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.activity-copy p {
  margin-top: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 40px;
  background: #f7faf9;
}

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

.contact-card {
  min-height: 160px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 700;
}

.muted {
  margin-top: 10px !important;
  color: var(--muted) !important;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(24px, calc((100vw - 1180px) / 2));
  color: #dce7ea;
  background: #172a33;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .quick-panel,
  .service-grid,
  .message-list,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .media-section,
  .activity-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .activity-image {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand-text {
    font-size: 15px;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  .hero {
    min-height: 580px;
    padding-top: 96px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 34px;
  }

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

  .quick-panel,
  .service-grid,
  .message-list,
  .contact-grid,
  .message-toolbar {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section h2 {
    font-size: 27px;
  }

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

  .message-title {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
