/* ==========================================================================
   Brand Promoter 3x (B3) — Tablet, Mobile & Orientation Responsive Breakpoints
   Covers Desktop (>=1121px), Tablet Portrait & Landscape (<=1120px),
   Mobile Portrait (<=640px), Small Mobile (<=480px), & Landscape Orientation
   ========================================================================== */

/* Tablet Portrait & Landscape / Small Laptops (Max-Width: 1120px) */
@media (max-width: 1120px) {
  .nav-container {
    height: 70px;
    gap: 1rem;
  }

  .header-logo-img {
    height: 36px;
    max-width: 185px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(17, 18, 21, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.5rem;
    gap: 1.15rem;
    display: none;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    z-index: 99;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.4rem 0.75rem;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

/* Mobile Portrait (Max-Width: 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    height: 64px;
    gap: 0.65rem;
  }

  .nav-menu {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  .header-logo-img {
    height: 30px;
    max-width: 150px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .currency-btn {
    padding: 3px 8px;
    font-size: 0.75rem;
  }

  .nav-actions .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .process-grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid-5 > div:last-child {
    grid-column: span 2;
  }

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

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

  .cookie-toggles {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 1.25rem;
  }

  .video-play-btn {
    width: 56px;
    height: 56px;
  }

  .video-play-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Small Mobile Screens (Max-Width: 480px) — Prevent Header Crowding */
@media (max-width: 480px) {
  .nav-actions .btn-primary {
    display: none;
  }

  .header-logo-img {
    height: 28px;
    max-width: 140px;
  }
}

/* Mobile Landscape Orientation (Short Viewports) */
@media (max-height: 500px) and (orientation: landscape) {
  .nav-container {
    height: 58px;
  }

  .nav-menu {
    top: 58px;
    max-height: calc(100vh - 58px);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
  }

  .section-hero {
    padding: 3rem 0 2.5rem;
  }
}
