/* ========================================
   RESPONSIVE.CSS - Адаптивность
   ======================================== */

@media (max-width: 1200px) {
  .container {
    padding: 0 clamp(20px, 5vw, 40px);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 40px;
  }

  .nav.active {
    right: 0;
  }

  .nav__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    gap: 2rem;
  }

  .nav a {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-block !important;
    background: var(--gradient-blue-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 2rem;
    box-shadow: var(--shadow-subtle);
  }

  .menu-toggle.active .menu-toggle__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .menu-toggle__line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-footer {
    flex-direction: column;
    text-align: center;
  }

  .problem-grid,
  .content-grid,
  .tech-grid,
  .case-grid,
  .comparison-grid,
  .testimonials-grid,
  .industry-grid,
  .industry-process-grid,
  .industry-tools-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    gap: 1rem;
  }

  .step-number {
    min-width: auto;
  }

  .industry-cta-buttons {
    flex-direction: column;
  }

  .btn-secondary,
  .industry-cta .btn-primary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
    --container-padding: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .premium-card,
  .contact-direct,
  .problem-card,
  .industry-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}
