@media (max-width: 1100px) {
  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 0.6rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    justify-content: center;
  }

  .menu-toggle {
    display: inline-grid !important;
  }

  .btn-nav {
    display: none;
  }

  .service-grid,
  .project-grid,
  .pricing-grid,
  .process-grid,
  .progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .home-hero {
    min-height: auto;
    padding: 8.2rem 0 2.5rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 33, 31, 0.94), rgba(16, 33, 31, 0.66)),
      linear-gradient(0deg, rgba(16, 33, 31, 0.42), transparent 45%);
  }

  .hero-metrics,
  .logo-row,
  .two-col,
  .split-layout,
  .split-layout.reverse,
  .about-layout,
  .media-layout,
  .estimator-layout,
  .contact-grid,
  .map-layout,
  .faq-layout,
  .resume-header,
  .project-modal {
    grid-template-columns: 1fr;
  }

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

  .logo-row span:last-child {
    grid-column: 1 / -1;
  }

  .profile-panel {
    max-width: 430px;
  }

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

  .project-modal img {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.1rem), var(--container));
  }

  h1 {
    font-size: 2.4rem;
  }

  h2,
  .page-hero h1 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  .brand strong {
    display: none !important;
  }

  .nav-actions {
    gap: 0.35rem;
    position: absolute;
    top: 0.85rem;
    right: 0.55rem;
  }

  .nav-shell {
    gap: 0.5rem;
    width: calc(100vw - 1.1rem);
    max-width: calc(100vw - 1.1rem);
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .hero-role {
    min-height: 4.2rem;
    font-size: 1.28rem;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 1.1rem);
    font-size: 1rem;
  }

  .home-hero .container,
  .hero-content,
  .hero-role,
  .hero-metrics,
  .home-hero .eyebrow {
    max-width: calc(100vw - 1.1rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .voice-btn {
    width: 46px;
  }

  .scroll-top,
  .whatsapp-float {
    right: 0.65rem;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
  }

  .hero-metrics,
  .service-grid,
  .project-grid,
  .pricing-grid,
  .process-grid,
  .progress-grid,
  .timeline,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics article {
    min-height: 96px;
  }

  .feature-card,
  .service-card,
  .project-body,
  .pricing-card,
  .process-card,
  .progress-card,
  .contact-form,
  .contact-aside,
  .estimator-card,
  .resume-sheet {
    padding: 1rem;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .testimonial-card img {
    width: 92px;
  }

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

  .filter-btn {
    width: 100%;
  }

  .before-after {
    min-height: 280px;
  }

  .before-pane,
  .after-pane {
    padding: 1rem;
  }

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

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .icon-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.05rem;
  }

  h2,
  .page-hero h1 {
    font-size: 1.65rem;
  }

  .btn {
    min-height: 44px;
    padding-inline: 0.85rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 8.5rem 0 3.5rem;
  }
}
