@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, var(--maxw));
  }

  nav ul {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 80vw);
    height: 100vh;
    background: #f4f6f7;
    box-shadow: var(--shadow);
    padding: 80px 26px 26px;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 40;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 16px;
    font-weight: 600;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel {
    grid-column: span 1;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 200px;
  }

  .section {
    padding: 70px 0;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split .media,
  .split .content {
    grid-column: span 1;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row .service-media,
  .service-row .service-content {
    grid-column: span 1;
  }

  .service-row:nth-child(even) .service-media {
    order: 0;
  }

  .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-item img {
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid .contact-form,
  .contact-grid .contact-info {
    grid-column: span 1;
  }

  .cta-section .media {
    min-height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
