@media(max-width: 1400px) {
  .page-header {
    height: 13rem
  }

  .cases-list {
    gap: 4rem;
    margin-right: 4rem
  }

  .inputs-group {
    gap: 2rem
  }
}

@media(max-width: 1200px) {
  .page-texture {
    display: none
  }
  .hero-cases .hero-cases-list li {
    max-width: 25%
  }

  .hero-cases .hero-cases-list li:nth-child(n+5) {
    display: none
  }

  .hero-about .about-wrapper .parallax-item {
    width: 48.2rem;
    height: 48.2rem
  }

  .hero-about .about-wrapper .parallax-item .about-parallax-1 {
    width: 36.4562rem;
    height: 47.4548rem
  }

  .hero-about .about-wrapper .parallax-item .about-parallax-2 {
    width: 19.3553rem;
    height: 46.2419rem;
    left: 13rem
  }

  .hero-about .about-wrapper .left-col {
    padding-right: 4rem
  }

  .hero-callback .callback-wrapper .left-col {
    padding-right: 2rem;
    width: 50%
  }

  .hero-callback .callback-wrapper .parallax-item {
    width: 35rem;
    height: 37rem
  }

  .hero-callback .callback-wrapper .right-col {
    width: 50%
  }

  .submit-wrapper .button {
    min-width: 23rem
  }

  .copy {
    font-size: 1.4rem;
    margin-right: 1.4rem
  }

  .submit-wrapper {
    margin-top: 2rem
  }

  .inputs-group {
    margin-bottom: 2rem
  }

  .hero-title {
    font-size: 4rem
  }

  main.hero-page section {
    padding: 10rem 0
  }

  main.hero-page section .section-inner {
    padding-top: 1rem;
    padding-bottom: 3.7rem
  }

  .hero-section .parallax-item {
    width: 48.2rem;
    height: 48.2rem;
    left: -5rem
  }

  .hero-section .parallax-item .hero-parallax-C {
    width: 24.6494rem;
    height: 25.2924rem;
    left: 10rem;
    top: 5rem
  }

  .hero-section .parallax-item .hero-parallax-P {
    width: 19.946rem;
    height: 25.8119rem
  }

  .team-section .team-list li.square-bg .user-wrapper::after {
    display: none
  }

  .team-section .team-list {
    max-width: 96rem;
    margin: 0 auto;
    grid-row-gap: 4rem;
    grid-column-gap: 1rem;
    padding: 2rem 0 4rem 0
  }

  .contacts-section .contacts-wrapper .img-content {
    padding-left: 0
  }

  .contacts-section .contacts-wrapper .right-col {
    padding-left: 4rem
  }

  .content-container blockquote {
    left: 0;
    width: auto
  }

  .button {
    font-size: 1.4rem
  }

  .page-header .header-nav-list li {
    margin-right: 1rem
  }

  .cases-list {
    grid-template-columns: repeat(4, auto)
  }

  .page-footer .footer-wrapper {
    padding-right: 0
  }

  .page-footer .footer-nav-list li a {
    font-size: 1.6rem
  }

  .page-footer .footer-nav-list {
    margin: -0.7rem -1rem
  }

  .page-footer .footer-nav-list li {
    padding: .7rem 1rem
  }

  .news-list {
    margin: -2rem -4rem
  }

  .news-list li {
    max-width: 33.3333333333%
  }
}

