/* Responsive rules */
@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .stats-grid,
  .services-grid,
  .features-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .hamburger {
    display: inline-flex;
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 4px;
    left: 24px;
    opacity: 0;
    padding: 14px;
    pointer-events: none;
    position: absolute;
    right: 24px;
    top: 86px;
    transition: opacity 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 14px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 4rem);
  }

  .dashboard-card {
    position: relative;
    top: 0;
  }

  .metric-tile,
  .tech-pill {
    position: static;
    margin: 12px 0 0;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-note {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .section {
    padding: 78px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .brand-text small {
    display: none;
  }

  .stats-grid,
  .services-grid,
  .features-grid,
  .team-grid,
  .projects-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .newsletter {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-badge {
    justify-content: center;
  }

  .cta-band {
    border-radius: 24px;
    padding: 34px 22px;
  }

  .testimonial-card {
    padding: 26px;
  }

  .page-hero {
    padding: 72px 0;
  }
}
