@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

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

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .flow-pipeline {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .flow-connector {
    width: 2px;
    height: 32px;
    padding-top: 0;
  }

  .flow-line {
    width: 2px;
    height: 100%;
  }

  .flow-line::after {
    width: 100%;
    height: 100%;
    animation: flow-pulse-v 3s ease-in-out infinite;
  }

  @keyframes flow-pulse-v {
    0% { top: -100%; left: 0; }
    100% { top: 100%; left: 0; }
  }

  .section {
    padding: 56px 0;
  }

  /* Order page — stack grid */
  .order-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .order-detail-panel {
    width: 100%;
  }
}

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

  .hero {
    padding-top: calc(var(--header-height) + 24px);
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .hero-submit {
    width: 100%;
  }

  .hero-form-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-hints {
    flex-direction: column;
    gap: 4px;
  }

  .section {
    padding: 40px 0;
  }

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

  .stat-block {
    padding: 24px 16px;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .flow-node {
    width: 120px;
  }

  /* Order page mobile */
  .status-hub {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .status-hub-text {
    text-align: center;
  }

  .order-steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px 0;
  }

  .order-step span {
    font-size: 0.55rem;
  }

  .step-line {
    min-width: 12px;
  }

  .order-grid {
    padding: 20px;
  }

  .qr-inner canvas,
  .qr-inner svg {
    width: 140px !important;
    height: 140px !important;
  }

  .order-note {
    font-size: 0.75rem;
    padding: 12px 14px;
  }
}
