@media (max-width: 1200px) {
  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.8rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content .eyebrow {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .case-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 84px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 86px;
    right: 4vw;
    left: 4vw;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 79, 42, 0.15);
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav a {
    color: var(--green-dark);
  }

  .nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .btn-nav {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cols-3,
  .applications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bar-row .value {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  .hero-media img {
    width: min(520px, 90vw);
  }

  .case-cards {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .cols-4,
  .cols-3,
  .applications-grid,
  .mini-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 16px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(94vw, 540px);
  }

  .brand img,
  .hero-logo {
    width: 138px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .scroll-indicator {
    display: none;
  }
}
