@media (max-width: 1500px) {
  .u-can-item {
    gap: 16px;
  }
  .header-nav ul {
    gap: 24px;
  }
}

@media (max-width: 1400px) {
  #hero {
    padding-top: 137px;
  }
  .hero-head-title {
    font-size: 9.2vw;
  }
  .hero-head-bottom .hero-head-title {
    letter-spacing: -0.054em;
  }
  .hero-head-bottom-icons {
    gap: 16px;
  }
  .hero-head-bottom-icon {
    width: 6.8vw;
  }
  .inline-info-primary .inline-info-image {
    max-height: 356px;
    height: 27vw;
  }
  #stats {
    padding: 67px 0 75px;
  }
  .vacancy {
    height: 40vw;
  }
  .u-can-wrapper {
    display: flex;
    gap: 40px;
  }
  .u-can-title {
    flex: 1;
  }
  .u-can-row {
    flex: 1;
    gap: 40px;
  }
  .u-can-col {
    padding: 0;
  }
  .u-can-item-image {
    width: 45.5%;
  }
  .u-can-item-title {
    line-height: 120%;
    letter-spacing: 0;
  }
  .u-can-item-descr {
    font-size: 21px;
    line-height: 120%;
  }

  #stories {
    padding-bottom: 40px;
  }

  .advantages-nav {
    padding-right: 50px;
  }
  .advantages-nav-item.active h4 {
    margin-bottom: 0;
    line-height: 119%;
  }

  .video {
    height: 264px;
  }

  .faq-title {
    margin-bottom: 34px;
  }

  .feedback-wrapper .title {
    max-width: 560px;
  }

  .tg-bot-col {
    width: max-content;
  }
  .tg-bot-row {
    justify-content: space-between;
    align-items: center;
    row-gap: 25px;
  }
}

@media (max-width: 1300px) {
  .header-nav {
    display: none;
  }
  .header-apply {
    margin-left: auto;
    margin-right: 18px;
  }
  .nav-aside {
    top: 98px;
    width: 100%;
    max-width: 576px;
  }
  .nav-aside-content {
    padding: 24px;
  }
  .burger {
    display: block;
  }
  .burger.active svg path:nth-of-type(1) {
    transform: rotate(45deg) translate(5px, -7px);
  }
  .burger.active svg path:nth-of-type(2) {
    opacity: 0;
  }
  .burger.active svg path:nth-of-type(3) {
    transform: rotate(-45deg) translate(-12px, 0px);
  }
  .header-aside-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .header-aside-nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 24px;
  }
}

@media (max-width: 1200px) {
  .inline-info .row {
    gap: 40px;
  }
  .inline-info .inline-info-image {
    height: 40vw;
    max-height: none;
  }
  .inline-info-block {
    padding-bottom: 40px;
  }
  .calculate-title {
    margin-bottom: 40px;
  }
  .feedback-form-wrapper {
    width: 450px;
  }
  .join-title {
    width: auto;
    flex: 1;
  }
  .join-form {
    width: auto;
    flex: 1;
  } 
}

