/* Mobile repair layer. Kept separate so it cannot be swallowed by an invalid rule in main.css. */
@media (max-width: 900px) {
  .hero-grid, .two-column, .price-grid, .faq-layout { grid-template-columns: 1fr; gap: 42px; }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-visual { width: min(430px, 100%); min-height: 360px; margin-inline: auto; order: -1; }
  .hero-copy { max-width: none; }
  .narrow-grid { grid-template-columns: 1fr; gap: 12px; }
  .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-steps li:last-child { grid-column: span 2; }
  .sticky-copy { position: static; }
  .fit-grid { grid-template-columns: 1fr; }
  .faq-layout { gap: 22px; }
  .price-grid { gap: 34px; }
}

@media (max-width: 700px) {
  .output-grid, .timeline-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 620px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  body { font-size: 15px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header { padding: 18px 0; }
  .brand { width: 126px; }
  .header-link { font-size: 13px; }
  .header-link span { display: none; }
  .hero { padding: 115px 0 64px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(39px, 12vw, 53px); line-height: 1.08; overflow-wrap: anywhere; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .button { width: 100%; padding-inline: 17px; }
  .text-link { text-align: center; }
  .hero-visual { order: 0; min-height: 250px; margin-top: 4px; }
  .pain-grid, .method-steps, .output-grid, .timeline-grid { grid-template-columns: 1fr !important; }
  .method-steps li:last-child { grid-column: auto; }
  .method-steps li { min-height: auto; }
  .two-column { gap: 35px; }
  .section { padding: 72px 0; }
  .fit-grid article { padding: 27px; }
  .price-grid { gap: 30px; }
  .pricing-row { align-items: flex-start; flex-direction: column; gap: 7px; }
  .pricing-row strong { font-size: 25px; }
  .faq-layout h2 { font-size: 39px; }
  .final-section { padding-bottom: 54px; }
  .final-card { padding: 54px 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: 11px 14px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .18s ease, transform .18s ease; }
  .show-mobile-chat .whatsapp-float { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .whatsapp-float b { display: none; }
}
