@media (max-width: 1200px) {
  .header__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 1024px) {


  .case-card__img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
  }

  h1,
  .h1 {
    font-size: 52px;
  }

  h2,
  .h2 {
    font-size: 44px;
  }

  h3,
  .h3 {
    font-size: 32px;
  }

  h4,
  .h4 {
    font-size: 24px;
  }

  .desktop-only {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .mt-95 {
    margin-top: 55px;
  }
}

@media (max-width: 920px) {
  .stats-block {
    flex-direction: column-reverse;
  }

  .stat-description {
    background-color: var(--white);
    font-size: 20px;
    text-align: center;
  }

  .stat-items {
    margin-top: 16px;
    gap: 16px;
  }

  .stat-item {
    padding: 16px;
  }

  .stat-item-title {
    font-size: 24px;
  }

  .stat-item-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {

  h1,
  .h1 {
    font-size: 24px;
  }

  h2,
  .h2 {
    font-size: 32px;
  }

  h3,
  .h3 {
    font-size: 20px;
  }

  h4,
  .h4 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  .mt-95 {
    margin-top: 40px !important;
  }

  .mt-40 {
    margin-top: 24px;
  }


  .btn {
    display: block;
    border-radius: 5px;
  }

  .section-description {
    font-size: 20px;
  }

  .red-description {
    font-size: 20px;
  }

  .header {
    padding: 15px 0;
  }

  .header__logo img {
    max-width: 146px;
  }

  .hero-banner {
    height: 208px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-item {
    height: 230px;
  }

  .service-info {
    bottom: 24px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .cta-wrapper {
    padding: 32px 24px;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-description {
    font-size: 14px;
  }

  .cases-container {
    padding-top: 32px;
  }

  .cases-swiper {
    padding-bottom: 32px;
  }

  .case-card__content {
    padding: 16px;
  }

  .case-card__title {
    font-size: 16px;
  }

  .why-us-items {
    flex-wrap: wrap;
    gap: 16px;
  }

  .why-us-item {
    flex-basis: 100%;
    padding: 20px;
  }

  .why-us-title {
    font-size: 16px;
  }

  .why-us-description {
    font-size: 14px;
  }

  .reviews-container {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .review-card {
    height: 330px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-question {
    padding: 12px;
  }

  .faq-arrow {
    width: 11px;
    height: 11px;
  }

  .faq-answer.open {
    padding: 0 12px 12px;
  }

  .blog-swiper {
    padding-bottom: 32px;
  }

  .partners-container {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .partners-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contacts-form-block .cta-wrapper {
    padding-bottom: 32px;
  }

  .contacts-form-button {
    display: block;
    margin-top: 16px;
  }

  .contacts-form {
    display: none;
  }

  .form-inline {
    flex-direction: column;
    align-items: center;
  }

  .input-group {
    width: 100%;
  }

  .input-button {
    width: 100%;
  }

  .input-button .btn-red {
    width: 100%;
  }

  .footer {
    padding: 32px 0;
  }


  .footer__top {
    flex-direction: column;
  }

  .footer__left {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo {
    display: block;
    width: 180px;
    margin-bottom: 16px;
  }

  .footer-logo img {
    max-width: 100%;
  }

  .footer__left-block {
    flex-basis: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .footer__left-group {
    flex-basis: 100%;
  }

  .footer__menu {
    flex-direction: inherit;
    gap: 52px;
  }

  .footer__right-block .footer__menu{
    display: none;
  }

  .footer__right {
    width: 100%;
    text-align: left;
    margin-top: 24px;
    gap: 8px;
  }

  .footer__right p {
    font-size: 16px;
  }

  .footer__divider {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .footer__xs-block {
    display: block;
  }

  .footer__xs-block .footer__menu {
    flex-direction: column;
    gap: 8px;
  }

  .footer__bottom {
    text-align: left;
    flex-direction: column-reverse;
    gap: 32px;
    margin-top: 32px;
  }

  .footer__copyright {
    flex-basis: 100%;
  }

  .footer__requisites {
    flex-basis: 100%;
    text-align: left;
  }

}
