@media screen and (max-width: 992px) {
  .logo h1 {
    font-size: 30px !important;
  }

  .nav-menu {
    position: fixed !important;
    top: -100% !important;
    right: 0 !important;
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.975) !important;
    transition: top 0.3s ease-in-out !important;
    z-index: 1050 !important;
    padding: 80px 15px 20px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    flex-direction: column !important;
    margin: 0 !important;
    height: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }

  /* Скрываем обычные кнопки */
  .action-buttons {
    display: none !important;
  }

  /* Показываем бургер-меню */
  .burger-menu {
    display: block !important;
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    z-index: 1100 !important;
  }

  /* Показываем мобильные кнопки */
  .mobile-menu-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 20px !important;
    width: 100% !important;
  }

  .nav-menu.mobile-active {
    top: 0 !important;
  }

  .dropdown {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    padding: 0 10px !important;
    margin-top: 10px !important;
    display: none !important;
    animation: slideDown 0.3s ease !important;
  }

  .dropdown.show {
    display: block !important;
  }

  .nav-item {
    width: 100% !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f8f9fa !important;
  }

  .nav-item-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px !important;
  }

  .nav-item-link::after {
    content: '▼' !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
  }

  .nav-item-link.active::after {
    transform: rotate(180deg) !important;
  }

  .dropdown-item {
    padding: 12px 20px !important;
    margin: 5px 0 !important;
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Стили для мобильных кнопок */
  .mobile-menu-actions .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px !important;
  }
}

@media screen and (max-width: 770) {
  .logo h1 {
    font-size: 20px;
  }
}

/* Footer */
@media screen and (max-width: 1650px) and (min-width: 1440px) {
  .footer-section {
    flex-basis: calc(25% - 30px);
    max-width: calc(25% - 30px);
  }

  .footer-content {
    justify-content: center;
  }
}

@media screen and (max-width: 1440px) and (min-width: 1200px) {
  .footer-section {
    flex-basis: calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
  }

  .footer-content {
    justify-content: center;
  }
}

@media screen and (max-width: 1300px) and (min-width: 992px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    flex-basis: calc(50% - 30px);
    max-width: calc(50% - 30px);
  }

  .contact-info {
    text-align: center;
    margin-top: 15px;
  }
}

@media screen and (max-width: 992px) and (min-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    flex-basis: calc(50% - 30px);
    max-width: calc(50% - 30px);
  }

  .contact-info {
    text-align: center;
    margin-top: 15px;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 768px) and (min-width: 576px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    flex-basis: 100%;
    max-width: 100%;
    text-align: center;
  }

  .contact-info {
    text-align: center;
    margin-top: 15px;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 15px;
  }

  .footer-links a {
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .footer {
    padding: 20px 10px;
  }

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

  .footer-section {
    flex-basis: 100%;
    max-width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  .contact-info {
    text-align: center;
    margin-top: 15px;
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 15px;
  }

  .footer-section h4 {
    font-size: 18px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .social-icons a {
    font-size: 20px;
  }

  .footer-links a {
    text-align: center;
  }
}
