/* ============================================
   GRIDWORLD — responsive.css
   Breakpoints: 1023px (tablet) | 639px (mobile)
============================================ */

@media (max-width: 1023px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    padding: 0.75rem; gap: 0.25rem;
    box-shadow: var(--shadow-md); z-index: 99;
  }
  .nav.open .nav-link { padding: 0.75rem 1rem; border-radius: var(--radius); }

  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(3) { border-right: 1px solid var(--c-border); }

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

  .usp-grid { grid-template-columns: 1fr 1fr; }

  .equipment-grid { grid-template-columns: 1fr; gap: 2rem; }
  .equipment-card {
    display: grid; grid-template-columns: 280px 1fr;
    gap: 1.5rem; align-items: start;
  }
  .equipment-visual { margin-bottom: 0; }
  .equipment-card h3,
  .equip-subtitle,
  .equipment-card p { text-align: left; }

  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid::before { display: none; }
  .step-item {
    display: grid; grid-template-columns: auto 1fr;
    gap: 1.25rem; text-align: left; align-items: start;
  }
  .step-number { margin: 0; }

  .areas-layout { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .about-intro-layout { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .equipment-card { grid-template-columns: 1fr; }
  .equipment-visual { margin-bottom: 1.25rem; aspect-ratio: 16/9; }
  .equipment-card h3, .equip-subtitle, .equipment-card p { text-align: center; }
}

@media (max-width: 639px) {
  :root { --header-h: 64px; }

  section { padding-block: 3.5rem; }
  .container { padding-inline: 1rem; }

  .header-actions .header-phone span { display: none; }

  .hero-content { padding-block: 3rem; }
  .hero h1 { font-size: 1.875rem; }
  .hero-ctas .btn { max-width: 100%; }

  .trust-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .trust-item { padding: 0.875rem 1rem; border-right: none; border-bottom: 1px solid var(--c-border); }
  .trust-item:nth-child(1),
  .trust-item:nth-child(3) { border-right: 1px solid var(--c-border); }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }

  .usp-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: 1fr; text-align: center; }
  .step-number { margin: 0 auto 1rem; }

  .areas-list { grid-template-columns: 1fr; }

  .cta-banner { padding-block: 3.5rem; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .cta-banner-btns .btn { width: 100%; max-width: 320px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .wa-float { width: 52px; height: 52px; bottom: 1.25rem; right: 1.25rem; }
  .wa-float svg { width: 24px; height: 24px; }

  .about-stats { grid-template-columns: 1fr; }

  .page-hero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 2.5rem; }
  .page-hero h1 { font-size: 1.75rem; }
}

@media (min-width: 1440px) {
  :root { --container: 1320px; }
}
