/* === Responsive === */

/* Desktop (1024–1280px) — default styles above */

/* Tablet (640–1024px) */
@media (max-width: 1024px) {
  :root {
    --container-padding: 24px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
}

/* Mobile (< 640px) */
@media (max-width: 640px) {
  :root {
    --container-padding: 16px;
    --space-section: 80px;
  }

  .hero-content {
    padding: 0 var(--space-sm);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-content .hero-title {
    font-size: var(--body-md);
  }

  .hero-content .hero-tagline {
    font-size: var(--body-sm);
  }

  /* Stack CTAs */
  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Section gaps halved */
  .section {
    margin-bottom: var(--space-5xl);
  }

  /* Full-width cards on mobile */
  .card {
    padding: var(--space-lg);
  }

  /* Touch targets - 44x44 minimum */
  .nav-hamburger,
  .nav-overlay a,
  .btn,
  .faq-question {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
  }

  /* Nav overlay links need more padding */
  .nav-overlay a {
    padding: var(--space-sm) var(--space-lg);
    width: 100%;
    justify-content: center;
  }

  /* Timeline adjustments */
  .timeline {
    padding-left: var(--space-lg);
  }

  .timeline-item::before {
    left: calc(-1 * var(--space-lg) + 2px);
  }

  /* About section */
  .about-photo {
    max-width: 200px;
    margin: 0 auto;
  }

  /* Footer */
  .site-footer {
    padding: var(--space-xl) var(--container-padding) var(--space-md);
    margin-top: var(--space-5xl);
  }

  /* Solution list */
  .solution-list {
    grid-template-columns: 1fr;
  }

  /* Stats bar */
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .stat-item:last-child {
    border-bottom: none;
  }

  /* Section alternate padding */
  .section-alternate {
    padding: var(--space-4xl) 0;
  }
}
