*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fafafa;
}

a {
  color: #2b6cb0;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1a365d;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2b6cb0;
}

.logo:hover {
  color: #1a365d;
}

.logo-icon {
  height: 3rem;
  width: auto;
}

.nav a {
  margin-left: 32px;
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
}

.nav a:hover {
  color: #2b6cb0;
}

/* ── Hero ── */

.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: linear-gradient(135deg, #ebf4ff 0%, #e2e8f0 100%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1a365d;
  letter-spacing: 2px;
}

.hero-subtitle {
  margin-top: 12px;
  font-size: 1.35rem;
  color: #4a5568;
  font-weight: 500;
}

.hero-desc {
  margin-top: 16px;
  font-size: 1.05rem;
  color: #718096;
}

.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 48px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.25s, transform 0.15s;
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  background: #2b6cb0;
  color: #fff;
}

.btn-primary:hover {
  background: #1a365d;
  color: #fff;
}

/* ── Sections ── */

.section {
  padding: 80px 0;
}

.section-alt {
  background: #fff;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a365d;
  text-align: center;
}

.section-desc {
  margin-top: 8px;
  text-align: center;
  color: #718096;
  font-size: 1rem;
}

/* ── Services ── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: #fff;
  padding: 36px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: #718096;
}

/* ── About ── */

.about-content {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 1rem;
  color: #4a5568;
}

.about-content p {
  margin-bottom: 16px;
  text-indent: 2em;
}

/* ── Contact ── */

.contact-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 16px;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #555;
}

.contact-info li strong {
  color: #333;
}

/* ── QR Code Card ── */

.qr-code-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.qr-code-card {
  text-align: center;
}

.qr-code-placeholder {
  width: 200px;
  height: 200px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

.qr-code-grid .qr-code-card:nth-child(1) .qr-code-placeholder {
  background-image: url("../images/qiye1.jpg");
}

.qr-code-grid .qr-code-card:nth-child(2) .qr-code-placeholder {
  background-image: url("../images/qiye2.jpg");
}

.qr-code-grid .qr-code-card:nth-child(3) .qr-code-placeholder {
  background-image: url("../images/qiye3.jpg");
}

.qr-code-card .qr-label {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a5568;
}

/* ── Footer ── */

.footer {
  background: #1a202c;
  color: #a0aec0;
  text-align: center;
  padding: 32px 0;
  font-size: 0.85rem;
}

.footer-icp {
  margin-top: 6px;
  font-size: 0.8rem;
}

.footer-icp a {
  color: #a0aec0;
  text-decoration: none;
}

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

/* ── Responsive ── */

@media (max-width: 640px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .nav a {
    margin-left: 16px;
    font-size: 0.85rem;
  }

  .section {
    padding: 56px 0;
  }

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

  .contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
}
