/* 平板设备 (768px - 1199px) */
@media (max-width: 1199px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline-items::before {
    left: 0;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    padding-left: 60px;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: -40px;
    right: auto;
  }
}

/* 手机设备 (320px - 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 10px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .card {
    padding: 15px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-bg-dark);
    padding: 20px;
    gap: 0;
  }

  .nav-links li {
    margin-bottom: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .page-header {
    padding: 80px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  section {
    padding: 40px 0;
  }

  .cta {
    padding: 60px 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}