@media(max-width: 1024px) {
  .hero-cases .hero-cases-list {
    margin-right: 0
  }

  .hero-cases .hero-cases-list li {
    max-width: 33.3333333333%
  }

  .hero-cases .hero-cases-list li:nth-child(n+4) {
    display: none
  }

  .hero-cases .hero-cases-headline .button {
    min-width: 18rem
  }

  .hero-cases .hero-cases-headline .section-title {
    margin-bottom: 2rem
  }

  .hero-cases .hero-cases-headline {
    margin-bottom: 4rem
  }

  .hero-about .about-wrapper .left-col {
    padding-right: 2rem
  }

  .hero-about .about-wrapper .parallax-item {
    left: -3rem
  }

  .hero-rating .section-inner {
    padding-bottom: 3.8rem !important
  }

  .hero-rating .hero-awards-list li .award-wrapper .award-title {
    font-size: 1.6rem
  }

  .hero-rating .hero-awards-list {
    padding-top: 4rem;
    margin: -0.7rem;
    margin-right: 0
  }

  .hero-rating .hero-awards-list li {
    padding: .7rem
  }

  .hero-rating .hero-awards-list li .award-wrapper .award-img {
    width: 100%;
    margin-bottom: 2rem
  }

  .hero-callback .callback-wrapper .parallax-item {
    height: 31rem
  }

  .hero-callback .callback-wrapper .parallax-item .callback-item-1 {
    width: 27.4583rem;
    height: 18.2884rem
  }

  .hero-callback .callback-wrapper .parallax-item .callback-item-2 {
    width: 6.5498rem;
    height: 23.4964rem
  }

  .hero-callback .callback-wrapper .parallax-item .callback-item-3 {
    width: 27.271rem;
    height: 22.2979rem;
    left: 0
  }

  .hero-callback .callback-wrapper .parallax-item .callback-item-4 {
    width: 6.5359rem;
    height: 6.7467rem;
    bottom: 10rem
  }

  .hero-callback .callback-wrapper .parallax-item .callback-item-5 {
    width: 23.5054rem;
    height: 13.8245rem;
    bottom: 0
  }

  .hero-callback .callback-wrapper .right-col {
    margin-right: 0
  }

  .container-h, .container-p, .container-f {
    padding: 0 4rem
  }

  .hero-section .hero-content .left-col {
    padding-right: 4rem
  }

  .hero-section .parallax-item {
    left: -13rem
  }

  .hero-section .hero-tip, .hero-section .hero-title, .hero-section p {
    margin-bottom: 2rem
  }

  main.hero-page section {
    padding: 4rem 0
  }

  .text-container {
    max-width: 100%
  }

  .section-title {
    margin-bottom: 2rem
  }

  .hero-associations .text-container {
    margin-bottom: 2rem
  }

  .hero-clients .text-container {
    margin-bottom: 4rem
  }

  .hero-clients .clients-box {
    margin-right: 0;
    margin-bottom: 4rem
  }

  .hero-clients .clients-list {
    margin: -1rem
  }

  .hero-clients .clients-list li {
    width: 100%;
    max-width: 33.3333333333%;
    padding: 1rem
  }

  /* .hero-clients .clients-list li:nth-child(n+4) {
    display: none
  } */

  .hero-associations .associations-list li .associations-wrapper .associations-title {
    margin-bottom: 1rem
  }

  .hero-associations .associations-list li .associations-wrapper .associations-logo {
    margin-bottom: 1rem
  }

  .hero-associations .associations-list {
    margin: -1rem
  }

  .hero-associations .associations-list li {
    padding: 1rem
  }

  .desktop--none {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
  }

  .mobile--none {
    display: none
  }

  .photo-list li {
    max-width: 33.3333333333%
  }

  .contacts-section .contacts-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .contacts-section .contacts-wrapper .left-col {
    padding-right: 0;
    margin-bottom: 4rem;
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end
  }

  .contacts-section .contacts-wrapper .left-col .col-content {
    padding-right: 2rem
  }

  .contacts-section .contacts-wrapper .left-col .img-content {
    margin-top: 0
  }

  .contacts-section .contacts-wrapper .left-col .img-content .img-wrapper {
    max-width: 30rem
  }

  .contacts-section .contacts-wrapper .right-col {
    padding-left: 0;
    width: 100%
  }

  .contacts-section .contacts-wrapper .right-col .map-box {
    max-width: 100%;
    height: 53.2rem
  }

  .section-spacing {
    padding-bottom: 8rem
  }

  .learn-more {
    padding-top: 3rem
  }

  .learn-more h2, .learn-more h3 {
    margin-bottom: 4rem
  }

  .news-section .section-spacing, .news-detail-section .section-spacing {
    padding-bottom: 0
  }

  .section-header {
    margin-bottom: 4rem
  }

  .page-header .header-nav-list li a {
    padding: .8rem 1rem
  }

  .page-header {
    height: 8.4rem
  }

  .page-header .header-logo {
    width: 4.8rem;
    height: 4.8rem;
    margin-right: 2rem;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto
  }

  .page-header .header-logo img {
    display: none
  }

  .page-header .header-logo::before {
    background: url(../../img/mobile-logo.svg) no-repeat;
    background-size: contain
  }



  h1 {
    font-size: 3.2rem
  }

  .section-header .page-breadcrumbs {
    display: none
  }

  .page-pagination {
    padding-top: 4rem
  }

  .section-headline {
    padding-top: 0
  }

  main.content-page section {
    padding-top: 4rem;
    padding-bottom: 8rem
  }

  .cases-list {
    grid-template-columns: repeat(3, auto);
    margin-right: 0;
    grid-column-gap: 8rem;
    grid-row-gap: 5.4rem
  }

  .cases-list li .case-wrapper {
    max-width: 100%
  }



  .cases-list li:first-child .case-wrapper {
    max-width: 100% !important
  }

  /* .cases-list li:first-child .case-wrapper .wrapper-top .case-img {
    height: auto !important;
    padding-bottom: 56.6%
  } */

  /* .cases-list li:first-child .case-wrapper .wrapper-top .case-img img {
    position: absolute;
    top: 0
  } */


  .cases-list li.big .case-wrapper {
    max-width: 100%
  }

  .cases-list li.big .case-wrapper .wrapper-top .case-img {
    height: auto;
        aspect-ratio: 16 / 9;
  }

  .section-bottom-decorate {
    height: 8.4rem
  }

  .section-bottom-decorate .square {
    width: 8.4rem;
    height: 8.4rem
  }

  .page-footer .footer-contacts-list li .nav-icon {
    margin-right: 1.6rem
  }

  .page-footer .footer-contacts-list li a, .page-footer .footer-contacts-list li span, .page-footer .footer-contacts-list li address {
    font-size: 1.4rem
  }

  .page-footer .footer-wrapper {
    max-width: 70rem;
    padding-right: 8rem
  }

  .page-footer .footer-wrapper .center-col {
    display: none
  }

  .page-footer {
    padding: 4rem 0
  }
}

