/* Final responsive overrides loaded after the desktop theme. */
@media (max-width: 1199.98px) {
    .navbar { height: auto !important; min-height: 72px; padding: 10px 0 }
    .navbar .page-container { width: calc(100% - 32px) !important; flex-wrap: wrap }
    .navbar-collapse { flex-basis: 100%; width: 100%; max-height: calc(100vh - 105px); padding: 14px 0 8px; overflow-y: auto; background: #fff }
    .navbar-nav { width: 100%; gap: 0; align-items: stretch; margin: 0 !important }
    .navbar-nav > li { width: 100%; border-bottom: 1px solid #edf1f6 }
    .navbar-nav > li > a { display: flex; min-height: 46px; padding: 12px 4px; align-items: center; justify-content: space-between; font-size: 14px; white-space: normal }
    .services-dropdown { display: none; position: static; width: 100%; margin: 0 0 10px; padding: 5px 0 7px 14px; background: #f6f9fd; border-left: 3px solid #0960ed }
    .services-menu.submenu-open > .services-dropdown { display: block }
    .navbar-nav .services-dropdown a { display: block; padding: 9px 12px; color: #294767; font-size: 13px; line-height: 1.4; white-space: normal }
    .services-menu > a i { transition: transform .2s ease }
    .services-menu.submenu-open > a i { transform: rotate(45deg) }
    .nav-cta { display: block; width: 100%; margin-top: 14px; text-align: center }
}

@media (max-width: 767.98px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden }
    body { zoom: 1 }
    img, svg, video, iframe { max-width: 100%; height: auto }
    .page-container, .navbar .page-container, .topbar .page-container, main .page-container, footer .page-container { width: calc(100% - 28px) !important }
    .topbar { height: auto; min-height: 32px; padding: 7px 0 }
    .topbar .page-container { justify-content: center !important; text-align: center }
    .topbar .toplinks { display: none }
    .hero h1 { font-size: clamp(32px, 10vw, 42px); line-height: 1.12 }
    h1, h2, h3, p, a { overflow-wrap: break-word }
    input, select, textarea { width: 100%; max-width: 100%; font-size: 16px !important }
    .hero-ctas, .cta-actions { width: 100%; flex-direction: column; align-items: stretch }
    .hero-ctas .btn, .cta-actions .btn { width: 100%; margin: 0 }
    .service-grid, .category-grid, .blog-grid, .values-grid, .delivery-panels, .procurement-faq-grid { grid-template-columns: 1fr !important }
    .why-grid, .industry-row, .delivery-steps, .delivery-industries, .procurement-industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important }
    .metrics-bar { grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .testimonial-track article { flex: 0 0 100%; min-width: 100% }
    .insights > .page-container > .d-flex { gap: 14px; align-items: flex-start !important; flex-direction: column }
    .cta-panel { width: 100%; padding: 26px 20px; text-align: center }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px }
    .footer-grid > div:first-child { grid-column: 1 / -1 }
    .footer-grid p, .footer-grid a { font-size: 12px }
    .footer-grid b { font-size: 13px }
    .copyright { align-items: center; flex-direction: column; font-size: 11px; text-align: center }
}

@media (max-width: 479.98px) {
    .why-grid, .industry-row, .delivery-steps, .delivery-industries, .procurement-industries-grid, .metrics-bar, .footer-grid { grid-template-columns: 1fr !important }
    .footer-grid > div:first-child { grid-column: auto }
}
