/* Responsive Media Queries - We Move Together */

/* Tablet (810px - 1199px) */
@media (min-width: 810px) and (max-width: 1199px) {
  /* Adjust grid layouts for tablet */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Adjust spacing */
  :root {
    --section-padding-y: 80px;
    --section-padding-x: 32px;
  }
}

/* Mobile (390px - 809px) */
@media (max-width: 809px) {
  /* All grids become single column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Typography scaling */
  h1 {
    font-size: var(--font-size-h1);
  }
  
  h2 {
    font-size: var(--font-size-h2);
  }
  
  h3 {
    font-size: var(--font-size-h3);
  }
  
  h4 {
    font-size: var(--font-size-h4);
  }
  
  /* Section headings */
  .section-heading {
    font-size: var(--font-size-h2);
    margin-bottom: var(--space-4);
  }
  
  /* Hero adjustments */
  .hero-content {
    padding: var(--space-8) var(--section-padding-x);
  }
  
  .hero-heading {
    font-size: var(--font-size-h1);
    margin-bottom: var(--space-4);
  }
  
  .hero-subheading {
    font-size: var(--font-size-body-large);
    margin-bottom: var(--space-6);
  }
  
  .hero-cta {
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }
  
  .hero-link {
    margin-top: var(--space-2);
  }
  
  .hero-social-proof {
    margin-top: var(--space-4);
  }
  
  /* Button full width on small screens */
  .btn {
    width: 100%;
    min-height: 48px;
    padding: var(--space-2) var(--space-3);
  }
  
  .btn-large {
    min-height: 56px;
    padding: var(--space-3) var(--space-4);
  }
  
  @media (min-width: 480px) {
    .btn {
      width: auto;
    }
  }
  
  /* Card spacing */
  .card,
  .trust-card,
  .step-card,
  .scenario-card,
  .testimonial-card {
    padding: var(--space-4);
    margin-bottom: var(--space-3);
  }
  
  .trust-card:last-child,
  .step-card:last-child,
  .scenario-card:last-child,
  .testimonial-card:last-child {
    margin-bottom: 0;
  }
  
  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* Very small mobile (< 390px) */
@media (max-width: 389px) {
  :root {
    --section-padding-x: 16px;
  }
  
  .hero-heading {
    font-size: 36px;
    margin-bottom: var(--space-3);
  }
  
  .hero-subheading {
    margin-bottom: var(--space-4);
  }
  
  .hero-content {
    padding: var(--space-6) var(--section-padding-x);
  }
  
  .section-heading {
    font-size: 28px;
  }
}

/* Large desktop (1920px+) */
@media (min-width: 1920px) {
  .hero {
    max-height: 1080px;
  }
}

/* Print styles */
@media print {
  .site-header,
  .mobile-menu,
  .hamburger,
  .final-cta,
  .site-footer {
    display: none;
  }
  
  .hero {
    margin-top: 0;
    page-break-after: always;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .card:hover,
  .btn:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --color-teal: #1A7A66;
    --color-navy: #0A1A2F;
  }
  
  .btn-primary {
    border: 2px solid var(--color-white);
  }
  
  .card {
    border: 2px solid var(--color-navy);
  }
}