@media(max-width: 860px) {
  .news-list {
    margin: -2rem -2rem
  }

  .news-list li {
    padding: 2rem 2rem
  }

  .hero-rating .hero-awards-list li {
    max-width: 25%
  }

  .team-section .team-list {
    grid-template-columns: repeat(2, 1fr)
  }

  .team-section .team-list li .user-wrapper .user-name {
    font-size: 2.6rem
  }

  .hero-callback .callback-wrapper .parallax-item {
    margin-left: 0
  }
}

@media(max-width: 768px) {
  .header-panel {
    display: block
  }

  main {
    padding-top: 8.4rem
  }

  .page-header {
    position: fixed
  }

  .modal .close {
    right: 4rem
  }

  .modal .modal-box .inner {
    padding: 4rem
  }

  .modal form .inputs-group {
    gap: 2rem
  }

  .hero-cases .hero-cases-list {
    margin: -1rem
  }

  .hero-cases .hero-cases-list li {
    padding: 1rem
  }

  .hero-cases .hero-cases-list li .case-wrapper .case-text {
    font-size: 1.4rem
  }

  .hero-cases .hero-cases-headline {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .hero-cases .hero-cases-headline .text {
    margin-bottom: 1rem
  }

  .hero-cases .hero-cases-headline .button {
    width: 100%
  }

  .hero-about h3 {
    margin-bottom: 2rem
  }

  .hero-about .about-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .hero-about .about-wrapper .left-col {
    padding-right: 0;
    width: 100%
  }

  .hero-about .about-wrapper .right-col {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
  }

  .hero-about .about-wrapper .right-col .parallax-item {
    width: 32rem;
    height: 32rem;
    left: 0
  }

  .hero-about .about-wrapper .right-col .parallax-item .about-parallax-1 {
    width: 24.2033rem;
    height: 31.5053rem
  }

  .hero-about .about-wrapper .right-col .parallax-item .about-parallax-2 {
    width: 12.85rem;
    height: 30.7rem;
    left: 9rem
  }

  .hero-rating .hero-awards-list li .award-wrapper .award-img::after {
    left: 50%;
    -webkit-transform: translateX(-61%);
    -ms-transform: translateX(-61%);
    transform: translateX(-61%);
    bottom: -1rem
  }

  .hero-rating .hero-awards-list li {
    max-width: 33.3333333333%
  }

  .hero-callback .callback-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .hero-callback .callback-wrapper .left-col {
    width: 100%;
    padding-right: 0;
    margin-bottom: 2rem
  }

  .hero-callback .callback-wrapper .left-col .parallax-item {
    display: none
  }

  .hero-callback .callback-wrapper .right-col {
    width: 100%
  }

  .container-h, .container-p, .container-f {
    padding: 0 2rem
  }

  .hero-associations .associations-list li {
    max-width: 100%
  }

  .hero-section .hero-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .hero-section .hero-content .left-col {
    padding-right: 0;
    max-width: 100%
  }

  .hero-section .hero-content .right-col {
    width: 100%;
    max-width: 100%;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin-bottom: 3rem
  }

  .hero-section .hero-content .right-col .parallax-item {
    left: 0;
    top: 0;
    width: 28rem;
    height: 26rem
  }

  .hero-section .hero-content .right-col .parallax-item .hero-parallax-C {
    width: 16.3647rem;
    height: 16.7917rem;
    left: 0rem
  }

  .hero-section .hero-content .right-col .parallax-item .hero-parallax-P {
    width: 13.2422rem;
    height: 17.1365rem;
    bottom: -3rem
  }

  .photo-list li {
    max-width: 50%
  }

  .content-container blockquote {
    padding: 8rem 2rem 2rem
  }

  .page-header .header-logo {
    width: 18rem;
    height: 3.2rem
  }

  .page-header .header-logo::before {
    display: none
  }

  .page-header .header-logo img {
    display: block
  }

  .page-header .header-action .button {
    display: none
  }

  .page-header .header-action .header-burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fe5154;
    width: 4rem;
    height: 4rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .page-header .header-action .header-burger div {
    background: #fff;
    width: 2rem;
    height: .2rem;
    margin-bottom: .3rem
  }

  .page-header .header-action .header-burger div:last-of-type {
    margin-bottom: 0
  }

  .page-header .header-nav-list {
    display: none
  }

  .page-footer .footer-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
    padding-right: 7rem
  }

  .page-footer .footer-contacts-list li {
    max-width: 100%
  }

  .news-list {
    margin: -2rem -1rem
  }

  .news-list li {
    padding: 2rem 1rem
  }

  .news-list li .news-wrapper .wrapper-top .news-img {
    margin-bottom: 1.5rem
  }

  .news-list li .news-wrapper .wrapper-top .news-title {
    font-size: 1.6rem
  }

  .cases-list {
    grid-column-gap: 2rem;
    grid-row-gap: 4rem;
    grid-auto-rows: auto
  }

  .cases-list .case-wrapper .wrapper-top .case-img {
    margin-bottom: 1.5rem
  }

  .cases-list .case-wrapper .wrapper-top .case-title {
    font-size: 1.6rem
  }

  .cases-list .case-wrapper .case-text {
    font-size: 1.4rem
  }
}

