/* Мобильные (до 768px) */
@media (max-width: 767.98px) {
  body {
    padding-top: 100px; /* Уменьшаем отступ */
  }

  .top-bar .col-md-6:last-child {
    display: none; /* Скрываем соцсети */
  }

  .navbar-brand {
    font-size: 1.1rem; /* Уменьшаем лого */
  }

  .btn-primary {
    padding: 0.5rem 1rem; /* Компактные кнопки */
  }

  .hero-section {
    padding-top: 1rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .min-vh-80 {
    min-height: auto;
  }

  .display-3 {
    font-size: calc(1.3rem + 2.5vw);
  }

  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }

  .trust-badges {
    justify-content: center !important;
  }

  .services-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .display-5 {
    font-size: calc(1.3rem + 1.5vw);
  }

  .process-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .process-card {
    margin-bottom: 1.5rem;
    padding: 2rem !important;
  }
  
  .process-step {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .process-icon {
    width: 70px;
    height: 70px;
  }

  .testimonials-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .testimonial-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem !important;
  }
  
  .display-5 {
    font-size: calc(1.3rem + 1.5vw);
  }

  .faq-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .accordion-button {
    padding: 1rem !important;
    font-size: 1rem;
  }
  
  .display-5 {
    font-size: calc(1.3rem + 1.5vw);
  }
  
  .bi-question-circle {
    font-size: 1.2rem;
    margin-right: 0.5rem !important;
  }

  .contacts-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .contact-card,
  .contact-form-card {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
  }
  
  .map-container {
    height: 300px;
  }
  
  .display-5 {
    font-size: calc(1.3rem + 1.5vw);
  }

  .footer {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
    text-align: center;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center !important;
  }
  
  .nav.flex-column {
    align-items: center;
  }
  
  .text-md-end {
    text-align: center !important;
  }
  
  .justify-content-md-end {
    justify-content: center !important;
  }

  .calculator-card {
    padding: 1.5rem !important;
  }
  
  .display-3 {
    font-size: calc(1.5rem + 2.5vw);
  }
  
  .form-select, .form-control {
    padding: 0.6rem 0.8rem;
  }

  .pricing-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .pricing-table-wrapper {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
  }
  
  .pricing-table thead th {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  
  .pricing-table tbody td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .pricing-table tbody td:before {
    content: attr(data-label);
    font-weight: 600;
    display: inline-block;
    width: 100px;
    color: var(--bs-gray);
  }
  
  .pricing-table tbody td:not(:first-child) {
    display: block;
    padding-left: 1rem;
  }
  
  .pricing-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .pricing-table tbody tr td:first-child {
    border-radius: 12px 12px 0 0 !important;
  }
  
  .pricing-table tbody tr td:last-child {
    border-radius: 0 0 12px 12px !important;
  }
}

/* Планшеты (768px — 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .top-bar a {
    font-size: 0.85rem; /* Уменьшаем текст */
  }
  .hero-section {
    padding-bottom: 3rem;
  }
  .service-card {
    padding: 2rem !important;
  }
  .process-card {
    padding: 2rem 1.5rem !important;
  }
  .testimonial-card {
    padding: 2rem !important;
  }
  .accordion-button {
    padding: 1.25rem 1.5rem !important;
  }
  .contact-card,
  .contact-form-card {
    padding: 2rem !important;
  }
  .footer {
    padding-top: 4rem !important;
  }
  .calculator-card {
    padding: 2rem !important;
  }
  .pricing-table {
    min-width: 100%;
  }
  
  .pricing-table thead th {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .pricing-table tbody td {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* Десктоп (от 992px) */
@media (min-width: 992px) {
  .hero-video-wrapper {
    transform: translateZ(-1px) scale(1.2);
    will-change: transform;
  }
}