/* ==================================================
   SFIVE BEVERAGES — RESPONSIVE STYLESHEET
   Breakpoints: 1200 / 992 / 768 / 576 / 390
   ================================================== */

/* ---------- 1200px ---------- */
@media (max-width: 1200px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
}

/* ---------- 992px ---------- */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; height: clamp(280px, 60vw, 400px); }
  .hero-cta { justify-content: center; }
  .eyebrow { justify-content: center; }
  .eyebrow::before { display: none; }

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

  .split, .split.reverse .split-visual { grid-template-columns: 1fr; }
  .split { text-align: left; }
  .split.reverse .split-visual { order: 0; }

  .showcase-pin { grid-template-columns: 1fr; min-height: auto; padding-block: 3rem; gap: 2.5rem; }
  .showcase-visual { height: 340px; }

  .detail-grid { grid-template-columns: 1fr; }
  .detail-visual { max-width: 320px; margin-inline: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ---------- 768px (tablet / mobile menu) ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-premium);
    z-index: 550;
  }

  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }

  .header-actions .btn-primary { display: none; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .stat-row { grid-template-columns: 1fr; gap: 1.25rem; }

  .back-to-top { right: 1.1rem; bottom: 1.1rem; width: 44px; height: 44px; }
}

/* ---------- 576px ---------- */
@media (max-width: 576px) {
  .container { padding-inline: 1.25rem; }
  .section { padding-block: 3.25rem; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .marquee-track span { font-size: 1.1rem; gap: 1.5rem; }
  .marquee-track { gap: 1.5rem; }

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

  .detail-meta { flex-wrap: wrap; gap: 1.25rem; }

  .cta-band .btn-outline, .cta-band .btn-primary { width: 100%; }
  .cta-band .container > div { flex-direction: column; }
}

/* ---------- 390px ---------- */
@media (max-width: 390px) {
  h1, .h1 { font-size: 2.2rem; }
  h2, .h2 { font-size: 1.7rem; }

  .btn { padding: 0.9rem 1.5rem; font-size: 0.78rem; }
  .modal-box { padding: 2rem 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
