@media (min-width: 560px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-item { border-bottom: 0; }
  .trust-item:last-child { border-right: 0; }
  .capability-grid, .industry-grid, .value-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .field.full { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 760px) {
  :root { --header-height: 114px; }
  .topbar { display: block; }
  .nav-shell { min-height: 76px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); }
  .hero-frame { transform: rotate(1.5deg); }
  .split-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-grid.reverse .media-panel { order: 2; }
  .split-grid.reverse .copy-stack { order: 1; }
  .feature-panels { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: .82fr 1.18fr; }
  .footer-cta { grid-template-columns: 1fr auto; align-items: center; }
  .footer-main { grid-template-columns: 1.35fr .7fr .8fr 1fr; }
  .callout { grid-template-columns: 1fr auto; align-items: center; }
  .callout-actions { justify-content: flex-end; }
  .gallery-grid.gallery-home { grid-template-columns: 1.1fr .9fr .9fr; }
  .gallery-grid.gallery-home .gallery-card:first-child { grid-row: span 2; }
  .gallery-grid.gallery-home .gallery-card:first-child img { min-height: 560px; }
}

@media (min-width: 960px) {
  .capability-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .industry-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .value-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
}

@media (min-width: 1100px) {
  :root { --header-height: 114px; }
  .desktop-nav { display: flex; align-items: center; gap: .65rem; margin-left: auto; }
  .menu-toggle, .mobile-call, .mobile-drawer { display: none !important; }
  .brand img { width: 204px; }
  .header-cta { display: inline-flex; }
  .nav-link { padding-inline: .68rem; font-size: .86rem; }
}

@media (max-width: 1099px) {
  .header-cta { display: none; }
}

@media (max-width: 759px) {
  :root { --header-height: 77px; }
  .hero-grid { min-height: auto; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4.25rem); }
  .hero-badge { position: relative; left: auto; bottom: auto; width: 100%; margin-top: .8rem; }
  .hero-frame::before { inset: 12px -8px -8px 12px; }
  .media-panel::before { inset: 15px -8px -8px 15px; }
  .gallery-card img { min-height: 190px; }
  .float-tooltip { display: none; }
  .floating-actions { bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px)); }
}

@media (max-width: 430px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 158px; }
  .header-actions { gap: .45rem; }
  .mobile-call { width: 42px; height: 42px; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero-actions, .form-actions, .callout-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn, .form-actions .btn, .callout-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 90px; border-right: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta .btn { width: 100%; }
}

@media (max-width: 350px) {
  .brand img { width: 142px; }
  .mobile-call { display: none; }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.9rem; }
  .capability-card, .contact-panel, .form-card { padding: 1.2rem; }
}
