/* MOBILE OPTIMIZATION CSS */
/* Applied globally to ensure professional layout on devices <= 960px */

@media (max-width: 960px) {
  /* GLOBAL SPACING */
  section { padding: 48px 0 !important; }
  .wrap, .wrap-1480, .wrap-1280 { padding: 0 20px !important; }
  
  /* TYPOGRAPHY SCALING */
  .hero h1, .bp-content h1, .bp-left h1 { 
    font-size: 38px !important; 
    line-height: 1.1 !important; 
    margin-top: 16px !important; 
    margin-bottom: 20px !important;
  }
  .shead h2, .final-cta h2, h2, h3 { 
    font-size: 28px !important; 
    line-height: 1.2 !important; 
  }
  .hero p.lead, .bp-left .lead, .bp-content p.lead { 
    font-size: 16px !important; 
    margin-bottom: 24px !important;
  }

  /* GRID TO 1-COLUMN COLLAPSE */
  .hero-grid, .proof, .leader-grid, .plates, .calc-grid, 
  .ent-grid, .blueprint-wrap, .footer-main-grid,
  .grid-44-56, .grid-3-6-3, .grid-2-7-3, .grid-3-9, .grid-5-7, .grid-25-25-25-25, .grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .blueprint-wrap {
    min-height: auto !important;
    height: auto !important;
    padding: 32px 20px 48px !important;
  }
  
  .bp-left, .bp-right {
    padding: 0 !important;
    border: none !important;
    max-width: 100% !important;
  }

  .bp-right-container {
    max-height: 400px !important;
    height: 400px !important;
  }

  /* FLEXBOX LAYOUTS */
  .evidence-rail { flex-direction: column !important; border: none !important; }
  .evidence-metric { 
    border-right: none !important; 
    border-bottom: 1px solid var(--line) !important; 
    padding: 16px 20px !important; 
  }
  .evidence-metric:last-child { border-bottom: 1px solid var(--line) !important; }
  
  .cert-strip { flex-direction: column !important; gap: 16px !important; }
  .cert-chip { min-width: 100% !important; }

  /* COMPONENT TWEAKS */
  .plate, .calc, .testi-card, .leader-grid, .bp-leader {
    padding: 32px 24px !important;
  }

  /* BUTTONS & CTAS */
  .bp-ctas, .hero-ctas { flex-direction: column !important; width: 100% !important; gap: 12px !important; }
  .bp-ctas a, .bp-ctas button, .hero-ctas a, .hero-ctas button { 
    width: 100% !important; 
    max-width: 100% !important; 
    text-align: center !important; 
    justify-content: center !important; 
  }
  
  /* FOOTER */
  .ent-footer { padding: 48px 0 24px !important; }
  .footer-col { margin-bottom: 8px !important; }
  
  /* NAVIGATION & MOBILE MENU */
  .mobile-menu a { font-size: 20px !important; padding: 12px 0 !important; }
  header nav { padding: 16px 20px !important; }
  
  /* MODALS */
  .lightbox-panel, .quote-modal-box {
    width: 90% !important;
    padding: 24px !important;
    margin: 0 auto !important;
  }
  .quote-modal-title { font-size: 24px !important; }
}

/* VERY SMALL PHONES */
@media (max-width: 400px) {
  .hero h1, .bp-content h1, .bp-left h1 { font-size: 32px !important; }
  .shead h2, .final-cta h2, h2, h3 { font-size: 24px !important; }
  .plate, .calc, .testi-card, .leader-grid, .bp-leader { padding: 24px 16px !important; }
}
