/* ==========================================================================
   NEWN — ajustes responsive
   Mobile-first overrides sobre assets/css/styles.css
   ========================================================================== */

@media (max-width: 1080px) {
  .hero h1 { font-size: 42px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card.featured, .service-card:nth-child(1) { grid-column: span 1; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .method-line { display: none; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* backdrop-filter on the header creates a containing block for any
     position:fixed descendant — that breaks the full-screen mobile menu
     (it sizes against the header's own small box instead of the viewport).
     Drop the filter here so .nav-links fixes against the real viewport. */
  header.nav { backdrop-filter: none; background: var(--color-background); }

  .wrap { padding: 0 24px; }
  .nav-inner { padding: 16px 24px; }

  .page-hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 27px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-canvas { margin-top: 12px; }

  .numbered-list { grid-template-columns: 1fr; }
  .numbered-item, .numbered-item:nth-child(odd) { border-right: none; padding: 24px 0; }

  .services-grid, .portfolio-grid, .how-grid, .method-steps { grid-template-columns: 1fr; }
  .service-card, .service-card.featured, .service-card:nth-child(1) { grid-column: span 1; }

  .service-full { grid-template-columns: 1fr; gap: 20px; }

  .form-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }

  .cta-final h2 { font-size: 30px; }

  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 28px; }
  .hero h1 { font-size: 32px; }
  .btn { width: 100%; justify-content: center; }
  .hero-ctas, .cta-final-btns { flex-direction: column; align-items: stretch; }
}
