/* ==========================================================================
   RESPONSIVE
   Breakpoint overrides for every layer above. This file must always be
   the LAST stylesheet loaded — its rules win by cascade order, not by
   higher specificity, so loading it earlier would silently break it.
   ========================================================================== */

@media (max-width: 980px) {
  .service-grid,
  .service-links-grid,
  .category-grid,
  .service-benefits,
  .process-grid,
  .blog-grid,
  .trust-band,
  .stat-grid,
  .authority-points,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-grid,
  .welcome-grid,
  .hero-grid,
  .blog-index .featured-post,
  .split,
  .portfolio-list,
  .contact,
  .article-wrap {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .hero-content {
    max-width: 760px;
  }

  h1 {
    font-size: clamp(40px, 9vw, 72px);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .brand small {
    max-width: 190px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(5, 7, 11, 0.96);
    border: 1px solid rgba(54, 197, 255, 0.22);
    border-radius: var(--radius);
  }

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

  .site-nav a {
    padding: 10px;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 18px 46px;
  }

  .hero-logo {
    width: clamp(132px, 42vw, 180px);
    margin-bottom: 16px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 54px);
    line-height: 1;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-panel {
    display: none;
  }

  .portfolio-list article,
  .portfolio-list article:nth-child(1) {
    grid-row: auto;
    min-height: 300px;
  }

  .trust-band,
  .service-grid,
  .service-links-grid,
  .category-grid,
  .service-benefits,
  .process-grid,
  .video-grid,
  .client-wall,
  .blog-grid,
  .stat-grid,
  .authority-points,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
  }
}