@media(max-width: 576px) {
  .modal form {
   padding-top: 2rem
 }

 .modal .modal-title {
   font-size: 2rem;
   margin-bottom: 2rem
 }

 .modal p {
   font-size: 1.2rem
 }

 .modal .close {
   width: 2.4rem;
   height: 2.4rem;
   right: 2rem
 }

 .modal .modal-box .inner {
   padding: 2rem
 }
  .hero-cases-headline .fs-18 {
    font-size: 1.4rem
  }

  .hero-cases .hero-cases-list {
    margin: -1rem
  }

  .hero-cases .hero-cases-list li {
    padding: 1rem;
    max-width: 50%
  }

  .hero-cases .hero-cases-list li:nth-child(n+3) {
    display: none
  }

  .hero-about h3 {
    font-size: 1.4rem
  }

  .about-wrapper p {
    font-size: 1.4rem
  }

  .callback-wrapper .fs-18 {
    font-size: 1.4rem
  }

  .hero-rating .text-container h3 {
    font-size: 1.4rem
  }

  .hero-rating .hero-awards-list {
    padding-top: 2rem
  }

  .hero-rating .hero-awards-list li {
    max-width: 50%
  }
  .submit-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .submit-wrapper .copy {
    margin-right: 0;
    margin-bottom: 2rem;
    max-width: 100%
  }

  .submit-wrapper .button {
    width: 100%
  }

  .inputs-group {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
  }

  .hero-clients .fs-18 {
    font-size: 1.4rem
  }

  .hero-clients .text-container {
    margin-bottom: 2rem
  }

  .hero-clients .clients-box {
    margin-bottom: 2rem;
    padding: 1rem
  }

  .hero-clients .button {
    width: 100%
  }

  .hero-clients .clients-list li {
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
  }

  .section-title {
    margin-bottom: 1rem
  }

  .hero-section .hero-tip, .hero-section .hero-title, .hero-section p {
    margin-bottom: 1rem
  }

  .hero-title {
    font-size: 2rem
  }

  .hero-section .button {
    width: 100%
  }

  .hero-section .fs-18 {
    font-size: 1.4rem
  }

  .hero-associations .fs-18 {
    font-size: 1.4rem
  }

  .section-headline .button {
    width: 2.4rem;
    height: 2.4rem;
    min-width: unset
  }

  .section-headline .button .button-icon {
    margin: 0
  }

  .section-headline .button span {
    display: none
  }

  .photo-list {
    margin: 0;
    overflow-y: hidden;
    overflow-x: auto;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap
  }

  .photo-list li {
    padding: 0;
    margin-right: 4rem;
    max-width: unset
  }

  .photo-list li .photo-item {
    width: 24rem
  }

  .team-section .team-list {
    grid-template-columns: repeat(1, 1fr)
  }

  .team-section .team-list li .user-wrapper .user-name {
    font-size: 2rem
  }

  .contacts-section .contacts-wrapper .left-col .img-content {
    display: none
  }

  .contacts-section .contacts-wrapper .left-col .col-content {
    padding-right: 0
  }

  .button {
    font-size: 1.2rem;
    padding: .4rem 1rem
  }

  .section-header h1 {
    font-size: 2rem
  }

  .news-list li {
    max-width: 50%
  }

  .news-list li .news-wrapper .wrapper-top .news-title {
    font-size: 1.4rem
  }

  .cases-list {
    grid-template-columns: 1fr 1fr
  }




  .cases-list .case-wrapper .wrapper-top .case-title {
    font-size: 1.4rem
  }

  .cases-list .case-wrapper .case-text {
    font-size: 1.2rem
  }
}

@media(max-width: 399px) {
  .hero-cases .hero-cases-list {
    margin: -1rem
  }

  .hero-cases .hero-cases-list li {
    padding: 1rem;
    max-width: 100%
  }

  .hero-cases .hero-cases-list li:nth-child(n+2) {
    display: none
  }
}