@media (max-width: 992px) {
  .join-wrapper {
    flex-direction: column;
  }
  .calculate-form {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color-white);
  }
  .u-can-wrapper {
    flex-direction: column;
  }
  .advantages-nav {
    padding-right: 0;
    margin-bottom: 40px;
  }
  .tab-pane {
    padding-left: 0;
  }
  .advantages-image {
    margin: 0 auto;
  }
  .vacancy {
    height: 60vw;
  }
  .feedback-wrapper {
    flex-direction: column;
  }
  .feedback-form-wrapper {
    margin: 0;
  }
  .footer-inner {
    align-items: flex-start;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .footer-contacts {
    flex-direction: row-reverse;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-coopyright {
    text-align: start;
  }
  .footer-coopyright br {
    line-height: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  section,
  #stats {
    padding: 40px 0;
  }
  .locations-aside-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stories-item-image {
    margin-bottom: 12px;
    height: 186px;
  }
  .cookie {
    inset: auto 16px 16px 16px;
    padding: 20px;
  }
  .cookie p {
    font-size: 18px;
  }
  .tg-bot-link {
    width: 100%;
    max-width: 566px;
  }
  .tg-bot-col {
    flex: 1;
    width: 100%;
  }
  .tg-bot-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  html {
    scroll-padding: 54px;
  }
  .button {
    height: 48px;
    width: 100% !important;
  }
  .title {
    font-size: 32px;
    line-height: 119%;
  }
  .input-wrapper input {
    height: 48px;
    font-size: 16px;
  }
  .input-wrapper input::placeholder {
    font-size: 16px;
  }
  .form-fields-group {
    flex-direction: column;
    gap: 12px;
  }
  .form-fields {
    gap: 12px;
  }
  .checkbox input + label::before {
    width: 20px;
    height: 20px;
    border-radius: 4px;
  }
  .checkbox input + label {
    font-size: 12px;
  }
  .header-logo {
    width: 74px;
    height: 26px;
  }
  .header-logo img {
    width: 100%;
    height: 100%;
  }
  .header {
    height: 54px;
  }
  .header-apply {
    width: 131px !important;
    height: 30px;
    font-size: 14px;
    margin-right: 12px;
  }
  .header-left {
    width: max-content;
    gap: 8px;
  }
  .burger svg {
    width: 24px;
    height: 24px;
  }
  .header-location-btn {
    font-size: 12px;
  }
  .hero-mobile-image {
    margin-bottom: 24px;
    width: 100%;
    height: 51.12vw;
  }
  .nav-aside {
    top: 54px;
  }
  #hero {
    padding-top: 70px;
  }
  .hero-mobile-middle {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 28px;
  }
  .hero-mobile-middle-top {
    display: flex;
    justify-content: space-between;
    padding-right: 3px;
  }
  .hero-mobile-middle-top-icons {
    display: flex;
    gap: 5px;
    align-items: center;
  }
  .hero-mobile-middle-top-icons > .hero-mobile-middle-top-icon:nth-of-type(2) {
    width: 11.3vw;
  }
  .hero-mobile-middle-top-icon {
    width: 9.17vw;
  }
  .hero-mobile-middle-middle {
    display: flex;
    gap: 43px;
  }
  .hero-mobile-middle-middle-icon {
    width: 11.3vw;
  }
  .hero-mobile-title {
    font-weight: 500;
    font-size: 12.5vw;
    line-height: 107%;
    letter-spacing: -0.05em;
    text-transform: uppercase;
  }
  @keyframes slideInRight {
    0% {
      transform: translateX(140%);
    }
    20% {
      transform: translateX(140%);
    }
    100% {
      transform: translateX(0);
    }
  }
  .hero-mobile-bottom p {
    line-height: 131%;
    width: 98%;
    margin-bottom: 24px;
  }
  section, #stats {
    padding: 24px 0;
  }
  .stats-title {
    font-size: 8.4vw;
    line-height: 100%;
    letter-spacing: -0.05em;
  }
  .stats-inener {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .shadows::after,
  .shadows::before {
    display: none;
  }
  #vacanciesSlider .splide__slide {
    width: 84.3%;
  }
  .vacancy {
    /* max-height: 392px; */
    height: 108vw;
    width: 100%;
  }
  #vacancies .container {
    padding: 0;
  }
  .vacancy-footer {
    padding: 16px 16px 16px 16px;
    height: 125px;
  }
  .vacancy-name {
    font-size: 28px;
    line-height: 100%;
    max-width: 90%;
  }
  .vacancy-footer-details {
    font-size: 16px;
  }
  .join-wrapper {
    gap: 32px;
  }
  .join-submit {
    margin-top: 20px;
  }
  #join {
    padding-bottom: 48px;
  }
  #calculate {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .calculate-title {
    margin-bottom: 32px;
  }
  .calculate-form .form-fields-group {
    flex-direction: row;
  }
  .select > p {
    font-size: 16px;
    line-height: 131%;
  }
  .calculate-form {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  .calculate-total-block {
    margin-bottom: 16px;
  }
  .calculate-total-block span {
    margin-bottom: 5px;
    font-size: 18px;
  }
  .calculate-total-block p {
    font-size: 45px;
  }
  .calculate-friend .checkbox label::before {
    width: 20px;
    height: 20px;
  }
  .calculate-friend span b {
    display: inline-block;
    margin-bottom: 2px;
    font-size: 24px;
  }
  .calculate-friend span {
    font-size: 16px;
  }
  .calculate-friend {
    margin-bottom: 32px;
  }
  .calculate-ps {
    font-size: 12px;
    margin-top: 32px;
  }
  .u-can-item {
    gap: 16px;
  }
  .u-can-item-body {
    padding: 3px 0 0 0;
  }
  .u-can-item-title {
    font-size: 18px;
    line-height: 133%;
  }
  .u-can-item-descr {
    font-size: 16px;
    line-height: 131%;
  }
  #u-can {
    padding-top: 48px;
    padding-bottom: 6px;
  }
  .u-can-title {
    margin-bottom: 0;
  }
  .u-can-row {
    margin: 0;
    gap: 16px;
  }
  .u-can-wrapper {
    gap: 30px;
  }
  .u-can-item-image {
    width: 49%;
    height: 39vw;
  }
  .inline-info-secondary .inline-info-block {
    padding: 0;
    background-color: var(--bg-white);
  }
  .inline-info-secondary .inline-info-block .title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 133%;
  }
  .inline-info-secondary .inline-info-block ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 131%;
  }
  .inline-info-secondary .inline-info-block ul li::marker {
    font-size: 12px;
  }
  .inline-info-secondary .inline-info-block ul {
    padding-left: 24px;
  }
  .advantages-nav-item.active h4 {
    font-size: 33px;
  }
  .advantages-nav-item.active p {
    font-size: 16px;
  }
  .advantages-nav-item.active {
    height: 91px;
    padding-left: 16px;
    border-radius: 8px;
    gap: 8px;
  }
  #advantages .title {
    max-width: 210px;
  }
  .advantages-nav-item h4 {
    font-size: 24px;
  }
  .advantages-nav {
    gap: 4px;
    margin-bottom: 16px;
  }
  .advantages-nav-item {
    height: 52px;
  }
  #advantages {
    padding-bottom: 56px;
  }
  .video {
    width: 100%;
    height: 186px;
  }
  #videos .title {
    margin-bottom: 32px;
  }
  .videos-container {
    padding: 0;
  }
  #locations .title {
    max-width: 320px;
    margin-bottom: 36px;
  }
  #map {
    margin: 0 -16px;
    height: 470px;
  }
  #faq {
    padding-top: 28px;
  }
  .faq-accordion-btn {
    text-align: start;
    padding: 14px 0;
    font-size: 16px;
    gap: 0;
    letter-spacing: 0;
  }
  .faq-accordion-body {
    font-size: 12px;
    line-height: 142%;
    padding-right: 24px;
  }
  .faq-title {
    margin-bottom: 2px;
  }
  .faq-accordion {
    gap: 0;
  }
  .feedback-form-wrapper {
    width: 100%;
  }
  .feedback-wrapper {
    gap: 26px;
  }
  .feedback-form-wrapper .form-fields {
    gap: 16px;
  }
  #feedback {
    padding: 30px 0 40px;
  }
  #footer {
    padding: 48px 0 48px;
  }
  .footer-logo {
    width: 120px;
    height: 42px;
  }
  .footer-socials svg {
    width: 36px;
    height: 36px;
  }
  .footer-phone {
    font-weight: 600;
    font-size: 18px;
    line-height: 133%;
  }
  .footer-socials {
    gap: 12px;
  }
  .footer-contacts {
    gap: 55px;
  }
  .footer-inner {
    gap: 32px;
  }
  .footer-bottom-links {
    gap: 3px;
  }
  .footer-bottom-links a {
    font-size: 12px;
    color: var(--color-secondary);
  }
  .footer-coopyright {
    color: var(--color-secondary);
    font-size: 12px;
    line-height: 140%;
  }
  .locations-aside-table {
    display: flex;
    flex-direction: column;
  }
  .locations-aside-content {
    padding: 16px;
  }
  .stories-item {
    width: 290px;
  }
  .stories-mobile .hero-mobile-title.c-violet {
    letter-spacing: -0.08em;
  }
  .stories-mobile .hero-mobile-middle-top-icon {
    width: 11.3vw;
  }
  .stories-mobile .hero-mobile-middle-top-icons > .hero-mobile-middle-top-icon:nth-of-type(2) {
    width: 9.17vw;
  }
  .aside-image {
    margin-bottom: 16px;
    height: 181px;
    flex-shrink: 0;
  }
  .vacancy-aside-body {
    padding: 0 16px 90px 16px;
    gap: 32px;
  }
  .vacancy-aside-name {
    font-size: 40px;
    line-height: 100%;
    margin-bottom: 12px;
  }
  .vacancy-aside-salary {
    font-size: 24px;
    font-weight: 500;
  }
  .vacancy-aside-conditions {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .vacancy-aside-condition {
    padding: 15.5px 12px;
    font-size: 16px;
    line-height: 120%;
    border-radius: 0;
  }
  .vacancy-aside-descr {
    color: black;
    line-height: 120%;
  }
  .vacancy-aside-responsibilities > * {
    color: black;
    line-height: 120%;
  }
  .story-aside-name {
    font-size: 32px;
    line-height: 120%;
  }
  .story-aside-body {
    padding: 0 16px 16px 16px;
    gap: 28px;
    font-size: 16px;
    line-height: 120%;
  }
  .story-aside-body p {
    font-size: 16px;
    line-height: 120%;
  }
  .story-aside-body img {
    width: 100%;
    height: auto;
  }
  #locationsAside {
    top: 54px;
  }
  .locations-aside-close {
    display: none;
  }
  .locations-aside-item,
  .locations-aside-letter {
    font-size: 18px;
    line-height: 156%;
  }
  .locations-aside-item {
    font-weight: 500;
  }
  #stories {
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .modal .modal-body {
    padding: 16px;
  }
  .vacancies-modal-address {
    padding-bottom: 8px;
  }
  .vacancies-modal-address p {
    font-size: 14px;
    line-height: 120%;
    max-width: 237px;
  }
  .modal .modal-body {
    gap: 32px;
  }
  .modal-title {
    font-size: 21px;
    line-height: 120%;
  }
  .vacancies-modal-list ul li span:first-of-type {
    font-size: 16px;
  }
  .vacancies-modal-list ul li span:last-of-type {
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
  }
  .vacancies-modal-apply {
    height: 50px;
  }
  #callbackModal .modal-title {
    font-size: 24px;
    max-width: 90%;
  }
  .callback-modal-head p {
    font-size: 16px;
  }
  #callbackModal .form-fields-group {
    gap: 16px;
  }
  #callbackModal .form-fields-group input {
    background-color: var(--bg-secondary);
    border-radius: 2px;
    border: 0;
  } 
  #callbackModal .form-fields-group .button {
    height: 52px;
  }
  .not-found {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }
  .not-found-wrapper {
    padding: 0;
    gap: 10px;
  }
  .not-found-title-wrapper {
    padding: 0;
  }
  .not-found-icons {
    gap: 8px;
  }
  .not-found-icon {
    width: 9.45vw;
  }
  .not-found-title {
    font-size: 12vw;
  }
  .not-found-descr {
    margin-bottom: 12px;
    align-self: flex-start;
    font-size: 16px;
    line-height: 131%;
  }
  .select .input-wrapper::after {
    top: 14px;
  }
  .geo-modal-btns {
    flex-direction: column;
  }
  .splide__arrow {
    width: 50px;
    height: 50px;
    top: 50%;
  }
  .splide__arrow--next {
    right: 5px;
  }
  .splide__arrow--prev {
    left: 5px;
  }

  #calculate,
  #u-can + section,
  #advantages {
    overflow: hidden;
  }
  .input-wrapper label.error {
    margin-top: 3px;
  }
  .checkbox + label.error {
    margin-left: 27px;
    margin-top: -10px;
  }
  input[name="address"] {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden !important;
    padding: 0px 35px 0px 16px;
  }
  .feedback-wrapper .title {
    max-width: 280px;
  } 
  .tg-bot-title {
    font-size: 16px;
    line-height: 21px;
  }
  .tg-bot-link {
    height: 48px;
  }
  #tg-bot {
    padding-bottom: 68px;
    overflow: hidden;
  }
  .feedback-file button {
    width: 48px;
    height: 48px;
  }
  .feedback-file button svg {
    width: 21px;
    height: 26px;
  }
  .feedback-file span {
    font-size: 12px;
    width: 75px;
  }
  .feedback-file {
    gap: 7px;
  }
  .feedback-actions {
    gap: 21px;
  }
  .feedback-policy-descr {
    margin-top: 42px;
  }
}