/* ============================================
   RESPONSIVE - Mobile and tablet adjustments
   ============================================ */

/* Tablet */
@media (max-width: 968px) {
  .home-hero {
    padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 64px);
  }

  .section {
    padding: clamp(48px, 6vw, 96px) 0;
  }

  .stats-bar {
    gap: var(--space-md);
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: clamp(40px, 5vw, 64px) 0;
  }

  .home-hero {
    padding: clamp(40px, 5vw, 64px) 0;
  }

  .home-hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .home-hero__rotating-line {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .home-hero__subtitle {
    font-size: var(--fs-md);
  }

  .home-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .home-hero__actions .btn {
    width: 100%;
  }

  .home-hero__metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm) var(--space-lg);
  }

  .home-hero__metric-number {
    font-size: var(--fs-2xl);
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat__number {
    font-size: 1.75rem;
  }

  .cta-section__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-section__actions .btn {
    width: 100%;
  }

  .product-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .product-hero__actions .btn {
    width: 100%;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .site-footer__brand {
    grid-column: 1;
  }

  .breadcrumbs {
    font-size: var(--fs-xs);
  }

  .btn {
    padding: 10px 22px;
    font-size: var(--fs-sm);
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: var(--fs-base);
  }

  .section-header {
    margin-bottom: var(--space-lg);
  }

  .section-header__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .grid-bg {
    background-size: 40px 40px;
  }

  .mobile-nav {
    padding: var(--space-md);
  }

  .mobile-nav__link {
    font-size: var(--fs-lg);
    padding: var(--space-sm) 0;
  }

  .capability-card {
    padding: clamp(40px, 6vw, 64px) 0;
  }

  .capability-card__inner {
    padding: 0 20px;
  }

  .capabilities-section .section-header {
    padding: clamp(40px, 6vw, 64px) 20px clamp(24px, 4vw, 40px);
  }

  .product-scene {
    padding: clamp(28px, 5vw, 40px);
    border-radius: clamp(16px, 4vw, 24px);
  }

  .process-intro__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .about-preview__text h2 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .home-hero__metrics {
    grid-template-columns: 1fr;
  }

  .locale-options {
    grid-template-columns: 1fr;
  }
}

/* Print */
@media print {
  .site-header,
  .mobile-nav,
  .menu-toggle {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .process-intro {
    position: static;
  }

  .product-scene {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* High contrast preference */
@media (prefers-contrast: high) {
  :root {
    --color-text-muted: #333;
    --color-text-light: #555;
  }

  .btn--primary {
    background: #0044cc;
  }

  .site-header {
    background: #fff;
    border-bottom: 2px solid #000;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .product-scene {
    position: relative;
    top: auto;
    min-height: auto;
    margin-bottom: clamp(20px, 3vw, 32px);
  }

  .kinetic-band__track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    padding: var(--space-sm) 0;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .process-step__text {
    opacity: 1 !important;
  }

  .process-intro {
    position: static;
  }
}
