/* Responsive rules for CP GEAR WORKS layouts. */
@media (max-width: 1060px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --space-section: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(8, 17, 31, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .section-head,
  .split,
  .feature-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  :root {
    --space-section: 64px;
  }

  .hero {
    min-height: 92vh;
  }

  .page-hero {
    min-height: 54vh;
  }

  .brand {
    grid-template-columns: 38px auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-line {
    font-size: 0.58rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

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

  .whatsapp {
    right: 14px;
    bottom: 14px;
    height: 50px;
  }
}
