/* ==========================================================================
   voiptrading.cc — responsive fix layer
   Created 2026-11-13.  Loaded last in includes/header.php so it wins over
   assets/css/style.css and assets/style.css.
   Backup: /root/brands-responsive-20261113-*/RESTORE.sh

   Fixes:
   - the mobile menu was absolutely positioned and always open, overlapping the
     hero; the hero carried a 240px top padding hack to hide it.  The menu now
     sits in normal flow under the logo and the hack is removed.
   - 44px white strip above the dark footer on desktop (leftover margin-top:44px).
   - phone typography / tap targets.
   ========================================================================== */

img, svg, video, canvas, iframe { max-width: 100%; }
img { height: auto; }

/* --- 1. Mobile / tablet: nav in normal flow, no overlay, no 240px gap ----- */
@media (max-width: 850px) {
  .header { position: relative !important; z-index: 50 !important; }
  .nav {
    height: auto !important;
    padding: 12px 10px 10px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .logo { font-size: 23px; }
  .menu {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    max-height: none !important;
    overflow: visible !important;
    gap: 8px !important;
  }
  .menu a { min-height: 44px; }
  .hero {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
  }
  .hero .wrap { padding: 30px 10px 34px !important; }
  .section { padding: 34px 0 !important; }
}

/* --- 2. Desktop: remove the white strip above the footer ----------------- */
@media (min-width: 851px) {
  .footer { margin-top: 0 !important; }
  .hero { padding: 40px 0 30px !important; }
  .hero .wrap { padding-top: 44px !important; padding-bottom: 52px !important; }
}

/* --- 3. Phones ----------------------------------------------------------- */
@media (max-width: 480px) {
  .wrap { padding-left: 10px; padding-right: 10px; }
  h1, .hero h1 { font-size: 30px !important; line-height: 1.14 !important; }
  h2, .title h2 { font-size: 25px !important; }
  .hero p { font-size: 16px; }
  .btn { min-height: 46px; }
  .section { padding: 28px 0 !important; }
  .card { padding: 20px; }
  .footer { padding-top: 32px; }
  .footer-grid { gap: 18px; }
}
