/* ========================================
   RESPONSIVE.CSS — Mobile Adaptations
   ======================================== */

@media (max-width: 1024px) {
  :root {
    --fs-hero: 3rem;
    --fs-4xl: 2rem;
  }

  /* Header Mobile — бургер вместо навигации */
  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 15, 31, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    z-index: 999;
  }

  .header__nav--open { display: flex; }

  .header__nav .header__link {
    font-size: var(--fs-xl);
  }

  .header__actions { display: none; }

  .header__burger { display: flex; }

  .header__burger--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header__burger--open span:nth-child(2) { opacity: 0; }
  .header__burger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle { max-width: 100%; }
  .hero__buttons { justify-content: center; }
  .hero__badges { justify-content: center; }

  .hero__visual { order: -1; max-width: 500px; margin: 0 auto; }

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

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

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

  .cta-section__inner {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  :root {
    --fs-hero: 2.25rem;
    --fs-4xl: 1.75rem;
    --fs-5xl: 2.25rem;
    --space-4xl: 4rem;
  }

  /* Sections */
  .utp__grid,
  .advantages__grid,
  .delivery__cards,
  .catalog__grid {
    grid-template-columns: 1fr;
  }

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

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

  .steps__timeline::before { left: 30px; }
  .steps__number {
    min-width: 60px;
    height: 60px;
    font-size: var(--fs-xl);
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer__desc { max-width: 100%; }

  .footer__bottom-inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .reviews__card {
    padding: var(--space-xl);
  }

  .cta-section__messengers { justify-content: center; }
}

@media (max-width: 480px) {
  :root {
    --fs-hero: 1.875rem;
    --space-4xl: 3rem;
  }

  .container { padding: 0 var(--space-md); }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__badges { flex-direction: column; align-items: center; }

  .catalog__grid { gap: var(--space-md); }
}