*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0b3d5c;
  --primary-dark: #072a40;
  --accent: #c9a227;
  --text: #1a1a1a;
  --text-muted: #5c6670;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --border: #e2e8f0;
  --shadow: 0 8px 30px rgba(11, 61, 92, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nav a {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 5rem 0 4.5rem;
}

.hero-tag {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-desc {
  max-width: 36rem;
  font-size: 1.05rem;
  opacity: 0.92;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  text-align: center;
}

.section-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 61, 92, 0.14);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
}

.partners-banner {
  margin-top: 2rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.partners-banner img {
  width: 100%;
  object-fit: contain;
}

.join-gallery .gallery-item img {
  aspect-ratio: 4 / 3;
}

.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-beian a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-beian a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 0.85rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }
}
