@media screen and (max-width: 1700px) {
  .header-back img:first-child {
    left: unset;
    right: 50%;
  }

  .header-back img:last-child {
    left: 50%;
    right: unset;
  }

  .footer-back img:first-child {
    left: unset;
    right: 60%;
  }

  .footer-back img:last-child {
    left: 60%;
    right: unset;
  }
}

@media screen and (max-width: 1520px) {
  .history_block-title {
    left: 20px;
  }

  .history_block-years {
    left: 20px;
  }
}

@media screen and (max-width: 1320px) {
  .numbers_block-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .history_block-item img {
    height: 300px;
  }

  .events_block-tabs {
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100% + 40px);
    overflow: auto;
  }

  .events_block-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .header-back img:first-child {
    height: 100px;
    right: 0;
    transform: scaleX(-1);
  }

  .header-back img:last-child {
    display: none;
  }

  .nav-logo img {
    width: 41px;
  }
  
  .nav-logo {
    top: 12px;
    left: 12px;
  }

  .nav-button {
    top: 12px;
    right: 12px;
  }

  .nav-button .btn span {
    padding: 10px 18px;
  }

  .header {
    display: grid;
    align-items: center;
    padding: 120px 0;
  }

  .header-wrap {
    padding-top: 0;
  }

  .header-img {
    width: 253px;
    height: 230px;
    object-position: top;
  }

  .header.animation_elem.show .header-img {
    height: 465px;
  }

  .header.animation_elem .header-back img:first-child {
    right: -100%;
    transition: .6s;
    transition-delay: .4s;
  }

  .header.animation_elem.show .header-back img:first-child {
    right: 0;
    transition: .6s;
    transition-delay: .4s;
  }

  h2 {
    font-size: 20px;
  }

  .footer {
    margin-top: 60px;
    padding: 40px 0 20px;
  }

  .footer-back img:first-child {
    height: 111px;
    right: 0;
    transform: scaleX(-1);
  }

  .footer-back img:last-child {
    display: none;
  }

  .footer.animation_elem .footer-back img:first-child {
    right: -100%;
    transition: .6s;
    transition-delay: .4s;
  }

  .footer.animation_elem.show .footer-back img:first-child {
    right: 0;
    transition: .6s;
    transition-delay: .4s;
  }

  .about_block-wrap {
    grid-gap: 20px;
  }

  .about_block {
    padding-top: 60px;
  }

  .about_block-text p {
    font-size: 15px;
  }

  .about_block::before {
    bottom: calc(100% - 0px);
    height: 90px;
  }

  .about_block::after {
    right: 0px;
    bottom: -102px;
    width: 290px;
    height: 167px;
    object-fit: cover;
    object-position: left;
  }

  h3 {
    font-size: 18px;
  }

  .numbers_block {
    padding-top: 60px;
  }

  .numbers_block-text {
    grid-template-columns: 1fr;
  }

  .numbers_block-wrap {
    grid-gap: 30px;
  }

  .numbers_block-list {
    grid-template-columns: 1fr;
  }

  .numbers_block-item .num {
    margin-bottom: -10px;
    font-size: 60px;
  }

  .numbers_block-item .text {
    font-size: 15px;
  }

  .year_2025_block {
    padding-top: 60px;
  }

  .year_2025_block-main {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }

  .services_block {
    padding-top: 60px;
  }

  .services_block-list {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }

  .services_block-item .text {
    max-width: unset;
    font-size: 15px;
  }

  .year_2025_block-wrap {
    grid-gap: 20px;
  }

  .year_2025_block-item {
    font-size: 16px;
  }

  .year_2025_block-message {
    padding: 20px;
  }

  .services_block-item .img {
    height: 240px;
  }

  .services_block-item {
    grid-gap: 20px;
  }

  .surprices_block::after {
    display: none;
  }

  .surprices_block {
    padding: 60px 0;
  }

  .surprices_block-text {
    max-width: unset;
    font-size: 15px;
  }

  .surprices_block-note {
    font-size: 18px;
  }

  .history_block-sticky {
    padding: 40px 20px;
  }

  .history_block-title {
    top: 20px;
  }

  .history_block-item {
    padding: unset;
  }

  .history_block-item img {
    bottom: 450px;
    left: 50%;
    right: unset;
    transform: translateX(-50%);
  }

  .history_block-years {
    bottom: 330px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 40px);
  }

  .history_block-item img {
    height: 21vh;
    bottom: 340px;
  }

  @media screen and (max-width: 380px) {
    .history_block-years {
      bottom: 310px;
    }

    .history_block-item img {
      height: 16vh;
      bottom: 320px;
    }
  }

  .history_block-years .year {
    font-size: 32px;
  }

  .history_block-item .main {
    width: unset;
  }

  .history_block {
    height: 530vh;
  }

  @media screen and (max-height: 800px) {
    .history_block {
      height: 650vh;
    }
  }

  .history_block-item .main .text {
    font-size: 15px;
  }

  .history_block-item .main h3 {
    font-size: 24px;
  }

  .words_block-review,
  .words_block-phrase,
  #wordsContainer{
    display:none;
  }

  .words_tickers{
    display: flex;
  }

  .words_block-wrap {
    padding: unset;
    min-height: unset;
  }

  .words_block-title div.uniq {
    line-height: 1;
    font-size: 120px;
  }

  .words_block-title div:last-child {
    margin-top: -20px;
    font-size: 32px;
  }

  .events_block {
    padding-top: 40px;
  }

  .events_block-head {
    display: grid;
    justify-content: unset;
    grid-gap: 20px;
  }

  .events_block-head .btn,
  .events_block-head .btn span {
    width: 100%;
  }

  .events_block-head .title div.uniq {
    font-size: 60px;
  }

  .events_block-head .title div:last-child {
    font-size: 32px;
  }

  .events_block-tabs .tab {
    min-width: 80px;
  }

  .events_block-wrap {
    grid-gap: 30px;
  }

  .events_block-item .head {
    align-items: flex-start;
  }

  .events_block-item .head .main {
    grid-template-columns: 1fr;
    grid-gap: 12px;
  }

  .events_block-item {
    padding: 16px;
  }

  .events_block-tabs .tab .title {
    font-size: 15px;
  }

  .events_block-item .head .main .month .ic {
    min-width: 18px;
    height: 18px;
  }

  .events_block-item .head .main .month {
    padding: 6px 10px;
    font-size: 12px;
  }

  .events_block-item .head::after {
    min-width: 42px;
    width: 42px;
    height: 42px;
  }

  .events_block-item .head .main .title {
    font-weight: 700;
  }

  .events_block-item .body {
    margin-top: 20px;
  }

  .events_block-item .body .main {
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .events_block-item .body .main .img {
    height: 200px;
  }
}